/* ============================================================
   BARRACUDA — design tokens
   ============================================================ */
:root {
  --white: #ffffff;
  --cream: #f4efe3;   /* page field — warm, pairs with the orange */
  --paper: #efe9db;   /* slightly deeper cream for inset panels */
  --ink: #0c0c0c;
  --gray: #6a655c;
  --hairline: #e0d9c9;
  --frame: #2b2a26;   /* warm charcoal — still used for hairline section dividers */
  --flare: #ff4d00;   /* primary accent — logo dot, CTAs, kept exactly as-is */
  --sun: #ffb400;     /* warm accent 2 */
  --red: #e8231a;     /* warm accent 3 */
  --bar-gradient: linear-gradient(90deg, var(--sun), var(--flare) 55%, var(--red));
  /* small tri-color warm mark used on eyebrows */
  --warm-tick: linear-gradient(90deg, var(--sun) 0 33.3%, var(--flare) 33.3% 66.6%, var(--red) 66.6% 100%);

  --abyss: #0b2027;    /* deep-water band — the dark under the flats */
  --foam: #dfe8e6;     /* pale text on abyss */

  --font-display: "Anton", sans-serif;
  --font-body: "Lexend", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-accent: "Instrument Serif", Georgia, serif;   /* italic accent words only */

  --pad-x: clamp(20px, 5vw, 72px);
  --nav-gap: clamp(20px, 3.4vw, 34px);   /* one value for every gap in the nav row */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.01em;
}

.dot { color: var(--flare); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
/* the warm tri-color line — yellow / orange / red — sits below the label, long and skinny */
.eyebrow::after {
  content: "";
  width: 210px;
  max-width: 70%;
  height: 2px;
  background: var(--warm-tick);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.9); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out;
}

.btn--primary {
  background: var(--flare);
  color: var(--white);
  padding: 18px 36px;
}
.btn--primary:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

.btn--nav {
  background: var(--flare);
  color: var(--white);
  padding: 10px 20px;
  font-size: 13px;
}
.btn--nav:hover { background: var(--ink); }

/* ---- hero CTA: rounded, solid flare orange, matching the nav CTA hue ---- */
.hero__cta {
  padding: 18px 40px;
  border-radius: 999px;
  color: var(--white);
  background: var(--flare);
  transition: background-color 200ms ease-out, transform 180ms ease-out;
}
.hero__cta:hover {
  background: var(--ink);
  transform: translateY(-2px);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 210;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--pad-x);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: background-color 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out, padding 220ms ease-out;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-align: center;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  margin: 0 var(--nav-gap);   /* same gap as between the links, either side of the logo */
  transition: color 220ms ease-out;
}

.nav__group {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
}
.nav__group--left { justify-content: flex-end; }
.nav__group--right { justify-content: flex-start; }

.nav__group a {
  position: relative;
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  transition: color 220ms ease-out;
}
.nav__group a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--flare);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease-out;
}
.nav__group a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  background: var(--flare);
  color: var(--white) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  text-shadow: none;
  transition: background-color 200ms ease-out, transform 200ms ease-out;
}
.nav__cta:hover { background: var(--ink); color: var(--white) !important; transform: translateY(-1px); }

