/* ===============================================================
   AXON — Shared Design System
   /assets/css/styles.css

   MOBILE-FIRST: base styles target ~360-390 px.
   Desktop enhancements added via min-width: 768px.
   No max-width overrides for layout — only additive rules below.
   =============================================================== */

/* Fonts are self-hosted (no requests to Google): see the Arimo @font-face rules at the end of this file. */

/* ── Custom properties ── */
:root {
  --forest : #1B5E38;
  --ink    : #0C1F16;
  --bone   : #F6F7F4;
  --signal : #3FE0A0;
  --sage   : #B9C5BC;

  --font-display : 'Fraunces', Georgia, serif;
  --font-body    : 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono    : 'IBM Plex Mono', 'Courier New', monospace;

  /* Spacing tokens */
  --sp-2  : 0.5rem;
  --sp-3  : 0.75rem;  /* used by cart drawer — was previously undefined */
  --sp-4  : 1rem;
  --sp-6  : 1.5rem;   /* used by cart drawer — was previously undefined */
  --sp-8  : 2rem;
  --sp-10 : 2.5rem;   /* used by cart drawer — was previously undefined */
  --sp-12 : 3rem;
  --sp-16 : 4rem;
  --sp-24 : 6rem;
  --sp-32 : 8rem;

  /* Type scale */
  --t-xs   : 0.72rem;
  --t-sm   : 0.875rem;
  --t-base : 1rem;
  --t-lg   : 1.25rem;
  --t-xl   : 1.5rem;
  --t-2xl  : 2rem;
  --t-3xl  : 2.75rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

img    { display: block; max-width: 100%; height: auto; }
a      { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Keyboard focus — visible at all widths ── */
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Utility ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.65;
}

/* Mobile padding: 1rem sides */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--sp-4);
}


/* ════════════════════════════════════════
   HEADER
   Mobile: logo + lang toggle only.
   Nav links appear at desktop breakpoint.
   ════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.875rem var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(246, 247, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(185, 197, 188, 0.3);
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Nav links: hidden on mobile */
.nav-link { display: none; }

.lang-toggle {
  display: flex;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
}

.lang-toggle a {
  padding: 0.25rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 2px;
  opacity: 0.5;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-toggle a:hover,
.lang-toggle a.active {
  opacity: 1;
  border-color: var(--sage);
}

.lang-toggle a.active { color: var(--forest); }


/* ════════════════════════════════════════
   HERO
   Mobile: compact, full-viewport, centered.
   ════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* 72px reserves space for the fixed header on small screens (logo 40px + 2×14px padding + 4px buffer) */
  padding: calc(var(--sp-12) + 72px) var(--sp-4) var(--sp-12);
  position: relative;
  overflow: hidden;
}

/* Grain texture layer */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Radial depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 25%, rgba(27, 94, 56, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 75% 85%, rgba(63, 224, 160, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-wordmark { margin-bottom: var(--sp-8); }

.hero-wordmark img {
  /* ~2× original size — width-based so the 1.91:1 aspect ratio stays crisp */
  width: clamp(240px, 66vw, 570px);
  height: auto;
  max-width: 88%;
  margin: 0 auto;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.55rem, 2.8vw, 0.78rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.55;
  margin-bottom: var(--sp-4);
}

.hero-proposition {
  font-family: var(--font-display);
  /* Fluid: 1.25rem on 360px → 2.75rem on wide */
  font-size: clamp(var(--t-lg), 5.5vw, var(--t-3xl));
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  max-width: 22ch;
  margin: 0 auto var(--sp-8);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.06em;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(27, 94, 56, 0.38);
  border-radius: 2px;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.hero-cta:hover  { background: var(--forest); border-color: var(--forest); color: var(--bone); }
.hero-cta:active { background: var(--ink);    border-color: var(--ink); }

/* Page-load seed pulse descending from hero bottom */
.hero-spine-seed {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--signal), transparent);
  opacity: 0;
  animation: seedDown 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
  pointer-events: none;
}

@keyframes seedDown {
  0%   { opacity: 0; clip-path: inset(0 0 100% 0); }
  20%  { opacity: 1; }
  100% { opacity: 0; clip-path: inset(0 0 0 0); }
}


/* ════════════════════════════════════════
   PROMISE
   Mobile: compact centered stack.
   ════════════════════════════════════════ */
.promise-section {
  padding: var(--sp-12) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
}

.promise-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.promise-inner .eyebrow {
  display: block;
  margin-bottom: var(--sp-8);
}

.promise-lines {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.promise-line {
  font-family: var(--font-display);
  font-size: clamp(var(--t-base), 4.5vw, var(--t-2xl));
  font-weight: 300;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.promise-line span { color: var(--forest); }


/* ════════════════════════════════════════
   PATHWAY / PRODUCTS
   Mobile: spine runs left edge; all products
   appear in a single right column.
   ════════════════════════════════════════ */
.pathway-section {
  padding: var(--sp-12) 0 var(--sp-16);
  position: relative;
}

.pathway-header {
  text-align: center;
  padding: 0 var(--sp-4);
  margin-bottom: var(--sp-12);
}

.pathway-wrapper {
  padding-inline: var(--sp-4);
  position: relative;
}

/* ── Spine track ──
   Mobile: sits at left-column center (20px from wrapper edge) */
.spine-track {
  position: absolute;
  /* 40px node column, centered = 20px; offset by container padding */
  left: calc(var(--sp-4) + 20px);
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  z-index: 1;
}

/* Static sage hairline */
.spine-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sage);
  opacity: 0.45;
}

/* Animated signal fill — JS drives scaleY */
.spine-fill {
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--signal) 60%, rgba(63, 224, 160, 0.2));
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
  filter: drop-shadow(0 0 4px rgba(63, 224, 160, 0.6));
}

/* Pulse dot at leading edge — JS drives translateY */
.pulse-dot {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow:
    0 0 0 3px rgba(63, 224, 160, 0.18),
    0 0 14px rgba(63, 224, 160, 0.7),
    0 0 28px rgba(63, 224, 160, 0.3);
  will-change: transform;
}

/* ── Station — mobile base ──
   Two-column grid: 40px node | 1fr content.
   Both left and right products land in column 2. */
.station {
  display: grid;
  grid-template-columns: 40px 1fr;
  margin-bottom: var(--sp-12);
  position: relative;
  z-index: 2;
}

.station:last-child { margin-bottom: 0; }

/* Spacer unused on mobile */
.station-spacer { display: none; }

/* Node: always left column, top-aligned on mobile */
.station-node {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.3rem;
}

.node-ring {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--sage);
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.node-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

/* Fired state */
.station.fired .node-ring {
  border-color: var(--signal);
  box-shadow:
    0 0 0 5px rgba(63, 224, 160, 0.12),
    0 0 16px rgba(63, 224, 160, 0.45);
}

.station.fired .node-core {
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
}

/* Content: right column on mobile for ALL stations */
.station-content {
  grid-column: 2;
  grid-row: 1;
  padding: 0 0 0 var(--sp-4);
  /* Mobile reveal: subtle upward fade */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Fired: content reveals (base rule — works on both widths) */
.station.fired .station-content {
  opacity: 1;
  transform: none;
}

/* ── Mobile guard: data-side is inert below 768 px ──────────────
   Specificity (0,2,0) matches the desktop @media overrides, but
   this rule is declared BEFORE that block, so the @media rule
   still wins on wide screens. On narrow screens the @media block
   never applies and this rule locks every station to column 2.
   Only grid-column is set here — opacity/transform are handled by
   the rules above and are not affected. */
.station[data-side="left"]  .station-content,
.station[data-side="right"] .station-content {
  grid-column: 2; /* single right column — no alternation on mobile */
}

/* ── Product article internals ── */
.product-name {
  font-family: var(--font-display);
  font-size: clamp(var(--t-xl), 6vw, var(--t-3xl));
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: var(--sp-4);
}

/* IBM Plex Mono spec block */
.spec-block {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  line-height: 1.9;
  border-top: 1px solid rgba(185, 197, 188, 0.6);
  border-bottom: 1px solid rgba(185, 197, 188, 0.6);
  padding: var(--sp-4) 0;
  margin: var(--sp-4) 0 var(--sp-4);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.spec-label {
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}

.spec-value {
  color: var(--ink);
  opacity: 0.85;
  letter-spacing: 0.05em;
  text-align: right;
}

.spec-claim {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid rgba(185, 197, 188, 0.35);
  font-size: 0.65rem;
  line-height: 1.65;
  opacity: 0.6;
  font-style: italic;
  color: var(--ink);
}

/* Specimen image frame — clinical, no rounded corners */
.specimen-frame {
  position: relative;
  display: inline-block;
  margin-top: var(--sp-2);
  overflow: hidden; /* prevent specimen-label from bleeding past the image edge */
}

.specimen-frame img {
  display: block;
  border: 1px solid rgba(185, 197, 188, 0.7);
  max-width: 150px; /* mobile size */
}

/* Top-left corner accent */
.specimen-frame::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 14px; height: 14px;
  border-top: 1px solid rgba(27, 94, 56, 0.35);
  border-left: 1px solid rgba(27, 94, 56, 0.35);
  pointer-events: none;
  z-index: 2;
}

/* Bottom-right corner accent */
.specimen-frame::after {
  content: '';
  position: absolute;
  bottom: 8px; right: 8px;
  width: 14px; height: 14px;
  border-bottom: 1px solid rgba(27, 94, 56, 0.35);
  border-right: 1px solid rgba(27, 94, 56, 0.35);
  pointer-events: none;
  z-index: 2;
}

.specimen-label {
  position: absolute;
  bottom: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  line-height: 1;
}

@media (max-width: 767px) {
  .specimen-label {
    font-size: 0.5rem;
  }
}

/* CTA — mobile: stacked column */
.product-cta {
  margin-top: var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.view-link {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.8;
  transition: opacity 0.2s ease, gap 0.2s ease;
}

.view-link:hover { opacity: 1; gap: 0.55rem; }

/* Snipcart hook: add data-item-* to this element when ready */
.btn-buy {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--bone);
  background: var(--forest);
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--forest);
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.btn-buy:hover  {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 2px 14px rgba(12, 31, 22, 0.22);
}

.btn-buy:active { background: #000; border-color: #000; }

/* Near-product disclaimer */
.product-disclaimer {
  max-width: 600px;
  margin: var(--sp-12) auto 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.8;
  color: var(--sage);
  letter-spacing: 0.04em;
  padding: 0 var(--sp-4);
}


/* ════════════════════════════════════════
   WHERE TO BUY
   ════════════════════════════════════════ */
.where-section {
  padding: var(--sp-12) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  text-align: center;
}

.where-section .eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}

.where-line {
  font-family: var(--font-display);
  font-size: clamp(var(--t-base), 4vw, var(--t-xl));
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.45;
  max-width: 44ch;
  margin: 0 auto var(--sp-8);
}

.where-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.05em;
  padding: 0.7rem 1.5rem;
  border: 1px solid rgba(27, 94, 56, 0.35);
  border-radius: 2px;
  transition: background 0.22s ease, color 0.22s ease;
}

.where-link:hover  { background: var(--forest); color: var(--bone); }
.where-link:active { background: var(--ink);    color: var(--bone); }


