/* ==========================================================================
   VACO — site styles
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --ink: #04060b;
  --ink-2: #0a1120;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --text: #f4f6fa;
  --text-dim: rgba(236, 241, 250, 0.74);
  --text-faint: rgba(236, 241, 250, 0.42);
  --ink-text: #0d1628;
  --ink-dim: #4a5468;
  --navy: #1f3a74;
  --blue: #2b5fd9;
  --blue-hi: #4a7cf0;
  --red: #c4162f;
  --red-hi: #df2a43;
  --rule: rgba(255, 255, 255, 0.18);

  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 88px);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --t-display: clamp(2rem, 1.1rem + 2.6vw, 3.9rem);
  --t-display-sm: clamp(1.7rem, 1.1rem + 2.2vw, 3.2rem);
  --t-mega: clamp(2.6rem, 1rem + 6.4vw, 8.4rem);
  --t-lede: clamp(1rem, 0.92rem + 0.35vw, 1.22rem);
}

*, *::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: clip; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
sup { font-family: var(--body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em; }

.visually-hidden {
  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; left: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: #fff; color: #000; text-decoration: none; border-radius: 4px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: transform 0.6s var(--ease-out), background-color 0.5s ease, color 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
  color: var(--text);
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-solid {
  background: rgba(5, 8, 15, 0.62);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.site-header.is-light { color: var(--ink-text); }
.site-header.is-light.is-solid {
  background: rgba(243, 241, 236, 0.78);
  border-bottom-color: rgba(13, 22, 40, 0.08);
}
.site-header__inner {
  height: 100%; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: block; width: 104px; }
.brand img { width: 100%; height: auto; transition: filter 0.4s ease; }
.site-header.is-light .brand img { filter: invert(1) brightness(0.35) sepia(1) hue-rotate(185deg) saturate(3.2); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav a, .nav__cta {
  font-family: var(--display); font-weight: 400; font-size: 0.82rem;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  position: relative; padding: 6px 0; background: none; border: 0; cursor: pointer;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  padding: 10px 18px !important; border: 1px solid currentColor !important;
  border-radius: 999px; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav__cta:hover { background: var(--text); color: var(--ink); border-color: var(--text) !important; }
.site-header.is-light .nav__cta:hover { background: var(--ink-text); color: var(--paper); border-color: var(--ink-text) !important; }

.site-header__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.site-header__progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-hi) 60%, var(--red-hi));
  transform-origin: left; transform: scaleX(0);
}

/* ---------- Scenes ---------- */
.scene {
  position: relative; height: 100vh; height: 100svh; min-height: 600px;
  overflow: hidden; isolation: isolate; background: var(--ink);
}
.scene__media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.scene__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
.scene__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene__shade--hero { background: radial-gradient(120% 90% at 78% 50%, rgba(4,6,11,0.55), rgba(4,6,11,0) 60%), linear-gradient(0deg, rgba(4,6,11,0.55), transparent 30%); }
.scene__shade--left { background: linear-gradient(90deg, rgba(4,6,11,0.72) 0%, rgba(4,6,11,0.25) 45%, transparent 70%); }
.scene__shade--left-soft { background: linear-gradient(90deg, rgba(4,6,11,0.35) 0%, transparent 55%); }
.scene__shade--right { background: linear-gradient(270deg, rgba(4,6,11,0.72) 0%, rgba(4,6,11,0.25) 45%, transparent 70%); }
.scene__shade--bottom { background: linear-gradient(0deg, rgba(4,6,11,0.82) 0%, rgba(4,6,11,0.35) 32%, transparent 58%); }
.scene__shade--bottom-soft { background: linear-gradient(0deg, rgba(4,6,11,0.6) 0%, transparent 40%); }

