/* ─────────────────────────────────────────────────────────────
   Tekun.com.tr — editorial cream / AI × tarım
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:        #efe8d8;
  --bg-deep:   #e6dec9;
  --surface:   #f6f1e2;
  --ink:       #1f1c14;
  --ink-soft:  #4a4537;
  --ink-mute:  #8a836f;
  --hair:      rgba(31,28,20,0.14);
  --hair-soft: rgba(31,28,20,0.07);
  --accent:    oklch(0.52 0.08 130);   /* sage olive */
  --accent-soft: oklch(0.78 0.06 130);
  --serif: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

/* ── App shell ────────────────────────────────────────────── */

.site {
  position: relative;
  width: 100%;
}

/* The scroll spacer gives the page its actual height; the visible
   viewport is fixed and content morphs based on scroll progress. */
.scroll-spacer {
  position: relative;
  width: 100%;
  /* set via JS to scenes * 100vh */
}

.viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--bg);
  z-index: 1;
}

/* Subtle paper grain + vignette */
.viewport::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(120% 80% at 50% 100%, var(--bg-deep), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.grain {
  position: absolute; inset: -2px;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.11  0 0 0 0 0.08  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 5;
}

/* ── Top chrome ───────────────────────────────────────────── */

.chrome {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 28px;
  z-index: 20;
  pointer-events: none;
}
.chrome > * { pointer-events: auto; }

.monogram {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  text-decoration: none;
  cursor: pointer;
}
.monogram-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-family: var(--mono);
  font-weight: 500;
  background: transparent;
}
.monogram-name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}
.monogram-name em {
  display: block;
  font-style: normal;
  color: var(--ink-mute);
  font-size: 9px;
  letter-spacing: 0.22em;
  margin-top: 2px;
}

.lang {
  display: inline-flex;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
}
.lang button.on {
  background: var(--ink);
  color: var(--bg);
}

/* ── 3D canvas layer ──────────────────────────────────────── */

.three-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.three-stage canvas { display: block; width: 100%; height: 100%; }

/* ── Scene stack ──────────────────────────────────────────── */

.scenes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.scene {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity, transform;
}
.scene.active { opacity: 1; pointer-events: auto; }

/* ── Scene: Hero ──────────────────────────────────────────── */

.hero {
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  max-width: 18ch;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  margin-top: 32px;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
}
.hero-meta {
  position: absolute;
  left: 8vw;
  bottom: 6vh;
  display: flex;
  gap: 40px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta b { color: var(--ink); font-weight: 500; }

/* ── Scene: About ─────────────────────────────────────────── */

.about {
  align-items: center;
  padding: 0 3vw 0 8vw;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4vw;
  width: 100%;
  align-items: center;
}
.about-credentials {
  padding-left: 3vw;
}
.about-text-card {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 28px 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.about-label::before {
  content: ""; width: 28px; height: 1px; background: var(--ink-mute);
}
.about-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.about-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  font-weight: 300;
}
.about-credentials {
  display: grid;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.about-cred {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: baseline;
  border-top: 1px solid var(--hair);
  padding-top: 14px;
}
.about-cred-num { color: var(--ink); font-weight: 500; }
.about-cred-body { color: var(--ink-soft); line-height: 1.4; }
.about-cred-body b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: 0.02em; text-transform: none; font-family: var(--sans); }

/* ── Scene: Focus areas ───────────────────────────────────── */

.focus {
  flex-direction: column;
  padding: 12vh 8vw 0;
}
.focus-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6vh;
  gap: 40px;
}
.focus-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.focus-head h2 em { font-style: italic; color: var(--accent); }
.focus-head .index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.focus-rail-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding-bottom: 8vh;
}
.focus-rail {
  display: flex;
  gap: 28px;
  height: 100%;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(.22,.61,.36,1);
}
.focus-card {
  flex: 0 0 360px;
  height: 56vh;
  min-height: 380px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, transform 0.6s cubic-bezier(.22,.61,.36,1);
}
.focus-card.is-current {
  background: var(--ink);
  color: var(--bg);
}
.focus-card.is-current .focus-card-num,
.focus-card.is-current .focus-card-cat { color: var(--accent-soft); }
.focus-card.is-current .focus-card-body { color: rgba(246,241,226,0.78); }
.focus-card.is-current .focus-card-thumb { border-color: rgba(255,255,255,0.18); }
.focus-card.is-current .focus-card-thumb svg .fill { fill: var(--accent-soft); }
.focus-card.is-current .focus-card-thumb svg .stroke { stroke: var(--accent-soft); }

.focus-card-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.focus-card-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.focus-card-row {
  display: flex; justify-content: space-between;
}
.focus-card-thumb {
  width: 100%;
  aspect-ratio: 1.4;
  border: 1px solid var(--hair);
  border-radius: 2px;
  display: grid; place-items: center;
  margin: 18px 0 22px;
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(31,28,20,0.04) 8px 9px);
}
.focus-card-thumb svg { width: 60%; height: 60%; }
.focus-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.focus-card-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ── Scene: Research ─────────────────────────────────────── */

