/* ═══════════════════════════════════════════════════════════
   SSE · Shri Sainath Enterprises
   Paper and ink, with the brand red doing the heavy lifting.
   ═══════════════════════════════════════════════════════════ */
/* Poppins, self-hosted (latin subset) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600.woff2") format("woff2"); }

:root {
  --paper: #f4f0e7;
  --paper-2: #ece6da;
  --paper-3: #e3dccd;
  --white: #fffdf9;
  --ink: #101012;
  --ink-2: #26262a;
  --muted: #6e6a63;
  --muted-2: #8e8a82;
  --line: rgba(16, 16, 18, .12);
  --line-2: rgba(16, 16, 18, .22);
  --red: #d51e2a;
  --red-deep: #a4141e;
  --red-bright: #ed2b37;
  --coal: #111113;
  --coal-2: #19191c;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 76px);
  --shell: 1360px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 300; line-height: 1.04; letter-spacing: -.04em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: white; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.shell--wide { max-width: 1560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 11px/1.3 var(--font); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); flex: none; }
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: rgba(255, 253, 249, .68); }
.eyebrow--light::before { background: var(--red-bright); }
.kicker { font: 500 12px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.muted { color: var(--muted); }
.red { color: var(--red); }
em { font-style: normal; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font: 500 13.5px/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 9px; font: 500 13px/1.2 var(--font); text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--paper); }
.link-arrow--light:hover { color: #fff; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.sr-only { position: absolute; 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: -100px; left: 20px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ── small round controls ──────────────────────────────── */
.round {
  width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%;
  background: transparent; display: grid; place-items: center; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.round svg { width: 16px; height: 16px; }
.round:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-1px); }
.round:disabled { opacity: .35; pointer-events: none; }

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: clamp(24px, 4vw, 58px);
}
.site-header.is-solid {
  background: rgba(244, 240, 231, .97);
  border-bottom-color: var(--line);
}
/* On dark inner heroes the header starts dark, then turns to paper */
.site-header.is-dark:not(.is-solid) { background: linear-gradient(180deg, rgba(17,17,19,.72), rgba(17,17,19,0)); }
.site-header.is-dark:not(.is-solid) .logo__name,
.site-header.is-dark:not(.is-solid) .logo__sub,
.site-header.is-dark:not(.is-solid) .nav__top,
.site-header.is-dark:not(.is-solid) .nav__top svg { color: var(--paper); }
.site-header.is-dark:not(.is-solid) .logo__mark { filter: brightness(0) invert(1); }
.site-header.is-dark:not(.is-solid) .nav__top:hover { color: #fff; }
.site-header.is-dark:not(.is-solid) .btn--nav { border-color: rgba(255,255,255,.4); color: #fff; }
.site-header.is-dark:not(.is-solid) .nav-toggle span { background: var(--paper); }

.logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.logo__mark { height: 44px; width: auto; transition: filter .3s; }
.logo__type { display: grid; gap: 2px; line-height: 1; }
.logo__name { font: 600 11.5px/1.1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); transition: color .3s; }
.logo__sub { font: 400 9.5px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.logo:hover .logo__name { color: var(--red); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__top {
  display: inline-flex; align-items: center; gap: 7px; padding: 12px 13px;
  border: 0; background: none; text-decoration: none; cursor: pointer;
  font: 400 13px/1 var(--font); color: var(--ink-2); transition: color .25s;
}
.nav__top:hover { color: var(--red); }
.nav__top svg { width: 10px; height: 10px; opacity: .55; transition: transform .25s; }
.nav__item:hover .nav__top svg, .nav__item:focus-within .nav__top svg,
.nav__item.is-open .nav__top svg { transform: rotate(180deg); }
.nav__item.is-current > .nav__top { color: var(--red); }
.site-header.is-dark:not(.is-solid) .nav__item.is-current > .nav__top { color: var(--red-bright); }
.nav__panel {
  position: absolute; top: calc(100% + 6px); left: 0; width: 300px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, visibility .25s, transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 24px 60px -34px rgba(16,16,18,.45);
}
.nav__item:hover .nav__panel, .nav__item:focus-within .nav__panel,
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel a { display: grid; gap: 3px; padding: 10px 12px; text-decoration: none; transition: background .2s; }
.nav__panel a:hover { background: rgba(16,16,18,.055); }
.nav__panel b { font: 500 13.5px/1.3 var(--font); }
.nav__panel span { font: 400 11.5px/1.4 var(--font); color: var(--muted); }
.nav__panel a:hover b { color: var(--red); }

.btn--nav { margin-left: 4px; min-height: 42px; padding: 0 19px; font-size: 12.5px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%;
  background: transparent; cursor: pointer; position: relative; z-index: 70; margin-left: auto;
}
.nav-toggle span { position: absolute; left: 14px; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav__top { padding: 12px 9px; font-size: 12.5px; }
  .btn--nav { display: none; }
}
@media (max-width: 940px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .logo__mark { height: 38px; }
  .logo__name { font-size: 10.5px; }
  .logo__sub { display: none; }
}
@media (max-width: 520px) {
  :root { --header-h: 70px; }
  .logo__mark { height: 34px; }
  .logo__type { display: none; }
}

/* full-screen mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 20px) var(--gutter) 28px; overflow-y: auto;
  display: none; flex-direction: column;
}
.mnav[hidden] { display: none; }
.mnav.is-open { display: flex; }
.mnav__group { border-bottom: 1px solid rgba(255,255,255,.14); }
.mnav__group summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font: 300 25px/1 var(--font); letter-spacing: -.02em; cursor: pointer;
}
.mnav__group summary::-webkit-details-marker { display: none; }
.mnav__group summary svg { width: 14px; transition: transform .25s; }
.mnav__group[open] summary svg { transform: rotate(180deg); }
.mnav__group div { padding: 0 0 16px; display: grid; gap: 2px; }
.mnav__group a { text-decoration: none; color: rgba(255,253,249,.72); font-size: 15px; padding: 8px 0 8px 14px; }
.mnav__group a:hover { color: #fff; }
.mnav__solo { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); padding: 18px 0; text-decoration: none; font: 300 25px/1 var(--font); }
.mnav__solo svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.mnav__solo:hover svg { transform: translateX(4px); }
.mnav .btn { margin-top: 24px; align-self: flex-start; }
.mnav__meta { margin-top: 30px; color: rgba(255,253,249,.55); font-size: 12px; line-height: 2; }
.mnav__meta a { color: rgba(255,253,249,.8); text-decoration: none; }

/* ── the film ─────────────────────────────────────────── */
.film-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--paper); }
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.film { position: relative; height: 840svh; background: transparent; }
.film__pin { position: sticky; top: 0; height: 100svh; overflow: clip; }
.film-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - .5px), rgba(16,16,18,.055) calc(50% - .5px), rgba(16,16,18,.055) calc(50% + .5px), transparent calc(50% + .5px)),
    radial-gradient(58% 62% at 62% 56%, rgba(213,30,42,.11), rgba(213,30,42,0) 70%),
    linear-gradient(180deg, #f6f2e9 0%, var(--paper) 55%, #efe9dd 100%);
}
.film__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(16,16,18,.05) 1px, transparent 1px);
  background-size: 100% 25vh;
  mask-image: linear-gradient(180deg, transparent, black 22%, black 78%, transparent);
  opacity: .7;
}
.film__arc {
  position: absolute; left: 50%; top: 47%; width: min(120vw, 1550px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(213,30,42,.14); border-radius: 50%;
  pointer-events: none;
}
.film__arc::before {
  content: ""; position: absolute; inset: 9%; border: 1px solid rgba(213,30,42,.08); border-radius: 50%;
}
.film__arc::after {
  content: ""; position: absolute; left: 2.5%; top: 20%; width: 31%; height: 31%;
  border-top: 1px solid rgba(213,30,42,.3); border-radius: 50%; transform: rotate(-26deg);
}
.film__word {
  position: absolute; right: -2vw; top: 14vh; z-index: 0;
  font: 300 clamp(150px, 28vw, 460px)/.72 var(--font); letter-spacing: -.08em; color: transparent;
  -webkit-text-stroke: 1px rgba(16,16,18,.055); user-select: none;
}
.film__track {
  position: absolute; left: 0; right: 0; top: 77.5%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16,16,18,.18) 12%, rgba(16,16,18,.18) 88%, transparent);
}
.film__track::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: var(--p, 0%);
  background: var(--red); box-shadow: 0 0 22px rgba(213,30,42,.55);
}
.film__grain {
  position: absolute; inset: 0; opacity: .035; pointer-events: none; z-index: 3;
  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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.film__poster { position: absolute; inset: 0; z-index: 0; opacity: 0; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; }
.film__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,240,231,.2), rgba(244,240,231,.94) 82%); }

