/* ===== TTM - Liquid glass monochrome theme ===== */
:root {
  --bg: #f8f8f9;
  --bg-elevated: #ffffff;
  --bg-subtle: #f0f0f2;
  --text: #0a0a0a;
  --text-muted: #5c5c5c;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --gap: 10px;
  --font: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Russo One', sans-serif;
  --font-mono: 'JetBrains Mono', 'Ubuntu Mono', ui-monospace, monospace;
  --nav-h: 72px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
  --glass-white: rgba(255, 255, 255, 0.55);
  --glass-white-strong: rgba(255, 255, 255, 0.78);
  --glass-dark: rgba(12, 12, 14, 0.82);
  --glass-border: rgba(255, 255, 255, 0.42);
  --glass-border-dark: rgba(255, 255, 255, 0.12);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 120% 80% at 10% -20%, rgba(0, 0, 0, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 90% 110%, rgba(0, 0, 0, 0.025) 0%, transparent 45%),
    linear-gradient(180deg, #fafafa 0%, var(--bg) 40%, #f4f4f6 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* Keyboard focus. The site had 9 :focus-visible rules against 3 outline:none
   declarations, so tabbing through it was largely invisible. One ring, defined
   once, that inverts with the dark acts. */
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

@supports selector(:focus-visible) {
  a:focus:not(:focus-visible),
  button:focus:not(:focus-visible) { outline: none; }
}

.mono,
.data-readout {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Shared liquid-glass surface */
.glass-panel {
  background: var(--glass-white-strong);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), var(--glass-inset);
}

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.04);
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.85));
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  transition: width 0.08s linear;
}

/* ===== Page transitions ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #f8f8f9;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-out);
}

.page-transition--out {
  opacity: 0;
}

.page-transition--active {
  opacity: 1;
  pointer-events: all;
}

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  background: var(--glass-white-strong);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.nav__logo {
  display: flex; align-items: center; gap: 0.65rem;
  flex-shrink: 0;
  transition: opacity 0.25s;
}

.nav__logo:hover { opacity: 0.75; }

.nav__logo-img {
  height: 44px; width: auto;
  object-fit: contain;
  /* Logo is black line art - no invert on white background */
}

.nav__wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--text);
}

.nav__brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav__tagline {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
}

.nav__menu { display: flex; gap: 2.25rem; align-items: center; }
.nav__actions { display: flex; gap: 1.5rem; align-items: center; }

.nav__dropdown { position: relative; }

.nav__dropdown::before {
  content: '';
  position: absolute;
  left: -0.65rem;
  right: -0.65rem;
  top: 100%;
  height: 1rem;
  display: none;
}

.nav__dropdown-toggle {
  background: none;
  border: none;
  border-bottom: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0;
  text-decoration: none;
  box-shadow: none;
}

.nav__dropdown-toggle::after { content: none; display: none; }

.nav__dropdown-toggle:focus,
.nav__dropdown-toggle:focus-visible {
  outline: none;
  text-decoration: none;
  box-shadow: none;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 210px;
  background: var(--glass-white-strong);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition:
    opacity 180ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 180ms cubic-bezier(0.23, 1, 0.32, 1),
    visibility 180ms;
  z-index: 1001;
}

.nav__dropdown.is-open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .nav__dropdown::before { display: block; }

  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown:focus-within .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

.nav__dropdown-link {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s var(--ease-spring);
}

.nav__dropdown-link:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

.nav__dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0;
}

.nav__link {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text);
  position: relative; padding-bottom: 2px;
  transition: color 0.25s;
}

.nav__link:not(.nav__dropdown-toggle)::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--text);
  transition: width 0.35s var(--ease-out);
}

.nav__link:not(.nav__dropdown-toggle):hover::after { width: 100%; }

.nav__link--cta {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--glass-dark);
  color: #fff;
  border: 1px solid var(--glass-border-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(0);
  transition:
    background-color 220ms cubic-bezier(0.23, 1, 0.32, 1),
    color 220ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 220ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 220ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav__link--cta::after { display: none; }

@media (hover: hover) and (pointer: fine) {
  .nav__link--cta:hover {
    background: rgba(20, 20, 22, 0.94);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

.nav__link--cta:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 100ms;
}

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}

.nav__toggle span { width: 22px; height: 2px; background: var(--text); transition: transform 0.35s var(--ease-out), opacity 0.35s; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero - cinematic scroll pin ===== */
.hero-pin {
  position: relative;
  height: 320vh;
}

.hero-pin__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  perspective: 1600px;
}

/* Phase 0 - intro copy overlaid on the full-bleed slider, fades as it shrinks */
.hero-pin__intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  will-change: opacity, transform;
}

/* Mid-page product orbit - sits after the film stack */
.systems-orbit {
  padding-top: 6.5rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.hero-orbit {
  position: relative;
  width: 100%;
  height: min(78vh, 720px);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-orbit::before {
  content: '';
  position: absolute;
  inset: 6% 10%;
  background: radial-gradient(
    ellipse 58% 52% at 50% 48%,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(248, 248, 249, 0.55) 45%,
    transparent 76%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-orbit__ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-orbit__tile {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(72px, 9.5vw, 132px);
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(10, 10, 12, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 10px 28px rgba(10, 10, 12, 0.1),
    0 2px 6px rgba(10, 10, 12, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  z-index: 1;
  will-change: transform, opacity, box-shadow;
  animation: heroOrbitIn 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.28s + (var(--i, 0) * 0.07s));
  transition:
    box-shadow 0.45s var(--ease-out),
    border-color 0.35s var(--ease-out),
    z-index 0s;
}

.hero-orbit__tile.is-hot {
  z-index: 4;
  border-color: color-mix(in srgb, var(--orbit-color, #0a0a0a) 55%, transparent);
  box-shadow:
    0 18px 40px rgba(10, 10, 12, 0.16),
    0 0 0 1.5px color-mix(in srgb, var(--orbit-color, #0a0a0a) 40%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-orbit__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s var(--ease-out), filter 0.4s;
  filter: saturate(0.92) contrast(1.02);
}

.hero-orbit__img--logo {
  object-fit: contain;
  padding: 16%;
  background: #ffffff;
}

.hero-orbit__tile.is-hot .hero-orbit__img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.04);
}

.hero-orbit__center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: min(560px, 86vw);
  padding: 1.5rem 1.25rem;
  pointer-events: auto;
}

.hero-orbit__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.hero-orbit__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}

.hero-orbit__label {
  color: var(--text);
}

.hero-orbit__name {
  --orbit-color: #0a0a0a;
  display: inline-block;
  padding: 0.18em 0.48em 0.22em;
  border-radius: 14px;
  color: var(--orbit-color);
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--orbit-color) 22%, rgba(255, 255, 255, 0.82)) 0%,
      color-mix(in srgb, var(--orbit-color) 8%, rgba(255, 255, 255, 0.55)) 48%,
      color-mix(in srgb, var(--orbit-color) 14%, rgba(255, 255, 255, 0.4)) 100%
    );
  backdrop-filter: blur(18px) saturate(1.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.55);
  border: 1px solid color-mix(in srgb, var(--orbit-color) 28%, rgba(255, 255, 255, 0.7));
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--orbit-color) 18%, transparent),
    0 1px 2px rgba(10, 10, 12, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 color-mix(in srgb, var(--orbit-color) 12%, transparent);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    color 0.45s var(--ease-out),
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    transform 0.45s var(--ease-spring),
    opacity 0.35s var(--ease-out);
  will-change: transform, opacity, color, background;
}

.hero-orbit__name.is-swap {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

.hero-orbit__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 1.5rem;
}

.hero-orbit__center .hero__actions {
  justify-content: center;
}

@keyframes heroOrbitIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 860px) {
  .systems-orbit {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .hero-orbit {
    height: auto;
    min-height: 0;
    flex-direction: column;
    gap: 1.75rem;
    padding: 0 1.25rem;
  }

  .hero-orbit::before { display: none; }

  .hero-orbit__ring {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    width: min(100%, 420px);
    order: 2;
  }

  .hero-orbit__tile {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none !important;
    opacity: 1 !important;
    animation: none;
    border-radius: 12px;
  }

  .hero-orbit__center {
    order: 1;
    padding: 0.5rem 0 0;
  }

  .hero-orbit__title {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
  }

  .hero-orbit__name {
    border-radius: 12px;
  }
}

/* The card that shrinks, tilts, and slides aside - wraps the untouched slider */
/* WebGL hero stage (hero3d.js). Only shown once the context, shaders and
   textures are all up; until then - and on mobile, under reduced motion, or
   after a lost context - the DOM card below stays in charge. */
.hero-gl {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  pointer-events: none;
}

.hero-pin__viewport--gl .hero-gl { display: block; }

/* Kept in the document so the slideshow keeps cycling classes for the GL
   stage to mirror, and so the <img> textures stay resident. */
.hero-pin__viewport--gl .hero-card { display: none; }

/* ===== AWARD-6 BEGIN - revert by deleting this whole block ===== */
/* HUD designation plate - corner brackets + mono, no Material card. */
.hero-award-callout {
  --hud-ink: rgba(10, 10, 12, 0.92);
  --hud-mute: rgba(10, 10, 12, 0.48);
  --hud-line: rgba(10, 10, 12, 0.55);
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(5.5rem, 12vh, 8rem);
  z-index: 4;
  width: min(240px, 42vw);
  padding: 0.85rem 1rem 0.9rem;
  display: grid;
  gap: 0.35rem;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: 100% 100%;
  clip-path: inset(0 100% 0 0);
  will-change: transform, opacity, clip-path;
}

.hero-award-callout.is-left { transform-origin: 0% 100%; }

.hero-award-callout__bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.hero-award-callout__bracket--tl {
  top: 0; left: 0;
  border-top: 1.5px solid var(--hud-line);
  border-left: 1.5px solid var(--hud-line);
}
.hero-award-callout__bracket--tr {
  top: 0; right: 0;
  border-top: 1.5px solid var(--hud-line);
  border-right: 1.5px solid var(--hud-line);
}
.hero-award-callout__bracket--bl {
  bottom: 0; left: 0;
  border-bottom: 1.5px solid var(--hud-line);
  border-left: 1.5px solid var(--hud-line);
}
.hero-award-callout__bracket--br {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid var(--hud-line);
  border-right: 1.5px solid var(--hud-line);
}

.hero-award-callout__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(10, 10, 12, 0.35);
  opacity: 0;
  pointer-events: none;
  animation: hudScan 2.4s linear infinite;
}