/* ════════════════════════════════════════
   FOOTER
   Mobile: single centered column.
   ════════════════════════════════════════ */
.site-footer {
  padding: var(--sp-8) var(--sp-4) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  text-align: center;
}

.footer-logo img {
  height: 38px;
  width: auto;
  opacity: 0.65;
  margin: 0 auto;
}

.footer-contact {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
  opacity: 0.55;
  line-height: 1.9;
  margin-top: var(--sp-4);
  font-style: normal;
  text-align: center;
}

.footer-contact a { transition: opacity 0.2s; }
.footer-contact a:hover { opacity: 1; }

.footer-center { text-align: center; }

.footer-lang {
  display: flex;
  gap: 4px;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-4);
}

.footer-lang a {
  padding: 0.25rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 2px;
  opacity: 0.45;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-lang a:hover,
.footer-lang a.active {
  opacity: 1;
  border-color: var(--sage);
  color: var(--forest);
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.45;
}

.footer-right { text-align: center; }

.footer-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.8;
  color: var(--sage);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.footer-bottom {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--sage);
  letter-spacing: 0.07em;
  opacity: 0.65;
}


/* ════════════════════════════════════════
   DESKTOP ENHANCEMENTS  (min-width: 768px)
   Every layout rule in this block is additive.
   The left/right alternating station layout
   exists ONLY inside this media query.
   ════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Container: wider side padding */
  .container { padding-inline: var(--sp-8); }

  /* ── Header ── */
  .site-header {
    padding: 1.25rem var(--sp-8);
  }

  .header-logo img { height: 52px; }

  /* Reveal nav links on desktop */
  .nav-link {
    display: block;
    font-family: var(--font-body);
    font-size: var(--t-sm);
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.02em;
    opacity: 0.7;
    padding-bottom: 2px;
    position: relative;
    transition: opacity 0.2s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--forest);
    transition: width 0.25s ease;
  }

  .nav-link:hover          { opacity: 1; }
  .nav-link:hover::after   { width: 100%; }

  /* ── Hero ── */
  .hero {
    padding: calc(var(--sp-32) + 96px) var(--sp-8) var(--sp-32);
  }

  .hero-wordmark { margin-bottom: var(--sp-12); }

  /* ── Promise ── */
  .promise-section {
    padding: var(--sp-24) var(--sp-8);
  }

  .promise-lines { gap: var(--sp-8); }

  /* ── Pathway ── */
  .pathway-section {
    padding: var(--sp-24) 0 var(--sp-32);
  }

  .pathway-header {
    padding: 0 var(--sp-8);
    margin-bottom: var(--sp-24);
  }

  .pathway-wrapper {
    max-width: 1020px;
    margin-inline: auto;
    padding-inline: var(--sp-8);
  }

  /* Spine moves to centre on desktop */
  .spine-track {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Station: 3-column alternating layout */
  .station {
    grid-template-columns: 1fr 48px 1fr;
    min-height: 360px;
    align-items: center;
    margin-bottom: var(--sp-24);
  }

  /* Spacer visible and placed by data-side rules below */
  .station-spacer { display: block; }

  /* Node always in the centre column */
  .station-node {
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    padding-top: 0;
  }

  /* Left: content column 1, spacer column 3 */
  .station[data-side="left"] .station-content {
    grid-column: 1;
    grid-row: 1;
    padding: 0 var(--sp-12) 0 0;
    /* Desktop directional reveal */
    transform: translateX(-28px);
  }

  .station[data-side="left"] .station-spacer { grid-column: 3; }

  /* Right: content column 3, spacer column 1 */
  .station[data-side="right"] .station-content {
    grid-column: 3;
    grid-row: 1;
    padding: 0 0 0 var(--sp-12);
    /* Desktop directional reveal */
    transform: translateX(28px);
  }

  .station[data-side="right"] .station-spacer { grid-column: 1; }

  /* Fired on desktop: slide to rest (overrides the base translateY(0)) */
  .station.fired .station-content {
    transform: none;
  }

  /* Specimen: slightly larger on desktop */
  .specimen-frame img { max-width: 200px; }

  /* CTA: horizontal row on desktop */
  .product-cta {
    flex-direction: row;
    align-items: center;
    margin-top: var(--sp-8);
  }

  /* ── Where to buy ── */
  .where-section { padding: var(--sp-24) var(--sp-8); }

  /* ── Footer: 3-column grid ── */
  .site-footer {
    padding: var(--sp-16) var(--sp-8) var(--sp-8);
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--sp-8);
    align-items: start;
    text-align: left;
  }

  .footer-logo img {
    margin: 0; /* remove mobile auto-centering */
    height: 44px;
  }

  .footer-contact { text-align: left; margin-top: var(--sp-4); }

  .footer-right { text-align: right; }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0;
  }
}


/* ════════════════════════════════════════
   REDUCED MOTION
   Reveal all content immediately; hide
   all animation elements.
   ════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .station-content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .spine-fill,
  .pulse-dot,
  .hero-spine-seed {
    display: none !important;
  }

  /* Show nodes in a static "fired" state */
  .node-ring {
    border-color: rgba(27, 94, 56, 0.45) !important;
    box-shadow: none !important;
  }

  .node-core {
    background: var(--forest) !important;
    box-shadow: none !important;
  }
}


/* ════════════════════════════════════════
   PRODUCT PAGE
   Extends the shared system — does not
   override or duplicate homepage styles.
   Mobile-first; desktop at min-width:768px.
   ════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb {
  padding: calc(72px + var(--sp-8)) var(--sp-4) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  color: var(--sage);
}

.breadcrumb a {
  color: var(--sage);
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.breadcrumb a:hover { opacity: 1; color: var(--forest); }

.breadcrumb-sep {
  margin: 0 0.4em;
  opacity: 0.45;
}

.breadcrumb-current {
  color: var(--ink);
  opacity: 0.55;
}

/* ── Product hero ── */
.product-hero {
  padding: var(--sp-4) var(--sp-4) var(--sp-12);
}

.product-hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  max-width: 1120px;
  margin-inline: auto;
}

/* Override specimen frame size on product page only */
.product-hero-image .specimen-frame { display: block; }

.product-hero-image .specimen-frame img {
  max-width: 240px;
  width: 100%;
}

.product-hero-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.product-page-name {
  font-family: var(--font-display);
  font-size: clamp(var(--t-2xl), 9vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 0.95;
}

.product-page-subtitle {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 300;
  color: var(--ink);
  opacity: 0.55;
  letter-spacing: 0.01em;
  margin-top: var(--sp-2);
}

.product-page-claim {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-style: italic;
  color: var(--forest);
  opacity: 0.8;
  line-height: 1.75;
  border-left: 2px solid rgba(27, 94, 56, 0.28);
  padding-left: var(--sp-4);
  margin-block: var(--sp-2);
}

.product-page-price {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.product-buy-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: flex-start;
  margin-top: var(--sp-2);
}

.btn-buy-page {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--bone);
  background: var(--forest);
  padding: 0.8rem 2rem;
  border: 1px solid var(--forest);
  border-radius: 2px;
  letter-spacing: 0.04em;
  transition: background 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
}

.btn-buy-page:hover {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 2px 18px rgba(12, 31, 22, 0.22);
}

.btn-buy-page:active { background: #000; border-color: #000; }

.buy-coming-soon {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--sage);
  letter-spacing: 0.1em;
  opacity: 0.75;
}

/* ── Shared section wrapper ── */
.product-section {
  padding: var(--sp-8) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  max-width: 760px;
  margin-inline: auto;
}

.product-section.wide {
  max-width: 1120px;
}

/* eyebrow as block label inside product sections */
.product-section .eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}

/* ── Spec readout — IBM Plex Mono instrument grid ── */
.spec-readout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4) var(--sp-8);
  font-family: var(--font-mono);
}

.spec-readout-key {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.2rem;
}

.spec-readout-val {
  display: block;
  font-size: var(--t-sm);
  color: var(--ink);
  letter-spacing: 0.04em;
  opacity: 0.88;
}

/* ── Supplement facts table ── */
.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
}

.facts-table caption {
  text-align: left;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.55;
  padding-bottom: var(--sp-4);
}

.facts-table th,
.facts-table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(185, 197, 188, 0.32);
  text-align: left;
  vertical-align: baseline;
}

.facts-table th {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
}

.facts-table td { color: var(--ink); opacity: 0.82; }

.facts-table td:nth-child(2),
.facts-table th:nth-child(2),
.facts-table td:nth-child(3),
.facts-table th:nth-child(3) {
  text-align: right;
  padding-left: var(--sp-4);
  white-space: nowrap;
}

.facts-table tfoot td {
  border-bottom: none;
  border-top: 1px solid rgba(185, 197, 188, 0.45);
  padding-top: var(--sp-2);
  font-size: 0.58rem;
  color: var(--sage);
  opacity: 0.7;
  text-align: left;
}

/* ── How to use ── */
.how-to-use-text {
  font-family: var(--font-display);
  font-size: clamp(var(--t-base), 3.5vw, var(--t-xl));
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.45;
}

/* ── Page disclaimer ── */
.page-disclaimer-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.9;
  color: var(--sage);
  letter-spacing: 0.04em;
}

/* ── Related products ── */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.related-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: var(--sp-4);
  border: 1px solid rgba(185, 197, 188, 0.45);
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.related-item:hover {
  border-color: rgba(27, 94, 56, 0.4);
  background: rgba(27, 94, 56, 0.025);
}

.related-item-name {
  font-family: var(--font-display);
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.related-item-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-item-arrow {
  display: block;
  font-size: var(--t-sm);
  color: var(--forest);
  opacity: 0.5;
  margin-top: var(--sp-4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(0);
}

.related-item:hover .related-item-arrow {
  opacity: 1;
  transform: translateX(4px);
}


/* ── Product page desktop ── */
@media (min-width: 768px) {

  .breadcrumb {
    padding-top: calc(96px + var(--sp-8));
    padding-inline: var(--sp-8);
    max-width: 1120px;
    margin-inline: auto;
  }

  .product-hero {
    padding: var(--sp-8) var(--sp-8) var(--sp-16);
  }

  .product-hero-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-16);
  }

  .product-hero-image { flex: 0 0 auto; }

  .product-hero-image .specimen-frame img {
    max-width: 320px;
    width: 320px;
  }

  .product-hero-info {
    flex: 1;
    padding-top: var(--sp-2);
  }

  .product-section {
    padding: var(--sp-12) var(--sp-8);
  }

  .spec-readout-grid { grid-template-columns: repeat(4, 1fr); }

  .related-grid { grid-template-columns: repeat(4, 1fr); }
}


/* ════════════════════════════════════════
   MOBILE NAV — HAMBURGER + DROPDOWN
   Mobile-first; desktop resets at 768px.
   ════════════════════════════════════════ */

/* Hide inline lang-toggle on mobile — it lives in the dropdown */
.header-nav .lang-toggle { display: none; }

/* Hamburger button */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger → X when open */
.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Dropdown panel — positioned below the fixed header */
.mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bone);
  border-bottom: 1px solid rgba(185, 197, 188, 0.4);
  display: flex;
  flex-direction: column;
  padding: var(--sp-2) var(--sp-4) var(--sp-8);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  /* delay visibility collapse so opacity can transition out first */
  transition: visibility 0s 0.22s, opacity 0.2s ease;
}

