@font-face { font-family: 'Bricolage Grotesque Variable'; src: url('/packs/buzzfish-big-fish/bricolage-grotesque.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans Variable'; src: url('/packs/buzzfish-big-fish/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono Variable'; src: url('/packs/buzzfish-big-fish/jetbrains-mono.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

/* ===========================================================================
   buzzfish media — direction B, "Big Fish"
   Tokens first. Every colour is sampled from the logo file
   (BF16-w_tag_transparent.png): the band is #0a1cc1, the body is #f1a326.
   =========================================================================== */

:root {
  /* --- water column: the page has a depth, and colour encodes it --- */
  --abyss: #04061f;
  --trench: #060a3d;
  --deep: #0a1cc1; /* brand blue, sampled */
  --current: #2f4bf0;
  --shallow: #8fd3ff;

  /* --- the fish --- */
  --gold: #f1a326; /* brand gold, sampled */
  --gold-lift: #ffc95f;
  --ember: #e8451f;

  /* --- grounds and ink --- */
  --foam: #f2f6ff;
  --foam-dim: #b9c6ee;
  --sand: #fff6e9;
  --sand-edge: #f0e2cd;
  --ink: #0c1024;
  --ink-dim: #4d5266;

  /* --- type --- */
  --display: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans Variable', 'Instrument Sans', system-ui, sans-serif;
  --gauge: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.95rem + 0.24vw, 1.15rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.28rem + 1.1vw, 2.25rem);
  --step-3: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --step-4: clamp(2.7rem, 1.6rem + 5.4vw, 6rem);
  --step-5: clamp(3.4rem, 1.2rem + 10vw, 10.5rem);

  /* --- rhythm --- */
  --gut: clamp(1.25rem, 4vw, 3rem);
  --shell: min(1240px, 100% - (var(--gut) * 2));
  --rail: 84px;

  color-scheme: dark;
}

/* Shared-renderer chrome. Menu content and organization details still come from CMS/core. */
.site {
  min-height: 100vh;
  overflow: clip;
  background: var(--abyss);
  color: var(--foam);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
}
.site-main { display: block; min-height: 70vh; padding-bottom: 0; }
.site-main > * { padding-inline: 0; }
.site > .site-header[data-nav-sticky] {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 0;
  padding: .7rem var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(4, 6, 31, 0.82) 0%, rgba(4, 6, 31, 0.5) 58%, transparent 100%);
  color: var(--foam);
  backdrop-filter: none;
}
.site-brand { display: flex; align-items: center; flex: 0 0 auto; width: auto; padding: 7px 12px 7px 4px; border: 0; border-radius: 8px; background: var(--deep); box-shadow: 0 8px 24px -12px rgba(2,4,20,.9); text-decoration: none; transition: transform .24s cubic-bezier(.2,.8,.2,1); }
.site-brand:hover { transform: translateY(-2px); }
.site-brand .site-logo { width: auto; max-width: none; height: 30px; object-fit: contain; object-position: left center; }
.site-header-caption { display: none; }
.site > .site-header .site-nav { margin-left: auto; padding-left: 0; border: 0; background: none; box-shadow: none; }
.site-header .site-nav .menu { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.4rem); margin: 0; padding: 0; border: 0; list-style: none; }
.site-header .site-nav .menu-item { margin: 0; padding: 0; border: 0; }
.site-header .site-nav .menu-item > a {
  position: relative; padding: .5rem .2rem; color: var(--foam); font-family: var(--body); font-size: var(--step--1);
  font-weight: 600; letter-spacing: .02em; line-height: 1.6; text-transform: none; text-decoration: none; white-space: nowrap;
}
.site-header .site-nav .menu-item > a::after { content: ''; position: absolute; height: 2px; inset: auto 100% .28rem 0; background: var(--gold); transform: none; transition: right .28s cubic-bezier(.2,.8,.2,1); }
.site-header .site-nav .menu-item > a:hover::after,
.site-header .site-nav .menu-item > a[aria-current='page']::after { right: 0; transform: none; }
.site > .site-header .site-nav .menu-item > a[aria-current='page'] { color: var(--foam); }
.site > .site-header .site-nav .menu-item > a:hover,
.site > .site-header .site-nav .menu-item > a:focus-visible { color: var(--foam); }
.site > .site-header .site-nav .menu-item > a:focus-visible {
  outline: 3px solid var(--gold-lift);
  outline-offset: 4px;
}
.site-header .site-nav .menu > .menu-item:last-child > a { padding: .55rem 1.15rem; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 750; transition: transform .2s ease, background .2s ease; }
.site-header .site-nav .menu > .menu-item:last-child > a::after { display: none; }
.site-header .site-nav .menu > .menu-item:last-child > a:hover,
.site-header .site-nav .menu > .menu-item:last-child > a:focus-visible { background: var(--gold-lift); color: var(--ink); transform: translateY(-2px); }
.site-menu { display: none; }
.site-footer {
  position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 7rem) var(--gut) 2rem;
  background: #030414; color: var(--foam); border-top: 1px solid rgba(143,211,255,.18);
  display: grid; grid-template-columns: minmax(180px, .8fr) minmax(320px, 1.4fr); gap: 2.5rem;
}
.site-footer > .site-name { font-family: var(--display); font-size: clamp(2rem,4vw,4rem); font-weight: 780; text-decoration: none; }
.site-footer-identity { display: grid; align-content: start; gap: .8rem; color: var(--foam); text-decoration: none; }
.site-footer-identity > img { width: min(260px, 68vw); height: auto; padding: 12px 18px 12px 6px; border-radius: 10px; background: var(--deep); }
.site-footer-identity > span { display: grid; color: var(--foam-dim); }
.site-footer-identity > span > span:first-child { font-family: var(--display); font-size: clamp(1.4rem,3vw,2.5rem); font-weight: 780; }
.site-footer-identity > span > span:empty { display: none; }
.site-footer .site-nav .menu { columns: 2; list-style: none; padding: 0; margin: 0; }
.site-footer .site-nav li { break-inside: avoid; margin-bottom: .55rem; }
.site-footer .site-nav a { color: var(--foam-dim); text-decoration: none; }
.site-footer .site-nav a:hover { color: var(--gold-lift); }
.site-footer-contact { grid-column: 2; display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; color: var(--foam-dim); }
.site-footer-contact-item { color: inherit; text-decoration: none; }
.site-footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(143,211,255,.16); padding-top: 1rem; color: var(--foam-dim); font-family: var(--gauge); font-size: .72rem; letter-spacing: .06em; }
.site-footer[data-chrome='buzzfish'] .site-footer-identity > span { display: none; }
.site-footer-tag { grid-column: 1; max-width: 32ch; color: var(--foam-dim); }
.site-footer-tag-edit { grid-column: 1; }
.site-footer-product { grid-column: 2; margin: 0; color: var(--foam-dim); }
.site-footer-product-edit { grid-column: 2; }
.site-footer-product::before { content: ''; display: inline-block; width: 2rem; height: 1px; margin-right: .7rem; vertical-align: middle; background: var(--gold); }
.site-footer-product a { color: var(--foam); font-family: var(--display); font-weight: 750; text-decoration: none; }
.site-footer-legal-edit { grid-column: 1 / -1; }
.site-footer[data-chrome='buzzfish'] { display: block; padding: clamp(3rem,7vw,5rem) var(--gut) 2rem; }
.site-footer-grid, .site-footer-base { width: var(--shell); margin-inline: auto; }
.site-footer-grid { display: grid; gap: 2.2rem; }
.site-footer-intro { min-width: 0; }
.site-footer[data-chrome='buzzfish'] .site-footer-identity { display: block; width: fit-content; }
.site-footer[data-chrome='buzzfish'] .site-footer-identity > img { display: block; width: 234px; height: auto; padding: 12px 18px 12px 6px; }
.site-footer[data-chrome='buzzfish'] .site-footer-tag { margin: .9rem 0 0; max-width: 32ch; }
.site-footer-cols { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.site-footer-col:last-child { grid-column: 1 / -1; }
.site-footer-col { min-width: 0; }
.site-footer-col h4 { margin: 0 0 .8rem; color: var(--shallow); font-family: var(--gauge); font-size: var(--step--1); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.site-footer-col h4:not(:first-child) { margin-top: 2rem; }
.site-footer-col .site-nav { margin: 0; width: auto; max-width: none; }
.site-footer-col .site-nav .menu { display: grid; grid-template-columns: 1fr; gap: .5rem; columns: auto; }
.site-footer-col .site-nav li { margin: 0; }
.site-footer[data-chrome='buzzfish'] .site-footer-col .site-nav .menu-item > a { min-height: 0; padding: 0; color: var(--foam-dim); font-family: var(--body); font-size: var(--step-0); font-weight: 400; letter-spacing: 0; line-height: 1.6; text-transform: none; }
.site-footer-col .site-footer-contact { display: grid; grid-column: auto; gap: .5rem; margin: 0; }
.site-footer-community { display: grid; gap: .5rem; margin: 0; color: var(--foam-dim); }
.site-footer-col .site-footer-product { margin: 0; color: var(--foam-dim); }
.site-footer-col .site-footer-product::before { display: none; }
.site-footer-col .site-footer-product a { color: var(--foam-dim); font-family: var(--body); font-size: var(--step-0); font-weight: 400; }
.site-footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(143,211,255,.14); color: var(--foam-dim); font-size: var(--step--1); }
.site-footer-base .site-footer-legal { grid-column: auto; margin: 0; padding: 0; border: 0; font-family: var(--body); font-size: inherit; letter-spacing: 0; }
.site-footer-privacy { color: var(--foam-dim); font-family: var(--gauge); letter-spacing: .12em; text-transform: uppercase; }
@media (min-width:900px) {
  .site-footer-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.4fr); gap: 4rem; }
  .site-footer-cols { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .site-footer-col:last-child { grid-column: auto; }
}
.buzzfish-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.catch__action { margin-top: 1rem; }
.catch__entry { position: relative; }
.catch__compact-link { position: absolute; inset: 0; z-index: 4; }
.school__head { padding-top: clamp(3rem, 7vw, 5rem); margin-bottom: 0; }
.school__track > span { flex: 0 0 auto; display: block; width: clamp(140px, 16vw, 205px); opacity: .82; transition: opacity .3s ease, transform .3s ease; }
.school__track > span:hover { opacity: 1; transform: translateY(-5px); }
.school__track > span img { display: block; width: 100%; height: auto; object-fit: contain; }
.rail-flip__shot { display: block; }
.rail-flip__shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.said__who { margin-top: 1.4rem; }
.said__who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.scale { width: 18px; height: 18px; border: 0; border-radius: 0; fill: var(--gold); transform: translateY(2px); flex: none; }
.privacy-copy > section + section { margin-top: 2.5rem; }
.privacy-copy h2 { margin-bottom: .8rem; }
.privacy-copy a { color: #12309b; font-weight: 700; }
.privacy-copy__links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: .8rem; }
.pond__school, .community-marks { position: relative; }
.pond--fish .pond__school { min-height: 17rem; }
.community-marks > .fish { left: auto; right: 3%; top: -38%; }
.community-marks .badges { margin-top: 0; padding-right: min(28vw, 22rem); }
.fish { transition: transform 420ms cubic-bezier(.22,.8,.26,1); }
.baitfish { animation: bait-drift 8s ease-in-out infinite alternate; }
@keyframes bait-drift { to { transform: translate3d(14px,-8px,0) scaleX(-1); } }