.nav.is-solid {
  /* stays glass on scroll — a lighter, warmer tint so page content still
     visibly blurs and moves underneath, never a flat opaque bar */
  background: rgba(244, 239, 227, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(43, 42, 38, 0.14);
  box-shadow: 0 8px 28px rgba(43, 42, 38, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav.is-solid .nav__logo { color: var(--ink); text-shadow: none; }
.nav.is-solid .nav__group a:not(.nav__cta) { color: var(--white); text-shadow: 0 1px 3px rgba(11, 32, 39, 0.85), 0 1px 10px rgba(11, 32, 39, 0.5); }
.nav.is-solid .nav__cta { background: var(--flare); color: var(--white) !important; }
.nav.is-solid .nav__cta:hover { background: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 540px;
  display: flex;
  align-items: center;
  /* keeps centered content clear of the fixed glass nav — padding on the
     flex container (not the item) shifts the centered box down without
     touching the full-bleed absolutely-positioned media behind it */
  padding-top: clamp(120px, 16vh, 220px);
  overflow: hidden;
}

.hero__media,
.hero__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- carousel ---------- */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}
.hero__slide.is-on { opacity: 1; }

.hero__slide img,
.hero__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* slow push-in on photo slides — cinematic, no blur */
.hero__slide.is-on img {
  animation: slidePush 9s ease-out forwards;
}
@keyframes slidePush {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

.hero__scrim {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.28) 14%, rgba(0,0,0,0.14) 40%, rgba(0,0,0,0.55) 100%);
}

.hero__ticks {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: var(--pad-x);
  display: flex;
  gap: 8px;
}

.hero__tick {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.hero__tick i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--flare);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__tick.is-on i {
  transition: transform var(--tick-ms, 8000ms) linear;
  transform: scaleX(1);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad-x);
  color: var(--white);
  text-align: center;
}
.hero__content .eyebrow { align-items: center; }

.hero__title {
  font-size: clamp(3.4rem, 11.5vw, 10rem);
  color: var(--white);
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
}

.hero__scrollcue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 2px;
  height: 44px;
  background: rgba(255,255,255,0.4);
  overflow: hidden;
}
.hero__scrollcue::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--flare);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ============================================================
   Value strip — short, wide, solid orange band
   ============================================================ */
.truth {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) var(--pad-x);
  background: var(--flare);
}

.truth__inner { position: relative; z-index: 1; width: 100%; text-align: left; }

/* setup line — plain white, display font for punch */
.truth__lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.22;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

/* punch line — larger, bolder; the loud half of the beat */
.truth__headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  line-height: 1.16;
  text-transform: uppercase;
  color: var(--white);
}

/* $500 fixes that — solid black against the orange field; the closing
   words switch to the serif italic accent, lowercase, for contrast */
.truth__line--punch {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: clamp(14px, 2vw, 24px);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.truth__line--punch em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   How It Works — the signature
   ============================================================ */
.how {
  height: 400vh;   /* scroll runway for the scrub */
  background: var(--cream);
  border-top: 1px solid var(--frame);
}

.how__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vh, 96px) var(--pad-x);
  overflow: hidden;
}

.how__head { margin-bottom: clamp(32px, 5vh, 60px); }

.how__title {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

/* ---- The sonar rail: a cold liquid-glass tube down the left of the
   section. Warm light (sun -> flare -> red) descends through it as you
   scroll, pinging each depth mark as it passes. ---- */
.how__grid {
  --rail-x: clamp(16px, 2.4vw, 34px);   /* rail centre, from the lane's left edge */
  --rail-w: 9px;
  --lane: clamp(56px, 8vw, 108px);      /* step-text indent from the lane's left edge */
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.how__rail {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--rail-x);
  width: var(--rail-w);
  transform: translateX(-50%);
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 32, 39, 0.52), rgba(11, 32, 39, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 0 22px rgba(0, 0, 0, 0.45),
    0 12px 34px rgba(11, 32, 39, 0.28);
  backdrop-filter: blur(8px) saturate(1.25);
  -webkit-backdrop-filter: blur(8px) saturate(1.25);
}

/* warm light descending through the tube (height driven from JS via --p) */
.how__rail-fill {
  --p: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--p) * 100%);
  background: linear-gradient(180deg, var(--sun), var(--flare) 55%, var(--red));
  box-shadow: 0 0 18px rgba(255, 77, 0, 0.7);
}
/* soft diffuse cap that rides the leading edge */
.how__rail-fill::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: -10px;
  height: 26px;
  background: radial-gradient(60% 100% at 50% 50%, rgba(255, 180, 0, 0.95), rgba(255, 77, 0, 0.5) 55%, transparent 75%);
  filter: blur(4px);
}

