/* Self-hosted fonts (Google Fonts latin subsets, variable weight files). No third-party requests. */
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/figtree.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #fafaf8;
  --ink:     #0d0d0b;
  --mid:     #555550;
  --faint:   #e8e8e4;
  --rule:    #d4d4cf;
  --accent:  #c43b0a;   /* 5.05:1 on --bg, WCAG AA for small text */
  --blue:    #3860e2;
  --white:   #ffffff;
}
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body {
  font-family: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

/* read by screen readers, not shown: new-tab warnings, which repo a link goes to, the skills list */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 3px;
  font-size: .85rem; text-decoration: none;
}
.skip:focus { left: 8px; }

/* ── CURSOR ── */
.cursor {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; position: fixed; pointer-events: none;
  z-index: 9999; transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
}
.cursor.big {
  width: 34px; height: 34px;
  background: rgba(196,59,10,.08);
  border: 1.5px solid var(--accent);
}
@media (hover: none) { .cursor { display: none; } }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 56px); height: 64px;
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: .02em;
  z-index: 1;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: .92rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--mid);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-btn {
  font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; color: var(--white); background: var(--ink);
  padding: 11px 26px; border-radius: 50px;
  transition: background .2s, transform .15s;
}
.nav-btn:hover { background: var(--accent); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 1;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--bg); padding: 88px 32px 40px;
  flex-direction: column; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu li { list-style: none; border-bottom: 1px solid var(--rule); }
.mobile-menu li.m-cta-item { border-bottom: none; }
.mobile-menu li a {
  display: block; padding: 20px 0;
  font-size: 1.1rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  transition: color .2s;
}
.mobile-menu li a:hover { color: var(--accent); }
.mobile-menu .m-cta {
  margin-top: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; color: var(--white); background: var(--ink);
  padding: 16px 32px; border-radius: 50px; width: 100%;
}

/* ── LAYOUT HELPERS ── */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 56px); }
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 18px;
}
h2.display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.3rem,4vw,3.4rem); font-weight: 600;
  line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin-bottom: 20px;
}
h2.display em { font-style: italic; color: var(--accent); }

/* ── REVEAL ── */
/* reveal only runs when JS is present; without it everything is simply visible */
.js .r { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .r.on { opacity: 1; transform: none; }
.r-d1 { transition-delay: .07s; } .r-d2 { transition-delay: .14s; }
.r-d3 { transition-delay: .21s; } .r-d4 { transition-delay: .28s; }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:none} }
@keyframes blink  { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 56px 80px;
  max-width: 1080px; margin: 0 auto;
}
.hero-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center; width: 100%;
}
.hero-photo-wrap { position: relative; padding-bottom: 28px; }
.hero-photo {
  width: 100%; height: auto; aspect-ratio: 4/5;
  object-fit: cover; object-position: center top;
  border-radius: 4px; display: block;
  border: 1px solid var(--rule);
  opacity: 0; animation: fadeUp .75s .1s ease forwards;
}
.hero-avail {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center; gap: 7px;
  opacity: 0; animation: fadeUp .75s .25s ease forwards;
}
.hero-avail-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 50px; padding: 8px 18px;
  font-size: .78rem; font-weight: 500; color: #2d7a4f;
  white-space: nowrap; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: #2d7a4f; animation: blink 2.4s infinite; flex-shrink: 0; }

