/* ==========================================================================
   Sauna Custom — design system v2
   --------------------------------------------------------------------------
   Editorial and architectural: one grotesque typeface (Archivo) whose width
   axis supplies all the contrast — expanded uppercase for display, normal
   width for reading. Square-cornered actions, photography edge to edge, a
   near-black / off-white / sand palette, and one saturated accent: ember.

   Order: tokens → reset → type → layout → actions → chrome → hero →
   commerce → content → forms → feedback → utilities.

   Every class from v1 still exists; many were restyled, several were added.
   The vocabulary is documented in CLAUDE.md.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ember — the single accent. Used for primary actions, prices on sale and
     the flame in the mark. Never as a large background except the CTA band. */
  --ember-50:  #FCEEE7;
  --ember-100: #F8DCCD;
  --ember-200: #F1B89C;
  --ember-300: #E8916B;
  --ember-400: #DE7045;
  --ember-500: #D2552A;
  --ember-600: #B8461F;
  --ember-700: #963818;
  --ember-800: #6E2A13;

  /* Neutrals — warm stone. 50 is the sunk page tone, 900 the near-black. */
  --bark-50:  #F7F4EF;
  --bark-100: #EFEAE2;
  --bark-200: #E2DBD0;
  --bark-300: #CBC2B4;
  --bark-400: #A0978A;
  --bark-500: #776E63;
  --bark-600: #57504A;
  --bark-700: #38332E;
  --bark-800: #221F1B;
  --bark-900: #151311;

  /* Cold therapy */
  --plunge-100: #E1EEF1;
  --plunge-400: #4A8FA0;
  --plunge-500: #2F6F7E;
  --plunge-700: #1D4852;

  /* Semantic */
  --success-50: #EAF5EE;
  --success-500: #2B7A4F;
  --success-700: #1C5536;
  --warn-50: #FBF4E4;
  --warn-500: #9A6A10;
  --danger-50: #FBECEA;
  --danger-500: #B23A2F;
  --danger-700: #8A2A22;

  /* Surfaces and ink */
  --surface: #FFFFFF;
  --surface-sunk: var(--bark-50);
  --surface-raised: #FFFFFF;
  --page-bg: #FFFFFF;
  --ink: var(--bark-900);
  --ink-soft: var(--bark-600);
  --ink-faint: var(--bark-500);
  --line: var(--bark-200);
  --line-strong: var(--bark-300);

  /* Type — one family. Width does the work weight usually does. */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
  --stretch-display: 118%;
  --stretch-ui: 108%;

  --step--2: clamp(0.70rem, 0.68rem + 0.08vw, 0.75rem);
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.9rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.16vw, 1.0625rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.36vw, 1.375rem);
  --step-2:  clamp(1.40rem, 1.24rem + 0.72vw, 1.875rem);
  --step-3:  clamp(1.75rem, 1.42rem + 1.45vw, 2.75rem);
  --step-4:  clamp(1.95rem, 1.40rem + 2.80vw, 4.00rem);
  --step-5:  clamp(2.15rem, 1.20rem + 4.90vw, 5.75rem);

  --track-display: 0.01em;
  --track-caps: 0.14em;
  --track-wide: 0.2em;

  /* Space */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.5rem;   --space-6: 2rem;
  --space-7: 3rem;     --space-8: 4rem;     --space-9: 6rem;
  --space-10: 8rem;

  /* Shape — actions are square; only floating surfaces round off. */
  --radius-btn: 0px;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 14px;
  --radius-pill: 999px;

  /* Elevation — used sparingly; this system is mostly flat. */
  --shadow-xs: 0 1px 2px rgba(21, 19, 17, 0.06);
  --shadow-sm: 0 2px 10px rgba(21, 19, 17, 0.06);
  --shadow-md: 0 12px 28px -12px rgba(21, 19, 17, 0.18);
  --shadow-lg: 0 24px 56px -20px rgba(21, 19, 17, 0.28);
  --shadow-xl: 0 40px 90px -30px rgba(21, 19, 17, 0.38);
  --shadow-ember: 0 14px 30px -14px rgba(210, 85, 42, 0.6);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  /* Layout */
  --container: 1320px;
  --container-narrow: 760px;
  --container-wide: 1560px;
  --gutter: clamp(1.25rem, 0.6rem + 2.8vw, 3rem);
  --header-h: 76px;
  --announce-h: 38px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
button { cursor: pointer; }

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

::selection { background: var(--ember-200); color: var(--bark-900); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -120px;
  z-index: 300;
  background: var(--bark-900);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  color: var(--bark-900);
  text-wrap: balance;
}

/* Display tier: expanded, uppercase, tight leading. This is the voice. */
h1, .h1, h2, .h2, .display-xl {
  font-stretch: var(--stretch-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-display);
  line-height: 1;
}
.display-xl { font-size: var(--step-5); line-height: 0.94; }
h1, .h1 { font-size: var(--step-4); }
h2, .h2 { font-size: var(--step-3); line-height: 1.04; }

/* Reading tier: normal width, sentence case. */
h3, .h3 {
  font-size: var(--step-2);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h4, .h4 {
  font-size: var(--step-1);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

/* Caps label used for card names, section kickers and small headings. */
.caps {
  font-stretch: var(--stretch-ui);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  font-weight: 650;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 60ch;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--ember-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--plain::before { display: none; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember-600); }

.prose > * + * { margin-top: var(--space-4); }
.prose h2 {
  margin-top: var(--space-8);
  font-size: var(--step-2);
  text-transform: none;
  font-stretch: 100%;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.prose h3 { margin-top: var(--space-6); font-size: var(--step-1); }
.prose p, .prose li { color: var(--ink-soft); text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--space-2); }
.prose a { color: var(--ember-600); font-weight: 550; }
.prose--tight > * + * { margin-top: var(--space-3); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

main { flex: 1; }

.section { padding-block: clamp(4rem, 2.2rem + 7vw, 8.5rem); }
.section--tight { padding-block: clamp(2.75rem, 1.6rem + 4vw, 5rem); }
.section--sunk { background: var(--bark-50); }
.section--sand { background: var(--bark-100); }
.section--dark { background: var(--bark-900); color: var(--bark-300); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lede { color: var(--bark-300); }
.section--dark .eyebrow { color: var(--ember-300); }
.section--dark a:not(.btn) { color: #fff; }
.section--flush { padding-block: 0; }

.stack > * + * { margin-top: var(--space-4); }
.stack-sm > * + * { margin-top: var(--space-2); }
.stack-lg > * + * { margin-top: var(--space-6); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--gap-lg { gap: var(--space-7) var(--space-6); }

.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.cluster--between { justify-content: space-between; }
.cluster--center { justify-content: center; }

/* Section head: a stacked title block. --split puts a title block left and an action
   right: <div class="section-head section-head--split"><div>…title…</div><a class="btn-link">…</a></div> */
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.2rem + 3vw, 3.75rem);
}
.section-head > * + * { margin-top: var(--space-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5) var(--space-7);
}
.section-head--split > * + * { margin-top: 0; }
.section-head--split > :first-child { max-width: 46rem; }
.section-head--split > :first-child > * + * { margin-top: var(--space-4); }

/* Two explicit columns with one explicit breakpoint. An auto-fit grid stacked at a width that
   depended on the gap (~940px), so the ordering and aspect rules below never fired in step with it. */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 4vw, 6rem);
  align-items: center;
}
.split__media {
  position: relative;
  overflow: hidden;
  background: var(--bark-100);
  aspect-ratio: 4 / 5;
}
.split__media img, .split__media svg, .split__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split--reverse .split__media { order: 2; }
/* Stacked, a 4:5 portrait image ran ~900px tall on a tablet; go landscape once it spans the row,
   and always put the picture first. */
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
}

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
}

