/* VectorNine Studios — nk-skeleton rebuild */

:root {
  --teal:        #A3D9C9;
  --teal-dim:    #7bbfad;
  --teal-deep:   #1e8a72;
  --bg:          #0d0d0d;
  --ink:         #0d0d0d;
  --paper:       #f2efe8;
  --line:        rgba(255,255,255,0.08);
  --line-dark:   rgba(13,13,13,0.10);
  --white:       #ffffff;
  --g1: rgba(255,255,255,0.85);
  --g2: rgba(255,255,255,0.55);
  --g3: rgba(255,255,255,0.30);
  --f-display: 'Big Shoulders Display', sans-serif;
  --f-serif:   'DM Serif Display', serif;
  --f-body:    'Inter', sans-serif;
  --max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--g1);
  font-family: var(--f-body);
  font-weight: 300;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
::selection { background: var(--teal); color: var(--ink); }

/* ── The world: one fixed canvas behind everything ── */
#world {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
#scrim {
  position: fixed; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.42) 32%, rgba(13,13,13,0.1) 56%, rgba(13,13,13,0.55) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(13,13,13,0.5) 0%, transparent 55%);
}
section { position: relative; z-index: 2; }
#topbar { z-index: 100; }

/* ── Floating top bar (nk pattern: brand left, pill center, contact right) ── */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 44px;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}
#topbar.scrolled {
  background: rgba(13,13,13,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand img { height: 30px; width: auto; display: block; }
#navpill {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  background: rgba(13,13,13,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 14px;
}
#navpill a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--g2);
  padding: 6px 12px; border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}
#navpill a:hover, #navpill a.on { color: var(--white); }
#navpill a.on { background: rgba(255,255,255,0.06); }
.contact-link {
  font-size: 12px; letter-spacing: 0.14em; font-weight: 400;
  color: var(--white);
  border: 1px solid rgba(163,217,201,0.45);
  border-radius: 100px;
  padding: 10px 22px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.contact-link:hover {
  background: var(--teal);
  color: var(--ink);
  border-color: var(--teal);
  box-shadow: 0 0 26px rgba(163,217,201,0.35);
}

/* ── Shared bits ── */
.kicker {
  font-size: 11px; letter-spacing: 0.26em; font-weight: 400;
  color: var(--teal-dim);
  margin-bottom: 26px;
}
.kicker.dark { color: var(--teal-deep); }
.ulink {
  display: inline-block;
  font-size: 12.5px; letter-spacing: 0.18em; font-weight: 400;
  color: var(--white);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}
.ulink:hover { color: var(--teal); }
.ulink.center { display: block; width: fit-content; margin: 40px auto 0; }
.ulink.big { font-size: 15px; letter-spacing: 0.22em; margin-top: 34px; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); }

/* ── Reveal (scoped: never stuck hidden without JS) ── */
.has-js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.has-js .reveal.revealed { opacity: 1; transform: translateY(0); }
.gsap-active .reveal { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── HERO — quiet, spacious, left-anchored (nk scale) ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 44px;
}
.hero-inner { max-width: 620px; margin-left: 6vw; position: relative; z-index: 2; }
.hero-h {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--white);
  margin-bottom: 34px;
}
.hero-h em { font-size: 1em; }
.play-mark {
  position: absolute;
  right: 12vw; top: 50%;
  width: clamp(160px, 20vw, 320px);
  transform: translateY(-50%);
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.35)) drop-shadow(0 0 46px rgba(163,217,201,0.75)) drop-shadow(0 0 100px rgba(163,217,201,0.4));
  will-change: transform, filter;
  animation: markPulse 4.5s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.35)) drop-shadow(0 0 46px rgba(163,217,201,0.75)) drop-shadow(0 0 100px rgba(163,217,201,0.4)); }
  50%      { filter: drop-shadow(0 0 30px rgba(255,255,255,0.5))  drop-shadow(0 0 64px rgba(163,217,201,1))   drop-shadow(0 0 130px rgba(163,217,201,0.55)); }
}
@media (prefers-reduced-motion: reduce) { .play-mark { animation: none; } }
.play-mark img { width: 100%; height: auto; display: block; }
.scroll-cue {
  position: fixed;
  right: 26px; bottom: 40px;
  z-index: 50;
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--g3);
  writing-mode: vertical-rl;
  pointer-events: none;
}
#scrollPct { color: var(--teal-dim); margin-bottom: 8px; }