.film__layer { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.film__welcome {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 26px;
  padding: 0 var(--gutter); text-align: center; isolation: isolate;
}
.film__welcome::before {
  content: ""; position: absolute; z-index: -1; inset: 4% -6% 2%;
  background: radial-gradient(54% 58% at 50% 47%, rgba(244,240,231,.97) 0%, rgba(244,240,231,.9) 46%, rgba(244,240,231,.5) 66%, rgba(244,240,231,0) 82%);
  pointer-events: none;
}
.welcome__pre { font: 500 11px/1.4 var(--font); letter-spacing: .46em; text-transform: uppercase; color: var(--muted); }
.welcome__logo { width: min(720px, 76vw); height: auto; }
.welcome__meta { display: flex; align-items: center; gap: 16px; font: 500 10px/1 var(--font); letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); }
.welcome__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.film__statement {
  position: absolute; left: var(--gutter); right: var(--gutter); top: clamp(84px, 12vh, 150px);
  display: grid; justify-items: center; text-align: center; gap: 26px; opacity: 0;
}
.film__statement h1 {
  max-width: 26ch; font-size: clamp(46px, 7.4vw, 118px); font-weight: 300; line-height: .98; letter-spacing: -.05em;
}
@media (min-width: 640px) { .film__statement h1 span { display: block; } }
.film__statement h1 em { color: var(--red); font-weight: 500; }
.film__statement p { max-width: 53ch; color: var(--muted); font-size: clamp(13px, 1.2vw, 16px); }