.research {
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
}
.research-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.research-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--ink-mute);
}
.research h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
  color: var(--ink);
}
.research h2 em { font-style: italic; color: var(--accent); }

.research-papers { display: flex; flex-direction: column; gap: 16px; }

.research-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--hair);
  padding: 28px 32px;
  border-radius: 4px;
  background: var(--surface);
  max-width: 700px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.research-card:hover { border-color: var(--accent); }

.research-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.research-card-sep { opacity: 0.4; }
.research-card-journal { color: var(--accent); }

.research-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ink);
}
.research-card-title-tr {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.research-card-abstract {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
  margin: 0 0 20px;
  max-width: 58ch;
}
.research-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--hair);
  padding-top: 14px;
  gap: 16px;
  flex-wrap: wrap;
}
.research-card-authors {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.research-card-funding {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: letter-spacing 0.2s ease;
}
.research-card:hover .research-card-funding { letter-spacing: 0.20em; }

/* ── Scene: Contact ───────────────────────────────────────── */

.contact {
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  align-items: flex-start;
}
.contact-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.contact-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.contact-email {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 48px);
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--hair);
  padding-bottom: 14px;
  margin-bottom: 36px;
  transition: color 0.2s ease;
}
.contact-email:hover { color: var(--accent); }
.contact-email .arrow {
  font-family: var(--mono);
  font-size: 0.5em;
  transition: transform 0.3s ease;
}
.contact-email:hover .arrow { transform: translate(4px, -4px); }

.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 44px; height: 44px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.2s ease;
}
.socials a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.socials a svg { width: 17px; height: 17px; }

/* ── Bottom HUD ───────────────────────────────────────────── */

.hud {
  position: fixed;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 28px 22px;
  z-index: 20;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hud > * { pointer-events: auto; }

.scroll-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}
.scroll-progress .bar {
  width: 120px; height: 1px;
  background: var(--hair);
  position: relative;
}
.scroll-progress .bar::after {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: var(--p, 0%);
  background: var(--ink);
  transition: width 0.1s linear;
}

.scene-dots {
  display: flex; gap: 8px;
  align-items: center;
}
.scene-dots .label { margin-right: 8px; color: var(--ink-soft); }
.scene-dots .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hair);
  transition: background 0.3s, transform 0.3s;
}
.scene-dots .dot.on { background: var(--ink); transform: scale(1.4); }

.scroll-cue {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 20;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: opacity 0.4s ease;
}
.scroll-cue .line {
  width: 1px; height: 26px;
  background: linear-gradient(to bottom, transparent, var(--ink-mute));
  animation: scroll-pulse 2.1s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ── Hairline frame ───────────────────────────────────────── */

.frame {
  position: fixed;
  inset: 16px;
  border: 1px solid var(--hair-soft);
  pointer-events: none;
  z-index: 6;
  border-radius: 2px;
}

/* Corner tick marks */
.corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--hair);
}
.corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ── Reveal animation for text within active scene ────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.scene.active .reveal { opacity: 1; transform: none; }
.scene.active .reveal.d1 { transition-delay: 0.05s; }
.scene.active .reveal.d2 { transition-delay: 0.15s; }
.scene.active .reveal.d3 { transition-delay: 0.25s; }
.scene.active .reveal.d4 { transition-delay: 0.35s; }
.scene.active .reveal.d5 { transition-delay: 0.45s; }

/* ── Intro reveal ─────────────────────────────────────────── */

/* Same-color curtain sits on top — fades out as logo settles */
#intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  pointer-events: none;
  animation: intro-curtain-out 0.55s ease 2.65s forwards;
}

/* Logo is anchored to its final top-left position.
   A translate moves it to center at t=0; animation
   brings it home then fades it before real Chrome appears.
   Sequence: OBT fades in → letters appear → logo flies to corner */
#intro-logo {
  position: fixed;
  top: 22px;
  left: 28px;
  z-index: 10001;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  transform: translate(calc(50vw - 28px - 50%), calc(50vh - 22px - 50%)) scale(1.7);
  animation:
    intro-logo-settle 0.75s cubic-bezier(0.76, 0, 0.24, 1) 2.0s  forwards,
    intro-logo-out    0.30s ease                            2.85s forwards;
}
/* OBT mark fades in from transparent */
#intro-logo-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink);
  flex-shrink: 0;
  opacity: 0;
  animation: intro-mark-in 0.5s ease forwards;
}
#intro-logo-name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}
#intro-logo-name em {
  display: block;
  font-style: normal;
  color: var(--ink-mute);
  font-size: 9px;
  letter-spacing: 0.22em;
  margin-top: 2px;
}
/* Each letter span fades in one by one */
#intro-logo-name .il {
  display: inline-block;
  opacity: 0;
  animation: intro-ltr-in 0.18s ease forwards;
}

