/* ============================================================
   blu tre / site (production — gamefeel)
   Cinematic gaming-HUD aesthetic
============================================================ */

:root {
  --bg: #050608;
  --bg-2: #0a0d12;
  --surface: #0d1117;
  --surface-2: #131922;
  --fg: #e8edf2;
  --fg-dim: #9aa4b2;
  --muted: #4a5566;
  --line: rgba(232, 237, 242, 0.08);
  --line-strong: rgba(232, 237, 242, 0.18);
  --accent: #5ef3ff;
  --accent-2: #a78bff;
  --warn: #ff8a3d;
  --shadow-glow: 0 0 24px rgba(94, 243, 255, 0.35), 0 0 60px rgba(94, 243, 255, 0.12);

  --gutter: clamp(1.25rem, 3.5vw, 2.75rem);
  --section-pad: clamp(4rem, 10vw, 8rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* While the preloader is on screen, fully lock the page so wheel/touch/keys
   don't scroll the underlying content. JS removes this class once the
   preloader fades out. */
html.is-loading,
body.is-loading {
  overflow: hidden;
  height: 100%;
  touch-action: none;
  overscroll-behavior: none;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

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

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }

.accent { color: var(--accent); }

/* ============================================================
   PRELOADER
============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
}
.preloader__bracket {
  position: absolute;
  width: 48px; height: 48px;
  border: 1px solid var(--accent);
  opacity: 0.7;
}
.preloader__bracket--tl { top: 32px; left: 32px; border-right: none; border-bottom: none; }
.preloader__bracket--tr { top: 32px; right: 32px; border-left: none; border-bottom: none; }
.preloader__bracket--bl { bottom: 32px; left: 32px; border-right: none; border-top: none; }
.preloader__bracket--br { bottom: 32px; right: 32px; border-left: none; border-top: none; }
.preloader__glyph { width: 160px; height: auto; animation: float 3s ease-in-out infinite; }
.preloader__meta { display: flex; gap: 2rem; align-items: baseline; color: var(--accent); }
.preloader__pct { font-size: 1.6rem; font-weight: 500; min-width: 4ch; text-align: right; }
.preloader__bar {
  width: min(360px, 60vw); height: 1px;
  background: var(--line); position: relative;
}
.preloader__bar-fill {
  position: absolute; inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-glow);
}
.preloader__status { color: var(--fg-dim); font-size: 0.65rem; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================================
   GLOBAL HUD OVERLAY
============================================================ */
.hud {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
}
.hud__corner {
  position: absolute;
  display: flex; flex-direction: column; gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.12em;
  color: var(--accent); opacity: 0.85;
  text-shadow: 0 0 8px rgba(94, 243, 255, 0.35);
  /* Backdrop chip keeps the fixed HUD labels legible and prevents them
     from visually clashing with page content while scrolling. */
  padding: 5px 9px;
  background: rgba(6, 9, 14, 0.5);
  border: 1px solid rgba(94, 243, 255, 0.12);
  border-radius: 4px;
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}
.hud__corner--tl { top: 148px; left: var(--gutter); }
.hud__corner--tr { top: 148px; right: var(--gutter); align-items: flex-end; }
.hud__corner--bl { bottom: 28px; left: var(--gutter); }
.hud__corner--br { bottom: 28px; right: var(--gutter); align-items: flex-end; }

/* HUD chips (chapter/time, FRAME, lat/lon) sit over page content, so fade
   them out once past the hero to avoid overlap. Only the bottom-right
   SCROLL/SIG chip stays (it fades at the footer instead — see below). */
.hud__corner--tl, .hud__corner--tr, .hud__corner--bl { transition: opacity 0.4s ease, visibility 0.4s ease; }
.hud.is-past-hero .hud__corner--tl,
.hud.is-past-hero .hud__corner--tr,
.hud.is-past-hero .hud__corner--bl { opacity: 0; visibility: hidden; }

/* At the end of the scroll the footer shows its own FRAME readout in the
   bottom-right, so fade the fixed bottom-right HUD chip out to avoid overlap. */
.hud__corner--br { transition: opacity 0.4s ease, visibility 0.4s ease; }
.hud.is-at-footer .hud__corner--br { opacity: 0; visibility: hidden; }

/* Standalone pages (careers/about/contact/story) carry their own page-header
   chrome ([ PAGE / X ] + PG.0x LOADED) in the same corners as the HUD, and
   have no full-screen hero to house it. Hide the redundant top/left HUD chips
   there so they don't overlap the header. The bottom-right SCROLL/SIG chip
   stays (it fades at the footer, same as on the home page). */
body:is(.is-page-about, .is-page-careers, .is-page-contact, .is-page-story) :is(
  .hud__corner--tl, .hud__corner--tr, .hud__corner--bl) { display: none; }

.hud__label { display: block; }
.hud__time, .hud__frame { font-size: 0.78rem; font-weight: 500; }

/* Chapter switch flicker (top-left HUD) */
#hudChapter.is-switch { animation: hud-switch 0.32s steps(2) 1; }
@keyframes hud-switch {
  0%   { opacity: 0.15; transform: translateX(-2px); filter: brightness(1.8); }
  40%  { opacity: 1;    transform: translateX(1px); }
  60%  { opacity: 0.35; transform: translateX(-1px); }
  100% { opacity: 1;    transform: translateX(0); filter: brightness(1); }
}

.hud__scanlines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,0.015) 3px,
    transparent 4px
  );
  mix-blend-mode: screen;
}
.hud__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='0.4'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.18;
  animation: grainShift 0.8s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -1%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0,0); }
}