.hero-award-callout.is-on .hero-award-callout__scan { opacity: 1; }

@keyframes hudScan {
  from { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.85; }
  88% { opacity: 0.85; }
  to { transform: translateY(118px); opacity: 0; }
}

.hero-award-callout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hud-mute);
}

.hero-award-callout__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--hud-ink);
}
.hero-award-callout__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hud-ink);
  box-shadow: 0 0 0 0 rgba(10, 10, 12, 0.35);
  animation: hudPulse 1.6s ease-out infinite;
}
@keyframes hudPulse {
  0% { box-shadow: 0 0 0 0 rgba(10, 10, 12, 0.35); }
  70% { box-shadow: 0 0 0 7px rgba(10, 10, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 10, 12, 0); }
}

.hero-award-callout__label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hud-mute);
  margin-top: 0.15rem;
}

.hero-award-callout__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--hud-ink);
  text-transform: uppercase;
  min-height: 1.1em;
  overflow: hidden;
}
.hero-award-callout__name .hud-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
}
.hero-award-callout.is-on .hero-award-callout__name .hud-ch {
  animation: hudCharIn 0.45s var(--ease-out) forwards;
  animation-delay: calc(0.12s + var(--ci, 0) * 0.028s);
}
@keyframes hudCharIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-award-callout__rule {
  display: block;
  height: 1px;
  width: 100%;
  margin: 0.2rem 0 0.15rem;
  background: linear-gradient(90deg, var(--hud-line), transparent 92%);
  transform-origin: left center;
  transform: scaleX(0);
}
.hero-award-callout.is-on .hero-award-callout__rule {
  animation: hudRuleIn 0.55s 0.18s var(--ease-out) forwards;
}
.hero-award-callout.is-left .hero-award-callout__rule {
  background: linear-gradient(270deg, var(--hud-line), transparent 92%);
  transform-origin: right center;
}
@keyframes hudRuleIn {
  to { transform: scaleX(1); }
}

.hero-award-callout__foot {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-award-callout__phase { color: var(--hud-mute); }
.hero-award-callout__meta {
  color: var(--hud-ink);
  position: relative;
  overflow: hidden;
}
.hero-award-callout__meta.is-swap {
  animation: hudMetaFlash 0.35s var(--ease-out);
}
@keyframes hudMetaFlash {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* AWARD-6:#6 - product first; chrome waits for .award-chrome-in */
html.award-product-first .hero-animate {
  animation: none;
  opacity: 0;
  transform: translateY(36px);
}
html.award-product-first.award-chrome-in .hero-animate {
  animation: heroReveal 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.05s + (var(--i, 0) * 0.11s));
}
html.award-product-first .hero__scroll {
  animation: none;
  opacity: 0;
}
html.award-product-first.award-chrome-in .hero__scroll {
  animation: fadeIn 0.9s 0.55s var(--ease-out) forwards;
}
html.award-product-first .hero__dots {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out) 0.7s;
}
html.award-product-first.award-chrome-in .hero__dots { opacity: 1; }

@media (max-width: 860px) {
  .hero-award-callout { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.award-product-first .hero-animate,
  html.award-product-first.award-chrome-in .hero-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }
  html.award-product-first .hero__scroll,
  html.award-product-first.award-chrome-in .hero__scroll,
  html.award-product-first .hero__dots,
  html.award-product-first.award-chrome-in .hero__dots {
    opacity: 1;
    animation: none;
  }
  .hero-award-callout__scan,
  .hero-award-callout__live i { animation: none; }
  .hero-award-callout.is-on .hero-award-callout__name .hud-ch {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-award-callout.is-on .hero-award-callout__rule {
    animation: none;
    transform: scaleX(1);
  }
}
/* ===== AWARD-6 END ===== */

.hero-card {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: 50% 50%;
  will-change: transform;
}

.hero-card__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 0px;
}

.hero-card__border {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 0px;
  border: 1.5px solid rgba(10, 10, 12, 0.55);
  box-shadow:
    0 40px 90px -24px rgba(10, 10, 12, 0.45),
    0 14px 32px rgba(10, 10, 12, 0.16);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.hero-card__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.hero-card__corner--tl { top: -1.5px; left: -1.5px; border-top: 1.5px solid rgba(10, 10, 12, 0.65); border-left: 1.5px solid rgba(10, 10, 12, 0.65); border-top-left-radius: 4px; }
.hero-card__corner--tr { top: -1.5px; right: -1.5px; border-top: 1.5px solid rgba(10, 10, 12, 0.65); border-right: 1.5px solid rgba(10, 10, 12, 0.65); border-top-right-radius: 4px; }
.hero-card__corner--bl { bottom: -1.5px; left: -1.5px; border-bottom: 1.5px solid rgba(10, 10, 12, 0.65); border-left: 1.5px solid rgba(10, 10, 12, 0.65); border-bottom-left-radius: 4px; }
.hero-card__corner--br { bottom: -1.5px; right: -1.5px; border-bottom: 1.5px solid rgba(10, 10, 12, 0.65); border-right: 1.5px solid rgba(10, 10, 12, 0.65); border-bottom-right-radius: 4px; }

/* Ghost sheets fanned out behind the frame - hairline-bordered glass panels
   drifted diagonally by JS as the card shrinks, then parallaxed by the mouse.
   NOTE: children of .hero-card render smaller once shrunk, so border
   widths, fonts, and pattern spacings here are authored larger than their
   intended on-screen size. */
.hero-card__layer {
  position: absolute;
  inset: 0;
  border: 3px solid rgba(10, 10, 12, 0.26);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-card__layer-1 {
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 60%);
}

.hero-card__layer-2 {
  z-index: 0;
  background: rgba(255, 255, 255, 0.16);
  background-image:
    repeating-linear-gradient(0deg, rgba(20, 20, 22, 0.07) 0 3px, transparent 3px 96px),
    repeating-linear-gradient(90deg, rgba(20, 20, 22, 0.07) 0 3px, transparent 3px 96px);
}

/* Front glass plate - same depth as before, without schematic outlines */
.hero-card__glass {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 3px solid rgba(10, 10, 12, 0.3);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03) 55%);
  backdrop-filter: blur(1.5px) saturate(1.1);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.1);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Phase 2 - side copy that rises in as the card slides aside.
   Visibility is driven entirely by the text masks inside (see below) -
   this wrapper just gates hit-testing once JS takes over on desktop. */
.hero-pin__reveal {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  will-change: opacity, transform;
}

.hero-pin__reveal-inner {
  max-width: min(440px, 34vw);
}

/* Phase 3 - mirror composition: card swings to the other side for a second beat */
.hero-pin__reveal--alt {
  justify-content: flex-end;
}

.hero-pin__reveal-desc {
  margin: 1rem 0 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
}

/* Staggered text masking - each word/line sits in an overflow:hidden mask
   and is translated up from below while fading in, driven by JS per-word
   so the headline cascades in rather than fading as one flat block. */
.reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.reveal-mask--block {
  display: block;
  width: 100%;
}

.reveal-mask__el {
  display: inline-block;
  transform: translateY(0);
  opacity: 1;
  will-change: transform, opacity;
}

.reveal-mask--block .reveal-mask__el {
  display: block;
}

@media (max-width: 860px) {
  .hero-pin { height: auto; }

  .hero-pin__viewport {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    perspective: none;
  }

  .hero-pin__intro,
  .hero-card,
  .hero-pin__reveal {
    transform: none !important;
  }

  /* Stacked fallback: intro copy, then the framed slider, then the reveal copy -
     all in normal flow instead of the desktop pin/shrink/slide choreography. */
  .hero-pin__intro {
    position: relative;
    inset: auto;
    display: block;
    padding: calc(var(--nav-h) + 1.75rem) 0 2.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hero-pin__intro .hero__scroll { display: none; }

  .hero-pin__intro .hero__dots {
    position: static;
    justify-content: center;
    margin: 2rem auto 0;
    width: fit-content;
  }

  .hero-card {
    position: relative;
    inset: auto;
    height: min(72vw, 520px);
    margin: 0 1.25rem 3rem;
    border-radius: 18px;
  }

  .hero-card .hero__overlay { display: none; }

  .hero-card__layer,
  .hero-card__glass { display: none; }

  .hero-card__frame { border-radius: 18px; }

  .hero-card__border {
    display: block;
    border-radius: 18px;
    opacity: 1 !important;
  }

  .hero-pin__reveal {
    position: relative;
    inset: auto;
    display: block;
    padding: 0 0 4.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hero-pin__reveal--alt {
    border-top: 1px solid var(--border);
    padding-top: 2.75rem;
  }

  .hero-pin__reveal-inner { max-width: 640px; }

  .reveal-mask,
  .reveal-mask__el {
    transform: none !important;
    opacity: 1 !important;
    overflow: visible;
  }
}

.hero__spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 35%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.hero-pin__viewport:hover .hero__spotlight,
.hero-pin__viewport:focus-within .hero__spotlight {
  opacity: 1;
}

.hero__media { position: absolute; inset: 0; will-change: transform; }

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide,
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}

.hero__slide--active {
  opacity: 1;
}

.hero__slide:first-child.hero__slide--active {
  animation: heroZoom 1.2s var(--ease-out) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0.9) 28%, rgba(255,255,255,0.25) 100%);
}

.hero__content { position: relative; z-index: 2; width: 100%; }

.hero-animate {
  opacity: 0;
  transform: translateY(36px);
  animation: heroReveal 0.85s var(--ease-out) forwards;
  animation-delay: calc(0.15s + (var(--i, 0) * 0.12s));
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display); font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.95; letter-spacing: 0.02em; margin-bottom: 1rem;
}

.hero__subtitle { font-size: 1.0625rem; color: var(--text-muted); max-width: 480px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; z-index: 1;
  animation: fadeIn 1s 1s var(--ease-out) forwards;
  opacity: 0;
}

@keyframes fadeIn { to { opacity: 1; } }

.hero__scroll span { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }

