/* ==========================================================================
   SUNNYFISH · SET 02 "RUGGED GEAR" — CORE SYSTEM
   Shared by all 8 pages. Angle, 1px, 0-radius language from ref-2 Outrex.
   Interface neutrals + black pill from ref-4 Monster Hunter.
   Fixed decision bar from ref-3 Anchor.
   ========================================================================== */

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

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

body {
  margin: 0;
  overflow-x: clip; /* lets the hero subject break the frame without a scrollbar */
  background: var(--paper-2);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-size: var(--body-s);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-decision { padding-bottom: 64px; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }

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

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em;
}
.skip:focus { top: 12px; }

/* --------------------------------------------------------------------------
   1. LAYOUT
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 980px; }

.sec { padding-block: var(--sec); }
.sec--paper { background: var(--paper); }
.sec--white { background: var(--white); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--flush-top { padding-top: 0; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--ink { background: var(--ink); }
.rule--soft { background: var(--line-soft); }

/* torn paper edge — the only "hand-made" device in the system (Outrex §1.2) */
.tear {
  height: 24px;
  background: var(--ink);
  -webkit-mask: url("../images/tear-mask.svg") center / 100% 100% no-repeat;
  mask: url("../images/tear-mask.svg") center / 100% 100% no-repeat;
}
.tear--light { background: var(--paper-2); }
.tear--green { background: var(--green); }
.tear--flip { transform: scaleY(-1); }

/* --------------------------------------------------------------------------
   2. TYPE HELPERS
   -------------------------------------------------------------------------- */