.nav-open .mobile-nav-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: visibility 0s, opacity 0.2s ease;
}

/* Individual mobile links */
.mobile-nav-link {
  display: block;
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(185, 197, 188, 0.3);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.15s ease;
}

.mobile-nav-link:last-of-type { border-bottom: none; }

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible { color: var(--forest); }

/* Stagger in — one by one, 60 ms apart */
.nav-open .mobile-nav-link:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.nav-open .mobile-nav-link:nth-child(2) { opacity: 1; transform: none; transition-delay: 60ms; }
.nav-open .mobile-nav-link:nth-child(3) { opacity: 1; transform: none; transition-delay: 120ms; }
.nav-open .mobile-nav-link:nth-child(4) { opacity: 1; transform: none; transition-delay: 180ms; }

/* Lang toggle — last item in panel */
.mobile-lang-toggle {
  display: flex !important;
  margin-top: var(--sp-4);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-open .mobile-lang-toggle {
  opacity: 1;
  transform: none;
  transition-delay: 240ms;
}

/* Desktop: hamburger hidden, panel hidden, inline lang-toggle restored */
@media (min-width: 768px) {
  .nav-hamburger { display: none; }
  .mobile-nav-panel { display: none; }
  .header-nav .lang-toggle { display: flex; }
}

/* Reduced motion: no stagger/slide — items appear instantly, hamburger still toggles shape */
@media (prefers-reduced-motion: reduce) {
  .nav-hamburger span { transition: none; }
  .mobile-nav-panel { transition: visibility 0s !important; }
  .nav-open .mobile-nav-panel { transition: visibility 0s !important; }
  .mobile-nav-link,
  .mobile-lang-toggle {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ════════════════════════════════════════
   BACK LINK
   Injected by components.js on product pages only.
   ════════════════════════════════════════ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  /* top padding clears the fixed header on mobile */
  padding: calc(72px + var(--sp-4)) var(--sp-4) var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  color: var(--forest);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.back-link:hover,
.back-link:focus-visible { opacity: 1; }

.back-arrow {
  width: 1.4em;
  height: 1.4em;
  flex: none;
  display: block;
  transition: transform 150ms ease;
}

.back-link:hover .back-arrow,
.back-link:focus-visible .back-arrow {
  transform: translateX(-3px);
}

/* Breadcrumb after the back link skips its own header clearance */
.back-link ~ .breadcrumb { padding-top: var(--sp-2); }

@media (min-width: 768px) {
  .back-link {
    padding: calc(96px + var(--sp-4)) var(--sp-8) var(--sp-2);
    max-width: 1120px;
    margin-inline: auto;
  }

  .back-link ~ .breadcrumb { padding-top: var(--sp-2); }
}

@media (prefers-reduced-motion: reduce) {
  .back-arrow { transition: none; }
}


/* ════════════════════════════════════════
   ABOUT PAGE
   Mobile-first; desktop at min-width: 768px.
   ════════════════════════════════════════ */

/* ── Current nav link indicator (used on About, Where to Buy) ── */
.mobile-nav-link[aria-current="page"] {
  color: var(--forest);
}

/* ── About hero ── */
.about-hero {
  padding: calc(72px + var(--sp-8)) var(--sp-4) var(--sp-12);
}

.about-hero-inner {
  max-width: 760px;
  margin-inline: auto;
}

.about-hero .eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}

.about-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--t-2xl), 7vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  margin-block: var(--sp-4) var(--sp-8);
}

.about-subline {
  font-family: var(--font-body);
  font-size: clamp(var(--t-base), 2.5vw, var(--t-lg));
  font-weight: 300;
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.75;
  max-width: 56ch;
}

/* ── Story / Quality sections ── */
.about-section {
  padding: var(--sp-12) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  max-width: 760px;
  margin-inline: auto;
}

.about-section .eyebrow {
  display: block;
  margin-bottom: var(--sp-8);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.82;
}

/* ── Pillars section ── */
.about-pillars-section {
  padding: var(--sp-12) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  max-width: 1120px;
  margin-inline: auto;
}

.about-pillars-section .eyebrow {
  display: block;
  margin-bottom: var(--sp-8);
}

.about-pillars {
  display: flex;
  flex-direction: column;
}

.about-pillar {
  padding: var(--sp-8) 0;
  border-top: 1px solid rgba(185, 197, 188, 0.28);
}

.about-pillar:first-child {
  border-top: none;
  padding-top: 0;
}

.pillar-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.65;
  margin-bottom: var(--sp-4);
}

.pillar-text {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.82;
}

/* ── Closing CTA ── */
.about-cta-section {
  padding: var(--sp-12) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  max-width: 760px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  /* Current nav link: underline always visible at desktop */
  .nav-link[aria-current="page"]         { opacity: 1; }
  .nav-link[aria-current="page"]::after  { width: 100%; }

  .about-hero {
    padding: calc(96px + var(--sp-12)) var(--sp-8) var(--sp-16);
  }

  .about-section {
    padding: var(--sp-16) var(--sp-8);
  }

  .about-pillars-section {
    padding: var(--sp-16) var(--sp-8);
  }

  .about-pillars {
    flex-direction: row;
  }

  .about-pillar {
    flex: 1;
    padding: 0 var(--sp-8);
    border-top: none;
    border-left: 1px solid rgba(185, 197, 188, 0.28);
  }

  .about-pillar:first-child {
    border-left: none;
    padding-left: 0;
  }

  .about-pillar:last-child {
    padding-right: 0;
  }

  .about-cta-section {
    padding: var(--sp-16) var(--sp-8);
    flex-direction: row;
    align-items: center;
  }
}


/* ════════════════════════════════════════
   WHERE TO BUY PAGE
   Mobile-first; desktop at min-width: 768px.
   ════════════════════════════════════════ */

.wtb-page {
  padding: calc(72px + var(--sp-8)) var(--sp-4) var(--sp-16);
}

.wtb-page-inner {
  max-width: 1120px;
  margin-inline: auto;
}

/* ── Intro ── */
.wtb-intro {
  max-width: 640px;
  margin-bottom: var(--sp-12);
}

.wtb-intro .eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}

.wtb-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--t-2xl), 7vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  margin-block: var(--sp-4) var(--sp-4);
}

.wtb-subline {
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 300;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.75;
  max-width: 54ch;
}

/* ── Buy Online block ── */
.wtb-online-block {
  padding: var(--sp-8) 0;
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.wtb-online-text {
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 300;
  color: var(--ink);
  opacity: 0.75;
  line-height: 1.7;
  max-width: 52ch;
}

/* ── Stockists section ── */
.wtb-stockists-section {
  padding-top: var(--sp-12);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
}

.wtb-channel {
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(185, 197, 188, 0.28);
  margin-bottom: var(--sp-8);
}

.wtb-channel:first-child {
  border-top: none;
  padding-top: 0;
}

.wtb-channel .eyebrow {
  display: block;
  margin-bottom: var(--sp-8);
}

/* Responsive card grid */
.wtb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

/* ── Stockist card ── */
.wtb-card {
  padding: var(--sp-4);
  border: 1px solid rgba(185, 197, 188, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wtb-card-area {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.6;
}

.wtb-card-name {
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 0.2rem;
}

.wtb-card-addr {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
  opacity: 0.55;
  margin-top: 0.35rem;
  line-height: 1.55;
}

.wtb-card-phone {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--sage);
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

.wtb-card-phone a {
  color: var(--sage);
  transition: color 0.18s ease;
}

.wtb-card-phone a:hover { color: var(--forest); }

/* ── Become a stockist CTA ── */
.wtb-cta-section {
  margin-top: var(--sp-12);
  padding-top: var(--sp-12);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.wtb-cta-section .eyebrow {
  display: block;
  margin-bottom: var(--sp-2);
}

.wtb-cta-text {
  font-family: var(--font-display);
  font-size: clamp(var(--t-lg), 3.5vw, var(--t-2xl));
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 40ch;
  margin-bottom: var(--sp-4);
}

@media (min-width: 768px) {
  .wtb-page {
    padding: calc(96px + var(--sp-12)) var(--sp-8) var(--sp-24);
  }

  .wtb-intro { margin-bottom: var(--sp-16); }

  .wtb-online-block {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-8);
    padding: var(--sp-12) 0;
  }

  .wtb-grid { grid-template-columns: repeat(3, 1fr); }

  .wtb-stockists-section { padding-top: var(--sp-16); }

  .wtb-cta-section {
    margin-top: var(--sp-16);
    padding-top: var(--sp-16);
    flex-direction: row;
    align-items: center;
    gap: var(--sp-12);
  }

  .wtb-cta-text { margin-bottom: 0; }
}


/* ════════════════════════════════════════
   CONTACT PAGE
   Mobile-first; desktop at min-width: 768px.
   ════════════════════════════════════════ */

.contact-page {
  padding: calc(72px + var(--sp-8)) var(--sp-4) var(--sp-16);
}

.contact-page-inner {
  max-width: 1120px;
  margin-inline: auto;
}

/* ── Intro header ── */
.contact-intro {
  max-width: 600px;
  margin-bottom: var(--sp-12);
}

.contact-intro .eyebrow {
  display: block;
  margin-bottom: var(--sp-4);
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--t-2xl), 7vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  margin-block: var(--sp-4) var(--sp-4);
}

.contact-subline {
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 300;
  color: var(--ink);
  opacity: 0.65;
  line-height: 1.75;
}

/* ── Two-column grid ── */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

/* ── Form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative; /* contains the off-screen honeypot */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
}

.form-label .req {
  color: var(--forest);
  opacity: 0.9;
  margin-left: 0.15em;
}

.form-optional {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--sage);
  opacity: 0.75;
  margin-left: 0.4em;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(185, 197, 188, 0.7);
  border-radius: 2px;
  padding: 0.7rem var(--sp-4);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--sage);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(63, 224, 160, 0.18);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
  padding-block: 0.75rem;
}

/* Honeypot — visually off-screen, NOT display:none
   Bots fill it; humans never see it. */
.form-honeypot-wrap {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

/* GDPR consent row */
.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: var(--sp-2);
}

.form-checkbox {
  flex-shrink: 0;
  margin-top: 0.2em;
  width: 16px;
  height: 16px;
  accent-color: var(--forest);
  cursor: pointer;
}

.form-checkbox-label {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.65;
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity 0.18s ease;
}

.form-checkbox-label a:hover { opacity: 0.7; }

/* Submit button */
.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--bone);
  background: var(--forest);
  padding: 0.8rem 2rem;
  border: 1px solid var(--forest);
  border-radius: 2px;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: var(--sp-2);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.form-submit:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 2px 18px rgba(12, 31, 22, 0.22);
}