/* ambient "searching" sweep while at rest */
.how__rail-sweep {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(223, 232, 230, 0.55), transparent);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: sonarSweep 3.8s ease-in-out infinite;
}
@keyframes sonarSweep {
  0%   { transform: translateY(-100%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(250%); opacity: 0; }
}

.how__steps {
  list-style: none;
  position: relative;
  height: 100%;
  padding-left: var(--lane);
  display: grid;
  grid-template-rows: repeat(4, minmax(min-content, 1fr));
  row-gap: clamp(4px, 1.4vh, 20px);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.32;
  transform: translateX(6px);
  transition: opacity 360ms ease, transform 360ms ease;
  min-height: 0;
}

/* depth mark crossing the rail */
.step__tick {
  position: absolute;
  top: 50%;
  left: calc(var(--rail-x) - var(--lane) - 13px);
  width: 26px;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(223, 232, 230, 0.55);
  border-radius: 2px;
  transition: background-color 260ms ease, box-shadow 260ms ease;
}
/* sonar ping ring, fires when the step activates */
.step__tick::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 2px solid var(--flare);
  opacity: 0;
  transform: scale(0.3);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gray);
  display: block;
  margin-bottom: 8px;
  transition: color 300ms ease;
}

.step__name {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  transition: text-shadow 300ms ease, color 300ms ease;
}

.step.is-active {
  opacity: 1;
  transform: translateX(0);
}
.step.is-active .step__num { color: var(--flare); }
.step.is-active .step__name { text-shadow: 0 0 22px rgba(255, 77, 0, 0.35); }
.step.is-active .step__tick {
  background: var(--flare);
  box-shadow: 0 0 12px rgba(255, 77, 0, 0.8);
}
.step.is-active .step__tick::after {
  animation: sonarPing 900ms ease-out;
}
@keyframes sonarPing {
  0%   { opacity: 0.9; transform: scale(0.3); }
  70%  { opacity: 0; transform: scale(3.2); }
  100% { opacity: 0; transform: scale(3.2); }
}
/* ---- Stage: one animated graphic per step, crossfaded as the
   scrub lights each node. Sits in the empty right half of the grid. ---- */
.how__stage {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 46%;
  right: 0;
  height: min(78vh, 620px);
}

.stage__art {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vh, 32px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}
.stage__art svg { height: min(66%, 520px); width: auto; max-width: 92%; flex: 0 1 auto; }
.stage__art.is-on { opacity: 1; transform: translateY(0); }
/* don't burn cycles animating the three hidden graphics */
.stage__art:not(.is-on) * { animation-play-state: paused; }

.stage__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--abyss);
  max-width: 46ch;
  text-align: center;
  flex: 0 0 auto;
}

/* 01 — workflow condensing into one site */
.art--analysis .sat {
  animation: kf-condense 4.2s ease-in-out infinite;
}
.art--analysis .sat:nth-of-type(2) { animation-delay: .15s; }
.art--analysis .sat:nth-of-type(3) { animation-delay: .3s; }
.art--analysis .sat:nth-of-type(4) { animation-delay: .45s; }
.art--analysis .sat:nth-of-type(5) { animation-delay: .6s; }
.art--analysis .sat:nth-of-type(6) { animation-delay: .75s; }
@keyframes kf-condense {
  0%, 8%   { transform: translate(0, 0); opacity: .95; }
  48%      { transform: translate(var(--dx), var(--dy)); opacity: .15; }
  56%      { transform: translate(var(--dx), var(--dy)); opacity: 0; }
  57%      { transform: translate(0, 0); opacity: 0; }
  74%      { transform: translate(0, 0); opacity: 0; }
  88%, 100% { transform: translate(0, 0); opacity: .95; }
}
.art--analysis .core {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: kf-core 4.2s ease-in-out infinite;
}
@keyframes kf-core {
  0%, 40%  { transform: scale(1); }
  55%      { transform: scale(1.12); }
  70%, 100% { transform: scale(1); }
}