.hero__scroll-line {
  width: 2px; height: 48px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  border-radius: var(--radius-pill);
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__dots {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
  padding: 0.5rem 0.75rem;
  background: var(--glass-white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s var(--ease-spring), background 0.3s, width 0.3s var(--ease-out);
}

.hero__dot:hover {
  background: rgba(0, 0, 0, 0.35);
  transform: scale(1.15);
}

.hero__dot--active {
  width: 22px;
  border-radius: var(--radius-pill);
  background: var(--text);
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ===== Arsenal mosaic (Anduril-style layout, TTM light theme) ===== */
.arsenal {
  padding: 3.25rem 0 0;
  background: transparent;
  color: var(--text);
}

.arsenal__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.35rem;
}

.arsenal__intro .section__title {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
}

.arsenal__lead {
  margin: 0.65rem 0 0;
  max-width: 46ch;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.arsenal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.arsenal__compare {
  flex-shrink: 0;
}

.arsenal__mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, minmax(280px, 34vh));
  gap: 4px;
  padding: 0;
  width: 100%;
  background: transparent;
}

.arsenal-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-subtle);
  border-radius: 0;
  border: none;
  box-shadow: none;
  min-height: 280px;
  transition: box-shadow 0.4s var(--ease-out);
}

.arsenal-tile:hover {
  z-index: 2;
}

/* Desktop mosaic:
   [ Beaver     ][ SPEAR        ]
   [ Beaver     ][ T-90M ][MK47 ]
   [ M4A1 ][ MP7 ][ AN94 ][Ruger] */
.arsenal-tile--beaver { grid-area: 1 / 1 / 3 / 3; }
.arsenal-tile--spear  { grid-area: 1 / 3 / 2 / 5; }
.arsenal-tile--t90m   { grid-area: 2 / 3 / 3 / 4; }
.arsenal-tile--mk47   { grid-area: 2 / 4 / 3 / 5; }
.arsenal-tile--m4a1   { grid-area: 3 / 1 / 4 / 2; }
.arsenal-tile--mp7    { grid-area: 3 / 2 / 4 / 3; }
.arsenal-tile--an94   { grid-area: 3 / 3 / 4 / 4; }
.arsenal-tile--ruger  { grid-area: 3 / 4 / 4 / 5; }

.arsenal-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.9s var(--ease-out), filter 0.5s;
  filter: saturate(0.95) contrast(1.05);
}

.arsenal-tile:hover .arsenal-tile__img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.08);
}

/* Beaver tile - a CAD grab that ships with its own white background. Left on
   a gradient it read as a screenshot pasted into the tile, with a visible seam
   where the image ended. Multiply drops the white out so the receiver sits on
   the tile's own ground like the studio renders beside it. */
.arsenal-tile__img--cad {
  object-fit: contain;
  padding: 2.25rem 1.75rem;
  filter: none;
  mix-blend-mode: multiply;
  background: transparent;
}

.arsenal-tile--beaver {
  background: linear-gradient(168deg, #fdfdfe 0%, #ececed 58%, #dedee2 100%);
}

.arsenal-tile:hover .arsenal-tile__img--cad {
  filter: none;
}

.arsenal-tile__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arsenal-tile__media--dev {
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255, 255, 255, 0.95), transparent 60%),
    linear-gradient(160deg, #f4f4f6 0%, #e8e8ec 100%);
}

.arsenal-tile__logo {
  width: min(38%, 220px);
  opacity: 0.92;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.1));
  transition: transform 0.7s var(--ease-out);
}

.arsenal-tile:hover .arsenal-tile__logo {
  transform: scale(1.06);
}

.arsenal-tile__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 55%), rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.12) 45%, transparent 70%);
  transition: background 0.4s var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
}

.arsenal-tile:hover .arsenal-tile__overlay {
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 55%), rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.22) 50%, transparent 75%);
}

.arsenal-tile--beaver .arsenal-tile__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
}

.arsenal-tile--beaver:hover .arsenal-tile__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.08) 55%, transparent 75%);
}

.arsenal-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.75rem 1.85rem;
  color: #fff;
}

.arsenal-tile__meta {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.35rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.arsenal-tile:hover .arsenal-tile__meta {
  opacity: 1;
  transform: translateY(0);
}

.arsenal-tile__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  letter-spacing: 0.05em;
  line-height: 1.05;
  font-weight: 400;
}

.arsenal-tile--beaver .arsenal-tile__name {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.arsenal-tile--spear .arsenal-tile__name {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.product-badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--glass-dark);
  color: #fff;
}

.product-badge--dev {
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.product-badge--flagship {
  background: var(--glass-dark);
  color: #fff;
}

@media (max-width: 1024px) {
  .arsenal__mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: minmax(260px, 42vw);
  }
  .arsenal-tile--beaver,
  .arsenal-tile--spear,
  .arsenal-tile--t90m,
  .arsenal-tile--mk47,
  .arsenal-tile--m4a1,
  .arsenal-tile--mp7,
  .arsenal-tile--an94,
  .arsenal-tile--ruger {
    grid-area: auto;
  }
  .arsenal-tile--beaver {
    grid-column: 1 / -1;
    min-height: 420px;
  }
  .arsenal-tile--spear,
  .arsenal-tile--m4a1 {
    grid-column: span 2;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .arsenal { padding-top: 2.5rem; }
  .arsenal__mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(260px, 62vw);
    gap: 3px;
  }
  .arsenal-tile,
  .arsenal-tile--beaver,
  .arsenal-tile--spear,
  .arsenal-tile--m4a1 {
    grid-column: auto;
    min-height: 280px;
  }
  .arsenal-tile__label { padding: 1.35rem 1.25rem; }
  .arsenal-tile__meta { opacity: 0.75; transform: none; }
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section__eyebrow { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.section__title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: 0.03em; line-height: 1.05; }
.section__header { margin-bottom: 2.5rem; }

.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in--left {
  transform: translateX(-32px);
}

.animate-in--left.visible {
  transform: translateX(0);
}

.animate-in--scale {
  transform: scale(0.96);
}

.animate-in--scale.visible {
  transform: scale(1);
}

/* ===== Merch strip ===== */
.mission-strip { padding: 4rem 0; }

.merch-strip {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 2.75rem 2rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.merch-strip__eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.merch-strip__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

/* ===== About ===== */
.about--film {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7rem 0;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
  background: #0b0c0e;
}

.about__video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 145%;
  height: 145%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.about__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.78) 0%, rgba(10, 11, 13, 0.5) 36%, rgba(10, 11, 13, 0.16) 68%, rgba(10, 11, 13, 0.08) 100%);
}

.about--film .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.about__panel {
  max-width: 42rem;
  padding: 2rem 2.15rem 2.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 24px 56px rgba(0, 0, 0, 0.28);
}

.about--film .section__eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.about__title {
  color: #fff;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 0.98;
  max-width: 14em;
}

.about__title--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.02em;
  max-width: none;
}

.about__you {
  font-family: 'Shadows Into Light', cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.15;
  padding-bottom: 0.12em;
  font-size: 1.2em;
  color: #fff;
}

.about--film .about__lead {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 1rem 0 1.35rem;
  max-width: 54ch;
}

.about__points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 480px;
}

.about__points li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.35rem;
  font-size: 0.8425rem;
  color: #c9c9cd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about__points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #fff;
}

@media (max-width: 1024px) {
  .about--film { padding: 5rem 0; min-height: 88vh; }
}

@media (max-width: 640px) {
  .about--film { min-height: 100svh; }
  .about__panel { padding: 1.5rem 1.25rem 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .about__video { display: none; }
}

/* Three film plates: about holds, fit covers, field covers, then the rest. */
.film-stack {
  --cover-a: 0;
  --cover-b: 0;
  position: relative;
}

.film-stack__track {
  height: 390vh;
}

.film-stack__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: #0b0c0e;
}

.film-stack .about--film {
  min-height: 100%;
  height: 100%;
  padding: 7rem 0;
}

.film-stack__base {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translate3d(0, calc(var(--cover-a) * -2.5%), 0) scale(calc(1 - var(--cover-a) * 0.055));
  transform-origin: center center;
  opacity: calc(1 - var(--cover-a) * 0.2);
}

.film-stack__sheet {
  position: absolute;
  inset: 0;
  z-index: 2;
  min-height: 100%;
  height: 100%;
  will-change: transform;
}

.film-stack__sheet:not(.film-stack__sheet--field) {
  transform: translate3d(calc(var(--cover-b) * -4%), calc((1 - var(--cover-a)) * 100%), 0) scale(calc(1 - var(--cover-b) * 0.04));
  opacity: calc(1 - var(--cover-b) * 0.35);
  box-shadow: 0 -2.25rem 3.5rem rgba(0, 0, 0, calc(var(--cover-a) * 0.42 * (1 - var(--cover-b))));
}

.film-stack__sheet--field {
  z-index: 3;
  transform:
    translate3d(calc((1 - var(--cover-b)) * -100%), 0, 0)
    scale(calc(0.94 + var(--cover-b) * 0.06));
  box-shadow: 2.5rem 0 4rem rgba(0, 0, 0, calc(var(--cover-b) * 0.35));
}

.film-stack .field-band {
  min-height: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.film-stack .field-band__content {
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 7rem 0;
}

.film-stack__base .about__panel {
  opacity: calc(1 - var(--cover-a) * 1.45);
  transform: translateY(calc(var(--cover-a) * -14px));
}

.film-stack__sheet:not(.film-stack__sheet--field) .about__panel {
  opacity: calc(clamp(0, calc((var(--cover-a) - 0.52) / 0.3), 1) * (1 - var(--cover-b) * 1.45));
  transform: translate3d(calc(var(--cover-b) * -12px), calc((1 - clamp(0, calc((var(--cover-a) - 0.52) / 0.3), 1)) * 22px), 0);
}

.film-stack__sheet--field .field-band__panel {
  opacity: clamp(0, calc((var(--cover-b) - 0.42) / 0.32), 1);
  transform: translate3d(calc((1 - clamp(0, calc((var(--cover-b) - 0.42) / 0.32), 1)) * -28px), 0, 0);
}

.film-stack--settled .film-stack__sheet,
.film-stack--settled .film-stack__base {
  will-change: auto;
}

@media (max-width: 1024px) {
  .film-stack .about--film { padding: 5rem 0; }
  .film-stack .field-band__content { padding: 5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .film-stack__track { height: auto; }
  .film-stack__pin {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .film-stack__base,
  .film-stack__sheet {
    position: relative;
    height: auto;
    min-height: 88vh;
    transform: none;
    opacity: 1;
    box-shadow: none;
  }
  .film-stack .about--film,
  .film-stack .field-band { min-height: 88vh; height: auto; }
  .film-stack__base .about__panel,
  .film-stack__sheet:not(.film-stack__sheet--field) .about__panel,
  .film-stack__sheet--field .field-band__panel {
    opacity: 1;
    transform: none;
  }
}

/* ===== Workshop ===== */
.workshop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.workshop__item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-spring);
}
.workshop__item::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 22, 28, 0.06), rgba(18, 22, 28, 0.26)),
    radial-gradient(circle at 30% 20%, rgba(120, 150, 180, 0.1), transparent 55%);
  mix-blend-mode: multiply;
}
.workshop__item:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}
.workshop__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.96);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.workshop__item:hover img {
  transform: scale(1.07);
  filter: saturate(0.9) contrast(1.06) brightness(1);
}