/* ============================================================
   CUSTOM CURSOR
============================================================ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 200;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor__line {
  position: absolute;
  background: var(--accent);
  top: 50%; left: 50%;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(94,243,255,0.6);
  opacity: 0.85;
}
.cursor__line--h {
  height: 1px;
  width: 28px;
  transform: translate(-50%, -50%);
  transition: width 0.12s ease;
}
.cursor__line--v {
  width: 1px;
  height: 28px;
  transform: translate(-50%, -50%);
  transition: height 0.12s ease;
}
.cursor.is-hover .cursor__line--h { background: var(--accent-2); box-shadow: 0 0 6px rgba(167,139,255,0.6); }
.cursor.is-hover .cursor__line--v { background: var(--accent-2); box-shadow: 0 0 6px rgba(167,139,255,0.6); }
.cursor__ring {
  width: 22px; height: 22px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.cursor__dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cursor.is-hover .cursor__ring {
  transform: translate(-50%, -50%) scale(1.7);
  border-color: var(--accent-2);
}
@media (hover: none) { .cursor { display: none; } body { cursor: auto; } }

/* ============================================================
   PARTICLES
============================================================ */
.particles {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
}
.particles canvas { position: absolute !important; inset: 0; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--gutter);
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(5,6,8,0.7), rgba(5,6,8,0));
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.header.is-scrolled {
  background: rgba(5,6,8,0.85);
  border-bottom-color: var(--line);
}
.header__logo { display: inline-flex; align-items: center; }
.header__logo img {
  height: clamp(64px, 7.5vw, 96px);
  width: auto;
  filter: drop-shadow(0 0 12px rgba(94, 243, 255, 0.25));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.header__logo:hover img {
  filter: drop-shadow(0 0 18px rgba(94, 243, 255, 0.55));
  transform: translateY(-1px);
}
.header.is-scrolled .header__logo img { height: clamp(52px, 6vw, 76px); }
.header__nav { display: flex; gap: 1.1rem; flex-wrap: nowrap; }
.header__nav a {
  position: relative; opacity: 0.75; transition: opacity 0.2s;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.header__nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s ease;
}
.header__nav a:hover { opacity: 1; }
.header__nav a:hover::after { transform: scaleX(1); }
@media (max-width: 1280px) {
  .header__nav { gap: 0.85rem; }
  .header__nav a { font-size: 0.62rem; letter-spacing: 0.06em; }
}

.header__cta {
  border: 1px solid var(--line-strong);
  padding: 0.65rem 1.1rem;
  color: var(--accent);
  position: relative;
  transition: all 0.2s ease;
}
.header__cta:hover {
  border-color: var(--accent);
  background: rgba(94, 243, 255, 0.06);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 1080px) {
  .header__nav { display: none; }
}

/* Logo leads on the left; CTA + hamburger grouped on the right */
.header__right { display: flex; align-items: center; gap: 1rem; }

/* ============================================================
   HAMBURGER (HUD-bracketed three-bar)
============================================================ */
.menu-toggle {
  --bar: 18px;
  position: relative;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  cursor: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.menu-toggle::before,
.menu-toggle::after {
  /* corner brackets — match the rest of the HUD vocabulary */
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border: 1px solid var(--accent);
  opacity: 0.7;
  pointer-events: none;
}
.menu-toggle::before { top: -3px; left: -3px; border-right: none; border-bottom: none; }
.menu-toggle::after  { bottom: -3px; right: -3px; border-left: none; border-top: none; }
.menu-toggle:hover {
  border-color: var(--accent);
  background: rgba(94, 243, 255, 0.06);
  box-shadow: var(--shadow-glow);
}
.menu-toggle__bars {
  position: relative;
  width: var(--bar); height: 12px;
  display: block;
}
.menu-toggle__bars span {
  position: absolute; left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(94, 243, 255, 0.55);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease, background 0.2s ease;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; width: 70%; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle.is-open .menu-toggle__bars span { background: var(--accent-2); box-shadow: 0 0 6px rgba(167,139,255,0.6); }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ============================================================
   MENU OVERLAY
============================================================ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 95;
  pointer-events: none;
  visibility: hidden;
}
.menu-overlay.is-open { pointer-events: auto; visibility: visible; }

.menu-overlay__backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.menu-overlay.is-open .menu-overlay__backdrop { opacity: 1; }

.menu-overlay__panel {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: min(520px, 92vw);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.96), rgba(5, 6, 8, 0.96));
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.6);
  display: flex; flex-direction: column;
  padding: clamp(4rem, 8vh, 6rem) clamp(1.75rem, 5vw, 3.5rem) 2rem;
  transform: translateX(105%);
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.2, 1);
  overflow: hidden;
}
.menu-overlay.is-open .menu-overlay__panel { transform: translateX(0); }

/* Panel HUD brackets */
.menu-overlay__bracket {
  position: absolute;
  width: 40px; height: 40px;
  border: 1px solid var(--accent);
  opacity: 0.6;
  pointer-events: none;
}
.menu-overlay__bracket--tl { top: 18px; left: 18px; border-right: none; border-bottom: none; }
.menu-overlay__bracket--tr { top: 18px; right: 18px; border-left: none; border-bottom: none; }
.menu-overlay__bracket--bl { bottom: 18px; left: 18px; border-right: none; border-top: none; }
.menu-overlay__bracket--br { bottom: 18px; right: 18px; border-left: none; border-top: none; }

.menu-overlay__scanlines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,0.018) 3px,
    transparent 4px
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.menu-overlay__chrome {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--accent);
  margin-bottom: clamp(2.5rem, 8vh, 5rem);
}
.menu-overlay__chrome .mono { opacity: 0.85; }

