/* ==========================================================================
   ARIES LABS — Design System · Foundations
   Brand board: black #000000 · white #FFFFFF · emerald #005F46 · blue #3B6FED
   Display: Playfair Display · Interface: DM Sans in wide tracked caps
   Catalog + certificate surfaces live in catalog.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --black: #000000;
  --ink: #0b0d0c;
  --ink-soft: #16201b;
  --emerald: #005f46;
  --emerald-deep: #00301f;
  --emerald-bright: #0a7a5a;
  --emerald-tint: #e8f1ed;
  /* --emerald-tint is a near-white wash: right for small caps and for
     filling a chip, but on a dark surface a display-size word set in it
     reads as plain white and the accent is lost. This is the same green
     carried up to where it still reads as green against the ink. */
  --emerald-on-dark: #6cc9a4;
  --blue: #3b6fed;
  --white: #ffffff;

  /* Neutrals */
  --bone: #f6f5f1;
  --bone-deep: #eceae4;
  --line: #e2e0d9;
  --line-strong: #cfccc3;
  --muted: #6b7470;
  --muted-light: #9aa39e;

  /* Dark-surface neutrals */
  --d-line: rgba(255, 255, 255, 0.12);
  --d-line-soft: rgba(255, 255, 255, 0.07);
  --d-muted: rgba(255, 255, 255, 0.58);

  /* Type */
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: var(--serif);

  /* Tracking scale — the board's signature wide caps.
     Retuned down a step: Playfair is a high-contrast display face, and at
     label sizes 0.16em opened the words far enough that they read as loose
     letters rather than a word. */
  --track-xl: 0.38em;
  --track-lg: 0.13em;
  --track-md: 0.09em;
  --track-sm: 0.10em;

  /* Rhythm */
  --gutter: 6vw;
  --maxw: 1480px;
  --section-y: clamp(72px, 8.5vw, 136px);

  /* Shape — one radius rule for the whole site.
     Controls 4px · cards and panels 10px · media and large surfaces 14px. */
  --r-ctl: 4px;
  --r-card: 10px;
  --r-media: 14px;

  /* Controls — height and inline padding always travel together, so no
     button can drift to a padding of its own. Section 13 of catalog.css
     applies them. */
  --ctl-h-sm: 40px;
  --ctl-px-sm: 20px;
  --ctl-h: 48px;
  --ctl-px: 28px;
  --ctl-h-lg: 56px;
  --ctl-px-lg: 36px;

  /* Playfair set as micro caps needs a little more size and a little less
     tracking than 10px / 0.16em, or the hairlines close up and the word
     reads as a grey smudge rather than a label. */
  --ctl-fs: 11px;
  --ctl-track: 0.085em;
  --caps-fs: 11px;
  --caps-track: 0.13em;

  /* Elevation — weightless, layered, diffuse */
  --lift-1: 0 1px 2px rgba(11, 13, 12, 0.04), 0 4px 12px rgba(11, 13, 12, 0.04);
  --lift-2: 0 2px 4px rgba(11, 13, 12, 0.04), 0 12px 32px rgba(11, 13, 12, 0.07);
  --lift-3: 0 4px 8px rgba(11, 13, 12, 0.05), 0 24px 56px rgba(11, 13, 12, 0.1);
  --lift-dark: 0 20px 60px rgba(0, 0, 0, 0.45);

  /* Motion — strong curves; the CSS defaults are too weak to read as intentional */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 140ms;
  --t-hover: 220ms;
  --t-panel: 260ms;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

::selection { background: var(--emerald); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--r-ctl);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. TYPE PRIMITIVES
   -------------------------------------------------------------------------- */

/* Stacked wordmark, set as live text so it stays crisp at any size */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 0.82;
  letter-spacing: var(--track-md);
  text-indent: var(--track-md);
  color: inherit;
}

.wordmark small {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--track-xl);
  text-indent: var(--track-xl);
  margin-top: 9px;
  opacity: 0.85;
}

/* Small tracked caps — the board uses these for every secondary label */
.eyebrow,
.section-index,
.gate-kicker {
  display: inline-block;
  font-size: var(--caps-fs);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: var(--caps-track);
  text-transform: uppercase;
  color: var(--emerald);
}

.eyebrow-muted { color: var(--muted); }
.on-dark .eyebrow { color: rgba(255, 255, 255, 0.72); }

/* Editorial display type */
.hero h1,
.page-shell h1,
.section h2,
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.04;
}

.lede {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 54ch;
}