/* ===== Field band ===== */
.field-band {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.field-band__bg { position: absolute; inset: 0; }
.field-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
  transform: scale(1.08);
  animation: fieldDrift 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes fieldDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.4%, 1%, 0); }
}
.field-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.35) 48%, rgba(255, 255, 255, 0.02) 100%);
}
.field-band__content { position: relative; z-index: 1; padding: 5rem 0; }
.field-band__panel {
  position: relative;
  max-width: 560px;
  padding: 2.5rem 2.65rem 2.75rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 60px rgba(10, 10, 12, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}
/* refraction edge along the top of the glass */
.field-band__panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.95) 70%, transparent);
  pointer-events: none;
}
.field-band__desc { color: var(--text-muted); margin: 1rem 0 2rem; line-height: 1.7; }
.field-band__caption {
  display: block;
  margin-top: 1.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(10, 10, 12, 0.1);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Process ===== */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process__step {
  padding: 1.5rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.3s;
}

.process__step:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}
.process__step h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.4rem; }
.process__step p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; }

/* ===== Team ===== */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team__card {
  text-align: center;
  transition: transform 0.4s var(--ease-out);
}

.team__card:hover { transform: translateY(-6px); }

.team__photo {
  aspect-ratio: 1; overflow: hidden; margin-bottom: 1rem; background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-spring);
}

.team__card:hover .team__photo {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.team__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(35%);
  transform: scale(1.02);
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.team__card:hover .team__photo img { transform: scale(1.04); }

.team__photo--private {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.team__photo--private::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.team__name { font-size: 0.9375rem; font-weight: 600; }
.team__role { font-size: 0.75rem; color: var(--text-muted); margin: 0.2rem 0 0.4rem; }
.team__desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.45; }

/* ===== Careers ===== */
.careers__banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 2.5rem 2.65rem;
  margin-bottom: 1.75rem;
  background:
    radial-gradient(ellipse 55% 120% at 92% 0%, rgba(0, 0, 0, 0.045), transparent 60%),
    var(--glass-white-strong);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm), var(--glass-inset);
  overflow: hidden;
}
/* faint engineering grid behind the banner copy */
.careers__banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 12, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 12, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 60% 130% at 100% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 130% at 100% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.careers__banner > * { position: relative; }
.careers__intro { color: var(--text-muted); margin-top: 0.5rem; max-width: 520px; }

.careers__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.careers__step {
  position: relative;
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs), var(--glass-inset);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.careers__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm), var(--glass-inset);
}
/* connector between steps */
.careers__step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -0.85rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.55;
  z-index: 1;
}

.careers__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.careers__step h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.careers__step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.careers__email-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.careers__email-note a {
  text-decoration: underline;
  font-weight: 500;
}

.careers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.career-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.75rem 1.5rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs), var(--glass-inset);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
/* light sweep across the glass on hover */
.career-card::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55) 50%, transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.career-card:hover::after {
  opacity: 1;
  animation: cardSheen 0.9s var(--ease-out);
}
@keyframes cardSheen {
  from { left: -70%; }
  to { left: 130%; }
}

.career-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--glass-inset);
}

/* staggered entrance for the four role cards */
.careers__grid .career-card:nth-child(2) { transition-delay: 0.08s; }
.careers__grid .career-card:nth-child(3) { transition-delay: 0.16s; }
.careers__grid .career-card:nth-child(4) { transition-delay: 0.24s; }
.careers__grid .career-card.visible { transition-delay: 0s; }
.careers__grid .career-card.visible:nth-child(2) { transition-delay: 0.08s; }
.careers__grid .career-card.visible:nth-child(3) { transition-delay: 0.16s; }
.careers__grid .career-card.visible:nth-child(4) { transition-delay: 0.24s; }
.careers__grid .career-card.visible:hover { transition-delay: 0s; }

.career-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.career-card__tag {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.career-card__loc {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.career-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.35rem; }
.career-card p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.9rem; }

.career-card__reqs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.career-card__reqs li {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.25rem 0 0.25rem 1rem;
  position: relative;
  line-height: 1.45;
}

.career-card__reqs li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--text);
}

.career-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
}
.career-card__cta i {
  font-style: normal;
  transition: transform 0.35s var(--ease-spring);
}
.career-card:hover .career-card__cta i { transform: translateX(5px); }

/* ===== FAQ ===== */
.faq__list { max-width: 720px; }
.faq__item {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  margin-bottom: 0.4rem;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.faq__item:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--border);
}

.faq__item.is-open {
  background: var(--glass-white);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.faq__trigger {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.15rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius-md);
  transition: padding 0.3s var(--ease-out);
}

.faq__item.is-open .faq__trigger { padding-bottom: 0.65rem; }
.faq__trigger::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.25s;
}
.faq__item.is-open .faq__trigger::after {
  transform: rotate(45deg);
  color: var(--text);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.15rem;
  transition: max-height 0.35s ease;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.faq__item.is-open .faq__answer { max-height: 200px; padding-bottom: 1.2rem; }
.faq__answer a { text-decoration: underline; text-underline-offset: 2px; }

/* ===== Contact ===== */
.contact__success {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.contact__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact__text { color: var(--text-muted); margin: 0.75rem 0 1.5rem; }
.contact__link { display: block; font-weight: 500; margin-bottom: 0.5rem; transition: opacity 0.2s; }
.contact__link:hover { opacity: 0.6; }
.contact__form {
  padding: 2rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact__form-row { margin-bottom: 1rem; }
.contact__form-row label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--text-muted); }
.contact__form-row input,
.contact__form-row textarea,
.contact__form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-spring);
}

.contact__form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c5c5c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  color: var(--text);
}

.contact__form-row input:hover,
.contact__form-row textarea:hover,
.contact__form-row select:hover {
  border-color: var(--border-strong);
}

.contact__form-row input:focus,
.contact__form-row textarea:focus,
.contact__form-row select:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06), var(--shadow-sm);
  transform: translateY(-1px);
}

/* ===== Buttons - liquid glass ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background 0.35s, color 0.35s;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    rgba(255, 255, 255, 0.35) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 0;
}

.btn:hover::before { opacity: 1; }

.btn > * { position: relative; z-index: 1; }

.btn--primary {
  background: var(--glass-dark);
  color: #fff;
  border: 1px solid var(--glass-border-dark);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn--outline {
  background: var(--glass-white);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.btn--outline:hover {
  background: var(--glass-white-strong);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.btn--outline:active {
  transform: translateY(-1px) scale(0.99);
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
}

.footer__top { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.footer__logo {
  display: flex; align-items: center; gap: 0.5rem;
}

.footer__logo img { height: 36px; width: auto; object-fit: contain; }
.footer__cols { display: flex; gap: 3rem; }
.footer__col h4 { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.footer__col a { display: block; font-size: 0.875rem; margin-bottom: 0.4rem; transition: opacity 0.2s, transform 0.2s; }
.footer__col a:hover { opacity: 0.65; transform: translateX(2px); }
.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.footer__bottom p { font-size: 0.75rem; color: var(--text-muted); }
.footer__bottom .footer__disclaimer { flex-basis: 100%; }

.wallet-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.82;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.wallet-btn:hover { opacity: 1; transform: translateY(-1px); }
.wallet-btn img { display: block; }
.footer__disclaimer {
  margin-top: 0.55rem;
  font-size: 0.58rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(107, 107, 115, 0.72);
  max-width: 62ch;
}

/* Moved off the left gutter: the stage's data plate and closing statement both
   live there now, and a saturated blurple puck sat straight on top of them. */
.chat-widget {
  position: fixed; bottom: 1.75rem; right: 1.75rem; width: 46px; height: 46px;
  border-radius: 50%;
  background: #5865f2;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center; z-index: 900;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.chat-widget:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 36px rgba(88, 101, 242, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ===== Product pages ===== */
body.subpage { padding-top: var(--nav-h); }

.product-hero {
  position: relative;
  padding: 3.5rem 0 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 55% 75% at 22% 30%, rgba(0, 0, 0, 0.035), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 55%);
  overflow: hidden;
}
/* faint engineering grid behind the render */
.product-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 12, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 12, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 55% 80% at 25% 40%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 25% 40%, #000 25%, transparent 72%);
  pointer-events: none;
}

.product-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 3.5rem;
}

.product-hero__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.95), transparent 55%),
    var(--bg-subtle);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: productFloat 7s ease-in-out infinite;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.product-hero__img:hover {
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
@keyframes productFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.product-hero__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.95), rgba(236,236,238,0.9));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px dashed var(--border-strong);
  position: relative;
}

.product-hero__placeholder-logo {
  width: min(40%, 140px);
  opacity: 0.8;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.08));
}

.product-hero__placeholder .product-badge {
  position: static;
}

.product-prose {
  max-width: 760px;
  color: var(--text-muted);
  line-height: 1.75;
}

.product-prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}

.product-prose ul {
  list-style: none;
  margin: 1rem 0;
}

.product-prose ul li {
  padding: 0.5rem 0 0.5rem 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.product-prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text);
}

.product-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-style: italic;
  color: var(--text);
}

.product-quote p { margin: 0; }

.product-hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0.75rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  max-width: 46ch;
  line-height: 1.8;
}

.product-hero__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

@media (min-width: 1024px) {
  .product-gallery:has(.product-gallery__item:nth-child(5)) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-gallery__item {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.95), transparent 55%),
    var(--bg-subtle);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}

