/* =========================================================================
   Neomatix Technologies — main stylesheet
   1. Tokens  2. Base  3. Layout  4. Type  5. Components  6. Sections
   7. Pages  8. Motion  9. Responsive
   ========================================================================= */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Default theme: brand Charcoal Gray #444444 */
  --bg: #444444;
  --bg-2: #444444;
  --surface: #4e4e4e;
  --surface-2: #575757;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.26);
  --text: #ffffff;
  --text-2: #e4e4e4;
  --muted: #c2c2c2;
  --accent: #0077ff;
  --accent-text: #8cc8ff;
  --header-bg: #444444;
  --stroke: rgba(255, 255, 255, 0.4);
  --wordmark: rgba(255, 255, 255, 0.14);
  --demo: #ffd479;
  --placeholder: rgba(255, 255, 255, 0.45);
  --grain: .035;
  --btnp-hover-bg: #ffffff;
  --btnp-hover-text: #1b1f3b;
  --grad-text: linear-gradient(135deg, #6fdcff 0%, #4aa8ff 100%);
  --cyan: #00c8ff;
  --indigo: #0043b3;
  --rec: #ff3d3d;
  --grad: linear-gradient(135deg, #00c8ff 0%, #0077ff 48%, #0043b3 100%);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --section: clamp(88px, 12vw, 176px);
  --radius: 2px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

/* White theme: brand White / Light Gray surfaces, Deep Navy headings, Charcoal body text */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f5f5f5;
  --surface: #f5f5f5;
  --surface-2: #ebebeb;
  --line: rgba(27, 31, 59, 0.1);
  --line-2: rgba(27, 31, 59, 0.22);
  --text: #1b1f3b;
  --text-2: #444444;
  --muted: #666666;
  --accent-text: #0059c7;
  --header-bg: rgba(255, 255, 255, 0.95);
  --stroke: rgba(27, 31, 59, 0.35);
  --wordmark: rgba(27, 31, 59, 0.07);
  --demo: #8a5a00;
  --placeholder: rgba(27, 31, 59, 0.4);
  --grain: .02;
  --btnp-hover-bg: #1b1f3b;
  --btnp-hover-text: #ffffff;
  --grad-text: linear-gradient(135deg, #0077ff 0%, #0043b3 100%);
  color-scheme: light;
}
/* In the white theme, sections that sit on footage stay dark (brand Deep Navy) so text stays readable */
[data-theme="light"] :is(.hero, .page-hero:not(.page-hero--short), .cta, dialog.viewer) {
  --bg: #1b1f3b;
  --bg-2: #151831;
  --surface: #242946;
  --surface-2: #2c3253;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.24);
  --text: #ffffff;
  --text-2: #dadced;
  --muted: #aeb2c9;
  --accent-text: #8cc8ff;
  --stroke: rgba(255, 255, 255, 0.4);
  --demo: #ffd479;
  --btnp-hover-bg: #ffffff;
  --btnp-hover-text: #1b1f3b;
  --grad-text: linear-gradient(135deg, #6fdcff 0%, #4aa8ff 100%);
  color: var(--text);
  background-color: var(--bg);
  color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px;
  background: var(--text); color: var(--bg); font-weight: 700; transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* subtle film grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--line { border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 32px 64px;
  align-items: end; margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head--stack { grid-template-columns: 1fr; }
.section-head p { color: var(--text-2); max-width: 46ch; }

/* 4. Type ------------------------------------------------------------------ */
.display, .h1, .h2, .h3 {
  font-family: var(--f-display); font-stretch: 118%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: .92;
}
.display { font-size: clamp(2.7rem, 7.6vw, 8rem); }
.h1 { font-size: clamp(2.5rem, 6.4vw, 6.6rem); }
.h2 { font-size: clamp(2.1rem, 4.8vw, 4.6rem); }
.h3 { font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.05; letter-spacing: -.005em; }
.h2 em, .h1 em, .display em {
  font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.outline { color: transparent; -webkit-text-stroke: 1.2px var(--stroke); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--text-2); line-height: 1.55; max-width: 52ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 22px;
}
.eyebrow .tc { color: var(--accent-text); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line-2); }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* line mask reveal */
.line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.line > span { display: inline-block; will-change: transform; }

/* 5. Components ------------------------------------------------------------ */

/* Buttons */
.btn {
  --bg-btn: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  background: var(--bg-btn); border: 1px solid var(--line-2); color: var(--text);
  transition: background .35s var(--ease-out), border-color .35s, color .35s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text);
  transform: translateY(101%); transition: transform .45s var(--ease-out); border-radius: inherit;
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--bg); border-color: var(--text); }
.btn--primary { --bg-btn: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary::before { background: var(--btnp-hover-bg); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--btnp-hover-text); border-color: var(--btnp-hover-bg); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: border-color .3s, gap .3s var(--ease-out);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { border-color: var(--accent); gap: 14px; }

/* Play button */
.play {
  --s: 84px;
  width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35); color: #fff;
  transition: transform .5s var(--ease-out), background .3s;
}
.play svg { width: 30%; height: 30%; margin-left: 6%; }
.play--sm { --s: 52px; }

/* Media component (hydrated by JS from assets/js/media.js) */
.media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  aspect-ratio: var(--ratio, 16 / 9);
  filter: drop-shadow(6px 11px 19px rgba(0, 0, 0, 0.3)) !important;
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 255, 0.35),
    rgba(0, 60, 180, 0.1),
    transparent
  );
  pointer-events: none;
  z-index: 1;
}
.media > img, .media > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out), opacity .6s;
}
.media > video { opacity: 0; }
.media.is-playing > video { opacity: 1; }
.media--v { --ratio: 9 / 16; }
.media--sq { --ratio: 1 / 1; }
.media--cine { --ratio: 21 / 9; }
.media--fill { aspect-ratio: auto; position: absolute; inset: 0; border-radius: 0; }
.media .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); pointer-events: none; }