.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--space-7); }

/* --------------------------------------------------------------------------
   5. Actions
   Square, uppercase, tracked. One primary per view.
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--bark-900);
  --btn-fg: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 52px;
  padding: 0 1.9rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-btn);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.btn--primary { --btn-bg: var(--ember-500); --btn-border: var(--ember-500); }
.btn--primary:hover { --btn-bg: var(--ember-600); --btn-border: var(--ember-600); }

.btn--dark { --btn-bg: var(--bark-900); --btn-border: var(--bark-900); }
.btn--dark:hover { --btn-bg: var(--bark-700); --btn-border: var(--bark-700); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--bark-900);
  --btn-border: var(--bark-900);
}
.btn--ghost:hover { --btn-bg: var(--bark-900); --btn-fg: #fff; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--bark-900); --btn-border: #fff; }
.btn--light:hover { --btn-bg: var(--bark-100); --btn-border: var(--bark-100); }

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover { --btn-bg: #fff; --btn-fg: var(--bark-900); --btn-border: #fff; }

.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: var(--step--2); }
.btn--lg { min-height: 60px; padding: 0 2.4rem; font-size: var(--step--1); }
.btn--block { width: 100%; }

/* On a phone a long label must wrap rather than widen the page: a nowrap button's
   min-content width otherwise propagates up through every grid it sits in. */