/* ── STATEMENT + SCATTER ── */
#statement { padding: 6vh 44px 4vh; max-width: var(--max); margin: 0 auto; }
.stmt-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: start;
}
.stmt-h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.1; color: var(--white);
  letter-spacing: -0.01em;
}
.sidekick { font-size: 10.5px; letter-spacing: 0.22em; color: var(--teal-dim); margin-bottom: 18px; }
.stmt-p { font-size: 0.98rem; line-height: 1.8; color: var(--g2); }
.tl { color: var(--teal); }

.stats-scatter {
  margin-top: 4vh;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.scat { padding-top: calc(var(--sy) * 64px); }
.scat-n {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--white);
  line-height: 1;
}
.scat:nth-child(2) .scat-n, .scat:nth-child(4) .scat-n { font-size: clamp(1.8rem, 2.8vw, 2.6rem); color: var(--g1); }
.scat-l { font-size: 12px; line-height: 1.6; color: var(--g2); margin-top: 12px; max-width: 180px; }
.scat-l i { display: block; color: var(--teal-dim); font-style: italic; margin-top: 6px; }

/* ── SHOWCASE — pinned stage, one work at a time ── */
#showcase { min-height: 100vh; }
.show-stage {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.edge-label {
  position: absolute; left: 40px; top: 48px;
  font-size: 10.5px; letter-spacing: 0.24em; color: var(--g3);
}
.show-item {
  position: absolute;
  width: min(54vw, 860px);
  text-align: center;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.show-media { position: relative; }
.show-media video {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
}
.show-item.portrait { width: min(26vw, 420px); }
.show-item.portrait .show-media video { aspect-ratio: 9/16; }
.show-tag {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 11.5px; letter-spacing: 0.05em; font-weight: 500;
  color: var(--teal);
  background: rgba(13,13,13,0.7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(163,217,201,0.3);
  border-radius: 100px;
  padding: 7px 16px;
}
.show-name {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--white);
  margin-top: 18px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.9);
}
.show-link { margin-top: 14px; }

/* Mobile: stacked simple cards */
@media (max-width: 1024px) {
  #showcase { min-height: 0; }
  .show-stage { height: auto; display: block; padding: clamp(50px, 12vw, 80px) clamp(18px, 5.5vw, 28px); overflow: visible; }
  .edge-label { position: static; display: block; transform: none; margin-bottom: clamp(20px, 5vw, 30px); }
  .show-item { position: static; width: 100%; opacity: 1 !important; transform: none !important; filter: none !important; margin-bottom: clamp(40px, 10vw, 60px); }
}

/* ── VALUES ── */
#values { padding: 6vh 44px; max-width: var(--max); margin: 0 auto; }
.values-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.values-h {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  letter-spacing: -0.01em;
  line-height: 1.2; color: var(--white);
  position: sticky; top: 24vh;
}
.values-list { list-style: none; }
.values-list li {
  display: flex; gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.values-list i { color: var(--teal); font-size: 1.05rem; margin-top: 5px; }
.values-list strong {
  display: block;
  font-family: var(--f-body); font-weight: 500;
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 6px;
}
.values-list p { font-size: 0.9rem; line-height: 1.7; color: var(--g2); }

/* ── SERVICES — white island ── */
#services {
  background: var(--paper);
  color: var(--ink);
  padding: 6vh 44px;
}
.svc-wrap { max-width: var(--max); margin: 0 auto; }
.svc-h {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 44px;
}
.svc-h em { color: var(--teal-deep); }
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-row:last-child { border-bottom: none; }
.svc-row {
  display: grid; grid-template-columns: 70px 1fr 22px;
  gap: 26px; align-items: center;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left 0.35s cubic-bezier(.16,1,.3,1), background 0.35s;
}
.svc-row:hover { padding-left: 16px; background: rgba(30,138,114,0.04); }
.svc-row span {
  font-family: var(--f-display); font-weight: 700;
  color: rgba(13,13,13,0.35);
  transition: color 0.3s;
}
.svc-row:hover span { color: var(--teal-deep); }
.svc-row h3 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s;
}
.svc-row:hover h3 { color: var(--teal-deep); }
.svc-row p { font-size: 0.9rem; line-height: 1.6; color: rgba(13,13,13,0.6); margin-top: 6px; max-width: 480px; }
.svc-row .fa-arrow-right {
  color: rgba(13,13,13,0.3);
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
  justify-self: end;
}
.svc-row:hover .fa-arrow-right { opacity: 1; transform: translateX(0); color: var(--teal-deep); }