/* Chips / filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2);
  transition: background .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.tag {
  display: inline-block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 999px;
}
.tag--demo { color: var(--demo); border-color: color-mix(in srgb, var(--demo) 40%, transparent); }

/* Scroll progress (timeline scrubber) */
.scrubber { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.scrubber span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: transform .5s var(--ease-out), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header { background: var(--header-bg); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; justify-self: start; }
.brand img { width: 168px; height: auto; }
.logo-on-light { display: none !important; }
[data-theme="light"] .logo-on-light { display: block !important; }
[data-theme="light"] .logo-on-dark { display: none !important; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; font-weight: 600; font-size: .95rem; color: var(--text-2);
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; justify-self: end; }
.theme-btn { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); transition: background .3s, border-color .3s; }
.theme-btn:hover { background: var(--surface-2); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-moon, [data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-out), opacity .3s; }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-in-out), visibility 0s; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1;
}
.mobile-menu nav a small { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); font-weight: 400; letter-spacing: .1em; }
.mobile-menu nav a[aria-current="page"] { color: var(--accent-text); }
.mobile-menu .mm-foot { display: flex; flex-direction: column; gap: 16px; }

/* Cursor label (fine pointers only) */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--text); color: var(--bg);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  transform: translate3d(-200px, -200px, 0) scale(0); transition: scale .4s var(--ease-out), opacity .3s;
  scale: 0; opacity: 0;
}
.cursor.is-on { scale: 1; opacity: 1; }