.form-submit:active:not(:disabled) { background: #000; border-color: #000; }

.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Inline status — aria-live region below form */
.form-status {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.07em;
  line-height: 1.65;
  min-height: 1.4em;
}

.form-status.success { color: var(--forest); }
.form-status.error   { color: #b33; }

/* ── Contact details column ── */
.contact-details-section {
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
}

.contact-details-section .eyebrow {
  display: block;
  margin-bottom: var(--sp-8);
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.contact-detail-key {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.55;
  margin-bottom: 0.3rem;
}

.contact-detail-val {
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--ink);
  opacity: 0.82;
}

.contact-detail-val a {
  color: var(--forest);
  transition: opacity 0.18s ease;
}

.contact-detail-val a:hover { opacity: 0.65; }

.contact-availability {
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(185, 197, 188, 0.3);
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
  opacity: 0.6;
  line-height: 1.75;
}

/* ── Desktop ── */
@media (min-width: 768px) {
  .contact-page {
    padding: calc(96px + var(--sp-12)) var(--sp-8) var(--sp-24);
  }

  .contact-intro {
    margin-bottom: var(--sp-16);
  }

  .contact-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-16);
  }

  .contact-form-col {
    flex: 0 0 58%;
  }

  .contact-details-col {
    flex: 1;
  }

  .contact-details-section {
    border-top: none;
    border-left: 1px solid rgba(185, 197, 188, 0.4);
    padding-top: 0;
    padding-left: var(--sp-12);
  }
}


/* ════════════════════════════════════════
   DEMO CART — header icon, badge, drawer
   Mobile-first. No backend or API keys.
   ════════════════════════════════════════ */

/* ── Header-actions wrapper (cart + hamburger) ── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

/* ── Cart icon button ── */
.cart-icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: color 0.18s ease, background 0.18s ease;
}

.cart-icon-btn:hover { color: var(--forest); background: rgba(185, 197, 188, 0.18); }
.cart-icon-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

/* ── Badge ── */
.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
}

/* ── Overlay ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 31, 22, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.cart-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .cart-overlay { transition: none; }
}

/* ── Drawer ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(400px, 100vw);
  z-index: 201;
  background: var(--bone);
  border-left: 1px solid rgba(185, 197, 188, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 0.95, 0.45, 1);
  overflow: hidden;
}

.cart-drawer.is-open { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .cart-drawer { transition: none; }
}

/* Prevent body scroll when drawer is open */
body.cart-open { overflow: hidden; }

/* ── Drawer header ── */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid rgba(185, 197, 188, 0.4);
  position: sticky;
  top: 0;
  background: var(--bone);
  z-index: 1;
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.cart-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.cart-close-btn:hover { opacity: 1; background: rgba(185, 197, 188, 0.25); }
.cart-close-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

/* ── Empty state ── */
.cart-empty-msg {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
  opacity: 0.45;
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  line-height: 1.7;
}

/* ── Items section — the ONLY scroll zone ── */
.cart-items-section {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.cart-items-list {
  list-style: none;
  padding: var(--sp-4) var(--sp-6) var(--sp-4);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(185, 197, 188, 0.28);
  align-items: start;
}

.cart-item-img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink);
  opacity: 0.45;
  letter-spacing: 0.06em;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: 0.3rem;
}

.cart-qty-btn {
  background: none;
  border: 1px solid rgba(185, 197, 188, 0.55);
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-family: var(--font-mono);
  transition: border-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.cart-qty-btn:hover { border-color: var(--forest); color: var(--forest); }

.cart-qty-val {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink);
  letter-spacing: 0.06em;
  min-width: 1.25rem;
  text-align: center;
}

.cart-item-line {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--forest);
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
  display: block;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.3;
  font-size: 1.1rem;
  padding: 0.1rem 0.3rem;
  line-height: 1;
  font-family: var(--font-mono);
  transition: opacity 0.15s ease;
  align-self: flex-start;
  margin-top: 0.15rem;
}

.cart-item-remove:hover { opacity: 0.8; }

/* ── Drawer footer — pinned, never clipped ── */
.cart-drawer-footer {
  flex-shrink: 0;
  padding: var(--sp-3) var(--sp-6) var(--sp-6);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  background: var(--bone);
  box-shadow: 0 -6px 20px rgba(30, 58, 38, 0.06);
}

/* ── Subtotal + Checkout ── */
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--sp-3) 0 var(--sp-4);
}

.cart-subtotal-label {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
}

.cart-subtotal-val {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--forest);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  background: var(--forest);
  color: var(--bone);
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--sp-4) var(--sp-6);
  min-height: 52px;
  border-radius: 2px;
  transition: background 0.18s ease;
}

.cart-checkout-btn:hover { background: var(--ink); }
.cart-checkout-btn:active { background: #000; }
.cart-checkout-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.cart-checkout-msg {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
  opacity: 0.6;
  text-align: center;
  line-height: 1.65;
  padding-top: var(--sp-4);
  margin-top: var(--sp-3);
  border-top: 1px solid rgba(185, 197, 188, 0.28);
}

/* ── btn-buy-page as <button> element ── */
button.btn-buy-page {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}


/* ════════════════════════════════════════
   PRODUCT GRID — desktop 2×2 (≥768px)
   4 products in a symmetric 2-column grid.
   Green spine + node connectors kept.
   Mobile (< 768px) completely untouched.
   ════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Pathway wrapper: centred 2-column grid.
     All properties declared here so centering does not depend on
     cascade order with the earlier @media (min-width: 768px) block. */
  .pathway-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
    max-width: 880px;
    margin-inline: auto;
    padding-inline: var(--sp-8);
    align-items: start;
  }

  /* Each station: plain block item, position:relative for node anchoring */
  .station {
    display: block;
    margin-bottom: 0;
    min-height: unset;
    position: relative;
    overflow: visible;
  }

  /* Spacers not needed in grid layout */
  .station-spacer { display: none; }

  /* Reset directional overrides; centre content within its column half.
     max-width caps the card so margin-inline: auto can distribute equal
     space on both sides regardless of spec-claim text length. */
  .station[data-side="left"]  .station-content,
  .station[data-side="right"] .station-content {
    grid-column: unset;
    padding: 0;
    transform: translateY(14px);
    max-width: 280px;
    margin-inline: auto;
  }

  /* Fired: standard upward reveal */
  .station.fired .station-content {
    transform: none;
  }

  /* Node connectors: float to the spine-facing (inner) edge, vertically centred.
     The spine track sits at left:50% of the wrapper — nodes point directly to it. */
  .station-node {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  /* gap = var(--sp-8) = 2rem; half-gap = 1rem = var(--sp-4); node-ring = 14px wide */
  .station[data-side="left"]  .station-node {
    right: calc(-1 * var(--sp-4) - 7px);
  }

  .station[data-side="right"] .station-node {
    left: calc(-1 * var(--sp-4) - 7px);
  }

  /* 4 products: no last-child special casing needed */
  .station:last-child {
    grid-column: unset;
    max-width: unset;
    margin-inline: unset;
  }

}


/* ════════════════════════════════════════
   STATION COLLAPSIBLE — spec details panel
   Applies on mobile + desktop (home pages only).
   ════════════════════════════════════════ */

/* Toggle button: strip browser chrome, inherit heading styles */
.station-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
}

.station-toggle:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 2px;
}

.station-toggle:active { opacity: 0.75; }

/* Chevron SVG icon — rotates 180° when open */
.station-chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.3em;
  color: var(--sage);
  transition: transform 0.22s ease;
}

.station-toggle[aria-expanded="true"] .station-chevron {
  transform: rotate(180deg);
}

/* Collapsible panel: grid-template-rows 0fr → 1fr technique */
.station-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}

.station-details.open {
  grid-template-rows: 1fr;
}

/* Inner wrapper clips overflow during collapse */
.station-details-inner {
  overflow: hidden;
}

/* Reduced-motion: instant toggle, no animation */
@media (prefers-reduced-motion: reduce) {
  .station-details { transition: none; }
  .station-chevron { transition: none; }
}


/* ════════════════════════════════════════
   PRODUCT PAGE — GALLERY + BUY BOX + ACCORDIONS
   Two-column e-commerce layout.
   Mobile-first; desktop at min-width: 768px.
   ════════════════════════════════════════ */

/* ── Image gallery (left column) ── */
.ph-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.ph-thumb-strip {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.ph-thumb {
  padding: 2px;
  border: 1px solid rgba(185, 197, 188, 0.45);
  background: none;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.ph-thumb:hover        { border-color: rgba(27, 94, 56, 0.5); }
.ph-thumb--active      { border-color: var(--forest); }
.ph-thumb:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.ph-thumb img {
  display: block;
  width: 52px;
  height: 68px;
  object-fit: cover;
}

/* ── Buy box (right column) ── */
.ph-buy-box {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Focus-visible on buy button */
.btn-buy-page:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* ── Compact spec strip inside buy box ── */
.ph-spec-compact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-2) 0;
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  border-bottom: 1px solid rgba(185, 197, 188, 0.4);
  font-family: var(--font-mono);
}

.ph-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ph-spec-key {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.ph-spec-val {
  font-size: var(--t-sm);
  color: var(--ink);
  opacity: 0.88;
  letter-spacing: 0.03em;
}

/* ── Quantity stepper ── */
.ph-qty-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.ph-qty-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.ph-qty-stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(185, 197, 188, 0.5);
  border-radius: 2px;
  overflow: hidden;
}

.ph-qty-btn {
  font-family: var(--font-mono);
  font-size: var(--t-base);
  line-height: 1;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.ph-qty-btn:hover        { background: rgba(27, 94, 56, 0.07); }
.ph-qty-btn:active       { background: rgba(27, 94, 56, 0.14); }
.ph-qty-btn:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: -2px;
}

.ph-qty-val {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--ink);
  min-width: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(185, 197, 188, 0.4);
  border-right: 1px solid rgba(185, 197, 188, 0.4);
  user-select: none;
  padding: 0 0.25rem;
}

/* ── Accordion body text (description / product info) ── */
.pd-body-text {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--ink);
  line-height: 1.7;
  opacity: 0.75;
  margin: 0;
}

/* ── Content accordions ── */
.pd-accordions {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
}

.pd-accordion-item {
  border-bottom: 1px solid rgba(185, 197, 188, 0.4);
}

.pd-accordion-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.pd-accordion-toggle:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 2px;
}

.pd-accordion-label {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.015em;
  transition: color 0.2s ease;
}

.pd-accordion-toggle:hover .pd-accordion-label { color: var(--forest); }

.pd-accordion-chevron {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--sage);
  transition: transform 0.22s ease;
}

.pd-accordion-toggle[aria-expanded="true"] .pd-accordion-chevron {
  transform: rotate(180deg);
}

/* Collapse via grid-template-rows 0fr → 1fr (mirrors .station-details) */
.pd-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}

.pd-accordion-panel.open {
  grid-template-rows: 1fr;
}

.pd-accordion-inner {
  overflow: hidden;
  /* padding-bottom applied only when open — padding on the collapsed element
     prevents grid-template-rows: 0fr from fully collapsing the track */
}

.pd-accordion-panel.open .pd-accordion-inner {
  padding-bottom: var(--sp-8);
}

@media (prefers-reduced-motion: reduce) {
  .pd-accordion-panel  { transition: none; }
  .pd-accordion-chevron { transition: none; }
}

/* ── Product page desktop overrides ── */
@media (min-width: 768px) {

  /* Buy box: sticky on desktop, static on mobile */
  .ph-buy-box {
    flex: 1;
    position: sticky;
    top: calc(80px + var(--sp-8));
    align-self: start;
    padding-top: var(--sp-2);
  }

  .pd-accordions {
    padding-inline: var(--sp-8);
  }
}

/* ── Fly-to-cart animation ──────────────────────────────── */
.fly-pill {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--forest);
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
  transform-origin: center center;
}