@media (max-width: 767px) {
  .site-header { min-height: 72px; padding-block: .75rem; }
  .site-brand { width: auto; }
  .site > .site-header .site-menu { display: block; margin-left: auto; }
  .site > .site-header .site-menu > summary { min-width: 58px; min-height: 38px; padding: .35rem .75rem; border: 1px solid rgba(242,246,255,.48); border-radius: 999px; display: grid; grid-auto-flow: column; gap: .35rem; place-items: center; cursor: pointer; font-family: var(--gauge); text-transform: lowercase; font-size: .72rem; letter-spacing: .08em; color: var(--foam); background: rgba(4,6,31,.3); }
  .site > .site-header .site-menu > summary:focus-visible { outline-color: var(--gold-lift); }
  .site > .site-header .site-nav { position: absolute; inset: calc(100% + .35rem) var(--gut) auto; padding: .5rem 1rem 1rem; border: 1px solid rgba(143,211,255,.2); border-radius: 10px; background: rgba(4,6,31,.98); backdrop-filter: blur(16px); box-shadow: 0 22px 46px -24px rgba(2,4,20,.95); display: none; }
  .site-header:has(.site-menu[open]) .site-nav { display: block; }
  .site-header .site-nav .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .site-header .site-nav .menu-item > a { display: flex; align-items: center; min-height: 48px; padding-inline: .25rem; border-bottom: 1px solid rgba(143,211,255,.13); color: var(--foam); font-size: .9rem; }
  .site-header .site-nav .menu > .menu-item:last-child > a { justify-content: center; margin-top: .75rem; border-bottom: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer-contact { grid-column: 1; flex-direction: column; }
  .site-footer-tag, .site-footer-tag-edit, .site-footer-product, .site-footer-product-edit { grid-column: 1; }
  .site-footer-legal { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .fish, .baitfish { transition: none !important; animation: none !important; }
}

.hero__title, .phead__title { overflow-wrap: normal; word-break: normal; }
.hero__title > span { white-space: nowrap; }
.site .hero.ground { border: 0; }
.sec.ground--trench + .sec.ground--trench { padding-top: 0; background: var(--abyss); }
.sec.ground--trench + .sec.ground--trench > .water-fx { display: none; }
.sec.ground--sand + .sec.ground--sand { padding-top: 0; }

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--abyss);
  color: var(--foam);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* `height: auto` matters: the width/height attributes on every <img> are
   presentational hints that would otherwise pin the height and make every
   `aspect-ratio` below a no-op. */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 780;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* Focus: one ring, everywhere, always visible on either ground. */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-lift);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip:focus-visible {
  top: 12px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.u-mono {
  font-family: var(--gauge);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.u-lede {
  font-size: var(--step-1);
  line-height: 1.45;
  max-width: 34ch;
}

.u-prose p + p {
  margin-top: 1.05em;
}

.u-prose {
  max-width: 62ch;
  color: var(--foam-dim);
}

.on-sand .u-prose {
  color: var(--ink-dim);
}

/* ===========================================================================
   Grounds. Two, and only two: below the waterline and above it.
   =========================================================================== */

.ground {
  position: relative;
  isolation: isolate;
}

.ground--water {
  background:
    radial-gradient(120% 80% at 18% -10%, rgba(143, 211, 255, 0.22), transparent 55%),
    linear-gradient(178deg, var(--deep) 0%, #0916a3 34%, var(--trench) 78%, var(--abyss) 100%);
  color: var(--foam);
}

/* The trench picks the water back up exactly where the meniscus left it, so the
   crossing reads as one continuous column rather than two stacked blocks. */
.ground--trench {
  background: linear-gradient(
    180deg,
    var(--deep) 0%,
    #06128f 5%,
    #050832 22%,
    #050a2c 62%,
    var(--abyss) 100%
  );
  color: var(--foam);
}

/* Above the waterline the ink roles swap wholesale, so every component that asks
   for "the quiet text colour" gets the right one without a per-component override.
   Decorative rules and washes use literal rgba and are unaffected. */
.ground--sand,
.on-sand {
  background: var(--sand);
  color: var(--ink);
  --foam: var(--ink);
  --foam-dim: var(--ink-dim);
  --shallow: #12309b;
}

/* The waterline: a hard meniscus, not a fade. Structure, not decoration. */
.waterline {
  position: relative;
  height: clamp(56px, 8vw, 120px);
  margin: 0;
  overflow: hidden;
}
.waterline svg {
  display: block;
  width: 100%;
  height: 100%;
}
.waterline--down {
  background: var(--sand);
}
.waterline--up {
  background: var(--sand);
}

/* ===========================================================================
   Water: caustics, bait school, motes. All decorative, all aria-hidden.
   =========================================================================== */

.water-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.caustic {
  position: absolute;
  inset: -20% -10%;
  opacity: 0.4;
  mix-blend-mode: screen;
  background:
    repeating-linear-gradient(
      104deg,
      rgba(143, 211, 255, 0) 0px,
      rgba(143, 211, 255, 0.16) 2px,
      rgba(143, 211, 255, 0) 26px
    ),
    repeating-linear-gradient(
      72deg,
      rgba(143, 211, 255, 0) 0px,
      rgba(143, 211, 255, 0.1) 3px,
      rgba(143, 211, 255, 0) 44px
    );
  mask-image: radial-gradient(90% 70% at 40% -10%, #000 0%, transparent 72%);
  animation: drift 26s linear infinite;
}

@keyframes drift {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1.04);
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.09);
  }
  to {
    transform: translate3d(-3%, -2%, 0) scale(1.04);
  }
}

.shafts {
  position: absolute;
  inset: -10% -20% auto;
  height: 130%;
  opacity: 0.5;
  background: linear-gradient(
    97deg,
    transparent 0 12%,
    rgba(143, 211, 255, 0.14) 13% 15%,
    transparent 16% 31%,
    rgba(143, 211, 255, 0.09) 32% 36%,
    transparent 37% 57%,
    rgba(143, 211, 255, 0.13) 58% 60%,
    transparent 61% 100%
  );
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.motes {
  position: absolute;
  inset: 0;
}
.mote {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(200, 228, 255, 0.75);
  animation: rise linear infinite;
}
@keyframes rise {
  from {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.5;
  }
  to {
    transform: translateY(-90vh) translateX(18px);
    opacity: 0;
  }
}

.school-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.baitfish {
  position: absolute;
  display: block;
  will-change: transform;
}
.baitfish svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--shallow);
}

