/* ======================================================================
   Tactron Systems — site
   Two surfaces: field (dark, photo/video) and sheet (paper). One accent
   for "live", one for blueprint. Motion: Lenis + GSAP ScrollTrigger.
   ====================================================================== */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0a0b09;
  --ink-2: #11130f;
  --paper: #ebe9e3;
  --fg: #ecebe5;
  --dim: rgba(236, 235, 229, 0.62);
  --faint: rgba(236, 235, 229, 0.14);
  --ink-dim: rgba(10, 11, 9, 0.58);
  --ink-faint: rgba(10, 11, 9, 0.14);
  --signal: #3d8f68;
  --bp: #bfeaff;
  --bp-dim: rgba(191, 234, 255, 0.55);
  --bp-bg: #0f1a24;
  --pad: clamp(20px, 3vw, 56px);
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Barlow Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font-family: var(--sans); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--bp); color: var(--ink); }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.display {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: 0.86; letter-spacing: -0.02em; font-size: clamp(56px, 11vw, 176px);
}
.display--md { font-size: clamp(44px, 7.4vw, 116px); }
.display--sm { font-size: clamp(36px, 5vw, 76px); }
.lede { font-size: clamp(17px, 1.5vw, 24px); line-height: 1.42; color: var(--dim); max-width: 52ch; }
.lede--hero { color: var(--fg); opacity: 0.82; }
.paper { background: var(--paper); color: var(--ink); }
.paper .lede { color: var(--ink-dim); }

/* line-mask headlines */
.ln { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ln > span { display: block; }
.js .ln > span { translate: 0 108%; }
.js .rv { opacity: 0; translate: 0 36px; }
.js [data-hero-rv] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .js .ln > span, .js .rv, .js [data-hero-rv] { translate: none; transform: none; opacity: 1; }
}

/* ——— buttons ——— */
.btn {
  display: inline-flex; align-items: center; gap: 16px; padding: 18px 24px;
  background: var(--fg); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn i { font-style: normal; transition: transform 0.4s var(--ease); }
.btn:hover { background: var(--bp); }
.btn:hover i { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px rgba(236, 235, 229, 0.3); }
.btn--ghost:hover { background: var(--fg); color: var(--ink); }
.paper .btn { background: var(--ink); color: var(--fg); }
.paper .btn:hover { background: var(--bp-bg); color: var(--bp); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ——— progress + nav ——— */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--bp); }
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 110; height: 72px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--fg); transition: color 0.4s;
  text-shadow: 0 1px 18px rgba(0,0,0,0.35);
}
.nav.on-paper { color: var(--ink); text-shadow: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 26px; height: 26px; background: currentColor; -webkit-mask: url("../img/tactron-mark.png") center / contain no-repeat; mask: url("../img/tactron-mark.png") center / contain no-repeat; }
.brand__word { font-family: var(--mono); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; }
.brand__word b { font-weight: 400; opacity: 0.6; margin-left: 0.6em; }
.nav__links { display: flex; gap: clamp(22px, 3vw, 48px); font-size: 13px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__links a { opacity: 0.6; transition: opacity 0.25s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__r { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 8px; }
.lang button { opacity: 0.5; transition: opacity 0.25s; }
.lang button[aria-pressed="true"] { opacity: 1; }
.burger { display: none; width: 34px; height: 34px; position: relative; }
.burger i { position: absolute; left: 6px; right: 6px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger i:nth-child(1) { top: 12px; } .burger i:nth-child(2) { top: 21px; }
.menu-open .burger i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--fg);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease);
}
.menu-open .menu { clip-path: inset(0); }
.menu a { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 16vw, 110px); line-height: 0.95; }

