/* ============================================================
   ISRAEL 2.0 - dark cinematic rebuild (REDESIGN-BRIEF.md)
   Canvas: charcoal-green blacks. One accent: acid yellow.
   Type: Instrument Sans (display) + IBM Plex Mono (labels).
   ============================================================ */

:root {
  --ink-0: #0f1311;
  --ink-1: #171c19;
  --ink-2: #212623;
  --line: rgba(245, 243, 239, .12);
  --paper: #f5f3ef;
  --muted: #b7b7b7;
  --acid: #fdeb07;
  --acid-2: #d3c400;
  --sans: "Space Grotesk", Verdana, sans-serif;
  --disp: "Clash Display", "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

::selection { background: var(--acid); color: var(--ink-0); }

.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;
}

.skip-link {
  position: absolute;
  top: -100%; left: 1rem;
  z-index: 2000;
  background: var(--acid);
  color: var(--ink-0);
  padding: .75rem 1.25rem;
  font-family: var(--mono);
  font-size: .8rem;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- cross-page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: .3s; }

body { opacity: 1; transition: opacity .2s ease; }
body.page-exit { opacity: 0; }

/* ---------- type utilities ---------- */
.mono {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--acid);
}

.display {
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: .98;
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  background: var(--acid);
  color: var(--ink-0);
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 1.6rem;
  min-height: 44px;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--acid-2); }
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(6px); }

.btn-ghost {
  background: none;
  color: var(--paper);
  border: 1px solid var(--line);
  transition: border-color .2s ease, color .2s ease;
}
.btn-ghost:hover { background: none; border-color: var(--acid); color: var(--acid); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  background: rgba(15, 19, 17, .92);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.logo i {
  width: 7px; height: 7px;
  background: var(--acid);
  flex: 0 0 auto;
  align-self: center;
}

.nav-links { display: flex; gap: .25rem; }
.nav-links a {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: .8rem 1.1rem;
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: .45rem;
  height: 2px;
  background: var(--acid);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .7rem;
  min-height: 44px;
  cursor: pointer;
}

/* mobile menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink-0);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
}
.menu-overlay.open { display: flex; }
.menu-overlay a {
  font-family: var(--disp);
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--paper);
  padding: .35em 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
}
.menu-overlay.open a {
  animation: menu-in .5s var(--ease) forwards;
}
.menu-overlay a:nth-child(2) { animation-delay: .06s; }
.menu-overlay a:nth-child(3) { animation-delay: .12s; }
.menu-overlay a:nth-child(4) { animation-delay: .18s; }
.menu-overlay a[aria-current="page"] { color: var(--acid); }
@keyframes menu-in { to { opacity: 1; transform: none; } }

/* ============================================================
   HOME: HERO (sticky-scrub 3D totem scene)
   ============================================================ */
.hero { height: 280vh; position: relative; }
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) clamp(2rem, 6vh, 4rem);
}

.hero-bg {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,19,17,.42), rgba(15,19,17,.05) 45%, rgba(15,19,17,.82));
}

/* drifting dust */
.dust {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 30%, rgba(245,243,239,.35), transparent 100%),
    radial-gradient(1px 1px at 34% 62%, rgba(245,243,239,.22), transparent 100%),
    radial-gradient(1.5px 1.5px at 58% 22%, rgba(253,235,7,.25), transparent 100%),
    radial-gradient(1px 1px at 71% 48%, rgba(245,243,239,.28), transparent 100%),
    radial-gradient(1.5px 1.5px at 86% 70%, rgba(245,243,239,.2), transparent 100%),
    radial-gradient(1px 1px at 45% 84%, rgba(253,235,7,.18), transparent 100%);
  animation: dust-drift 26s linear infinite alternate;
  pointer-events: none;
}
@keyframes dust-drift {
  from { transform: translate3d(-1.5%, 1%, 0); }
  to   { transform: translate3d(1.5%, -1.5%, 0); }
}