/* ===========================================================================
   The fish — the signature. One asset, seven scales.
   =========================================================================== */

.fish {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  left: var(--fx);
  top: var(--fy);
  width: var(--fw);
}
@media (max-width: 760px) {
  .fish {
    left: var(--fx-m, var(--fx));
    top: var(--fy-m, var(--fy));
    width: var(--fw-m, var(--fw));
  }
}
.fish img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 70px rgba(2, 4, 20, 0.62));
}
.fish--flip img {
  transform: scaleX(-1);
}
.fish__glow {
  position: absolute;
  inset: -18% -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(241, 163, 38, 0.3), transparent 72%);
  filter: blur(18px);
}

/* ===========================================================================
   Header
   =========================================================================== */

.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: var(--gut);
  padding: 0.7rem var(--gut);
  background: rgba(4, 6, 31, 0);
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
/* A floor under the nav, not glass over it: at the top of every page the header
   sits on open water and, on the inner pages, sometimes on the fish. The scrim
   guarantees the nav's ground; it fades out once the solid bar takes over. */
.hdr::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 6, 31, 0.82) 0%, rgba(4, 6, 31, 0.5) 58%, transparent 100%);
  transition: opacity 0.3s ease;
}
.hdr--sunk::before {
  opacity: 0;
}
.hdr--sunk {
  background: rgba(4, 6, 31, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(143, 211, 255, 0.18);
}
/* The logo file carries its own blue band. Rather than let that rectangle float,
   it sits on a deliberate plate of the same brand blue. The logo is untouched. */
.hdr__mark {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  background: var(--deep);
  border-radius: 8px;
  padding: 7px 12px 7px 4px;
  box-shadow: 0 8px 24px -12px rgba(2, 4, 20, 0.9);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hdr__mark:hover {
  transform: translateY(-2px);
}
.hdr__mark img {
  height: 30px;
  width: auto;
}
.hdr__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.4rem);
}
.hdr__link {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  padding: 0.5rem 0.2rem;
  color: var(--foam);
  white-space: nowrap;
}
.hdr__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.28rem;
  height: 2px;
  background: var(--gold);
  transition: right 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hdr__link:hover::after,
