/* ==========================================================
   Wyatt Dennis — Portfolio
   Dark, cinematic, editorial. The site is the work sample.
   ========================================================== */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --ink: #f3f1ec;
  --ink-2: #a8a49b;
  --ink-3: #5f5c56;
  --line: rgba(243, 241, 236, 0.12);
  --accent: #ff4d1c;          /* signal orange — the "REC" color */
  --accent-2: #ffd21c;        /* timecode yellow */
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", Inter, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

::selection { background: var(--accent); color: #000; }

/* ---------- film grain + cursor ---------- */
.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 1000; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 33% { transform: translate(-3%,2%); } 66% { transform: translate(2%,-3%); } 100% { transform: translate(0,0); }
}

.cursor {
  position: fixed; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); mix-blend-mode: difference; pointer-events: none; z-index: 1001;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .3s;
  display: grid; place-items: center;
}
.cursor.is-hover { width: 72px; height: 72px; background: var(--ink); }
.cursor-label { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover .cursor-label { opacity: 1; }
@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: 18px var(--gutter);
  mix-blend-mode: difference;
}
.nav-logo { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 0%,45% { opacity: 1; } 50%,95% { opacity: .15; } }
.nav-links { display: flex; gap: 28px; font-size: 13px; font-weight: 500; }
.nav-links a { position: relative; opacity: .85; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.nav-links a:hover::after { right: 0; }
.nav-cta { padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; }
.nav-cta-ghost { opacity: .6; }
.nav-cta-ghost:hover { opacity: 1; }
.nav-cta::after { display: none; }
.nav-timecode { color: var(--accent-2); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; padding: 110px var(--gutter) 60px;
  display: flex; flex-direction: column; justify-content: center; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 80% 20%, rgba(255,77,28,.16), transparent 70%);
}
.hero-meta { display: flex; gap: 12px; margin-bottom: 20px; }
.hero-meta .sep { color: var(--ink-3); }
.hero-title {
  margin: 0; font-family: var(--sans); font-weight: 600; letter-spacing: -0.045em;
  font-size: clamp(76px, 21vw, 330px); line-height: 0.86;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hero-title .word { display: inline-block; transform: translateY(130%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) .word { animation-delay: .1s; }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-top: clamp(32px, 4vw, 56px); opacity: 0; animation: fade 1s .6s var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
.hero-statement { margin: 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.01em; max-width: 18ch; font-weight: 500; }
.hero-statement em { color: var(--accent); }
.rotator { display: inline-block; vertical-align: bottom; height: 1.2em; overflow: hidden; color: var(--ink-2); }
.rotator-track { display: flex; flex-direction: column; transition: transform .7s var(--ease); }
.rotator-track span { height: 1.2em; line-height: 1.2em; font-family: var(--serif); font-style: italic; }
.hero-roles { text-align: right; }
@media (max-width: 760px) { .hero-sub { grid-template-columns: 1fr; } .hero-roles { text-align: left; } }

.hero-scroll { position: absolute; right: var(--gutter); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 10px; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(var(--ink-2), transparent); animation: scrollpulse 2s infinite; }
@keyframes scrollpulse { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .hero-scroll { display: none; } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; font-family: var(--serif); font-size: 30px; }
.marquee-track span:nth-child(even) { color: var(--accent); font-size: 18px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 12vw, 180px) var(--gutter); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: clamp(48px, 6vw, 90px); }
.eyebrow { display: block; margin-bottom: 20px; color: var(--accent); }
.section-title { margin: 0; font-weight: 500; letter-spacing: -0.03em; font-size: clamp(34px, 5.2vw, 76px); line-height: 1.02; max-width: 20ch; }
.section-title em { color: var(--ink-2); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- NDA ---------- */
.redact-title { background: var(--ink); color: var(--bg); padding: 0 .15em; }
.nda-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.nda-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 32px; background: var(--bg-2);
  position: relative; overflow: hidden; transition: border-color .4s, transform .6s var(--ease);
}
.nda-card:hover { border-color: rgba(255,77,28,.5); transform: translateY(-4px); }
.nda-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.stamp { border: 1px solid var(--accent); color: var(--accent); padding: 3px 8px; border-radius: 3px; transform: rotate(-2deg); font-weight: 500; }
.nda-line { font-size: 19px; line-height: 1.45; margin: 0 0 18px; color: var(--ink-2); }
.nda-line b { color: var(--ink); }
.redact {
  position: relative; color: transparent; user-select: none; white-space: nowrap;
  background: var(--ink); border-radius: 2px; padding: 0 .1em;
  transition: background .4s;
}
.redact::after {
  content: attr(data-reveal); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); opacity: 0; transition: opacity .3s;
}
.nda-card:hover .redact { background: rgba(255,77,28,.16); }
.nda-card:hover .redact::after { opacity: 1; }
.nda-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.nda-stats b { display: block; font-size: 30px; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; font-weight: 600; }
.nda-stats .mono { font-size: 10px; }
.nda-note { margin-top: 40px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.nda-note a { color: var(--ink); border-bottom: 1px solid var(--accent); }

/* ---------- featured video ---------- */
.feature-video {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .feature-video { grid-template-columns: 1fr; } }
.fv-player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.fv-poster { all: unset; display: block; position: absolute; inset: 0; cursor: pointer; }
.fv-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85); }
.fv-poster:hover img { transform: scale(1.03); filter: saturate(1); }
.fv-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)); }
.fv-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%;
  background: var(--ink); color: #000; display: grid; place-items: center; z-index: 1; transition: transform .5s var(--ease), background .3s;
}
.fv-play svg { margin-left: 4px; }
.fv-poster:hover .fv-play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); }
.fv-badge { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--ink); }
.fv-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.stamp-ok { border-color: #5ad07a; color: #5ad07a; }
.fv-title { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.fv-desc { margin: 0 0 20px; color: var(--ink-2); font-size: 17px; }
.fv-roles { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.fv-roles li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.fv-link { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.fv-link:hover { color: var(--accent); }

/* ---------- more videos ---------- */
.more-videos { margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.mv-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.mv-head .eyebrow { margin: 0; color: var(--ink-2); }
.mv-hint { color: var(--ink-3); }
.mv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .mv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { all: unset; display: block; cursor: pointer; width: 100%; }
.mv-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; margin-bottom: 12px; }
.mv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.6) brightness(.85); transition: transform .7s var(--ease), filter .4s; }
.mv-card:hover .mv-thumb img { transform: scale(1.04); filter: saturate(1) brightness(1); }
.mv-thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); transform: translate(-50%,-50%) scale(.8); opacity: 0; transition: opacity .3s, transform .4s var(--ease); }
.mv-card:hover .mv-thumb::after { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.mv-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.7); color: var(--ink); padding: 3px 6px; border-radius: 4px; font-size: 10px; }
.mv-kind { display: block; color: var(--accent); font-size: 10px; margin-bottom: 4px; }
.mv-title { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.mv-card:focus-visible .mv-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-close { all: unset; position: absolute; top: 20px; right: 24px; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.lb-close:hover { border-color: var(--ink); }
.lb-title { position: absolute; left: 24px; bottom: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); max-width: 70%; }

/* ---------- Hone ---------- */
.hone { background: linear-gradient(180deg, var(--bg) 0%, #100d0c 100%); }
.hone-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
@media (max-width: 900px) { .hone-layout { grid-template-columns: 1fr; } }

.hone-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.hone-visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,77,28,.35), transparent 65%); filter: blur(30px); }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 19.2; border-radius: 42px; background: #000;
  border: 6px solid #1c1c1e; box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 0 0 2px #000;
  transform: rotate(-6deg); transition: transform .8s var(--ease);
}
.hone-visual:hover .phone { transform: rotate(0deg) scale(1.02); }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; background: #000; border-radius: 999px; z-index: 2; border: 1px solid #1c1c1e; }
.phone-screen { position: absolute; inset: 0; border-radius: 36px; overflow: hidden; background: #0d0d0f; padding: 52px 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.ps-top { display: flex; justify-content: space-between; color: var(--ink); font-size: 10px; }
.ps-top b { color: var(--accent); }
.ps-reveal { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; }
.ps-frame { border-radius: 12px; display: flex; align-items: flex-end; padding: 10px; position: relative; overflow: hidden; }
.ps-frame .mono { font-size: 9px; color: var(--ink); background: rgba(0,0,0,.5); padding: 2px 6px; border-radius: 4px; }
.ps-before { background: linear-gradient(160deg, #3a3a40, #1a1a1e); }
.ps-after { background: linear-gradient(160deg, var(--accent), #ff8a3d 60%, #ffd21c); }
.ps-after::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(0,0,0,.08) 8px 9px); }
.ps-strip { display: flex; gap: 3px; height: 26px; }
.ps-strip i { flex: 1; border-radius: 3px; background: #26262b; transition: background .3s; }
.ps-strip i.on { background: var(--accent); }
.ps-cta { text-align: center; background: var(--ink); color: #000; font-weight: 600; font-size: 13px; padding: 12px; border-radius: 999px; }

.hone-orbit { position: absolute; inset: 0; pointer-events: none; }
.hone-orbit span {
  position: absolute; left: 50%; top: 50%; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  color: var(--ink); font-size: 11px;
  animation: orbit 14s linear infinite; animation-delay: calc(var(--i) * -4.66s);
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(230px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(230px) rotate(-360deg); }
}
@media (max-width: 500px) { .hone-orbit { display: none; } .hone-visual { min-height: 520px; } }

.hone-copy { display: flex; flex-direction: column; gap: 36px; }
.hone-block h3 { margin: 0 0 10px; color: var(--accent); }
.hone-block p { margin: 0; font-size: 19px; color: var(--ink-2); line-height: 1.5; max-width: 48ch; }
.hone-list { list-style: none; padding: 0; margin: 0; }
.hone-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 18px; }
.hone-list li:last-child { border-bottom: 1px solid var(--line); }
.hone-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #000; font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), background .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: transparent; border-color: var(--ink); }

.hone-head { display: flex; gap: 24px; align-items: flex-start; }
.hone-icon { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; margin-top: 6px; box-shadow: 0 10px 30px rgba(255,77,28,.25); }
@media (max-width: 700px) { .hone-head { flex-direction: column; gap: 16px; } .hone-icon { width: 56px; height: 56px; border-radius: 14px; } }

.hone-gallery { margin-top: clamp(64px, 8vw, 120px); }
.hone-gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.hone-gallery-head .eyebrow { margin: 0; }
.hone-gallery-hint { color: var(--ink-3); }
.hone-shots {
  display: flex; gap: 20px; overflow-x: auto; padding: 4px var(--gutter) 24px; margin: 0 calc(-1 * var(--gutter));
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
}
.hone-shots::-webkit-scrollbar { display: none; }
.hone-shots.dragging { cursor: grabbing; scroll-snap-type: none; }
.hone-shots figure { margin: 0; flex: 0 0 auto; width: clamp(220px, 24vw, 320px); scroll-snap-align: start; }
.hone-shots img {
  display: block; width: 100%; height: auto; border-radius: 22px; user-select: none; -webkit-user-drag: none;
  border: 1px solid var(--line); transition: transform .6s var(--ease);
}
.hone-shots figure:hover img { transform: translateY(-6px); }
.hone-shots .reveal:nth-child(2) { transition-delay: .08s; }
.hone-shots .reveal:nth-child(3) { transition-delay: .16s; }
.hone-shots .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- process ---------- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .process-steps { grid-template-columns: 1fr; } }
.step { padding: 40px 32px 40px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: none; }
@media (max-width: 800px) { .step { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0 !important; } }
.step-num { display: block; color: var(--accent); margin-bottom: 40px; }
.step h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 36px; letter-spacing: -0.01em; line-height: 1; }
.step p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* ---------- experience ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease); }
.job:hover { padding-left: 12px; }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; gap: 10px; } }
.job-when { padding-top: 6px; }
.job h3 { margin: 0 0 10px; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.job-co { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 24px; }
.job p { margin: 0; color: var(--ink-2); max-width: 70ch; }

.tools { margin-top: 64px; }
.tool-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tool-list li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: border-color .3s, color .3s; }
.tool-list li:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- contact ---------- */
.contact { border-bottom: none; padding-bottom: 80px; }
.contact-title { margin: 0 0 40px; font-weight: 500; letter-spacing: -0.04em; font-size: clamp(56px, 10vw, 150px); line-height: .95; }
.contact-title em { color: var(--accent); }
.contact-email {
  display: inline-block; font-family: var(--serif); font-size: clamp(22px, 3.4vw, 44px); border-bottom: 1px solid var(--ink-3);
  transition: border-color .3s, color .3s;
}
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-links { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 40px; }
.contact-links a { color: var(--ink); }
.contact-links a:hover { color: var(--accent); }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--gutter); border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word { transform: none; }
  .hero-sub { opacity: 1; }
}

/* ---------- small-screen tuning ---------- */
@media (max-width: 760px) {
  .nav-timecode { display: none; }
  .hero-meta { flex-wrap: wrap; row-gap: 6px; }
  .hero-meta span { white-space: nowrap; }
  .nda-card { padding: 24px 20px; }
  .nda-card-top { gap: 12px; align-items: flex-start; }
  .nda-card-top > span:first-child { line-height: 1.5; }
  .stamp { flex-shrink: 0; white-space: nowrap; }
  .nda-stats { grid-template-columns: 1fr 1fr; }
  .nda-stats b { font-size: 24px; }
  .nda-line { font-size: 17px; }
}