/* ——— grain, grid, ticks (the field look) ——— */
.fx { position: absolute; inset: 0; pointer-events: none; }
.fx--shade { background: linear-gradient(180deg, rgba(10,11,9,0.55) 0%, rgba(10,11,9,0.05) 38%, rgba(10,11,9,0.78) 100%); }
.fx--shade-flat { background: rgba(10, 11, 9, 0.52); }
.fx--grid {
  opacity: 0.1;
  background-image: linear-gradient(var(--bp) 1px, transparent 1px), linear-gradient(90deg, var(--bp) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 80%);
}
.fx--grain {
  inset: -50%; opacity: 0.12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%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");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .fx--grain { animation: none; } }
.ticks { position: absolute; inset: calc(var(--pad) + 56px) var(--pad) calc(var(--pad) + 22px); pointer-events: none; }
.ticks i { position: absolute; width: 18px; height: 18px; border: 0 solid var(--bp-dim); }
.ticks i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }
.ticks i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }
.ticks i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.ticks i:nth-child(4) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }

/* ——— intro ——— */
.intro { display: none; position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; }
.js .intro { display: grid; }
.intro__lines { position: relative; width: min(92vw, 1180px, calc(78svh * 16 / 9)); aspect-ratio: 16 / 9; }
.intro__lines img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 100% 0 0); }
.intro__scan { position: absolute; top: -4%; bottom: -4%; left: 0; width: 1px; background: var(--bp); box-shadow: 0 0 24px 2px var(--bp-dim); opacity: 0; }
.intro__meta { position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); display: flex; justify-content: space-between; color: var(--bp-dim); }
.intro__meta b { color: var(--bp); font-weight: 400; font-variant-numeric: tabular-nums; }

/* ——— HERO ——— */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media video, .hero__media img { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; }
.hero__body { position: absolute; inset: 0; padding: 0 var(--pad) calc(var(--pad) + 30px); display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(22px, 3vw, 40px); }
.hero__h { font-size: clamp(52px, min(11.4vw, 17svh), 188px); }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero__hud { position: absolute; left: var(--pad); top: calc(72px + 28px); display: grid; gap: 4px; color: var(--bp-dim); }
.hero__hud b { color: var(--bp); font-weight: 400; font-variant-numeric: tabular-nums; }
.hero__tag { position: absolute; right: var(--pad); top: calc(72px + 28px); color: var(--bp-dim); text-align: right; }
.hline { position: absolute; background: var(--bp); opacity: 0; pointer-events: none; }
.hline--h { left: 0; right: 0; height: 1px; top: 0; } .hline--v { top: 0; bottom: 0; width: 1px; left: 0; }
.hero:hover .hline { opacity: 0.16; }

/* ——— WHY ——— */
.why { position: relative; padding: clamp(120px, 22vh, 260px) var(--pad); overflow: hidden; }
.why__bg { position: absolute; inset: -10% 0; opacity: 0.32; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; }
.why__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,11,9,0.2) 30%, rgba(10,11,9,0.2) 70%, var(--ink) 100%); }
.why__in { position: relative; max-width: 1500px; margin: 0 auto; }
.why__k { color: var(--bp-dim); margin-bottom: 32px; display: block; }
.why__t { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(52px, 10vw, 176px); line-height: 0.9; letter-spacing: -0.01em; }
.why--vision .why__t { font-weight: 800; font-size: clamp(36px, 6vw, 104px); line-height: 0.96; max-width: 16ch; }
.why--vision .lede { margin-top: clamp(28px, 5vh, 56px); max-width: 58ch; color: var(--fg); opacity: 0.8; }
.why__t .w { opacity: 0.14; transition: opacity 0.35s; }
.why__t .w.on { opacity: 1; }
.why__t b { font-weight: inherit; color: var(--bp); }