.logos-kick { margin-top: 50px; }
.client-row { padding-bottom: 8px; }
.client-row {
  display: flex; flex-wrap: wrap; gap: 24px 64px;
  align-items: center;
}
.client-item {
  position: relative;
  display: inline-flex;
  align-items: center; justify-content: flex-start;
  min-height: 34px;
  cursor: default;
}
.client-text {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1rem; letter-spacing: 0.04em;
  color: rgba(13,13,13,0.45);
  white-space: nowrap;
  transition: opacity 0.35s cubic-bezier(.16,1,.3,1), transform 0.35s cubic-bezier(.16,1,.3,1), color 0.3s;
}
.client-item:hover .client-text { color: var(--ink); }
.client-item.has-logo:hover .client-text { opacity: 0; transform: scale(0.85); }
.client-logo {
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%) scale(0.85);
  height: 26px; width: auto;
  max-width: 96px;
  object-fit: contain;
  object-position: left center;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(.16,1,.3,1), transform 0.35s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.client-item.has-logo:hover .client-logo {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* ── CLOSE — giant footer CTA ── */
#close {
  min-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 4vh 44px 0;
}
.close-h {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  line-height: 1.08; color: var(--white);
  letter-spacing: -0.02em;
}
footer {
  width: 100%;
  max-width: var(--max);
  margin-top: min(16vh, 140px);
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 50px;
  text-align: left;
}
.foot-brand img { height: 30px; margin-bottom: 16px; }
.foot-brand p { font-size: 12.5px; line-height: 1.6; color: var(--g2); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-cols h4 { font-size: 10.5px; letter-spacing: 0.2em; font-weight: 500; color: var(--g3); margin-bottom: 16px; }
.foot-cols a { display: block; font-size: 13.5px; color: var(--g2); padding: 5px 0; transition: color 0.25s; }
.foot-cols a:hover { color: var(--teal); }
.foot-base { grid-column: 1 / -1; font-size: 11.5px; color: var(--g3); padding-top: 26px; border-top: 1px solid var(--line); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  #topbar { padding: 16px clamp(16px, 4vw, 20px); }
  #navpill { display: none; }
  .hero-inner { margin-left: 0; }
  .stmt-grid, .values-grid { grid-template-columns: 1fr; gap: clamp(24px, 6vw, 34px); }
  .values-h { position: static; }
  .stats-scatter { grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 7vw, 44px) clamp(16px, 4vw, 24px); }
  .scat { padding-top: 0; }
  footer { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ── Marquee ticker (between sections) ── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  position: relative; z-index: 3;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(4px);
}
.ticker-track {
  display: flex; gap: 0;
  width: max-content;
}
.ticker span {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.06em;
  color: var(--g3);
  white-space: nowrap;
  padding-right: 60px;
}
.ticker span em { color: var(--teal-dim); }
@media (prefers-reduced-motion: reduce) { .ticker-track { transform: none !important; } }

/* ── SplitText char reveal helper ── */
.split-ready .sp-word { display: inline-block; white-space: nowrap; }
.split-ready .sp-char { display: inline-block; will-change: transform, opacity; padding: 0.06em 0.015em; margin: -0.06em -0.015em; }

/* ── Page hero (subpages) ── */
.page-hero {
  min-height: 46vh;
  display: flex; align-items: flex-end;
  padding: 0 44px 5vh;
  max-width: var(--max); margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.06; letter-spacing: -0.02em;
  overflow: visible;
  color: var(--white);
}
.page-hero .kicker { margin-bottom: 18px; }
.page-hero-sub {
  font-size: 1.05rem; line-height: 1.75;
  color: var(--g2); font-weight: 300;
  max-width: 520px;
  margin-top: 20px;
  overflow-wrap: normal; word-break: normal; hyphens: none;
}

/* ── Prose blocks (about) ── */
.prose {
  max-width: 760px; margin: 0 auto;
  padding: 4vh 44px 8vh;
}
.prose p { font-size: 1.05rem; line-height: 1.9; color: var(--g2); margin-bottom: 26px; }
.prose .lead { font-size: 1.35rem; color: var(--g1); font-weight: 300; }
.prose blockquote {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--teal); line-height: 1.4;
  border-left: 2px solid var(--teal);
  padding-left: 28px; margin: 50px 0;
}