.btn { max-width: 100%; }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 0.85rem; }
  .btn--lg { padding-inline: 1.5rem; }
  .hero .cluster .btn, .cta-band .cluster .btn, .page-hero .cluster .btn { width: 100%; }
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--bark-900);
  text-decoration: none;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat;
  transition: background-size var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              gap var(--dur) var(--ease-out);
}
.btn-link:hover { color: var(--ember-600); gap: var(--space-3); }
.btn-link svg { width: 15px; height: 15px; }
.section--dark .btn-link { color: #fff; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: currentColor;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.icon-btn:hover { background: rgba(21, 19, 17, 0.06); color: currentColor; }
.icon-btn svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   6. Chrome: announcement, header, navigation, footer
   -------------------------------------------------------------------------- */
.announce {
  position: relative;
  z-index: 91;
  background: var(--bark-900);
  color: #fff;
  height: var(--announce-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  font-size: var(--step--2);
  font-weight: 600;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  overflow: hidden;
  padding-inline: var(--gutter);
  text-align: center;
}
.announce a { color: #fff; text-decoration: none; }
.announce a:hover { color: var(--ember-300); }
.announce strong { color: var(--ember-300); font-weight: 700; }

/* Rotating messages: each [data-rotator-item] fades in turn. */
.announce__item {
  grid-area: 1 / 1;
  max-width: 100%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 560px) {
  .announce { letter-spacing: 0.12em; font-size: 0.66rem; }
}
/* Sequential, never simultaneous: the outgoing line clears before the next arrives,
   so two messages are never legible on top of each other. */
.announce__item { transition-duration: 280ms; }
.announce__item.is-active { opacity: 1; transform: none; transition-delay: 300ms; }
.announce__item:first-child:not(.is-ready) { opacity: 1; transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  color: var(--bark-900);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

/* Overlay mode (home page): transparent over the hero until scrolled. */
.has-overlay-header .site-header {
  position: fixed;
  left: 0; right: 0;
  top: var(--announce-h);
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
}
.has-overlay-header .site-header.is-stuck {
  top: 0;
  color: var(--bark-900);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: var(--line);
}

.site-header__inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover { color: inherit; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__name em { font-style: normal; }
.brand__tag {
  margin-top: 5px;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.62;
}

/* The mark ships as two <img> variants; the header shows whichever suits
   the ground it is on. */
.brand__mark--light { display: none; }
.has-overlay-header .site-header:not(.is-stuck) .brand__mark--dark { display: none; }
.has-overlay-header .site-header:not(.is-stuck) .brand__mark--light { display: block; }

.site-nav {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.site-nav__link {
  position: relative;
  padding: 0.6rem 0.85rem;
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.site-nav__link:hover { color: inherit; }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__cta { display: none; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.header-actions .icon-btn:hover { background: rgba(127, 127, 127, 0.14); }

.cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: #fff;
  background: var(--ember-500);
  border-radius: var(--radius-pill);
  line-height: 1;
}
.cart-count[data-count="0"] { display: none; }

.nav-toggle { display: none; }

@media (max-width: 1020px) {
  .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-2); }
  .brand { justify-self: center; min-width: 0; gap: 0.5rem; }
  .brand__mark { width: 34px; height: 34px; }
  .nav-toggle { display: inline-flex; grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 3; grid-row: 1; }
  .brand { grid-column: 2; grid-row: 1; }
  .brand__tag { display: none; }

  .site-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(90vw, 380px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--bark-900);
    background: #fff;
    padding: calc(var(--header-h) + var(--space-4)) var(--space-6) var(--space-7);
    transform: translateX(-102%);
    /* Parked off-screen it must cast no shadow (it bled a grey band down the left edge of every
       phone page) and hold no focusable links; visibility flips only after the slide finishes. */
    visibility: hidden;
    transition: transform 420ms var(--ease-out), visibility 0s linear 420ms;
    overflow-y: auto;
    z-index: 95;
  }
  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: var(--shadow-xl);
    transition: transform 420ms var(--ease-out), visibility 0s;
  }
  .site-nav__link {
    font-size: var(--step-1);
    font-stretch: var(--stretch-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__link::after { display: none; }
  .site-nav__cta { display: inline-flex; margin-top: var(--space-6); }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand__name { font-size: 0.8rem; letter-spacing: 0.14em; font-stretch: 112%; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
  .hero__inner .eyebrow { letter-spacing: 0.14em; }
}
@media (max-width: 360px) {
  .brand__text { display: none; }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(21, 19, 17, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
  border: 0;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* The drawer lives inside the sticky header, so its own z-index only counts inside the header's
   stacking context (90) — under the scrim (94), which then greys the drawer out and swallows every
   tap. While the menu is open the header is lifted above the scrim; the toggle (now the close X)
   sits above the drawer and reads dark on it; and the blurred stuck header drops its
   backdrop-filter, which would otherwise make the fixed drawer only as tall as the header. */
.nav-open .site-header,
.nav-open .has-overlay-header .site-header.is-stuck { z-index: 96; backdrop-filter: none; }
@media (max-width: 1020px) {
  .nav-open .nav-toggle { position: relative; z-index: 96; color: var(--bark-900); }
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  margin-top: auto;
  background: var(--bark-900);
  color: var(--bark-400);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6rem) var(--space-6);
}
.site-footer a { color: var(--bark-300); text-decoration: none; transition: color var(--dur) var(--ease-out); }
.site-footer a:hover { color: #fff; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: end;
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-top__title {
  font-size: var(--step-3);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  text-transform: uppercase;
  line-height: 1.02;
  color: #fff;
}
.footer-top__title em { font-style: normal; color: var(--ember-400); }
.footer-top__label {
  font-size: var(--step--2);
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: var(--space-7) var(--space-6);
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-5);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--space-3); font-size: var(--step--1); }

.footer-brand__name {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.footer-brand__name em { font-style: normal; }
.footer-brand p { font-size: var(--step--1); margin-top: var(--space-4); max-width: 34ch; line-height: 1.6; }

.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.contact-list li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--step--1); }
.contact-list svg { width: 16px; height: 16px; color: var(--ember-400); flex: none; }

.social { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.social__link {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: var(--bark-300);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.social__link:hover { background: #fff; border-color: #fff; color: var(--bark-900) !important; }
.social__link svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  color: var(--bark-500);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }

.newsletter-inline { display: flex; margin-top: var(--space-4); }
.newsletter-inline .input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  border-right: 0;
  color: #fff;
}
.newsletter-inline .input::placeholder { color: var(--bark-500); }
.newsletter-inline .input:focus { border-color: #fff; box-shadow: none; }

/* --------------------------------------------------------------------------
   7. Hero
   Full-bleed media with the headline anchored bottom-left.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  min-height: min(100svh, 980px);
  background: var(--bark-900);
  color: #fff;
  overflow: hidden;
}
.has-overlay-header .hero { min-height: 100svh; }

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video,
.hero__media img,
.hero__media .hero-motion {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 10, 9, 0.88) 0%, rgba(12, 10, 9, 0.45) 36%, rgba(12, 10, 9, 0) 62%),
    linear-gradient(to right, rgba(12, 10, 9, 0.55) 0%, rgba(12, 10, 9, 0) 55%),
    linear-gradient(to bottom, rgba(12, 10, 9, 0.5) 0%, rgba(12, 10, 9, 0) 22%);
}

.hero__inner {
  padding-top: calc(var(--header-h) + var(--space-8));
  padding-bottom: clamp(3rem, 2rem + 5vw, 6rem);
  max-width: var(--container);
  color: #fff;
}
.hero__inner > * { max-width: 52rem; }
.hero__inner > * + * { margin-top: var(--space-5); }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--ember-400); }
.hero h1, .hero .display-xl { color: #fff; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: rgba(255, 255, 255, 0.84); max-width: 40rem; }

.hero .cluster { gap: var(--space-3); padding-top: var(--space-2); }

/* The check list under the CTAs, and the older proof strip. */
.hero__checks {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  padding-top: var(--space-3);
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}
.hero__checks li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__checks svg { width: 15px; height: 15px; color: var(--ember-400); }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-8);
  margin-top: var(--space-7) !important;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: none !important;
}
.hero__proof-item { display: flex; flex-direction: column; gap: 4px; }
.hero__proof-value {
  font-size: var(--step-1);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.hero__proof-label {
  font-size: var(--step--2);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.video-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 38px;
  padding: 0 1rem 0 0.8rem;
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: #fff;
  background: rgba(21, 19, 17, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  transition: background-color var(--dur) var(--ease-out);
}
.video-toggle:hover { background: rgba(21, 19, 17, 0.7); }
/* Interactive hero scene (hero-scene.js). The poster holds the frame until the canvas paints. */
.hero-scene,
.hero-scene__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 50%;
}
.hero-scene { opacity: 0; transition: opacity 700ms var(--ease-out); }
.hero-scene.is-ready { opacity: 1; }

/* The löyly hotspot: an ember ring sitting on the heater's stones (placed by script), with a
   label that retires to hover-only once the visitor has found it. */
.hero-hotspot {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  transform: translate(-22px, -22px);
}
.hero-hotspot[hidden] { display: none; }
/* Near the right edge the label sits on the ring's left; the ring stays centred on the stones. */
.hero-hotspot.is-flipped { flex-direction: row-reverse; transform: translate(calc(-100% + 22px), -22px); }
.hero-hotspot__ring {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: rgba(210, 85, 42, 0.35);
  backdrop-filter: blur(2px);
  animation: hotspotPulse 2.4s var(--ease-out) infinite;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.hero-hotspot__ring::after {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: #fff;
}
@keyframes hotspotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 145, 107, 0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(232, 145, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 145, 107, 0); }
}
.hero-hotspot__label {
  padding: 0.45rem 0.85rem;
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(21, 19, 17, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.hero-hotspot:hover .hero-hotspot__ring { background: var(--ember-500); transform: scale(1.08); }
.hero-hotspot:focus-visible { outline: none; }
.hero-hotspot:focus-visible .hero-hotspot__ring { outline: 2px solid #fff; outline-offset: 3px; }
.hero-hotspot.is-used .hero-hotspot__ring { animation: none; }
.hero-hotspot.is-used .hero-hotspot__label { opacity: 0; transform: translateX(-6px); }
.hero-hotspot.is-used:hover .hero-hotspot__label,
.hero-hotspot.is-used:focus-visible .hero-hotspot__label { opacity: 1; transform: none; }

/* On phones and tablets the stones sit behind (or beside) the headline, so the control docks
   beside the pause button instead of covering the copy. */
@media (max-width: 1100px), (orientation: portrait) {
  .hero-hotspot,
  .hero-hotspot.is-flipped {
    flex-direction: row;
    left: auto !important;
    top: auto !important;
    right: calc(var(--gutter) + 108px);
    bottom: clamp(1.25rem, 0.8rem + 1.5vw, 2.25rem);
    transform: none;
    height: 38px;
    gap: 0;
    padding: 0 0.95rem 0 0.35rem;
    background: rgba(21, 19, 17, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
  }
  .hero-hotspot__ring { width: 26px; height: 26px; margin-right: var(--space-2); }
  .hero-hotspot__ring::after { inset: 8px; }
  .hero-hotspot__label { padding: 0; background: none; border: 0; backdrop-filter: none; }
  .hero-hotspot.is-used .hero-hotspot__label { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-hotspot__ring { animation: none; } }

/* On phones the toggle sits in the same corner as the end of the hero copy; clear it. */
@media (max-width: 760px) {
  .hero__inner { padding-bottom: calc(clamp(3rem, 2rem + 5vw, 6rem) + 3rem); }
}
.video-toggle svg { width: 13px; height: 13px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-5);
  z-index: 3;
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 0; top: -40%;
  width: 1px; height: 40%;
  background: #fff;
  animation: scrollCue 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollCue { to { top: 100%; } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* Inner-page hero: a quieter header band. */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--bark-50);
  border-bottom: 1px solid var(--line);
}
/* Under the solid header the band needs no clearance of its own, so the breadcrumb sits just below
   the header instead of under ~110px of empty sand. Only a page that opens under the transparent
   overlay header (About) keeps the full top padding, which there clears the header itself. */
body:not(.has-overlay-header) .page-hero { padding-top: var(--space-6); }
/* :where() keeps this at zero specificity so the .mt-* utilities can still override it. */
:where(.page-hero > .container > * + *) { margin-top: var(--space-4); }
.page-hero--dark { background: var(--bark-900); color: var(--bark-300); border-bottom: 0; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lede { color: var(--bark-300); }
.page-hero--dark .eyebrow { color: var(--ember-300); }
.page-hero--image { color: #fff; border-bottom: 0; background: var(--bark-900); }
.page-hero--image .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.85), rgba(12, 10, 9, 0.3));
}
.page-hero--image h1 { color: #fff; }
.page-hero--image .lede { color: rgba(255, 255, 255, 0.84); }

/* Animated hero backdrop, used when no real footage is on disk. Inlined by
   _HeroMotion.cshtml so these rules can reach inside it. */
.hero-motion { display: block; }
.hero-motion__drift   { animation: heroDrift 26s ease-in-out infinite; }
.hero-motion__drift-b { animation: heroDrift 34s ease-in-out infinite; animation-delay: -11s; }
.hero-motion__drift-c { animation: heroDrift 30s ease-in-out infinite; animation-delay: -19s; }
@keyframes heroDrift {
  0%, 100% { transform: translate(0, 0) scale(1);          opacity: 0.55; }
  35%      { transform: translate(46px, -58px) scale(1.14); opacity: 0.82; }
  70%      { transform: translate(-34px, -96px) scale(1.05); opacity: 0.4; }
}
.hero-motion__glow   { animation: heroBreathe 11s ease-in-out infinite; transform-origin: 470px 520px; }
.hero-motion__glow-b { animation: heroBreathe 15s ease-in-out infinite; animation-delay: -5s;
                       transform-origin: 1210px 340px; }
@keyframes heroBreathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.09); }
}
.hero-motion__beam { animation: heroSway 24s ease-in-out infinite; transform-origin: 1100px 0; }
@keyframes heroSway {
  0%, 100% { opacity: 0.6;  transform: skewX(0deg)    translateX(0); }
  50%      { opacity: 0.95; transform: skewX(-1.2deg) translateX(-26px); }
}
.hero-motion__boards { animation: heroShimmer 20s ease-in-out infinite; }
@keyframes heroShimmer { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.72; } }
.hero__media.is-paused .hero-motion * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero-motion * { animation: none !important; } }

/* --------------------------------------------------------------------------
   8. Trust strip and marquee
   -------------------------------------------------------------------------- */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-strip__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) { .trust-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--bark-800);
}
.trust-strip__item + .trust-strip__item { border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  .trust-strip__item:nth-child(3) { border-left: 0; }
  .trust-strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.trust-strip__item svg { width: 22px; height: 22px; color: var(--ember-500); flex: none; }

.marquee {
  overflow: hidden;
  background: var(--bark-900);
  color: #fff;
  padding-block: var(--space-4);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: var(--space-8);
  padding-left: var(--space-8);
  animation: marquee 38s linear infinite;
  font-size: var(--step-1);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: var(--space-8); }
.marquee__track span::after { content: ""; width: 8px; height: 8px; background: var(--ember-500); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   9. Tiles — full-bleed image with oversized type laid over it
   -------------------------------------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2px;
  background: var(--bark-900);
}
.tiles--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }

.tile {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(420px, 38vw + 180px, 680px);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  background: var(--bark-800);
}
.tile:hover { color: #fff; }
.tile__media { position: absolute; inset: 0; z-index: -2; }
.tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.tile:hover .tile__media img { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.82) 0%, rgba(12, 10, 9, 0.2) 55%, rgba(12, 10, 9, 0.05) 100%);
}
.tile__kicker {
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
/* Sized to the tile, not the viewport: in a three-across row a viewport-sized title broke
   "UPGRADES" mid-word. 10cqi keeps an 8-letter word inside any tile width. */
.tile__title {
  margin-top: var(--space-2);
  font-size: clamp(1.75rem, 10cqi, 3.6rem);
  overflow-wrap: normal;
  font-weight: 750;
  font-stretch: 122%;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: #fff;
}
.tile__desc { margin-top: var(--space-3); color: rgba(255, 255, 255, 0.82); max-width: 36ch; }
.tile__cta { margin-top: var(--space-5); align-self: flex-start; }
.tile--cool::after {
  background: linear-gradient(to top, rgba(14, 38, 44, 0.86) 0%, rgba(14, 38, 44, 0.2) 55%, rgba(14, 38, 44, 0.05) 100%);
}

/* --------------------------------------------------------------------------
   10. Product cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--ink);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bark-50);
  overflow: hidden;
}
/* Whole picture, never cropped (owner, 2026-10-16): the builds are portrait phone stills and the
   illustrations 4:3, so a cover crop cut the top and bottom off one or the other. The sand frame
   takes up the difference. No hover zoom either, since scaling would crop it again. */
.card__media img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-2);
  padding-top: var(--space-4);
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__desc { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: var(--space-2); }

.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.card__specs span { display: inline-flex; align-items: center; gap: 5px; }
.card__specs svg { width: 12px; height: 12px; }

/* Card hover action: slides up over the image. */
.card__quick {
  position: absolute;
  left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
@media (hover: none) { .card__quick { display: none; } }

/* --------------------------------------------------------------------------
   11. Badges, price, and the price-cut graphic
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  background: #fff;
  color: var(--bark-900);
  border-radius: var(--radius-sm);
}
.badge svg { width: 12px; height: 12px; }
.badge--sale { background: var(--ember-500); color: #fff; }
.badge--hot { background: var(--bark-900); color: #fff; }
.badge--cool { background: var(--plunge-100); color: var(--plunge-700); }
.badge--ok { background: var(--success-50); color: var(--success-700); }
.badge--warn { background: var(--warn-50); color: var(--warn-500); }
.badge--danger { background: var(--danger-50); color: var(--danger-700); }
.badge--outline { background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line-strong); }

.badge-stack {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  pointer-events: none;
}

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2) var(--space-3); }
.price__now {
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--bark-900);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.price__now--lg { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; }
.price__was {
  font-size: var(--step--1);
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.price__save {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-600);
}
.price--on-sale .price__now { color: var(--ember-600); }

/* Price-cut graphic.  <div class="price-cut" style="--cut: 22%">…</div>
   --cut is the share taken off; the bar animates down from full price. */
.price-cut {
  --cut: 0%;
  padding: var(--space-4) var(--space-5);
  background: var(--ember-50);
  border-left: 3px solid var(--ember-500);
}
.price-cut__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.price-cut__title {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ember-700);
}
.price-cut__title svg { width: 15px; height: 15px; }
.price-cut__amount {
  font-size: var(--step-1);
  font-weight: 750;
  font-stretch: var(--stretch-display);
  color: var(--ember-600);
  font-variant-numeric: tabular-nums;
}
.price-cut__track { position: relative; height: 6px; background: var(--ember-100); overflow: hidden; }
.price-cut__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% - var(--cut));
  background: var(--ember-500);
  animation: cutSlide 1s var(--ease-out) both;
}
@keyframes cutSlide { from { width: 100%; } }
.price-cut__legend {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  font-size: var(--step--2);
  color: var(--ink-soft);
}
.price-cut__legend strong { color: var(--ember-700); }
.price-cut__note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.price-cut__note svg { width: 14px; height: 14px; flex: none; color: var(--ember-500); }