/* Inline link with a rule that retracts from the right and an arrow that lifts */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 5px;
  position: relative;
  transition: color var(--t-hover) var(--ease-out);
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform var(--t-panel) var(--ease-out);
}

.text-link span { transition: transform var(--t-hover) var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .text-link:hover { color: var(--emerald); }
  .text-link:hover span { transform: translate(3px, -3px); }
}

.on-dark .text-link { color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .on-dark .text-link:hover { color: var(--emerald-tint); }
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   The fill, border, label colour, size and hover of every control are owned
   by section 13 of catalog.css. What follows is the fallback that renders if
   that file never loads, so the --btn-* custom properties below no longer
   drive the live appearance; change the variants in section 13 instead.
   -------------------------------------------------------------------------- */
.button-primary,
.button-outline,
.button-ghost {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 32px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-ctl);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-press) var(--ease-out),
              color var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out);
}

/* Emerald wipe. clip-path reveals rather than crossfades, so the two colour
   states never overlap the way a background transition lets them. */
.button-primary::before,
.button-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--emerald);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--t-panel) var(--ease-out);
}

.button-primary:active,
.button-outline:active,
.button-ghost:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .button-outline:hover {
    color: var(--white);
    border-color: var(--emerald);
    box-shadow: var(--lift-2);
  }
  .button-primary:hover::before,
  .button-outline:hover::before { clip-path: inset(0 0 0 0); }
}

.button-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.on-dark .button-outline,
.hero-auth .button-outline {
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.3);
}

.button-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--muted);
  --btn-bd: transparent;
  min-height: 40px;
  padding: 0 14px;
}

.button-block { width: 100%; }

/* --------------------------------------------------------------------------
   5. FORM CONTROLS
   -------------------------------------------------------------------------- */
.field {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-size: 14px;
  letter-spacing: var(--track-sm);
  transition: border-color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out);
}

.field::placeholder { color: var(--muted-light); letter-spacing: var(--track-sm); }

.field:focus {
  outline: 0;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 95, 70, 0.1);
}

/* --------------------------------------------------------------------------
   6. ANNOUNCEMENT BAR + HEADER
   -------------------------------------------------------------------------- */
.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 34px;
  padding: 0 var(--gutter);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  text-align: center;
}

.announcement span { display: inline-flex; align-items: center; gap: 14px; }

.announcement span + span::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--emerald-bright);
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-panel) var(--ease-out),
              background-color var(--t-panel) var(--ease-out);
}

.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--lift-1);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 92px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.header-inner > .wordmark { justify-self: start; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav-links li { display: block; }
.nav-links li::marker,
.footer-grid li::marker { content: ''; }

.nav-links a,
.header-actions a,
.account-trigger {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color var(--t-hover) var(--ease-out),
              transform var(--t-press) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-panel) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover,
  .header-actions a:hover,
  .account-trigger:hover { color: var(--emerald); }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
}

.account-trigger {
  padding: 8px clamp(12px, 2vw, 20px);
  min-height: 44px;
  white-space: nowrap;
}

.account-trigger:active,
.header-actions a:active { transform: scale(0.97); }

.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--emerald); }
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 7px;
  padding: 0 5px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: 0;
}

/* Hamburger — two rules that cross into an X */
.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  position: relative;
  flex: none;
}

.menu-toggle span {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--t-panel) var(--ease-out);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(60px, 7vw, 100px) var(--gutter) 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
}

.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 60px;
}

.footer-logo { color: var(--white); margin-bottom: 24px; }

.footer-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--d-muted);
  max-width: 34ch;
}

.footer-tagline {
  display: block;
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.footer-grid ul { display: grid; gap: 2px; }
.footer-grid .menu-item { display: block; }

.footer-grid > div:not(:first-child) a {
  display: block;
  width: max-content;
  padding: 7px 0;
  font-size: 13px;
  color: var(--d-muted);
  transition: color var(--t-hover) var(--ease-out),
              transform var(--t-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer-grid > div:not(:first-child) a:hover {
    color: var(--white);
    transform: translateX(4px);
  }
}

.footer-notice {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--d-line-soft);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.footer-notice strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--white);
}

.footer-notice p {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  max-width: 92ch;
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 0;
  border-top: 1px solid var(--d-line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   8. SECTION SHELLS
   -------------------------------------------------------------------------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}

.section-dark,
.dark-section {
  background: var(--ink);
  color: var(--white);
}

.section-bone { background: var(--bone); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 80px);
}

.section-head h2 { font-size: clamp(30px, 3.6vw, 54px); }
.section-head p { color: var(--muted); max-width: 48ch; }
.section-dark .section-head p { color: var(--d-muted); }