.film__chapter {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(440px, 35vw); display: grid; gap: 20px; opacity: 0; isolation: isolate;
}
.film__chapter::before {
  content: ""; position: absolute; z-index: -1;
  inset: -64px -18% -64px calc(var(--gutter) * -1);
  background: linear-gradient(90deg, var(--paper) 0%, rgba(244,240,231,.99) 78%, rgba(244,240,231,.9) 90%, rgba(244,240,231,0) 100%);
  pointer-events: none;
}
.film__chapter h2 { font-size: clamp(38px, 4.4vw, 66px); font-weight: 300; line-height: .98; letter-spacing: -.045em; }
.film__chapter h2 em { color: var(--red); font-weight: 500; }
.film__chapter p { color: var(--muted); font-size: 15px; max-width: 40ch; }
.film__chapter .film__list { border-top: 1px solid var(--line); margin-top: 4px; }
.film__chapter .film__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.film__chapter .film__list b { font-weight: 500; }
.film__chapter .film__list span { color: var(--muted); text-align: right; font-size: 12px; }

.film__cut {
  position: absolute; left: 50%; top: auto; bottom: 6vh; opacity: 0; transform: translateX(-50%);
  width: min(700px, 84vw); text-align: center; justify-items: center; gap: 9px;
  padding: 17px 26px; background: rgba(244, 240, 231, .94); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -46px rgba(16,16,18,.55);
  backdrop-filter: blur(5px);
}
.film__cut h2 { font-size: clamp(28px, 3.4vw, 48px); }
.film__cut p { max-width: 54ch; font-size: 13.5px; }
.film__cut .eyebrow { justify-content: center; }