/* staggered reveal once the gallery wrapper becomes visible */
.product-gallery.animate-in .product-gallery__item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out), box-shadow 0.45s;
}
.product-gallery.animate-in.visible .product-gallery__item {
  opacity: 1;
  transform: translateY(0);
}
.product-gallery.animate-in.visible .product-gallery__item:nth-child(2) { transition-delay: 0.08s; }
.product-gallery.animate-in.visible .product-gallery__item:nth-child(3) { transition-delay: 0.16s; }
.product-gallery.animate-in.visible .product-gallery__item:nth-child(4) { transition-delay: 0.24s; }
.product-gallery.animate-in.visible .product-gallery__item:nth-child(5) { transition-delay: 0.32s; }
.product-gallery.animate-in.visible .product-gallery__item:nth-child(6) { transition-delay: 0.4s; }
.product-gallery.animate-in.visible .product-gallery__item:hover {
  transform: translateY(-5px);
  transition-delay: 0s;
}

.product-gallery__item::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55) 50%, transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.product-gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.product-gallery__item:hover::after {
  opacity: 1;
  animation: cardSheen 0.9s var(--ease-out);
}

.product-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.85rem;
  transition: transform 0.6s var(--ease-out);
}
.product-gallery__item:hover img { transform: scale(1.05); }

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.specs-block {
  padding: 1.5rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs), var(--glass-inset);
}

.specs-block h3 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.specs-list li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.specs-block p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.section--subtle {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.section__lead {
  max-width: 52ch;
  margin: 0.75rem auto 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section__header .section__lead { margin-left: 0; margin-right: 0; }

/* ===== TTM Beaver program hub ===== */
.beaver-hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.beaver-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 0, 0, 0.04), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(0, 0, 0, 0.03), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
  pointer-events: none;
}

.beaver-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.beaver-hero__visual { display: flex; flex-direction: column; gap: 1rem; }

.beaver-hero__placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.98), rgba(228, 228, 232, 0.92));
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.beaver-hero__silhouette {
  position: absolute;
  inset: 12% 8% 10%;
  border-radius: 6px;
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.14) 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.beaver-hero__logo {
  position: relative;
  z-index: 1;
  width: min(36%, 120px);
  opacity: 0.75;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.08));
}

.beaver-hero__visual-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.beaver-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--glass-white-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}

.beaver-hero__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.35);
  animation: beaverLivePulse 2s ease infinite;
}

@keyframes beaverLivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(0, 0, 0, 0); }
}

.beaver-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0.35rem 0 0;
}

.beaver-hero__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0.65rem 0 1.25rem;
}

.beaver-hero__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 54ch;
}

.beaver-hero__phase {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.beaver-hero__phase-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.beaver-hero__phase-value {
  font-size: 0.875rem;
  font-weight: 600;
}

.beaver-hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}

.beaver-hero__stats li {
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.beaver-hero__stat-k {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.beaver-hero__stat-v {
  font-size: 0.8125rem;
  font-weight: 600;
}

.beaver-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Beaver program - content always paints; only items animate in */
.beaver-pillars,
.beaver-roadmap {
  min-height: 1px;
}

.beaver-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.beaver-pillar {
  padding: 1.35rem 1.25rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.beaver-pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.beaver-pillar__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.beaver-pillar__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.beaver-pillar__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.beaver-roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.beaver-roadmap__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.beaver-roadmap__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.beaver-roadmap__item--done:not(:last-child)::before { background: rgba(0, 0, 0, 0.2); }

.beaver-roadmap__marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg);
  margin-top: 0.15rem;
  position: relative;
  z-index: 1;
}

.beaver-roadmap__item--done .beaver-roadmap__marker {
  background: #1a1a1a;
  border-color: #1a1a1a;
  box-shadow: inset 0 0 0 3px #fff;
}

.beaver-roadmap__item--current .beaver-roadmap__marker {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
  animation: beaverRoadPulse 2s ease infinite;
}

@keyframes beaverRoadPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08); }
  50% { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
}

.beaver-roadmap__status {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.beaver-roadmap__item--current .beaver-roadmap__status { color: var(--text); }

.beaver-roadmap__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.beaver-roadmap__body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.beaver-compare {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--glass-white-strong);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.beaver-compare__head,
.beaver-compare__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  align-items: center;
}

.beaver-compare__head {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border);
}

.beaver-compare__row {
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border);
}

.beaver-compare__row:last-child { border-bottom: none; }

.beaver-compare__label { font-weight: 600; color: var(--text); }

.beaver-compare__cell { color: var(--text-muted); line-height: 1.45; }

.beaver-compare__cell--muted { opacity: 0.75; }

.beaver-compare__cell--win {
  color: var(--text);
  font-weight: 500;
}

.beaver-compare__cell--tie {
  font-weight: 500;
  color: var(--text);
}

.beaver-forge-line {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono, 'Ubuntu Mono', monospace);
  font-size: 0.75rem;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.beaver-forge-line .dim { color: #6b6b73; }
.beaver-forge-line .warn { color: #8a8a8a; font-weight: 600; }

.beaver-cta {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
  border-top: 1px solid var(--border);
}

.beaver-cta__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.beaver-cta__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 0.75rem;
  max-width: 48ch;
}

.beaver-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.beaver-cta__email {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.beaver-cta__email:hover { color: var(--text); }

/* ===== Beaver hero - actual CAD image ===== */
.beaver-hero__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.98), rgba(228, 228, 232, 0.92));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.beaver-hero__cad {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
  transition: transform 0.7s var(--ease-out);
}

.beaver-hero__img-wrap:hover .beaver-hero__cad {
  transform: scale(1.03);
}

/* ===== Beaver CAD gallery ===== */
.beaver-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.beaver-gallery__item {
  position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.98), rgba(230, 230, 234, 0.90));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.35s, transform 0.35s var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.beaver-gallery__item--wide {
  grid-column: 1 / -1;
}

.beaver-gallery__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.beaver-gallery__item img {
  width: 100%;
  flex: 1;
  object-fit: contain;
  padding: 1.75rem 2.5rem 1rem;
  min-height: 240px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.08));
}

.beaver-gallery__item--wide img {
  min-height: 320px;
}

.beaver-gallery__item figcaption {
  padding: 0.6rem 1.25rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════
   BEAVER - Shadows Into Light highlight system
═══════════════════════════════════════════════════════ */
:root {
  --hl-color:      #b56a20;   /* amber on light backgrounds */
  --hl-color-dark: #e09a44;   /* lighter amber on dark backgrounds */
}

.hl {
  font-family: 'Shadows Into Light', cursive;
  color: var(--hl-color);
  font-size: 1.2em;
  letter-spacing: 0.01em;
  display: inline;
  font-style: normal;
  font-weight: 400;
}

/* Lighter on dark sections */
.beaver-hero .hl,
.beaver-openeng .hl {
  color: var(--hl-color-dark);
}

.about--film .hl {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════
   BEAVER - Open engineering / Milanote section
═══════════════════════════════════════════════════════ */
.beaver-openeng {
  background: #0c0c0f;
  padding: 4.5rem 0 5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}

.beaver-openeng::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.065) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.18) 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.18) 75%, transparent 100%);
}

.beaver-openeng__watermark {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.beaver-openeng__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.beaver-openeng .section__eyebrow { color: rgba(255,255,255,0.38); }

.beaver-openeng__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: 0.03em;
  margin: 0.55rem 0 1.25rem;
}

.beaver-openeng__copy > p {
  color: rgba(255,255,255,0.58);
  line-height: 1.78;
  max-width: 54ch;
}

.beaver-openeng__items {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.beaver-openeng__items li {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.52);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}

.beaver-openeng__item-arrow {
  color: var(--hl-color-dark);
  font-family: 'Shadows Into Light', cursive;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: -0.05em;
}

.beaver-openeng__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.beaver-openeng__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.5rem 2rem 1.4rem;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.beaver-openeng__btn:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.beaver-openeng__btn-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.beaver-openeng__btn-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

.beaver-openeng__note {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.7;
  max-width: 36ch;
}

@media (max-width: 860px) {
  .beaver-openeng__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .beaver-openeng__btn { width: auto; }
}

/* ═══════════════════════════════════════════════════════
   BEAVER VISUAL ENHANCEMENT
   Dark hero · dot grid · decorative numbers · bold trade studies
═══════════════════════════════════════════════════════ */

/* --- Dark hero --- */
.beaver-hero {
  background: #0c0c0f;
  padding: 4rem 0 5.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.beaver-hero__bg {
  background:
    radial-gradient(ellipse 110% 75% at 10% 55%, rgba(255,255,255,0.025) 0%, transparent 52%),
    radial-gradient(ellipse 65% 50% at 92% 28%, rgba(255,255,255,0.015) 0%, transparent 48%);
}

.beaver-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.12) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.12) 60%, transparent 100%);
}

.beaver-hero__watermark {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.028);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

/* Hero text on dark */
.beaver-hero .section__eyebrow { color: rgba(255,255,255,0.38); }
.beaver-hero__title           { color: #ffffff; }
.beaver-hero__tagline         { color: rgba(255,255,255,0.45); }
.beaver-hero__desc            { color: rgba(255,255,255,0.60); }

.beaver-hero__phase {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.10);
}
.beaver-hero__phase-label { color: rgba(255,255,255,0.36); }
.beaver-hero__phase-value { color: rgba(255,255,255,0.92); }

.beaver-hero__stats li {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.08);
}
.beaver-hero__stat-k { color: rgba(255,255,255,0.36); }
.beaver-hero__stat-v { color: #ffffff; }

.beaver-hero__live {
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.13);
}
.beaver-hero__live-dot {
  background: rgba(255,255,255,0.85);
}
@keyframes beaverLivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.28); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* Image wrap on dark - engineering-drawing look */
.beaver-hero__img-wrap {
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.97), rgba(218,218,224,0.93));
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.45);
}

/* Flagship badge on dark */
.beaver-hero .product-badge--flagship {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
}

/* Action buttons on dark background */
.beaver-hero .btn--outline {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.88);
}
.beaver-hero .btn--outline:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}
.beaver-hero .btn--primary {
  background: #ffffff;
  color: #0c0c0f;
  border-color: transparent;
}
.beaver-hero .btn--primary:hover {
  background: rgba(255,255,255,0.88);
}

/* --- Pillar cards - decorative background number --- */
.beaver-pillar {
  position: relative;
  overflow: hidden;
}

.beaver-pillar::before {
  content: attr(data-num);
  position: absolute;
  bottom: -0.6rem;
  right: 0.4rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.055);
  pointer-events: none;
  user-select: none;
}