.cut-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ember-500);
  color: #fff;
  border-radius: var(--radius-sm);
}
.cut-chip svg { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------
   12. Ratings and reviews
   -------------------------------------------------------------------------- */
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--bark-900); }
.stars svg { width: 15px; height: 15px; }
.stars--lg svg { width: 22px; height: 22px; }
.stars__empty { color: var(--bark-300); }

.rating-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
  color: var(--ink-soft);
  text-decoration: none;
}
.rating-row strong { color: var(--ink); }
a.rating-row:hover { color: var(--ink); text-decoration: underline; }

.rating-input { display: inline-flex; flex-direction: row-reverse; gap: var(--space-1); }
.rating-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-input label {
  cursor: pointer;
  color: var(--bark-300);
  line-height: 0;
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.rating-input label svg { width: 40px; height: 40px; }
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label { color: var(--ember-500); }
.rating-input label:hover { transform: scale(1.1); }
.rating-input input:focus-visible + label { outline: 2px solid var(--ember-500); outline-offset: 3px; }

.rating-summary {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: var(--space-7);
  align-items: center;
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) { .rating-summary { grid-template-columns: 1fr; gap: var(--space-5); } }
.rating-summary__score {
  font-size: var(--step-5);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  line-height: 0.9;
  color: var(--bark-900);
}
.rating-bar {
  display: grid;
  grid-template-columns: 3.2rem 1fr 2.4rem;
  gap: var(--space-3);
  align-items: center;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.rating-bar + .rating-bar { margin-top: var(--space-2); }
.rating-bar__track { height: 4px; background: var(--bark-200); overflow: hidden; }
.rating-bar__fill { height: 100%; background: var(--bark-900); }

.review { padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.review__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.review__author {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review__date { font-size: var(--step--1); color: var(--ink-faint); margin-left: auto; }
.review__title { font-size: var(--step-1); font-weight: 650; margin-bottom: var(--space-2); }
.review__body { color: var(--ink-soft); }
.review__response {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--bark-50);
  border-left: 2px solid var(--bark-900);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* Testimonial cards on the home page. */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  height: 100%;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
}
.testimonial__quote {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--bark-900);
  text-wrap: pretty;
}
.testimonial__who { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.testimonial__name { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.testimonial__meta { font-size: var(--step--2); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field + .field { margin-top: var(--space-5); }

.label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--bark-800);
}
.label .req { color: var(--ember-600); }
.hint { font-size: var(--step--1); color: var(--ink-faint); line-height: 1.5; }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  font-size: var(--step-0);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  appearance: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--bark-400); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--bark-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--bark-900);
  box-shadow: 0 0 0 1px var(--bark-900);
}
.input.input-validation-error, .textarea.input-validation-error, .select.input-validation-error {
  border-color: var(--danger-500);
}
.textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23151311' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.75rem;
}

