:root {
  --bg: #111113;
  --panel: rgba(51, 52, 64, 0.48);
  --text: #f1f3ff;
  --muted: #b3b9c8;
  --muted-strong: #d8dcf2;
  --accent: #9595dd;
  --accent-hot: #7c84c6;
  --accent-cool: #455a6d;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.5);
  --shadow-tight: 0 18px 48px rgba(0, 0, 0, 0.32);
  --radius-xl: 18px;
  --radius-lg: 13px;
  --radius-md: 8px;
  --content-width: min(1180px, calc(100vw - 44px));
  --pointer-x: 50%;
  --pointer-y: 50%;
}

@font-face {
  font-family: "Bebas Neue";
  src:
    url("../fonts/bebas-neue/BebasNeue-Regular.woff2") format("woff2"),
    url("../fonts/bebas-neue/BebasNeue-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src:
    url("../fonts/nunito/Nunito-Regular.woff2") format("woff2"),
    url("../fonts/nunito/Nunito-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.intro-active {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background:
    linear-gradient(125deg, #0f1118 0%, #19212b 22%, #2e3a46 48%, #212732 72%, #12141b 100%);
  background-size: 180% 180%;
  animation: gradientShift 20s ease-in-out infinite;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.1), transparent 18%),
    radial-gradient(circle at 16% 18%, rgba(124, 132, 198, 0.18), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(69, 90, 109, 0.22), transparent 28%),
    radial-gradient(circle at 52% 78%, rgba(151, 162, 213, 0.12), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, auto, auto, auto, 44px 44px, 44px 44px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 82%);
  animation: gradientShift 24s ease-in-out infinite reverse;
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 55;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.scroll-indicator-bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #d7d8fb 0%, var(--accent) 45%, #7fb6d9 100%);
  box-shadow: 0 0 20px rgba(149, 149, 221, 0.45);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.intro-screen.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-screen.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.intro-media,
.intro-screen::before,
.intro-screen::after {
  position: absolute;
  inset: 0;
}

.intro-media {
  background:
    linear-gradient(160deg, rgba(6, 8, 12, 0.34), rgba(8, 10, 14, 0.68)),
    url("../media/intro-background.gif") center center / cover no-repeat;
  transform: scale(1.16);
  transform-origin: center;
  filter: saturate(1.1) contrast(1.04) blur(2px);
  animation: introZoom 18s ease-in-out infinite alternate;
}

.intro-screen::before {
  content: "";
  background:
    radial-gradient(circle at 18% 20%, rgba(149, 149, 221, 0.34), transparent 26%),
    radial-gradient(circle at 78% 26%, rgba(69, 90, 109, 0.42), transparent 28%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.1), rgba(8, 10, 14, 0.74));
}

.intro-screen::after {
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.34;
  mask-image: radial-gradient(circle at center, black 42%, transparent 100%);
}

.intro-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 40px));
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(7, 9, 14, 0.42);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(26px) saturate(145%);
}

.intro-kicker {
  margin: 0 0 16px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.intro-title {
  max-width: 11ch;
  margin: 0 auto 18px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.intro-text {
  max-width: 44ch;
  margin: 0 auto 24px;
  color: var(--muted-strong);
  font-size: 1rem;
}

.intro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(149, 149, 221, 0.34), rgba(69, 90, 109, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 36px rgba(0, 0, 0, 0.24);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.intro-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 22px 44px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.24);
}

.page-shell {
  position: relative;
  width: var(--content-width);
  margin: 0 auto;
  padding: 28px 0 76px;
  transition: opacity 450ms ease, transform 450ms ease, filter 450ms ease;
}

body.intro-active .page-shell {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  filter: blur(8px);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(9, 11, 18, 0.7);
  box-shadow: var(--shadow-tight);
  backdrop-filter: blur(24px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(149, 149, 221, 0.38), rgba(69, 90, 109, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  margin-left: auto;
  gap: 12px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section {
  position: relative;
  margin-bottom: 20px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(19, 21, 29, 0.58);
  backdrop-filter: blur(20px) saturate(135%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.05));
  mask-image: linear-gradient(180deg, black, transparent 80%);
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 24px;
  min-height: 80vh;
  padding-top: 40px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.06), transparent 18%),
    radial-gradient(circle at 92% 16%, rgba(149, 149, 221, 0.14), transparent 22%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3.6rem, 7.4vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
}

h1 span,
h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, #90a2b2, #d7d8fb 42%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text,
.section-heading p,
.project-card p,
.timeline-body p,
.about-card p,
.contact-panel p,
.signal-grid p,
.status-card p,
.metrics-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.hero-text {
  max-width: 54ch;
  margin-bottom: 26px;
  font-size: 1rem;
}

h3 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-actions,
.contact-actions,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(149, 149, 221, 0.34), rgba(69, 90, 109, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -10px 24px rgba(17, 17, 19, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(145%);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 46%, rgba(0, 0, 0, 0.1));
  opacity: 0.9;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -10px 24px rgba(17, 17, 19, 0.2),
    0 22px 46px rgba(0, 0, 0, 0.26);
}

.button-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.button-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(51, 52, 64, 0.42), rgba(69, 90, 109, 0.14));
}