.menu-overlay__close {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-size: 1.1rem; line-height: 1;
  cursor: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.menu-overlay__close:hover {
  border-color: var(--accent);
  background: rgba(94, 243, 255, 0.06);
  box-shadow: var(--shadow-glow);
}

.menu-overlay__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.menu-overlay__item {
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.menu-overlay__item:last-child { border-bottom: 1px solid var(--line); }
.menu-overlay.is-open .menu-overlay__item { opacity: 1; transform: translateX(0); }
.menu-overlay.is-open .menu-overlay__item:nth-child(1) { transition-delay: 0.18s; }
.menu-overlay.is-open .menu-overlay__item:nth-child(2) { transition-delay: 0.26s; }
.menu-overlay.is-open .menu-overlay__item:nth-child(3) { transition-delay: 0.34s; }
.menu-overlay.is-open .menu-overlay__item:nth-child(4) { transition-delay: 0.42s; }
.menu-overlay.is-open .menu-overlay__item:nth-child(5) { transition-delay: 0.50s; }
.menu-overlay.is-open .menu-overlay__item:nth-child(6) { transition-delay: 0.58s; }

.menu-overlay__link {
  position: relative;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fg);
  transition: color 0.2s ease, padding-left 0.3s ease;
}
.menu-overlay__link::before {
  content: '';
  position: absolute;
  left: -2rem; top: 50%;
  width: 1.25rem; height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, left 0.3s ease;
}
.menu-overlay__link:hover {
  color: var(--accent);
  padding-left: 1.75rem;
  text-shadow: 0 0 18px rgba(94,243,255,0.45);
}
.menu-overlay__link:hover::before { opacity: 1; left: 0.25rem; }
.menu-overlay__link[aria-current="page"] {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(94,243,255,0.35);
}
.menu-overlay__link[aria-current="page"]::before {
  opacity: 1; left: 0.25rem;
}

.menu-overlay__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  align-self: center;
  opacity: 0.85;
}

.menu-overlay__foot {
  margin-top: auto;
  padding-top: 2rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  color: var(--fg-dim);
}
.menu-overlay__foot .mono { color: var(--accent); opacity: 0.75; }
.menu-overlay__foot a:hover { color: var(--accent); }

/* ============================================================
   SECTION COMMON
============================================================ */
.section__num {
  color: var(--accent); display: block; margin-bottom: 0.5rem;
}
.section__head {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.section__head em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__head--small {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  max-width: 28ch;
}
.section__lead {
  margin-top: 1.25rem;
  color: var(--fg-dim);
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}
.section__header { margin-bottom: 3rem; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: saturate(0.8) contrast(1.05) brightness(0.55);
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(94,243,255,0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,6,8,0.65) 0%, rgba(5,6,8,0.8) 100%);
  pointer-events: none;
}

.hero__content { max-width: 1100px; }

.hero__tag {
  display: inline-block;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero__title .word {
  display: inline-block;
  margin-right: 0.4rem;
  position: relative;
  overflow: hidden;
}
.hero__title .word > span,
.hero__title .word::before { display: inline-block; }
.hero__title .word--accent {
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--fg-dim);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero__sub strong { color: var(--fg); font-weight: 500; }

.hero__cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.hero__bottom {
  position: absolute; left: var(--gutter); bottom: 80px;
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--fg-dim);
}
.hero__scroll-icon {
  width: 22px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-icon span {
  position: absolute; left: 50%; top: 6px;
  width: 2px; height: 8px;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes scrollDot {
  0%   { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* ============================================================
   BUTTON
============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.25s ease;
  isolation: isolate;
}
.btn em { font-style: normal; transition: transform 0.25s ease; }
.btn:hover em { transform: translateX(4px); }
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transform: translateY(101%);
  transition: transform 0.35s cubic-bezier(0.65,0,0.35,1);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--accent); }
.btn:hover::before { transform: translateY(0); }

.btn--primary {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { color: var(--bg); }
.btn--ghost { color: var(--fg); }
.btn--big { padding: 1.2rem 2.2rem; font-size: 0.85rem; }

/* ============================================================
   SNAPSHOT
============================================================ */
.snapshot {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}
.snapshot .section__head { max-width: 22ch; }
.snapshot .section__head .accent { color: var(--accent); }
.snapshot__sub {
  margin-top: 1.5rem;
  max-width: 60ch;
  color: var(--fg-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}
.snapshot__sub .accent { color: var(--accent); }

.marquee {
  margin-top: 4rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex; gap: 2.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  animation: marquee 28s linear infinite;
  color: var(--fg-dim);
}
.marquee__track span:nth-child(odd):hover { color: var(--accent); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}
.services__grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--surface);
  padding: 2.25rem 1.75rem;
  position: relative;
  min-height: 320px;
  display: flex; flex-direction: column;
  gap: 1rem;
  transform-style: preserve-3d;
  transition: background 0.3s ease;
  cursor: none;
}
.card:hover { background: var(--surface-2); }
.card__chrome {
  position: absolute; inset: 8px;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--accent) 0 1px, transparent 1px) top left/14px 14px no-repeat,
    linear-gradient(225deg, var(--accent) 0 1px, transparent 1px) top right/14px 14px no-repeat,
    linear-gradient(45deg,  var(--accent) 0 1px, transparent 1px) bottom left/14px 14px no-repeat,
    linear-gradient(315deg, var(--accent) 0 1px, transparent 1px) bottom right/14px 14px no-repeat;
  opacity: 0; transition: opacity 0.25s ease;
}
.card:hover .card__chrome { opacity: 0.9; }
.card__tag { color: var(--accent); }
.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.card p { color: var(--fg-dim); font-size: 0.95rem; flex: 1; }
.card__arrow {
  font-size: 1.2rem; color: var(--accent);
  transition: transform 0.25s ease;
}
.card:hover .card__arrow { transform: translateX(6px); }
.card--feature {
  background: linear-gradient(135deg, rgba(94,243,255,0.04), rgba(167,139,255,0.04));
  grid-column: span 1;
}
@media (min-width: 900px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .card--feature { grid-column: span 1; grid-row: span 2; min-height: 100%; }
}

