/* ==========================================================================
   David Girnstein — UGC Studio
   Custom CSS · 2026
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colors */
  --lime: #CDFF00;
  --lime-deep: #B8E600;
  --bg: #F4F0E6;          /* Eggshell */
  --bg-2: #ECE7D9;        /* Eggshell deeper */
  --ink: #0B0B0B;         /* Near-black */
  --ink-2: #1A1A1A;
  --ink-3: #2A2A2A;
  --muted: #6A6A66;
  --muted-2: #9A9A95;
  --line: rgba(11, 11, 11, 0.12);
  --line-strong: rgba(11, 11, 11, 0.24);

  /* Typography scale - fluid */
  --fs-display: clamp(3.5rem, 11vw, 11rem);
  --fs-h1: clamp(2.75rem, 7vw, 6.5rem);
  --fs-h2: clamp(2.25rem, 5vw, 4.25rem);
  --fs-h3: clamp(1.5rem, 2.5vw, 2rem);
  --fs-lg: clamp(1.125rem, 1.4vw, 1.375rem);
  --fs-md: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --pad-x: clamp(1.25rem, 4vw, 4.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 800ms;

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- 3. Type ---------- */
.font-display, h1, h2, h3, .h-display {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", monospace; }
.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(205, 255, 0, 0.18);
}

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--section-y); }
.grid { display: grid; gap: clamp(1rem, 2vw, 2rem); }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur) var(--ease-soft), backdrop-filter var(--dur) var(--ease-soft), border-color var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(244, 240, 230, 0.78);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand-dot {
  width: 0.7rem; height: 0.7rem;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(205,255,0,0.18);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(205,255,0,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(205,255,0,0); }
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--dur-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
}
.nav-toggle span {
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--pad-x);
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity var(--dur), transform var(--dur);
    z-index: 90;
  }
  .nav-links a { font-size: clamp(1.75rem, 6vw, 2.5rem); font-weight: 800; font-family: "Inter Tight", sans-serif; letter-spacing: -0.02em; }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-cta-mobile { margin-top: 1rem; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease-out), background var(--dur), color var(--dur), border-color var(--dur);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--lime);
  color: var(--ink);
}
.btn-primary:hover { background: var(--ink); color: var(--lime); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: translateY(-2px); }
.btn-dark {
  background: var(--ink);
  color: var(--bg);
}
.btn-dark:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8rem, 16vh, 11rem) var(--pad-x) clamp(3rem, 6vh, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 110px) clamp(60px, 8vw, 110px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 50%, transparent 100%);
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; width: 100%; }
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.hero-headline {
  font-size: var(--fs-display);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.hero-headline .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordIn 1.1s var(--ease-out) forwards;
}
.hero-headline .word:nth-child(1) > span { animation-delay: 0.1s; }
.hero-headline .word:nth-child(2) > span { animation-delay: 0.2s; }
.hero-headline .word:nth-child(3) > span { animation-delay: 0.3s; }
.hero-headline .word:nth-child(4) > span { animation-delay: 0.4s; }
.hero-headline .word:nth-child(5) > span { animation-delay: 0.5s; }
@keyframes wordIn {
  to { transform: translateY(0); }
}
.hero-headline .accent {
  background: linear-gradient(180deg, transparent 0 60%, var(--lime) 60% 95%, transparent 95% 100%);
  padding: 0 0.05em;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  font-family: "Inter Tight", serif;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-top: 2rem;
}
.hero-sub {
  font-size: var(--fs-lg);
  color: var(--ink-2);
  max-width: 36ch;
  line-height: 1.45;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Hero photo strip */
.hero-photo-strip {
  position: relative;
  z-index: 2;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: clamp(260px, 40vh, 460px);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo-strip img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(60%);
  transition: filter var(--dur-slow) var(--ease-out), transform 1.5s var(--ease-out);
}
.hero-photo-strip:hover img { filter: grayscale(0%); transform: scale(1.03); }
.hero-photo-strip::after {
  content: "REPLACE WITH YOUR HERO IMAGE → /assets/images/hero.jpg";
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--lime);
  background: rgba(0,0,0,0.6);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity var(--dur);
}
.hero-photo-strip:hover::after { opacity: 1; }
.hero-photo-strip[data-has-image="true"]::after { display: none; }

@media (max-width: 720px) {
  .hero-bottom { grid-template-columns: 1fr; }
}

/* ---------- 8. Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--bg);
  padding-block: 1.5rem;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll 35s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 0.6rem; height: 0.6rem;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- 9. Services ---------- */
.section-title {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  align-items: end;
}
.section-title .title-text { max-width: 14ch; }
.section-title .title-aside {
  font-size: var(--fs-lg);
  color: var(--ink-2);
  max-width: 38ch;
  justify-self: end;
}
@media (max-width: 720px) {
  .section-title { grid-template-columns: 1fr; }
  .section-title .title-aside { justify-self: start; }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: clamp(380px, 42vw, 480px);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}