.field-validation-error, .validation-summary-errors { font-size: var(--step--1); color: var(--danger-700); }
.validation-summary-errors ul { margin: 0; padding-left: 1.2em; }
.validation-summary-valid { display: none; }

.form-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--step--1);
  color: var(--ink-soft);
  cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  accent-color: var(--bark-900);
  cursor: pointer;
}

/* Toggle switch. Put .switch on a checkbox; the native control is replaced
   with a track and knob but keeps its semantics, focus and keyboard. */
.switch,
.option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: none;
  width: 46px;
  height: 26px;
  margin: 0;
  border-radius: var(--radius-pill);
  background: var(--bark-300);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease-out);
}
.switch::before,
.option input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(21, 19, 17, 0.3);
  transition: transform var(--dur) var(--ease-out);
}
.switch:checked,
.option input[type="checkbox"]:checked { background: var(--ember-500); }
.switch:checked::before,
.option input[type="checkbox"]:checked::before { transform: translateX(20px); }
.switch:focus-visible,
.option input[type="checkbox"]:focus-visible { outline: 2px solid var(--ember-500); outline-offset: 3px; }

/* Add-on row ("Complete your sauna"): thumbnail, text, price, switch. */
.option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.option + .option { border-top: 0; }
.option:hover { background: var(--bark-50); }
.option:has(input:checked) { background: var(--ember-50); }
.option input[type="checkbox"] { order: 5; }
.option__thumb {
  flex: none;
  width: 64px; height: 64px;
  object-fit: cover;
  background: var(--bark-100);
}
.option__main { flex: 1; min-width: 0; }
.option__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--step--1);
  font-weight: 650;
  line-height: 1.35;
}
.option__desc { font-size: var(--step--1); color: var(--ink-faint); margin-top: 2px; line-height: 1.45; }
.option__desc a { color: var(--ink-soft); }
.option__price {
  flex: none;
  text-align: right;
  font-size: var(--step--1);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.option__price s { display: block; font-weight: 400; font-size: var(--step--2); color: var(--ink-faint); }
/* An add-on sold by the year (.option--term) is a div holding two controls: the switch, labelled by
   a display: contents .option__label so thumbnail and text lay out like every other row, and a years
   picker wrapping onto a row of its own, lined up under the text column. site.js hides the picker
   (the hidden attribute) while the switch is off; without script it simply shows. */
.option__label { display: contents; }
.option--term { flex-wrap: wrap; row-gap: var(--space-3); }
.option__term {
  order: 6;
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-left: calc(var(--space-8) + var(--space-4)); /* the thumbnail and the row gap */
  cursor: default;
}
.option__term[hidden] { display: none; }
.option__qty { flex: 1 1 12rem; width: auto; min-width: 0; max-width: 20rem; }
@media (max-width: 400px) {
  .option__term { padding-left: 0; }
}

/* Choice tiles: large selectable radios (installation, delivery). */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--space-3); }
.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 28px);
  background: #fff;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.choice:hover { border-color: var(--bark-500); }