/* ============================================================
   STUDIO FLOOR — slideshow
============================================================ */
.gallery {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}
.gallery__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.gallery > .section__header {
  margin-bottom: 1.5rem;
}
.gallery__viewer {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  isolation: isolate;
}
/* On laptop+ — heading on left, viewer on right (everything visible together) */
@media (min-width: 1000px) {
  .gallery {
    padding: clamp(3rem, 5vw, 4.5rem) var(--gutter);
  }
  .gallery__layout {
    grid-template-columns: minmax(260px, 1fr) 2.2fr;
    gap: 3rem;
  }
  .gallery > .section__header {
    margin: 0;
    align-self: center;
  }
  .gallery__viewer {
    aspect-ratio: 16 / 10;
    max-height: 72vh;
  }
}
@media (max-width: 600px) {
  .gallery__viewer { aspect-ratio: 4 / 3; max-height: 60vh; }
}

/* Corner brackets */
.gallery__bracket {
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--accent);
  z-index: 5;
  pointer-events: none;
}
.gallery__bracket--tl { top: 14px;    left: 14px;   border-right: none; border-bottom: none; }
.gallery__bracket--tr { top: 14px;    right: 14px;  border-left: none;  border-bottom: none; }
.gallery__bracket--bl { bottom: 14px; left: 14px;   border-right: none; border-top: none; }
.gallery__bracket--br { bottom: 14px; right: 14px;  border-left: none;  border-top: none; }

/* HUD chrome bar */
.gallery__chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--fg-dim);
  background: linear-gradient(180deg, rgba(5,6,8,0.85), rgba(5,6,8,0));
  z-index: 6;
  pointer-events: none;
}
.gallery__chrome em { color: var(--accent); font-style: normal; }
.gallery__rec {
  color: var(--warn);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.gallery__rec-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 8px var(--warn);
  animation: galleryRecBlink 1.4s ease-in-out infinite;
}
@keyframes galleryRecBlink {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.8); }
}

/* Slides */
.gallery__slides {
  position: absolute; inset: 0;
  z-index: 1;
}
.gallery__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  filter: saturate(0.85) contrast(1.05) brightness(0.9);
}
.gallery__slide.is-active {
  opacity: 1;
  z-index: 2;
  animation: kenBurns 7s ease-in-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1)    translate(0,0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}

/* Scanlines + vignette overlay */
.gallery__scanlines {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(5,6,8,0.75) 100%);
  mix-blend-mode: multiply;
}

/* Progress bar */
.gallery__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(94,243,255,0.12);
  z-index: 6;
}
.gallery__progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 8px var(--accent);
  transition: width 0.1s linear;
}

/* Nav arrows */
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(5,6,8,0.6);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: inherit;
  font-size: 1.1rem;
  cursor: none;
  z-index: 7;
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.gallery__nav:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-50%) scale(1.08);
}
.gallery__nav--prev { left: 18px; }
.gallery__nav--next { right: 18px; }

.gallery__media { min-width: 0; }

/* Thumbnails */
.gallery__thumbs {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-top: 0.85rem;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.gallery__thumbs::-webkit-scrollbar { height: 6px; }
.gallery__thumbs::-webkit-scrollbar-thumb { background: var(--accent); }
.gallery__thumbs li {
  flex: 0 0 auto;
  width: 84px; height: 50px;
  position: relative;
  cursor: none;
  opacity: 0.4;
  border: 1px solid var(--line);
  transition: opacity 0.25s, border-color 0.25s, transform 0.25s;
  overflow: hidden;
}
.gallery__thumbs li img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery__thumbs li:hover {
  opacity: 0.8;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.gallery__thumbs li.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(94,243,255,0.4);
}
@media (max-width: 600px) {
  .gallery__thumbs li { width: 72px; height: 42px; }
  .gallery__bracket   { width: 18px; height: 18px; }
  .gallery__chrome    { font-size: 0.55rem; gap: 0.8rem; padding: 0.6rem 0.9rem; }
}

/* ============================================================
   CINEMATIC SHOWCASE
============================================================ */
.showcase {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}
.showcase__chrome {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.12em;
}
.showcase__chrome > span:first-child { color: var(--warn); }

.showcase__video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.showcase__video::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.18) 3px 4px),
    radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.5) 100%);
  pointer-events: none; mix-blend-mode: multiply;
}
.showcase__video iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  filter: saturate(0.85) contrast(1.05);
}