.hero-text { opacity: 0; animation: fadeUp .75s .2s ease forwards; }
.hero-role {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 4.3vw, 3.9rem); font-weight: 600;
  line-height: 1.05; letter-spacing: -.02em; color: var(--ink);
  margin-bottom: 22px;
}
.hero-bio {
  font-size: 1.1rem; color: var(--mid); line-height: 1.8;
  max-width: 500px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-ink {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; color: var(--white); background: var(--ink);
  padding: 13px 28px; border-radius: 2px; transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-ink:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost {
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; color: var(--mid); padding: 13px 0;
  border-bottom: 1px solid var(--rule); transition: color .2s, border-color .2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* ── MARQUEE ── */
.marquee-wrap {
  position: relative;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  overflow: hidden; white-space: nowrap; padding: 14px 0; background: var(--white);
}
.marquee-wrap.paused .marquee-track, .marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; padding: 0;
  border: 1px solid var(--rule); background: var(--white); color: var(--mid);
  font-size: .7rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: -14px 0 14px var(--white);
  z-index: 2;
}
.marquee-toggle:hover { color: var(--ink); border-color: var(--ink); }
.marquee-track { display: inline-flex; animation: scroll 30s linear infinite; }
@keyframes scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.m-item { font-family:'Cormorant Garamond', Georgia, serif; font-size:1.05rem; font-style:italic; color:var(--mid); padding:0 26px; }
.m-dot  { color: var(--accent); }

section { padding: 96px 0; scroll-margin-top: 64px; }

/* ── GREATEST HITS ── */
.hits-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.hits-head h2 { margin-bottom: 0; }
.hits-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--rule); }
.hit {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--rule);
}
.hit-num {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.hit h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--ink);
}
.hit p { font-size: 1rem; color: var(--mid); line-height: 1.75; padding-top: 4px; }

/* ── PROJECTS ── */
.projects-header h2 { margin-bottom: 4px; }
.projects-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; flex-wrap: wrap; gap: 16px;
}
.view-all {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.view-all:hover { gap: 10px; }
.projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.proj-card {
  background: var(--white); border: 1px solid var(--rule); border-radius: 3px;
  overflow: hidden; transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(13,13,11,.07); }
.proj-img {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0a1628 0%, #0d2a3d 40%, #0f3854 100%);
  position: relative; overflow: hidden;
}
.proj-img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(0,180,200,.25) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(0,100,200,.2) 0%, transparent 50%);
}
.proj-img-dots {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1.5px at 20% 30%, rgba(0,210,230,.7) 0%, transparent 100%),
    radial-gradient(circle 1px  at 60% 20%, rgba(0,180,255,.5) 0%, transparent 100%),
    radial-gradient(circle 2px  at 80% 50%, rgba(0,210,230,.6) 0%, transparent 100%),
    radial-gradient(circle 1px  at 40% 65%, rgba(0,160,220,.4) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 70% 80%, rgba(0,200,240,.5) 0%, transparent 100%),
    radial-gradient(circle 1px  at 15% 70%, rgba(0,180,200,.4) 0%, transparent 100%),
    radial-gradient(circle 1px  at 90% 25%, rgba(0,200,230,.5) 0%, transparent 100%);
}
.proj-img-flow {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; align-content: center; justify-content: center;
  column-gap: 10px; row-gap: 8px; padding: 0 24px;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(.9rem, 1.5vw, 1.05rem); color: rgba(255,255,255,.82);
  text-align: center; flex-wrap: wrap;
}
.proj-img-flow span { white-space: nowrap; }
.proj-img-flow .fa { color: rgba(0,210,230,.9); font-style: normal; }
/* a product screenshot as the card image, anchored top left so the table header stays in view */
.proj-shot {
  position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
  background: #f8fafc; border-bottom: 1px solid var(--rule);
}
.proj-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
a.proj-shot { display: block; cursor: zoom-in; }
a.proj-shot:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.zoom-btn {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px;
  background: rgba(13,13,11,.78); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.zoom-btn svg { width: 14px; height: 14px; }
a.proj-shot:hover .zoom-btn, a.proj-shot:focus-visible .zoom-btn { background: var(--accent); transform: scale(1.05); }

/* screenshot dialog: native <dialog>, so Escape, focus and the backdrop come from the browser */
.shot-dialog {
  margin: auto; /* the global reset zeroes the margin the browser centers a modal with */
  padding: 0; border: 0; border-radius: 4px; background: var(--white); color: var(--ink);
  width: min(1472px, 96vw, calc((100vh - 150px) * 2.14)); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.shot-dialog::backdrop { background: rgba(13,13,11,.8); }
.shot-dialog figure { margin: 0; }
.shot-dialog img { display: block; width: 100%; height: auto; }
.shot-dialog figcaption { padding: 12px 18px 14px; font-size: .88rem; color: var(--mid); line-height: 1.55; border-top: 1px solid var(--rule); }
.shot-close {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(13,13,11,.82); color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.shot-close:hover, .shot-close:focus-visible { background: var(--accent); }
.shot-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.shot-hint { display: none; }
.shot-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
@media (max-width: 640px) {
  /* on a phone the image keeps a readable width and pans sideways */
  .shot-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .shot-dialog img { width: 1100px; max-width: none; }
  .shot-hint { display: inline; font-weight: 600; color: var(--ink); }
}
.proj-body { padding: 22px 20px; display: flex; flex-direction: column; flex: 1; }
.proj-badge {
  display: inline-block; align-self: flex-start;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); background: rgba(196,59,10,.08);
  padding: 4px 9px; border-radius: 2px; margin-bottom: 10px;
}
.proj-status {
  display: inline-block; align-self: flex-start; font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--mid);
  background: var(--faint); padding: 4px 9px; border-radius: 2px; margin-bottom: 10px;
}
.proj-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.3;
}
.proj-card p { font-size: .95rem; color: var(--mid); line-height: 1.7; margin-bottom: 14px; }
.proj-result { font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); margin-top: auto; }
.proj-result span { color: var(--accent); }
.proj-links { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.proj-links a {
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s, gap .2s;
}
.proj-links a:hover { color: var(--accent); gap: 9px; }
.proj-links .soon { font-size: .78rem; color: var(--mid); font-weight: 500; }
.proj-links .proj-meta { color: var(--mid); font-weight: 500; margin-left: 2px; }

/* ── VIDEO (self-hosted MP4, nothing downloads until click) ── */
.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16/10;
  background: #0b1020; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  cursor: pointer; display: block; padding: 0;
}
.video-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.5) 0%, transparent 16%, transparent 55%, rgba(0,0,0,.55) 100%); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.3rem; padding-left: 4px;
  transition: background .2s, transform .2s;
}
.video-wrap:hover .play-btn { background: var(--accent); border-color: var(--accent); transform: translate(-50%,-50%) scale(1.08); }
.video-wrap.playing { cursor: default; }
.video-wrap video::cue { font-family: 'Figtree', system-ui, sans-serif; font-size: .95em; line-height: 1.35; background: rgba(0,0,0,.72); color: #fff; }
.video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0b1020; }
.proj-card .video-wrap { border-radius: 0; border: none; border-bottom: 1px solid var(--rule); }
.btn-accent { background: var(--accent); margin-top: 8px; }