.hdr__link[aria-current='page']::after {
  right: 0;
}
.hdr__cta {
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 750;
  text-decoration: none;
  font-size: var(--step--1);
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.hdr__cta:hover {
  background: var(--gold-lift);
  transform: translateY(-2px);
}
.hdr__burger {
  display: none;
  background: none;
  border: 1px solid rgba(242, 246, 255, 0.28);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 650;
  font-size: var(--step--1);
  cursor: pointer;
}

@media (max-width: 900px) {
  .hdr__nav {
    display: none;
  }
  .hdr__burger {
    display: block;
    margin-left: auto;
  }
  .hdr--open .hdr__nav {
    position: fixed;
    inset: 58px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(4, 6, 31, 0.97);
    backdrop-filter: blur(16px);
    padding: 0.5rem var(--gut) 1.4rem;
    border-bottom: 1px solid rgba(143, 211, 255, 0.2);
  }
  .hdr--open .hdr__link {
    font-size: var(--step-1);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(143, 211, 255, 0.13);
  }
  .hdr--open .hdr__cta {
    margin-top: 1rem;
    text-align: center;
  }
}

/* ===========================================================================
   Depth rail — a gauge, not an ornament. It reads the scroll.
   =========================================================================== */

.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 40;
  pointer-events: none;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.55rem;
  font-family: var(--gauge);
}
.rail__ticks {
  position: absolute;
  left: 50%;
  top: 12vh;
  bottom: 12vh;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(143, 211, 255, 0.36) 12%,
    rgba(143, 211, 255, 0.36) 88%,
    transparent
  );
}
.rail__bead {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(241, 163, 38, 0.2);
  transition: top 0.15s linear;
}
.rail__read {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8vh;
  width: var(--rail);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--shallow);
  text-align: center;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(4, 6, 31, 0.9);
}
.rail__read b {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--foam);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 1439px) {
  .rail {
    display: none;
  }
}

/* ===========================================================================
   Hero
   =========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  /* On a narrow screen the fish takes the top band and the lockup starts below it,
     so the two never fight over the same 300px. */
  padding: clamp(17rem, 34vh, 21rem) 0 clamp(3rem, 6vh, 4rem);
  overflow: clip;
}
@media (min-width: 761px) {
  .hero {
    padding-block: clamp(6rem, 14vh, 10rem) clamp(3rem, 8vh, 6rem);
  }
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
.hero__eyebrow {
  color: var(--shallow);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero__eyebrow::before {
  content: '';
  width: clamp(24px, 5vw, 64px);
  height: 1px;
  background: var(--shallow);
  flex: 0 0 auto;
}
.hero__title {
  font-size: var(--step-5);
  line-height: 0.82;
  margin: 0.5rem 0 0;
  letter-spacing: -0.05em;
}
.hero__title span {
  display: block;
}
/* "by" is the hinge of the line — set light and wide so the two heavy words
   read as the statement and it reads as the join. Bricolage has no italic;
   weight and tracking do the work instead of a synthesised slant. */
.hero__title .l2 {
  font-weight: 200;
  padding-left: 0.1em;
  letter-spacing: 0.12em;
  font-size: 0.42em;
  line-height: 1.5;
  color: var(--shallow);
  text-transform: lowercase;
}
.hero__title .l3 {
  color: var(--gold);
}
.hero__sub {
  margin-top: clamp(1.2rem, 3vw, 2rem);
  max-width: 30ch;
  font-size: var(--step-1);
  line-height: 1.42;
  color: var(--foam);
}
.hero__acts {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--foam-dim);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: sink 2.4s ease-in-out infinite;
}
@keyframes sink {
  0%,
  100% {
    transform: scaleY(0.4);
    transform-origin: top;
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

@media (min-width: 950px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
  }
}

/* ===========================================================================
   Buttons
   =========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-family: var(--body);
  font-weight: 750;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 30px -14px rgba(241, 163, 38, 0.9);
}
.btn--gold:hover {
  background: var(--gold-lift);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -14px rgba(241, 163, 38, 0.95);
}
/* A button that cannot be pressed says so quietly, and keeps ink legible on its floor. */
.btn:disabled {
  cursor: not-allowed;
  box-shadow: none;
}
.btn:disabled:hover {
  transform: none;
}
.btn--gold:disabled,
.btn--gold:disabled:hover {
  background: color-mix(in srgb, var(--gold) 70%, var(--trench));
}
.btn--ghost {
  background: transparent;
  color: var(--foam);
  box-shadow: inset 0 0 0 1.5px rgba(242, 246, 255, 0.4);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--shallow);
  color: var(--shallow);
  transform: translateY(-3px);
}
.on-sand .btn--ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(12, 16, 36, 0.35);
}
.on-sand .btn--ghost:hover {
  color: var(--deep);
  box-shadow: inset 0 0 0 1.5px var(--deep);
}
.btn__fin {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover .btn__fin {
  transform: translateX(4px);
}

/* ===========================================================================
   Section furniture
   =========================================================================== */

.sec {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.5rem, 11vw, 9rem);
}
.sec__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}
.sec__kicker {
  color: var(--gold);
}
.ground--water .sec__kicker,
.ground--trench .sec__kicker { color: var(--gold-lift); }
.on-sand .sec__kicker {
  color: #a25c00;
}
.sec__title {
  font-size: var(--step-4);
  max-width: 15ch;
}
/* A long stated title (the careers heading is the client's own words) gets a
   step down rather than a line break every three words. */
.sec__title--long {
  font-size: var(--step-3);
  max-width: 22ch;
}
.sec__note {
  max-width: 52ch;
  color: var(--foam-dim);
}
.on-sand .sec__note {
  color: var(--ink-dim);
}
@media (min-width: 900px) {
  .sec__head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 2.5rem;
  }
  .sec__head--split .sec__kicker {
    grid-column: 1 / -1;
  }
}

/* ===========================================================================
   The trade — services as a depth stack. Rows, not icon cards.
   =========================================================================== */