@keyframes cart-bump {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.cart-icon-bump {
  animation: cart-bump 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}


/* ════════════════════════════════════════
   NOV 2026 UPDATES — hero logo, accessible
   chevrons, "View product" button, cart totals
   ════════════════════════════════════════ */

/* ── 1. Hero logo: larger. The tagline is baked into the PNG, so the
   separate text line is hidden visually but kept for screen readers /
   SEO (it is also the hero section's aria-labelledby target). ── */
.hero-wordmark {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.hero-wordmark img {
  width: 100%;          /* fills the padded hero column on phones — never overflows */
  max-width: 760px;     /* source PNG is 1200px wide */
  height: auto;
}

.hero-tagline {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .hero-wordmark { margin-bottom: var(--sp-8); }
}

/* ── 2. Dropdown chevrons: bigger, thicker, high-contrast, 44px target ── */
.station-chevron,
.pd-accordion-chevron {
  box-sizing: content-box;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0.625rem;              /* 24px icon + padding = 44px hit circle */
  border-radius: 50%;
  background: rgba(27, 94, 56, 0.08);
  color: var(--forest);
  stroke-width: 2.25;             /* overrides the inline 1.5 */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.station-chevron { margin-top: 0; }

.station-toggle {
  align-items: center;
  gap: var(--sp-4);
  min-height: 48px;
}

.pd-accordion-toggle {
  min-height: 56px;
  padding: var(--sp-2) 0;
}

.station-toggle:hover .station-chevron,
.pd-accordion-toggle:hover .pd-accordion-chevron {
  color: var(--ink);
}

.station-toggle:active .station-chevron,
.pd-accordion-toggle:active .pd-accordion-chevron {
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .station-chevron,
  .pd-accordion-chevron { transition: none; }
}

/* ── 3. "View product": secondary outline button (Add to Cart stays solid) ── */
.product-cta {
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-2);
  width: 100%;
  max-width: 280px;
}

.view-link {
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.25rem;
  font-size: var(--t-base);
  letter-spacing: 0.02em;
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
  border-radius: 2px;
  opacity: 1;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.view-link > span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.view-link:hover {
  gap: 0.5rem;
  background: rgba(27, 94, 56, 0.07);
  box-shadow: 0 2px 14px rgba(12, 31, 22, 0.12);
}

.view-link:hover > span { transform: translateX(3px); }

.view-link:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.view-link:active { background: rgba(27, 94, 56, 0.14); }

.btn-buy {
  min-height: 48px;
  font-size: var(--t-base);
}

.btn-buy:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .product-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .view-link > span { transition: none; }
  .view-link:hover > span { transform: none; }
}

/* ── 4. Cart totals: subtotal / delivery / discount / total ── */
.cart-totals { margin: 0; padding-top: var(--sp-4); }

.cart-line-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.25rem 0;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  color: var(--ink);
}

.cart-line-row[hidden] { display: none; }

.cart-line-row dt { opacity: 0.7; letter-spacing: 0.04em; }
.cart-line-row dd { margin: 0; letter-spacing: 0.02em; }

.cart-line-free,
.cart-line-discount dd { color: var(--forest); font-weight: 500; }

.cart-total-row {
  margin-top: var(--sp-2);
  padding: var(--sp-2) 0 var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
}

.cart-total-row dd { margin: 0; }

.cart-discount-hint {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  color: var(--forest);
  text-align: center;
  margin: 0 0 var(--sp-4);
  padding: var(--sp-2);
  background: rgba(27, 94, 56, 0.07);
  border-radius: 2px;
}
/* Taller CTA stack — give the 2×2 desktop grid more breathing room between rows
   (column gap unchanged: node connectors are positioned from it). */
@media (min-width: 768px) {
  .pathway-wrapper { row-gap: var(--sp-16); }
}

/* ════════════════════════════════════════
   5-PRODUCT LINEUP — real photos + 2-2-1 desktop grid
   ════════════════════════════════════════ */

/* Real photos: keep the frame's proportions (from the width/height
   attributes) and crop instead of distorting. */
.specimen-frame img {
  height: auto;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {

  /* The line spans rows 1–2 plus the gap below them, so it ends exactly
     where the lone last card's row begins. The pathway wrapper is the grid
     container; an absolutely positioned child with grid lines uses that
     grid area as its containing block. */
  .pathway-wrapper > .spine-track {
    grid-column: 1 / -1;
    grid-row: 1 / 3;
    bottom: calc(-1 * var(--sp-16));   /* = desktop row-gap */
  }

  /* Odd product count: last card gets its own row, centred.
     (spine-track is child 1, so an odd number of stations puts the last
     one at an even child index.) */
  .pathway-wrapper > .station:last-child:nth-child(even) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc(50% - var(--sp-4));
    padding-top: var(--sp-8);
  }

  /* Its node becomes the line's end point: top centre, above the card */
  .pathway-wrapper > .station:last-child:nth-child(even) .station-node {
    top: 0;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }
}
@media (min-width: 768px) {
  /* Equal-height stations per row so both nodes sit at the same height */
  .pathway-wrapper { align-items: stretch; }

  /* Real product names are longer (Glyco-Regulate, L-Glutamine):
     a little more card width keeps names from breaking at the hyphen. */
  .station[data-side="left"]  .station-content,
  .station[data-side="right"] .station-content,
  .product-cta { max-width: 320px; }
}

/* ════════════════════════════════════════
   QUALITY & CERTIFICATIONS (About page) + footer trust line
   Certificates belong to the manufacturer's facility — text badges only,
   no certification-body logos.
   ════════════════════════════════════════ */
.about-certs-section {
  padding: var(--sp-12) var(--sp-4);
  border-top: 1px solid rgba(185, 197, 188, 0.4);
  max-width: 1120px;
  margin-inline: auto;
}

.about-certs-section .eyebrow {
  display: block;
  margin-bottom: var(--sp-8);
}

.certs-intro {
  font-family: var(--font-display);
  font-size: clamp(var(--t-lg), 4vw, var(--t-2xl));
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 36ch;
  margin-bottom: var(--sp-8);
}

/* Mobile: single column stack */
.certs-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.cert-badge {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--sp-4);
  row-gap: 0.15rem;
  align-items: center;
  padding: var(--sp-4);
  background: var(--bone);
  border: 1px solid rgba(185, 197, 188, 0.6);
  border-radius: 2px;
  box-shadow:
    0 1px 2px rgba(12, 31, 22, 0.04),
    0 6px 18px rgba(27, 94, 56, 0.05);
}

/* Text seal — slot for an official mark if one is supplied with permission */
.cert-mark {
  grid-row: 1 / 3;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  box-shadow: inset 0 0 0 3px var(--bone), inset 0 0 0 4px rgba(27, 94, 56, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--forest);
}

.cert-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }

.cert-std {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.cert-year {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  letter-spacing: 0.02em;
  color: var(--forest);
  opacity: 0.75;
}

.cert-desc {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.75;
}

.certs-meta {
  margin-top: var(--sp-8);
  max-width: 72ch;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--ink);
  opacity: 0.6;
}

.certs-body { margin-top: var(--sp-8); max-width: 760px; }

@media (min-width: 560px) {
  .certs-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .about-certs-section { padding: var(--sp-16) var(--sp-8); }
}

@media (min-width: 1000px) {
  .certs-grid { grid-template-columns: repeat(4, 1fr); }

  .cert-badge {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: var(--sp-2);
    align-items: start;
    padding: var(--sp-8) var(--sp-4) var(--sp-4);
  }

  .cert-mark { grid-row: auto; margin-bottom: var(--sp-2); }
}

/* Footer trust line — slim and understated */
.footer-trust {
  margin-top: var(--sp-8);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.55;
}

/* ════════════════════════════════════════
   PRODUCT PAGES — label data, claim condition, label gallery + lightbox
   ════════════════════════════════════════ */

/* Mandatory condition line under an authorised claim (e.g. creatine 3 g/day) */
.claim-condition {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.7;
  margin-top: var(--sp-2);
}

.pd-accordion-inner > .product-page-claim + .product-page-claim { margin-top: var(--sp-4); }

.pd-ingredients { margin-top: var(--sp-4); }

.pd-info-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* ── Label gallery: stacked, full width on mobile, natural size (max) on desktop ── */
.label-hint {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.6;
  margin-bottom: var(--sp-4);
}

.label-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.label-figure { margin: 0; }

.label-zoom {
  display: block;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(185, 197, 188, 0.6);
  border-radius: 2px;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 1px 2px rgba(12, 31, 22, 0.04), 0 6px 18px rgba(27, 94, 56, 0.05);
  transition: box-shadow 0.22s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.label-zoom img {
  display: block;
  max-width: 100%;
  height: auto;
}

.label-zoom:hover {
  box-shadow: 0 2px 4px rgba(12, 31, 22, 0.06), 0 12px 28px rgba(27, 94, 56, 0.1);
  transform: translateY(-1px);
}

.label-zoom:active { transform: translateY(0); }

.label-zoom:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.label-figure figcaption {
  margin-top: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.7;
}

/* ── Lightbox ── */
body.lightbox-open { overflow: hidden; }

.label-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  background: rgba(12, 31, 22, 0.88);
}

.label-lightbox[hidden] { display: none; }

.label-lightbox-stage {
  flex: 1;
  overflow: auto;              /* zoomed image pans inside the stage, never the page */
  display: flex;
  padding: 64px var(--sp-4) var(--sp-4);
  -webkit-overflow-scrolling: touch;
}

.label-lightbox-img {
  margin: auto;                /* centres when smaller, scrolls cleanly when larger */
  flex-shrink: 0;              /* never squeeze the zoomed image */
  display: block;
  width: min(100%, 1000px);
  max-width: none;
  height: auto;
  background: #fff;
  cursor: zoom-in;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.label-lightbox-img.is-zoomed { cursor: zoom-out; }

.label-lightbox-img:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.label-lightbox-close {
  position: absolute;
  top: var(--sp-2);
  right: var(--sp-2);
  z-index: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 247, 244, 0.35);
  border-radius: 50%;
  background: rgba(12, 31, 22, 0.6);
  color: var(--bone);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.label-lightbox-close:hover  { background: var(--forest); }
.label-lightbox-close:active { transform: scale(0.94); }
.label-lightbox-close:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

.label-lightbox-hint {
  flex-shrink: 0;
  text-align: center;
  padding: var(--sp-2) var(--sp-4) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  color: var(--bone);
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .label-zoom,
  .label-lightbox-close { transition: none; }
  .label-zoom:hover { transform: none; }
}

/* ════════════════════════════════════════
   READABILITY PASS — larger type scale + WCAG AA text contrast
   Sizes and text colours only; layout untouched.
   Text meant to be read uses --forest or --ink at ≥ 75 % (no --sage,
   no low-opacity dimming). --sage stays for borders/decoration.
   ════════════════════════════════════════ */
:root {
  --t-xs   : 0.8125rem;  /* 13px  (was 11.5px) */
  --t-sm   : 1rem;       /* 16px  (was 14px)   */
  --t-base : 1.0625rem;  /* 17px mobile        */
  --t-lg   : 1.375rem;
  --t-xl   : 1.625rem;
  --t-2xl  : 2.25rem;
  --t-3xl  : 3rem;

  --ink-muted : rgba(12, 31, 22, 0.75);  /* ≈ 6.9:1 on --bone */
}

@media (min-width: 768px) {
  :root { --t-base: 1.125rem; }          /* 18px desktop */
}

body { font-size: var(--t-base); }

/* Product names keep their previous maximum so long names
   (L-Glutamine, Glyco-Regulate) don't break mid-word in the cards */
.product-name { font-size: clamp(var(--t-xl), 6vw, 2.75rem); }

/* ── Section eyebrows ("The Standard", "The Range", "Availability"…) ── */
.eyebrow,
.pillar-label {
  font-size: 0.875rem;
  color: var(--forest);
  opacity: 1;
}

@media (min-width: 768px) {
  .eyebrow,
  .pillar-label { font-size: 0.9375rem; }
}

/* ── Home: product spec readout (dropdown) ── */
.spec-block  { font-size: 0.9375rem; }
.spec-label  { color: var(--forest); }
.spec-value  { color: var(--ink); opacity: 1; }
.spec-claim  { font-size: 0.9375rem; color: var(--forest); opacity: 1; }

/* ── Home: disclaimer under the range — readable body text, not fine print ── */
.product-disclaimer {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ink-muted);
  opacity: 1;
  max-width: 640px;
}