/* Video placeholder — used while the YouTube embed is disabled */
.video-placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(94,243,255,0.06) 0%, transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(94,243,255,0.05) 3px 4px),
    linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  overflow: hidden;
}
.video-placeholder__bracket {
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--accent);
  opacity: 0.7;
}
.video-placeholder__bracket--tl { top: 18px;    left: 18px;    border-right: none; border-bottom: none; }
.video-placeholder__bracket--tr { top: 18px;    right: 18px;   border-left: none;  border-bottom: none; }
.video-placeholder__bracket--bl { bottom: 18px; left: 18px;    border-right: none; border-top: none; }
.video-placeholder__bracket--br { bottom: 18px; right: 18px;   border-left: none;  border-top: none; }
.video-placeholder__rec {
  position: absolute;
  top: 22px; right: 60px;
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--warn);
  font-size: 0.65rem; letter-spacing: 0.18em;
}
.video-placeholder__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 8px var(--warn);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
.video-placeholder__core {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.video-placeholder__label {
  color: var(--accent);
  font-size: 0.7rem; letter-spacing: 0.2em;
}
.video-placeholder__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--fg) 0%, var(--accent) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.video-placeholder__sub {
  color: var(--fg-dim);
  font-size: 0.7rem; letter-spacing: 0.22em;
}
.video-placeholder__bars {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 4px;
  height: 24px;
}
.video-placeholder__bars span {
  display: block; width: 4px;
  background: var(--accent);
  opacity: 0.5;
  animation: bars 1.8s ease-in-out infinite;
}
.video-placeholder__bars span:nth-child(1) { animation-delay: 0s;    height: 40%; }
.video-placeholder__bars span:nth-child(2) { animation-delay: 0.15s; height: 80%; }
.video-placeholder__bars span:nth-child(3) { animation-delay: 0.3s;  height: 55%; }
.video-placeholder__bars span:nth-child(4) { animation-delay: 0.45s; height: 90%; }
.video-placeholder__bars span:nth-child(5) { animation-delay: 0.6s;  height: 35%; }
@keyframes bars {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 0.9; }
}
.showcase__caption {
  margin-top: 3rem;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: end;
}
.showcase__caption .section__head .accent { color: var(--accent); }
.showcase__caption p { color: var(--fg-dim); max-width: 52ch; }
@media (min-width: 900px) {
  .showcase__caption { grid-template-columns: 1.2fr 1fr; }
}

/* ============================================================
   STATS
============================================================ */
.stats {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}
.stats__grid {
  margin-top: 3rem;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.stat {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
  position: relative;
}
.stat::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--accent);
  box-shadow: var(--shadow-glow);
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
  background: linear-gradient(180deg, var(--fg) 0%, var(--accent) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__plus {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--accent);
  margin-left: 0.1em;
}
.stat__label {
  display: block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-size: 0.7rem;
}
.stat__sub {
  display: block;
  margin-top: 0.5rem;
  color: var(--fg-dim);
  font-size: 0.9rem;
}

/* ============================================================
   PROCESS
============================================================ */
.process {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}
.process__list {
  list-style: none;
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--surface);
  padding: 2.25rem 1.75rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 100px 1fr;
  align-items: start;
  transition: background 0.25s ease;
}
.step:hover { background: var(--surface-2); }
.step__num {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.4rem 0.5rem;
  text-align: center;
  align-self: start;
}
.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  grid-column: 2;
}
.step p { color: var(--fg-dim); max-width: 60ch; grid-column: 2; }
@media (min-width: 900px) {
  .process__list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   GLOBE / HUBS
============================================================ */
.globe {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}
.globe__wrap {
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .globe__wrap { grid-template-columns: 1.2fr 0.8fr; }
}
.globe__canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  display: block;
  margin: 0 auto;
}
.globe__hubs {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.globe__hubs li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  transition: all 0.25s ease;
}
.globe__hubs li:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateX(6px);
}
.globe__dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  position: relative;
}
.globe__dot::after {
  content: '';
  position: absolute; inset: -4px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulse 2s ease-out infinite;
}
.globe__dot--hq { background: var(--warn); box-shadow: 0 0 12px var(--warn); }
.globe__dot--hq::after { border-color: var(--warn); }
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ============================================================
   CLIENTS — brand roster