/* Dialog / lightbox */
dialog.viewer {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: rgba(4, 5, 8, .96); color: var(--text); overflow-y: auto; overscroll-behavior: contain;
}
dialog.viewer::backdrop { background: rgba(0,0,0,.6); }
dialog.viewer[open] { animation: fadeIn .4s var(--ease-out); }
.viewer-close {
  position: fixed; top: 16px; right: 16px; z-index: 5; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(0,0,0,.4); transition: background .3s, transform .4s var(--ease-out);
}
.viewer-close:hover { background: var(--text); color: var(--bg); transform: rotate(90deg); }
.viewer-close svg { width: 20px; height: 20px; }
.viewer-inner { min-height: 100%; display: grid; align-content: center; padding: 72px var(--gutter) 40px; max-width: 1400px; margin-inline: auto; }
.viewer-video { width: 100%; background: #000; aspect-ratio: 16 / 9; max-height: 78vh; }
.viewer-video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.viewer-video.is-vertical { aspect-ratio: 9 / 16; max-width: min(100%, 44vh); margin-inline: auto; }
.viewer-meta { display: grid; grid-template-columns: minmax(0,1fr) minmax(0, .9fr); gap: 32px 64px; margin-top: 32px; }
.viewer-meta .h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); margin: 12px 0 0; }
.viewer-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 20px 0 0; font-size: .95rem; }
.viewer-meta dt { color: var(--muted); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.viewer-meta dd { margin: 0; color: var(--text-2); }
.viewer-meta .note { margin-top: 20px; font-size: .85rem; color: var(--muted); border-left: 2px solid var(--demo); padding-left: 12px; }
.viewer-playlist { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding-bottom: 6px; }
.viewer-playlist button { flex: 0 0 120px; opacity: .45; transition: opacity .3s; text-align: left; }
.viewer-playlist button.is-active, .viewer-playlist button:hover { opacity: 1; }
.viewer-playlist img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.viewer-playlist span { display: block; font-family: var(--f-mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-top: 6px; }
html.has-dialog { overflow: hidden; }

/* 6. Sections -------------------------------------------------------------- */

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero-stage .clip { position: absolute; inset: 0; opacity: 0; transition: opacity .05s linear; }
.hero-stage .clip.is-live { opacity: 1; }
.hero-stage video, .hero-stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero-stage .clip.is-live video, .hero-stage .clip.is-live img { animation: slowPush 6s linear forwards; }
.hero-wipe { position: absolute; inset: 0; z-index: 1; background: var(--grad); transform: scaleX(0); transform-origin: left; pointer-events: none; mix-blend-mode: screen; opacity: .9; }
.hero-wipe.run { animation: wipe .5s var(--ease-in-out); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.35) 62%, var(--bg) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(0, 67, 179, .35), transparent 60%);
}
.viewfinder { position: absolute; inset: calc(var(--header-h) + 8px) var(--gutter) 24px; pointer-events: none; z-index: 0; }
.viewfinder i { position: absolute; width: 28px; height: 28px; border-color: rgba(255,255,255,.55); border-style: solid; border-width: 0; }
.viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-top { position: absolute; top: 14px; left: 44px; right: 44px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; color: rgba(255,255,255,.8); }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
.vf-meta { display: flex; gap: 22px; }
.hero-content { position: relative; width: 100%; padding-bottom: clamp(56px, 9vh, 112px); padding-top: calc(var(--header-h) + 80px); }
.hero h1 { max-width: 14ch; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-bottom .lead { color: rgba(243, 245, 249, .82); }
.hero-index { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-index .bars { display: flex; gap: 4px; }
.hero-index .bars i { width: 26px; height: 2px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
.hero-index .bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-index .bars i.done::after { transform: scaleX(1); }
.hero-index .bars i.now::after { animation: fill var(--dur, 4s) linear forwards; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.scroll-cue span { width: 1px; height: 56px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: drip 2s var(--ease-in-out) infinite; }

/* Page hero (inner pages) */
.page-hero { position: relative; min-height: min(92svh, 920px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.page-hero .media--fill { z-index: -2; }
.page-hero .media--fill img, .page-hero .media--fill video { transform: scale(1.04); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 40%, var(--bg) 100%); }
.page-hero .container { padding-top: calc(var(--header-h) + 96px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero .lead { margin-top: 28px; }
.page-hero--short { min-height: auto; }
.page-hero--short::before { display: none; }
.crumbs { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; display: flex; gap: 10px; }
.crumbs a:hover { color: var(--text); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; padding-left: 48px; }
.marquee-track span { font-family: var(--f-display); font-stretch: 118%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--text-2); display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; background: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Showreel */
.reel { position: relative; }
.reel-frame { position: relative; display: block; width: 100%; cursor: pointer; text-align: left; }
.reel-frame .media { --ratio: 16 / 9; }
.reel-frame .media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(0,0,0,.45)); }
.reel-frame .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; --s: clamp(84px, 9vw, 132px); }
.reel-frame:hover .play { transform: scale(1.08); background: var(--accent); border-color: var(--accent); }
.reel-frame:hover .media img, .reel-frame:hover .media video { transform: scale(1.03); }
.reel-hud { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.reel-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc {
  position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px; gap: 20px; transition: background .5s var(--ease-out);
}
.svc:hover { background: var(--bg-2); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-num { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); letter-spacing: .1em; }
.svc-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--text); transition: background .4s, border-color .4s, color .4s; }
.svc-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-icon { background: var(--accent); border-color: var(--accent); }
.svc:hover .svc-icon svg { animation: iconNudge .7s var(--ease-out); }
.svc .media { --ratio: 16 / 10; }
.svc:hover .media img { transform: scale(1.05); }
.svc h3 { margin-top: 4px; }
.svc p { color: var(--text-2); font-size: .98rem; }
.svc ul { display: flex; flex-wrap: wrap; gap: 6px; }
.svc .link-arrow { margin-top: auto; align-self: flex-start; }
.svc .stretched::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Portfolio grid */
.work-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); grid-auto-flow: dense; }
.work-card { grid-column: span 6; position: relative; display: block; text-align: left; }
.work-card.size-xl { grid-column: span 8; }
.work-card.size-v { grid-column: span 4; grid-row: span 2; }
.work-card.size-s { grid-column: span 4; }
.work-card .media { --ratio: 16 / 10; }
.work-card.size-xl .media { --ratio: 16 / 9.4; }
.work-card.size-v .media { --ratio: auto; height: calc(100% - 92px); min-height: 420px; aspect-ratio: auto; }
.work-card .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; opacity: 0; transform: scale(.7); }
.work-card:hover .play, .work-card:focus-visible .play { opacity: 1; transform: scale(1); }
.work-card:hover .media img, .work-card:hover .media video { transform: scale(1.04); }
.work-card .media-wrap { position: relative; }
.work-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.work-card .badge .tag { background: rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.work-info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding-top: 16px; }
.work-info h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.15; letter-spacing: -.005em; }
.work-info .cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); order: -1; }
.work-info p { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.work-card.is-hidden { display: none; }
.work-empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; }
.work-note { margin-top: 40px; color: var(--muted); font-size: .9rem; display: flex; gap: 10px; align-items: center; }