/* totem stage */
.totem-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  perspective: 1400px;
  pointer-events: none;
}
.totem {
  position: relative;
  width: 300px;
  height: 420px;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-18deg);
}
/* slab cuboid: w 300 (x) x h 84 (y) x d 150 (z) */
.slab {
  position: absolute;
  left: 50%; top: 50%;
  width: 300px; height: 84px;
  margin: -42px 0 0 -150px;
  transform-style: preserve-3d;
}
.slab .face {
  position: absolute;
  top: 0; left: 0;
  width: 300px; height: 84px;
  background: var(--ink-2) url("assets/img/ai/slab-texture.jpg") center / cover;
  background-blend-mode: luminosity;
  border: 1px solid rgba(245, 243, 239, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.slab .face::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(253,235,7,.09), transparent 30%, rgba(0,0,0,.45));
}
.slab .face span {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--paper);
  z-index: 1;
}
.slab .f-front  { transform: translateZ(75px); }
.slab .f-back   { transform: rotateY(180deg) translateZ(75px); }
.slab .f-left,
.slab .f-right  { width: 150px; left: 50%; margin-left: -75px; }
.slab .f-left   { transform: rotateY(-90deg) translateZ(150px); }
.slab .f-right  { transform: rotateY(90deg) translateZ(150px); }
.slab .f-top {
  width: 300px; height: 150px;
  top: 50%; margin-top: -75px;
  transform: rotateX(90deg) translateZ(42px);
  background-color: var(--ink-1);
}
/* initial spread positions; JS scrubs these to the assembled stack */
.slab-1 { transform: translateY(-160px); }
.slab-2 { transform: translateY(0); }
.slab-3 { transform: translateY(160px); }
/* assembled fallback when no JS/GSAP or reduced motion */
.no-motion .slab-1, html.no-gsap .slab-1 { transform: translateY(-88px); }
.no-motion .slab-3, html.no-gsap .slab-3 { transform: translateY(88px); }

/* hero copy */
.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.hero-title {
  font-size: clamp(3rem, 9.5vw, 8.75rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: .95;
  margin: 0;
  text-transform: uppercase;
}
.hero-title .hl-line { display: block; }
.hero-title .ch { display: inline-block; will-change: transform, opacity; }
.hero-title .word { display: inline-block; white-space: nowrap; }

.hero-mono {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  min-height: 1.4em;
}
.hero-mono .caret {
  display: inline-block;
  width: .55em; height: 1.05em;
  background: var(--acid);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}
.avatar-chip {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.avatar-chip img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: clamp(2rem, 6vh, 4rem);
  z-index: 3;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(var(--acid), transparent);
}

/* ============================================================
   DATA STRIP
   ============================================================ */
.data-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink-0);
  position: relative;
  z-index: 4;
}
.datum {
  padding: clamp(1.6rem, 4vh, 2.6rem) var(--pad);
  border-left: 1px solid var(--line);
}
.datum:first-child { border-left: 0; }
.datum b {
  display: block;
  font-family: var(--disp);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}
.datum span {
  display: block;
  margin-top: .55rem;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   HOME: SERVICES (sticky-scrub, three beats)
   ============================================================ */
.svc { height: 340vh; position: relative; }
.svc-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.svc-bgs { position: absolute; inset: 0; }
.svc-bg {
  position: absolute; inset: 0;
  opacity: 0;
}
.svc-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.svc-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,19,17,.9) 0%, rgba(15,19,17,.42) 46%, rgba(15,19,17,.06) 100%);
}
.svc-bg.is-active { opacity: 1; }