/* ——— ORBIT (T-300 video scene) ——— */
.orbit { position: relative; height: 480vh; background: var(--ink); }
.orbit__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.orbit__frame {
  position: absolute; inset: 0; clip-path: inset(24% 36% 24% 36%);
  background: #000;
}
.lensbox { position: absolute; inset: -4%; }
.lensbox video, .lensbox > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lens__bp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
[data-lens] { --mx: 50%; --my: 50%; --r: 0.1px; }
[data-lens] .lens__bp {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0, #000 calc(var(--r) * 0.86), transparent var(--r));
          mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0, #000 calc(var(--r) * 0.86), transparent var(--r));
}
[data-lens].is-bp .lens__bp { -webkit-mask-image: none; mask-image: none; }
.lens__ring {
  position: absolute; left: var(--mx); top: var(--my); width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--bp-dim); pointer-events: none;
  opacity: 0; transition: opacity 0.3s; z-index: 4;
}
[data-lens].is-live .lens__ring { opacity: 1; }
[data-lens].is-bp .lens__ring { opacity: 0; }
.lens__ring::before, .lens__ring::after { content: ""; position: absolute; background: var(--bp-dim); }
.lens__ring::before { left: 50%; top: -9px; width: 1px; height: 18px; box-shadow: 0 calc(var(--r) * 2 - 9px) 0 var(--bp-dim); }
.lens__ring::after { top: 50%; left: -9px; height: 1px; width: 18px; box-shadow: calc(var(--r) * 2 - 9px) 0 0 var(--bp-dim); }
.lens__ring span { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); white-space: nowrap; color: var(--bp); font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.orbit__fx { z-index: 2; }
.orbit__copy { position: absolute; left: var(--pad); right: var(--pad); top: 50%; transform: translateY(-50%); z-index: 3; pointer-events: none; text-align: center; }
.orbit__copy .mono { color: var(--bp); display: block; margin-bottom: 22px; }
.orbit__copy h2 { font-size: clamp(76px, 22vw, 380px); line-height: 0.8; mix-blend-mode: difference; color: #fff; }
.orbit__copy p { margin: 22px auto 0; color: var(--dim); max-width: 44ch; }
.specs { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 44px); z-index: 3; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; pointer-events: none; }
.spec { padding: 16px 0 0; border-top: 1px solid var(--bp-dim); margin-right: 18px; opacity: 0; transform: translateY(24px); }
.spec b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 58px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em; }
.spec b small { font-size: 0.45em; margin-left: 0.2em; color: var(--bp); letter-spacing: 0; }
.spec b i { font-style: normal; }
.spec span { display: block; margin-top: 8px; color: var(--bp-dim); }