/* ── MISSION + HOW I WORK ── */
.mission-bg { background: var(--ink); }
.mission-bg .eyebrow { color: var(--accent); }
.mission-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-top: 56px;
}
.mission-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem,3.5vw,3rem); font-weight: 600;
  line-height: 1.15; color: var(--bg); margin-bottom: 24px; letter-spacing: -.01em;
}
.mission-text h2 em { font-style: italic; color: var(--accent); }
.mission-text p { font-size: .97rem; color: rgba(250,250,248,.6); line-height: 1.85; margin-bottom: 20px; }
.steps { list-style: none; border-top: 1px solid rgba(250,250,248,.14); }
.steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  padding: 24px 0; border-bottom: 1px solid rgba(250,250,248,.14);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(196,59,10,.14); color: var(--accent);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem; font-weight: 700; color: var(--bg); margin-bottom: 6px;
}
.steps p { font-size: .9rem; color: rgba(250,250,248,.6); line-height: 1.75; margin: 0; }
.steps-eyebrow { color: rgba(250,250,248,.45) !important; }

/* ── CTA ── */
.cta-section {
  text-align: center; padding: 112px 56px;
  background: var(--bg); border-top: 1px solid var(--rule);
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem,3.5vw,2.9rem); font-weight: 700;
  line-height: 1.2; color: var(--ink);
  max-width: 700px; margin: 0 auto 16px;
}
.cta-section h2 .cta-line { display: block; white-space: nowrap; }
.cta-section h2 em { font-style: italic; color: var(--accent); }
.cta-section p {
  font-size: 1.1rem; color: var(--mid); line-height: 1.75;
  max-width: 460px; margin: 0 auto 40px;
}
.cta-btns { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600;
  text-decoration: none; color: var(--white); background: var(--blue);
  padding: 16px 36px; border-radius: 50px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(56,96,226,.25);
}
.btn-blue:hover { background: #2448c0; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(56,96,226,.3); }
.cta-email { font-size: .88rem; color: var(--mid); text-decoration: none; transition: color .2s; }
.cta-email:hover { color: var(--ink); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--mid);
}
.footer-logo { font-family:'Cormorant Garamond', Georgia, serif; font-size:1.05rem; font-weight:600; color:var(--ink); }
.footer-right { display:flex; align-items:center; gap:24px; }
footer a { color:var(--mid); text-decoration:none; transition:color .2s; }
footer a:hover { color:var(--ink); }
.footer-icon {
  width:44px; height:44px; border-radius:4px; border:1px solid var(--rule);
  display:flex; align-items:center; justify-content:center;
  font-size:.85rem; transition:border-color .2s, color .2s;
}
.footer-icon:hover { border-color:var(--ink); color:var(--ink); }