.choice input {
  position: absolute;
  top: calc(var(--space-4) + 2px);
  left: var(--space-4);
  width: 18px; height: 18px;
  margin: 0;
  accent-color: var(--bark-900);
}
.choice:has(input:checked) { border-color: var(--bark-900); box-shadow: inset 0 0 0 1px var(--bark-900); }
.choice:has(input:focus-visible) { outline: 2px solid var(--ember-500); outline-offset: 2px; }
.choice__title { font-size: var(--step--1); font-weight: 700; line-height: 1.35; }
.choice__desc { font-size: var(--step--1); color: var(--ink-faint); line-height: 1.45; }
.choice__price { margin-top: var(--space-2); font-size: var(--step--1); font-weight: 700; }

.qty {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border: 1px solid var(--line-strong);
  background: #fff;
}
.qty button {
  width: 44px; height: 100%;
  border: 0;
  background: transparent;
  color: var(--bark-900);
  font-size: 1.15rem;
  line-height: 1;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.qty button:hover { background: var(--bark-100); }
.qty input {
  width: 44px;
  height: 100%;
  border: 0;
  text-align: center;
  font-weight: 700;
  background: transparent;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --------------------------------------------------------------------------
   14. Feedback: alerts, toasts, modal
   -------------------------------------------------------------------------- */
.alert {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  font-size: var(--step--1);
  line-height: 1.55;
  border-left: 3px solid currentColor;
}
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.alert--ok { background: var(--success-50); color: var(--success-700); }
.alert--warn { background: var(--warn-50); color: var(--warn-500); }
.alert--error { background: var(--danger-50); color: var(--danger-700); }
.alert--info { background: var(--bark-50); color: var(--bark-800); border-left-color: var(--ember-500); }

.toast-wrap {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: min(92vw, 400px);
  padding: var(--space-4) var(--space-5);
  font-size: var(--step--1);
  background: var(--bark-900);
  color: #fff;
  box-shadow: var(--shadow-xl);
  pointer-events: auto;
  animation: toastIn var(--dur) var(--ease-out) both;
}
.toast svg { width: 18px; height: 18px; color: var(--ember-400); flex: none; }
.toast.is-leaving { animation: toastOut var(--dur) var(--ease-in-out) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  background: rgba(12, 10, 9, 0.66);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 960px);
  max-height: min(92dvh, 680px);
  background: #fff;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(16px);
  transition: transform var(--dur) var(--ease-out);
}
.modal.is-open .modal__panel { transform: none; }
@media (max-width: 760px) {
  .modal__panel { grid-template-columns: 1fr; max-height: 92dvh; overflow-y: auto; }
  .modal__art { display: none; }
}
.modal__art { position: relative; background: var(--bark-900); overflow: hidden; }
.modal__art img, .modal__art svg { width: 100%; height: 100%; object-fit: cover; }
.modal__art-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-5);
  background: linear-gradient(to top, rgba(12, 10, 9, 0.9), transparent);
  color: #fff;
  font-size: var(--step--1);
}
.modal__body { padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); overflow-y: auto; }
.modal__body > * + * { margin-top: var(--space-4); }
.modal__close {
  position: absolute;
  top: var(--space-3); right: var(--space-3);
  z-index: 3;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--bark-900);
  transition: background-color var(--dur) var(--ease-out);
}
.modal__close:hover { background: var(--bark-100); }
.modal__close svg { width: 16px; height: 16px; }

.offer-amount {
  font-size: var(--step-5);
  font-weight: 750;
  font-stretch: var(--stretch-display);
  line-height: 0.9;
  color: var(--ember-500);
  letter-spacing: -0.01em;
}
.fineprint { font-size: var(--step--2); color: var(--ink-faint); line-height: 1.55; }

.empty-state {
  max-width: 46ch;
  margin-inline: auto;
  padding: var(--space-9) var(--space-4);
  text-align: center;
}
/* Only the illustrative icon — not icons inside the state's buttons. */
.empty-state > svg { width: 56px; height: 56px; color: var(--bark-300); margin: 0 auto var(--space-5); }
.empty-state > * + * { margin-top: var(--space-4); }

/* --------------------------------------------------------------------------
   15. Product detail
   -------------------------------------------------------------------------- */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 1rem + 4vw, 5.5rem);
  align-items: start;
}
@media (max-width: 1000px) { .product-layout { grid-template-columns: 1fr; } }

.gallery { position: sticky; top: calc(var(--header-h) + var(--space-5)); }
@media (max-width: 1000px) {
  .gallery { position: static; }
  .gallery__stage { aspect-ratio: 4 / 5; }
}

/* 4:3 on desktop so the stage plus its thumbnails fits a 900px-tall window while it sticks;
   4:5 on phones, where the gallery scrolls with the page and most photos are portrait. Photos and
   video are shown whole (contain), on sand; the thumbnails below stay cropped squares. */
.gallery__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bark-50);
  overflow: hidden;
}
.gallery__stage img, .gallery__stage video, .gallery__stage iframe {
  width: 100%; height: 100%;
  object-fit: contain;
  border: 0;
}

/* A photo on the stage is a link to the full image; site.js opens it in the .lightbox instead. */
.gallery__zoom { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.gallery__zoom-hint {
  position: absolute;
  right: var(--space-3); bottom: var(--space-3);
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--bark-900);
  transition: background-color var(--dur) var(--ease-out);
}
.gallery__zoom:hover .gallery__zoom-hint { background: var(--bark-100); }
.gallery__zoom-hint svg { width: 20px; height: 20px; }
.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.gallery__slide.is-active { opacity: 1; visibility: visible; }

.gallery__thumbs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb {
  position: relative;
  flex: none;
  width: 88px;
  aspect-ratio: 1;
  padding: 0;
  background: var(--bark-50);
  border: 0;
  opacity: 0.55;
  overflow: hidden;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.gallery__thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--bark-900);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease-out);
}
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { opacity: 1; }
.gallery__thumb.is-active::after { transform: scaleX(1); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(21, 19, 17, 0.35)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E")
    center / 24px no-repeat;
}

/* Full-screen photo viewer (a native <dialog>, so Esc, the focus trap and the top layer come
   free). Click to zoom at the pointer, drag to pan, wheel or pinch to zoom, arrows to page. */
.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: var(--bark-900);
  color: #fff;
  overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: var(--bark-900); }