/* ——— STEPPER (mission / chapters / service) ——— */
.stepper { position: relative; }
.stepper__pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.mission { background: var(--paper); color: var(--ink); height: 400vh; }
.mission__pin { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.5fr; align-items: center; gap: clamp(20px, 4vw, 80px); padding: 72px var(--pad) var(--pad); background: var(--paper); }
.mission__k { color: var(--ink-dim); display: block; margin-bottom: 24px; }
.mission__h { font-size: clamp(48px, 6.6vw, 112px); }
.copy-stack { position: relative; margin-top: clamp(28px, 5vh, 56px); min-height: 190px; }
.copy-stack > div { position: absolute; inset: 0 auto auto 0; max-width: 40ch; opacity: 0; transform: translateY(24px); transition: opacity 0.22s ease, transform 0.4s var(--ease); pointer-events: none; }
.copy-stack > div.is-on { opacity: 1; transform: none; pointer-events: auto; transition: opacity 0.6s ease 0.22s, transform 0.9s var(--ease) 0.22s; }
.copy-stack .n { color: var(--ink-dim); display: block; margin-bottom: 10px; }
.copy-stack .n b { color: var(--signal); font-weight: 500; }
.copy-stack h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 58px); line-height: 0.92; margin-bottom: 14px; }
.copy-stack p { color: var(--ink-dim); font-size: 17px; line-height: 1.45; }
.strip { margin-top: 28px; display: flex; gap: 24px; color: var(--ink-dim); }
.strip b { color: var(--ink); font-weight: 500; }
.stage { position: relative; aspect-ratio: 2048 / 1528; max-height: calc(100svh - 72px - var(--pad)); width: 100%; justify-self: center; }
.stage__layer { position: absolute; inset: 0; pointer-events: none; }
.stage__layer.is-on { pointer-events: auto; }
.stage__layer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(0.97); transition: opacity 0.5s var(--ease), transform 1s var(--ease); }
.stage__layer.is-on > img { opacity: 1; transform: none; }
.stage__layer > img.render { mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 74% 72% at 50% 52%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 74% 72% at 50% 52%, #000 58%, transparent 100%); }
.stage__layer .call, .stage__layer .lens__ring { visibility: hidden; }
.stage__layer.is-on .call, .stage__layer.is-on .lens__ring { visibility: visible; }
.paper .stage .lens__bp { object-fit: cover; }
.stage__tools { position: absolute; left: 0; bottom: -4px; display: flex; gap: 8px; z-index: 6; }
.dots { position: absolute; right: 0; bottom: 0; display: flex; gap: 10px; z-index: 6; }
.dots button { width: 30px; height: 2px; background: var(--ink-faint); position: relative; }
.dots button.is-on { background: var(--ink); }
.dots button::after { content: ""; position: absolute; inset: -12px 0; }

/* callouts */
.call { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; z-index: 5; }
.call__dot { position: absolute; inset: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px var(--paper), 0 0 0 2px var(--ink); }
.call__dot::after { content: ""; position: absolute; inset: -9px; border: 1px solid var(--ink); border-radius: 50%; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.call__tip { position: absolute; left: 36px; top: 50%; transform: translateY(-50%) translateX(-6px); width: max-content; max-width: 230px; background: var(--ink); color: var(--fg); padding: 12px 14px; text-align: left; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
.call[data-side="left"] .call__tip { left: auto; right: 36px; transform: translateY(-50%) translateX(6px); }
.call__tip em { display: block; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bp); margin-bottom: 4px; }
.call__tip small { font-size: 12.5px; line-height: 1.35; color: var(--dim); }
.call:hover .call__tip, .call:focus-visible .call__tip, .call.is-open .call__tip { opacity: 1; transform: translateY(-50%); }
.toggle { display: inline-flex; padding: 3px; background: rgba(10,11,9,0.06); }
.toggle button { padding: 9px 14px; color: var(--ink-dim); transition: background 0.3s, color 0.3s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--fg); }

/* ——— REEL (horizontal) ——— */
.reel { position: relative; background: var(--ink); overflow: hidden; }
.reel__pin { height: 100svh; display: flex; align-items: center; }
.reel__track { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); padding: 0 var(--pad); will-change: transform; }
.reel__intro { flex: 0 0 auto; width: min(46vw, 640px); }
.reel__intro .mono { color: var(--bp); display: block; margin-bottom: 24px; }
.shot { position: relative; flex: 0 0 auto; height: 72svh; aspect-ratio: 2400 / 1792; overflow: hidden; background: #000; }
.shot__in { position: absolute; inset: -3%; will-change: transform; }
.shot__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot__cap { position: absolute; left: 18px; bottom: 16px; z-index: 5; display: flex; gap: 16px; color: var(--fg); mix-blend-mode: difference; }

/* ——— SERVICE PATH ——— */
.path { background: var(--ink); height: 420vh; }
.path__pin { padding: 72px var(--pad) calc(var(--pad) + 26px); display: flex; flex-direction: column; justify-content: space-between; }
.path__bg { position: absolute; inset: 0; opacity: 0.5; }
.path__bg video, .path__bg img { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; }
.path__top { position: relative; z-index: 2; display: flex; justify-content: space-between; color: var(--bp); margin-top: 28px; }
.path__stage { position: relative; z-index: 2; flex: 1; display: grid; align-items: center; }
.path__item { position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(24px, 5vw, 96px); opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease), transform 1s var(--ease); pointer-events: none; }
.path__item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.path__num { font-family: var(--display); font-weight: 900; font-size: clamp(160px, 34vw, 560px); line-height: 0.76; color: transparent; -webkit-text-stroke: 1.5px rgba(191, 234, 255, 0.7); letter-spacing: -0.02em; }
.path__txt h2 { font-size: clamp(56px, 9vw, 150px); margin-bottom: 20px; }
.path__txt p { max-width: 38ch; font-size: clamp(17px, 1.5vw, 24px); color: var(--fg); opacity: 0.85; }
.path__txt ul { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.path__txt li { padding: 8px 12px; box-shadow: inset 0 0 0 1px rgba(191,234,255,0.4); color: var(--bp); }
.path__rail { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path__rail button { text-align: left; padding-top: 14px; border-top: 1px solid var(--faint); color: var(--dim); position: relative; transition: color 0.3s; }
.path__rail button.is-on { color: var(--fg); }
.path__rail button::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--bp); transition: width 0.7s var(--ease); }
.path__rail button.is-on::before { width: 100%; }
.path__rail b { display: block; font-weight: 400; color: var(--bp-dim); margin-bottom: 4px; }