/* ── Team cards ── */
.team-intro {
  max-width: 640px; margin: 0 auto;
  padding: 4vh 44px 2vh;
  text-align: center;
}
.team-intro p { font-size: 1.1rem; line-height: 1.85; color: var(--g2); }
.team-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 3vh 44px 8vh;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.tcard {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s, filter 0.4s ease, opacity 0.4s ease;
}
.team-grid:has(.tcard:hover) .tcard:not(:hover) {
  filter: blur(2.5px) saturate(0.7);
  opacity: 0.55;
  transform: scale(0.98);
}
.tcard:hover {
  border-color: rgba(163,217,201,0.4);
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.tnum {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--f-display); font-weight: 800;
  font-size: 0.95rem; letter-spacing: 0.08em;
  color: var(--teal-dim);
  background: rgba(13,13,13,0.55);
  backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 100px;
}
.tphoto { overflow: hidden; }
.tphoto img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
  filter: grayscale(35%);
  transition: filter 0.5s, transform 0.6s cubic-bezier(.16,1,.3,1);
}
.tcard:hover .tphoto img { filter: grayscale(0%); transform: scale(1.05); }
.tcard-join { border-style: dashed; }
.tcard-join:hover { border-style: solid; }
.tcard-body { padding: 24px 26px 28px; }
.tcard-body h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--white); }
.tcard-body .role { font-size: 11.5px; letter-spacing: 0.18em; color: var(--teal-dim); margin: 8px 0 14px; text-transform: uppercase; }
.tcard-body p { font-size: 0.9rem; line-height: 1.7; color: var(--g2); }
.tcard-links { margin-top: 16px; display: flex; gap: 16px; }
.tcard-links a { color: var(--g3); font-size: 1rem; transition: color 0.25s; }
.tcard-links a:hover { color: var(--teal); }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .team-grid { grid-template-columns: 1fr; } }

/* ── Coming soon (Vector House) ── */
.soon {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
}
.soon h1 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1.06; letter-spacing: -0.02em;
  color: var(--white);
}
.soon .kicker { margin-bottom: 22px; }
.soon p { max-width: 460px; margin: 26px 0 8px; font-size: 1rem; line-height: 1.8; color: var(--g2); }