/* ── Header language switcher ── */
.lang-toggle a { opacity: 1; color: var(--ink-muted); }
.lang-toggle a:hover,
.lang-toggle a.active { color: var(--forest); }

/* ── Footer ── */
.footer-contact {
  font-size: var(--t-sm);
  color: var(--ink-muted);
  opacity: 1;
}
.footer-contact a { color: var(--forest); }

.footer-lang { font-size: 0.875rem; }
.footer-lang a { opacity: 1; color: var(--ink-muted); }
.footer-lang a:hover,
.footer-lang a.active { color: var(--forest); }

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--forest);
  opacity: 1;
}

.footer-disclaimer {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ink-muted);
  opacity: 1;
}

.footer-trust {
  font-size: 0.875rem;
  color: var(--forest);
  opacity: 1;
}

.footer-bottom {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.footer-bottom span { opacity: 1; color: var(--ink-muted); }

/* ── Product pages ── */
.back-link { opacity: 1; }
.breadcrumb { color: var(--ink-muted); }
.breadcrumb a { color: var(--forest); opacity: 1; }
.breadcrumb-current { color: var(--ink); opacity: 1; }

.product-page-subtitle { color: var(--ink-muted); opacity: 1; }

.ph-spec-key  { font-size: 0.75rem; color: var(--forest); }
.ph-spec-val  { opacity: 1; }
.ph-qty-label { font-size: 0.75rem; color: var(--forest); }

.product-page-claim { font-size: 0.9375rem; opacity: 1; }

.facts-table { font-size: 0.875rem; }
.facts-table caption { font-size: 0.75rem; opacity: 1; }
.facts-table th { font-size: 0.75rem; color: var(--forest); }
.facts-table td { opacity: 1; color: var(--ink); }
.facts-table tfoot td { font-size: 0.75rem; color: var(--ink-muted); opacity: 1; }

.page-disclaimer-text {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ink-muted);
}

.related-item-sub   { font-size: 0.75rem; color: var(--forest); }
.related-item-arrow { opacity: 1; }

.label-hint { color: var(--ink-muted); opacity: 1; }
.label-figure figcaption { opacity: 1; }

/* ── About ── */
.cert-year  { opacity: 1; }
.certs-meta { color: var(--ink-muted); opacity: 1; }

/* ── Contact ── */
.form-label { color: var(--ink-muted); opacity: 1; }
.form-label .req { opacity: 1; }
.form-optional { font-size: 0.8125rem; color: var(--ink-muted); opacity: 1; }
.contact-detail-key { opacity: 1; }
.contact-availability { color: var(--ink-muted); opacity: 1; }

/* ── Where to buy ── */
.wtb-card-area { opacity: 1; }
.wtb-card-addr { color: var(--ink-muted); opacity: 1; }
/* Remaining low-contrast text found by the audit */
.footer-bottom        { opacity: 1; }
.contact-detail-val   { opacity: 1; }
.wtb-card-phone,
.wtb-card-phone a     { color: var(--forest); opacity: 1; }.form-checkbox-label  { color: var(--ink-muted); opacity: 1; }

/* ════════════════════════════════════════
   FONT: Arial everywhere (Arimo = metric-compatible fallback for
   Android, self-hosted in /assets/fonts/ with Latin/Greek/Cyrillic).
   Only 400 and 700 exist — no light/medium/semibold.
   ════════════════════════════════════════ */
:root {
  --font-display : Arial, "Arimo", Helvetica, sans-serif;
  --font-body    : Arial, "Arimo", Helvetica, sans-serif;
  --font-mono    : Arial, "Arimo", Helvetica, sans-serif;
}

/* ── Weights: former 300/500 → 400; emphasis that carried hierarchy → 700 ── */
.hero-proposition, .promise-line, .where-line, .product-page-subtitle,
.product-page-price, .how-to-use-text, .about-headline, .about-subline,
.wtb-headline, .wtb-subline, .wtb-online-text, .wtb-cta-text,
.contact-headline, .contact-subline, .certs-intro,
.nav-link, .mobile-nav-link, .cart-line-free, .cart-line-discount dd {
  font-weight: 400;
}

.hero-cta, .view-link, .btn-buy, .where-link, .btn-buy-page, .form-submit,
.cart-checkout-btn, .pd-accordion-label, .cart-item-name, .wtb-card-name,
.cart-subtotal-val, .cart-badge, .cert-mark {
  font-weight: 700;
}

/* ── Claim lines: plain upright text ── */
.spec-claim,
.product-page-claim { font-style: normal; }

/* ── Former mono uppercase labels: near-normal letter-spacing ── */
.eyebrow, .pillar-label, .spec-label, .specimen-label, .footer-tagline,
.spec-readout-key, .facts-table th, .related-item-sub, .wtb-card-area,
.form-label, .contact-detail-key, .cart-drawer-title, .cart-subtotal-label,
.cart-checkout-btn, .ph-spec-key, .ph-qty-label, .lang-toggle, .footer-lang {
  letter-spacing: 0.04em;
}

.breadcrumb, .spec-value, .facts-table, .ph-spec-val,
.cart-line-row dt, .cart-line-row dd, .label-hint, .certs-meta {
  letter-spacing: 0.01em;
}

/* Sentence-length lines read badly in capitals — normal case instead
   (also keeps units like "5 g" lowercase in the facts caption) */
.facts-table caption,
.label-figure figcaption,
.footer-trust {
  text-transform: none;
  letter-spacing: 0.01em;
}
/* Arial fits the long product names at the full heading size → raise to --t-3xl */
.product-name { font-size: clamp(var(--t-xl), 6vw, var(--t-3xl)); }

/* ── No italic anywhere: remaining italic text set upright ── */
.hero-proposition,
.how-to-use-text,
.wtb-cta-text { font-style: normal; }

/* Elements browsers italicise by default */
address, em, i, cite, var, dfn { font-style: normal; }

/* ════════════════════════════════════════
   HOME CARDS — picture as wide as the buttons; "Micronized" tag
   ════════════════════════════════════════ */

/* Frame + photo fill the card width, capped exactly like .product-cta
   (280px mobile / 320px desktop) so picture and buttons align edge to edge */
.station .specimen-frame {
  display: block;
  width: 100%;
  max-width: 280px;
}

.station .specimen-frame img {
  width: 100%;
  max-width: none;
  height: auto;            /* square pack shots: ratio from width/height attrs */
  object-fit: contain;     /* never crop the pack */
  background: #fff;
}

@media (min-width: 768px) {
  .station .specimen-frame { max-width: 320px; }
  .station .specimen-frame img { max-width: none; }
}

/* "Micronized" — under the name, right above the picture */
.product-tag {
  font-family: var(--font-body);
  font-size: var(--t-lg);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 var(--sp-2);
}.product-tag { font-size: clamp(var(--t-base), 3.2vw, var(--t-xl)); }

/* ════════════════════════════════════════
   "Micronized" tight under the product name
   ════════════════════════════════════════ */
.station-content:has(.product-tag) .product-name { margin-bottom: 2px; }
.product-tag { line-height: 1.1; }


/* ════════════════════════════════════════
   MOBILE TYPE SCALE (below 768px only)
   Body 17px → 19px; every step scaled by the same factor (19/17 ≈ 1.118).
   Desktop values are restored exactly in the media query below.
   ════════════════════════════════════════ */
:root {
  --m-scale: 1.118;
  --t-xs   : 0.9rem;     /* 14.4px (was 13px)   */
  --t-sm   : 1.125rem;   /* 18px   (was 16px)   */
  --t-base : 1.1875rem;  /* 19px   (was 17px)   */
  --t-lg   : 1.5rem;     /* 24px   (was 22px)   */
  --t-xl   : 1.8125rem;  /* 29px   (was 26px)   */
  --t-2xl  : 2.5rem;     /* 40px   (was 36px)   */
  --t-3xl  : 3.375rem;   /* 54px   (was 48px)   */
}

@media (min-width: 768px) {
  :root {
    --m-scale: 1;
    --t-xs   : 0.8125rem;
    --t-sm   : 1rem;
    --t-base : 1.125rem;
    --t-lg   : 1.375rem;
    --t-xl   : 1.625rem;
    --t-2xl  : 2.25rem;
    --t-3xl  : 3rem;
  }
}

/* The few fixed sizes (set in rem, not via the variables) follow the same factor */
@media (max-width: 767px) {
  .eyebrow, .pillar-label           { font-size: calc(0.875rem  * var(--m-scale)); }
  .spec-block, .spec-claim,
  .product-page-claim               { font-size: calc(0.9375rem * var(--m-scale)); }
  .footer-lang, .footer-trust,
  .facts-table                      { font-size: calc(0.875rem  * var(--m-scale)); }
  .footer-tagline, .footer-bottom,
  .form-optional                    { font-size: calc(0.8125rem * var(--m-scale)); }
  .ph-spec-key, .ph-qty-label,
  .facts-table caption, .facts-table th,
  .facts-table tfoot td,
  .related-item-sub                 { font-size: calc(0.75rem   * var(--m-scale)); }
  .cart-subtotal-val                { font-size: calc(1.3rem    * var(--m-scale)); }
  .specimen-label                   { font-size: calc(0.5rem    * var(--m-scale)); }
}
/* Mobile: the RDV column may wrap ("Не установлено" / "Δεν έχει καθοριστεί")
   so the facts table never runs wider than the screen at the larger type */
@media (max-width: 767px) {
  .facts-table td:nth-child(3),
  .facts-table th:nth-child(3) { white-space: normal; }
}
/* ── Keep hyphenated names whole (e.g. L-Glutamine in related boxes) ── */
.nowrap { white-space: nowrap; }

/* -- Product name variant, e.g. D3+K2 (MK-7): same line, same baseline, logo green -- */
.name-variant { color: var(--forest); font-weight: 700; font-size: 0.65em; vertical-align: baseline; letter-spacing: 0; }

/* (MK-7): optically centred on the cap height of the name. Arial caps = 0.716em;
   name caps centre 0.358 x name, variant caps centre 0.358 x 0.65 x name,
   difference 0.1253 x name = 0.193em of the variant. Relative offset: no layout shift. */