/* Root fades in as the curtain lifts */
#root {
  opacity: 0;
  animation: intro-root-in 0.65s ease 2.55s forwards;
}
/* Real monogram stays hidden until intro logo has exited */
.monogram {
  opacity: 0;
  animation: intro-monogram-in 0.01s linear 3.15s forwards;
}

@keyframes intro-curtain-out  { to { opacity: 0; } }
@keyframes intro-logo-settle  { to { transform: translate(0, 0) scale(1); } }
@keyframes intro-logo-out     { to { opacity: 0; } }
@keyframes intro-root-in      { to { opacity: 1; } }
@keyframes intro-monogram-in  { to { opacity: 1; } }
@keyframes intro-mark-in      { to { opacity: 1; } }
@keyframes intro-ltr-in       { to { opacity: 1; } }

/* ── Focus side-arrows (mobile only) ─────────────────────── */
.focus-side-arrow {
  display: none;
}

/* ── Small screens ────────────────────────────────────────── */
@media (max-width: 760px) {

  /* Wheat dims slightly so text is readable */
  .three-stage { opacity: 0.55; }

  /* More dramatic enter-from-below for all mobile transitions */
  .reveal {
    transform: translateY(40px);
  }

  /* Exit-upward animation: text slides up and fades */
  .scene.m-exit .reveal {
    opacity: 0;
    transform: translateY(-60px);
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(.4,0,.6,1);
    transition-delay: 0s;
  }

  /* Focus side arrows — minimal chevrons on card edges */
  .focus-side-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 28px;
    height: 52px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--ink-mute);
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .focus-side-prev { left: 0; }
  .focus-side-next { right: 0; }
  .focus-side-arrow svg { width: 20px; height: 20px; }

  /* Chrome */
  .chrome { padding: 14px 16px; }
  .monogram-name { display: none; }

  /* Frame */
  .frame { inset: 8px; }

  /* HUD */
  .hud { padding: 0 16px 14px; }
  .scroll-progress .bar { width: 60px; }
  .scene-dots .label { display: none; }

  /* Scroll cue */
  .scroll-cue { bottom: 10px; }

  /* ── Hero ── */
  /* Text sits in bottom ~42% of screen; wheat is clearly visible above */
  .hero {
    padding: 0 5vw;
    justify-content: flex-end;
    padding-bottom: 13vh;
  }
  /* Gradient fade creates a clean "above = wheat / below = text" split */
  .hero::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 52%;
    background: linear-gradient(to top, var(--bg) 48%, transparent);
    pointer-events: none;
    z-index: 0;
  }
  .hero > * { position: relative; z-index: 1; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero-title { font-size: clamp(36px, 11vw, 52px); max-width: 100%; }
  .hero-sub { font-size: 13px; margin-top: 12px; max-width: 100%; }
  .hero-meta {
    position: relative;
    left: auto; bottom: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 14px;
    font-size: 9px;
  }

  /* ── About ── */
  .about {
    padding: max(72px, 10vh) 5vw 4vh;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .about-grid {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about-text-card { padding: 14px 16px; }
  .about-kicker { font-size: clamp(17px, 5vw, 22px); margin-bottom: 10px; line-height: 1.2; }
  .about-body { font-size: 12px; line-height: 1.55; }
  .about-credentials { gap: 6px; padding-left: 0; }
  .about-label { font-size: 9px; margin-bottom: 12px; }
  .about-cred { grid-template-columns: 32px 1fr; padding-top: 8px; }
  .about-cred-body { font-size: 10px; line-height: 1.3; }
  .about-cred-body b { font-size: 11px; margin-bottom: 2px; }

  /* ── Focus ── */
  .focus { padding: 10vh 5vw 0; }
  .focus-head { margin-bottom: 4vh; gap: 16px; flex-wrap: wrap; }
  .focus-head h2 { font-size: clamp(30px, 9vw, 44px); }
  .focus-card { flex: 0 0 76vw; min-height: 320px; padding: 20px; height: 50vh; }
  .focus-card-title { font-size: 22px; }
  .focus-card-body { font-size: 12px; }

  /* ── Research ── */
  .research { padding: 0 6vw; }
  .research h2 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 24px; }
  .research-card { padding: 18px 20px; }
  .research-card-title { font-size: clamp(17px, 4.5vw, 22px); }
  .research-card-abstract { font-size: 13px; }
  .research-card-footer { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* ── Contact ── */
  .contact { padding: 0 6vw; }
  .contact h2 { font-size: clamp(36px, 10vw, 56px); margin-bottom: 20px; }
  .contact-email { font-size: clamp(20px, 5.5vw, 28px); gap: 10px; }
  .socials a { width: 38px; height: 38px; }
  .socials a svg { width: 15px; height: 15px; }
}