/* --------------------------------------------------------------------------
   9. HOME — HERO
   -------------------------------------------------------------------------- */
/* The copy column leads. It was the narrower of the two, which forced the
   headline to wrap mid-phrase and left the italic line stranded. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 88px) var(--gutter);
  background: var(--bone);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: clamp(12px, 2vw, 28px) 0;
  position: relative;
  z-index: 2;
}

/* Two lines, one phrase each: the roman clause, then the italic one. The old
   13ch cap broke the italic clause a second time and left "every" alone on a
   line of its own, which is where the rag came from. Sized so the longer of
   the two lines still fits the column at every width. */
.hero h1 {
  font-size: clamp(38px, 4.55vw, 66px);
  max-width: 20ch;
  text-wrap: balance;
}

.hero h1 em {
  display: block;
  color: var(--emerald);
  font-style: italic;
  /* Italic Playfair descenders clip against the 1.04 display leading. */
  line-height: 1.12;
  padding-bottom: 0.04em;
}

.hero-copy > p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

/* Cropped to a fixed ratio so the photograph finishes level with the copy
   instead of floating in the middle of a taller column. */
.hero-visual {
  overflow: hidden;
  border-radius: var(--r-media);
  background: var(--ink);
  box-shadow: var(--lift-3);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  /* The source is 2480x1640 (1.512). A box narrower than that makes cover
     trim the left and right edges, which clipped the brand line printed
     down the right side of the photograph. 3/2 sits just inside the native
     ratio, so the crop is under one percent and nothing is cut. */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 48%;
}

/* The band has to reach the edges of the window. .hero carries its own
   max-width, so its background stops at 1480px; .hero-public already paints
   past that with a spread shadow and lets it show through a clip-path opened
   on the sides. The dark variant never got the same pair, which is why it
   sat as an inset black box with bare page either side of it. */
.hero-auth {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
}

.hero-auth .hero-copy > p { color: var(--d-muted); }
.hero-auth h1 em { color: var(--emerald-on-dark); }

/* --------------------------------------------------------------------------
   10. HOME — BRAND PILLARS
   -------------------------------------------------------------------------- */
.pillars {
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 5vw, 76px) var(--gutter);
}

.pillars-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--d-line-soft);
  border: 1px solid var(--d-line-soft);
}

.pillar {
  background: var(--ink);
  padding: clamp(28px, 3vw, 42px) clamp(20px, 2.4vw, 34px);
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  transition: background-color var(--t-panel) var(--ease-out);
}

.pillar svg {
  width: 34px;
  height: 34px;
  stroke: var(--white);
  stroke-width: 1;
  fill: none;
  transition: stroke var(--t-panel) var(--ease-out),
              transform var(--t-panel) var(--ease-out);
}

.pillar strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
}

.pillar small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--d-muted);
  letter-spacing: 0;
  text-transform: none;
  max-width: 24ch;
}

@media (hover: hover) and (pointer: fine) {
  .pillar:hover { background: var(--ink-soft); }
  .pillar:hover svg { stroke: var(--emerald-bright); transform: translateY(-3px); }
}

/* --------------------------------------------------------------------------
   11. HOME — PROOF STRIP
   -------------------------------------------------------------------------- */
.proof-strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: clamp(28px, 3vw, 46px) clamp(16px, 2vw, 34px) clamp(28px, 3vw, 46px) 0;
  display: grid;
  gap: 8px;
  align-content: start;
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 2vw, 34px);
}

.proof-strip div:first-child { border-left: 0; padding-left: 0; }

.proof-strip span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--ink);
}

.proof-strip small { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. HOME — EVIDENCE INTRO
   -------------------------------------------------------------------------- */
.evidence-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}

.evidence-heading h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-top: 18px;
  max-width: 16ch;
}

.evidence-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
  padding-top: clamp(0px, 2vw, 30px);
}

.evidence-copy p {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
  color: var(--muted);
  max-width: 50ch;
}

/* --------------------------------------------------------------------------
   13. HOME — RELEASE PATH
   -------------------------------------------------------------------------- */
.release-section {
  background: var(--ink);
  color: var(--white);
  padding: var(--section-y) var(--gutter);
  position: relative;
  overflow: hidden;
}

/* Marble texture, held well back so it reads as material not decoration */
.release-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('green-texture-clean.webp') center / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.release-section > * { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; }

.release-section header { margin-bottom: clamp(40px, 5vw, 70px); }

.release-section header p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-lg);
  text-transform: uppercase;
  color: var(--emerald-tint);
  margin-bottom: 18px;
}

.release-section header h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 14ch;
}