/* Why choose */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.why-sticky .h2 { font-size: clamp(2rem, 3.7vw, 4.4rem); }
.why-sticky .media { margin-top: 40px; --ratio: 4 / 5; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why-item { padding: 36px 28px 40px 0; border-bottom: 1px solid var(--line); }
.why-item:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--line); }
.why-item:nth-child(even) { padding-left: 36px; }
.why-item .ic { width: 44px; height: 44px; color: var(--accent-text); margin-bottom: 26px; }
.why-item .ic svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 1.2rem; line-height: 1.15; margin-bottom: 12px; }
.why-item p { color: var(--text-2); font-size: .98rem; }

/* Workflow timeline */
.timeline { position: relative; }
.tl-ruler { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .68rem; color: var(--muted); letter-spacing: .08em; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.tl-ruler span { position: relative; }
.tl-ruler span::after { content: ""; position: absolute; left: 0; top: calc(100% + 4px); width: 1px; height: 6px; background: var(--line-2); }
.tl-tracks { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 24px; }
.tl-step { position: relative; padding: 24px 22px 28px; background: var(--surface); border-top: 3px solid var(--line-2); min-height: 280px; display: flex; flex-direction: column; transition: border-color .5s, background .5s; }
.tl-step.is-on { border-color: var(--accent); background: var(--surface-2); }
.tl-step .n { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(3rem, 5vw, 4.6rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--stroke); transition: color .5s, -webkit-text-stroke-color .5s; }
.tl-step.is-on .n { color: var(--text); -webkit-text-stroke-color: transparent; }
.tl-step h3 { margin: 0 0 10px; padding-top: 44px; font-family: var(--f-display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; }
.tl-step p { color: var(--text-2); font-size: .96rem; }
.tl-step .wave { position: absolute; top: 18px; right: 18px; display: flex; gap: 2px; align-items: center; height: 22px; }
.tl-step .wave i { width: 2px; background: var(--line-2); border-radius: 2px; height: var(--h); transition: background .5s; }
.tl-step.is-on .wave i { background: var(--accent-text); }
.tl-playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--rec); z-index: 3; pointer-events: none; transform: translateX(var(--x, 0px)); }
.tl-playhead::before { content: ""; position: absolute; top: -2px; left: -6px; width: 14px; height: 14px; background: var(--rec); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta .media--fill { z-index: -2; opacity: .4; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(0, 119, 255, .28), transparent 70%), linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 55%, transparent) 30%, color-mix(in srgb, var(--bg) 55%, transparent) 70%, var(--bg)); }
.cta .display { font-size: clamp(2.6rem, 8vw, 8.4rem); max-width: 13ch; margin-inline: auto; }
.cta .lead { margin: 28px auto 40px; text-align: center; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 104px) 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand img { width: 190px; }
.footer-brand p { margin-top: 22px; color: var(--text-2); max-width: 38ch; font-size: .98rem; }
.footer-col h4 { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--text-2); transition: color .25s; }
.footer-col a:hover { color: var(--text); }
.footer-col .placeholder { color: var(--muted); font-size: .85rem; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.socials svg { width: 17px; height: 17px; }
.footer-word { margin-top: clamp(56px, 8vw, 96px); font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 12vw, 13rem); line-height: 1; letter-spacing: -.02em; color: var(--wordmark); user-select: none; white-space: nowrap; }
.footer-word span { display: inline-block; letter-spacing: -.02em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; margin-top: 8px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* 7. Pages ----------------------------------------------------------------- */

/* Feature rows (service pages) */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media .media { --ratio: 16 / 10; }
.feature-media .media--v { --ratio: 9 / 16; max-width: 360px; margin-inline: auto; }
.feature-body .n { font-family: var(--f-mono); color: var(--accent-text); font-size: .78rem; letter-spacing: .12em; }
.feature-body h3 { margin: 14px 0 16px; }
.feature-body p { color: var(--text-2); max-width: 48ch; }
.feature-body ul { margin-top: 22px; display: grid; gap: 10px; }
.feature-body li { display: flex; gap: 12px; align-items: baseline; color: var(--text-2); }
.feature-body li::before { content: ""; flex: 0 0 8px; height: 8px; background: var(--accent); transform: translateY(-1px); }

/* Generic list grid */
.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cap-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap { background: var(--bg); padding: 28px 24px 32px; min-height: 200px; display: flex; flex-direction: column; gap: 10px; transition: background .4s; }
.cap:hover { background: var(--bg-2); }
.cap .mono { color: var(--accent-text); }
.cap h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 1.12rem; line-height: 1.15; margin-top: auto; }
.cap p { color: var(--text-2); font-size: .94rem; }