.button-ghost:hover {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.signal-grid article,
.about-card,
.project-card,
.status-card,
.metrics-card,
.timeline-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel);
  backdrop-filter: blur(20px) saturate(140%);
}

.signal-grid article,
.about-card,
.project-card,
.status-card,
.metrics-card,
.timeline-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.signal-grid article {
  padding: 18px;
}

.signal-grid article::after,
.project-card::after,
.about-card::after,
.timeline-item::after,
.status-card::after,
.metrics-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.signal-label,
.project-meta,
.timeline-year {
  display: inline-flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(242, 182, 109, 0.95);
  color: rgba(181, 184, 247, 0.92);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.signal-grid strong,
.project-card h3,
.timeline-body h3,
.about-card h3 {
  display: block;
  margin: 12px 0 8px;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.project-card h3 {
  font-size: 1.34rem;
  line-height: 1;
  letter-spacing: 0.055em;
}

.timeline-body h3 {
  font-size: 1.22rem;
  line-height: 1.05;
  letter-spacing: 0.045em;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 14px;
  align-self: stretch;
}

.status-card,
.metrics-card {
  padding: 20px;
}

.status-card {
  min-height: 400px;
  background:
    radial-gradient(circle at top right, rgba(149, 149, 221, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.status-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.status-card-header p,
.metrics-card p {
  margin-bottom: 0;
}

.status-card ul {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-card li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.status-card li span {
  color: #bcc7d7;
  font-weight: 800;
}

.metrics-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metrics-card span {
  display: block;
  margin-bottom: 6px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.35rem;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.marquee {
  padding: 14px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(10, 12, 19, 0.42);
}

.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: drift 28s linear infinite;
}

.marquee-track span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: var(--muted-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading {
  position: relative;
  max-width: 62ch;
  margin-bottom: 18px;
  z-index: 1;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2.3rem, 4.2vw, 3.9rem);
  line-height: 0.94;
  letter-spacing: 0.025em;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 14px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 20px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.project-card:hover,
.about-card:hover,
.timeline-item:hover,
.signal-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.project-card-featured {
  background:
    radial-gradient(circle at top left, rgba(149, 149, 221, 0.24), transparent 28%),
    radial-gradient(circle at bottom right, rgba(69, 90, 109, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-links a {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 20px;
}

.timeline-year {
  justify-content: flex-start;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 18px;
  align-items: start;
}

.bio-layout {
  display: grid;
  grid-template-columns: clamp(300px, 31vw, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.bio-photo-wrap,
.bio-copy {
  position: relative;
  z-index: 1;
}

.bio-photo-wrap {
  display: flex;
  align-items: flex-start;
}

.bio-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(19, 21, 29, 0.58);
  box-shadow: var(--shadow-tight);
  overflow: hidden;
}

.bio-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 32%, transparent 68%, rgba(149, 149, 221, 0.08));
}

.bio-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  border-radius: calc(var(--radius-lg) - 4px);
  filter: grayscale(100%) contrast(1.02);
  transition: filter 260ms ease, transform 260ms ease;
}

.bio-photo-frame:hover .bio-photo {
  filter: grayscale(0%) contrast(1.04) saturate(1.02);
  transform: scale(1.01);
}

.bio-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.bio-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-cards {
  display: grid;
  gap: 12px;
}

.about-card {
  padding: 20px;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes introZoom {
  0% {
    transform: scale(1.16);
  }
  100% {
    transform: scale(1.23);
  }
}

@media (max-width: 1080px) {
  .hero,
  .projects-grid,
  .about-layout,
  .bio-layout,
  .contact-panel,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .bio-photo-wrap {
    max-width: 520px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 12px;
  }

  .scroll-indicator {
    height: 3px;
  }

  .intro-screen {
    padding: 16px;
  }

  .intro-content {
    padding: 24px;
  }

  .intro-title {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  .site-header {
    flex-wrap: wrap;
    border-radius: 12px;
    padding: 16px;
  }

  .site-nav {
    order: 3;
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .section,
  .hero {
    padding: 24px;
  }

  .signal-grid,
  .bio-facts,
  .metrics-card {
    grid-template-columns: 1fr;
  }

  .bio-photo-wrap {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