.release-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--d-line-soft);
  border-top: 1px solid var(--d-line);
}

.release-steps li {
  background: var(--ink);
  padding: clamp(26px, 3vw, 40px) clamp(18px, 2vw, 30px);
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
}

.release-steps li::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--emerald-bright);
  transition: width 420ms var(--ease-out);
}

.release-steps li.is-visible::before { width: 100%; }

.release-steps span {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.26);
}

.release-steps strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.release-steps p { font-size: 13px; line-height: 1.7; color: var(--d-muted); }

/* --------------------------------------------------------------------------
   14. HOME — FAQ PREVIEW
   -------------------------------------------------------------------------- */
.faq-preview {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
  display: grid;
  gap: 8px;
  justify-items: start;
}

.faq-preview > h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 16px 0 28px;
  max-width: 18ch;
}

.faq-preview details {
  width: 100%;
  border-top: 1px solid var(--line);
}

.faq-preview details:last-of-type { border-bottom: 1px solid var(--line); }

.faq-preview summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.3;
  transition: color var(--t-hover) var(--ease-out);
}

.faq-preview summary::-webkit-details-marker { display: none; }

/* Plus that rotates into a minus */
.faq-preview summary::before,
.faq-preview summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--t-panel) var(--ease-out),
              background-color var(--t-hover) var(--ease-out);
}

.faq-preview summary::after { transform: rotate(90deg); }
.faq-preview details[open] summary::after { transform: rotate(0deg); }
.faq-preview details[open] summary { color: var(--emerald); }
.faq-preview details[open] summary::before,
.faq-preview details[open] summary::after { background: var(--emerald); }

@media (hover: hover) and (pointer: fine) {
  .faq-preview summary:hover { color: var(--emerald); }
}

.faq-preview details p {
  padding: 0 clamp(40px, 8vw, 120px) 28px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 76ch;
}

.faq-link { margin-top: 34px; }

/* --------------------------------------------------------------------------
   15. MODALS — AGE GATE + LOGIN
   -------------------------------------------------------------------------- */
.age-overlay,
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 12, 10, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: overlay-in 240ms var(--ease-out) both;
}

.age-overlay[hidden],
.login-modal[hidden] { display: none; }

@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }

/* Modals stay centre-origin: they are not anchored to a trigger */
.gate-card,
.login-card {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(32px, 4vw, 52px);
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 18px;
  justify-items: start;
  text-align: left;
  position: relative;
  animation: card-in 300ms var(--ease-out) both;
}

@keyframes card-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: none; }
}

.gate-card { border-top: 3px solid var(--emerald); }

.gate-kicker { display: inline-flex; align-items: center; gap: 8px; }

.gate-logo { margin: 4px 0 2px; }

.gate-card h2,
.login-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.gate-card > p,
.login-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.gate-card label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
  transition: border-color var(--t-hover) var(--ease-out),
              background-color var(--t-hover) var(--ease-out);
}

.gate-card label:has(input:checked) {
  border-color: var(--emerald);
  background: var(--emerald-tint);
}

.gate-card input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--emerald);
  cursor: pointer;
}

.gate-card select {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-size: 14px;
  cursor: pointer;
}

.gate-card select:focus {
  outline: 0;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 95, 70, 0.1);
}

.gate-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.gate-actions button {
  flex: 1;
  min-height: 52px;
  border-radius: var(--r-ctl);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  transition: transform var(--t-press) var(--ease-out),
              background-color var(--t-hover) var(--ease-out),
              color var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out);
}

.gate-actions button:active { transform: scale(0.97); }

.gate-actions button:last-child {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.gate-actions button:last-child:not(:disabled):hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

.gate-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.gate-card small,
.login-card small {
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted-light);
}

.login-card { border-top: 3px solid var(--blue); }
.login-card .button-primary { width: 100%; margin-top: 6px; }
.login-card .text-link { margin-top: 4px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  transition: background-color var(--t-hover) var(--ease-out),
              color var(--t-hover) var(--ease-out),
              transform var(--t-press) var(--ease-out);
}

.modal-close:hover { background: var(--bone); color: var(--ink); }
.modal-close:active { transform: scale(0.94); }

/* --------------------------------------------------------------------------
   16. GENERIC PAGE SHELL
   -------------------------------------------------------------------------- */
.page-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 110px) var(--gutter) var(--section-y);
}

.page-shell > header {
  display: grid;
  gap: 20px;
  justify-items: start;
  max-width: 62ch;
  padding-bottom: clamp(40px, 5vw, 70px);
  margin-bottom: clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}

