/* ==========================================================
   Michael Tinglin — Portfolio
   Themeable via CSS custom properties (set by site.js from
   content.js settings.theme). WCAG 2.1 AAA-minded defaults.
   ========================================================== */

:root {
  /* Fallback theme (Creative + Reliable) — overridden by JS */
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --surface-2: #EEF1F6;
  --ink: #111827;
  --ink-soft: #374151;
  --accent: #1D4ED8;
  --accent-ink: #1E40AF;
  --accent-contrast: #FFFFFF;
  --cta: #F97316;
  --cta-ink: #111827;
  --line: #D7DCE4;
  --focus: #1E40AF;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Spline Sans Mono", "Courier New", monospace;

  --max: 76rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 1rem;
  --dur: 700ms;
  --ease: cubic-bezier(.22, .8, .22, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: transparent;
  position: relative;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
p { max-width: 65ch; }

/* ==========================================================
   AMBIENT BACKGROUND FIELD — layered geometric parallax
   Two nested elements per shape: an outer "orbit" (JS-driven
   scroll parallax + mouse drift) and an inner "shape" (CSS
   idle float/rotate loop). Low opacity + heavy blur keeps text
   contrast intact (values chosen to preserve AAA).
   ========================================================== */
.bg-field {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-orbit {
  position: absolute;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.bg-shape {
  filter: blur(70px);
  opacity: .22;
  animation: bgfloat 16s ease-in-out infinite;
  transform-origin: 50% 50%;
}
.bg-shape.circle { border-radius: 50%; }
.bg-shape.blob   { border-radius: 62% 38% 34% 66% / 58% 32% 68% 42%; }
.bg-shape.hex    { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); filter: blur(58px); }
.bg-shape.tri    { clip-path: polygon(50% 0%, 100% 100%, 0% 100%); filter: blur(60px); }
.bg-shape.diamond{ clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); filter: blur(62px); }
.bg-shape.ring   {
  border-radius: 50%; background: transparent !important;
  border: 2.5px solid var(--accent);
  filter: blur(1px); opacity: .16;
  animation-duration: 22s;
}
.bg-shape.ring.cta { border-color: var(--cta); }

@keyframes bgfloat {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate(2.5%, -3%) scale(1.06) rotate(6deg); }
  66%  { transform: translate(-2%, 2.5%) scale(0.96) rotate(-5deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@media (max-width: 720px) {
  .bg-shape { filter: blur(46px); }
  .bg-shape.hex, .bg-shape.tri, .bg-shape.diamond { filter: blur(40px); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-shape { animation: none; }
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--bg);
  padding: .75rem 1.25rem; border-radius: .5rem;
  font-weight: 700; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; transform: none !important; flex-wrap: wrap; justify-content: center; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-stretch: 112%; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-stretch: 110%; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 2rem; height: 2px;
  background: var(--cta);
}

.lede { font-size: clamp(1.15rem, 1.9vw, 1.35rem); color: var(--ink-soft); }

a { color: var(--accent-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
section.block { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
section.block + section.block { border-top: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 4.25rem; gap: .75rem; flex-wrap: wrap; padding-block: .5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink);
}
.brand-logo { height: 2.1rem; width: auto; display: block; }
.brand .mark {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  background: var(--accent); color: var(--accent-contrast);
  border-radius: .6rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: .95rem;
}
.site-nav { display: flex; gap: .25rem; align-items: center; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 1rem;
  padding: .55rem .85rem; border-radius: .6rem;
}
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { background: var(--surface-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;          /* large text ⇒ AAA at 4.5:1 */
  line-height: 1.2;
  padding: .95rem 1.6rem;
  border-radius: .8rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-cta { background: var(--cta); color: var(--cta-ink); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--accent-contrast); }

.arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow, .work-card a:hover .arrow { transform: translateX(4px); }

/* ---------- Reveal-on-scroll (directional variants) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.reveal[data-anim="left"]  { transform: translateX(-46px); }
.reveal[data-anim="right"] { transform: translateX(46px); }
.reveal[data-anim="scale"] { transform: scale(.92); }
.reveal[data-anim="blur"]  { filter: blur(10px); transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* staggered word-split headings */
.wsplit .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
}
.wsplit .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .7s var(--ease);
}
.wsplit.in .w > span { transform: none; }

/* eyebrow line draws in */
.reveal .eyebrow::before, .eyebrow.reveal::before {
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s .2s var(--ease);
}
.reveal.in .eyebrow::before, .eyebrow.reveal.in::before { transform: scaleX(1); }

/* ==========================================================
   HERO — cinematic full-bleed image, auto-cycling role chapters
   ========================================================== */
.hero { position: relative; }
.hero-sticky {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(5rem, 10vh, 7rem);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 26s var(--ease) infinite alternate;
  filter: saturate(.9);
}
@keyframes kenburns { from { transform: scale(1) } to { transform: scale(1.12) translateY(-1.5%) } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  /* solid enough scrim that white text always clears AAA */
  background:
    linear-gradient(100deg, rgba(7,10,18,.92) 0%, rgba(7,10,18,.82) 45%, rgba(7,10,18,.55) 100%),
    linear-gradient(rgba(7,10,18,.25), rgba(7,10,18,.6));
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.hero-copy .name-kicker {
  font-family: var(--font-mono);
  color: #FDE9D7;
  letter-spacing: .18em; text-transform: uppercase;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 1rem;
}
.hero-copy h1 { margin-bottom: 1.1rem; color: #fff; }
.hero-copy .lede { color: #E6E9F0; }
.hero-cta-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero .btn-ghost { color: #fff; border-color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* load-in choreography */
.hero-copy > * { opacity: 0; transform: translateY(26px); animation: heroin .9s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s }
.hero-copy > *:nth-child(2) { animation-delay: .18s }
.hero-copy > *:nth-child(3) { animation-delay: .32s }
.hero-copy > *:nth-child(4) { animation-delay: .46s }
.role-stage { opacity: 0; animation: heroin 1s .55s var(--ease) forwards; }
@keyframes heroin { to { opacity: 1; transform: none } }

.role-stage { position: relative; min-height: 22rem; }
.role-panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
}
.role-panel.active { opacity: 1; transform: none; }
.role-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 13vw, 11rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--cta);
  letter-spacing: -.04em;
}
.role-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -.02em;
  margin-top: .4rem;
  color: #fff;
}
.role-sub { color: #D8DCE6; font-size: 1.15rem; margin-top: .35rem; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 1;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: #E6E9F0;
  display: flex; align-items: center; gap: .5rem;
}
.scroll-hint::after {
  content: ""; width: 2px; height: 2.2rem;
  background: linear-gradient(#fff, transparent);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top } 55% { transform: scaleY(1); transform-origin: top } 100% { transform: scaleY(0); transform-origin: bottom } }

/* Reduced-motion hero fallback: static, all roles stacked, no ken burns */
@media (prefers-reduced-motion: reduce) {
  .hero-sticky { min-height: 0; }
  .hero-bg img { animation: none; }
  .hero-copy > *, .role-stage { opacity: 1; transform: none; animation: none; }
  .role-stage { min-height: 0; display: grid; gap: 2rem; }
  .role-panel { position: static; opacity: 1; transform: none; }
  .scroll-hint { display: none; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.portrait-frame img { border-radius: var(--radius); }
.exp-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.exp-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.exp-list .org { font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.exp-list .role { color: var(--ink-soft); text-align: right; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .exp-list li { white-space: normal; flex-wrap: wrap; }
  .exp-list .role { text-align: left; }
}
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.chips li {
  font-size: .95rem; font-weight: 600;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  padding: .42rem .85rem; border-radius: 2rem;
}

/* ---------- Work ---------- */
.work-list { display: grid; gap: clamp(2rem, 4vw, 3.5rem); margin-top: 2.5rem; }
.work-card {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px -22px rgba(0,0,0,.28); }
.work-card:nth-child(even) .work-media { order: 2; }
.work-media { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.work-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-index {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .16em;
  color: var(--accent-ink); font-weight: 600;
}
.work-copy h3 { margin: .5rem 0 .4rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.work-cat { color: var(--ink-soft); font-size: .98rem; margin-bottom: .8rem; }
.work-copy .case-link {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: inline-flex; align-items: center; gap: .5rem;
}
.work-copy .case-link::after {
  content: ""; position: absolute; inset: 0; /* whole card clickable */
}

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 2.4rem; }
.step {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.2rem;
  padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.step-n {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; color: transparent;
  -webkit-text-stroke: 1.8px var(--accent);
}
.step h4 { margin: 0 0 .25rem; font-size: 1.2rem; }
.step p { margin: 0; color: var(--ink-soft); }
.process-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.process-photos img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }

/* ---------- Awards ---------- */
.awards-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.awards-count {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 3px var(--cta);
}
.awards-list { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.awards-list li {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem;
  align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.08rem;
}
.awards-list li:first-child { border-top: 1px solid var(--line); }
.awards-list .n {
  font-family: var(--font-mono); font-size: .85rem;
  color: var(--accent-ink); font-weight: 600;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 2.4rem;
}
.gallery-grid img {
  border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover;
  width: 100%; border: 1px solid var(--line);
}
.gallery-grid figure { margin: 0; }

/* ---------- Clients marquee ---------- */
.clients { overflow: hidden; }
.marquee { position: relative; margin-top: 2.6rem; }
.marquee-track {
  display: flex; gap: 4.5rem; align-items: center;
  width: max-content;
  animation: scrollx 53s linear infinite;   /* 46s slowed by ~15% */
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee img {
  height: 4.4rem; width: auto; object-fit: contain;
  transition: transform .3s var(--ease);
}
.marquee img:hover { transform: scale(1.08); }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.contact .lede { margin-inline: auto; }
.contact .loc { font-family: var(--font-mono); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2rem; }
.socials { display: flex; gap: 1rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================
   CASE STUDY PAGE
   ========================================================== */
.case-hero { padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.case-hero .client { font-family: var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; font-size: .85rem; }
.case-hero h1 { max-width: 20ch; }
.case-hero .stat {
  display: inline-flex; flex-direction: column; gap: .2rem;
  border-left: 5px solid var(--cta);
  padding-left: 1.2rem; margin-top: 1.6rem;
}
.case-hero .stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; }
.case-hero .stat .l { color: var(--ink-soft); max-width: 34ch; }

.case-gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 34rem);
  gap: 1.2rem; overflow-x: auto; padding: .5rem var(--pad) 1.4rem;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
}
.case-gallery figure { margin: 0; scroll-snap-align: start; }
.case-gallery img {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); width: 100%;
}
.case-body { max-width: 46rem; margin-inline: auto; padding-block: 3rem 4rem; }
.case-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 2.6rem; }
.case-body ul { padding-left: 1.2rem; }
.case-body li { margin-bottom: .55rem; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.3rem;
}
.stat-card .v { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent-ink); }
.stat-card .l { color: var(--ink-soft); font-size: .98rem; margin-top: .3rem; }
.video-embed { margin: 2.2rem 0; }
.video-embed iframe {
  width: 100%; aspect-ratio: 16/9; border: 0;
  border-radius: var(--radius); background: #000;
}
.case-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line);
  padding-block: 2.4rem 4rem; flex-wrap: wrap;
}

/* ---------- Draft banner ---------- */
.draft-banner {
  background: var(--ink); color: var(--bg);
  text-align: center; font-weight: 700;
  padding: .55rem 1rem; font-size: .95rem;
}
.draft-banner a { color: var(--bg); }

/* ==========================================================
   FULL-WIDTH MEDIA BAND (photo / video)
   ========================================================== */
.band {
  position: relative; overflow: hidden;
  min-height: min(82vh, 44rem);
  display: flex; align-items: flex-end;
  color: #fff;
}
.band-media { position: absolute; inset: -12% 0; z-index: 0; }
.band-media img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(7,10,18,.15) 30%, rgba(7,10,18,.88));
  pointer-events: none;
}
.band-copy {
  position: relative; z-index: 2;
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
  max-width: var(--max); margin-inline: auto;
}
.band-copy .eyebrow { color: #FDE9D7; }
.band-copy .eyebrow::before { background: var(--cta); }
.band-copy h2 { color: #fff; max-width: 18ch; }
.band-copy p { color: #E6E9F0; font-size: 1.1rem; }
.band-play {
  position: absolute; z-index: 2;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(4.5rem, 8vw, 6rem); height: clamp(4.5rem, 8vw, 6rem);
  border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--cta); color: var(--cta-ink);
  display: grid; place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--cta) 55%, transparent);
  animation: pulse 2.4s var(--ease) infinite;
  transition: transform .25s var(--ease);
}
.band-play:hover { transform: translate(-50%, -50%) scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cta) 55%, transparent); }
  70% { box-shadow: 0 0 0 26px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.band-play svg { width: 40%; height: 40%; }
.band.playing .band-play, .band.playing::after, .band.playing .band-copy { display: none; }
.band iframe {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; border: 0; background: #000;
}

/* ==========================================================
   LIGHTBOX (case & gallery images)
   ========================================================== */
.lb-trigger {
  border: 0; padding: 0; background: none; cursor: zoom-in;
  display: block; width: 100%; border-radius: var(--radius);
}
[hidden] { display: none !important; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7, 10, 18, .94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox img {
  max-width: min(92vw, 72rem); max-height: 82vh;
  object-fit: contain; border-radius: .6rem;
  animation: lbin .35s var(--ease);
}
@keyframes lbin { from { opacity: 0; transform: scale(.96) } }
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,.12); color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 50%; width: 3.2rem; height: 3.2rem;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: #E6E9F0; font-family: var(--font-mono); font-size: .9rem; letter-spacing: .12em;
}
.lb-caption {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  color: #fff; max-width: 60ch; text-align: center; padding: 0 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .wsplit .w > span { transform: none !important; }
  .band-media { inset: 0; }
  .band-media img { transform: none !important; }
  .band-play { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid, .about-grid, .process-grid { grid-template-columns: 1fr; }
  .work-card { grid-template-columns: 1fr; }
  .work-card:nth-child(even) .work-media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .role-stage { min-height: 15rem; margin-top: 2.5rem; }
  .hero-sticky { min-height: 0; padding-block: 4rem 5rem; }
  .band { min-height: 60vh; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .process-photos { grid-template-columns: 1fr; }
  .site-nav { gap: .1rem; }
  .site-nav a { padding: .4rem .5rem; font-size: .9rem; }
  .role-num { font-size: clamp(4.5rem, 20vw, 7rem); }
  .band { min-height: 52vh; }
  .lb-prev, .lb-next { width: 2.5rem; height: 2.5rem; font-size: 1.1rem; }
}