.lightbox__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
}
.lightbox__count {
  margin: 0 auto 0 var(--space-2);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: zoom-in;
}
.lightbox__stage.is-zoomed { cursor: grab; }
.lightbox__stage.is-dragging { cursor: grabbing; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  transform-origin: center;
  transition: transform var(--dur) var(--ease-out);
  -webkit-user-drag: none;
}
.lightbox__stage.is-dragging .lightbox__img { transition: none; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background: var(--bark-900);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.lightbox__nav--prev { left: var(--space-3); }
.lightbox__nav--next { right: var(--space-3); }
.lightbox__nav[hidden] { display: none; }
.lightbox__caption {
  margin: 0;
  padding: var(--space-3) var(--space-4) var(--space-4);
  font-size: var(--step--1);
  text-align: center;
}

.buybox { display: flex; flex-direction: column; gap: var(--space-6); }
.buybox__head > * + * { margin-top: var(--space-3); }
.buybox__title {
  font-size: var(--step-3);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}
.buybox__section > * + * { margin-top: var(--space-3); }
.buybox__section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--step--2);
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--bark-900);
}
.buybox__section-title small {
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-faint);
}
.buybox__panel {
  padding: var(--space-5);
  background: var(--bark-50);
}
.buybox__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-5) var(--space-4);
  border-top: 1px solid var(--bark-900);
}
.buybox__total-label {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
}
.buybox__total-value {
  font-size: var(--step-3);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.buybox__buy { display: flex; gap: var(--space-3); }
.buybox__buy .btn { flex: 1; }

.spec-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.spec-table th, .spec-table td { padding: var(--space-4) 0; text-align: left; vertical-align: top; }
.spec-table th {
  width: 42%;
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-faint);
}
.spec-table td { font-weight: 550; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:first-child { border-top: 1px solid var(--bark-900); }

.feature-list { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.feature-list li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--ink-soft); font-size: var(--step--1); }
.feature-list svg { width: 18px; height: 18px; flex: none; color: var(--ember-500); margin-top: 2px; }

/* Sticky add-to-cart bar for phones, shown once the main button scrolls away. */
.buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--gutter);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(21, 19, 17, 0.2);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease-out);
}
.buy-bar.is-visible { transform: none; }
.buy-bar__price { font-weight: 700; font-size: var(--step-1); }
.buy-bar .btn { flex: 1; }
@media (max-width: 1000px) { .buy-bar { display: flex; } }

/* --------------------------------------------------------------------------
   16. Cart and checkout
   -------------------------------------------------------------------------- */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.8fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } }

.summary {
  position: sticky;
  top: calc(var(--header-h) + var(--space-5));
  padding: var(--space-6);
  background: var(--bark-50);
}
@media (max-width: 960px) { .summary { position: static; } }
.summary__title {
  font-size: var(--step--2);
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--bark-900);
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.summary__row dt { display: flex; align-items: center; gap: var(--space-2); }
.summary__row dd { margin: 0; font-weight: 650; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary__row--discount dd { color: var(--success-500); }
.summary__row--total {
  margin-top: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--bark-900);
  align-items: baseline;
}
.summary__row--total dt {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--ink);
}
.summary__row--total dd {
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  line-height: 1;
}

.cart-line {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.cart-line:first-child { border-top: 1px solid var(--bark-900); }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 84px 1fr; gap: var(--space-4); }
  .cart-line__price { grid-column: 2; text-align: left; }
}
.cart-line__media { aspect-ratio: 1; overflow: hidden; background: var(--bark-50); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__name {
  font-size: var(--step-0);
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cart-line__name a { color: inherit; text-decoration: none; }
.cart-line__name a:hover { color: var(--ember-600); }
.cart-line__addons {
  list-style: none;
  padding: 0;
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-1);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.cart-line__addons li { display: flex; gap: var(--space-2); align-items: baseline; }
.cart-line__addons li::before { content: "+"; color: var(--ember-500); font-weight: 700; }
.cart-line__price { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

.coupon-form { display: flex; }
.coupon-form .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.08em; border-right: 0; }
.coupon-form .btn { min-height: 52px; }

/* Free-shipping meter shared by cart and summary. */
.ship-meter { padding: var(--space-4) var(--space-5); background: var(--bark-50); font-size: var(--step--1); }
.ship-meter__head { display: flex; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.ship-meter__track { height: 4px; background: var(--bark-200); overflow: hidden; }
.ship-meter__fill { height: 100%; background: var(--ember-500); transition: width var(--dur-slow) var(--ease-out); }

.steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-faint);
}
.steps__item { display: inline-flex; align-items: center; gap: var(--space-2); }
.steps__num {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: 0.66rem;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.steps__item.is-active { color: var(--bark-900); }
.steps__item.is-active .steps__num { background: var(--bark-900); border-color: var(--bark-900); color: #fff; }
.steps__item.is-done { color: var(--bark-700); }
.steps__item.is-done .steps__num { background: var(--ember-500); border-color: var(--ember-500); color: #fff; }
.steps__sep { width: 24px; height: 1px; background: var(--line-strong); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 15px; height: 15px; color: var(--bark-900); }

/* --------------------------------------------------------------------------
   17. Content blocks
   -------------------------------------------------------------------------- */
.benefit {
  height: 100%;
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--bark-900);
}
.benefit__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  color: var(--ember-500);
}
.benefit__icon svg { width: 30px; height: 30px; }
.benefit--cool .benefit__icon { color: var(--plunge-500); }
.benefit h3 {
  font-size: var(--step-0);
  font-weight: 700;
  font-stretch: var(--stretch-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.benefit p { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.65; }
.section--dark .benefit { border-top-color: rgba(255, 255, 255, 0.24); }
.section--dark .benefit p { color: var(--bark-400); }

/* Numbered editorial list. */
.numbered { list-style: none; padding: 0; counter-reset: num; }
.numbered > li {
  counter-increment: num;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
}
@media (max-width: 560px) {
  .numbered > li { grid-template-columns: 1fr; gap: var(--space-2); }
}
.numbered > li::before {
  content: counter(num, decimal-leading-zero);
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  color: var(--ember-500);
  line-height: 1;
}

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-6); }
.stat { text-align: left; padding-top: var(--space-5); border-top: 1px solid var(--bark-900); }
.stat__value {
  font-size: var(--step-4);
  font-weight: 700;
  font-stretch: var(--stretch-display);
  line-height: 0.95;
  color: var(--bark-900);
}
.stat__label {
  margin-top: var(--space-3);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-faint);
}
.section--dark .stat { border-top-color: rgba(255, 255, 255, 0.24); }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: var(--bark-400); }