============================================================ */
.clients {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}
.clients__marquee {
  margin-top: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients__track {
  list-style: none;
  display: flex;
  width: max-content;
  gap: 1px;
  background: var(--line);
  animation: clients-scroll 34s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clients__cell {
  position: relative;
  /* Width is set from JS (viewport / 5) so at most 5 brands show at once. */
  flex: 0 0 var(--client-cell-w, 20vw);
  background: var(--surface);
  aspect-ratio: 5 / 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.85rem;
  padding: 1.4rem 1rem 1rem;
  overflow: hidden;
  transition: background 0.3s ease;
  cursor: none;
}
.clients__cell::before {
  /* HUD chrome dots in corners — appear on hover */
  content: '';
  position: absolute; inset: 8px;
  pointer-events: none;
  background:
    linear-gradient(135deg, var(--accent) 0 1px, transparent 1px) top left/12px 12px no-repeat,
    linear-gradient(225deg, var(--accent) 0 1px, transparent 1px) top right/12px 12px no-repeat,
    linear-gradient(45deg,  var(--accent) 0 1px, transparent 1px) bottom left/12px 12px no-repeat,
    linear-gradient(315deg, var(--accent) 0 1px, transparent 1px) bottom right/12px 12px no-repeat;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.clients__cell:hover { background: var(--surface-2); }
.clients__cell:hover::before { opacity: 0.85; }
.clients__bracket {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.clients__bracket--tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.clients__bracket--br { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.clients__cell:hover .clients__bracket { opacity: 0.9; }
.clients__cell:hover .clients__bracket--tl { transform: translate(-2px, -2px); }
.clients__cell:hover .clients__bracket--br { transform: translate(2px, 2px); }
.clients__cell img {
  width: auto;
  max-width: 82%;
  max-height: 72%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.clients__cell:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(94, 243, 255, 0.45));
}
.clients__foot {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--fg-dim);
  opacity: 0.7;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
}
@media (max-width: 720px) {
  .clients__cell { aspect-ratio: 4 / 3; padding: 1rem; }
  .clients__cell img { max-width: 82%; max-height: 70%; }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; }
}
@media (max-width: 420px) {
  .clients__grid { grid-template-columns: 1fr 1fr; }
  .clients__foot { font-size: 0.58rem; letter-spacing: 0.18em; }
}

/* ============================================================
   WHY
============================================================ */
.why {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}
.why__list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0;
}
.why__list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
  transition: padding 0.3s ease;
  cursor: none;
}
.why__list li:last-child { border-bottom: 1px solid var(--line); }
.why__list li:hover { padding-left: 1.5rem; }
.why__list li:hover h3 { color: var(--accent); }
.why__list li:hover .mono { color: var(--warn); }
.why__list .mono { color: var(--fg-dim); transition: color 0.25s; }
.why__list h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding: var(--section-pad) var(--gutter);
  isolation: isolate;
}
.contact__video {
  position: absolute; inset: 0; z-index: -2;
  pointer-events: none; overflow: hidden;
}
.contact__video iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 177.77vh; height: 100vh;
  min-width: 100vw; min-height: 56.25vw;
  filter: saturate(0.5) contrast(1.1) brightness(0.35);
}
.contact__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(167,139,255,0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(5,6,8,0.7) 0%, rgba(5,6,8,0.92) 100%);
}
.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.contact__head {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 1rem auto 1.5rem;
  max-width: 18ch;
}
.contact__head .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.contact__kicker {
  display: inline-block;
  color: var(--accent);
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
}
.contact__sub {
  color: var(--fg-dim);
  margin-bottom: 2.5rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.contact__tagline {
  margin-top: 2rem;
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.contact__tagline strong {
  color: var(--fg);
  font-weight: 500;
}
.contact__meta {
  margin-top: 4rem;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.contact__label {
  display: block; margin-bottom: 0.6rem; color: var(--accent);
}
.contact__meta p { color: var(--fg-dim); font-size: 0.92rem; line-height: 1.6; }
.contact__meta a:hover { color: var(--accent); }
.contact__hq-link {
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s ease;
}
.contact__hq-link:hover { color: var(--accent); }

/* TEL list with quick call / WhatsApp reach icons */
.contact__tel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.contact__tel-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.contact__tel-num { color: var(--fg-dim); font-size: 0.92rem; white-space: nowrap; }
.contact__reach { display: inline-flex; gap: 0.4rem; flex-shrink: 0; }
.reach-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid var(--line-strong);
  color: var(--fg-dim);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.reach-ico:hover {
  color: var(--accent); border-color: var(--accent);
  box-shadow: var(--shadow-glow); transform: translateY(-1px);
}
.reach-ico--wa:hover { color: #25d366; border-color: #25d366; box-shadow: 0 0 14px rgba(37,211,102,0.45); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--fg-dim);
}
.footer__row span:nth-child(2) { color: var(--accent); }

/* Social row */
.footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
}
.footer__social-label {
  color: var(--fg-dim);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  margin-right: 0.4rem;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line-strong);
  color: var(--fg-dim);
  background: rgba(255,255,255,0.015);
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
  cursor: none;
  position: relative;
}
.social svg { display: block; }
.social__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.social:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(94,243,255,0.06);
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(94,243,255,0.25), 0 0 28px rgba(94,243,255,0.08);
}

/* ============================================================
   GLITCH HOVER (data-glitch buttons)
============================================================ */
.btn[data-glitch]:hover span {
  animation: glitch 0.4s steps(2) 1;
}
@keyframes glitch {
  0%   { transform: translate(0); }
  20%  { transform: translate(-2px, 1px); }
  40%  { transform: translate(2px, -1px); }
  60%  { transform: translate(-1px, 2px); }
  80%  { transform: translate(1px, -2px); }
  100% { transform: translate(0); }
}

/* ============================================================
   ABOUT US
============================================================ */
.about {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.about__meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(94,243,255,0.04), rgba(167,139,255,0.02));
  position: relative;
}
.about__meta::before,
.about__meta::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid var(--accent);
}
.about__meta::before { top: -1px;    left: -1px;   border-right: none; border-bottom: none; }
.about__meta::after  { bottom: -1px; right: -1px;  border-left: none;  border-top: none; }
.about__kicker {
  color: var(--accent);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}
.about__tags {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}
.about__tags li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--line);
}
.about__tags li > span:first-child { color: var(--fg-dim); }
.about__tags li > span:last-child  { color: var(--accent); }
.about__body { display: grid; gap: 1.4rem; }
.about__lede {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.3;
  color: var(--fg);
  font-weight: 300;
}
.about__lede strong { font-weight: 600; }
.about__copy {
  color: var(--fg-dim);
  max-width: 56ch;
  line-height: 1.7;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(260px, 0.9fr) 1.6fr; gap: 3rem; }
}

/* Vision / Strength / Approach pillars */
.pillars {
  margin-top: 4rem;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  position: relative;
  background: var(--surface);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
  overflow: hidden;
  transition: background 0.3s ease;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--accent);
  box-shadow: var(--shadow-glow);
  opacity: 0.7;
}
.pillar:hover { background: var(--surface-2); }
.pillar__bracket {
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--accent);
  opacity: 0.55;
}
.pillar__bracket--tl { top: 10px;    left: 10px;    border-right: none; border-bottom: none; }
.pillar__bracket--br { bottom: 10px; right: 10px;   border-left: none;  border-top: none; }
.pillar__tag {
  color: var(--accent);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
}
.pillar__head {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 22ch;
}
.pillar__head .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
}
.pillar__copy {
  margin-top: auto;
  color: var(--fg-dim);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 38ch;
}

/* ============================================================
   CAREERS
============================================================ */
.careers {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
}
.careers__grid {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px)  { .careers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .careers__grid { grid-template-columns: repeat(3, 1fr); } }

.role {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: none;
  overflow: hidden;
}
.role:hover {
  background: var(--surface, #0a0d12);
  border-color: var(--accent);
}
.role__chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, rgba(94,243,255,0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.role:hover .role__chrome { opacity: 1; }
.role__tag {
  color: var(--accent);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
}
.role h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--fg);
}
.role p {
  color: var(--fg-dim);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}