.page-shell h1 { font-size: clamp(36px, 4.6vw, 68px); }

.page-shell > header p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

.entry-content { max-width: 74ch; font-size: 16px; line-height: 1.8; color: var(--ink); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content p { color: var(--muted); }

.entry-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 1.8em;
}

.entry-content h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--emerald);
  margin-top: 1.8em;
}

.entry-content a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: none; display: grid; gap: 10px; }

.entry-content ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 1px;
  background: var(--emerald);
}

.entry-content img { border-radius: 2px; box-shadow: var(--lift-1); }

/* --------------------------------------------------------------------------
   17. INTERIOR PAGES
   -------------------------------------------------------------------------- */
.about-split,
.affiliate-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}

.about-split h2,
.affiliate-layout h2,
.contact-grid h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-top: 16px;
  max-width: 17ch;
}

.about-split p,
.affiliate-layout li,
.contact-grid p,
.quality-grid p,
.principles p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.about-split > div:last-child { display: grid; gap: 18px; max-width: 58ch; }

/* Numbered cards used by Quality and About */
.quality-grid,
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.quality-grid article,
.principles article {
  background: var(--white);
  padding: clamp(26px, 3vw, 44px) clamp(20px, 2.2vw, 32px);
  display: grid;
  gap: 14px;
  align-content: start;
  transition: background-color var(--t-panel) var(--ease-out),
              transform var(--t-panel) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .quality-grid article:hover,
  .principles article:hover { background: var(--bone); }
}

.quality-grid b,
.principles b {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--emerald);
}

.quality-grid h2,
.quality-grid h3,
.principles h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--ink);
}

.quality-cta {
  margin-top: clamp(48px, 6vw, 90px);
  padding: clamp(44px, 6vw, 86px) clamp(28px, 5vw, 80px);
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quality-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('green-texture-clean.webp') center / cover no-repeat;
  opacity: 0.18;
}

.quality-cta > * { position: relative; z-index: 1; }
.quality-cta .eyebrow { color: var(--emerald-tint); }

.quality-cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.quality-cta .button-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
  margin-top: 8px;
}

.affiliate-layout ul { display: grid; gap: 12px; margin-top: 20px; }

.affiliate-layout li {
  position: relative;
  padding-left: 24px;
}

.affiliate-layout li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 1px;
  background: var(--emerald);
}

.affiliate-plugin,
.contact-form-shell,
.plugin-placeholder {
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  display: grid;
  gap: 16px;
  justify-items: start;
}

.plugin-placeholder { background: transparent; border: 0; padding: 0; }

.plugin-placeholder h3,
.contact-form-shell h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: none;
}

.contact-grid dl { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 26px; }

.contact-grid dl div {
  background: var(--white);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: baseline;
}

.contact-grid dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--emerald);
}