/* ——— page heroes / sections ——— */
.phero { position: relative; min-height: 86svh; display: flex; align-items: flex-end; padding: 0 var(--pad) calc(var(--pad) + 32px); overflow: hidden; background: var(--ink); }
.phero__media { position: absolute; inset: 0; }
.phero__media img, .phero__media video { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; }
.phero__in { pointer-events: none; position: relative; z-index: 3; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.phero__in a, .phero__in button { pointer-events: auto; }
.phero__media .lensbox img { inset: 0; width: 100%; height: 100%; }
.phero .mono.k { color: var(--bp); display: block; margin-bottom: 18px; }

.specgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: clamp(80px, 14vh, 160px) var(--pad); background: var(--ink); }
.specgrid .spec { opacity: 1; transform: none; margin: 0 18px 44px 0; padding-top: 18px; }
.specgrid .spec b { font-size: clamp(54px, 7vw, 120px); }

.chapters { background: var(--paper); color: var(--ink); height: 520vh; }
.chapters .mission__pin { grid-template-columns: minmax(300px, 0.7fr) 1.6fr; }

.drawings { padding: clamp(100px, 18vh, 220px) var(--pad); background: var(--ink); }
.drawings__head { margin-bottom: clamp(40px, 8vh, 90px); }
.drawings__head .mono { color: var(--bp); display: block; margin-bottom: 18px; }
.sheets { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.sheet { position: relative; clip-path: inset(0 0 100% 0); }
.sheet img { width: 100%; height: auto; }
.sheet figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--bp-dim); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); padding: 0 var(--pad) clamp(100px, 18vh, 220px); background: var(--ink); }
.duo .shot { height: auto; aspect-ratio: 2400 / 1792; flex: initial; }

.fullbleed { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.fullbleed__media { position: absolute; inset: 0; }
.fullbleed__media img, .fullbleed__media video { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; }
.fullbleed__body { position: relative; z-index: 3; padding: 0 var(--pad) calc(var(--pad) + 36px); width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.fullbleed__body .mono { color: var(--bp); display: block; margin-bottom: 18px; }
.biglink { display: inline-flex; align-items: center; gap: 22px; }
.biglink i { font-style: normal; font-family: var(--sans); font-weight: 300; font-size: 0.5em; transition: transform 0.5s var(--ease); }
a.fullbleed:hover .biglink i, .biglink:hover i { transform: translateX(14px); }

/* ——— company / contact ——— */
.split { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100svh; background: var(--ink); }
.split__media { position: relative; overflow: hidden; }
.split__media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(rgba(10,11,9,0.6), transparent); z-index: 1; pointer-events: none; }
.split__media img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 120px var(--pad) 80px; }
.split__body .mono { color: var(--bp); }
.contact { min-height: 100svh; padding: 140px var(--pad) 80px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 120px); align-items: end; position: relative; overflow: hidden; background: var(--ink); }
.contact__l .mono { color: var(--bp); display: block; margin-bottom: 20px; }
.contact__l .lede { margin-top: 24px; }
.form { display: grid; gap: 22px; position: relative; z-index: 2; }
.form label { display: grid; gap: 8px; color: var(--dim); }
.form input, .form textarea { font: inherit; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--faint); padding: 10px 0; outline: none; border-radius: 0; transition: border-color 0.3s; resize: vertical; font-family: var(--sans); }
.form input:focus, .form textarea:focus { border-color: var(--bp); }
.form .btn { justify-self: start; margin-top: 8px; }
.form__ok { display: none; color: var(--bp); }
.form.is-sent .form__ok { display: block; }
.form.is-sent label, .form.is-sent .btn { display: none; }