.film__hotspots { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; }
.hotspot { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0; will-change: transform; }
.hotspot__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(213,30,42,.15); flex: none; }
.hotspot__box {
  display: grid; gap: 2px; margin-left: 10px; padding: 9px 13px; background: rgba(255,253,249,.96);
  border: 1px solid var(--line); white-space: nowrap; box-shadow: 0 12px 26px -18px rgba(16,16,18,.4);
}
.hotspot__box b { font: 500 11.5px/1.3 var(--font); letter-spacing: .01em; }
.hotspot__box span { font: 400 9.5px/1.3 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.hotspot--left { flex-direction: row-reverse; }
.hotspot--left .hotspot__box { margin-left: 0; margin-right: 10px; text-align: right; }

.film__outro {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 30px;
  text-align: center; padding: 0 var(--gutter); opacity: 0; isolation: isolate;
}
.film__outro::before {
  content: ""; position: absolute; z-index: -1; inset: -6% -10%;
  background: radial-gradient(56% 54% at 50% 42%, rgba(244,240,231,.95), rgba(244,240,231,.58) 55%, rgba(244,240,231,0) 78%);
  pointer-events: none;
}
.film__outro h2 { font-size: clamp(44px, 7vw, 108px); max-width: 13ch; line-height: .98; letter-spacing: -.05em; }
.film__outro h2 em { color: var(--red); font-weight: 500; }
.film__outro .btn { pointer-events: auto; }
.film__outro small { font: 500 10px/1.4 var(--font); letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2); }
.film__hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; z-index: 7;
  font: 500 9.5px/1 var(--font); letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
  transition: opacity .4s;
}
.film__hint i { position: relative; display: block; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.film__hint i::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: drip 2.1s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.film__count {
  position: absolute; right: var(--gutter); bottom: 27px; z-index: 7;
  font: 500 10px/1 var(--font); letter-spacing: .26em; color: var(--muted-2);
}
.film__count b { color: var(--ink); font-weight: 500; }
.film__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); z-index: 7; }
.film__progress span { display: block; height: 100%; width: 0; background: var(--ink); }

@media (max-width: 900px) {
  .film { height: 780svh; }
  .film__chapter { top: auto; bottom: 10vh; transform: none; width: auto; right: var(--gutter); background: rgba(244,240,231,.92); padding: 20px; border: 1px solid var(--line); }
  .film__chapter h2 { font-size: 36px; }
  .film__statement h1 { font-size: clamp(38px, 9vw, 64px); }
  .film__statement p { font-size: 13px; }
  .film__cut { bottom: 4vh; }
  .film__word { display: none; }
  .film__hotspots { display: none; }
}
@media (max-width: 520px) {
  .film { height: 720svh; }
  .welcome__logo { width: 88vw; }
  .welcome__meta { flex-wrap: wrap; justify-content: center; gap: 8px 14px; font-size: 9px; letter-spacing: .2em; }
  .welcome__meta i { display: none; }
  .film__chapter p, .film__chapter .film__list { display: none; }
  .film__chapter { bottom: 13vh; }
  .film__statement { top: 78px; }
}