.contact-grid dd { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   18. REVEAL MOTION
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Children cascade in rather than landing together */
.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 60ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 120ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 300ms; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1150px) {
  .header-inner { grid-template-columns: auto 1fr; min-height: 76px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--lift-2);
    clip-path: inset(0 0 100% 0);
    transition: clip-path var(--t-panel) var(--ease-drawer);
  }

  .nav-links.open { clip-path: inset(0 0 0 0); }

  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a { display: block; padding: 18px 0; font-size: 11px; }
  .nav-links a::after { display: none; }

  .menu-toggle { display: block; }
  .header-actions { gap: 18px; }

  /* Stacked, the copy no longer has a column holding it in. The headline
     steps up so it fills the measure instead of trailing off into empty
     space, and the photograph takes a wider crop so a full-width image does
     not run to 600px tall. */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(40px, 6.2vw, 60px); max-width: 24ch; }
  .hero-copy > p { max-width: 58ch; }
  .hero-visual img { aspect-ratio: 16 / 10; object-position: 50% 32%; }

  .pillars-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .release-steps { grid-template-columns: repeat(2, 1fr); }
  .quality-grid, .principles { grid-template-columns: repeat(2, 1fr); }

  .section-head,
  .evidence-intro,
  .about-split,
  .affiliate-layout,
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-notice { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 620px) {
  :root { --gutter: 22px; }

  .announcement { font-size: 9px; gap: 10px; letter-spacing: var(--track-md); }
  .announcement span:nth-child(3) { display: none; }

  .wordmark { font-size: 24px; }
  .wordmark small { font-size: 7px; margin-top: 7px; }

  .header-actions a,
  .account-trigger { font-size: 10px; padding: 0 16px; }

  .hero h1 { font-size: clamp(32px, 10.6vw, 46px); max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button-primary,
  .hero-actions .button-outline { width: 100%; }

  .pillars-inner { grid-template-columns: 1fr; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof-strip div:first-child { border-top: 0; }

  .release-steps { grid-template-columns: 1fr; }
  .quality-grid, .principles { grid-template-columns: 1fr; }

  .page-shell h1 { font-size: clamp(30px, 9vw, 40px); }
  .faq-preview summary { font-size: 17px; padding-right: 40px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .gate-card, .login-card { padding: 26px 22px; }
  .gate-actions { flex-direction: column; }
  .contact-grid dl div { grid-template-columns: 1fr; gap: 6px; }
}

/* --------------------------------------------------------------------------
   20. REDUCED MOTION
   Keep opacity and colour, drop movement.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .stagger > * { opacity: 1; transform: none; }
  .release-steps li::before { width: 100%; }
}

/* --------------------------------------------------------------------------
   21. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .announcement,
  .site-header,
  .footer,
  .age-overlay,
  .login-modal { display: none !important; }

  body { color: #000; background: #fff; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-response {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.contact-response strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--ink);
}

.contact-form-shell { align-content: start; }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-top: 6px;
}

.form-field { display: grid; gap: 7px; align-content: start; }
.form-field-wide { grid-column: 1 / -1; }

.form-field label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--muted);
}

.form-field label em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: var(--track-sm);
  color: var(--muted-light);
  text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctl);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out);
}

.form-field textarea { min-height: 150px; resize: vertical; }

.form-field select {
  cursor: pointer;
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-light); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 95, 70, 0.1);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #b4332a; }

.form-field.has-error input:focus,
.form-field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(180, 51, 42, 0.12); }

.form-hint { font-size: 12px; line-height: 1.5; color: var(--muted-light); }
.form-error { font-size: 12px; line-height: 1.5; color: #b4332a; }

/* Honeypot: hidden from people without display:none, which some bots detect. */
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 4px;
}

.form-actions small {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-light);
  max-width: 52ch;
}

.form-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  width: 100%;
  margin-bottom: 4px;
  padding: 16px 18px;
  border-left: 2px solid var(--emerald);
  border-radius: var(--r-ctl);
  background: var(--emerald-tint);
  animation: note-in 280ms var(--ease-out) both;
}

@keyframes note-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.form-note strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--emerald);
}

.form-note span { font-size: 14px; line-height: 1.6; color: var(--ink); }

.form-note-error { background: #fdf4f3; border-left-color: #b4332a; }
.form-note-error strong { color: #b4332a; }

@media (max-width: 620px) {
  .contact-form { grid-template-columns: 1fr; }
  .form-actions .button-primary { width: 100%; }
}

/* --------------------------------------------------------------------------
   23. EDITORIAL SECTIONS (About / The Research)
   -------------------------------------------------------------------------- */

/* Figure band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--d-line-soft);
  border: 1px solid var(--d-line-soft);
}

.stat-band div {
  background: var(--ink);
  padding: clamp(28px, 3.2vw, 46px) clamp(20px, 2.4vw, 34px);
  display: grid;
  gap: 10px;
  align-content: start;
}

.stat-band b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1;
  color: var(--white);
}

.stat-band span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--emerald-tint);
}

.stat-band small { font-size: 13px; line-height: 1.6; color: var(--d-muted); }

/* Full-bleed dark band wrapper */
.band-dark {
  background: var(--ink);
  color: var(--white);
  padding: var(--section-y) var(--gutter);
  position: relative;
  overflow: hidden;
}

.band-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('green-texture-clean.webp') center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.band-dark > * { position: relative; z-index: 1; max-width: var(--maxw); margin-inline: auto; }

.band-dark header { display: grid; gap: 16px; justify-items: start; max-width: 60ch; margin-bottom: clamp(32px, 4vw, 56px); }

.band-dark header h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

.band-dark header p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.75; color: var(--d-muted); }
.band-dark .eyebrow { color: var(--emerald-tint); }

/* Imagery row */
.media-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
}

.media-band figure { margin: 0; display: grid; gap: 14px; }

.media-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-media);
  background: var(--bone);
}

.media-band figcaption {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--muted);
}

/* Two-column do / do-not list */
.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.split-list > div {
  background: var(--white);
  padding: clamp(26px, 3vw, 44px) clamp(22px, 2.4vw, 34px);
  display: grid;
  gap: 18px;
  align-content: start;
}

.split-list h3 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--emerald);
}

.split-list ul { display: grid; gap: 12px; }

.split-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.split-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1px;
  background: var(--emerald);
}