/* ── RESPONSIVE ── */
@media (max-width: 899px) {
  .hero { padding: 88px clamp(20px, 5vw, 56px) 64px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-photo-wrap { width: min(300px, 65vw); margin: 0 auto; padding-bottom: 32px; }
  .hero-text { margin-top: 48px; }
  .hero-bio  { max-width: 100%; }
  .mission-inner { grid-template-columns: 1fr; }
  .hit { grid-template-columns: 240px 1fr; gap: 28px; }
}
@media (max-width: 639px) {
  nav { height: 56px; }
  .nav-links, .nav-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { padding: 70px 20px 32px; }
  .hero { padding: 76px clamp(20px, 5vw, 32px) 56px; }
  .hero-photo-wrap { width: min(220px, 72vw); padding-bottom: 30px; }
  .hero-text { margin-top: 40px; }
  .hero-actions { flex-wrap: wrap; }
  .projects-grid { grid-template-columns: 1fr; }
  .hit { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .cta-section { padding: 72px 20px; }
  footer { flex-direction: column; gap: 10px; text-align: center; padding: 20px; }
  .footer-right { justify-content: center; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r { opacity: 1; transform: none; transition: none; }
  .hero-photo, .hero-avail, .hero-text { animation: none; opacity: 1; }
  .marquee-track { animation: none; }
  .marquee-toggle { display: none; }
  .avail-dot { animation: none; }
}

/* ── 404 ── */
.nf { min-height: calc(100vh - 66px); display: flex; align-items: center; padding: 120px 0 80px; }
.nf .wrap { width: 100%; }
.nf h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 600;
  line-height: 1.05; letter-spacing: -.01em; color: var(--ink); margin-bottom: 20px;
}
.nf h1 em { font-style: italic; color: var(--accent); }
.nf p { font-size: 1.1rem; color: var(--mid); max-width: 520px; margin-bottom: 36px; }
@media (max-width: 639px) { .nf { padding: 96px 0 64px; min-height: calc(100vh - 120px); } }

/* ── TRANSCRIPT ── */
.transcript { padding: 128px 0 96px; }
.transcript h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.3rem, 4.5vw, 3.6rem); font-weight: 600;
  line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin-bottom: 16px;
}
.transcript-lede { font-size: 1.05rem; color: var(--mid); max-width: 620px; margin-bottom: 28px; }
.transcript-body { max-width: 720px; margin-top: 56px; border-top: 1px solid var(--rule); padding-top: 36px; }
.transcript-body p { font-size: 1.05rem; line-height: 1.75; color: var(--ink); margin-bottom: 22px; }
.transcript-body .ts {
  display: inline-block; min-width: 3.2em; margin-right: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 639px) { .transcript { padding: 96px 0 64px; } .transcript-body { margin-top: 40px; } }