.svc-panels {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  align-items: center;
  padding: 0 var(--pad);
}
.svc-panel {
  grid-area: 1 / 1;
  max-width: 56rem;
  opacity: 0;
  visibility: hidden;
}
.svc-panel.is-active { opacity: 1; visibility: visible; }
.svc-num {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--acid);
  display: block;
  margin-bottom: 1.2rem;
}
.svc-title {
  font-family: var(--disp);
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}
.svc-copy {
  max-width: 34em;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.svc-progress {
  position: absolute;
  left: var(--pad); bottom: clamp(1.6rem, 5vh, 3rem);
  z-index: 3;
  display: flex;
  gap: .6rem;
}
.svc-progress i {
  width: 34px; height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.svc-progress i::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-progress i.is-active::after { transform: scaleX(1); }

/* ============================================================
   HOME: THE SCREENING ROOM
   ============================================================ */
.screening { height: 320vh; position: relative; background: var(--ink-0); }
.screening-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.scene-head {
  position: absolute;
  top: clamp(5.5rem, 12vh, 8rem);
  left: var(--pad);
  z-index: 3;
}
.screening-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  text-transform: uppercase;
  margin-top: .2rem;
}
.screening .dust { z-index: 1; opacity: .7; }

.exhibit {
  grid-area: 1 / 1;
  width: min(760px, 78vw);
  perspective: 1200px;
  position: relative;
  z-index: 2;
}
.exhibit-tilt { transform-style: preserve-3d; transition: transform .3s ease-out; }
.exhibit-screen {
  position: relative;
  border: 1px solid rgba(245, 243, 239, .2);
  background: var(--ink-2);
  padding: 10px;
}
/* the exhibit lamp: a thin acid light-line along the top edge */
.exhibit-screen::before {
  content: "";
  position: absolute;
  top: -1px; left: 8%; right: 8%;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 18px 2px rgba(253, 235, 7, .45);
}
.exhibit-media { position: relative; overflow: hidden; aspect-ratio: 16 / 8; }
.exhibit-media img,
.exhibit-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.exhibit-media video { opacity: 0; transition: opacity .45s ease; }
.exhibit.is-live .exhibit-media video { opacity: 1; }

/* floor reflection */
.exhibit-reflect {
  position: absolute;
  top: 100%; left: 10px; right: 10px;
  height: 34%;
  overflow: hidden;
  opacity: .16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(rgba(0,0,0,.8), transparent 85%);
  mask-image: linear-gradient(rgba(0,0,0,.8), transparent 85%);
}
.exhibit-reflect img {
  width: 100%;
  transform: scaleY(-1);
  object-fit: cover;
  object-position: top center;
}

.plaque {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: calc(2rem + 3%);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.plaque .p-title { color: var(--paper); }
.plaque .p-watch {
  color: var(--acid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
}
.plaque .p-watch:hover { color: var(--acid-2); }

.screening-more {
  position: absolute;
  bottom: clamp(1.8rem, 6vh, 3.5rem);
  right: var(--pad);
  z-index: 3;
}

/* ============================================================
   CTA STRIP (every page except contact)
   ============================================================ */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(2.2rem, 6vh, 3.6rem) var(--pad);
  border-top: 1px solid var(--line);
  text-decoration: none;
  background: var(--ink-0);
  transition: background-color .25s ease;
}
.cta-strip:hover { background: var(--ink-1); }
.cta-strip .display {
  font-size: clamp(1.6rem, 4.5vw, 3.4rem);
  text-transform: uppercase;
}
.cta-strip .arr {
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: var(--acid);
  transition: transform .3s var(--ease);
}
.cta-strip:hover .arr { transform: translateX(10px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(1.6rem, 4vh, 2.4rem) var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.footer .mono a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.6rem;
  padding: .4rem 0;
}
.footer .mono a:hover { color: var(--acid); }
.footer .copyright { color: var(--muted); }

/* ============================================================
   PAGE HEADERS (work / about / contact entrance beat)
   ============================================================ */
.page-head {
  position: relative;
  padding: clamp(9rem, 22vh, 13rem) var(--pad) clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}
.page-head-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.page-head-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,19,17,.55), rgba(15,19,17,.1) 45%, var(--ink-0) 97%);
}

/* tall cinematic landing variant: backdrop fills the first viewport,
   words bottom-anchored and always visible on load */
.page-head-tall {
  min-height: 82vh;
  min-height: 82dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-head-tall .page-head-bg::after {
  background: linear-gradient(180deg, rgba(15,19,17,.32), rgba(15,19,17,.08) 45%, var(--ink-0) 97%);
}
.page-sub {
  max-width: 30em;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--paper);
}
.page-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-facts b { color: var(--acid); font-weight: 500; }
.page-head > :not(.page-head-bg) { position: relative; z-index: 1; }
.page-title {
  font-size: clamp(3rem, 10vw, 8.5rem);
  text-transform: uppercase;
}

/* ============================================================
   WORK PAGE
   ============================================================ */