.disclaimer {
  position: absolute; left: var(--gutter); bottom: 18px; z-index: 3; margin: 0;
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  font-size: 0.66rem; line-height: 1.4; letter-spacing: 0.02em; color: var(--text-faint);
}
.disclaimer--ink { color: rgba(13, 22, 40, 0.45); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  font-size: var(--t-display); line-height: 1.02; letter-spacing: 0.01em;
  margin: 0 0 0.45em; white-space: pre-line;
}
.display--sm { font-size: var(--t-display-sm); line-height: 1.08; }
.lede { font-size: var(--t-lede); line-height: 1.62; color: var(--text-dim); margin: 0; max-width: 36ch; font-weight: 400; text-wrap: pretty; }
.eyebrow {
  font-family: var(--display); font-weight: 400; font-size: 0.8rem;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--text-dim); margin: 0;
}
.eyebrow--ink { color: var(--ink-dim); }
.caption {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.7rem); letter-spacing: 0.16em; margin: 0;
}

/* split-text helpers */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: block; will-change: transform; }
.word { display: inline-block; overflow: hidden; padding: 0 0.1em 0.04em; vertical-align: top; }
.char { display: inline-block; will-change: transform, opacity; }
.display .line { white-space: nowrap; }

/* ---------- Copy blocks ---------- */
.copy { position: absolute; z-index: 2; width: min(600px, calc(100% - 2 * var(--gutter))); }
.copy--left { left: var(--gutter); }
.copy--right { right: var(--gutter); }
.copy--center { left: 50%; transform: translateX(-50%); text-align: center; width: min(760px, calc(100% - 2 * var(--gutter))); }
.copy--center .lede { margin-inline: auto; max-width: 58ch; }
.copy--mid { top: 50%; translate: 0 -50%; }
.copy--high { top: calc(var(--header-h) + 8vh); }
.copy--low { bottom: 12vh; }
.copy--centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.copy--centered .lede { margin-inline: auto; }
.copy--ink { color: var(--ink-text); }
.copy--ink .lede { color: var(--ink-dim); }
.copy--glass, .copy--panel {
  padding: clamp(24px, 3vw, 44px);
  background: rgba(8, 12, 22, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
}
.copy--panel { background: rgba(8, 10, 16, 0.55); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --bg-hi: var(--blue-hi);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 30px; border: 0; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: 0.84rem; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none; color: #fff; cursor: pointer;
  background: var(--bg); position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.25s var(--ease-out), box-shadow 0.4s ease;
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--bg) 80%, transparent);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-hi);
  transform: translateY(101%); transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); }
.btn--red { --bg: var(--red); --bg-hi: var(--red-hi); }
.btn--navy { --bg: var(--navy); --bg-hi: var(--blue); }