/* ——— footer ——— */
.foot { background: var(--ink); padding: clamp(60px, 10vh, 120px) var(--pad) 28px; border-top: 1px solid var(--faint); }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(50px, 9vh, 110px); }
.foot__line { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 6vw, 96px); line-height: 0.9; }
.foot .brand__mark { width: 56px; height: 56px; }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--dim); }
.eu { display: inline-flex; align-items: center; gap: 10px; }
.eu img { width: 27px; height: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); }
.eu-fixed { position: fixed; left: var(--pad); bottom: 18px; z-index: 105; pointer-events: none; color: var(--fg); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0,0,0,0.55); transition: opacity 0.4s, color 0.4s; }
.eu-fixed img { box-shadow: 0 0 0 1px rgba(255,255,255,0.22); }
.eu-fixed.on-paper { color: var(--ink); text-shadow: none; }
.eu-fixed.is-off { opacity: 0; }
.eu--hero { position: absolute; right: var(--pad); top: 140px; z-index: 4; color: var(--fg); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
.foot__nav { display: flex; gap: 28px; }
.foot__nav a:hover { color: var(--fg); }

/* ——— cookie notice ——— */
.ck {
  position: fixed; z-index: 140; left: var(--pad); bottom: 18px;
  width: min(640px, calc(100vw - var(--pad) * 2));
  display: flex; flex-direction: column; align-items: stretch; gap: 16px;
  padding: 18px 18px 16px; background: var(--ink-2); color: var(--fg);
  border: 1px solid var(--faint); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.ck[hidden] { display: none; }
.ck p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dim); }
.ck__actions, .ckp__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.ck__more { color: var(--bp); }
.ck__more:hover { color: var(--fg); }
.ck__text { color: var(--dim); padding: 14px 10px; }
.ck__text:hover { color: var(--fg); }
.ck .btn, .ckp .btn { padding: 14px 16px; }
body.ck-open .eu-fixed { opacity: 0; }
body.ck-open .hero__body { padding-bottom: 250px; }
body.ck-open .legal { padding-bottom: 280px; }
.ckp { position: fixed; inset: 0; z-index: 150; display: grid; place-items: end center; padding: 18px; background: rgba(10, 11, 9, 0.62); }
.ckp[hidden] { display: none; }
.ckp__card { width: min(560px, 100%); max-height: min(860px, calc(100svh - 36px)); overflow: auto; background: var(--ink-2); color: var(--fg); border: 1px solid var(--faint); padding: 28px 26px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.ckp__card > .mono { color: var(--bp); display: block; margin-bottom: 14px; }
.ckp__card > p { font-size: 15px; line-height: 1.5; color: var(--dim); margin-bottom: 8px; }
.ck-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--faint); }
.ck-row b { display: block; margin-bottom: 4px; font-weight: 500; font-size: 15px; }
.ck-row p { font-size: 13px; line-height: 1.45; color: var(--dim); }
.ck-sw { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); }
.ck-sw i { width: 38px; height: 22px; border-radius: 99px; background: rgba(236, 235, 229, 0.22); position: relative; flex: none; }
.ck-sw i::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; left: 3px; top: 3px; background: var(--fg); transition: transform 0.25s var(--ease); }
.ck-sw.is-on i { background: var(--bp); }
.ck-sw.is-on i::after { transform: translateX(16px); background: var(--ink); }
.ck-sw:disabled { cursor: default; }
.ck .btn:focus-visible, .ckp .btn:focus-visible, .ck-sw:focus-visible { outline: 1px solid var(--bp); outline-offset: 3px; }
.ckp__actions { margin-top: 8px; }