.panels { padding: clamp(2rem, 6vh, 4rem) var(--pad) clamp(4rem, 10vh, 7rem); }
.panel {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  border-top: 1px solid var(--line);
}
.panel:first-child { border-top: 0; }
.panel.alt { grid-template-columns: .65fr 1.35fr; }
.panel.alt .panel-frame { order: 2; }
.panel.alt .panel-info { order: 1; }

.panel-frame {
  position: relative;
  border: 1px solid rgba(245, 243, 239, .2);
  background: var(--ink-2);
  padding: 10px;
  cursor: pointer;
  perspective: 1000px;
}
.panel-frame::before {
  content: "";
  position: absolute;
  top: -1px; left: 8%; right: 8%;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 14px 1px rgba(253, 235, 7, .35);
}
.panel-frame .pf-media { display: block; overflow: hidden; aspect-ratio: 16 / 8.5; position: relative; }
.panel-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .7s var(--ease);
}
.panel-frame:hover img { transform: scale(1.03); }

.panel-info { display: flex; flex-direction: column; gap: 1.1rem; }
.spec-rail {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  display: grid;
  gap: .45rem;
}
.spec-rail b { color: var(--paper); font-weight: 500; }
.spec-rail .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .45rem;
}
.panel-name {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  text-transform: uppercase;
}
.panel-desc { margin: 0; color: var(--muted); max-width: 38em; }
.watch-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acid);
  text-decoration: none;
  padding: .6rem 0;
  cursor: pointer;
  background: none;
  border: 0;
}
.watch-link:hover { color: var(--acid-2); }
.watch-link::before {
  content: "";
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story {
  padding: clamp(2rem, 6vh, 4rem) var(--pad) clamp(4rem, 10vh, 7rem);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.story-side { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.story-side .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* framed atmosphere image, same exhibit language */
.side-frame {
  position: relative;
  width: 100%;
  border: 1px solid rgba(245, 243, 239, .2);
  background: var(--ink-2);
  padding: 8px;
}
.side-frame::before {
  content: "";
  position: absolute;
  top: -1px; left: 10%; right: 10%;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 14px 1px rgba(253, 235, 7, .35);
}
.side-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-list { margin-top: 2.4rem; }
.story-list .eyebrow { margin-bottom: 1.1rem; }
.story-list .spec-rail { max-width: 34em; }
.story-side .mono a { color: var(--acid); text-decoration: none; }
.story-side .mono a:hover { color: var(--acid-2); }
.story-main p { margin: 0 0 1.3rem; color: var(--muted); font-size: 1.08rem; max-width: 38em; }
.story-main .lede {
  color: var(--paper);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.35;
}

/* process (sticky-scrub steps) */
.process { height: 300vh; position: relative; }
.process-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 0 var(--pad);
  border-top: 1px solid var(--line);
}
.process-head { position: absolute; top: clamp(5.5rem, 12vh, 8rem); left: var(--pad); }
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.process-steps { display: grid; }
.process-visuals {
  display: grid;
  max-width: 560px;
  justify-self: end;
  width: 100%;
}
.p-vis {
  grid-area: 1 / 1;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s ease, transform .5s var(--ease);
}
.p-vis.is-active { opacity: 1; transform: none; }
.p-vis img { aspect-ratio: 4 / 3; }
.p-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; max-width: 52rem; }
.p-step.is-active { opacity: 1; visibility: visible; }
.p-step .n {
  font-family: var(--mono);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 243, 239, .3);
  line-height: 1;
  display: block;
}
.p-step h3 {
  font-family: var(--disp);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.015em;
  text-transform: uppercase;
  margin: .4rem 0 1rem;
}
.p-step h3 em { font-style: normal; color: var(--acid); }
.p-step p { margin: 0; color: var(--muted); max-width: 34em; font-size: 1.05rem; }

/* tools rail */
.tools {
  padding: clamp(3rem, 8vh, 5rem) var(--pad);
  border-top: 1px solid var(--line);
}
.tools-rail {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.6rem;
}
.tools-rail span {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: .55rem .9rem;
  transition: color .2s ease, border-color .2s ease;
}
.tools-rail span:hover { color: var(--acid); border-color: var(--acid); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(8rem, 20vh, 12rem) var(--pad) clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}
.contact-hero .page-head-bg img { opacity: .95; object-position: center 62%; }
.contact-lede {
  max-width: 34em;
  margin: 0 0 clamp(1.6rem, 4vh, 2.6rem);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--paper);
}
.contact-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.8rem;
  margin: .4rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-facts b { color: var(--acid); font-weight: 500; }