/* ---------- 01 Hero ---------- */
.scene--hero .scene__media { inset: 0; }
.hero__content {
  position: absolute; z-index: 2; top: 50%; right: clamp(20px, 11vw, 200px);
  translate: 0 -50%; text-align: center; width: min(460px, 84vw);
  display: flex; flex-direction: column; align-items: center;
}
.hero__logo { margin: 0 0 18px; display: flex; align-items: flex-start; width: 100%; justify-content: center; }
.hero__logo img { width: 100%; max-width: 420px; height: auto; }
.hero__logo sup { margin-left: 6px; margin-top: 4px; opacity: 0.8; }
.hero__subtitle {
  font-family: var(--display); font-weight: 400; font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.25rem);
  letter-spacing: 0.08em; margin: 0 0 22px; color: var(--text);
}
.hero__status { margin-bottom: 26px; }
.hero__by { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.06em; color: var(--text-dim); }
.hero__by img { width: 150px; height: auto; }
.hero__cue { position: absolute; left: 50%; bottom: 52px; width: 1px; height: 56px; background: rgba(255,255,255,0.16); overflow: hidden; z-index: 2; }
.hero__cue span { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { 0% { top: -40%; } 100% { top: 100%; } }

/* ---------- 02 Pan ---------- */
.scene--pan { background: #05070b; }
.pan__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1; transition: opacity 0.9s var(--ease-out); }
.pan__video.is-restarting { opacity: 0; transition: none; }
/* Portrait screens: show the whole 16:9 frame so the built-in pan reads correctly */
@media (max-aspect-ratio: 1/1) {
  .scene.scene--pan { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
}

/* ---------- 03 Lineup ---------- */
.scene--lineup .scene__media { inset: 0; }

/* ---------- 04/05 Duo ---------- */
.duo__frame { position: absolute; inset: 0; }
.duo__layer { position: absolute; inset: 0; overflow: hidden; }
.duo__layer img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); will-change: transform; }
.duo__layer--b { clip-path: inset(0 0 0 100%); }
.duo__caption { position: absolute; z-index: 2; text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.duo__caption--a { left: 63%; bottom: 25%; }
.duo__caption--b { left: 62%; bottom: 13%; }
/* cover-box: a box that behaves like object-fit: cover, so overlays can be
   placed in the photo's own coordinates and stay aligned at any size */
.scene__media, .duo__layer { container-type: size; }
.cover-box {
  --ar: 1.7768;
  --bw: max(100cqw, calc(100cqh * var(--ar)));
  --bh: max(100cqh, calc(100cqw / var(--ar)));
  position: absolute; width: var(--bw); height: var(--bh);
  left: calc((100cqw - var(--bw)) * var(--fx, 0.5));
  top: calc((100cqh - var(--bh)) * var(--fy, 0.5));
  will-change: transform;
}
.cover-box > img { width: 100%; height: 100%; object-fit: cover; }
.studs { position: absolute; inset: 0; color: #fff; pointer-events: none; }
.studs__measure { position: absolute; left: 71.6%; top: 41.4%; translate: -50% 0; font-family: var(--display); font-size: clamp(0.8rem, 0.5rem + 0.7vw, 1.3rem); letter-spacing: 0.06em; white-space: nowrap; color: #1d2a3a; }
.studs__measure::before, .studs__measure::after { content: ""; position: absolute; top: 55%; width: 2.2em; border-top: 1px dashed rgba(29,42,58,0.7); }
.studs__measure::before { right: calc(100% + 0.35em); } .studs__measure::after { left: calc(100% + 0.35em); }
.studs__label { position: absolute; left: 71.6%; top: 49.4%; translate: -50% 0; white-space: pre-line; text-align: center; font-family: var(--display); font-size: clamp(0.62rem, 0.4rem + 0.42vw, 0.95rem); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.35; color: #1d2a3a; }
.duo__layer--b .duo__caption--b { left: 71.4%; top: 74.5%; bottom: auto; translate: -50% 0; white-space: nowrap; color: #1d2a3a; text-shadow: none; }

/* ---------- 08 Backpack dims ---------- */
.dims { position: absolute; inset: 0; z-index: 1; pointer-events: none; color: #fff; font-family: var(--display); }
.dims__v { position: absolute; left: 11.6%; top: 12.6%; height: 66%; width: 1px; background: rgba(255,255,255,0.5); transform-origin: bottom; }
.dims__v-label { position: absolute; left: 9.4%; top: 45.6%; translate: -100% -50%; font-size: clamp(0.9rem, 0.6rem + 0.7vw, 1.4rem); letter-spacing: 0.04em; }
.dims__h { position: absolute; left: 14.2%; top: 82.4%; width: 21.7%; height: 1px; background: rgba(255,255,255,0.5); transform-origin: left; }
.dims__h-label { position: absolute; left: 24.8%; top: 87.4%; translate: -50% -50%; font-size: clamp(0.9rem, 0.6rem + 0.7vw, 1.4rem); letter-spacing: 0.04em; }
/* unit shown slightly smaller so the 9" line clears the disclaimer */
.scene--backpack .cover-box {
  transform: scale(0.86); transform-origin: 20% 32%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 86%, transparent 100%);
}
.scene--backpack .copy--right { right: max(var(--gutter), 14vw); width: max-content; max-width: min(460px, 44vw); }
.specs { display: flex; gap: clamp(20px, 2.4vw, 36px); margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); }
.specs div { margin: 0; }
.specs dt { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 6px; }
.specs dd { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 1rem + 0.8vw, 1.9rem); letter-spacing: 0.02em; color: var(--text); }

/* ---------- 06 / 07 ---------- */
.scene--costs .copy--left { left: max(var(--gutter), 16vw); }
.scene--delivery .lede { max-width: 42ch; }

/* ---------- 11 Silent: panel sits low-right so the wall unit stays visible ---------- */
.scene--silent .copy { width: min(480px, 40vw); bottom: 10vh; }

/* ---------- 10 Comfort ---------- */
.scene--comfort .scene__media { inset: 0; }
.mega {
  position: absolute; left: 0; right: 0; bottom: 9vh; z-index: 2; margin: 0; text-align: center;
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  font-size: var(--t-mega); line-height: 0.95; letter-spacing: 0.01em;
  text-shadow: 0 6px 40px rgba(0,0,0,0.25);
}

/* ---------- 12 Light scene ---------- */
.scene--light { background: #cfd3d8; }

/* ---------- 14 Triptych ---------- */
.scene--triptych { background: #0b0d10; }
.triptych { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(4px, 0.5vw, 8px); }
.triptych__panel { position: relative; overflow: hidden; }
.triptych__panel .tp-img {
  position: absolute; top: 0; height: 100%; width: calc(300% + 2 * clamp(4px, 0.5vw, 8px));
  max-width: none; object-fit: cover; will-change: transform;
}
.triptych__panel:nth-child(1) .tp-img { left: 0; }
.triptych__panel:nth-child(2) .tp-img { left: calc(-100% - clamp(4px, 0.5vw, 8px)); }
.triptych__panel:nth-child(3) .tp-img { left: calc(-200% - 2 * clamp(4px, 0.5vw, 8px)); }
.triptych__label {
  position: absolute; left: 0; right: 0; bottom: 56px; text-align: center; z-index: 2;
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(0.9rem, 0.7rem + 0.6vw, 1.4rem); letter-spacing: 0.16em; margin: 0;
}
.triptych__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent 32%); pointer-events: none; }

/* ---------- 15 Keep ---------- */
.keep {
  /* placed on the blank front face of the moving box (photo coordinates) */
  position: absolute; z-index: 2; left: 37.2%; top: 54.6%; margin: 0;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: calc(var(--bw) * 0.054); line-height: 0.94; letter-spacing: 0.01em;
  color: rgba(28, 22, 16, 0.86); mix-blend-mode: multiply;
}
.keep span { display: block; }

/* ---------- 16 Patent ---------- */
.scene--patent .copy { width: min(520px, calc(100% - 2 * var(--gutter))); gap: 0; }
.equation { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.4vw, 20px); margin: 10px 0 22px; }
.equation img { width: clamp(38px, 3.6vw, 56px); height: auto; }
.equation img:last-child { width: clamp(48px, 4.4vw, 68px); }
.equation span { font-family: var(--display); font-size: 1.8rem; font-weight: 300; color: var(--text-dim); }
.tagline { font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 0.85rem + 0.5vw, 1.3rem); letter-spacing: 0.08em; white-space: pre-line; line-height: 1.3; margin: 0 0 26px; }
.rule-label { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 420px; margin: 40px 0 16px; }
.rule-label::before, .rule-label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.rule-label span { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- 17 About ---------- */
.about {
  position: relative; background: var(--paper); color: var(--ink-text);
  display: grid; grid-template-columns: 1fr minmax(320px, 520px) 1fr; min-height: 100svh;
  overflow: hidden;
}
.about__img { position: relative; overflow: hidden; }
.about__img img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.about__body {
  padding: calc(var(--header-h) + 6vh) clamp(28px, 4vw, 64px) 10vh;
  display: flex; flex-direction: column; justify-content: center; background: #fff;
}
.about__logo { width: 190px; height: auto; margin: 0 auto 36px; }
.about__body p { font-size: clamp(0.98rem, 0.92rem + 0.2vw, 1.08rem); line-height: 1.75; color: #283247; margin: 0; text-wrap: pretty; }
.about__body p + p { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(13,22,40,0.1); }
.about__body p:first-child::first-line { font-weight: 600; color: var(--ink-text); }

/* ---------- 18 Decade ---------- */
.kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.35rem); margin: 0 0 18px; }
.decade__logo { display: flex; align-items: flex-start; justify-content: center; margin: 0 0 12px; width: 100%; }
.decade__logo img { width: min(400px, 80%); height: auto; }
.decade__logo sup { margin: 6px 0 0 6px; opacity: 0.8; }
.scene--decade .eyebrow { margin-bottom: 34px; }
.scene--decade .copy--right { right: calc(var(--gutter) + 6vw); }

/* ---------- 19 Team ---------- */
.team { background: var(--paper); color: var(--ink-text); padding: calc(var(--header-h) + 64px) var(--gutter) 120px; }
.team__inner { max-width: 1320px; margin: 0 auto; }
.team__title {
  font-family: var(--display); font-weight: 500; text-transform: uppercase; text-align: center;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); letter-spacing: 0.02em; margin: 0 0 64px; color: var(--navy);
}
.team__grid { display: grid; gap: clamp(28px, 3vw, 48px); }
.team__grid--4 { grid-template-columns: repeat(4, 1fr); }
.person { display: flex; flex-direction: column; }
.person__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.person__photo { width: 100%; max-width: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: transform 0.9s var(--ease-out), filter 0.6s ease; }
.person:hover .person__photo img { transform: scale(1.05); filter: saturate(1.05); }
.person__name { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.1; margin: 0; letter-spacing: 0.01em; }
.person__role { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin: 6px 0 0; font-weight: 600; }
.person__bio { font-size: 0.92rem; line-height: 1.7; color: #3c4659; margin: 0 0 16px; text-wrap: pretty; }
.person__contact { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(13,22,40,0.1); font-size: 0.84rem; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.person__contact a { text-decoration: none; color: var(--ink-text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
.person__contact a:hover { background-size: 100% 1px; }
.person__contact .person__li { display: inline-flex; flex: none; transition: background-color 0.3s ease; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 3px; background: #0a66c2; color: #fff !important; background-image: none !important; }
.person__contact .person__li:hover { background-color: #004182; }
.person__contact .person__li svg { width: 13px; height: 13px; }
.supporters { margin-top: 96px; padding-top: 56px; border-top: 1px solid rgba(13,22,40,0.12); text-align: center; }
.supporters .eyebrow { margin-bottom: 32px; font-size: 0.74rem; }
.supporters__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px clamp(40px, 6vw, 96px); }
.supporters__logos img { height: auto; }
.supporters__logos img[data-name="nsf"] { width: 64px; }
.supporters__logos img[data-name="nexus"] { width: 168px; }
.supporters__logos img[data-name="calseed"] { width: 156px; }

/* ---------- 20 Footer ---------- */
.footer { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--paper); color: var(--ink-text); min-height: 100svh; }
.footer__img { position: relative; overflow: hidden; min-height: 50svh; }
.footer__img img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; object-position: 30% 50%; will-change: transform; }
.footer__body { padding: calc(var(--header-h) + 48px) clamp(28px, 5vw, 88px) 48px; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; background: linear-gradient(180deg, #f7f6f3, #ecebe7); }
.footer__logo { display: flex; align-items: flex-start; margin: 0 0 8px; }
.footer__logo img { width: min(360px, 70vw); height: auto; }
.footer__logo sup { color: var(--navy); margin: 6px 0 0 6px; }
.footer__tagline { font-size: 0.92rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blue); margin: 0 0 40px; font-weight: 500; }
.footer__contact { font-style: normal; display: flex; flex-direction: column; gap: 4px; margin: 48px 0 44px; font-size: 0.95rem; color: var(--ink-text); }
.footer__contact span:first-child { font-weight: 600; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--blue); }
.footer__legal { max-width: 640px; text-align: left; border-top: 1px solid rgba(13,22,40,0.12); padding-top: 28px; }
.footer__legal p { font-size: 0.7rem; line-height: 1.6; color: #6b7385; margin: 0 0 12px; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 10, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.45s ease; }
.modal__panel { position: relative; opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal.is-closing .modal__backdrop { opacity: 0; transition-duration: 0.25s; }
.modal.is-closing .modal__panel { opacity: 0; transform: translateY(12px) scale(0.99); transition: opacity 0.22s cubic-bezier(0.4,0,1,1), transform 0.22s cubic-bezier(0.4,0,1,1); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); cursor: pointer; z-index: 3; transition: background-color 0.3s ease, transform 0.4s var(--ease-out); }
.modal__close:hover { background: rgba(255,255,255,0.12); transform: rotate(90deg); }
.modal__close span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; background: #fff; }
.modal__close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

/* signup */
.modal--signup .modal__panel {
  width: min(520px, calc(100vw - 32px)); padding: clamp(36px, 5vw, 56px);
  background: radial-gradient(120% 80% at 50% 0%, rgba(43,95,217,0.22), transparent 60%), linear-gradient(180deg, #0d1528, #070b15);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; text-align: center;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,0.8);
}
.signup__logo { width: 92px; height: auto; margin: 0 auto 28px; opacity: 0.9; }
.signup__title { font-family: var(--display); font-weight: 500; text-transform: uppercase; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); letter-spacing: 0.04em; line-height: 1.05; margin: 0 0 14px; }
.signup__body { color: var(--text-dim); font-size: 0.96rem; line-height: 1.6; margin: 0 auto 28px; max-width: 38ch; }
.signup__form { display: flex; flex-direction: column; gap: 12px; }
.signup__form input[type="email"] {
  width: 100%; height: 54px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: #fff;
  font: inherit; font-size: 1rem; text-align: center; transition: border-color 0.3s ease, background-color 0.3s ease;
}
.signup__form input[type="email"]::placeholder { color: rgba(255,255,255,0.45); }
.signup__form input[type="email"]:focus { outline: none; border-color: var(--blue-hi); background: rgba(255,255,255,0.08); }
.signup__form input[aria-invalid="true"] { border-color: var(--red-hi); }
.signup__form .btn { min-height: 54px; width: 100%; }
.signup__form .btn[disabled] { opacity: 0.6; cursor: progress; }
.signup__status { min-height: 1.4em; margin: 16px 0 0; font-size: 0.9rem; color: var(--text-dim); }
.signup__status.is-error { color: #ff8a98; }
.signup__status.is-success { color: #9cc2ff; }
.signup__privacy { margin: 8px 0 0; font-size: 0.74rem; color: var(--text-faint); }
.modal--signup.is-done .signup__form { display: none; }

/* automotive deck — 80% of the screen */
.modal--deck .modal__panel {
  width: 80vw; height: 80vh; height: 80svh;
  background: #03050a; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden;
  box-shadow: 0 50px 140px -30px rgba(0,0,0,0.9);
  display: flex; flex-direction: column;
}
.deck { position: relative; flex: 1; overflow: hidden; }
.deck__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease-out), visibility 0s linear 0.7s; }
.deck__slide img { position: absolute; top: 24px; left: 24px; width: calc(100% - 48px); height: calc(100% - 24px); object-fit: contain; transform: scale(0.98); transition: transform 1.2s var(--ease-out); }
.deck__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease-out), visibility 0s; }
.deck__slide.is-active img { transform: none; }
.deck__bar { height: 64px; display: flex; align-items: center; justify-content: center; gap: 24px; flex: none; }
.deck__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color 0.3s ease, border-color 0.3s ease; }
.deck__arrow:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.deck__arrow[disabled] { opacity: 0.3; cursor: default; }
.deck__count { font-family: var(--display); letter-spacing: 0.24em; font-size: 0.82rem; color: var(--text-dim); min-width: 72px; text-align: center; }

/* ---------- Loading curtain ---------- */
body.is-loading .hero__content > *, body.is-loading .site-header { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .team__grid--4 { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 0.6fr minmax(320px, 1fr) 0.6fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .brand { width: 76px; }
  .nav { gap: 16px; }
  .nav a, .nav__cta { font-size: 0.7rem; letter-spacing: 0.16em; }
  .nav__cta { padding: 8px 12px !important; }

  .scene { min-height: 560px; }
  .copy, .copy--left, .copy--right, .copy--center {
    left: var(--gutter); right: var(--gutter); width: auto; transform: none;
    top: auto; bottom: 64px; translate: none; text-align: left;
  }
  .copy--centered { align-items: center; text-align: center; }
  .copy--high { top: auto; }
  .copy--glass, .copy--panel { padding: 22px; }
  .scene__shade--left, .scene__shade--right, .scene__shade--left-soft { background: linear-gradient(0deg, rgba(4,6,11,0.88) 0%, rgba(4,6,11,0.5) 38%, transparent 64%); }
  .copy--ink { color: var(--ink-text); }
  .scene--light::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(222,225,229,0.96) 0%, rgba(222,225,229,0.85) 34%, rgba(222,225,229,0) 58%); }
  .scene--light .copy { top: calc(var(--header-h) + 20px); bottom: auto; }
  .lede { font-size: 0.98rem; max-width: none; }
  .display { font-size: clamp(1.8rem, 7.6vw, 2.6rem); }
  .display .line { white-space: normal; }
  .display--sm { font-size: clamp(1.5rem, 6.4vw, 2.1rem); }

  .hero__content { right: auto; left: 50%; translate: -50% 0; top: auto; bottom: 120px; }
  .hero__logo img { max-width: 260px; }
  .scene__shade--hero { background: linear-gradient(0deg, rgba(4,6,11,0.85) 0%, rgba(4,6,11,0.4) 45%, transparent 70%); }

  .duo__caption--a { left: var(--gutter); bottom: 72px; }
  .dims__v, .dims__h, .dims__v-label, .dims__h-label { display: none; }
  .duo__layer--b .duo__caption--b { left: 71.4%; bottom: auto; }
  .scene--backpack .copy--right { width: auto; max-width: none; right: var(--gutter); }
  .scene--silent .copy { width: auto; left: var(--gutter); right: var(--gutter); bottom: 64px; }
  .scene--silent .scene__media img { object-position: 61% 50%; }

  .triptych { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); }
  .triptych__panel .tp-img { width: 100%; left: 0 !important; height: 100%; object-fit: cover; }
  .triptych__panel:nth-child(1) .tp-img { object-position: 15% 50%; }
  .triptych__panel:nth-child(2) .tp-img { object-position: 50% 50%; }
  .triptych__panel:nth-child(3) .tp-img { object-position: 85% 50%; }
  .triptych__label { bottom: 16px; }

  .mega { bottom: 72px; }

  .scene--patent .copy { bottom: 54px; }
  .equation { margin: 4px 0 14px; }
  .tagline { margin-bottom: 18px; }
  .rule-label { margin: 22px 0 12px; }

  .about { grid-template-columns: 1fr 1fr; grid-template-rows: auto 38vh; }
  .about__body { grid-column: 1 / -1; grid-row: 1; padding: calc(var(--header-h) + 40px) var(--gutter) 56px; }
  .about__img--l { grid-row: 2; grid-column: 1; }
  .about__img--r { grid-row: 2; grid-column: 2; }

  .team { padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
  .team__title { margin-bottom: 44px; }
  .team__grid--4 { grid-template-columns: 1fr; gap: 44px; }
  .supporters { margin-top: 64px; padding-top: 44px; }
  .supporters__logos { gap: 24px 36px; }

  .footer { grid-template-columns: 1fr; }
  .footer__img { min-height: 46svh; }
  .footer__body { padding: 56px var(--gutter) 40px; }

  .modal--deck .modal__panel { width: 94vw; height: auto; aspect-ratio: auto; }
  .deck { aspect-ratio: 16 / 9; flex: none; }
  .deck__slide img { top: 10px; left: 10px; width: calc(100% - 20px); height: calc(100% - 10px); }
  .disclaimer { bottom: 14px; font-size: 0.6rem; }
}

@media (max-width: 400px) {
  .nav { gap: 12px; }
  .nav a, .nav__cta { font-size: 0.64rem; letter-spacing: 0.12em; }
  .brand { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .duo__layer--b { clip-path: none; position: relative; }
}

/* reduced motion: stack the window/wall pair instead of the pinned wipe */
.reduced .scene--duo { height: auto; }
.reduced .duo__frame { position: relative; }
.reduced .duo__layer { position: relative; height: 100svh; clip-path: none !important; }