/* reduced motion / no WebGL: a calm stacked hero */
.film--static { height: auto; }
.film--static .film__layer { position: relative; inset: auto; height: auto; pointer-events: auto; }
.film--static .film__pin { position: relative; height: auto; min-height: 100svh; padding: calc(var(--header-h) + 60px) 0 80px; overflow: visible; }
.film--static .film__poster { opacity: 1; }
.film--static .film__poster img { opacity: .24; }
.film--static .film__poster::after { background: linear-gradient(180deg, rgba(244,240,231,.55), var(--paper) 56%, var(--paper)); }
.film--static .film__welcome { position: relative; inset: auto; padding: 40px var(--gutter) 20px; }
.film--static .film__statement { position: relative; inset: auto; opacity: 1; padding: 30px var(--gutter) 50px; }
.film--static .film__outro { position: relative; inset: auto; opacity: 1; padding: 20px var(--gutter) 60px; }
.film--static .film__hint, .film--static .film__count, .film--static .film__progress, .film--static .film__chapter, .film--static .film__hotspots, .film--static .film__track, .film--static .film__arc, .film--static .film__word { display: none; }
.no-webgl #stage { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── home sections ────────────────────────────────────── */
.sec { position: relative; z-index: 2; background: var(--paper); padding: clamp(84px, 10vw, 150px) 0; }
.sec--tight { padding: clamp(64px, 7vw, 104px) 0; }
.sec--white { background: var(--white); }
.sec--dark { background: var(--coal); color: var(--paper); }
.sec--red { background: var(--red); color: #fff; }
.sec--line { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 22px; max-width: 880px; margin-bottom: clamp(46px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(40px, 5.2vw, 78px); }
.sec-head h2 em { color: var(--red); font-weight: 500; }
.sec-head p { color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); max-width: 60ch; }
.sec--dark .sec-head p { color: rgba(244,240,231,.62); }
.sec--dark .eyebrow { color: rgba(244,240,231,.58); }
.sec-head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; max-width: none; }
.sec-head--split .sec-head__aside { justify-self: end; max-width: 38ch; display: grid; gap: 18px; }
@media (max-width: 820px) { .sec-head--split { grid-template-columns: 1fr; } .sec-head--split .sec-head__aside { justify-self: start; } }

/* intro */
.company { background: var(--paper); }
.company__intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.company__intro h2 { font-size: clamp(38px, 4.9vw, 72px); max-width: 17ch; }
.company__intro h2 em { color: var(--red); font-weight: 500; }
.company__copy { display: grid; gap: 20px; padding-top: 10px; }
.company__copy p { color: var(--muted); font-size: 15.5px; }
.company__sig { display: flex; align-items: center; gap: 14px; margin-top: 6px; font: 500 10.5px/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.company__sig img { height: 28px; width: auto; }
@media (max-width: 840px) { .company__intro { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(50px, 7vw, 90px); }
.stat { padding: clamp(24px, 3vw, 40px) 24px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: flex; align-items: flex-start; font-size: clamp(44px, 5.6vw, 82px); font-weight: 300; line-height: .95; letter-spacing: -.055em; }
.stat__num sup { font-size: .36em; line-height: 1; margin-top: .18em; color: var(--red); font-weight: 500; }
.stat__label { margin-top: 18px; font: 500 11px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.stat__note { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px 26px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
}

/* capabilities */
.caps { position: relative; background: var(--white); }
.caps__list { border-top: 1px solid var(--line); }
.cap {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, .9fr) minmax(0, 1.1fr) 56px;
  align-items: center; gap: clamp(18px, 3vw, 54px); padding: clamp(24px, 3.2vw, 38px) 0;
  border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease);
}
.cap::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.cap:hover::before { transform: scaleY(1); transform-origin: top; }
.cap > * { position: relative; z-index: 1; }
.cap:hover { padding-left: 18px; }
.cap__no { font: 400 12px/1 var(--font); letter-spacing: .14em; color: var(--red); }
.cap__title { font-size: clamp(25px, 2.6vw, 38px); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; }
.cap__desc { color: var(--muted); font-size: 13.5px; line-height: 1.65; max-width: 48ch; }
.cap__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cap__tags span { font: 500 9px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 8px; }
.cap__arrow { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; justify-self: end; transition: background .3s, color .3s, border-color .3s; }
.cap__arrow svg { width: 16px; height: 16px; }
.cap:hover .cap__arrow { background: var(--red); border-color: var(--red); color: #fff; }
.cap__thumb { display: none; }
.cap__float {
  position: fixed; z-index: 30; width: 330px; height: 230px; top: 0; left: 0;
  pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.94) rotate(-2deg);
  transition: opacity .3s, transform .4s var(--ease); overflow: hidden; background: var(--paper-2);
  box-shadow: 0 30px 70px -34px rgba(16,16,18,.5);
}
.cap__float img { width: 100%; height: 100%; object-fit: cover; }
.cap__float.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1) rotate(-2deg); }
@media (hover: none), (max-width: 900px) {
  .cap { grid-template-columns: 46px 1fr 40px; gap: 14px; }
  .cap__desc { grid-column: 2 / -1; }
  .cap__thumb { display: block; grid-column: 2 / -1; width: 100%; height: 150px; object-fit: cover; margin-top: 4px; }
  .cap__float { display: none; }
}