.contact-hero .page-head-bg::after {
  background: linear-gradient(180deg, rgba(15,19,17,.45), rgba(15,19,17,.08) 50%, rgba(15,19,17,.55) 100%);
}
.contact-hero > :not(.page-head-bg):not(.badge) { position: relative; z-index: 1; }
.contact-wordmark {
  font-size: clamp(4.5rem, 19vw, 17rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: .82;
  text-transform: uppercase;
  margin: 0 0 clamp(2rem, 6vh, 3.5rem);
}
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.4rem 2.5rem;
  margin-bottom: 2rem;
}
.contact-mail {
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--paper);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.contact-mail:hover { color: var(--acid); }
.contact-links { display: flex; gap: 2rem; }
.contact-links a {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: .5rem 0;
}
.contact-links a:hover { color: var(--acid); }

/* spinning badge, dark variant */
.badge {
  position: absolute;
  top: clamp(6rem, 14vh, 9rem);
  right: var(--pad);
  width: clamp(110px, 12vw, 150px);
  aspect-ratio: 1;
  z-index: 2;
}
.badge-ring { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge-ring text {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  fill: var(--paper);
}
.badge-core {
  position: absolute;
  inset: 0; margin: auto;
  width: 36%; height: 36%;
  background: var(--acid);
  color: var(--ink-0);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1rem;
}
@keyframes spin { to { transform: rotate(1turn); } }

/* ============================================================
   404
   ============================================================ */
.lost {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--pad);
  gap: 1.6rem;
}
.lost .display { font-size: clamp(4rem, 16vw, 12rem); text-transform: uppercase; }

/* ============================================================
   LIGHTBOX (dark)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 19, 17, .985);
  color: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(280px, .38fr) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(4.5rem, 10vh, 6rem) var(--pad) clamp(2rem, 6vh, 4rem);
  animation: lb-in .35s var(--ease);
}
@keyframes lb-in { from { opacity: 0; transform: translateY(18px); } }
.lightbox-close {
  position: fixed;
  top: 1.25rem; right: max(1.25rem, var(--pad));
  z-index: 10;
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-1);
  color: var(--paper);
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.lightbox-close:hover { transform: rotate(90deg); background: var(--acid); color: var(--ink-0); }
.lightbox-eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acid);
  margin: 0 0 1rem;
}
.lightbox-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}
.lightbox-role { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; }
.lightbox-role b { color: var(--paper); font-weight: 500; }
.lightbox-desc { margin: 0 0 1.5rem; color: var(--muted); }
.lightbox-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.lightbox-tags li {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: .45rem .7rem;
  color: var(--muted);
}
.lightbox-media video {
  width: 100%;
  height: auto;
  max-height: 78vh;
  background: #000;
  border: 1px solid var(--line);
}

/* ============================================================
   REVEAL PRIMITIVES (JS enhances; visible by default)
   ============================================================ */