.beaver-pillar__num {
  color: rgba(0,0,0,0.3);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.beaver-pillar__title {
  font-size: 1.0rem;
}

/* Left accent bar on pillar hover */
.beaver-pillar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0,0,0,0.08);
  border-radius: 3px 0 0 3px;
  transition: background 0.3s;
}
.beaver-pillar:hover::after {
  background: rgba(0,0,0,0.25);
}

/* --- Trade study enhanced labels --- */
.beaver-trade__col-label--rejected {
  color: #8a8a92;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.08);
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.25);
}

.beaver-trade__col-label--selected {
  color: #0c0c0f;
  background: rgba(0,0,0,0.09);
  border: 1px solid rgba(0,0,0,0.16);
  font-size: 0.62rem;
}

/* Selected column highlight */
.beaver-trade__col--full {
  background: rgba(0,0,0,0.02);
  border-top: 1px solid rgba(0,0,0,0.08);
  position: relative;
}
.beaver-trade__col--full::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: rgba(0,0,0,0.18);
  border-radius: 3px 0 0 3px;
}

/* Trade header large number refinement */
.beaver-trade__num {
  font-size: 3rem;
  color: rgba(0,0,0,0.07);
}

/* --- Stronger blockquote in overview --- */
.product-quote {
  position: relative;
}
.product-quote::before {
  content: '\201C';
  position: absolute;
  left: -0.5rem;
  top: -1.5rem;
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(0,0,0,0.06);
  pointer-events: none;
}

/* --- Section header eyebrow with accent line --- */
.section__header .section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section__header .section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  opacity: 0.4;
  border-radius: 2px;
  flex-shrink: 0;
}

/* --- Roadmap current item stronger treatment --- */
.beaver-roadmap__item--done .beaver-roadmap__body h3 { opacity: 0.65; }
.beaver-roadmap__item--current .beaver-roadmap__body h3 { font-size: 1.15rem; }
.beaver-roadmap__item--current .beaver-roadmap__body p { color: var(--text); }

/* --- Compare table accent on win cells --- */
.beaver-compare__cell--win {
  color: var(--text);
  font-weight: 600;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(0,0,0,0.15);
}

/* --- Gallery larger wide images --- */
.beaver-gallery__item--wide img {
  min-height: 380px;
  padding: 2rem 3rem 1.25rem;
}

/* ===== Beaver inline Milanote link ===== */
.beaver-milanote-link {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  transition: text-decoration-color 0.2s;
}

.beaver-milanote-link:hover {
  text-decoration-color: var(--text);
}

.beaver-milanote-link__icon {
  font-size: 0.85em;
  opacity: 0.6;
}

/* ===== Beaver design board button ===== */
.beaver-board-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--glass-white-strong);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.25s, transform 0.25s var(--ease-spring), background 0.2s;
  text-decoration: none;
}

.beaver-board-link:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  background: #fff;
}

.beaver-board-link__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a1a1a;
  flex-shrink: 0;
}

.beaver-board-link__arrow {
  font-size: 0.9em;
  opacity: 0.55;
}

/* ===== Beaver trade studies ===== */
.beaver-trades {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.beaver-trade {
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.beaver-trade__header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.beaver-trade__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.10);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.beaver-trade__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

.beaver-trade__sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.beaver-trade__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.beaver-trade__col {
  padding: 1.25rem 1.75rem;
  border-right: 1px solid var(--border);
}

.beaver-trade__col:last-child {
  border-right: none;
}

.beaver-trade__col--full {
  grid-column: 1 / -1;
  border-right: none;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.015);
}

.beaver-trade__col-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  display: inline-block;
}

.beaver-trade__col-label--rejected {
  color: #7a7a82;
  background: rgba(0, 0, 0, 0.06);
}

.beaver-trade__col-label--selected {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.10);
}

.beaver-trade__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.beaver-trade__col ul li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.58;
  padding-left: 1.1rem;
  position: relative;
}

.beaver-trade__col ul li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: rgba(0, 0, 0, 0.18);
  font-size: 0.7rem;
  top: 0.05em;
}

.beaver-trade__col--full ul li {
  color: var(--text);
}

@media (max-width: 900px) {
  .beaver-trade__body {
    grid-template-columns: 1fr;
  }
  .beaver-trade__col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .beaver-trade__col:last-child {
    border-bottom: none;
  }
  .beaver-trade__col--full {
    border-top: none;
  }
}

@media (max-width: 640px) {
  .beaver-gallery {
    grid-template-columns: 1fr;
  }
  .beaver-gallery__item--wide {
    grid-column: 1;
  }
  .beaver-gallery__item img,
  .beaver-gallery__item--wide img {
    min-height: 200px;
  }
  .beaver-hero__img-wrap {
    aspect-ratio: 16/10;
  }
  .beaver-trade__header {
    padding: 1.25rem;
  }
  .beaver-trade__col {
    padding: 1rem 1.25rem;
  }
}

/* ===== 3D viewer (click-to-load) ===== */
.viewer3d-wrap {
  position: relative;
}

.viewer3d-wip {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  pointer-events: none;
}

.viewer3d {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.viewer3d__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transform: scale(1.01);
}

.viewer3d__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.55) 100%);
  backdrop-filter: blur(3px);
}

.viewer3d__hint {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.viewer3d__loading {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.viewer3d__spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  border-top-color: var(--text);
  animation: viewer3dSpin 0.8s linear infinite;
}

@keyframes viewer3dSpin {
  to { transform: rotate(360deg); }
}

.viewer3d model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 35%, #fdfdfe, #e9e9ec);
  --poster-color: transparent;
}

/* ===== CAD Library homepage strip ===== */
.lib-strip {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(0, 0, 0, 0.04), transparent 55%),
    rgba(255, 255, 255, 0.45);
}

.lib-strip__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.lib-strip__title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.lib-strip__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
  max-width: 56ch;
}

.lib-strip__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

.lib-strip__stats li {
  position: relative;
  flex: 1;
  min-width: 140px;
  padding: 0.85rem 1rem 0.8rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs), var(--glass-inset);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.lib-strip__stats li::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--text), transparent 70%);
  opacity: 0.35;
}
.lib-strip__stats li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm), var(--glass-inset);
}

.lib-strip__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

.lib-strip__stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.lib-strip__preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.lib-card {
  margin: 0;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.lib-strip__preview.visible .lib-card { opacity: 1; transform: translateY(0); }
.lib-strip__preview.visible .lib-card:nth-child(1) { transition-delay: 0.05s; }
.lib-strip__preview.visible .lib-card:nth-child(2) { transition-delay: 0.16s; transform: translateY(1.25rem); }
.lib-strip__preview.visible .lib-card:nth-child(3) { transition-delay: 0.27s; }

.lib-card__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.lib-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.9);
  transform: scale(1.02);
  transition: transform 0.7s var(--ease-out), filter 0.45s;
}
/* glass sheen that sweeps on hover */
.lib-card__frame::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5) 50%, transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.lib-card:hover .lib-card__frame {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.lib-card:hover .lib-card__frame img {
  transform: scale(1.07);
  filter: saturate(1.05);
}
.lib-card:hover .lib-card__frame::after {
  opacity: 1;
  animation: cardSheen 0.9s var(--ease-out);
}

.lib-card__caption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.lib-card:hover .lib-card__caption { color: var(--text); }

@media (max-width: 1024px) {
  .lib-strip__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== Hiring homepage strip ===== */
.custom-strip {
  position: relative;
  padding: 7rem 0;
  color: #fff;
  overflow: hidden;
  background-color: #1a1c21;
  background-image:
    linear-gradient(90deg, rgba(10, 11, 13, 0.78) 0%, rgba(10, 11, 13, 0.52) 36%, rgba(10, 11, 13, 0.16) 68%, rgba(10, 11, 13, 0.08) 100%),
    url("TTMHQInside.jpeg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

.custom-strip .container { position: relative; z-index: 1; }

.custom-strip__grid {
  max-width: 36rem;
}

.custom-strip .section__eyebrow { color: rgba(255, 255, 255, 0.72); }
.custom-strip .section__title { color: #fff; }

.custom-strip__title,
.forge-strip--field .forge-strip__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.02em;
}

.custom-strip__here,
.forge-strip__change {
  font-family: 'Shadows Into Light', cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  line-height: 1.15;
  padding-bottom: 0.12em;
  font-size: 1.2em;
  color: #fff;
}

.custom-strip__desc {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 1rem 0 1.35rem;
  max-width: 54ch;
}

.custom-strip__points,
.forge-strip--field .forge-strip__points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  max-width: 480px;
}

.custom-strip__points li,
.forge-strip--field .forge-strip__points li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.35rem;
  font-size: 0.8425rem;
  color: #c9c9cd;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-strip__points li::before,
.forge-strip--field .forge-strip__points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #fff;
}

.custom-strip__panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  font-family: 'Ubuntu Mono', 'Consolas', monospace;
  font-size: 0.8125rem;
  color: #c9c9cd;
  line-height: 2;
}

.custom-strip__panel-head {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a92;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-strip__panel .ok { color: #7ee2a8; }
.custom-strip__panel .warn { color: #f0d47e; }
.custom-strip__panel .dim { color: #6b6b73; }
.custom-strip__panel .redacted { color: #3d3f45; }

.btn--invert {
  background: rgba(255, 255, 255, 0.94);
  color: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.btn--invert:hover {
  background: #fff;
  color: #0b0c0e;
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.btn--invert:active { transform: translateY(-1px) scale(0.99); }

.btn--invert-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn--invert-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: translateY(-3px) scale(1.02);
}

.btn--invert-ghost:active { transform: translateY(-1px) scale(0.99); }

@media (max-width: 1024px) {
  .custom-strip { padding: 5rem 0; }
}

/* ===== Beaver field homepage strip (Forge OS slot) ===== */
.forge-strip.forge-strip--field {
  position: relative;
  padding: 7rem 0;
  color: #fff;
  overflow: hidden;
  background-color: #1a1c21;
}

.forge-strip__photo {
  position: absolute;
  left: 0;
  right: 0;
  top: -42%;
  height: 184%;
  z-index: 0;
  pointer-events: none;
  background-image: url("TTMBeaverSoldier.jpeg");
  background-size: cover;
  background-position: 82% 22%;
  background-repeat: no-repeat;
  will-change: transform;
}

.forge-strip.forge-strip--field::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 11, 13, 0.8) 0%, rgba(10, 11, 13, 0.54) 34%, rgba(10, 11, 13, 0.16) 66%, rgba(10, 11, 13, 0.04) 100%);
}

.forge-strip.forge-strip--field::after {
  display: none;
}

.forge-strip.forge-strip--field .container {
  position: relative;
  z-index: 2;
}

.forge-strip.forge-strip--field .forge-strip__grid {
  display: block;
  max-width: 40rem;
}

.forge-strip.forge-strip--field .section__eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.forge-strip.forge-strip--field .section__title {
  color: #fff;
}

.forge-strip.forge-strip--field .forge-strip__lead {
  white-space: nowrap;
}

.forge-strip.forge-strip--field .forge-strip__desc {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 1rem 0 1.35rem;
  max-width: 54ch;
}

@media (max-width: 1024px) {
  .forge-strip.forge-strip--field { padding: 5rem 0; }
}

@media (max-width: 640px) {
  .forge-strip.forge-strip--field .forge-strip__lead {
    white-space: normal;
  }
}

/* ===== CAD Reference Library ===== */
.lib-hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 55% at 15% 30%, rgba(0, 0, 0, 0.045), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 75%, rgba(0, 0, 0, 0.035), transparent 50%);
}

.lib-hero__inner { max-width: 720px; }

.lib-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  letter-spacing: 0.04em;
  line-height: 1.08;
  margin: 0.4rem 0 1rem;
}

.lib-hero__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 58ch;
}