/* ── Work grid (work page, below fly-through) ── */
.work-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 4vh 44px 8vh;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.wcard {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.35s, transform 0.35s;
}
.wcard-sound {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(13,13,13,0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(163,217,201,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.wcard:hover .wcard-sound,
.wcard.sound-on .wcard-sound { opacity: 1; transform: scale(1); }
.wcard.sound-on .wcard-sound { border-color: var(--teal); }
.wcard-sound svg { width: 13px; height: 13px; fill: var(--white); }
.wcard-sound .ic-pause { display: none; }
.wcard.sound-on .ic-play { display: none; }
.wcard.sound-on .ic-pause { display: block; }
.wcard:hover { border-color: rgba(163,217,201,0.4); transform: translateY(-5px); }
.wcard video { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.wcard.portrait video { aspect-ratio: 9/16; }
.wcard .wname {
  position: absolute; left: 16px; bottom: 12px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.05rem;
  color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,0.85);
}
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }

/* ── ulink underline grow ── */
.ulink { position: relative; border-bottom: none; padding-bottom: 5px; }
.ulink::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--teal);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1);
}
.ulink:hover::after { transform: scaleX(0.35); }

/* stmt-side: grid child, alignment only */
.stmt-side { padding-top: 10px; }
/* split-h headlines on subpages use same treatment via .page-hero h1 / .soon h1 */

/* team photo placeholder */
.tcard-ph {
  width: 100%; aspect-ratio: 4/5; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #141414, #0d0d0d);
  border-bottom: 1px solid var(--line);
}
.tcard-ph span {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  color: rgba(163,217,201,0.22);
  letter-spacing: 0.04em;
}

/* ══ MOBILE BULLETPROOF PASS ══════════════════════════ */

/* Hamburger (hidden desktop) */
#burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  position: relative; z-index: 210;
}
#burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--white);
  margin: 5px auto;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), opacity 0.3s;
}
#burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
#burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* Fullscreen mobile menu */
#mobmenu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8vh;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
#mobmenu.open { opacity: 1; pointer-events: auto; }
#mobmenu nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
#mobmenu nav a {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 9vw, 3rem);
  color: var(--white);
  padding: 6px 0;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.16,1,.3,1), color 0.25s;
}
#mobmenu.open nav a { opacity: 1; transform: translateY(0); }
#mobmenu nav a:hover { color: var(--teal); }
#mobmenu nav a:nth-child(1) { transition-delay: 0.05s; }
#mobmenu nav a:nth-child(2) { transition-delay: 0.10s; }
#mobmenu nav a:nth-child(3) { transition-delay: 0.15s; }
#mobmenu nav a:nth-child(4) { transition-delay: 0.20s; }
#mobmenu nav a:nth-child(5) { transition-delay: 0.25s; }
#mobmenu nav a:nth-child(6) { transition-delay: 0.30s; }
#mobmenu nav a:nth-child(7) { transition-delay: 0.35s; }
body.menu-open { overflow: hidden; }

