:root {
  --bg-image: url("../img/hero-bg.jpg");
  --bg: #050b10;
  --panel: rgba(12, 22, 30, 0.82);
  --text: #edf7f7;
  --muted: #aebfc4;
  --teal: #00aaaa;
  --teal-soft: rgba(0, 170, 170, 0.16);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(
      90deg,
      rgba(5, 11, 16, 0.95),
      rgba(5, 11, 16, 0.78),
      rgba(5, 11, 16, 0.96)
    ),
    var(--bg-image) center / cover fixed no-repeat,
    var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(0, 170, 170, 0.18),
      transparent 34%
    ),
    radial-gradient(circle at 85% 22%, rgba(0, 170, 170, 0.1), transparent 28%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 16, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  border: 1px solid rgba(0, 170, 170, 0.45);
  color: var(--teal);
  box-shadow: 0 0 28px rgba(0, 170, 170, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 170, 170, 0.52);
  background: var(--teal);
  color: #031112;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0, 170, 170, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(0, 170, 170, 0.28);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

.btn.secondary:hover {
  border-color: rgba(0, 170, 170, 0.65);
  color: var(--teal);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 84px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(0, 170, 170, 0.32);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 22px;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.7rem, 7vw, 5.85rem);
  letter-spacing: -0.07em;
}

h1 span,
h2 span {
  color: var(--teal);
}

.hero-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card,
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.hero-card p,
.card p {
  color: var(--muted);
  margin: 14px 0 0;
}

.availability {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.availability div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.availability div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.availability strong {
  color: var(--text);
  text-align: right;
}

section {
  padding: 92px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head.single {
  display: block;
  margin: 0;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  margin: 0;
}

.section-head.single p {
  margin-top: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(0, 170, 170, 0.08);
  pointer-events: none;
}

.card h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

.project-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.status {
  white-space: nowrap;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.metric {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 170, 170, 0.1);
  border: 1px solid rgba(0, 170, 170, 0.22);
  color: var(--text);
  font-weight: 750;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.project-links a {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
}

.skills-wrap {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  align-items: start;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-cloud span {
  padding: 10px 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 12px;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.job {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.job time {
  color: var(--teal);
  font-weight: 800;
}

.job h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.job p {
  color: var(--muted);
  margin: 0;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote {
  color: var(--muted);
  font-size: 1.02rem;
}

.quote::before {
  content: "“";
  color: var(--teal);
  font-size: 2rem;
  line-height: 0;
}

.person strong {
  display: block;
}

.person span {
  color: var(--muted);
}

.contact-band {
  background: linear-gradient(
    135deg,
    rgba(0, 170, 170, 0.22),
    rgba(255, 255, 255, 0.045)
  );
  border: 1px solid rgba(0, 170, 170, 0.28);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(28px, 6vw, 58px);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.contact-band h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

.contact-band p {
  color: var(--muted);
  margin: 0;
}

.contact-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.contact-list a {
  color: var(--text);
  font-weight: 700;
}

.contact-list a:hover {
  color: var(--teal);
}

.site-footer {
  padding: 36px 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 920px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .skills-wrap,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    padding-top: 58px;
  }

  .job {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 66px 0;
  }

  .availability div {
    display: block;
  }

  .availability strong {
    display: block;
    text-align: left;
    margin-top: 4px;
  }
}