/* 02 — wireframe pieces drop in and flash on landing */
.art--design .p {
  stroke: #0b2027;
  animation: kf-drop 6.4s cubic-bezier(.2, .7, .3, 1) infinite;
}
.art--design .p:nth-of-type(2) { animation-delay: .5s; }
.art--design .p:nth-of-type(3) { animation-delay: 1s; }
.art--design .p:nth-of-type(4) { animation-delay: 1.4s; }
.art--design .p:nth-of-type(5) { animation-delay: 1.8s; }
.art--design .p:nth-of-type(6) { animation-delay: 2.2s; }
@keyframes kf-drop {
  0% {
    opacity: 0;
    transform: translateY(-26px);
    stroke: #ff4d00;
    filter: drop-shadow(0 0 0 rgba(255, 77, 0, 0));
  }
  6% {
    opacity: 1;
    transform: translateY(0);
    stroke: #ff4d00;
    filter: drop-shadow(0 0 8px rgba(255, 77, 0, .85));
  }
  16% { stroke: #0b2027; filter: drop-shadow(0 0 0 rgba(255, 77, 0, 0)); }
  84% { opacity: 1; transform: translateY(0); }
  92%, 100% { opacity: 0; transform: translateY(0); }
}

/* 03 — diamond glisten */
.art--refine .glint { animation: kf-glint 3.6s ease-in-out infinite; }
@keyframes kf-glint {
  0%, 55%  { transform: skewX(-18deg) translateX(0); }
  100%     { transform: skewX(-18deg) translateX(430px); }
}
.art--refine .spark {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: kf-twinkle 2.8s ease-in-out infinite;
}
@keyframes kf-twinkle {
  0%, 100% { opacity: 0; transform: scale(.2); }
  50%      { opacity: 1; transform: scale(1); }
}

/* 04 — rocket */
.art--launch .rocket { animation: kf-bob 2.6s ease-in-out infinite; }
@keyframes kf-bob {
  0%, 100% { transform: translateY(5px); }
  50%      { transform: translateY(-7px); }
}
.art--launch .flame {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: kf-flame .22s ease-in-out infinite alternate;
}
.art--launch .flame--in { animation-delay: .08s; }
@keyframes kf-flame {
  from { transform: scaleY(.82); }
  to   { transform: scaleY(1.14); }
}
.art--launch .zoom line {
  stroke-dasharray: 18 92;
  animation: kf-speed 1.1s linear infinite;
}
@keyframes kf-speed {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -110; }
}

@media (prefers-reduced-motion: reduce) {
  .how__rail-sweep { animation: none; opacity: 0; }
  .step.is-active .step__tick::after { animation: none; }
  .stage__art * { animation: none !important; }
}

/* Short viewports (laptops with browser chrome, landscape tablets): the
   sticky pane is a fixed 100vh so the scroll-scrub math stays in sync —
   reclaim space from padding/type instead of letting the four steps
   compress into each other. */
@media (min-width: 861px) and (max-height: 760px) {
  .how__stage { height: min(64vh, 380px); }
  .stage__desc { font-size: 14px; line-height: 1.45; }
  .how__sticky { padding-top: 28px; padding-bottom: 28px; }
  .how__head { margin-bottom: 16px; }
  .how__title { font-size: clamp(1.8rem, 4.4vw, 3.1rem); }
  .how__steps { gap: clamp(10px, 2.4vh, 28px); }
  .step__num { margin-bottom: 3px; }
  .step__name { font-size: clamp(1.05rem, 1.9vw, 1.5rem); }
}

/* ============================================================
   About
   ============================================================ */