/* railway feature */
.feature { background: var(--coal); color: var(--paper); overflow: hidden; }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.92) contrast(1.03); }
.feature__media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid rgba(213,30,42,.55); z-index: -1; }
.feature__tag { position: absolute; left: 0; bottom: 0; background: var(--red); color: #fff; padding: 12px 16px; font: 500 10px/1.3 var(--font); letter-spacing: .18em; text-transform: uppercase; }
.feature__body { display: grid; gap: 24px; }
.feature__body h2 { font-size: clamp(40px, 5vw, 74px); }
.feature__body h2 em { color: var(--red-bright); font-weight: 500; }
.feature__body p { color: rgba(244,240,231,.64); max-width: 50ch; }
.feature__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); margin-top: 6px; }
.feature__stat { padding: 22px 18px 0 0; }
.feature__stat b { display: block; font: 300 clamp(28px, 3vw, 42px)/1 var(--font); letter-spacing: -.04em; }
.feature__stat span { display: block; margin-top: 6px; font: 500 9px/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(244,240,231,.5); }
.feature__fleet { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.feature__fleet span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 11px; font: 500 10px/1 var(--font); letter-spacing: .04em; color: rgba(244,240,231,.78); }
@media (max-width: 860px) { .feature__grid { grid-template-columns: 1fr; } .feature__media::before { display: none; } }

/* ── interactive power systems viewer ─────────────────── */
.systems {
  position: relative; background: var(--coal); color: var(--paper);
  border-top: 1px solid rgba(255,255,255,.08); overflow: clip;
}
.systems::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 50% at 74% 45%, rgba(213,30,42,.09), transparent 70%);
}
.systems .shell { position: relative; }
.systems__head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 70px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.systems__head h2 { font-size: clamp(40px, 5.1vw, 76px); line-height: .98; letter-spacing: -.045em; }
.systems__head h2 em { color: var(--red-bright); font-weight: 500; }
.systems__head p { justify-self: end; max-width: 42ch; color: rgba(244,240,231,.58); font-size: clamp(14px, 1.15vw, 16px); }
.systems__head .eyebrow { color: rgba(244,240,231,.55); }
.systems__grid {
  display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 68px); align-items: stretch;
}
.systems__side { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.systems__tabs { border-top: 1px solid rgba(255,255,255,.16); }
.systems__tab {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px; align-items: baseline; width: 100%; padding: 17px 0;
  background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(244,240,231,.5); text-align: left; cursor: pointer;
  transition: color .3s var(--ease), padding .3s var(--ease);
}
.systems__tab::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--red-bright); transition: width .45s var(--ease);
}
.systems__tab.is-active::after { width: 100%; }
.systems__tab:hover, .systems__tab.is-active { color: var(--paper); }
.systems__tab.is-active { padding-left: 8px; }
.systems__no { font: 500 9.5px/1 var(--font); letter-spacing: .2em; color: rgba(244,240,231,.32); }
.systems__tabname { font: 400 clamp(18px, 1.5vw, 22px)/1.15 var(--font); letter-spacing: -.02em; }
.systems__tabmeta { font: 500 8.5px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: rgba(244,240,231,.35); white-space: nowrap; }
.systems__tab.is-active .systems__tabmeta { color: rgba(244,240,231,.55); }
.systems__panels { min-height: 245px; }
.systems__panel { display: none; }
.systems__panel.is-active { display: grid; gap: 14px; animation: system-in .5s var(--ease-out) both; }
@keyframes system-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.systems__panel h3 { font-size: clamp(24px, 2vw, 32px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.systems__panel p { color: rgba(244,240,231,.6); font-size: 13.5px; line-height: 1.65; max-width: 44ch; }
.systems__specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px;
  margin: 4px 0 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.13);
}
.systems__specs dt { font: 500 8.5px/1.4 var(--font); letter-spacing: .17em; text-transform: uppercase; color: rgba(244,240,231,.36); }
.systems__specs dd { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(244,240,231,.78); }
.systems__side .link-arrow { margin-top: auto; color: var(--paper); }
.systems__side .link-arrow:hover { color: var(--red-bright); }