.role__meta {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}
.role__meta em { color: var(--warn); font-style: normal; }
.role__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  margin-top: auto;
  text-decoration: none;
  align-self: flex-start;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.role__arrow:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateX(3px);
}

/* ============================================================
   PAGE BREAK — dramatic divider that introduces a new "page"
============================================================ */
.page-break {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) var(--gutter);
  border-top: 1px solid var(--accent);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(94,243,255,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(167,139,255,0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  overflow: hidden;
}
.page-break::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  box-shadow: 0 0 12px var(--accent), 0 0 28px rgba(94,243,255,0.4);
}
.page-break::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(94,243,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(94,243,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.page-break__chrome {
  display: flex; gap: 1rem; align-items: center;
  color: var(--accent);
  font-size: 0.62rem; letter-spacing: 0.2em;
  margin-bottom: 2rem;
  opacity: 0.85;
}
.page-break__line {
  flex: 1;
  color: rgba(94,243,255,0.35);
  letter-spacing: 0;
  overflow: hidden;
  white-space: nowrap;
}
.page-break__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
}
.page-break__num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(6rem, 18vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: linear-gradient(140deg, var(--fg) 0%, var(--accent) 65%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.page-break__num::after {
  content: attr(data-shadow);
  position: absolute;
  inset: 0;
  color: var(--accent);
  opacity: 0.06;
  transform: translate(8px, 8px);
  z-index: -1;
}
.page-break__copy { display: grid; gap: 0.6rem; }
.page-break__kicker {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
}
.page-break__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.page-break__sub {
  color: var(--fg-dim);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.6;
  max-width: 55ch;
}
.page-break__rail {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 50%, transparent);
}

/* Subtle distinction for "page" sections (about, careers) */
.page-shell {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(94,243,255,0.03) 0%, transparent 35%),
    var(--bg);
}

/* ============================================================
   REEL DECK — brand work videos
============================================================ */
.reels {
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--line);
}
.reels__grid {
  margin-top: 3rem;
  list-style: none; padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  cursor: none;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}
.reel:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(94,243,255,0.18), 0 0 60px rgba(94,243,255,0.06);
}
/* Thumbnail image (one per tile — cheap, no decoder slot) */
.reel__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7) contrast(1.05);
  transition: filter 0.32s ease, transform 0.5s ease, opacity 0.32s ease;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  z-index: 0;
}
.reel:hover .reel__poster {
  filter: saturate(1) brightness(0.85) contrast(1.05);
  transform: scale(1.04);
}

/* The single shared <video> element. Sits on top of the poster when mounted
   into an active tile. Same visual treatment so the swap is invisible. */
.reel__media,
.reel__media--shared {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(1) contrast(1.05);
  z-index: 1;
}
.reel::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.16) 3px 4px),
    linear-gradient(180deg, transparent 30%, rgba(5,6,8,0.85) 100%);
  pointer-events: none;
}
.reel__bracket {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--accent);
  opacity: 0.7;
  z-index: 2;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.reel:hover .reel__bracket { width: 24px; height: 24px; opacity: 1; }