.about {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(90px, 12vw, 160px) var(--pad-x);
  background: var(--abyss);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- bathymetric depth-chart behind the section: nested nautical
   isolines with spot-depth marks, echoing the sonar motif from How It
   Works. Pale foam on navy so the copy stays the focus. ---- */
.about__chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  color: var(--foam);
}
.dc__ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-opacity: 0.16;
  vector-effect: non-scaling-stroke;
}
.dc__ring--deep {
  stroke: var(--flare);
  stroke-opacity: 0.55;
  stroke-width: 1.6;
}
.dc__dot { fill: var(--flare); fill-opacity: 0.9; }
.dc__depth {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  fill: currentColor;
  fill-opacity: 0.4;
}
/* a slow sonar ping expands out from each deep centre, staggered per mark */
.dc__ping {
  fill: none;
  stroke: var(--flare);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(-50%, -50%);
  animation: dcPing 7.8s ease-out infinite;
  animation-delay: var(--pd, 0s);
}
@keyframes dcPing {
  0%      { opacity: 0.5; transform: translate(-50%, -50%) scale(0.4); }
  18%     { opacity: 0; transform: translate(-50%, -50%) scale(9); }
  100%    { opacity: 0; transform: translate(-50%, -50%) scale(9); }
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: stretch;   /* media column matches the height of the text column */
  max-width: 1360px;
  margin: 0 auto;
}

/* the two photos sit side by side, slightly overlapped and staggered in
   height; bounded to the text column so they only spill a touch past it */
.about__media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 0;
}
.about__media img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;   /* fill the card edge to edge, no see-through gaps */
  object-position: center;
  border-radius: 14px;
  border: 5px solid var(--white);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}
.about__media img:first-child {   /* day — sits a little higher, overlaps on top */
  transform: translateY(-16px);
  z-index: 2;
}
.about__media--detail {           /* night — nudged left to overlap, sits lower */
  margin-left: -8%;
  transform: translateY(24px);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .dc__ping { animation: none; opacity: 0; }
}

.about__title {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  margin-bottom: 28px;
  color: var(--white);
}

.about__copy p + p { margin-top: 18px; }
.about__copy { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--foam); }

.about__punch {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.15;
  margin-top: 30px !important;
}

.about__cta {
  margin-top: 28px;
}

/* ============================================================
   Black end card
   ============================================================ */