.systems__stage {
  position: relative; min-height: clamp(420px, 47vw, 610px);
  border: 1px solid rgba(255,255,255,.14); overflow: hidden;
  background:
    radial-gradient(68% 62% at 52% 44%, rgba(255,246,230,.1), transparent 68%),
    linear-gradient(155deg, #17171a 0%, #0e0e10 62%, #141416 100%);
}
.systems__stage::before, .systems__stage::after {
  content: ""; position: absolute; z-index: 3; width: 13px; height: 13px; pointer-events: none;
}
.systems__stage::before { left: -1px; top: -1px; border-left: 1px solid rgba(213,30,42,.8); border-top: 1px solid rgba(213,30,42,.8); }
.systems__stage::after { right: -1px; bottom: -1px; border-right: 1px solid rgba(213,30,42,.8); border-bottom: 1px solid rgba(213,30,42,.8); }
.systems__stagegrid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}
#systemsStage {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  display: block; touch-action: none; cursor: grab;
}
#systemsStage:active { cursor: grabbing; }
.systems__tag {
  position: absolute; z-index: 4; left: 20px; top: 18px;
  font: 500 8.5px/1 var(--font); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(244,240,231,.42); pointer-events: none;
}
.systems__drag {
  position: absolute; z-index: 4; right: 20px; bottom: 17px; display: inline-flex; align-items: center; gap: 8px;
  font: 500 8.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244,240,231,.4); pointer-events: none; transition: opacity .4s;
}
.systems__drag svg { width: 17px; height: 12px; }
.systems.is-touched .systems__drag { opacity: 0; }
.systems__fallback {
  position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: 100%; place-content: center; justify-items: center; gap: 16px;
  background: linear-gradient(180deg, rgba(14,14,16,.4), #101012 78%);
}
.systems__fallback img { width: 82%; max-width: 620px; height: auto; opacity: .46; filter: grayscale(1) contrast(1.08) brightness(.9); }
.systems__fallback span { font: 500 9px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: rgba(244,240,231,.5); padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.systems--ready .systems__fallback { display: none; }
.systems--static .systems__drag { display: none; }

@media (max-width: 980px) {
  .systems__head { grid-template-columns: 1fr; }
  .systems__head p { justify-self: start; }
  .systems__grid { grid-template-columns: 1fr; }
  .systems__side { order: 2; }
  .systems__stage { order: 1; min-height: clamp(360px, 66vw, 540px); }
  .systems__panels { min-height: 0; }
}
@media (max-width: 560px) {
  .systems__tab { grid-template-columns: 24px minmax(0,1fr); }
  .systems__tabmeta { display: none; }
  .systems__specs { grid-template-columns: 1fr; gap: 12px; }
  .systems__stage { min-height: 360px; }
  .systems__tag { left: 14px; top: 14px; }
  .systems__drag { right: 14px; bottom: 13px; }
}

/* why */
.why { background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why__card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); min-height: 250px; display: grid; align-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.why__card::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(101%); transition: transform .45s var(--ease); }
.why__card:hover::before { transform: none; }
.why__card > * { position: relative; z-index: 1; transition: color .35s; }
.why__num { font: 300 13px/1 var(--font); letter-spacing: .12em; color: var(--red); }
.why__card h3 { font-size: clamp(20px, 2vw, 27px); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.why__card p { color: var(--muted); font-size: 13px; line-height: 1.65; max-width: 34ch; }
.why__card:hover .why__num, .why__card:hover h3, .why__card:hover p { color: #fff; }
.why__card:hover .why__num { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } .why__card { min-height: 0; } }

/* work strip */
.work { position: relative; background: var(--white); overflow: hidden; }
.work__bar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.work__bar h2 { font-size: clamp(40px, 5.2vw, 74px); }
.work__controls { display: flex; gap: 8px; }
.work__strip { display: flex; gap: clamp(12px, 1.4vw, 22px); overflow-x: auto; padding: 0 var(--gutter) 26px; margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x proximity; scrollbar-width: none; }
.work__strip::-webkit-scrollbar { display: none; }
.work-card { flex: none; width: clamp(270px, 31vw, 430px); scroll-snap-align: start; text-decoration: none; }
.work-card__img { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-card__img img { transform: scale(1.045); }
.work-card__tag { position: absolute; top: 12px; left: 12px; background: rgba(244,240,231,.94); padding: 6px 9px; font: 500 8.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.work-card__body { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 16px 0 0; border-top: 1px solid var(--line); margin-top: 0; }
.work-card h3 { font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.work-card p { margin-top: 4px; font-size: 12px; color: var(--muted); }
.work-card__arrow { width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .25s, color .25s; }
.work-card__arrow svg { width: 13px; }
.work-card:hover .work-card__arrow { background: var(--red); border-color: var(--red); color: #fff; }

/* clients */
.clients { background: var(--paper); }
.clients__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.clients__head h2 { font-size: clamp(38px, 4.8vw, 70px); }
.clients__head h2 em { color: var(--red); font-weight: 500; }
.clients__head p { color: var(--muted); font-size: 15px; max-width: 44ch; }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__row { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__item { width: 190px; height: 106px; display: grid; place-items: center; padding: 16px; border-right: 1px solid var(--line); }
.marquee__item img { max-width: 100%; max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 800px) { .clients__head { grid-template-columns: 1fr; } .marquee__item { width: 150px; height: 90px; } }

/* certification band */
.cert { background: var(--paper-2); padding: 28px 0; border-top: 1px solid var(--line); }
.cert__row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cert__item { display: flex; align-items: center; gap: 12px; font: 500 11px/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cert__item svg { width: 18px; height: 18px; color: var(--red); }

/* CTA */
.cta { background: var(--red); color: #fff; padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.cta::after { content: "SSE"; position: absolute; right: -3vw; top: 50%; transform: translateY(-50%); font: 700 clamp(220px, 38vw, 620px)/.7 var(--font); color: rgba(255,255,255,.055); letter-spacing: -.08em; pointer-events: none; }
.cta__inner { position: relative; z-index: 1; display: grid; gap: 30px; max-width: 950px; }
.cta h2 { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.05em; }
.cta h2 em { font-weight: 500; }
.cta p { max-width: 52ch; color: rgba(255,255,255,.78); font-size: 15px; }
.cta__row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta .btn--light { color: var(--ink); }
.cta .btn--light:hover { background: var(--ink); color: #fff; }

/* footer */
.site-footer { position: relative; z-index: 2; background: var(--red); color: #fff; padding: clamp(56px, 7vw, 90px) 0 28px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 85% 0, rgba(255,255,255,.08), transparent 70%); pointer-events: none; }
.footer__grid { position: relative; display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, .7fr)); gap: clamp(28px, 4vw, 60px); }
.footer__brand img { width: 170px; height: auto; margin-bottom: 20px; }
.footer__brand p { color: rgba(255,255,255,.76); font-size: 13px; max-width: 30ch; }
.footer__brand .footer__iso { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font: 500 9.5px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 11px; }
.footer__col h4 { font: 500 9.5px/1.4 var(--font); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.52); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,.86); text-decoration: none; font-size: 13px; line-height: 1.7; margin-bottom: 6px; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__col address { font-style: normal; }
.footer__bottom { position: relative; margin-top: clamp(46px, 6vw, 70px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: .04em; color: rgba(255,255,255,.62); }
.footer__bottom a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer__brand { grid-column: auto; } }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* image treatment */
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-frame { position: relative; overflow: hidden; background: var(--paper-2); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--red::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(213,30,42,.3); pointer-events: none; }

/* small helpers */
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { font: 500 9.5px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 10px; }
.num-index { font: 400 12px/1 var(--font); letter-spacing: .14em; color: var(--red); }
@media (max-width: 760px) {
  .work__bar { display: grid; }
  .cta::after { font-size: 50vw; }
}