.lib-hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

.lib-hero__stats li {
  flex: 1;
  min-width: 150px;
  padding: 0.85rem 1rem;
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.lib-hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.lib-hero__stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.lib-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.lib-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.lib-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.lib-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #33353a;
}

.lib-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease-out);
}

.lib-card:hover .lib-card__media img { transform: scale(1.035); }

.lib-card__caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 0.95rem;
}

.lib-card__name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
}

.lib-card__meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.lib-card--locked { cursor: pointer; }

.lib-card__media--locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: #d5d5da;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 12px, transparent 12px 24px),
    linear-gradient(165deg, #2c2e33, #1e2024);
}

.lib-card__locked-count {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.lib-card__locked-hint {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9aa3;
}

.lib-classes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.lib-class {
  padding: 1.35rem 1.25rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.lib-class__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.lib-class h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.lib-class p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.lib-note {
  padding: 1.35rem 1.5rem;
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.lib-note p {
  font-size: 0.8425rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.6rem;
}

.lib-note p:last-child { margin-bottom: 0; }
.lib-note strong { color: var(--text); }

.lib-request {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.lib-request__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0.75rem 0 1.25rem;
}

.lib-request__points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lib-request__points li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  font-size: 0.8425rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.lib-request__points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text);
}

.lib-optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.72rem;
}

@media (max-width: 1024px) {
  .lib-grid, .lib-classes { grid-template-columns: repeat(2, 1fr); }
  .lib-request { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 640px) {
  .lib-grid, .lib-classes { grid-template-columns: 1fr; }
  .lib-hero__stats { flex-direction: column; }
}

/* ===== Homepage compare CTA ===== */
.compare-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.15rem 1.35rem;
  background: var(--glass-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.compare-cta__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ===== Mission fit ===== */
.mission-section { padding-top: 2.5rem; }

.mission-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.mission-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  background: var(--glass-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.mission-profile:hover {
  border-color: var(--border-strong);
  background: var(--glass-white-strong);
  transform: translateY(-1px);
}

.mission-profile.is-selected {
  border-color: rgba(0, 0, 0, 0.45);
  background: var(--glass-white-strong);
  box-shadow: var(--shadow-sm);
}

.mission-profile__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.mission-profile__blurb {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.mission-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
}

.mission-result {
  display: grid;
  gap: 1.25rem;
}

.mission-brief {
  padding: 1.35rem 1.4rem;
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.mission-brief__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.mission-brief__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.mission-brief__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 62ch;
}

.mission-picks {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0.85rem;
}

.mission-pick {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--glass-white-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.mission-pick:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.mission-pick--primary {
  border-color: rgba(0, 0, 0, 0.28);
}

.mission-pick__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #ececee;
  overflow: hidden;
}

.mission-pick__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-pick__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-pick__media--logo img {
  width: 42%;
  height: auto;
  object-fit: contain;
}

.mission-pick__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}

.mission-pick__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mission-pick--primary .mission-pick__badge { color: var(--text); }

.mission-pick__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.mission-pick__meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mission-pick__why {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.mission-pick__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.mission-pick__actions .btn {
  font-size: 0.72rem;
  padding: 0.55rem 0.85rem;
}

.mission-result__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 0.25rem;
}

.mission-result__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 48ch;
}

@media (max-width: 900px) {
  .mission-profiles { grid-template-columns: repeat(2, 1fr); }
  .mission-picks { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .mission-profiles { grid-template-columns: 1fr; }
}

/* ===== System compare ===== */
.compare-section { padding-top: 2.5rem; }

.compare-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.compare-preset {
  padding: 0.55rem 0.95rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--glass-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
}

.compare-preset:hover,
.compare-preset.is-active {
  color: var(--text);
  background: var(--glass-white-strong);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.compare-slots {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.compare-slot {
  min-height: 220px;
  padding: 1rem;
  background: var(--glass-white-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.compare-slot__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.compare-slot__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.compare-pick {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.55rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-spring), background 0.25s;
}

.compare-pick:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.compare-pick.is-selected {
  border-color: rgba(0, 0, 0, 0.35);
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.compare-pick.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.compare-pick__img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #ececee;
}

.compare-pick__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compare-pick__img--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.04), transparent 60%),
    #ececee;
}

.compare-pick__img--logo img {
  width: 42%;
  height: auto;
  object-fit: contain;
}

.compare-pick__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.compare-pick__meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  padding-top: 1.5rem;
}

.compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--glass-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.compare-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: #111;
  cursor: pointer;
}

.compare-swap {
  padding: 0.45rem 0.9rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}

.compare-swap:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.compare-toolbar__hint {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-white-strong);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table thead th {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  padding: 1rem 1.15rem;
  text-align: left;
  background: rgba(252, 252, 253, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}

.compare-table thead th:first-child {
  width: 22%;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.compare-head__img {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #ececee;
  flex-shrink: 0;
}

.compare-head__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-head__img--logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-head__img--logo img {
  width: 55%;
  height: auto;
  object-fit: contain;
}

.compare-head__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.compare-head__meta {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.compare-head__link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--text-muted);
}

.compare-head__link:hover { color: var(--text); }

.compare-group td {
  padding: 0.85rem 1.15rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.025);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.compare-row td {
  padding: 0.8rem 1.15rem;
  font-size: 0.875rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  line-height: 1.45;
}

.compare-row:last-child td { border-bottom: none; }

.compare-row__label {
  font-weight: 600;
  color: var(--text);
  width: 22%;
}

.compare-row__cell { color: var(--text-muted); }

.compare-row__cell--note {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 36ch;
}

.compare-row--same .compare-row__cell { opacity: 0.55; }

.compare-row--diff {
  background: rgba(0, 0, 0, 0.018);
}

.compare-row--diff .compare-row__cell { color: var(--text); }

.compare-row__cell--win {
  position: relative;
  font-weight: 500;
  color: var(--text);
}

.compare-row__cell--win::after {
  content: '↑';
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7rem;
  color: #2f6b45;
  opacity: 0.85;
}

.compare-row__cell--win-low::after { content: '↓'; }

.compare-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
}

.compare-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 70ch;
}

@media (max-width: 900px) {
  .compare-slots {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .compare-vs { padding: 0.25rem 0; }
  .compare-toolbar__hint { margin-left: 0; width: 100%; }
}

@media (max-width: 640px) {
  .compare-slot__grid { grid-template-columns: 1fr 1fr; }
  .compare-pick__name { font-size: 0.75rem; }
}

/* Legacy subpage classes */
.project-card { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.project-card__images { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-subtle); }
.project-card__img { width: 100%; height: 100%; object-fit: cover; }
.project-card__title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 0.5rem; }
.project-card__tagline { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.project-card__desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }

.resources__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.resource-card { padding: 1.5rem; border: 1px solid var(--border); }
.resource-card__title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.75rem; }
.resource-card__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.5rem; }
.resource-card__link { font-size: 0.8125rem; font-weight: 600; text-decoration: underline; }
.modal__specs li { font-size: 0.875rem; color: var(--text-muted); padding: 0.35rem 0; border-bottom: 1px solid var(--border); }

.project-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.project-gallery__item { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-subtle); }
.project-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Premium product-page story ===== */
.product-page main {
  overflow: clip;
}

/* JavaScript enables these component-level reveals. Without it, the page
   remains fully visible and usable. */
.product-story-ready .product-page .product-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 30px, 0) scale(0.985);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.8s var(--ease-out);
  transition-delay: var(--product-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.product-story-ready .product-page .product-reveal.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

/* The enhanced hero reveals its visual and copy independently. */
.product-story-ready .product-page .product-hero__grid--enhanced.animate-in {
  opacity: 1;
  transform: none;
}

.product-hero__visual-shell {
  --product-rx: 0deg;
  --product-ry: 0deg;
  --product-light-x: 50%;
  --product-light-y: 35%;
  position: relative;
  perspective: 1100px;
  border-radius: var(--radius-xl);
  transform-style: preserve-3d;
}

.product-story-ready .product-page .product-hero__visual-shell.is-revealed {
  transform: perspective(1100px) rotateX(var(--product-rx)) rotateY(var(--product-ry));
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.18s ease-out,
    filter 0.8s var(--ease-out);
}

.product-hero__visual-shell::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--product-light-x) var(--product-light-y), rgba(255, 255, 255, 0.52), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 45%);
  opacity: 0.38;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.35s;
}

.product-hero__visual-shell:hover::before {
  opacity: 0.72;
}

.product-hero__visual-shell .product-hero__img {
  animation: productFloat 7s ease-in-out infinite;
  transform: translateZ(18px);
  transition: box-shadow 0.45s var(--ease-out);
}

.product-page .section__header {
  max-width: 760px;
}

.product-page .section__header .section__eyebrow.product-reveal {
  transform: translate3d(0, 14px, 0);
}

.product-page .section__header .section__title.product-reveal {
  transform: translate3d(0, 34px, 0);
}

.product-page .section__header .section__lead.product-reveal {
  transform: translate3d(0, 24px, 0);
}

.product-page .section__header .product-reveal.is-revealed {
  transform: translate3d(0, 0, 0);
}