.endcard {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: clamp(110px, 16vw, 220px) var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.endcard__mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 11rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.endcard__tag {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;   /* keeps the background photo contained inside the section, never bleeding past the site frame */
  padding: clamp(90px, 12vw, 160px) var(--pad-x);
  border-top: 1px solid var(--frame);
}

.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- liquid glass card framing the pitch + form over the photo ---- */
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.44) 50%, rgba(255, 255, 255, 0.54));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 30px 90px rgba(4, 20, 30, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 0 40px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
/* thin bright sheen along the top edge — the "liquid" highlight */
.contact__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 30%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.contact__title {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  margin-bottom: 24px;
}

.contact__price {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 18px;
}
.contact__price strong {
  font-weight: 700;
  border-bottom: 4px solid var(--flare);
}

.contact__pitch p + p { margin-top: 16px; }
.contact__pitch { color: #2b2926; }
.contact__pitch .eyebrow { color: #45423b; }   /* darker than the sitewide --gray — needed for contrast over the photo behind the glass */

.contact__demo {
  font-size: 14px;
  color: #45423b;   /* darker than the sitewide --gray — needed for contrast over the photo behind the glass */
  margin-top: 28px !important;
}

.contact__form label {
  display: block;
  margin-bottom: 20px;
}

.contact__form label span {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #45423b;   /* darker than the sitewide --gray — needed for contrast over the photo behind the glass */
  margin-bottom: 8px;
}
.contact__form label em { text-transform: none; font-style: normal; letter-spacing: 0; }

.contact__form input,
.contact__form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-bottom: 2px solid var(--hairline);
  padding: 14px 16px;
  transition: border-color 180ms ease-out, background-color 180ms ease-out;
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  background: var(--white);
  border-bottom-color: var(--flare);
}

.btn--submit { width: 100%; }

.contact__status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.4em;
}
.contact__status.is-ok { color: var(--ink); }
.contact__status.is-err { color: var(--red); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 56px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer__mark {
  font-family: var(--font-display);
  font-size: 22px;
}

.footer__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 160ms ease-out;
}
.footer__links a:hover { color: var(--white); }

.footer__legal {
  width: 100%;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   Scroll reveals
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 340ms ease-out, transform 340ms ease-out;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 860px) {
  /* keep the centered logo, drop the plain links, keep the CTA on the right */
  .nav { grid-template-columns: 1fr auto 1fr; }
  .nav__group--left { visibility: hidden; }
  .nav__group--right { justify-content: flex-end; }
  .nav__group--right a:not(.nav__cta) { display: none; }

  /* How It Works: drop the sonar scrub, stack the steps */
  .how { height: auto; padding: 90px 0; }
  .how__sticky {
    position: static;
    height: auto;
    padding: 0 var(--pad-x);
    overflow: visible;
  }
  .how__rail { display: none; }
  .how__steps {
    height: auto;
    padding-left: 26px;
    border-left: 3px solid var(--hairline);
  }
  .step {
    padding: 26px 0;
    opacity: 1;
    transform: none;
  }
  .step.reveal { opacity: 0; transform: translateY(18px); }
  .step.reveal.is-in { opacity: 1; transform: translateY(0); }
  .step.is-active { opacity: 1; }
  .step__tick {
    top: 34px;
    left: -33px;
    width: 16px;
    background: var(--flare);
  }
  .step__tick::after { display: none; }

  /* stage becomes a plain stacked list under the steps: every graphic
     and its caption shown in order, no scrub, no absolute positioning */
  .how__stage {
    position: static;
    height: auto;
    transform: none;
    left: auto;
    right: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
  .stage__art {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    opacity: 1;
    transform: none;
  }
  .stage__art svg { height: auto; width: 100%; max-width: 280px; }
  .stage__art:not(.is-on) * { animation-play-state: running; }

  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .about__media--detail { display: none; }

  /* calmer motion on small screens */
  .hero__slide.is-on img { animation: none; }
}

/* ============================================================
   Split-word reveal — words cascade up as a line enters view
   ============================================================ */
[data-split] .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.65em);
  transition: opacity 420ms ease-out, transform 560ms cubic-bezier(0.22, 0.9, 0.24, 1);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
[data-split].is-split-in .w {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Species ticker — thin ink band, the water's vernacular
   ============================================================ */
.ticker {
  overflow: hidden;
  background: var(--ink);
  padding: 16px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}
.ticker__set {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding-right: clamp(20px, 3vw, 36px);
}
.ticker__set span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.ticker__set i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flare);
  flex-shrink: 0;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   The Difference — deep-water band with the before/after slider
   ============================================================ */
.diff {
  padding: clamp(90px, 12vw, 150px) var(--pad-x);
  background: var(--abyss);
}

.diff__head {
  max-width: 1360px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.diff__title {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  color: var(--white);
  margin-bottom: 20px;
}
.diff__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--flare);
}
.diff__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(223, 232, 230, 0.72);
  max-width: 52ch;
}