.trade {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(143, 211, 255, 0.22);
}
.trade__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem 2rem;
  padding: clamp(1.6rem, 3.6vw, 2.8rem) 0;
  border-bottom: 1px solid rgba(143, 211, 255, 0.22);
  position: relative;
  transition: background 0.35s ease;
}
.trade__row::before {
  content: '';
  position: absolute;
  /* Bleeds to the page edge exactly — a fixed -2rem overshot the viewport at 390. */
  inset: 0 calc(var(--gut) * -1);
  background: linear-gradient(90deg, rgba(47, 75, 240, 0.28), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
  border-radius: 10px;
}
.trade__row:hover::before,
.trade__row:focus-within::before {
  opacity: 1;
}
.trade__depth {
  color: var(--shallow);
  align-self: start;
}
.trade__name {
  font-size: var(--step-3);
  letter-spacing: -0.04em;
  transition: color 0.3s ease;
}
.trade__row:hover .trade__name {
  color: var(--gold);
}
.trade__body {
  color: var(--foam-dim);
  max-width: 46ch;
}
@media (min-width: 860px) {
  .trade__row {
    grid-template-columns: 120px minmax(0, 1.05fr) minmax(0, 1.15fr);
    align-items: baseline;
  }
}

/* ===========================================================================
   The catch wall — trophies, hung and labelled.
   =========================================================================== */

.catch {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  align-items: end;
}
/* On its own page the wall is the point, so the trophies are hung big. */
.catch--big {
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: clamp(1.6rem, 4vw, 3.4rem);
}
.catch--big .catch__plaque h3 {
  font-size: var(--step-2);
}
.catch__item {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}
.catch__hang {
  position: relative;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  background: #0a0f30;
  box-shadow:
    0 26px 60px -24px rgba(2, 4, 20, 0.9),
    inset 0 0 0 1px rgba(143, 211, 255, 0.2);
  transform-origin: top center;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.catch__item:hover .catch__hang,
.catch__item:focus-visible .catch__hang {
  transform: rotate(-1.1deg) translateY(-6px);
}
.catch__hang img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.catch__item:hover .catch__hang img {
  transform: scale(1.035);
}
.catch__hook {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 2px;
  height: 14px;
  background: rgba(143, 211, 255, 0.5);
}
.catch__hook::after {
  content: '';
  position: absolute;
  left: -3px;
  top: -6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.catch__plaque {
  background: var(--gold);
  color: var(--ink);
  padding: 0.85rem 1rem 0.95rem;
  border-radius: 0 0 4px 4px;
  display: grid;
  gap: 0.15rem;
}
.catch__plaque h3 {
  font-size: var(--step-1);
  letter-spacing: -0.03em;
}
.catch__plaque p {
  font-size: var(--step--1);
  line-height: 1.4;
  color: #3d2c05;
}
.catch__plaque .u-mono {
  color: #2e2003;
  font-size: 0.72rem;
  font-weight: 600;
}

/* The product preview links to the working product tour. */
.corefusion-preview {
  display: block;
  border: 1px solid var(--shallow);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 26px 60px -24px rgba(2, 4, 20, 0.9);
}
.corefusion-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.corefusion-caption {
  color: var(--foam-dim);
  margin-top: 1rem;
}
.corefusion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ===========================================================================
   The school — client marks, above the waterline where white logos belong.
   =========================================================================== */

.school {
  overflow: hidden;
  /* The mask isolates this box, so it has to carry the sand itself for the
     marks' `multiply` to dissolve their white grounds into it. */
  background: var(--sand);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.school__track {
  display: flex;
  width: max-content;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  animation: swim 46s linear infinite;
}
.school:hover .school__track {
  animation-play-state: paused;
}
@keyframes swim {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* The source marks are white-paper JPEGs; the paper is knocked out to alpha at
   build time so they sit on the sand as marks, not as a row of white cards. */
.school__mark {
  flex: 0 0 auto;
  width: clamp(140px, 16vw, 205px);
  opacity: 0.82;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.school__mark:hover {
  opacity: 1;
  transform: translateY(-5px);
}

/* ===========================================================================
   Testimonial — one voice at a time, big, in the water.
   =========================================================================== */

.said {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}
.said__quote {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-2);
  line-height: 1.22;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.said__quote::first-letter {
  color: var(--gold);
}
.said__who {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.said__who img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 2px var(--gold);
  flex: 0 0 auto;
}
.said__who b {
  display: block;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.said__who span {
  color: var(--foam-dim);
  font-size: var(--step--1);
}
.on-sand .said__who span {
  color: var(--ink-dim);
}
@media (min-width: 900px) {
  .said {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===========================================================================
   Pond — the closing pitch. Small businesses are the pond.
   =========================================================================== */

.pond {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.pond__title { margin-top: .7rem; }
.pond__note { margin-top: 1rem; }
.pond--fish .pond__school { display: grid; align-content: start; }
.pond--fish .pond__school > .fish { left: auto; right: 0; top: 38%; }
.pond--fish .pond__list { max-width: 46rem; }
.pond__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.pond__list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding-block: 0.55rem;
  border-bottom: 1px dashed rgba(143, 211, 255, 0.24);
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}
.on-sand .pond__list li {
  border-bottom-color: var(--sand-edge);
}
.pond__list svg {
  width: 18px;
  flex: 0 0 auto;
  fill: var(--gold);
  transform: translateY(2px);
}
@media (min-width: 900px) {
  .pond {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ===========================================================================
   Human — Michael, the family, the chambers.
   =========================================================================== */

.human {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3.6rem);
  align-items: center;
}
.human__frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(2, 4, 20, 0.8);
}
.human__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 26%;
}
.human__face {
  position: absolute;
  left: clamp(-14px, -1.5vw, 0px);
  bottom: -22px;
  width: clamp(92px, 13vw, 128px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 6px var(--sand),
    0 18px 40px -12px rgba(2, 4, 20, 0.6);
}
.ground--water .human__face,
.ground--trench .human__face {
  box-shadow:
    0 0 0 6px var(--abyss),
    0 18px 40px -12px rgba(2, 4, 20, 0.8);
}
.human__face img {
  aspect-ratio: 1;
}
.human__cap {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.human__cap--identity { margin-top: 0; }
.human__cap + .u-prose,
.sec__title + .u-prose { margin-top: 1.2rem; }
.human__cap b {
  font-family: var(--display);
  font-size: var(--step-2);
  letter-spacing: -0.035em;
  font-weight: 750;
}
.human__cap span {
  color: var(--gold);
}
.on-sand .human__cap span {
  color: #a25c00;
}
@media (min-width: 900px) {
  .human {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

/* A cut-out image floats in the water instead of sitting in a box. */
.float img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 44px 60px rgba(2, 4, 20, 0.72));
}
@media (max-width: 899px) {
  .on-sand .float img { filter: drop-shadow(0 8px 10px rgba(2, 4, 20, 0.22)); }
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: center;
  margin-top: 2rem;
}
.badges img {
  height: clamp(38px, 5vw, 52px);
  width: auto;
}

/* ===========================================================================
   Plans — hosting. Two, side by side, not three icon cards.
   =========================================================================== */

.fish-plans {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}
.fish-plan {
  position: relative;
  border-radius: 8px;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: linear-gradient(165deg, rgba(47, 75, 240, 0.34), rgba(6, 10, 61, 0.72));
  box-shadow: inset 0 0 0 1px rgba(143, 211, 255, 0.24);
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.fish-plan--lead {
  background: linear-gradient(165deg, rgba(241, 163, 38, 0.2), rgba(6, 10, 61, 0.85));
  box-shadow: inset 0 0 0 1.5px var(--gold);
}
.fish-plan__name {
  font-size: var(--step-2);
  letter-spacing: -0.035em;
}
.fish-plan__price {
  font-family: var(--gauge);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
}
.fish-plan__price small {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  color: var(--foam-dim);
  text-transform: uppercase;
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
}
.fish-plan__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.fish-plan__list li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  color: var(--foam-dim);
  border-bottom: 1px solid rgba(143, 211, 255, 0.14);
  padding-bottom: 0.5rem;
}
.fish-plan__list li b {
  color: var(--foam);
  font-weight: 600;
}
.fish-plan__list svg {
  width: 14px;
  flex: 0 0 auto;
  fill: var(--gold);
  transform: translateY(2px);
}
.fish-plan .btn {
  justify-self: start;
  margin-top: 0.4rem;
}
@media (min-width: 860px) {
  .fish-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hosting facts — a dense spec sheet, not cards. */
.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(143, 211, 255, 0.22);
}
.facts__row {
  display: grid;
  gap: 0.4rem 2rem;
  padding-block: clamp(1.1rem, 2.4vw, 1.7rem);
  border-bottom: 1px solid rgba(143, 211, 255, 0.22);
}
.facts__row h3 {
  font-size: var(--step-1);
  letter-spacing: -0.03em;
  font-weight: 700;
}
.facts__row p {
  color: var(--foam-dim);
  max-width: 62ch;
}
@media (min-width: 820px) {
  .facts__row {
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  }
}

/* ===========================================================================
   SiteFlip — the before/after, dragged by the fish.
   =========================================================================== */

.flip {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #05082a;
  box-shadow:
    0 50px 110px -50px rgba(2, 4, 20, 0.95),
    inset 0 0 0 1px rgba(143, 211, 255, 0.22);
  touch-action: none;
  user-select: none;
}
.flip__pane {
  position: relative;
  aspect-ratio: 16 / 11;
}
.flip__pane img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.flip__after {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.flip__tag {
  position: absolute;
  top: 0.9rem;
  z-index: 3;
  background: rgba(4, 6, 31, 0.82);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--foam);
}
.flip__tag--a {
  left: 0.9rem;
}
.flip__tag--b {
  right: 0.9rem;
  background: var(--gold);
  color: var(--ink);
}
.flip__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  z-index: 4;
  cursor: ew-resize;
  border: 0;
  padding: 0;
  transform: translateX(-1.5px);
}
.flip__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 92px);
}
.flip__grip img {
  width: 100%;
  filter: drop-shadow(0 10px 24px rgba(2, 4, 20, 0.8));
}
.flip__handle:focus-visible {
  outline: 3px solid var(--gold-lift);
  outline-offset: 4px;
}
.flip__hint {
  margin-top: 0.9rem;
  color: var(--foam-dim);
}

/* Four marks of the SiteFlip programme */
.marks {
  display: grid;
  gap: 0;
  counter-reset: mark;
  border-top: 1px solid rgba(143, 211, 255, 0.22);
}
.marks__item {
  border-bottom: 1px solid rgba(143, 211, 255, 0.22);
  padding-block: clamp(1.1rem, 2.6vw, 1.8rem);
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}
.marks__item b {
  font-family: var(--display);
  font-size: var(--step-2);
  letter-spacing: -0.035em;
  font-weight: 750;
}
.marks__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}
@media (min-width: 760px) {
  .marks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 4rem);
  }
}

/* ===========================================================================
   Contact — the form sits at the waterline.
   =========================================================================== */

.form {
  display: grid;
  gap: 1.1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field > label {
  font-family: var(--gauge);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shallow);
  font-weight: 500;
}
.on-sand .field > label {
  color: #12309b;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(4, 6, 31, 0.42);
  border: 0;
  border-bottom: 2px solid rgba(143, 211, 255, 0.4);
  border-radius: 4px 4px 0 0;
  padding: 0.85rem 0.9rem;
  color: var(--foam);
  font-size: var(--step-0);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(185, 198, 238, 0.65);
}
.field input:hover,
.field textarea:hover {
  border-bottom-color: var(--shallow);
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
  background: rgba(4, 6, 31, 0.62);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field--bad input,
.field--bad textarea {
  border-bottom-color: #ff9c86;
}
.field__err {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffb3a1;
  font-size: var(--step--1);
  font-weight: 600;
}
.field__err svg {
  width: 14px;
  flex: 0 0 auto;
  fill: currentColor;
}
.form__row {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 700px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.form__honest {
  color: var(--foam-dim);
  font-size: var(--step--1);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.form__honest svg {
  width: 13px;
  flex: 0 0 auto;
  fill: var(--shallow);
  transform: translateY(1px);
}
/*
  Cloudflare's Turnstile widget. Only on the page when a site key is set in ContactForm.tsx.
  The widget itself is a cross-origin iframe — nothing inside it can be styled, so this
  reserves its own 300×65 box so the send button does not jump when it draws, and lets the
  ground show through around it. The dark theme is asked for on the widget's own options.
*/
.form__guard {
  width: 300px;
  max-width: 100%;
  min-height: 65px;
}
.form__guard-note {
  color: var(--foam-dim);
  font-size: var(--step--1);
  max-width: 34ch;
}
.on-sand .form__guard-note {
  color: var(--ink-dim);
}

.form__sent {
  border-radius: 8px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(160deg, rgba(241, 163, 38, 0.22), rgba(6, 10, 61, 0.8));
  box-shadow: inset 0 0 0 1.5px var(--gold);
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}
.form__sent h3 {
  font-size: var(--step-2);
}
.form__sent p {
  color: var(--foam-dim);
  max-width: 46ch;
}

.detail {
  display: grid;
  gap: 1.3rem;
  align-content: start;
}
.detail__item {
  display: grid;
  gap: 0.2rem;
}
.detail__item a {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: var(--gold);
  width: fit-content;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.detail__item a:hover {
  border-bottom-color: var(--gold);
}
.detail__val {
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.detail__key {
  color: var(--shallow);
}

/* ===========================================================================
   Footer
   =========================================================================== */

.ftr {
  background: var(--abyss);
  border-top: 1px solid rgba(143, 211, 255, 0.16);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
  position: relative;
  z-index: 2;
}
.ftr__grid {
  display: grid;
  gap: 2.2rem;
}
/* Wherever the lockup appears it sits on a plate of its own brand blue, so the
   band the logo file carries reads as a badge rather than a stray rectangle. */
.ftr__mark,
.mark-plate {
  background: var(--deep);
  border-radius: 10px;
  padding: 12px 18px 12px 6px;
  width: fit-content;
}
.mark-plate img {
  width: min(240px, 60vw);
}
.ftr__mark img {
  width: 210px;
}
.ftr__tag {
  color: var(--foam-dim);
  margin-top: 0.9rem;
  max-width: 32ch;
}
.ftr__cols {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
}
.ftr__col li,
.ftr__col a {
  overflow-wrap: anywhere;
}
.ftr__col h4 {
  font-size: var(--step--1);
  font-family: var(--gauge);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shallow);
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.ftr__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.ftr__col ul + h4 {
  margin-top: 2rem;
}
.ftr__col a {
  text-decoration: none;
  color: var(--foam-dim);
  transition: color 0.2s ease;
}
.ftr__col a:hover {
  color: var(--gold);
}
.ftr__base {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(143, 211, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--foam-dim);
  font-size: var(--step--1);
}
@media (min-width: 900px) {
  .ftr__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 4rem;
  }
}

/* ===========================================================================
   Page heads (inner pages) — a shallower water, still a scene.
   =========================================================================== */

.phead {
  position: relative;
  min-height: clamp(52vh, 60vh, 74vh);
  display: grid;
  align-items: end;
  padding: clamp(7rem, 16vh, 11rem) 0 clamp(2.5rem, 6vw, 5rem);
  overflow: clip;
}
.phead__in {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
  max-width: 30ch;
}
.phead__title {
  font-size: var(--step-4);
  letter-spacing: -0.05em;
}
.phead__title em {
  font-style: normal;
  color: var(--gold);
}
.phead__lede {
  color: var(--foam);
  font-size: var(--step-1);
  line-height: 1.42;
  max-width: 40ch;
}

/* ===========================================================================
   Rise — the closing band. The water shallows and the fish comes up into it.
   =========================================================================== */

.rise {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(5rem, 12vw, 8rem) clamp(9rem, 20vw, 15rem);
  /* The light comes from the bottom left, because that is where the fish is. */
  background:
    radial-gradient(78% 96% at 16% 106%, rgba(47, 75, 240, 0.8), transparent 62%),
    linear-gradient(180deg, var(--abyss) 0%, #070f52 52%, var(--abyss) 100%);
}
.rise__grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.rise__say {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.rise__title {
  font-size: var(--step-4);
  letter-spacing: -0.05em;
  max-width: 12ch;
}
.rise__acts {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}
.rise__reach {
  display: grid;
  gap: 0.4rem;
  justify-items: start;
  padding-left: clamp(0px, 2vw, 2rem);
  border-left: 1px solid rgba(143, 211, 255, 0.24);
}
.rise__big {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.045em;
  font-size: var(--step-3);
  line-height: 1.05;
  text-decoration: none;
  color: var(--gold);
  border-bottom: 3px solid transparent;
  transition:
    border-color 0.24s ease,
    color 0.24s ease;
  overflow-wrap: anywhere;
}
.rise__big:hover {
  border-bottom-color: var(--gold);
  color: var(--gold-lift);
}
.rise__big--sm {
  font-size: var(--step-2);
  color: var(--foam);
}
.rise__big--sm:hover {
  color: var(--shallow);
  border-bottom-color: var(--shallow);
}
.rise__where {
  color: var(--shallow);
  margin-top: 0.6rem;
}
@media (min-width: 900px) {
  .rise__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .rise {
    padding-left: 0;
  }
}
@media (max-width: 899px) {
  .rise {
    padding-block: 4.5rem 17.5rem;
  }
  .rise__grid {
    gap: 2.5rem;
  }
  .rise__reach {
    padding-top: 1.5rem;
    padding-left: 0;
    border-top: 1px solid rgba(143, 211, 255, 0.24);
    border-left: 0;
  }
  .rise > .fish {
    top: auto;
    right: auto;
    bottom: 1.25rem;
    left: -1rem;
    width: 8.5rem;
  }
}

/* ===========================================================================
   About — history and philosophy as columns of running text
   =========================================================================== */

.hist {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}
.hist__col {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding-top: 1.1rem;
  border-top: 2px solid var(--gold);
}
.hist__year {
  color: #a25c00;
}
.ground--trench .hist__year,
.ground--water .hist__year {
  color: var(--gold);
}
.hist__col p {
  color: var(--ink-dim);
  max-width: 46ch;
}
.ground--trench .hist__col p,
.ground--water .hist__col p {
  color: var(--foam-dim);
}
@media (min-width: 820px) {
  .hist {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  }
}

/* ===========================================================================
   SiteFlip rail — the fish IS the slider thumb. Native range: keyboard free.
   =========================================================================== */

.rail-flip {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}
.rail-flip__stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #05082a;
  box-shadow:
    0 50px 110px -50px rgba(2, 4, 20, 0.95),
    inset 0 0 0 1px rgba(143, 211, 255, 0.22);
  aspect-ratio: 4 / 3;
}
@media (max-width: 700px) {
  .rail-flip__stage {
    aspect-ratio: 3 / 4;
  }
}
.rail-flip__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rail-flip__shot.is-on {
  opacity: 1;
  transform: none;
}
.rail-flip__plate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(1rem, 2.4vw, 1.6rem);
  background: linear-gradient(180deg, rgba(4, 6, 31, 0.9), rgba(4, 6, 31, 0.98));
  display: grid;
  gap: 0.2rem;
}
.rail-flip__plate h3 {
  font-size: var(--step-2);
  letter-spacing: -0.035em;
}
.rail-flip__plate p {
  color: var(--foam-dim);
  max-width: 52ch;
}
.rail-flip__plate .u-mono {
  color: var(--gold);
}
.rail-flip__control {
  display: grid;
  gap: 0.9rem;
}
.rail-flip__control > label {
  color: var(--shallow);
}
.rail-flip__track {
  position: relative;
  padding-block: 1.6rem 1.2rem;
}
.rail-flip__ticks {
  position: absolute;
  inset: auto 30px 0.6rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.rail-flip__ticks span {
  width: 1px;
  height: 12px;
  background: rgba(143, 211, 255, 0.5);
}
.rail-flip__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
  margin: 0;
  display: block;
  cursor: grab;
}
.rail-flip__range:active {
  cursor: grabbing;
}
.rail-flip__range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(143, 211, 255, 0.4));
}
.rail-flip__range::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(143, 211, 255, 0.4));
}
.rail-flip__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 62px;
  height: 62px;
  margin-top: -30px;
  border: 0;
  border-radius: 50%;
  background: url('/packs/buzzfish-big-fish/fish-sm.webp') center / contain no-repeat;
  filter: drop-shadow(0 10px 22px rgba(2, 4, 20, 0.85));
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rail-flip__range::-moz-range-thumb {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: url('/packs/buzzfish-big-fish/fish-sm.webp') center / contain no-repeat;
  filter: drop-shadow(0 10px 22px rgba(2, 4, 20, 0.85));
}
.rail-flip__range:hover::-webkit-slider-thumb {
  transform: scale(1.08) rotate(-6deg);
}
.rail-flip__range:focus-visible {
  outline: none;
}
.rail-flip__range:focus-visible::-webkit-slider-thumb {
  outline: 3px solid var(--gold-lift);
  outline-offset: 4px;
}
.rail-flip__range:focus-visible::-moz-range-thumb {
  outline: 3px solid var(--gold-lift);
  outline-offset: 4px;
}
.rail-flip__names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
}
.rail-flip__name {
  background: none;
  border: 0;
  padding: 0.2rem 0;
  cursor: pointer;
  color: var(--foam-dim);
  font-size: var(--step--1);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.rail-flip__name:hover {
  color: var(--foam);
}
.rail-flip__name.is-on {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ===========================================================================
   Contact layout + careers
   =========================================================================== */

.fish-contact {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.site .ground > .shell.fish-contact {
  padding-block: 0;
  border: 0;
  background: transparent;
}
@media (min-width: 900px) {
  .fish-contact {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }
}

/* The platform form keeps its native questions, validation, Turnstile and submit door;
   this pack gives that shared markup the accepted form's waterline composition. */
.site .fish-contact .built-form {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--foam);
}
.site .fish-contact .built-form-title { display: none; }
.site .fish-contact .built-form-title + * { margin-top: 0; }
.site .fish-contact .built-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.site .fish-contact .built-form-field,
.site .fish-contact .built-form-field[data-type='name'] { grid-column: auto; }
.site .fish-contact .built-form-field:has(textarea),
.site .fish-contact .built-form-heading { grid-column: 1 / -1; }
.site .fish-contact .built-form-field,
.site .fish-contact .built-form-compound,
.site .fish-contact .built-form-part { gap: .4rem; }
.site .fish-contact .built-form-label,
.site .fish-contact .built-form-compound > .built-form-label,
.site .fish-contact .built-form-part > span {
  color: var(--shallow);
  font-family: var(--gauge);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.site .fish-contact .built-form-required { color: #ffb3a1; }
.site .fish-contact .built-form-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.site .fish-contact .built-form-name-grid > :nth-child(1),
.site .fish-contact .built-form-name-grid > :nth-child(3),
.site .fish-contact .built-form-name-grid > :nth-child(5) { display: none; }
.site .fish-contact .built-form-input,
.site .fish-contact .built-form-textarea,
.site .fish-contact .built-form-select {
  width: 100%;
  min-height: 0;
  padding: .85rem .9rem;
  border: 0;
  border-bottom: 2px solid rgba(143, 211, 255, .4);
  border-radius: 4px 4px 0 0;
  background: rgba(4, 6, 31, .42);
  box-shadow: none;
  color: var(--foam);
  font-family: var(--body);
  font-size: var(--step-0);
  transition: border-color .2s ease, background .2s ease;
}
.site .fish-contact .built-form-name-grid > :nth-child(2) .built-form-input {
  border-radius: 4px 4px 0 0;
}
.site .fish-contact .built-form-name-grid > :nth-child(4) .built-form-input { border-radius: 4px 4px 0 0; }
.site .fish-contact .built-form-input:hover,
.site .fish-contact .built-form-textarea:hover,
.site .fish-contact .built-form-select:hover { border-bottom-color: var(--shallow); }
.site .fish-contact .built-form-input:focus,
.site .fish-contact .built-form-textarea:focus,
.site .fish-contact .built-form-select:focus {
  border-bottom-color: var(--gold);
  background: rgba(4, 6, 31, .62);
}
.site .fish-contact .built-form-textarea { min-height: 150px; resize: vertical; }
.site .fish-contact .built-form-actions {
  justify-content: flex-start;
  margin-top: 1.1rem;
}
.site .fish-contact .built-form-submit {
  min-height: 0;
  padding: .8rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: none;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 750;
}
.site .fish-contact .built-form-submit:hover,
.site .fish-contact .built-form-submit:focus-visible { background: var(--gold-lift); color: var(--ink); }
.site .fish-contact .built-form-refusal,
.site .fish-contact .built-form-sent {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(241, 163, 38, .2), rgba(6, 10, 61, .8));
  color: var(--foam);
}
.fish-contact__form { align-content: start; }
.fish-contact__form .form__privacy { margin-top: 1.1rem; }
@media (max-width: 700px) {
  .site .fish-contact .built-form-fields { grid-template-columns: 1fr; }
  .site .fish-contact .built-form-field:has(textarea),
  .site .fish-contact .built-form-heading { grid-column: auto; }
}

.careers {
  display: grid;
  gap: 0.9rem;
  max-width: 70ch;
  border-left: 3px solid var(--gold);
  padding-left: clamp(1rem, 3vw, 1.8rem);
}
.careers__label {
  color: #a25c00;
}
.careers__now {
  font-size: var(--step-1);
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.careers__eeo {
  color: var(--ink-dim);
  font-size: var(--step--1);
  line-height: 1.65;
}

/* ===========================================================================
   Reveal (motion off → everything is already in place)
   =========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .caustic,
  .shafts {
    opacity: 0.34;
  }
  .school__track {
    animation: none;
    transform: none;
  }
  .hero__scroll i {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Legal reading keeps the site's sand, ink and typographic rhythm. */
.privacy-copy { margin-inline: auto; }
.privacy-copy h2 { color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.15; margin: 2.25rem 0 1rem; }
.privacy-copy a, .form__privacy a { text-decoration: underline; text-underline-offset: .18em; }
.privacy-copy a:hover { color: var(--deep); }
.privacy-copy a:focus-visible { outline-color: var(--ink); }
.form__privacy { max-width: 60ch; font-size: .9rem; line-height: 1.6; color: var(--foam); }
.form__privacy a:hover { color: var(--gold); }