/* Spacing overhaul — mobile rhythm */
@media (max-width: 1024px) {
  #burger { display: block; }
  #topbar .contact-link { display: none; }   /* lives in menu instead */
  #mobmenu .contact-link { display: inline-block; }

  #hero { padding: 0 clamp(18px, 5.5vw, 28px); }
  .hero-inner { position: relative; z-index: 2; }
  .play-mark {
    right: 4vw; top: auto; bottom: 10%;
    width: clamp(90px, 24vw, 150px);
    opacity: 0.3; z-index: 1;
    transform: none;
  }
  .scroll-cue { display: none; }

  #statement { padding: clamp(36px, 9vw, 60px) clamp(18px, 5.5vw, 28px); }
  .stats-scatter { margin-top: clamp(24px, 6vw, 40px); }
  #values { padding: clamp(30px, 8vw, 55px) clamp(18px, 5.5vw, 28px); }
  #services { padding: clamp(30px, 8vw, 55px) clamp(18px, 5.5vw, 28px); }
  .svc-row { grid-template-columns: 34px 1fr; gap: clamp(10px, 3vw, 14px); padding: clamp(16px, 4vw, 22px) 2px; }
  .svc-row:hover { padding-left: 6px; }
  .svc-row .fa-arrow-right { display: none; }
  .svc-h { margin-bottom: clamp(28px, 7vw, 44px); }
  .logos-kick { margin-top: clamp(36px, 8vw, 60px); }
  .page-hero { min-height: 46vh; padding: clamp(90px, 20vw, 120px) clamp(18px, 5.5vw, 28px) clamp(28px, 7vw, 40px); align-items: flex-end; }
  .prose { padding: clamp(28px, 7vw, 40px) clamp(18px, 5.5vw, 28px) clamp(60px, 15vw, 90px); }
  .team-intro { padding: clamp(28px, 7vw, 40px) clamp(18px, 5.5vw, 28px) clamp(8px, 2vw, 10px); }
  .team-grid { padding: clamp(24px, 6vw, 36px) clamp(18px, 5.5vw, 28px) clamp(36px, 9vw, 60px); }
  .work-grid { padding: clamp(24px, 6vw, 40px) clamp(18px, 5.5vw, 28px) clamp(36px, 9vw, 60px); }
  #close { min-height: 0; padding: clamp(36px, 9vw, 60px) clamp(18px, 5.5vw, 28px) 0; }
  .close-h {
    font-size: clamp(1.9rem, 8.5vw, 2.5rem);
    overflow-wrap: normal; word-break: keep-all;
    hyphens: none;
  }
  footer { margin-top: clamp(50px, 12vw, 70px); }
  .ulink.center { margin-top: clamp(36px, 8vw, 50px); }
}
@media (min-width: 1025px) {
  #mobmenu { display: none; }
}
@media (max-width: 480px) {
  .page-hero h1, .soon h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .foot-cols { grid-template-columns: 1fr; gap: clamp(18px, 5vw, 24px); }
}

/* ── Vector House scrolling gallery (placeholder, ready for real media) ── */
.vh-gallery {
  padding: 0 clamp(18px, 5.5vw, 44px) clamp(50px, 8vh, 90px);
  max-width: var(--max); margin: 0 auto;
}
.vh-gallery-kick { margin-bottom: clamp(20px, 4vw, 30px); }
.vh-track {
  display: flex;
  gap: clamp(14px, 2.5vw, 22px);
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.vh-track::-webkit-scrollbar { height: 5px; }
.vh-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.vh-slot {
  flex: 0 0 auto;
  width: clamp(220px, 32vw, 340px);
  aspect-ratio: 4/5;
  border: 1px dashed var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--g3);
  font-size: 1.6rem;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.015);
  transition: border-color 0.3s, color 0.3s;
}
.vh-slot:hover { border-color: rgba(163,217,201,0.35); color: var(--teal-dim); }
.vh-gallery-note {
  margin-top: clamp(16px, 3vw, 22px);
  font-size: 0.85rem; color: var(--g3); font-style: italic;
}

/* ── Services cursor-follow detail panel (desktop only) ── */
#svcFollow {
  position: fixed; top: 0; left: 0;
  z-index: 500;
  pointer-events: none;
  display: none;
  align-items: center; gap: 12px;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(163,217,201,0.3);
  border-radius: 100px;
  padding: 10px 20px 10px 14px;
  opacity: 0;
  transform: translate(18px, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#svcFollow.active { opacity: 1; transform: translate(18px, -50%) scale(1); }
#svcFollowNum {
  font-family: var(--f-display); font-weight: 800;
  font-size: 1.3rem; color: var(--teal);
}
#svcFollowTag {
  font-family: var(--f-display); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--white);
}
@media (max-width: 1024px), (hover: none) {
  #svcFollow { display: none !important; }
}

/* ── Magnetic spring cursor (desktop only) ── */
#cursorGlow {
  position: fixed; top: 0; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: width 0.35s cubic-bezier(.16,1,.3,1), height 0.35s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
  will-change: transform;
}
#cursorGlow.visible { opacity: 1; }
#cursorGlow.hover { width: 56px; height: 56px; }
body.custom-cursor-active,
body.custom-cursor-active a,
body.custom-cursor-active button { cursor: none; }
@media (max-width: 1024px), (hover: none), (prefers-reduced-motion: reduce) {
  #cursorGlow { display: none !important; }
}