/* ---- the comparison slider ---- */
.compare {
  --cut: 50%;
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  height: clamp(420px, 46vw, 620px);
  border-radius: 10px;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.compare__pane {
  position: absolute;
  inset: 0;
}
.compare__pane--after {
  clip-path: inset(0 0 0 var(--cut));
}

/* ---- BEFORE: the 2009 guide site ---- */
.compare__pane--before { background: #ececec; }
/* content lives in the left half — the part that's visible at the
   resting 50% cut — so the mockup always reads without dragging */
.oldsite {
  width: 50%;
  height: 100%;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px) 20px;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  color: #222;
}
.oldsite__title {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: #000080;
}
.oldsite__nav {
  margin-top: 8px;
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  color: #444;
}
.oldsite__nav a {
  color: #0000ee;
  text-decoration: underline;
  cursor: default;
}
.oldsite hr {
  margin: 12px auto;
  width: 88%;
  border: none;
  border-top: 1px solid #aaa;
}
.oldsite__img {
  display: inline-block;
  width: min(46%, 300px);
  height: auto;
  border: 3px inset #999;
  image-rendering: pixelated;
  filter: saturate(1.35) contrast(0.9);
}
.oldsite__body {
  margin: 14px auto 0;
  max-width: 56ch;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  line-height: 1.45;
}
.oldsite__call {
  margin-top: 12px;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #cc0000;
  animation: oldBlink 1.1s steps(1) infinite;
}
@keyframes oldBlink {
  50% { opacity: 0.25; }
}
.oldsite__btn {
  margin-top: 12px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  padding: 4px 14px;
  background: #d4d0c8;
  border: 2px outset #fff;
  color: #222;
  pointer-events: none;
}
.oldsite__counter {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  background: #000;
  color: #7cfc00;
}
.oldsite__ie {
  margin-top: 10px;
  font-size: 10px;
  color: #999;
}

/* ---- AFTER: the Barracuda build ---- */
.newsite {
  position: relative;
  height: 100%;
  background: var(--ink);
  overflow: hidden;
}
.newsite__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newsite__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.08) 40%, rgba(0,0,0,0.62) 100%);
}
.newsite__nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2vw, 22px) clamp(18px, 3vw, 34px);
}
.newsite__brand {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  letter-spacing: 0.04em;
  color: var(--white);
}
.newsite__brand b { color: var(--flare); }
.newsite__links {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.newsite__book {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--flare);
  padding: 7px 16px;
  border-radius: 999px;
}
/* hero copy anchors to the right half — visible at the resting cut,
   so the redesign sells itself before anyone touches the handle */
.newsite__hero {
  position: absolute;
  left: 50%;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(20px, 3.4vw, 40px);
  text-align: right;
}
.newsite__eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}
.newsite__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 3.8rem);
  line-height: 0.96;
  color: var(--white);
}
.newsite__h1 b { color: var(--flare); }
.newsite__cta {
  display: inline-block;
  margin-top: clamp(12px, 1.8vw, 20px);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--flare);
  padding: 11px 24px;
  border-radius: 999px;
}
.newsite__proof {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}

/* ---- handle + tags ---- */
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  cursor: ew-resize;
}
.compare__handle:focus-visible {
  outline: 3px solid var(--flare);
  outline-offset: 2px;
}
.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--flare);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: transform 160ms ease-out;
}
.compare:active .compare__grip { transform: translate(-50%, -50%) scale(1.08); }

/* labels sit above the frame so they never collide with the mockups */
.compare__labels {
  max-width: 1360px;
  margin: 0 auto 14px;
  display: flex;
  justify-content: space-between;
}
.compare__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.compare__tag--before {
  color: rgba(223, 232, 230, 0.75);
  border: 1px solid rgba(223, 232, 230, 0.3);
}
.compare__tag--after {
  color: var(--white);
  background: var(--flare);
}

/* ---- proof stats under the slider ---- */
.diff__cta {
  max-width: 1360px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  text-align: center;
}

.stats {
  list-style: none;
  max-width: 1360px;
  margin: clamp(48px, 7vw, 84px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  border-top: 1px solid rgba(223, 232, 230, 0.16);
  padding-top: clamp(28px, 4vw, 48px);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--foam);
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(223, 232, 230, 0.6);
  max-width: 30ch;
}

/* ============================================================
   The Rig — what every build ships with. Six liquid-glass cards,
   same 3x2 grid slots as before, each with a cursor-tracked glow
   ring in the site's warm palette (sun -> flare -> red).
   ============================================================ */