/* ——— privacy ——— */
.legal { max-width: 760px; padding: 148px var(--pad) 120px; }
.legal .mono { color: var(--bp); display: block; margin-bottom: 22px; }
.legal h1 { margin-bottom: 28px; }
.legal h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(28px, 3vw, 42px); line-height: 0.95; margin: 52px 0 14px; }
.legal p, .legal li { color: var(--dim); font-size: 17px; line-height: 1.55; }
.legal p + p, .legal ul { margin-top: 14px; }
.legal ul { display: grid; gap: 10px; }
.legal b { color: var(--fg); font-weight: 500; }
.legal a { color: var(--bp); }
.legal a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) { .sheet { clip-path: none; } .intro { display: none !important; } }

/* ——— lite layout: small screens + reduced motion ——— */
@media (max-width: 819px), (prefers-reduced-motion: reduce) {
  .orbit, .mission, .chapters, .path { height: auto; }
  .orbit__pin, .stepper__pin { position: relative; height: auto; overflow: visible; }
  .orbit__pin { padding-bottom: 40px; }
  .orbit__frame { position: relative; inset: auto; clip-path: none; aspect-ratio: 16 / 10; }
  .orbit__copy { position: relative; left: auto; right: auto; top: auto; transform: none; padding: 40px var(--pad) 0; }
  .orbit__copy h2 { mix-blend-mode: normal; font-size: clamp(90px, 30vw, 240px); }
    .specs { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: 1fr 1fr; padding: 40px var(--pad) 0; gap: 22px 0; }
  .spec { opacity: 1; transform: none; }
  .mission__pin { display: block; padding: 90px var(--pad) 60px; }
  .stage { margin-top: 36px; max-height: none; }
  .copy-stack { min-height: 0; display: grid; gap: 28px; }
  .copy-stack > div { position: relative; opacity: 1; transform: none; pointer-events: auto; }
  .stage__layer { position: relative; aspect-ratio: 2048 / 1528; margin-bottom: 14px; }
  .stage__layer > img { opacity: 1; transform: none; }
  .stage__layer .call, .stage__layer .lens__ring { visibility: visible; }
  .stage { aspect-ratio: auto; }
  .dots, .stage__tools { display: none; }
  .path__pin { display: block; padding: 100px var(--pad) 60px; min-height: 0; }
  .path__bg { position: absolute; }
  .path__stage { display: grid; gap: 70px; margin: 40px 0; }
  .path__item { position: relative; opacity: 1; transform: none; grid-template-columns: 1fr; gap: 6px; pointer-events: auto; }
  .path__num { font-size: clamp(110px, 40vw, 220px); }
  .path__rail { display: none; }
  .reel__pin { height: auto; display: block; padding: 90px 0 40px; }
  .reel__track { flex-direction: column; align-items: stretch; padding: 0 var(--pad); }
  .reel__intro { width: auto; margin-bottom: 20px; }
  .shot { height: auto; width: 100%; }
}
@media (max-width: 819px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .hero__body { padding-bottom: 28px; }
  .eu--hero, .eu-fixed { display: none; }
  .specgrid { grid-template-columns: 1fr 1fr; }
  .sheets, .duo, .contact, .split { grid-template-columns: 1fr; }
  .split__media { height: 52svh; }
  .path__rail { display: none; }
  .hero__tag { display: none; }
  .ck { left: 12px; right: 12px; bottom: 12px; width: auto; }
  body.ck-open .hero__body { padding-bottom: 300px; }
  .ck__actions, .ckp__actions { justify-content: stretch; }
  .ck__actions .btn, .ckp__actions .btn { flex: 1; justify-content: center; }
}