.split-list .list-negative h3 { color: var(--muted); }
.split-list .list-negative li::before { background: var(--line-strong); }

/* Specification / method table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.spec-table caption {
  text-align: left;
  padding-bottom: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--muted);
}

.spec-table th,
.spec-table td {
  padding: 18px 20px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.spec-table thead th {
  border-top: 0;
  background: var(--bone);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--muted);
}

.spec-table tbody th {
  width: 30%;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.spec-table td { font-size: 14px; line-height: 1.7; color: var(--muted); }
.spec-table tbody tr:hover { background: var(--bone); }

/* Pull quote */
.pull-quote {
  margin: 0;
  padding: clamp(32px, 4vw, 60px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  justify-items: start;
}

.pull-quote p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
}

.pull-quote footer {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--muted);
}

/* Placeholder-copy marker */
.copy-note {
  margin-top: clamp(32px, 4vw, 56px);
  padding: 16px 18px;
  border-left: 2px solid var(--blue);
  background: #f2f5fe;
  border-radius: var(--r-ctl);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.copy-note strong {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: var(--track-md);
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 1150px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .media-band { grid-template-columns: 1fr; }
  .split-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .stat-band { grid-template-columns: 1fr; }
  .spec-table thead { display: none; }
  .spec-table tbody th,
  .spec-table tbody td { display: block; width: auto; padding: 12px 16px; }
  .spec-table tbody th { border-top: 1px solid var(--line); padding-bottom: 4px; }
  .spec-table tbody td { border-top: 0; }
}

/* Page shell variant used when a full-bleed band sits directly above it. */
.page-shell-flush { padding-top: clamp(48px, 6vw, 88px); }

/* The release path is reused on The Research page with five steps, so the
   track adapts rather than assuming four. */
.release-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.release-steps.is-visible li::before { width: 100%; }

@media (max-width: 1150px) {
  .release-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .release-steps { grid-template-columns: 1fr; }
}

/* Vertical rhythm between stacked sections inside a page shell, so a page
   built from several blocks breathes without each block owning its own
   trailing margin. */
.page-shell > section + section,
.page-shell > section + blockquote,
.page-shell > blockquote + section,
.page-shell > section + .copy-note,
.page-shell > div + section { margin-top: clamp(56px, 7vw, 96px); }

/* Keep the honeypot's own box from measuring wider than the viewport. */
.form-trap label,
.form-trap input { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }

/* --------------------------------------------------------------------------
   24. ACCESS PAGE (sign in / create account)
   -------------------------------------------------------------------------- */
.access-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.access-hero-copy {
  display: grid;
  gap: 20px;
  align-content: center;
  justify-items: start;
  padding: clamp(48px, 6vw, 92px) clamp(32px, 4vw, 72px) clamp(48px, 6vw, 92px) var(--gutter);
  position: relative;
  z-index: 2;
}

.access-hero .eyebrow { color: var(--emerald-tint); }

.access-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 13ch;
}

.access-hero h1 em { display: block; font-style: italic; color: var(--emerald-on-dark); }

.access-hero p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: var(--d-muted);
  max-width: 46ch;
}

.access-hero-visual { position: relative; overflow: hidden; min-height: 260px; }
.access-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.access-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 180px;
  background: linear-gradient(90deg, var(--ink), transparent);
  pointer-events: none;
}

.access-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}

.access-card {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: clamp(28px, 3.2vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--lift-1);
}

.access-card-register {
  background: var(--bone);
  border-color: var(--line-strong);
  box-shadow: var(--lift-2);
}

.access-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.access-form { display: grid; gap: 16px; width: 100%; }

.access-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.access-form .form-field input { background: var(--white); }

.form-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  width: 100%;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.form-check input[type='checkbox'] {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--emerald);
  cursor: pointer;
}

.form-check.has-error { color: #b4332a; }

.access-form .form-actions { gap: 12px; width: 100%; }

.access-note {
  padding-top: clamp(32px, 4vw, 56px);
}

.access-note p {
  max-width: 78ch;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted-light);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1150px) {
  .access-hero { grid-template-columns: 1fr; }
  .access-hero-copy { order: 2; padding: clamp(40px, 7vw, 64px) var(--gutter); }
  .access-hero-visual { order: 1; min-height: 34vh; }
  .access-hero-visual::after {
    inset: auto 0 0 0;
    width: auto;
    height: 120px;
    background: linear-gradient(0deg, var(--ink), transparent);
  }
  .access-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .access-form-row { grid-template-columns: 1fr; }
  .access-card { padding: 24px 20px; }
}