.service-card.is-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.service-card.is-featured h3 { color: var(--bg); }
.service-card.is-featured .service-tag { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  align-self: flex-start;
}
.service-card h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.service-card p { color: inherit; opacity: 0.78; max-width: 38ch; }
.service-features {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.service-card.is-featured .service-features { border-top-color: rgba(255,255,255,0.14); }
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
}
.service-features li::before {
  content: "→";
  color: var(--lime);
  font-weight: 700;
}
.service-art {
  position: absolute;
  right: -1rem; top: -1rem;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(40px);
  opacity: 0.45;
  pointer-events: none;
  transition: transform var(--dur-slow) var(--ease-out);
}
.service-card:hover .service-art { transform: scale(1.4); }

@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
}

/* ---------- 10. Process strip (numbered) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 5vw, 4rem);
}
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.25rem;
}
.step .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.step h4 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0.5rem 0 0.25rem;
  letter-spacing: -0.01em;
}
.step p { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 11. Portfolio / Showreel ---------- */
.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 3vw, 2.5rem);
}
.chip {
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}
.chip.is-active, .chip:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.5vw, 1.25rem);
}
@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 9 / 14;
  background: var(--ink);
  cursor: pointer;
  isolation: isolate;
}
.work-card .thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
  z-index: 1;
}
.work-card:hover .thumb { transform: scale(1.05); }
.work-card .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #0b0b0b 100%);
  color: var(--lime);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  z-index: 1;
}
.work-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
  pointer-events: none;
}
.work-card .meta {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 3;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.5rem;
}
.work-card .meta strong {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  display: block;
}
.work-card .meta small {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.work-card .play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 3;
  transform: scale(0.85);
  transition: transform var(--dur) var(--ease-out);
}
.work-card:hover .play { transform: scale(1); }
.work-card .badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 3;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: var(--lime);
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Video iframe takeover when activated */
.work-card.is-playing .thumb,
.work-card.is-playing .overlay,
.work-card.is-playing .placeholder,
.work-card.is-playing .meta,
.work-card.is-playing .play,
.work-card.is-playing .badge { display: none; }
.work-card iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 4;
}

/* ---------- 12. Stats / Trust ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 3vw, 3rem);
  margin-top: clamp(2rem, 3vw, 3rem);
}
.stat .num {
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat .label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- 13. About teaser ---------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.about-teaser .copy h2 { margin-bottom: 1.5rem; }
.about-teaser .copy p { font-size: var(--fs-lg); color: var(--ink-2); margin-bottom: 1.25rem; }
.about-teaser .copy .btn { margin-top: 0.75rem; }
.about-teaser .imgwrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--ink);
  position: relative;
}
.about-teaser .imgwrap img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(50%);
  transition: filter 1s var(--ease-out), transform 2s var(--ease-out);
}
.about-teaser:hover .imgwrap img { filter: grayscale(0%); transform: scale(1.04); }
@media (max-width: 860px) {
  .about-teaser { grid-template-columns: 1fr; }
}

/* ---------- 14. CTA / Contact ---------- */
.cta {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  background: var(--lime);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  top: -120px; right: -120px;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 980px; }
.cta h2 { color: var(--bg); margin-bottom: 1.5rem; }
.cta h2 .accent { background: linear-gradient(180deg, transparent 0 60%, var(--lime) 60% 95%, transparent 95% 100%); padding: 0 0.05em; color: var(--ink); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.cta-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255,255,255,0.16);
}
.cta-info .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.cta-info .value {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.4rem;
  word-break: break-word;
}
.cta-info a:hover .value { color: var(--lime); }
@media (max-width: 720px) { .cta-info { grid-template-columns: 1fr; } }

/* ---------- 15. Footer ---------- */
.site-footer {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer-mega {
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 11rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--ink);
  text-align: center;
  margin-block: clamp(2rem, 5vw, 3.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-mega .accent { color: var(--lime); -webkit-text-stroke: 1px var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--ink); }

/* ---------- 16. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 17. Subpage helpers ---------- */
.page-hero {
  padding: clamp(8rem, 18vh, 12rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(3rem, 9vw, 8rem);
  margin: 1rem 0 1.5rem;
  max-width: 18ch;
}
.prose {
  max-width: 68ch;
  font-size: var(--fs-lg);
  color: var(--ink-2);
}
.prose p + p { margin-top: 1rem; }
.prose h2, .prose h3 { margin-top: 3rem; margin-bottom: 1rem; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a {
  color: var(--ink);
  border-bottom: 2px solid var(--lime);
  transition: background var(--dur);
}
.prose a:hover { background: var(--lime); }

.timeline { display: grid; gap: 1rem; margin-top: 2rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.timeline-item .when {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 0.3rem;
}
.timeline-item h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.timeline-item p { color: var(--muted); }
@media (max-width: 540px) {
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* ---------- 18. Floating noise + cursor ---------- */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ---------- 19. Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--line); }