.rv { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .lightbox-inner { grid-template-columns: 1fr; align-items: start; }
  .lightbox-media { order: -1; }
  .panel, .panel.alt { grid-template-columns: 1fr; align-items: start; }
  .panel.alt .panel-frame { order: 0; }
  .panel.alt .panel-info { order: 1; }
  .story { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }

  /* no pinning on mobile: scenes become normal blocks */
  .hero { height: auto; }
  .hero-pin {
    position: relative;
    height: auto;
    min-height: 100svh;
    padding-top: 6rem;
    gap: 2rem;
  }
  .totem-stage {
    position: relative;
    inset: auto;
    height: 300px;
    order: -1;
  }
  .totem { transform: scale(.62) rotateX(10deg) rotateY(-18deg); }
  .hero-title { font-size: clamp(2.2rem, 10.5vw, 3.8rem); }
  .scroll-hint { display: none; }

  .data-strip { grid-template-columns: repeat(2, 1fr); }
  .datum:nth-child(3) { border-left: 0; }
  .datum { border-top: 1px solid var(--line); }
  .datum:nth-child(-n+2) { border-top: 0; }

  .svc { height: auto; }
  .svc-pin { position: relative; height: auto; overflow: visible; }
  .svc-bgs { display: none; }
  .svc-panels { display: block; padding: 0; }
  .process-steps { display: block; }
  .svc-panel {
    opacity: 1; visibility: visible;
    padding: 2.6rem var(--pad);
    border-top: 1px solid var(--line);
  }
  .svc-progress { display: none; }

  .screening { height: auto; }
  .screening-pin { position: relative; height: auto; display: block; overflow: visible; padding-bottom: 2rem; }
  .scene-head { position: relative; top: auto; left: auto; padding: 3rem var(--pad) 0; }
  .exhibit { width: auto; margin: 3rem var(--pad) 4.5rem; opacity: 1 !important; visibility: visible !important; }
  .exhibit-reflect { display: none; }
  .plaque { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .screening-more { position: relative; bottom: auto; right: auto; padding: 0 var(--pad) 3rem; }

  .process { height: auto; }
  .process-pin { position: relative; height: auto; overflow: visible; display: block; padding: 0; }
  .process-head { position: relative; top: auto; left: auto; padding: 3rem var(--pad) 0; }
  .process-grid { display: block; }
  .process-visuals { display: none; }
  .p-step { opacity: 1; visibility: visible; padding: 2.2rem var(--pad); border-top: 1px solid var(--line); }
  .p-step:first-of-type { border-top: 0; margin-top: 1.5rem; }

  .contact-links { flex-direction: column; gap: .4rem; }
  /* in-flow on mobile so it can never collide with the content stack
     (relative, not static: the core circle positions against the badge) */
  .badge {
    position: relative;
    top: auto; right: auto;
    align-self: flex-end;
    width: 96px;
    margin: 0 0 1.5rem;
  }
}

@media (max-width: 560px) {
  .hero-cta { align-items: flex-start; flex-direction: column; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   NO-GSAP FALLBACK (CDN blocked: static, fully readable site)
   ============================================================ */
html.no-gsap .hero, html.no-gsap .svc,
html.no-gsap .screening, html.no-gsap .process { height: auto; }
html.no-gsap .hero-pin, html.no-gsap .svc-pin,
html.no-gsap .screening-pin, html.no-gsap .process-pin {
  position: relative; height: auto; overflow: visible;
}
html.no-gsap .hero-pin { min-height: 100vh; padding-top: 6rem; }
html.no-gsap .svc-bgs { display: none; }
html.no-gsap .svc-panels { display: block; padding: 0; }
html.no-gsap .svc-panel {
  opacity: 1; visibility: visible;
  padding: 2.6rem var(--pad);
  border-top: 1px solid var(--line);
}
html.no-gsap .svc-progress { display: none; }
html.no-gsap .screening-pin { display: block; padding-bottom: 2rem; }
html.no-gsap .scene-head { position: relative; top: auto; left: auto; padding: 3rem var(--pad) 0; }
html.no-gsap .exhibit { width: auto; margin: 3rem var(--pad) 4.5rem; }
html.no-gsap .screening-more { position: relative; bottom: auto; right: auto; padding: 0 var(--pad) 3rem; }
html.no-gsap .process-pin { display: block; padding: 0; }
html.no-gsap .process-grid { display: block; }
html.no-gsap .process-steps { display: block; }
html.no-gsap .process-visuals { display: none; }
html.no-gsap .p-step {
  opacity: 1; visibility: visible;
  padding: 2.2rem var(--pad);
  border-top: 1px solid var(--line);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  body.page-exit { opacity: 1; }
  .hero, .svc, .screening, .process { height: auto !important; }
  .hero-pin, .svc-pin, .screening-pin, .process-pin {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }
  .svc-panel, .p-step, .exhibit { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .svc-bgs { display: none; }
  .svc-panels, .process-steps { display: block; }
  .process-grid { display: block; }
  .process-visuals { display: none; }
  .exhibit-media video { display: none; }
  .hero-mono .caret { display: none; }
}