.display {
  font-family: var(--f-disp);
  font-weight: 900;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: var(--tr-disp);
  line-height: var(--lh-disp);
  color: var(--ink);
}
.mono {
  font-family: var(--f-mono);
  font-size: var(--label);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
}
.lede { font-size: var(--lead); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* icon sprite: 1.6px line drawing is the house default (Outrex outline set) */
.icon {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* --------------------------------------------------------------------------
   3. BUTTONS  — measured from Outrex hero pair
   60px tall · 0 radius · 40px side padding · 19px sentence-case label ·
   green fill #86EE02 / ghost 1.5px white frame · 21px between buttons.
   No mono, no uppercase, no tracking, no icon inside nav-level buttons.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; height: 60px; padding: 0 40px;
  border: 1px solid transparent; border-radius: var(--r2);
  font-family: var(--f-body); font-size: 19px; font-weight: 500;
  letter-spacing: 0; text-transform: none; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn__logo { width: 20px; height: 20px; flex: 0 0 auto; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: var(--green-2); }
.btn--gold { background: var(--yellow); color: var(--ink); }
.btn--gold:hover { background: color-mix(in srgb, var(--yellow) 86%, var(--ink)); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1b1e17; }
.btn--ink-outline { background: var(--ink); color: #fff; border: 1.5px solid #fff; }
.btn--ink-outline:hover { background: #1b1e17; border-color: var(--green); }
.btn--white { background: #fff; color: var(--ink); }
.btn--ghost { border: 1.5px solid #fff; color: #fff; }
.btn--ghost:hover { border-color: var(--green); background: rgba(255,255,255,.08); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--pill {
  border-radius: var(--r-pill);
  background: var(--black); color: #fff;
  height: 44px; padding: 0 22px; font-size: 15px;
}
.btn--pill:hover { background: #1b1e17; }
.btn--sm { height: 46px; padding: 0 24px; font-size: 16px; }
.btn--wide { width: 100%; }
.btn--icon { width: 46px; height: 46px; padding: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-size: 15px;
  letter-spacing: 0; text-transform: none;
  border-bottom: 1px solid transparent; padding-bottom: 3px;
}
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow .icon { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   4. TAGS / CHIPS / METER
   -------------------------------------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  border-radius: var(--r1);
  font-family: var(--f-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--red); color: #fff; white-space: nowrap;
}
.tag--green { background: var(--green); color: var(--ink); }
.tag--orange { background: var(--orange); color: #fff; }
.tag--ink { background: var(--ink); color: #fff; }
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.tag--yellow { background: var(--yellow); color: var(--ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border: 0; border-radius: var(--r2);
  background: #F0F0F0; color: var(--ink-2);
  font-family: var(--f-body); font-size: 15px; letter-spacing: 0;
  text-transform: none; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.chip:hover { background: #E8E8E8; }
.chip.is-active { background: var(--ink); color: #fff; }
.chip__count { color: var(--faint); }
.chip.is-active .chip__count { color: rgba(255,255,255,.55); }

.meter {
  height: 4px; background: #E7E7E4; position: relative; overflow: hidden;
}
.meter span {
  position: absolute; inset: 0 auto 0 0; display: block;
  background: var(--ink); width: var(--v, 0%);
}
.meter--green span { background: var(--green); }
.meter--orange span { background: var(--orange); }

.stat {
  display: grid; gap: 2px;
}
.stat__label {
  font-family: var(--f-mono); font-size: var(--micro);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.stat__value {
  font-family: var(--f-mono); font-size: 18px; font-weight: 500;
  font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.1;
}
.stat__value small { font-size: 11px; color: var(--muted); margin-left: 3px; }
.sec--dark .stat__value { color: #fff; }
.sec--dark .stat__label { color: rgba(255,255,255,.5); }

/* --------------------------------------------------------------------------
   5. HEADER — nav row only (Outrex §2.6), gold pill CTA (MH)
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-nav);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line-nav); }

.nav__row1 {
  height: 72px; align-items: center; gap: 32px;
  /* equal side rails centre the item row on the container, independent of the
     brand and tools widths; min-content floors stop them colliding when narrow */
  display: grid;
  grid-template-columns: minmax(min-content, 1fr) auto minmax(min-content, 1fr);
  transition: height .22s ease;
}
.nav.is-scrolled .nav__row1 { height: 64px; }

.brand { grid-column: 1; justify-self: start; display: flex; align-items: center; }
.brand__lockup { display: block; height: 48px; width: auto; }

/* search collapsed to a single icon button — no input field (row1 only) */
.search {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border: 0; border-radius: var(--r2);
  background: #F0F0F0; color: var(--ink);
  transition: background .15s ease;
}
.search:hover { background: #E8E8E8; }
.search .icon { width: 20px; height: 20px; }

.nav__actions {
  grid-column: 3; justify-self: end;
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
}
.nav__cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 24px; border-radius: var(--r2);
  background: var(--yellow); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; font-weight: 400;
  letter-spacing: 0; text-transform: none; white-space: nowrap;
  transition: background .15s ease;
}
.nav__cta:hover { background: color-mix(in srgb, var(--yellow) 86%, var(--ink)); }

/* in-page anchor targets sit below the sticky header instead of underneath it:
   the header is 72px tall plus its 1px rule at desktop, 60px + 1px on mobile */
#app { scroll-margin-top: 73px; }

/* single-row header: brand · 5 items · search icon button + Get app (72px) */
.nav__track {
  grid-column: 2; display: flex; align-items: center;
  justify-content: center; gap: 32px;
}
.nav__item {
  position: relative;
  font-family: var(--f-body); font-size: 19px; font-weight: 400;
  letter-spacing: 0; text-transform: uppercase; color: var(--nav-ink);
  line-height: 30px; padding: 21px 0;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav__item:hover, .nav__item.is-active { color: var(--ink); }
/* row collapses to 64px once scrolled — keep the hit area inside it */
.nav.is-scrolled .nav__item { padding: 17px 0; }

.nav__burger {
  display: none; width: 44px; height: 44px;
  background: #F0F0F0; align-items: center; justify-content: center;
  margin-left: auto;
}
.nav__burger .icon { width: 20px; height: 20px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--ink); color: #fff;
  transform: translateY(-100%);
  transition: transform .32s cubic-bezier(.6,0,.2,1);
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 28px;
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer .brand__lockup { height: 36px; }
.drawer__close {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; color: #fff;
}
.drawer__nav { margin-top: 40px; display: grid; }
.drawer__nav a {
  font-family: var(--f-disp); font-weight: 900; font-stretch: 100%;
  font-size: 40px; line-height: 1.1; text-transform: uppercase;
  letter-spacing: -.02em; color: #fff;
  padding: 14px 0;
  display: flex; align-items: baseline; justify-content: space-between;
}
.drawer__nav a span {
  font-family: var(--f-mono); font-size: 10px; color: var(--green);
  letter-spacing: .1em;
}
.drawer__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.drawer__foot .mono { color: rgba(255,255,255,.45); }

/* --------------------------------------------------------------------------
   6. HERO — full-bleed dark cinema plate (MH §1.5) inside Outrex grid
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: visible;
  background: var(--ink); color: #fff;
  min-height: clamp(520px, 64vh, 720px);
  display: flex; align-items: stretch;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  /* daylight plate: keep the sky blue, dim only enough for white type */
  filter: saturate(1) contrast(1.02) brightness(.93);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,14,22,.82) 0%, rgba(6,14,22,.58) 34%, rgba(6,14,22,.04) 66%, rgba(6,14,22,.24) 100%),
    /* the hero now sits straight on the ink mosaic — the plate fades to ink at
       the fold so the section edge is a colour match, not a photo cut */
    linear-gradient(180deg, rgba(6,14,22,.22) 0%, rgba(6,14,22,0) 24%, rgba(6,14,22,.42) 68%, rgba(8,10,6,.97) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 100%; padding-top: 72px; padding-bottom: clamp(30px, 4vw, 46px);
  /* text sits on the lower edge of the plate, matching /regulations */
}
.hero h1 {
  font-family: var(--f-disp); font-weight: 900; font-stretch: 100%;
  /* sized so each of the three headline sentences holds one full line */
  font-size: clamp(2rem, 4.2vw, 3.75rem); line-height: var(--lh-disp); letter-spacing: var(--tr-disp);
  text-transform: uppercase; color: #fff;
  max-width: 1280px; margin: 0 0 24px;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__sub {
  max-width: 46ch; color: rgba(255,255,255,.82);
  font-size: 17px; line-height: 1.5; margin: 0 0 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Four-column stat strip on the lower edge of every first-level hero. */
.hero__meta {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0; margin-top: 40px; max-width: 760px;
  border-top: 1px solid rgba(255,255,255,.24);
}
.hero__meta div {
  padding: 14px 16px 0 0;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.56);
}
.hero__meta b {
  display: block; margin-top: 5px;
  font-family: var(--f-mono); font-size: 22px; font-weight: 500;
  letter-spacing: -.01em; color: #fff; font-variant-numeric: tabular-nums;
}
.hero__meta b small { font-size: 10px; color: rgba(255,255,255,.45); margin-left: 3px; }

/* --------------------------------------------------------------------------
   TIER 1 HERO — Species, Knowledge, Regulations, Tides.
   One photo plate, identical geometry: the title, standfirst and stat strip
   sit on the lower edge and share the same 1360px wrap. The home hero keeps
   the rules above untouched.
   -------------------------------------------------------------------------- */
.hero--index { min-height: clamp(440px, 48vh, 560px); }
.hero--index .hero__media img {
  object-fit: cover;
  filter: saturate(.85) contrast(1.05) brightness(.8);
}
.hero--index .hero__scrim {
  background:
    linear-gradient(90deg, rgba(6,10,8,.92) 0%, rgba(6,10,8,.72) 36%, rgba(6,10,8,.26) 68%, rgba(6,10,8,.12) 100%),
    linear-gradient(180deg, rgba(6,10,8,.34) 0%, rgba(6,10,8,.04) 32%, rgba(6,10,8,.58) 100%);
}
.hero--index .hero__inner {
  padding-block: clamp(40px, 5vw, 56px) clamp(28px, 3.4vw, 40px);
}
.hero--index h1 {
  font-size: var(--d1); line-height: 1.04; letter-spacing: -.025em;
  max-width: 900px; margin: 0;
}
.hero--index .hero__sub {
  max-width: 56ch; font-size: 16px; line-height: 1.55;
  margin: 16px 0 0; color: rgba(255,255,255,.78);
}
.hero--index .hero__meta { margin-top: 28px; max-width: 800px; }

/* --------------------------------------------------------------------------
   7. DATA BAND — removed with the home ticker
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   8. SECTION HEAD
   -------------------------------------------------------------------------- */
.sec-head {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: var(--s10); align-items: end;
  margin-bottom: var(--head-gap);
}
.sec-head h2 {
  font-family: var(--f-disp); font-weight: 900; font-stretch: 100%;
  font-size: var(--d2); line-height: var(--lh-disp); letter-spacing: var(--tr-disp);
  text-transform: uppercase; color: var(--ink);
  margin: 0;
}
.sec-head p { max-width: 46ch; margin: 0; color: var(--body); font-size: var(--body-s); }
.sec--dark .sec-head h2 { color: #fff; }
.sec--dark .sec-head p { color: rgba(255,255,255,.62); }

.sec-head--stack { grid-template-columns: 1fr; }
.sec-head--stack p { margin-top: 16px; }

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--gap); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); }

.card {
  display: flex; flex-direction: column;
  background: #fff; border: var(--hair); border-radius: var(--r0);
  transition: border-color .16s ease;
}
.card:hover { border-color: var(--green); }

.card__media {
  position: relative; overflow: hidden; background: var(--paper);
  aspect-ratio: 4 / 3;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.5) contrast(1.06) brightness(.97);
  transition: filter .3s ease, transform .5s ease;
}
.card:hover .card__media img { filter: saturate(.95) contrast(1.04); transform: scale(1.02); }
.card__tag { position: absolute; top: 0; left: 0; z-index: 2; }
.card__body { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 4px; }
.card__title {
  font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: -.01em; line-height: 1.2;
}
.card__latin {
  font-family: var(--f-mono); font-size: 10px; font-style: italic;
  letter-spacing: .04em; color: var(--muted);
}
.card__copy {
  font-size: 13px; color: var(--body); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-top: 4px;
}
.card__data {
  margin: 12px 0 14px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding-top: 4px;
}
.card__data dt {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 2px;
}
.card__data dd {
  margin: 0; font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-2);
}
/* Outrex "Add to cart": full-bleed #F5F5F5 bar, 46px, sentence case */
.card__foot {
  margin-top: auto;
  background: #F5F5F5;
  height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  font-family: var(--f-body); font-size: 16px; font-weight: 600; letter-spacing: 0;
  text-transform: none; color: var(--ink);
  transition: background .16s ease;
}
.card:hover .card__foot { background: var(--green); }
.card__foot .icon { width: 14px; height: 14px; }

/* location / mark card — data plate, no photo (not a shop tile) */
.mark {
  border: var(--hair); background: #fff; padding: 18px;
  display: flex; flex-direction: column;
  transition: border-color .16s ease;
}
.mark:hover { border-color: var(--green); }
.mark__name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); line-height: 1.15; }
.mark__region {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.mark__rows { margin-top: auto; padding-top: 16px; display: grid; gap: 6px; }
.mark__row {
  display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
.mark__row b { color: var(--ink-2); font-weight: 500; }
.mark__verdict {
  margin-top: 14px; padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase;
}
.mark__verdict .dot { width: 6px; height: 6px; background: var(--green); display: inline-block; margin-right: 6px; }

/* --------------------------------------------------------------------------
   10. SPLIT / PROMO (information cards, not merchandise)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 55fr 45fr; gap: var(--gap); }
.promo {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3.4vw, 48px);
  min-height: 380px;
  display: flex; flex-direction: column;
}
.promo--orange { background: var(--orange); color: #fff; }
.promo--green { background: var(--green); color: var(--ink); }
.promo--ink { background: var(--ink); color: #fff; }
.promo--white { background: #F0F0F0; color: var(--ink); }
.promo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(112deg, rgba(0,0,0,.055) 0 2px, transparent 2px 10px);
}
.promo--ink::after { background-image: repeating-linear-gradient(112deg, rgba(255,255,255,.05) 0 2px, transparent 2px 10px); }
.promo > * { position: relative; z-index: 1; }
.promo h3 {
  font-family: var(--f-disp); font-weight: 900; font-stretch: 100%;
  font-size: var(--d3); line-height: var(--lh-disp); letter-spacing: var(--tr-disp);
  text-transform: uppercase; max-width: 10ch; margin: 0 0 16px;
}
.promo p { max-width: 34ch; font-size: 14px; line-height: 1.5; }
.promo__stat {
  margin-top: auto; display: flex; align-items: flex-end; gap: 18px;
}
.promo__big {
  font-family: var(--f-mono); font-size: clamp(48px, 5.6vw, 82px);
  font-weight: 500; line-height: .86; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.promo__big small { font-size: .26em; letter-spacing: .08em; display: block; margin-top: 6px; }
.promo__meta {
  display: grid; gap: 4px; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; padding-bottom: 6px;
}
.promo .btn { margin-top: 24px; align-self: flex-start; }

/* --------------------------------------------------------------------------
   11. MOSAIC (dark section)
   -------------------------------------------------------------------------- */
.mosaic {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0,1fr));
  grid-template-rows: repeat(2, minmax(230px, auto));
}
.mosaic > * { position: relative; overflow: hidden; padding: 26px; display: flex; flex-direction: column; }
.mosaic__tall { grid-row: span 2; }
.mosaic__wide { grid-column: span 2; }
.mosaic h3 {
  font-family: var(--f-disp); font-weight: 900; font-stretch: 100%;
  font-size: clamp(24px, 2.2vw, 34px); line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase; margin: 0;
  max-width: 11ch;
}
.mosaic p { font-size: 13px; line-height: 1.5; margin: 10px 0 0; max-width: 30ch; opacity: .8; }
.mosaic__foot {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase;
}
.mosaic__count {
  font-family: var(--f-mono); font-size: 40px; font-weight: 500;
  line-height: .9; letter-spacing: -.03em;
}
.mosaic--green { background: var(--green); color: var(--ink); }
.mosaic--orange { background: var(--orange); color: #fff; }
.mosaic--white { background: #fff; color: var(--ink); }
.mosaic--ink { background: #10130c; color: #fff; }
.mosaic--green::after, .mosaic--orange::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(112deg, rgba(0,0,0,.05) 0 2px, transparent 2px 10px);
}
.mosaic > * > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   12. (paper stack removed with the home quote)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   13. SUBSCRIBE
   -------------------------------------------------------------------------- */
.subscribe { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: var(--s20); align-items: center; }
.subscribe h2 {
  font-family: var(--f-disp); font-weight: 900; font-stretch: 100%;
  font-size: var(--d3); line-height: var(--lh-disp); letter-spacing: var(--tr-disp);
  text-transform: uppercase; margin: 12px 0 18px; color: var(--ink);
}
.subscribe h2 em { font-style: normal; color: var(--orange); }
.field { display: flex; gap: 4px; max-width: 520px; }
.field input {
  flex: 1; height: 52px; padding: 0 18px;
  border: 0; border-radius: var(--r2);
  background: #F0F0F0; outline: none;
  font-family: var(--f-body); font-size: 15px; letter-spacing: 0;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { background: #E8E8E8; }
.field .btn { border-radius: var(--r2); }
.subscribe__media { aspect-ratio: 4 / 3; overflow: hidden; border: var(--hair); }
.subscribe__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.footer__cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s10);
  padding: 64px 0 48px;
}
.footer__brand {
  display: inline-block;
  font-family: var(--f-disp); font-weight: 900; font-size: 30px;
  letter-spacing: -.01em; color: #fff;
}
.footer__label {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 10px;
}
.footer__text { font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.6; }
.footer a.footer__text { border-bottom: 1px solid transparent; }
.footer a.footer__text:hover { border-bottom-color: var(--green); }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.28);
  display: grid; place-items: center; color: #fff;
}
.footer__social a:hover { border-color: var(--green); color: var(--green); }
.footer__social .icon { width: 15px; height: 15px; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0 22px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.footer__bar nav { display: flex; gap: 24px; }

/* --------------------------------------------------------------------------
   15. DATA TABLE / ROWS
   -------------------------------------------------------------------------- */
.table { }
.trow {
  display: grid; align-items: center; gap: 16px;
  padding: 16px 12px;
  transition: background .14s ease;
}
.trow:nth-child(even) { background: var(--paper); }
.trow:hover { background: rgba(134,238,2,.08); }
.trow--head {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  padding-block: 10px; background: transparent;
}
.trow--head:nth-child(even) { background: transparent; }
.trow__main { display: grid; gap: 2px; min-width: 0; }
.trow__name { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.trow__sub { font-size: 12px; color: var(--muted); }
.trow__val { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.trow__label { font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); display: none; }

/* --------------------------------------------------------------------------
   16. CHARTS (dark instrument panel)
   -------------------------------------------------------------------------- */
.panel {
  background: var(--ink); color: #fff; padding: 24px;
  border: 1px solid var(--ink);
}
.sec--dark .panel { background: #10130c; border-color: rgba(255,255,255,.14); }
.panel--light { background: #fff; color: var(--ink); border: var(--hair); }
.panel__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
}
.panel__title {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
.panel--light .panel__title { color: var(--muted); }
.panel__value {
  font-family: var(--f-mono); font-size: 26px; font-weight: 500;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.chart { width: 100%; height: auto; }
.chart text {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .08em;
  fill: rgba(255,255,255,.45);
}
.chart .grid { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--green); stroke-width: 2.25; }
.chart .area { fill: rgba(134,238,2,.1); }
.chart .mark { fill: var(--orange); }
.chart .mark-ring { fill: none; stroke: var(--orange); stroke-width: 1; }
.chart .now { stroke: #fff; stroke-width: 1; stroke-dasharray: 3 5; opacity: .5; }
.chart .window { fill: rgba(134,238,2,.12); }
.chart .rule { stroke: rgba(255,255,255,.14); }

.legend { display: flex; flex-wrap: wrap; gap: 16px; }
.legend__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
.legend__swatch { width: 10px; height: 10px; flex: none; }

/* 12-month seasonality bars */
.season { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 74px; }
.season__bar { background: rgba(255,255,255,.16); position: relative; height: var(--h); }
.season__bar.is-peak { background: var(--green); }
.season__bar.is-now { outline: 1px solid var(--yellow); outline-offset: 2px; }
.season__labels {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px;
  margin-top: 6px; font-family: var(--f-mono); font-size: 8px;
  letter-spacing: .04em; color: rgba(255,255,255,.4); text-align: center;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   17. FIXED DECISION BAR (Anchor §3.8) — key "when can I use it" data
   -------------------------------------------------------------------------- */
.decision {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  background: rgba(253,253,253,.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(102%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.decision.is-on { transform: none; }
.decision__inner {
  min-height: 64px; display: flex; align-items: center; gap: 28px;
}
.decision__lead {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.decision__badge {
  width: 30px; height: 30px; background: var(--green);
  display: grid; place-items: center; flex: none;
}
.decision__badge .icon { width: 16px; height: 16px; }
.decision__text { min-width: 0; }
.decision__text b {
  display: block; font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.decision__text span {
  display: block; font-family: var(--f-mono); font-size: 9px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.decision__cells { display: flex; gap: 28px; margin-left: auto; }
.decision__cell { min-width: 0; }
.decision__cell span {
  display: block; font-family: var(--f-mono); font-size: 8px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.decision__cell b {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.decision__actions { display: flex; gap: 8px; margin-left: 8px; }

/* --------------------------------------------------------------------------
   18. REVEAL
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
/* caps labels are ~15% wider than the old sentence case, so the nav ladder
   steps earlier and harder than the rest of the page; each tier is sized so
   the row still fits in the gutters and keeps the brand above the nav caps.
   The 900 wordmark sets ~10% wider per em than the old 400 one, so every tier
   below the base drops 1–3px and the 22px step moves up to 1040 to hold the
   old footprint in the row */
@media (max-width: 1290px) {
  .nav__row1 { gap: 20px; }
  .nav__item { font-size: 17px; }
}

@media (max-width: 1180px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1140px) {
  .nav__track { gap: 28px; }
  .nav__item { font-size: 15px; }
}

/* 981–1040: the tightest band — both side rails must stay wider than their
   contents for the item row to centre, so the track gap closes to 24px and
   the wordmark takes its 22px step here rather than at 980 */
@media (max-width: 1040px) {
  .nav__track { gap: 24px; }
  .nav__item { font-size: 14px; }
}

@media (max-width: 980px) {
  .nav__track { gap: 32px; }
  .nav__item { font-size: 13px; }
  .nav__actions .nav__cta { display: none; }
  .grid4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sec-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .split { grid-template-columns: 1fr; }
  .subscribe { grid-template-columns: minmax(0,1fr); }
  .field input { min-width: 0; }
  .mosaic { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: auto; }
  .mosaic__tall { grid-row: auto; }
  .mosaic__wide { grid-column: span 1; }
  .decision__cells { display: none; }
}

/* 761–860: the full row only just fits at 13px caps, so trim the row's own
   gutter and the track gap while the drawer breakpoint stays at 760 */
@media (max-width: 860px) {
  .nav__row1 { padding-inline: 24px; }
  .nav__track { gap: 20px; }
  .nav__item { font-size: 13px; }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .hero--index { min-height: 440px; }
  .hero--index h1 { font-size: clamp(36px, 5vw, 52px); }
}

@media (max-width: 760px) {
  .nav__row1 { height: 60px; }
  .nav.is-scrolled .nav__row1 { height: 56px; }
  #app { scroll-margin-top: 61px; }
  .nav__track { display: none; }
  .search { width: 44px; height: 44px; }
  .nav__burger { display: flex; }
  .table { overflow-x: auto; }
  .table .trow { min-width: 620px; }
  .brand__lockup { height: 36px; }

  .hero { min-height: 88vh; }
  /* the portrait crop keeps the boat and its rigging in frame */
  .hero__media img { object-position: 62% 50%; }
  /* stack the scrim vertically: type sits across the full width on mobile */
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6,14,22,.26) 0%, rgba(6,14,22,.04) 22%, rgba(6,14,22,.38) 48%, rgba(6,14,22,.78) 76%, rgba(8,10,6,.97) 100%),
      linear-gradient(90deg, rgba(6,14,22,.52) 0%, rgba(6,14,22,.26) 62%, rgba(6,14,22,.12) 100%);
  }
  .hero__inner { padding-top: 56px; padding-bottom: 36px; }
  .hero h1 { max-width: 15ch; font-size: clamp(26px, 7.8vw, 34px); }
  .hero__sub { font-size: 15px; max-width: 34ch; }
  .hero__meta { grid-template-columns: 1fr 1fr; margin-top: 30px; }
  .hero__meta div { padding-right: 10px; }
  .hero__meta b { font-size: 18px; }
  .hero--index { min-height: 0; }
  .hero--index .hero__inner { padding-block: 44px 32px; }
  .hero--index h1 { max-width: 16ch; font-size: clamp(28px, 7.6vw, 38px); line-height: 1.06; margin: 0; }
  .hero--index .hero__sub { max-width: 38ch; font-size: 15px; margin-top: 14px; }
  .hero--index .hero__meta { margin-top: 24px; }
  .hero__actions .btn { height: 50px; padding: 0 22px; font-size: 16px; }

  .sec-head h2 { font-size: var(--d2); }
  .grid4, .grid3, .grid2 { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 16 / 10; }

  .promo { min-height: 0; padding: 24px; }
  .promo h3 { font-size: 30px; }
  .promo__big { font-size: 52px; }

  .footer__cols { grid-template-columns: 1fr; padding: 32px 0 28px; gap: 26px; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 10px; }

  .decision__inner { min-height: 58px; gap: 12px; }
  .decision__badge { width: 26px; height: 26px; }
  /* the bar is the one place a mobile user must read a time; let it wrap
     instead of clipping "05:50" behind an ellipsis */
  .decision__lead { flex: 1; }
  .decision__text b {
    font-size: 11px; white-space: normal; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .decision__text span { white-space: normal; }
  .decision__actions .btn { height: 38px; padding: 0 14px; font-size: 10px; }
  .decision__actions .btn--ghost-dark { display: none; }
}

/* ==========================================================================
   APP DOWNLOAD PANEL — one component for every page except the home page.
   Dark plate, green corner glow, fish mark, two store buttons.
   ========================================================================== */
.app-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 22px 20px;
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  background:
    radial-gradient(105% 82% at 100% 0%, rgba(134,238,2,.17) 0%, rgba(134,238,2,0) 62%),
    linear-gradient(158deg, #11150c 0%, var(--ink) 58%, #060704 100%);
}
.app-panel::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, rgba(134,238,2,.28) 44%, rgba(134,238,2,0) 82%);
}
.app-panel__mark {
  position: absolute; z-index: -1;
  right: -52px; top: -46px;
  width: 140px; height: 140px;
  /* the symbol's eye uses fill="currentColor"; tint it with the body */
  color: rgba(134,238,2,.05);
  fill: rgba(134,238,2,.05); stroke: none;
}
.app-panel__k {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
.app-panel__k::before { content: ""; width: 5px; height: 5px; background: var(--green); }
.app-panel h3 {
  margin: 12px 0 0;
  font-family: var(--f-disp); font-weight: 900; font-stretch: 100%;
  font-size: 24px; line-height: 1.02; letter-spacing: -.02em;
  text-transform: uppercase; color: #fff;
  text-wrap: balance;
}
.app-panel__copy {
  margin: 10px 0 0;
  font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.62);
}
.app-panel__stores {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; margin-top: 20px;
}
.app-panel__store {
  display: flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 8px 9px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.03);
  color: #fff; text-decoration: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.app-panel__store:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--green);
  color: #fff;
}
.app-panel__ico { width: 20px; height: 20px; flex: 0 0 auto; }
.app-panel__store-txt { min-width: 0; }
.app-panel__store-txt b {
  display: block; font-size: 12px; font-weight: 700; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-panel__store-txt em {
  display: block; margin-top: 3px;
  font-family: var(--f-mono); font-style: normal; font-size: 8px;
  letter-spacing: .08em; text-transform: uppercase; opacity: .6;
}
.app-panel__go {
  width: 13px; height: 13px; margin-left: auto;
  flex: 0 0 auto; opacity: .5;
  transition: opacity .16s ease;
}
.app-panel__store:hover .app-panel__go { opacity: 1; }
.app-panel__store:focus-visible {
  outline: 2px solid var(--green); outline-offset: 2px;
}
.app-panel__fine {
  margin: 14px 0 0; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255,255,255,.48);
}
/* rails that stack children without a grid gap (rules pages) */
.app-panel--stack { margin-top: var(--gap); }

@media (max-width: 940px) {
  .app-panel--stack { margin-top: 0; }
}
@media (max-width: 420px) {
  .app-panel { padding: 21px 18px 17px; }
  .app-panel__stores { grid-template-columns: 1fr; }
}