.quote {
  font-size: var(--step-3);
  font-weight: 600;
  font-stretch: 100%;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--bark-900);
  text-wrap: balance;
}
.quote__cite {
  display: block;
  margin-top: var(--space-5);
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink-faint);
}
.section--dark .quote { color: #fff; }

.timeline { display: grid; gap: 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--line);
}
@media (max-width: 560px) { .timeline__item { grid-template-columns: 1fr; gap: var(--space-2); } }
.timeline__dot { display: none; }
.timeline__year {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--ember-600);
}
.timeline h3 { font-size: var(--step-1); margin-bottom: var(--space-2); }
.timeline p { color: var(--ink-soft); font-size: var(--step--1); }

.accordion { border-top: 1px solid var(--bark-900); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  font-size: var(--step-1);
  font-weight: 650;
  line-height: 1.35;
  color: var(--bark-900);
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 16px no-repeat;
  transition: transform var(--dur) var(--ease-out);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--ember-600); }
.accordion__panel { padding-bottom: var(--space-6); color: var(--ink-soft); max-width: 70ch; }
.accordion__panel > * + * { margin-top: var(--space-3); }

/* Full-width call-to-action band. */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4rem, 2.5rem + 6vw, 8rem);
  background: var(--ember-500);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band .lede { color: rgba(255, 255, 255, 0.86); }
.cta-band .btn--light:hover { --btn-bg: var(--bark-900); --btn-fg: #fff; --btn-border: var(--bark-900); }

/* Featured-product spotlight: large image beside a compact buy panel. */
.spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 6rem);
}
@media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; } }
.spotlight__media { aspect-ratio: 5 / 4; background: var(--bark-50); overflow: hidden; }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__body > * + * { margin-top: var(--space-5); }

/* --------------------------------------------------------------------------
   18. Breadcrumbs, filters, chips, pager
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-4);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.breadcrumbs ol { display: contents; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--space-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--bark-300); }
.breadcrumbs a { color: var(--ink-faint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--bark-900); }
.breadcrumbs [aria-current="page"] { color: var(--bark-900); }
.hero .breadcrumbs, .page-hero--dark .breadcrumbs, .page-hero--image .breadcrumbs { color: rgba(255, 255, 255, 0.6); }
.hero .breadcrumbs a, .page-hero--dark .breadcrumbs a, .page-hero--image .breadcrumbs a { color: rgba(255, 255, 255, 0.72); }
.page-hero--dark .breadcrumbs [aria-current="page"],
.page-hero--image .breadcrumbs [aria-current="page"] { color: #fff; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  margin-bottom: var(--space-7);
  border-top: 1px solid var(--bark-900);
  border-bottom: 1px solid var(--line);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 38px;
  padding: 0 1rem;
  font-size: var(--step--2);
  font-weight: 650;
  font-stretch: var(--stretch-ui);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--bark-800);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover { border-color: var(--bark-900); color: var(--bark-900); }
.chip.is-active { background: var(--bark-900); border-color: var(--bark-900); color: #fff; }

/* --------------------------------------------------------------------------
   18b. Videos and size quotes
   -------------------------------------------------------------------------- */
/* Build videos are phone footage, portrait first: four 9:16 cards across, two on tablets. */
.video-grid {
  display: grid;
  gap: var(--space-7) var(--space-5);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); } }
/* Phones keep two columns, like a camera roll: one full-width 9:16 card is a whole screen tall. */
@media (max-width: 520px) {
  .video-grid { gap: var(--space-6) var(--space-3); }
  .video-card .card__title { font-size: var(--step--1); }
  .video-card .card__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .video-card__actions .btn { width: 100%; justify-content: center; padding-inline: var(--space-2); }
}

.video-card { display: flex; flex-direction: column; min-width: 0; }
.video-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--bark-900);
  overflow: hidden;
}
.video-card__media video,
.video-card__media iframe {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.video-card__time {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  padding: 2px var(--space-2);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: var(--track-caps);
  color: #fff;
  background: rgba(12, 10, 9, 0.66);
  pointer-events: none;
}
.video-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-2);
  padding-top: var(--space-4);
}
.video-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin-top: auto;
  padding-top: var(--space-3);
}
.videos-chips, .videos-pages { gap: var(--space-2); }
.videos-head { align-items: start; gap: var(--space-5) var(--space-7); }
.videos-head .hero__checks { color: var(--bark-800); }

/* The form. Fieldsets group feet and inches under one legend; the reset keeps them flush. */
/* Only the browser's inline and bottom margins are reset: the top margin is the .stack rhythm. */
.quote-form fieldset { border: 0; margin-inline: 0; margin-bottom: 0; padding: 0; min-width: 0; }
.quote-form legend { padding: 0; margin-bottom: var(--space-2); }
/* Feet and inches are short numbers: they stay side by side even on a phone. */
.quote-form .form-grid { gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-form .form-grid > .field + .field { margin-top: 0; }
.quote-form__height,
.size-price {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--bark-50);
  border-left: 2px solid var(--ember-500);
}
.quote-form__height svg,
.size-price svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ember-600); }

/* The size configurator on a build priced by floor area (Shop/Details): length and depth, each as
   feet and inches under one legend like the quote form, over the live price box (.size-price). */
.size-picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.size-picker legend { padding: 0; margin-bottom: var(--space-2); }
.size-picker__dims { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Feet and inches are short numbers: they stay side by side even on a phone. */
.size-picker__pair { display: grid; gap: var(--space-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.size-picker .field { gap: var(--space-1); }
.size-picker .field + .field { margin-top: 0; }
.size-price strong { color: var(--bark-900); font-variant-numeric: tabular-nums; }
/* Phones: length above depth, so four boxes never crowd one narrow row. */
@media (max-width: 520px) { .size-picker__dims { grid-template-columns: minmax(0, 1fr); } }
.quote-box .alert--ok:focus { outline: 2px solid var(--ember-500); outline-offset: 2px; }

.quote-layout { align-items: start; }
.quote-layout__build img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bark-50); }

/* A dialog with no artwork column. */
.modal__panel--single { grid-template-columns: minmax(0, 1fr); width: min(100%, 560px); }
/* The panel caps its height; without this the body grows past it instead of scrolling, and the
   bottom of a long form is unreachable on desktop. */
.modal__panel--single .modal__body { max-height: inherit; }

/* --------------------------------------------------------------------------
   19. Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--ink-faint); }
.text-sm { font-size: var(--step--1); }
.text-ember { color: var(--ember-600); }
.text-success { color: var(--success-500); }
.text-danger { color: var(--danger-700); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mx-auto { margin-inline: auto; }
.w-full { width: 100%; }
.flex-1 { flex: 1; }
.hide { display: none !important; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (max-width: 1020px) { .hide-md { display: none !important; } }

/* Scroll reveal, opt-in via data-reveal. Honours reduced motion. */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

@media print {
  .site-header, .site-footer, .announce, .modal, .toast-wrap, .btn, .buy-bar { display: none !important; }
  body { background: #fff; }
}