/* Services overview page */
.svc-row { display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 48px; padding-block: 48px; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-row .num { font-family: var(--f-mono); color: var(--muted); font-size: .8rem; padding-top: 8px; }
.svc-row .h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.svc-row p { color: var(--text-2); margin: 18px 0 22px; max-width: 46ch; }
.svc-row ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 26px; color: var(--text-2); font-size: .96rem; }
.svc-row li::before { content: "— "; color: var(--accent-text); }

/* Podcast: multicam switcher */
.multicam { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 12px; }
.mc-program { position: relative; }
.mc-program .media { --ratio: 16 / 9; }
.mc-program .media video, .mc-program .media img { transition: object-position .0s, transform .0s; }
.mc-label { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 8px; }
.mc-label span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; padding: 5px 9px; background: var(--rec); color: #fff; }
.mc-label span + span { background: rgba(0,0,0,.6); }
.mc-lower { position: absolute; left: 4%; bottom: 9%; z-index: 2; display: flex; align-items: stretch; transform: translateY(10px); opacity: 0; transition: .6s var(--ease-out); }
.mc-lower.is-on { opacity: 1; transform: none; }
.mc-lower b { background: var(--accent); padding: 8px 14px; font-family: var(--f-display); font-stretch: 112%; text-transform: uppercase; font-size: clamp(.8rem, 1.3vw, 1.05rem); }
.mc-lower small { background: rgba(7,8,11,.85); padding: 8px 14px; font-size: clamp(.7rem, 1vw, .85rem); color: #e4e4e4; display: flex; align-items: center; }
.mc-cams { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mc-cam { position: relative; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color .2s; text-align: left; }
.mc-cam .media { --ratio: 16 / 9; height: 100%; }
.mc-cam.is-live { outline-color: var(--rec); }
.mc-cam span { position: absolute; left: 8px; top: 8px; z-index: 2; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; background: rgba(0,0,0,.6); padding: 3px 7px; }
.mc-cam.is-live span { background: var(--rec); }
.mc-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; flex-wrap: wrap; }

/* Podcast: before / after */
.ba { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; user-select: none; touch-action: pan-y; border-radius: var(--radius); }
.ba-layer { position: absolute; inset: 0; }
.ba-raw .media { filter: saturate(.35) contrast(.82) brightness(1.12) sepia(.08); }
.ba-edit { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-edit .media { filter: saturate(1.15) contrast(1.08); transform: scale(1.12); transform-origin: 60% 45%; }
.ba-edit::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 160px rgba(0,0,0,.6); }
.ba-caption { position: absolute; left: 75%; bottom: 10%; translate: -50% 0; width: 46%; z-index: 2; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(.9rem, 2.4vw, 2rem); text-align: center; line-height: 1.1; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.ba-caption mark { background: none; color: #ffd400; }
.ba-bug { position: absolute; top: 58px; right: 14px; z-index: 2; width: clamp(28px, 4vw, 48px); opacity: .9; }
.ba-tag { position: absolute; top: 14px; z-index: 3; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; padding: 6px 10px; background: rgba(0,0,0,.65); }
.ba-tag--raw { left: 14px; }
.ba-tag--edit { right: 14px; background: var(--accent); }
.ba-wave { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: flex; gap: 2px; align-items: center; height: 28px; }
.ba-wave i { width: 2px; background: rgba(255,255,255,.6); height: var(--h); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 4; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #1b1f3b; display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; }
.ba input[type="range"] { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.ba-legend li { color: var(--text-2); font-size: .95rem; padding-left: 18px; position: relative; }
.ba-legend li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--muted); }
.ba-legend .after li::before { background: var(--accent); }
.ba-legend h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.ba-legend ul { display: grid; gap: 8px; }

/* Podcast: per-episode package */
.package { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, .62fr)); gap: 14px; align-items: end; }
.package .media { --ratio: 16 / 9; }
.package .media--v { --ratio: 9 / 16; }
.pk-item figcaption { margin-top: 12px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.pk-item figcaption b { display: block; color: var(--text); font-family: var(--f-body); font-size: .95rem; letter-spacing: 0; text-transform: none; font-weight: 700; margin-bottom: 2px; }
.pk-extra { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.pk-extra div { border: 1px solid var(--line); padding: 18px; font-size: .92rem; color: var(--text-2); }
.pk-extra b { display: block; color: var(--text); margin-bottom: 4px; }
.reel-cap { position: absolute; left: 8%; right: 8%; bottom: 18%; z-index: 2; text-align: center; font-family: var(--f-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: clamp(.7rem, 1.1vw, .95rem); line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.reel-cap mark { background: var(--accent); color: #fff; padding: 0 4px; }

/* Animation page */
.anim-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.anim-tile { position: relative; grid-column: span 4; }
.anim-tile.w8 { grid-column: span 8; }
.anim-tile.w6 { grid-column: span 6; }
.anim-tile .media { --ratio: 4 / 3; }
.anim-tile.w8 .media { --ratio: 8 / 3; }
.anim-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); }
.anim-tile figcaption b { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.anim-tile figcaption span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.kinetic { position: relative; aspect-ratio: 4 / 3; background: var(--grad); overflow: hidden; display: grid; place-items: center; border-radius: var(--radius); }
.kinetic .words { position: relative; width: 100%; height: 1.1em; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1; text-align: center; }
.kinetic .words span { position: absolute; inset: 0; opacity: 0; animation: kWord 6s var(--ease-out) infinite; }
.kinetic .words span:nth-child(2) { animation-delay: 1.5s; }
.kinetic .words span:nth-child(3) { animation-delay: 3s; }
.kinetic .words span:nth-child(4) { animation-delay: 4.5s; }
.kinetic .kbar { position: absolute; left: 0; bottom: 0; height: 6px; background: #fff; animation: kBar 1.5s linear infinite; }
.logo-anim { position: relative; aspect-ratio: 4 / 3; background: #050608; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); }
.logo-anim .mark { position: relative; width: 26%; }
.logo-anim .mark img { width: 100%; clip-path: inset(30% 0 0 0); animation: markIn 4s var(--ease-out) infinite; }
.logo-anim .px { position: absolute; width: 11.5%; aspect-ratio: 1; background: var(--grad); }
.logo-anim .px:nth-child(2) { left: 64%; top: 0; animation: pxDrop 4s var(--ease-out) infinite; }
.logo-anim .px:nth-child(3) { left: 77%; top: 9.5%; animation: pxDrop 4s .12s var(--ease-out) infinite; }
.logo-anim .px:nth-child(4) { left: 64%; top: 19%; animation: pxDrop 4s .24s var(--ease-out) infinite; }
.logo-anim .ring { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0, 200, 255, .5); animation: ring 4s var(--ease-out) infinite; }

/* Graphic design gallery (CSS-built concept designs) */
.gd-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.gd { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.gd figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 5; display: flex; gap: 6px; opacity: 0; transform: translateY(8px); transition: .4s var(--ease-out); }
.gd:hover figcaption, .gd:focus-within figcaption { opacity: 1; transform: none; }
.gd figcaption .tag { background: rgba(0,0,0,.7); }
.gd-yt { grid-column: span 6; aspect-ratio: 16 / 9; }
.gd-sq { grid-column: span 3; aspect-ratio: 1; }
.gd-45 { grid-column: span 4; aspect-ratio: 4 / 5; }
.gd .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gd:hover .bg { transform: scale(1.05); }
.gd .ov { position: absolute; inset: 0; }
.t-yt1 .ov { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 55%, transparent); }
.t-yt1 .big { position: absolute; left: 5%; top: 50%; translate: 0 -50%; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(1.4rem, 3.6vw, 3.1rem); }
.t-yt1 .big span { display: block; color: #ffd400; }
.t-yt1 .arrowmark { position: absolute; right: 8%; top: 18%; width: 18%; aspect-ratio: 1; border: 5px solid #ffd400; border-radius: 50%; }
.t-yt2 .ov { background: linear-gradient(0deg, rgba(0,67,179,.85), transparent 60%); }
.t-yt2 .big { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 3.2vw, 2.8rem); line-height: .95; }
.t-yt2 .big em { font-style: normal; background: #fff; color: var(--indigo); padding: 0 .2em; }
.t-yt2 .dur { position: absolute; right: 3%; bottom: 4%; font-family: var(--f-mono); font-size: .7rem; background: rgba(0,0,0,.8); padding: 2px 6px; }
.t-pod { background: #0b0d12; }
.t-pod .ov { background: linear-gradient(160deg, rgba(0,200,255,.0) 30%, rgba(0,119,255,.65)); mix-blend-mode: multiply; }
.t-pod .bg { filter: grayscale(1) contrast(1.15); }
.t-pod .txt { position: absolute; inset: 8%; display: flex; flex-direction: column; justify-content: space-between; }
.t-pod .txt b { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem, 2.1vw, 1.8rem); line-height: .9; }
.t-pod .txt small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.t-pod2 { background: #f1ede6; color: #111; }
.t-pod2 .txt { position: absolute; inset: 8%; display: flex; flex-direction: column; justify-content: space-between; }
.t-pod2 .circle { position: absolute; right: -12%; bottom: -12%; width: 70%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.t-pod2 .circle img { width: 100%; height: 100%; object-fit: cover; }
.t-pod2 b { font-family: var(--f-display); font-stretch: 100%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 2rem); line-height: .88; color: var(--indigo); }
.t-pod2 small { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.t-social .ov { background: linear-gradient(180deg, rgba(0,0,0,.1) 40%, rgba(0,0,0,.85)); }
.t-social .txt { position: absolute; left: 7%; right: 7%; bottom: 7%; }
.t-social .txt small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.t-social .txt b { display: block; margin-top: 8px; font-family: var(--f-display); font-stretch: 118%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 2.2vw, 1.9rem); line-height: .95; }
.t-social .pill { display: inline-block; margin-top: 14px; background: #fff; color: #000; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; }
.t-promo { background: var(--grad); }
.t-promo .txt { position: absolute; inset: 8%; display: flex; flex-direction: column; justify-content: space-between; }
.t-promo .txt b { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: .85; }
.t-promo .txt b span { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.t-promo .bg { mix-blend-mode: luminosity; opacity: .4; }
.t-brand { background: #0b0d12; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 6px; }
.t-brand div { border-radius: var(--radius); display: grid; place-items: end start; padding: 10px; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; }
.t-brand div:nth-child(1) { background: #0077ff; }
.t-brand div:nth-child(2) { background: #1b1f3b; }
.t-brand div:nth-child(3) { background: #00c8ff; color: #04121a; }
.t-brand div:nth-child(4) { background: #f5f5f5; color: #111; place-items: center; }
.t-brand div:nth-child(4) img { width: 46%; }

/* About */
.statement { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.12; text-transform: none; letter-spacing: -.01em; max-width: 26ch; }
.statement .dim { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.values > div { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.values > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.values h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 1.3rem; margin: 20px 0 12px; }
.values p { color: var(--text-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.media-stack { position: relative; padding-bottom: 18%; }
.media-stack .media:first-child { width: 78%; --ratio: 4 / 5; }
.media-stack .media:last-child { position: absolute; right: 0; bottom: 0; width: 52%; --ratio: 1 / 1; border: 8px solid var(--bg); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list .v { color: var(--text-2); }
.contact-list .v a:hover { color: var(--text); }
.form { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.field label .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2); padding: 12px 0; border-radius: 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b9bfcc' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff6b6b; }
.field .err { font-size: .85rem; color: #ff8a8a; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.option-pills label { position: relative; text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: .92rem; }
.option-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-pills span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); cursor: pointer; transition: .25s; }
.option-pills input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.option-pills input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); max-width: 40ch; }
.form-status { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line-2); display: none; }
.form-status.is-on { display: block; }
.form-status.ok { border-color: rgba(74, 163, 255, .5); background: rgba(0, 119, 255, .08); }
.form-status.warn { border-color: rgba(255, 212, 121, .45); background: rgba(255, 212, 121, .06); }
.hp { position: absolute; left: -9999px; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }

/* 8. Motion ---------------------------------------------------------------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease-out) both; }

.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > :first-child { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in > :first-child { clip-path: inset(0 0 0 0); }
.js [data-split] .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--l, 0) * 110ms + var(--d, 0ms)); }
.js [data-split].is-in .line > span { transform: none; }
.js .hero [data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .is-loaded .hero [data-hero], .js.is-loaded .hero [data-hero] { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes slowPush { from { transform: scale(1.06); } to { transform: scale(1.14); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes iconNudge { 0% { transform: none; } 40% { transform: translateY(-3px) rotate(-8deg); } 100% { transform: none; } }
@keyframes kWord { 0% { opacity: 0; transform: translateY(40%) scaleY(1.4); } 6%, 22% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: translateY(-40%) scaleY(.6); } }
@keyframes kBar { from { width: 0; } to { width: 100%; } }
@keyframes markIn { 0% { clip-path: inset(100% 0 0 0); transform: translateY(12%); } 30%, 80% { clip-path: inset(30% 0 0 0); transform: none; } 100% { clip-path: inset(30% 0 0 0); opacity: 0; } }
@keyframes pxDrop { 0%, 18% { opacity: 0; transform: translateY(-160%); } 34%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ring { 0%, 20% { transform: scale(.4); opacity: 0; } 40% { opacity: 1; } 80%, 100% { transform: scale(1.3); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js [data-reveal] > :first-child, .js [data-split] .line > span, .js .hero [data-hero] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
  .kinetic .words span:first-child { opacity: 1; }
  .logo-anim .mark img { clip-path: inset(30% 0 0 0); }
  .logo-anim .px { opacity: 1; }
  .cursor { display: none; }
  @view-transition { navigation: none; }
}

/* 9. Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .nav a { padding: 10px 11px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .package { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .package .pk-main { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: block; }
  .site-header .container { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .brand img { width: 148px; }
  .section-head { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .why { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .why-sticky .media { display: none; }
  .tl-tracks { grid-template-columns: 1fr 1fr; }
  .tl-playhead { display: none; }
  .work-card, .work-card.size-xl, .work-card.size-s { grid-column: span 6; }
  .work-card.size-v { grid-column: span 6; grid-row: span 1; }
  .work-card.size-v .media { --ratio: 4 / 5; aspect-ratio: 4 / 5; height: auto; min-height: 0; }
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 16px; }
  .multicam { grid-template-columns: 1fr; }
  .mc-cams { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .anim-tile, .anim-tile.w8, .anim-tile.w6 { grid-column: span 6; }
  .anim-tile.w8 .media { --ratio: 4 / 3; }
  .gd-yt { grid-column: span 12; }
  .gd-sq { grid-column: span 6; }
  .gd-45 { grid-column: span 6; }
  .split { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values > div + div { padding-left: 0; border-left: 0; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .viewer-meta { grid-template-columns: 1fr; }
  .pk-extra { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .display, .h1 { font-stretch: 106%; }
  .display { font-size: 10vw; }
  .h1 { font-size: 8.6vw; }
  .cta .display { font-size: 10vw; }
  .vf-meta span:not(:first-child) { display: none; }
  .hero-index > span:last-child { display: none; }
  .vf-top { left: 36px; right: 36px; }
  .viewfinder { inset: calc(var(--header-h) + 4px) 12px 12px; }
  .hero-content { padding-bottom: 48px; }
  .btn-row .btn { flex: 1 1 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .svc { padding: 22px 0; border-right: 0; }
  .services-grid { border-left: 0; }
  .why-list { grid-template-columns: 1fr; }
  .why-item, .why-item:nth-child(odd), .why-item:nth-child(even) { padding: 28px 0; border-right: 0; }
  .tl-tracks { grid-template-columns: 1fr; }
  .tl-step { min-height: 0; }
  .tl-ruler span:nth-child(even) { visibility: hidden; }
  .work-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .work-card, .work-card.size-xl, .work-card.size-s, .work-card.size-v { grid-column: auto; grid-row: auto; }
  .work-card .play { opacity: 1; transform: scale(.8); }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid--3 { grid-template-columns: 1fr; }
  .cap { min-height: 0; }
  .svc-row ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .anim-tile, .anim-tile.w8, .anim-tile.w6 { grid-column: 1 / -1; }
  .gd-sq, .gd-45 { grid-column: 1 / -1; }
  .gd figcaption { opacity: 1; transform: none; }
  .package { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pk-extra { grid-template-columns: 1fr; }
  .ba-legend { grid-template-columns: 1fr; }
  .mc-cams { gap: 8px; }
  .media-stack .media:last-child { border-width: 5px; }
  .reel-hud span:last-child { display: none; }
}

/* Text that always sits on footage or artwork stays light in both themes */
.reel-cap, .ba-caption, .ba-tag, .mc-label span, .mc-cam span, .anim-tile figcaption, .kinetic, .gd, .work-card .play, .mc-lower b { color: #fff; }
.anim-tile figcaption span { color: #e4e4e4; }
.work-card .badge .tag, .gd figcaption .tag { color: #e4e4e4; border-color: rgba(255,255,255,.3); }
.work-card .badge .tag--demo, .gd figcaption .tag--demo { color: #ffd479; border-color: rgba(255,212,121,.4); }
/* Logo bug on footage uses the brand "app icon" form (white rounded tile), never the bare mark */
.ba-bug { background: #fff; border-radius: 22%; padding: clamp(4px, .6vw, 7px); box-shadow: 0 4px 18px rgba(0,0,0,.25); }