.reel__bracket--tl { top: 10px; left: 10px;    border-right: none; border-bottom: none; }
.reel__bracket--tr { top: 10px; right: 10px;   border-left: none;  border-bottom: none; }
.reel__bracket--bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.reel__bracket--br { bottom: 10px; right: 10px;border-left: none;  border-top: none; }
.reel__chrome {
  position: absolute; top: 14px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 22px;
  color: var(--accent);
  font-size: 0.6rem; letter-spacing: 0.16em;
  z-index: 3;
}
.reel__rec { color: var(--warn); }
.reel__meta {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  display: grid; gap: 0.3rem;
  z-index: 3;
}
.reel__brand {
  color: var(--accent);
  font-size: 0.62rem; letter-spacing: 0.22em;
}
.reel__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--fg);
}
/* ============================================================
   REEL MODAL PLAYER
============================================================ */
.reel-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}
.reel-modal.is-open {
  display: flex;
  animation: reel-fade 0.22s ease;
}
@keyframes reel-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reel-modal__backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,6,8,0.85), rgba(5,6,8,0.96));
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.reel-modal__shell {
  position: relative;
  width: min(90vw, 480px);
  aspect-ratio: 9 / 16;
  background: var(--bg);
  border: 1px solid var(--accent);
  box-shadow: 0 0 40px rgba(94,243,255,0.25), 0 0 100px rgba(94,243,255,0.1);
  z-index: 1;
}
@media (orientation: landscape) and (min-width: 700px) {
  .reel-modal__shell {
    width: auto;
    height: min(85vh, 800px);
  }
}
.reel-modal__bracket {
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid var(--accent);
  z-index: 2;
}
.reel-modal__bracket--tl { top: -1px;    left: -1px;    border-right: none; border-bottom: none; }
.reel-modal__bracket--tr { top: -1px;    right: -1px;   border-left: none;  border-bottom: none; }
.reel-modal__bracket--bl { bottom: -1px; left: -1px;    border-right: none; border-top: none; }
.reel-modal__bracket--br { bottom: -1px; right: -1px;   border-left: none;  border-top: none; }
.reel-modal__chrome {
  position: absolute; top: -36px; left: 0; right: 0;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  color: var(--accent);
  font-size: 0.65rem; letter-spacing: 0.18em;
  z-index: 3;
}
.reel-modal__rec {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--warn);
}
.reel-modal__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 8px var(--warn);
  animation: blink 1.4s ease-in-out infinite;
}
.reel-modal__close {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  width: 32px; height: 32px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.reel-modal__close:hover {
  background: var(--accent);
  color: var(--bg);
}
.reel-modal__video {
  width: 100%; height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

/* ============================================================
   REEL — active "now playing" state
============================================================ */
.reel.is-playing {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 28px rgba(94,243,255,0.45),
    0 0 80px rgba(94,243,255,0.18);
  transform: translateY(-2px);
}
.reel.is-playing .reel__media,
.reel.is-playing .reel__poster {
  filter: saturate(1.05) brightness(1) contrast(1.05);
  transform: scale(1.01);
}
/* When the shared video is mounted into a tile, hide that tile's poster
   so the active video reads cleanly without a blurred layer underneath. */
.reel.is-playing .reel__poster { opacity: 0; }
/* Suppress the bottom darkening overlay so playback isn't dimmed */
.reel.is-playing::after {
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.08) 3px 4px),
    linear-gradient(180deg, transparent 60%, rgba(5,6,8,0.55) 100%);
}
.reel.is-playing .reel__bracket { width: 26px; height: 26px; opacity: 1; }
.reel.is-playing .reel__rec {
  color: var(--warn);
  animation: blink 1.1s ease-in-out infinite;
  text-shadow: 0 0 8px var(--warn);
}
/* Inactive tiles dim slightly so the active one reads first */
.reels__grid:has(.is-playing) .reel:not(.is-playing) {
  opacity: 0.62;
  filter: saturate(0.7);
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.reels__grid:has(.is-playing) .reel:not(.is-playing):hover {
  opacity: 0.95;
  filter: saturate(0.95);
}

/* ============================================================
   MOBILE TWEAKS
============================================================ */
@media (max-width: 600px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .hud__corner--tl, .hud__corner--tr { top: 120px; }
  .hud__corner { font-size: 0.55rem; }
  .header__cta { display: none; }
  .step { grid-template-columns: 1fr; }
  .why__list li { grid-template-columns: 60px 1fr; gap: 1rem; }
  .page-break__inner { grid-template-columns: 1fr; gap: 1rem; }
  .reel, .reel-modal__shell { cursor: pointer; }
  .reels__grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
}

/* ============================================================
   CAREERS PAGE — standalone hero + outro
============================================================ */
.careers-hero {
  position: relative;
  padding: clamp(8rem, 14vh, 11rem) var(--gutter) clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.careers-hero::before {
  /* faint grid backdrop, matches the HUD vocabulary */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(94,243,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94,243,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 0%, transparent 70%);
  z-index: -1;
  opacity: 0.6;
}
.careers-hero__chrome {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--accent);
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
  opacity: 0.85;
}
.careers-hero__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 200;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.careers-hero__kicker {
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.careers-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0 0 1.25rem;
}
.careers-hero__sub {
  color: var(--fg-dim);
  max-width: 56ch;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

body.is-page-careers .careers { border-top: none; padding-top: clamp(2.5rem, 6vh, 4rem); }

.careers-foot {
  margin-top: clamp(3rem, 8vh, 5rem);
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start;
}
.careers-foot .mono { color: var(--accent); }
.careers-foot p { color: var(--fg-dim); max-width: 52ch; }

/* ============================================================
   PAGES — STORY / ABOUT
============================================================ */
body.is-page-story .story,
body.is-page-about .about-page { border-top: none; padding-top: clamp(2.5rem, 6vh, 4rem); }

.story,
.about-page {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  padding-bottom: clamp(4rem, 10vh, 7rem);
  max-width: 1280px;
  margin: 0 auto;
}

.story__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: clamp(2.5rem, 6vh, 4rem);
}
.story-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--bg-2);
  border: 1px solid var(--line);
  align-items: start;
}
.story-card--solo { grid-template-columns: minmax(0, 1fr); }

.story-card__chrome {
  position: absolute; top: 10px; right: 10px;
  display: flex; gap: 0.5rem; align-items: center;
}
.story-card__tag {
  color: var(--accent);
  opacity: 0.8;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.story-card__media {
  position: relative;
  border: 1px solid var(--accent);
  box-shadow: 0 0 24px rgba(94,243,255,0.18);
  background: #050608;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.story-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.story-card__body {
  display: flex; flex-direction: column; gap: 1rem;
  min-width: 0;
}
.story-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}
.story-card__role {
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}
.story-card__body p {
  color: var(--fg-dim);
  max-width: 60ch;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.65;
  margin: 0;
}

.story-card__sublabel {
  display: block;
  margin-top: 0.4rem;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.9;
}
.story-card__creds {
  list-style: none;
  padding: 0; margin: 0.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem 1.25rem;
}
.story-card__creds li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--fg);
  font-size: 0.95rem;
}
.story-card__creds li::before {
  content: '›';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
}

@media (max-width: 720px) {
  .story-card { grid-template-columns: minmax(0, 1fr); }
  .story-card__media { max-width: 320px; aspect-ratio: 3 / 4; }
}

/* ABOUT — body copy stack */
.about-page__body {
  max-width: 72ch;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.about-page__body p {
  color: var(--fg-dim);
  line-height: 1.7;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  margin: 0;
}
.about-page__body p strong { color: var(--fg); font-weight: 500; }

.about-page__leadership {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--line);
}
.about-page__leadership h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.about-page__leadership ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.about-page__leadership li {
  padding: 1.25rem 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  line-height: 1.6;
}
.about-page__leadership li a {
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  font-weight: 500;
}
.about-page__leadership li a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(94,243,255,0.4);
}

.page-back {
  margin-top: clamp(3rem, 8vh, 5rem);
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 1rem;
}
.page-back a {
  color: var(--accent);
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}
.page-back a:hover { text-shadow: 0 0 14px rgba(94,243,255,0.45); }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