/* Modal and locked-row action pairs */
.login-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.login-actions .button-primary,
.login-actions .button-outline { width: 100%; padding: 0 18px; }

.catalog-row-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 620px) {
  .login-actions { grid-template-columns: 1fr; }
  .catalog-row-actions { width: 100%; }
  .catalog-row-actions .button-primary,
  .catalog-row-actions .button-outline { flex: 1; }
}


/* Shared editorial surfaces and interaction states. */
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--emerald-bright);
  outline-offset: 3px;
}

:is(.hero, .access-hero) h1 {
  text-wrap: balance;
}

.hero-public {
  box-shadow: 0 0 0 100vmax var(--bone);
  clip-path: inset(0 -100vmax);
}

.pillars-inner,
.proof-strip {
  gap: clamp(16px, 2.5vw, 36px);
}

.access-hero {
  background: var(--emerald-deep);
}

.access-hero-visual {
  display: grid;
  align-items: center;
  padding: clamp(20px, 4vw, 56px);
}

.access-hero-visual img {
  position: static;
  height: auto;
  border-radius: var(--r-media);
}

.access-hero-visual::after {
  content: none;
}

.access-card,
.gate-card,
.login-card {
  border-radius: var(--r-card);
}

.gate-card,
.login-card {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.access-form :is(input:not([type="checkbox"]):not([type="hidden"]), select),
.gate-card select {
  min-height: var(--ctl-h);
  border-radius: var(--r-ctl);
}

@media (max-width: 600px) {
  .hero { gap: 24px; }
  .access-hero-visual { min-height: 0; }
}

/* --------------------------------------------------------------------------
   25. BUTTON PALETTE
   Every button is emerald with white type and turns black on hover. Declared
   in one place, last, so it governs the token-driven buttons and the
   WooCommerce ones alike without chasing each rule individually.
   -------------------------------------------------------------------------- */
.button-primary,
.gate-actions button,
.coa-panel button[type='submit'],
.coa-finder button[type='submit'],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button,
.woocommerce ul.products li.product .button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order,
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.quality-cta .button-primary {
  --btn-bg: var(--emerald);
  --btn-fg: var(--white);
  --btn-bd: var(--emerald);
  background: var(--emerald);
  border: 1px solid var(--emerald);
  color: var(--white);
}

/* The wipe that runs across on hover is now black rather than emerald. */
.button-primary::before,
.button-outline::before,
.coa-panel button[type='submit']::before,
.coa-finder button[type='submit']::before,
.woocommerce div.product form.cart .button::before,
.quality-cta .button-primary::before { background: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .gate-actions button:not(:disabled):hover,
  .coa-panel button[type='submit']:hover,
  .coa-finder button[type='submit']:hover,
  .woocommerce a.button:hover,
  .woocommerce button.button:hover,
  .woocommerce input.button:hover,
  .woocommerce #respond input#submit:hover,
  .woocommerce a.button.alt:hover,
  .woocommerce button.button.alt:hover,
  .woocommerce div.product form.cart .button:hover,
  .woocommerce ul.products li.product .button:hover,
  .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
  .woocommerce-checkout #payment #place_order:hover,
  .woocommerce-message .button:hover,
  .woocommerce-info .button:hover,
  .woocommerce-error .button:hover,
  .quality-cta .button-primary:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
  }
}

/* The loop tile's add-to-cart keeps its flush footer shape. */
.woocommerce ul.products li.product .button {
  border: 0;
  border-top: 1px solid var(--emerald);
}

.woocommerce ul.products li.product .button:hover { border-top-color: var(--ink); }

/* Secondary buttons stay outlined so a page keeps two tiers, but in emerald,
   and they fill black on hover like everything else. */
.button-outline {
  --btn-bg: transparent;
  --btn-fg: var(--emerald);
  --btn-bd: var(--emerald);
  color: var(--emerald);
  border-color: var(--emerald);
}

@media (hover: hover) and (pointer: fine) {
  .button-outline:hover { color: var(--white); border-color: var(--ink); }
}

.on-dark .button-outline,
.hero-auth .button-outline,
.access-hero .button-outline {
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.4);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.gate-actions button:disabled {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
  opacity: 0.4;
}

/* Only one action remains in the gate, so it should not sit half-width. */
.gate-actions { grid-template-columns: 1fr; }
.gate-actions button { width: 100%; }

/* The sign-in photograph was letterboxing inside its panel, which read as a
   small, flat, wide picture. Fill the panel instead. */
.access-hero-visual { align-items: stretch; }

.access-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 30vw, 440px);
  object-fit: cover;
  object-position: center;
}