/* Information surfaces feel physical without using the rejected status/HUD
   language. The cursor only moves the soft glass highlight. */
.product-page .specs-block,
.product-page .dossier__panel,
.product-page .beaver-pillar {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--panel-x, 50%) var(--panel-y, 10%), rgba(255, 255, 255, 0.75), transparent 38%),
    var(--glass-white-strong);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-xs), var(--glass-inset);
  transition:
    transform 0.45s var(--ease-out),
    box-shadow 0.45s,
    border-color 0.35s,
    background 0.2s;
}

.product-page .product-reactive-panel:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md), var(--glass-inset);
}

.product-story-ready .product-page .product-reactive-panel.product-reveal.is-revealed:hover {
  transform: translateY(-5px);
}

.product-page .product-reactive-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.product-page .specs-list {
  overflow: hidden;
}

.product-page .specs-list li.product-reveal,
.product-page .dossier__list li.product-reveal {
  transform: translate3d(20px, 0, 0);
  filter: blur(4px);
}

.product-page .specs-list li.product-reveal.is-revealed,
.product-page .dossier__list li.product-reveal.is-revealed {
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.product-page .product-prose {
  position: relative;
}

.product-page .product-prose::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
}

.product-page .product-quote {
  position: relative;
  padding: 2rem 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.55;
  font-style: normal;
}

.product-page .product-quote::before {
  content: '“';
  position: absolute;
  top: -0.15rem;
  left: 0.8rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(10, 10, 12, 0.1);
}

/* Gallery cards clearly invite interaction. */
.product-gallery__item--interactive {
  cursor: zoom-in;
  outline: none;
}

.product-gallery__item--interactive::before {
  content: 'Expand';
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
}

.product-gallery__item--interactive:hover::before,
.product-gallery__item--interactive:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.product-gallery__item--interactive:focus-visible {
  box-shadow: 0 0 0 3px rgba(10, 10, 12, 0.18), var(--shadow-md);
}

body.lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  grid-template-columns: minmax(48px, 0.14fr) minmax(0, 1fr) minmax(48px, 0.14fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: rgba(238, 238, 240, 0.76);
  backdrop-filter: blur(28px) saturate(1.25);
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox__stage {
  position: relative;
  width: min(100%, 1100px);
  max-height: calc(100vh - 5rem);
  margin: 0 auto;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  box-shadow: 0 35px 90px rgba(10, 10, 12, 0.18), var(--glass-inset);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.5s var(--ease-out);
}

.product-lightbox.is-open .product-lightbox__stage {
  transform: translateY(0) scale(1);
}

.product-lightbox__stage img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.product-lightbox__stage figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-lightbox__close,
.product-lightbox__nav {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), background 0.3s;
}

.product-lightbox__close:hover,
.product-lightbox__nav:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.9);
}

.product-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  font-size: 1.5rem;
}

.product-lightbox__nav {
  justify-self: center;
  font-size: 1rem;
}

/* Small chapter rail: navigation rather than military telemetry. */
.product-story-rail {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.75rem);
  top: 50%;
  z-index: 850;
  transform: translateY(-50%);
}

.product-story-rail ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 0.55rem;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-sm), var(--glass-inset);
}

.product-story-rail button {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.product-story-rail button span {
  position: absolute;
  right: calc(100% + 0.65rem);
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  background: rgba(10, 10, 12, 0.82);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateX(5px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.product-story-rail button:hover span,
.product-story-rail button:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.product-story-rail button i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), background 0.3s;
}

.product-story-rail button.is-current i {
  width: 12px;
  height: 12px;
  background: var(--text);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .contact__grid, .product-hero__grid, .beaver-hero__grid, .beaver-cta__grid { grid-template-columns: 1fr; gap: 2rem; }
  .process__grid, .team__grid { grid-template-columns: repeat(2, 1fr); }
  .workshop__grid { grid-template-columns: repeat(2, 1fr); }
  .specs-grid, .resources__grid { grid-template-columns: 1fr; }
  .beaver-pillars { grid-template-columns: repeat(2, 1fr); }
  .product-story-rail { display: none; }
}

/* Nav drawer takes over at 900px, where the horizontal menu stops fitting. */
@media (max-width: 900px) {
  .nav__tagline { display: none; }
  /* The drawer trigger. Without this the menu parks off-canvas at right:-100%
     and nothing on the page can bring it back - the whole site becomes a
     single page on a phone. */
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__menu, .nav__actions {
    position: fixed; right: -100%; width: 80%; max-width: 320px;
    background: var(--glass-white-strong);
    backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 1.35rem; padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s var(--ease-out); z-index: 999;
    align-items: stretch;
  }
  /* Two sibling panels, one drawer: the link list fills the sheet and the CTA
     sits on its bottom edge. Both are pinned with top/height rather than
     bottom, because .header carries a backdrop-filter and that makes it the
     containing block for its fixed descendants - a `bottom: 0` here resolved
     against the 72px header, not the viewport, and threw the CTA off the top
     of the screen. */
  .nav__menu,
  .nav__actions {
    top: 0;
    height: 100vh;
    height: 100dvh;
  }
  .nav__menu {
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 7rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__actions {
    justify-content: flex-end;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    pointer-events: none;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }
  .nav__actions.open > * { pointer-events: auto; }
  .nav__menu.open, .nav__actions.open { right: 0; }
  .nav__toggle { position: relative; z-index: 1001; }
  .nav__dropdown { width: 100%; }
  .nav__dropdown::before { display: none; }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0 1rem;
    display: none;
  }
  .nav__dropdown.is-open .nav__dropdown-menu { display: block; }
}

@media (max-width: 768px) {
  .hero__dots { bottom: 5.5rem; right: 50%; transform: translateX(50%); }
  .hero__scroll { bottom: 1.5rem; }
  .team__grid, .careers__grid, .process__grid, .project-gallery__grid, .product-gallery { grid-template-columns: 1fr; }
  .beaver-pillars { grid-template-columns: 1fr; }
  .beaver-hero__stats { grid-template-columns: 1fr; }
  .beaver-compare__head { display: none; }
  .beaver-compare__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
  }
  .beaver-compare__cell::before {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
  }
  .beaver-compare__row .beaver-compare__cell:nth-child(2)::before { content: 'Legacy AK-pattern'; }
  .beaver-compare__row .beaver-compare__cell:nth-child(3)::before { content: 'TTM Beaver'; }
  .careers__banner { flex-direction: column; align-items: flex-start; }
  .careers__steps { grid-template-columns: 1fr; }
  .careers__step:not(:last-child)::after { display: none; }
  .field-band__panel { padding: 1.85rem 1.5rem 2rem; }
  .footer__top { flex-direction: column; gap: 1.5rem; }
  .footer__cols { flex-direction: column; gap: 1.5rem; }
  .project-card { grid-template-columns: 1fr; }
  .product-lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  .product-lightbox__stage { grid-column: 1; grid-row: 1; }
  .product-lightbox__nav {
    position: absolute;
    bottom: 1rem;
  }
  .product-lightbox__nav--prev { left: calc(50% - 3.5rem); }
  .product-lightbox__nav--next { right: calc(50% - 3.5rem); }
  .product-page .product-prose::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-animate { opacity: 1; transform: none; }
  .animate-in { opacity: 1; transform: none; }
  .lib-card,
  .product-gallery.animate-in .product-gallery__item {
    opacity: 1 !important;
    transform: none !important;
  }
  .field-band__bg img,
  .product-hero__img { animation: none !important; }
  .product-story-ready .product-page .product-reveal,
  .product-story-ready .product-page .product-reveal.is-revealed {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .hero-pin { height: auto; }

  .hero-pin__viewport {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    perspective: none;
  }

  .hero-pin__intro,
  .hero-card,
  .hero-pin__reveal {
    transform: none !important;
  }

  .hero-pin__intro {
    position: relative;
    inset: auto;
    display: block;
    padding: calc(var(--nav-h) + 1.75rem) 0 2.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hero-pin__intro .hero__scroll { display: none; }

  .hero-pin__intro .hero__dots {
    position: static;
    justify-content: center;
    margin: 2rem auto 0;
    width: fit-content;
  }

  .hero-card {
    position: relative;
    inset: auto;
    height: min(72vw, 520px);
    margin: 0 1.25rem 3rem;
    border-radius: 18px;
  }

  .hero-card .hero__overlay { display: none; }

  .hero-card__layer,
  .hero-card__glass { display: none; }

  .hero-card__frame { border-radius: 18px; }

  .hero-card__border {
    display: block;
    border-radius: 18px;
    opacity: 1 !important;
  }

  .hero-pin__reveal {
    position: relative;
    inset: auto;
    display: block;
    padding: 0 0 4.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hero-pin__reveal--alt {
    border-top: 1px solid var(--border);
    padding-top: 2.75rem;
  }

  .hero-pin__reveal-inner { max-width: 640px; }

  .reveal-mask,
  .reveal-mask__el {
    transform: none !important;
    opacity: 1 !important;
    overflow: visible;
  }
}

/* ===== Sticky platform dossier ===== */
.dossier {
  padding: 4.5rem 0 5rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(0, 0, 0, 0.03), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 40%);
}

.dossier__intro {
  margin-bottom: 2rem;
}

.dossier__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.dossier__media {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  align-self: start;
}

.dossier__media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.96), transparent 60%),
    var(--bg-subtle);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), var(--glass-inset);
  aspect-ratio: 4 / 3;
}

.dossier__media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.dossier__media-frame:hover img {
  transform: scale(1.04);
  filter: saturate(1.02) contrast(1.04);
}

.dossier__media-caption {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dossier__copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.dossier__panel {
  padding: 1.4rem 1.5rem;
  background: var(--glass-white-strong);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs), var(--glass-inset);
}

.dossier__panel h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.dossier__panel p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.dossier__panel p:last-child { margin-bottom: 0; }

.dossier__list li {
  display: grid;
  grid-template-columns: minmax(7rem, 34%) 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0.5rem;
  margin: 0 -0.5rem;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  line-height: 1.45;
  transition: background 0.25s;
}
.dossier__list li:hover { background: rgba(10, 10, 12, 0.035); }
.dossier__list li:hover .dossier__key { color: var(--text); }

.dossier__list li:last-child { border-bottom: none; }

.dossier__key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dossier__val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .dossier__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .dossier__media { position: static; }
  .dossier__list li { grid-template-columns: 1fr; gap: 0.2rem; }
}