.rig {
  padding: clamp(90px, 12vw, 150px) var(--pad-x);
  background: var(--cream);
}
.rig__head {
  max-width: 1360px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.rig__title {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
}
.rig__grid {
  list-style: none;
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* each <li> is just the glow's positioning context — the visible glass
   panel is the child so the glow ring can sit on the outside edge */
.rig__card {
  position: relative;
  border-radius: 20px;
}

/* ---- the glass panel (visible card) ---- */
.rig__panel {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.4) 55%, rgba(255, 255, 255, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 18px 44px rgba(43, 42, 38, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 0 30px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  overflow: hidden;
  transition: box-shadow 240ms ease-out;
}
.rig__card:hover .rig__panel {
  box-shadow:
    0 22px 54px rgba(43, 42, 38, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 30px rgba(255, 255, 255, 0.18);
}

/* ---- the glow ring — a conic sweep in --sun/--flare/--red, masked
   down to a narrow arc that rotates to face the cursor ---- */
.rig__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  --start: 0;
  --active: 0;
  --spread: 42;
}
/* ring shape via the same content-box/border-box exclude trick used on
   the contact card's sheen — the arc itself (not a second mask layer)
   is what fades in/out around the ring, via the conic-gradient's own
   transparent stops on either side of --start */
.rig__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  opacity: var(--active);
  transition: opacity 320ms ease-out;
  background: conic-gradient(
    from calc((var(--start) - var(--spread)) * 1deg),
    transparent 0deg,
    var(--sun) calc(var(--spread) * 0.5 * 1deg),
    var(--flare) calc(var(--spread) * 1deg),
    var(--red) calc(var(--spread) * 1.5 * 1deg),
    transparent calc(var(--spread) * 2deg)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
@media (prefers-reduced-motion: reduce) {
  .rig__glow::after { transition: none; }
}

.rig__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gray);
  transition: color 200ms ease-out;
}
.rig__card:hover .rig__num { color: var(--flare); }
.rig__name {
  margin-top: 14px;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}
.rig__desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray);
  max-width: 34ch;
}

/* ---- serif accent inside the About title ---- */
.about__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

/* ============================================================
   Responsive + reduced motion for the new sections
   ============================================================ */
@media (max-width: 860px) {
  .compare { height: 460px; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .rig__grid { grid-template-columns: 1fr; }
  .newsite__links { display: none; }
  /* phones: mockups span the full frame and clip at the cut line like a
     photo comparison — dragging reveals each side completely */
  .oldsite { width: 100%; padding: 18px 14px; }
  .oldsite__img { width: 52%; }
  .oldsite__body { max-width: 34ch; }
  .oldsite__btn,
  .oldsite__counter,
  .oldsite__ie { display: none; }
  .newsite__hero {
    left: 14px;
    right: 14px;
  }
}
@media (min-width: 861px) and (max-width: 1200px) {
  .rig__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .oldsite__call { animation: none; }
  [data-split] .w { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   The Dive — scroll-pinned video interlude. --p scrubs 0 -> 1
   with scroll: the video window expands from a framed inset to
   full-bleed, then the copy surfaces over it.
   ============================================================ */
.dive {
  height: 240vh;   /* scroll runway for the scrub */
  background: var(--cream);
}
.dive__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.dive__media {
  --p: 0;   /* scrub progress, set from JS */
  position: absolute;
  inset: 0;
  background: var(--abyss);
  clip-path: inset(
    calc((1 - var(--p)) * 12%)
    calc((1 - var(--p)) * 9%)
    round calc((1 - var(--p)) * 26px)
  );
  will-change: clip-path;
}
.dive__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dive__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 20, 0.32) 0%, rgba(4, 16, 20, 0.06) 42%, rgba(4, 16, 20, 0.58) 100%);
}

/* copy fades up over the back half of the scrub (JS drives opacity) */
.dive__copy {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: clamp(48px, 9vh, 110px);
  opacity: 0;
  transform: translateY(26px);
  will-change: opacity, transform;
}
.dive__title {
  font-size: clamp(2rem, 4.6vw, 4rem);
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.dive__em {
  margin-top: 6px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1;
  color: var(--flare);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.dive__cta {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(32px, 6vh, 72px);
  z-index: 1;
}
.dive__sub {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 860px) {
  .dive { height: 190vh; }
}
@media (prefers-reduced-motion: reduce) {
  /* no scrub: full-bleed window and copy visible from the start */
  .dive { height: auto; }
  .dive__sticky { position: relative; height: 100svh; }
  .dive__media { clip-path: none; }
  .dive__copy { opacity: 1; transform: none; }
}