.name-variant { position: relative; top: -0.193em; }

/* -- Home cards: arrow pinned to the FIRST name line (AXON), so arrows line up across a row
      whatever the name length. 2.75rem = 44px chevron circle; centred on one line box. -- */
.station-toggle { align-items: flex-start; }
.station-chevron { margin-top: calc((1.05em - 2.75rem) / 2); margin-top: calc((1lh - 2.75rem) / 2); }

/* Mixed-case tag (Glyco-Regulate "Pro"): centre on the x-height instead of the cap height.
   Arial x-height = 0.519em; difference of x-height centres = 0.519 x (1 - 0.65) / 2 / 0.65 = 0.14em. */
.name-variant--word { top: -0.14em; }

/* ════════════════════════════════════════
   CHECKOUT + ORDER CONFIRMATION
   Front-end only (see /assets/js/checkout.js).
   Large, readable fields: inputs ≥ 52px, labels above fields,
   sentence-case labels, 24px checkboxes, full-width submit.
   ════════════════════════════════════════ */

/* Cart drawer "Checkout" is now a link */
a.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.checkout-page {
  padding: calc(72px + var(--sp-8)) var(--sp-4) var(--sp-16);
}
.checkout-page [hidden] { display: none !important; }

.checkout-inner {
  max-width: 1120px;
  margin-inline: auto;
}

.checkout-intro { margin-bottom: var(--sp-8); }

.checkout-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--t-2xl), 7vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: var(--sp-3) 0 0;
}

.checkout-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

/* ── Order summary ── */
.checkout-summary {
  background: #fff;
  border: 1px solid rgba(185, 197, 188, 0.7);
  border-radius: 2px;
  padding: var(--sp-2) var(--sp-4);
}

.checkout-summary--static { padding: var(--sp-4); }

.summary-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  min-height: 56px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--forest);
  text-align: left;
}
.summary-toggle:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.summary-toggle:active { opacity: 0.75; }
.summary-toggle-total { margin-left: auto; color: var(--ink); white-space: nowrap; }
.summary-toggle-chevron { flex-shrink: 0; transition: transform 0.22s ease; }
.summary-toggle[aria-expanded="true"] .summary-toggle-chevron { transform: rotate(180deg); }

.summary-heading {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--sp-2);
}

/* Mobile: form page summary collapses; heading kept for screen readers */
@media (max-width: 959px) {
  .checkout-summary:not(.checkout-summary--static):not(.is-open) .summary-panel { display: none; }
  .checkout-summary:not(.checkout-summary--static) .summary-heading {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.summary-items { list-style: none; margin: 0; padding: 0; }

.summary-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(185, 197, 188, 0.4);
}

.summary-item-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--bone);
  border-radius: 2px;
}

.summary-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.summary-item-name { font-size: var(--t-sm); font-weight: 700; color: var(--ink); line-height: 1.3; }
.summary-item-qty  { font-size: var(--t-sm); color: var(--ink-muted); }
.summary-item-line { font-size: var(--t-sm); font-weight: 700; color: var(--ink); white-space: nowrap; }

.summary-totals { margin: 0; padding: var(--sp-3) 0 var(--sp-2); }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 0.35rem 0;
  font-size: var(--t-base);
  color: var(--ink);
}
.summary-row dt, .summary-row dd { margin: 0; }
.summary-row dd { white-space: nowrap; }
.summary-free, .summary-discount dd { color: var(--forest); font-weight: 700; }

.summary-total {
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(185, 197, 188, 0.6);
  font-size: var(--t-lg);
  font-weight: 700;
}
.summary-total dd { color: var(--forest); }

/* ── Form ── */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  min-width: 0;
}

.checkout-section {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.checkout-legend {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0;
  margin-bottom: var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--ink);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--bone);
  font-size: var(--t-base);
  font-weight: 700;
}

.checkout-form .form-group { gap: var(--sp-2); }

.checkout-form .form-label {
  font-size: var(--t-base);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.checkout-form .form-optional { font-size: var(--t-sm); letter-spacing: 0; font-weight: 400; }

.field-hint {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.45;
  color: var(--ink-muted);
}

.checkout-form .form-input,
.checkout-form .form-textarea {
  font-size: max(16px, var(--t-base));
  border-color: rgba(12, 31, 22, 0.35);
}
.checkout-form .form-input { min-height: 52px; }
.checkout-notes { min-height: 104px; }

.checkout-row { display: flex; flex-direction: column; gap: var(--sp-6); }

.checkout-fixed {
  display: flex;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 0.7rem var(--sp-4);
  font-size: var(--t-base);
  color: var(--ink);
  background: rgba(185, 197, 188, 0.18);
  border: 1px solid rgba(185, 197, 188, 0.6);
  border-radius: 2px;
}

/* Errors */
.field-error {
  margin: 0;
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.45;
  color: #a32020;
}
.form-group.has-error .form-input {
  border-color: #a32020;
  box-shadow: inset 0 0 0 1px #a32020;
}
.checkout-consent.has-error .form-checkbox { outline: 2px solid #a32020; outline-offset: 2px; }

.checkout-form-msg {
  margin: 0;
  padding: var(--sp-3) var(--sp-4);
  border-left: 4px solid #a32020;
  background: rgba(163, 32, 32, 0.06);
  font-size: var(--t-base);
  font-weight: 700;
  color: #a32020;
}

/* Delivery options — one = info card; several = selectable radio cards */
.delivery-options { display: flex; flex-direction: column; gap: var(--sp-3); }

.delivery-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 64px;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid rgba(12, 31, 22, 0.35);
  border-radius: 2px;
  cursor: pointer;
}
.delivery-option:has(:checked) { border: 2px solid var(--forest); padding: calc(var(--sp-4) - 1px); }
.delivery-option:has(:focus-visible) { outline: 2px solid var(--forest); outline-offset: 3px; }
.delivery-radio { width: 22px; height: 22px; margin: 0; accent-color: var(--forest); }

.delivery-option:only-child { cursor: default; }
.delivery-option:only-child .delivery-radio {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

.delivery-body  { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.delivery-radio { flex-shrink: 0; }
.delivery-name  { font-size: var(--t-base); font-weight: 700; color: var(--ink); }
.delivery-eta   { font-size: var(--t-sm); color: var(--ink-muted); }
.delivery-price { font-size: var(--t-base); font-weight: 700; color: var(--forest); white-space: nowrap; }

/* Payment */
.payment-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid rgba(12, 31, 22, 0.35);
  border-radius: 2px;
}
.payment-icon  { flex-shrink: 0; color: var(--forest); }
.payment-body  { display: flex; flex-direction: column; gap: 2px; }
.payment-title { font-size: var(--t-base); font-weight: 700; color: var(--ink); }
.payment-text  { font-size: var(--t-base); line-height: 1.5; color: var(--ink); }

/* Consents */
.checkout-consent { display: flex; flex-direction: column; gap: var(--sp-2); }
.checkout-form .form-checkbox-row { gap: var(--sp-3); margin-top: 0; min-height: 48px; align-items: flex-start; }
.checkout-form .form-checkbox { width: 24px; height: 24px; margin-top: 0.1em; }
.checkout-form .form-checkbox-label { font-size: var(--t-base); line-height: 1.5; color: var(--ink); }

/* Submit */
.checkout-submit {
  align-self: stretch;
  justify-content: center;
  min-height: 60px;
  font-size: var(--t-base);
}

/* Empty cart / no order */
.checkout-empty { padding: var(--sp-4) 0 var(--sp-8); max-width: 560px; }
.checkout-empty-title {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 var(--sp-3);
}
.checkout-empty-text { font-size: var(--t-base); line-height: 1.6; color: var(--ink-muted); margin: 0 0 var(--sp-6); }

/* Confirmation */
.confirm-ref { margin: var(--sp-4) 0 0; font-size: var(--t-base); color: var(--ink); }
.confirm-ref strong { color: var(--forest); letter-spacing: 0.02em; overflow-wrap: anywhere; }

.confirm-demo {
  margin-bottom: var(--sp-8);
  padding: var(--sp-4);
  background: rgba(63, 224, 160, 0.12);
  border: 1px solid rgba(27, 94, 56, 0.35);
  border-radius: 2px;
}
.confirm-demo-title { margin: 0 0 var(--sp-2); font-size: var(--t-base); font-weight: 700; color: var(--forest); }
.confirm-demo-text  { margin: 0; font-size: var(--t-sm); line-height: 1.5; color: var(--ink); }

.confirm-details { display: flex; flex-direction: column; gap: var(--sp-6); margin: 0; }
.confirm-block dt { font-size: var(--t-sm); font-weight: 700; color: var(--ink-muted); margin-bottom: var(--sp-2); }
.confirm-block dd { margin: 0; font-size: var(--t-base); line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }

.confirm-continue { margin-top: var(--sp-10); }

@media (min-width: 520px) {
  .checkout-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--sp-4); }
}

@media (min-width: 768px) {
  .checkout-page { padding: calc(96px + var(--sp-12)) var(--sp-8) var(--sp-24); }
}

/* Desktop: form left, sticky summary right */
@media (min-width: 960px) {
  .checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: var(--sp-16);
    align-items: start;
  }
  .checkout-summary {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(96px + var(--sp-4));
    padding: var(--sp-6);
  }
  .checkout-form, .confirm-details { grid-column: 1; grid-row: 1; }
  .summary-toggle { display: none; }
  .checkout-summary:not(.checkout-summary--static) .summary-panel { display: block; }
  .checkout-summary:not(.checkout-summary--static) .summary-heading {
    position: static; width: auto; height: auto; margin: 0 0 var(--sp-2);
    overflow: visible; clip: auto; white-space: normal;
  }
  .checkout-submit { align-self: flex-start; min-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .summary-toggle-chevron { transition: none; }
}

/* Cart badge: honour [hidden] (display:flex above was overriding it, so an empty cart showed "0") */
.cart-badge[hidden] { display: none; }
.confirm-ref strong { white-space: nowrap; }

/* Postal code + City side by side: labels, inputs, hints and errors share rows,
   so the inputs line up even when one label wraps (e.g. Greek). */
@media (min-width: 520px) {
  @supports (grid-template-rows: subgrid) {
    .checkout-row { row-gap: var(--sp-2); }
    .checkout-row .form-group { display: grid; grid-row: span 4; grid-template-rows: subgrid; gap: 0; }
    .checkout-row .form-label { align-self: end; }
  }
}


/* ════════════════════════════════════════
   PRODUCT ACCORDION PANELS: hero-gradient box
   One source for the hero logo glow (--hero-glow), reused by the
   home hero and by each product-page accordion panel.
   The box lives on .pd-accordion-panel (height animates 0fr → 1fr,
   no padding/border, so it collapses fully). Vertical inner space
   comes from ::before/::after inside the clipped inner, so it opens
   and closes smoothly with the content.
   ════════════════════════════════════════ */
:root {
  --hero-glow:
    radial-gradient(ellipse 80% 55% at 50% 25%, rgba(27, 94, 56, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 75% 85%, rgba(63, 224, 160, 0.04) 0%, transparent 60%);
}

.hero::after { background: var(--hero-glow); }

.pd-accordion-panel {
  background: var(--hero-glow), var(--bone);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(185, 197, 188, 0.55);
  transition: grid-template-rows 0.22s ease, margin-bottom 0.22s ease;
}

.pd-accordion-panel.open {
  margin-bottom: var(--sp-6);
}

.pd-accordion-inner,
.pd-accordion-panel.open .pd-accordion-inner {
  padding: 0 var(--sp-4);
  min-width: 0;
}

.pd-accordion-inner::before,
.pd-accordion-inner::after {
  content: '';
  display: block;
  height: var(--sp-6);
}

@media (min-width: 768px) {
  .pd-accordion-inner,
  .pd-accordion-panel.open .pd-accordion-inner {
    padding: 0 var(--sp-8);
  }
  .pd-accordion-inner::before,
  .pd-accordion-inner::after { height: var(--sp-8); }
}

@media (prefers-reduced-motion: reduce) {
  .pd-accordion-panel { transition: none; }
}
/* Narrower content area inside the panel box: on phones the long RU column
   header ("На порцию") may wrap and long ingredient words may break, so the
   facts table fits; amount values stay on one line */
@media (max-width: 767px) {
  .pd-accordion-inner .facts-table th:nth-child(2) { white-space: normal; }
  .pd-accordion-inner .facts-table td:first-child { overflow-wrap: anywhere; hyphens: auto; }
}
/* ── Accordion panels, round 2 ──
   1. No outline: the box reads from its own (slightly stronger) glow.
   2. --panel-glow: same two radial layers as --hero-glow (same shapes,
      positions and stops), opacity raised modestly for the panels only.
      The home hero keeps --hero-glow unchanged.
   3. Panel text at the site's body size + line height (= .pd-body-text). */
:root {
  --panel-glow:
    radial-gradient(ellipse 80% 55% at 50% 25%, rgba(27, 94, 56, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 55% at 75% 85%, rgba(63, 224, 160, 0.08) 0%, transparent 60%);
}

.pd-accordion-panel {
  background: var(--panel-glow), var(--bone);
  box-shadow: none;
}

.pd-accordion-inner .how-to-use-text,
.pd-accordion-inner .product-page-claim,
.pd-accordion-inner .claim-condition {
  font-size: var(--t-sm);
  line-height: 1.7;
  letter-spacing: normal;
}
/* ── Accordion panels, round 3 ──
   Body text at the site's standard body size (--t-base: 19px mobile,
   18px desktop) and body line height; facts tables and label captions
   keep their smaller sizes. No italic anywhere in the panels. */
.pd-accordion-inner .pd-body-text,
.pd-accordion-inner .how-to-use-text,
.pd-accordion-inner .product-page-claim,
.pd-accordion-inner .claim-condition {
  font-size: var(--t-base);
  line-height: 1.7;
}

.pd-accordion-inner,
.pd-accordion-inner * { font-style: normal; }
/* ── About page closing buttons: centred pair, equal height ──
   Grid: on phones the two stack in one column sized to the wider button,
   so both share that width and sit centred; from 768px they sit side by
   side, centred, stretched to the same height. */
.about-cta-section {
  display: grid;
  justify-content: center;
  align-items: stretch;
}
.about-cta-section > a {
  justify-content: center;
  padding-block: 0.75rem;   /* both buttons: same vertical padding → same height */
}
@media (min-width: 768px) {
  .about-cta-section { grid-auto-flow: column; }
}

/* ── Cart drawer: trash icon to remove an item (drawer close X unchanged) ── */
.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: -0.625rem -0.625rem 0 0;  /* 44px target; icon stays aligned with the row's top-right */
  border-radius: 50%;
  color: var(--forest);
  opacity: 1;
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.cart-item-remove-icon { width: 22px; height: 22px; display: block; }
.cart-item-remove:hover,
.cart-item-remove:focus-visible {
  color: var(--ink);
  background-color: rgba(27, 94, 56, 0.08);
  opacity: 1;
}
.cart-item-remove:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 0;
}
.cart-item-remove:active { transform: scale(0.92); }
@media (prefers-reduced-motion: reduce) {
  .cart-item-remove { transition: none; }
  .cart-item-remove:active { transform: none; }
}
/* ── Accordion panels: smooth, even wash (replaces the radial --panel-glow,
   which looked patchy in tall boxes). One soft linear gradient in the brand
   green that fills the whole box: no hot spots, no patch edges.
   The home hero keeps --hero-glow unchanged. */
:root {
  --panel-glow: linear-gradient(180deg, rgba(27, 94, 56, 0.045) 0%, rgba(27, 94, 56, 0.03) 100%);
}
/* ── Logo above the order summary (checkout + order confirmation) ──
   Decorative (alt=""). Hidden on phones. Checkout: only where the summary is
   a card with its heading (two-column layout, 960px+); below that it is the
   collapsible bar. Confirmation: the summary is always a card → 768px+. */
.summary-logo { display: none; }
@media (min-width: 768px) {
  .checkout-summary--static .summary-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: var(--sp-2) auto var(--sp-6);
  }
}
@media (min-width: 960px) {
  .checkout-summary .summary-logo {
    display: block;
    width: 160px;
    height: auto;
    margin: var(--sp-2) auto var(--sp-6);
  }
}

/* ── Contact page logo: right column, level with the intro (768px+) ──
   The intro and logo share a row on the same 58% / gap split as the form and
   details columns below, so the logo lines up with the CONTACT block. */
.contact-logo { display: none; }
@media (min-width: 768px) {
  .contact-page-inner {
    display: grid;
    grid-template-columns: 58% minmax(0, 1fr);
    column-gap: var(--sp-16);
  }
  .contact-page-inner > *,
  .contact-page-inner > picture > * { grid-column: 1 / -1; }
  .contact-page-inner > .contact-intro { grid-column: 1; }
  .contact-page-inner > .contact-logo,
  .contact-page-inner > picture > .contact-logo {
    grid-column: 2;
    grid-row: 1;
    display: block;
    align-self: center;
    width: 200px;
    max-width: calc(100% - 1px - var(--sp-12));
    height: auto;
    margin-bottom: var(--sp-16);           /* same space below as the intro has */
    margin-left: calc(1px + var(--sp-12)); /* = details column border + padding */
  }
}

/* ── Form placeholders: readable example text (checkout + contact) ──
   #6B736E on the white inputs ≈ 4.9:1 (AA), clearly lighter than typed ink. */
.form-input::placeholder,
.form-textarea::placeholder {
  color: #6B736E;
  opacity: 1;
}
/* ── Product gallery: extra thumbnail slots + magnifier ── */
.ph-thumb[hidden] { display: none !important; }   /* missing photo: no box, no gap */

.ph-thumb--active { box-shadow: inset 0 0 0 1px var(--forest); }  /* 2px forest ring, no layout shift */
.ph-thumb:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.ph-thumb:active { transform: scale(0.96); }

.ph-main-zoomable { cursor: zoom-in; }

.ph-zoom-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(27, 94, 56, 0.35);
  border-radius: 50%;
  background: rgba(246, 247, 244, 0.94);
  color: var(--forest);
  cursor: zoom-in;
  box-shadow: 0 2px 8px rgba(12, 31, 22, 0.12);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.ph-zoom-btn svg { display: block; }
.ph-zoom-btn:hover { background: var(--forest); color: var(--bone); }
.ph-zoom-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.ph-zoom-btn:active { transform: scale(0.94); }

@media (prefers-reduced-motion: reduce) {
  .ph-zoom-btn, .ph-thumb { transition: none; }
  .ph-zoom-btn:active, .ph-thumb:active { transform: none; }
}/* Phones: the frame is full-width but the photo is max 240px wide (left-aligned),
   so anchor the magnifier to the photo's own bottom-right corner */
@media (max-width: 767px) {
  .ph-gallery .ph-zoom-btn { right: calc(100% - min(240px, 100%) + 8px); }
}
/* ── Logo beside the page heading (checkout + order confirmation) ──
   Decorative (alt=""). Sits on the right of the heading block, vertically
   centred on it; the heading stays left. Shown from 1024px: below that the
   logo would push the titles onto extra lines (e.g. the Greek checkout title). */
.intro-logo { display: none; }
@media (min-width: 1024px) {
  .checkout-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
  }
  .checkout-intro-text { flex: 1 1 auto; min-width: 0; }
  .intro-logo {
    display: block;
    flex: 0 0 auto;
    width: 280px;
    height: auto;
  }
}

/* ── Contact page logo: larger (300px), still capped to its column ── */
@media (min-width: 768px) {
  .contact-page-inner > .contact-logo,
  .contact-page-inner > picture > .contact-logo { width: 300px; }
}
/* ── "Why choose it" panel list: same size, line height and colour as the
   other panel body text (.pd-body-text), brand-green bullets ── */
.pd-why-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.25em;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.pd-why-list li {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.75;
  font-style: normal;
}
.pd-why-list li::marker { color: var(--forest); }

/* ── Glyco-Regulate: visible medication note under the claim near the price ── */
.ph-medical-note {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--ink);
  margin-top: var(--sp-3);
}
/* ── Contact form result boxes (replace the small status line) ──
   Success matches the order-confirmed "Demo order" box; error is the same
   shape in soft red. Dark red #8A1C1C on #FDECEC ≈ 7.9:1 (AA). */
.form-status { min-height: 0; font-family: var(--font-body); letter-spacing: normal; }
.form-status:empty { display: none; }
.form-status-box {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  width: 100%;
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: 2px;
  animation: formStatusIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.form-status-box--success {
  background: rgba(63, 224, 160, 0.12);
  border: 1px solid rgba(27, 94, 56, 0.35);
  color: var(--forest);
}
.form-status-box--error {
  background: #FDECEC;
  border: 1px solid #C93A3A;
  color: #8A1C1C;
}
.form-status-icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 0.15em; }
.form-status-title {
  margin: 0 0 var(--sp-1, 0.25rem);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.4;
}
.form-status-text {
  margin: 0;
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.form-status-box--error .form-status-text { color: #8A1C1C; }

@keyframes formStatusIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .form-status-box { animation: none; }
}
/* Where to Buy: "coming soon" notice in place of the hidden stockist cards */
.wtb-coming-soon a { color: var(--forest); }
.wtb-coming-soon a:hover { opacity: 0.7; }
.wtb-coming-soon a:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
/* Notice text keeps its look (ink at 75%) via colour instead of opacity,
   so the phone link inside shows the full brand green like other phone links */
.wtb-coming-soon .wtb-online-text { opacity: 1; color: var(--ink-muted); }

/* Order confirmed: test-mode note has a title only, no extra space below it */
.confirm-demo-title:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════
   SELF-HOSTED FONT: Arimo 400 + 700 (SIL Open Font License 1.1,
   /assets/fonts/Arimo-OFL.txt). Latin, Latin Extended, Greek, Cyrillic.
   The browser downloads a subset only when the page uses those characters
   and Arial isn't installed (stack: Arial, "Arimo", Helvetica, sans-serif).
   ════════════════════════════════════════ */
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/arimo-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/arimo-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/arimo-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/arimo-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/arimo-greek-400.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/arimo-greek-700.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/arimo-cyrillic-400.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/arimo-cyrillic-700.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* WebP <picture> wrappers: no box of their own, so the <img> inside lays out exactly
   as it did before (same sizes, same selectors). */
picture { display: contents; }
picture > source { display: none; }   /* otherwise an empty <source> becomes a grid/flex item */
