/* ============================================================
   SILBERY ROOFING — DESIGN SYSTEM
   Phase 1 — Foundation
   ============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,700&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  /* ---------- BRAND PALETTE ---------- */
  --black:        #0A0A0A;
  --black-soft:   #1A1A1A;
  --cream:        #F5F0E8;
  --cream-dark:   #E8E0D0;
  --emerald:      #0D6B4F;
  --emerald-light:#34d399;
  --emerald-dark: #094D39;
  --white:        #FFFFFF;

  /* Greys */
  --grey-100: #F7F7F7;
  --grey-200: #E5E5E5;
  --grey-400: #999999;
  --grey-600: #666666;
  --grey-800: #333333;

  /* ---------- 15 STOCKED METAL COLOURS (hex codes pulled from
       Dulux's COLORSTEEL schema data, 2026-04-08) ---------- */
  --col-sandstone:        #999A99;
  --col-gullgrey:         #C9C9C5;
  --col-titania:          #D6D3C4;
  --col-desert-sand:      #C0AD95;
  --col-greyfriars:       #2E3438;
  --col-raven:            #211A17;
  --col-ebony:            #000000;
  --col-new-denim-blue:   #4C5663;
  --col-karaka:           #363629;
  --col-permanent-green:  #164C33;
  --col-mist-green:       #708463;
  --col-ironsand:         #2C2C27;
  --col-lignite:          #544942;
  --col-scoria:           #662929;
  --col-pioneer-red:      #830101;
  --warning-orange:       #ff9140; /* deprecated: use --warning */

  /* Warning colour: mint emerald green, reserved for errors/warnings only */
  --warning:              #34D399;

  /* Form field tokens: white bold text on dark-grey bg with white border */
  --field-bg:             #2E2E2E;
  --field-text:           #FFFFFF;
  --field-border:         #FFFFFF;

  /* ---------- TYPE ---------- */
  --font-display: 'Barlow Condensed', Impact, sans-serif;
  --font-body:    'Space Grotesk', system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --fs-h1:    clamp(52px, 7.5vw, 120px);
  --fs-h2:    clamp(36px, 5vw, 72px);
  --fs-h3:    clamp(28px, 4vw, 56px);
  --fs-h4:    clamp(20px, 2.4vw, 32px);
  --fs-body:  18px;
  --fs-small: 14px;
  --fs-micro: 11px;

  /* ---------- SPACING ---------- */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  3rem;
  --space-xl:  5rem;
  --space-2xl: 8rem;

  /* ---------- LAYOUT ---------- */
  --container: 1200px;
  --nav-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;

  /* ---------- MOTION ---------- */
  --t-fast: 150ms;
  --t-med:  300ms;
  --t-slow: 600ms;
  --ease:   cubic-bezier(.2,.8,.2,1);

  /* ---------- SHADOW ---------- */
  --shadow-sm: 0 2px 6px rgba(10,10,10,0.06);
  --shadow-md: 0 8px 24px rgba(10,10,10,0.10);
  --shadow-lg: 0 20px 60px rgba(10,10,10,0.18);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
   BASE TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }
p  { max-width: 65ch; }

.eyebrow {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
.label {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.section { padding-block: var(--space-xl); text-align: center; }
.section p { margin-inline: auto; }
.section-lg { padding-block: var(--space-2xl); }
.stack > * + * { margin-top: var(--space-md); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.split-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.split-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.split-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
@media (max-width: 768px) {
  .split-2, .split-3 { grid-template-columns: 1fr; }
  .split-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   UTILITIES + REDUCED MOTION
   ============================================================ */
.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;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   COMPONENTS — BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 26px;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--black);
  border-radius: 0;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn:hover  { border-color: var(--emerald); box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08); }
.btn:focus-visible { outline: 3px solid var(--emerald-light); outline-offset: 2px; }

.btn-secondary { background: transparent; color: var(--black); border-color: rgba(0,0,0,0.25); }
.btn-secondary:hover { border-color: var(--emerald); box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08); color: var(--black); }

.btn-emerald   { background: transparent; border-color: rgba(0,0,0,0.25); color: var(--black); }
.btn-emerald:hover { border-color: var(--emerald); box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08); }

.btn-sm { padding: 8px 16px; font-size: var(--fs-micro); }
.btn-lg { padding: 18px 36px; font-size: var(--fs-body); }

/* ---- Submit Quote button: envelope-to-tick/cross animation ---- */
.btn-submit-quote {
  position: relative;
  overflow: hidden;
  min-width: 220px;
  padding: 12px 22px;
  justify-content: center;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.btn-submit-quote .btn-label {
  display: inline-block;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-submit-quote .btn-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
}
.btn-submit-quote .btn-fx svg {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.2s var(--ease);
}
.btn-submit-quote .fx-tick     { color: var(--white); }
.btn-submit-quote .fx-cross    { color: var(--warning); }

/* Sending: simple pulsing emerald glow, label stays visible */
.btn-submit-quote.is-sending {
  pointer-events: none;
  border-color: var(--emerald);
  animation: submit-pulse 1.2s ease-in-out infinite;
}

/* Success: label fades out, tick pops on the right */
.btn-submit-quote.is-success              { pointer-events: none; border-color: var(--emerald); box-shadow: 0 0 18px rgba(52,211,153,0.35); }
.btn-submit-quote.is-success .btn-label   { opacity: 0; }
.btn-submit-quote.is-success .fx-tick     { opacity: 1; left: calc(100% - 44px); animation: submit-icon-pop 0.45s var(--ease); }

/* Error: cross appears on the right with a shake */
.btn-submit-quote.is-error              { border-color: var(--warning); box-shadow: 0 0 18px rgba(52,211,153,0.35); animation: submit-shake 0.5s var(--ease); }
.btn-submit-quote.is-error .btn-label   { opacity: 0; }
.btn-submit-quote.is-error .fx-cross    { opacity: 1; left: calc(100% - 44px); animation: submit-icon-pop 0.45s var(--ease); }

@keyframes submit-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(52,211,153,0.0); }
  50%      { box-shadow: 0 0 18px rgba(52,211,153,0.55); }
}
@keyframes submit-icon-pop {
  0%   { transform: translateY(-50%) scale(0.4); opacity: 0; }
  60%  { transform: translateY(-50%) scale(1.15); opacity: 1; }
  100% { transform: translateY(-50%) scale(1);   opacity: 1; }
}
@keyframes submit-shake {
  0%,100% { transform: translateX(0); }
  25%     { transform: translateX(-6px); }
  50%     { transform: translateX(6px); }
  75%     { transform: translateX(-3px); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-submit-quote.is-sending,
  .btn-submit-quote.is-success .fx-tick,
  .btn-submit-quote.is-error   .fx-cross,
  .btn-submit-quote.is-error { animation: none; }
}

/* ============================================================
   COMPONENTS — PILLS, TAGS, EYEBROW
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--cream-dark);
  color: var(--black);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ============================================================
   COMPONENTS — CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 2px solid var(--black);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--black); }
.card-image { aspect-ratio: 4/3; background: var(--cream-dark); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: var(--space-lg); }
.card-image svg { width: 90%; height: 100%; max-height: 100%; }
.card-body  { padding: var(--space-md); }
.card-body .eyebrow { display: block; margin-bottom: var(--space-xs); }
.card-body h3 { font-size: clamp(28px, 3.5vw, 52px); line-height: 0.95; margin-top: 0; margin-bottom: var(--space-xs); }
.card-body p  { margin-top: var(--space-xs); }

/* ============================================================
   COMPONENTS — FORMS
   ============================================================ */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.field label {
  color: var(--field-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  background: var(--field-bg);
  color: var(--field-text);
  border: 1.5px solid var(--field-border);
  border-radius: 6px;
  font-weight: 600;
  font-size: var(--fs-body);
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: var(--font-body);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--warning);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}
.field input::placeholder,
.field textarea::placeholder { color: #bbb; font-weight: 500; }
.field textarea { min-height: 120px; resize: vertical; }
.field-error    { color: var(--warning); font-size: 16px; font-weight: 700; letter-spacing: 0.02em; margin-top: 4px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.field { gap: 8px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPONENTS — STAT, COLOUR SWATCH
   ============================================================ */
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
}
.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 0.9;
  color: var(--white);
}
.stat-cap {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.colour-swatch {
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--black);
  cursor: pointer;
  position: relative;
}
.colour-swatch[data-selected="true"] {
  outline: 3px solid var(--emerald);
  outline-offset: 4px;
}

/* ============================================================
   NAV
   ============================================================ */
.silbery-nav {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-height);
  background: var(--cream);
  border-bottom: 2px solid var(--black);
  display: flex;
  align-items: center;
}
.silbery-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.silbery-nav .nav-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
}
.silbery-nav .nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}
/* Shine sweep: a bright emerald-tinted stripe slides across, masked by the
   logo SVG (paints only inside the lettering) and clipped to the SILBERY
   wordmark band only (excludes the smaller "ROOFING LTD" line below). */
.silbery-nav .nav-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0.7) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.7) 55%,
    rgba(255, 255, 255, 0.4) 60%,
    transparent 70%
  );
  background-size: 300% 100%;
  background-position: 150% 0;
  background-repeat: no-repeat;
  -webkit-mask-image: url("/silbery-logo.svg");
          mask-image: url("/silbery-logo.svg");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: left center;
          mask-position: left center;
  -webkit-mask-size: auto 100%;
          mask-size: auto 100%;
  /* Crop to the upper SILBERY band — the SVG viewBox is 499x200 and SILBERY
     letterforms span y=28-122. ROOFING LTD sits below at y=140-173. */
  clip-path: inset(0 0 38% 0);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}
.silbery-nav .nav-logo:hover img,
.silbery-nav .nav-logo:focus-visible img {
  filter: brightness(1.35);
  transition: filter 400ms ease;
}
.silbery-nav .nav-logo:hover::after,
.silbery-nav .nav-logo:focus-visible::after {
  animation: nav-logo-shine 1500ms ease-in-out;
}
.silbery-nav .nav-logo:focus-visible {
  outline: 2px solid var(--emerald-light);
  outline-offset: 4px;
  border-radius: 4px;
}
@keyframes nav-logo-shine {
  0%   { opacity: 0; background-position: 150% 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .silbery-nav .nav-logo:hover::after,
  .silbery-nav .nav-logo:focus-visible::after { animation: none; opacity: 0; }
}
.silbery-nav ul {
  display: flex;
  gap: var(--space-md);
}
.silbery-nav ul a {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 6px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.silbery-nav ul a:hover,
.silbery-nav ul a.is-active {
  border-bottom-color: var(--emerald);
}
.silbery-nav .nav-right { display: flex; align-items: center; gap: var(--space-sm); }
.silbery-nav .branch-pill {
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 2px solid var(--fg); background: transparent; color: var(--fg);
  cursor: pointer; align-items: center; justify-content: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav-toggle:hover { background: var(--fg); color: var(--bg); }
.nav-toggle .burger-icon,
.nav-toggle .return-icon { width: 24px; height: 24px; display: block; }
.nav-toggle .return-icon { display: none; }
.silbery-nav.is-open .nav-toggle .burger-icon { display: none; }
.silbery-nav.is-open .nav-toggle .return-icon { display: block; }
@media (max-width: 900px) {
  .silbery-nav > .container > ul { display: none; }
  .silbery-nav.is-open > .container > ul {
    display: flex; position: absolute; top: var(--nav-height); left: 0; right: 0;
    flex-direction: column; gap: 0; z-index: 60;
    background: var(--bg); color: var(--fg);
    border-top: 2px solid var(--fg); border-bottom: 2px solid var(--fg);
    padding: var(--space-md);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .silbery-nav.is-open > .container > ul > li { border-bottom: 1px solid rgba(245,240,232,0.08); }
  .silbery-nav.is-open > .container > ul > li:last-child { border-bottom: none; }
  .silbery-nav.is-open > .container > ul > li > a,
  .silbery-nav.is-open > .container > ul > li > .nav-group-toggle {
    display: flex; width: 100%; padding: 17px var(--space-sm); font-size: var(--fs-body);
  }
  .nav-toggle { display: inline-flex; }
  .silbery-nav .branch-pill { display: none; }
  .silbery-nav .nav-right .btn-emerald { display: none; }
}

/* ============================================================
   NAV GROUP DROPDOWN (Forms & Info)
   ============================================================ */
.nav-group { position: relative; }

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 6px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease);
}
.nav-group-toggle:hover,
.nav-group.is-open > .nav-group-toggle,
.nav-group.has-active-child > .nav-group-toggle {
  border-bottom-color: var(--emerald);
}
.nav-group-caret {
  width: 10px;
  height: 6px;
  transition: transform var(--t-fast) var(--ease);
}
.nav-group.is-open .nav-group-caret { transform: rotate(180deg); }

/* Desktop popover (>900px) */
@media (min-width: 901px) {
  .silbery-nav ul.nav-submenu {
    display: block;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 220px;
    background: var(--bg);
    border: 2px solid var(--fg);
    padding: 6px 0;
    list-style: none;
    margin: 0;
    z-index: 70;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  }
  .silbery-nav ul.nav-submenu[hidden] { display: none; }
  .silbery-nav ul.nav-submenu li { display: block; }
  .silbery-nav ul.nav-submenu a {
    display: block;
    padding: 10px var(--space-md);
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg);
    border-bottom: 2px solid transparent;
  }
  .silbery-nav ul.nav-submenu a:hover,
  .silbery-nav ul.nav-submenu a.is-active {
    border-bottom-color: var(--emerald);
  }
}

/* Mobile inline — Forms & Info shown expanded, no toggle (<=900px) */
@media (max-width: 900px) {
  /* Hide the dropdown toggle button on mobile */
  .silbery-nav.is-open .nav-group-toggle { display: none !important; }
  /* Always show submenu items inline, even if JS set hidden */
  .silbery-nav.is-open ul.nav-submenu,
  .silbery-nav.is-open ul.nav-submenu[hidden] {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    position: static;
    background: transparent;
    padding: 0;
    border: 0;
  }
  .silbery-nav.is-open ul.nav-submenu li {
    border-bottom: 1px solid rgba(245,240,232,0.08);
  }
  .silbery-nav.is-open ul.nav-submenu li:last-child { border-bottom: none; }
  .silbery-nav.is-open ul.nav-submenu a {
    display: flex;
    width: 100%;
    padding: 17px var(--space-sm);
    font-size: var(--fs-body);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.silbery-footer {
  background: var(--black);
  color: var(--cream);
  padding-block: var(--space-xl);
  margin-top: var(--space-2xl);
}
.silbery-footer h4 { color: var(--cream); margin-bottom: var(--space-sm); font-size: var(--fs-h4); font-family: var(--font-display); }
.silbery-footer p, .silbery-footer a { font-family: var(--font-body); font-size: var(--fs-small); }
.silbery-footer a:hover { color: var(--white); }

/* Nav row: eyebrow + horizontal links */
.silbery-footer .footer-nav { text-align: center; }
.silbery-footer .footer-eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin-bottom: var(--space-md);
}
.silbery-footer .footer-links-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
}
.silbery-footer .footer-links-row a {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: var(--fs-small);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Bottom row: brand, hours, stamp */
.silbery-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--grey-800);
  gap: var(--space-sm);
}
.silbery-footer .footer-brand h4 { margin-bottom: var(--space-xs); }
.silbery-footer .footer-hours {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}
.silbery-footer .footer-phones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
}
.silbery-footer .footer-phones a {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.silbery-footer .footer-stamp {
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 12px));
  z-index: 2000;
  background: var(--black);
  color: var(--cream);
  padding: 14px 26px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--cream);
  text-align: center;
  max-width: min(520px, calc(100vw - 40px));
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, -50%); }
.toast[data-type="error"] { border-color: #fbbf24; color: #fbbf24; }
.toast[data-type="warn"]  { border-color: #fbbf24; color: #fbbf24; }

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: var(--space-xl);
  background: var(--cream);
  overflow: hidden;
  text-align: center;
}
.hero h1 { margin-block: var(--space-md); }
.hero p, .hero .lead, .hero .lead-stack { margin-inline: auto; }
.lead-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--fg);
}
.lead-stack p { max-width: none; margin: 0; }
.hero .lead {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 56ch;
  margin-block: var(--space-md) var(--space-lg);
  color: var(--fg);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}
.hero .container { position: relative; z-index: 1; }
.heritage { background: var(--cream-dark); }

/* ============================================================
   HOMEPAGE UTILITIES
   ============================================================ */

/* Centred section header (eyebrow + h2) */
.section-header { text-align: center; }
.section-header h2 { margin-bottom: var(--space-lg); }

/* Stats cluster — extracted from inline styles */
.stat-cluster { gap: var(--space-lg); align-items: start; flex-wrap: wrap; }

/* (old quote-modal overlay removed — replaced by full-screen modal system below) */

/* Trust stat strip — compact band between hero and process cards */
.stat-strip {
  background: var(--bg);
  padding-block: var(--space-lg);
}

/* CTA band — distinct dark surface with cream top rule */
.section-cta { background: var(--surface); border-top: 1px solid var(--border); }
.section-cta .container { text-align: center; }

/* Card image area — SVG illustrations sit inside each .card-image */

/* ============================================================
   NAV-LINK CARDS (homepage grid — kept for quote page)
   ============================================================ */
.nav-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  max-width: 800px;
  margin-inline: auto;
}

/* ============================================================
   NAV-LINK STACK (homepage vertical buttons with icons)
   ============================================================ */
.nav-card-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 380px;
  margin-inline: auto;
}

#quote-options .nav-card-stack,
#profile-help .nav-card-stack {
  margin-top: var(--space-lg);
}

.nav-card-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  column-gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.25s var(--ease);
}
.nav-card-link .nav-card-icon { justify-self: center; }

.nav-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

/* Hover: emerald glow border + icon nudge */
.nav-card-link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08);
  transform: translateY(-2px) scale(1.02);
}
.nav-card-link:hover .nav-card-icon {
  transform: translateX(3px) scale(1.1);
}

/* Background fill sweep on hover */
.nav-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,107,79,0.15) 0%, transparent 100%);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.nav-card-link:hover::before {
  transform: translateX(0);
}

/* Shimmer on reveal */
@keyframes nav-link-shimmer {
  0%   { transform: translateX(-100%) skewX(-20deg); }
  30%  { transform: translateX(200%) skewX(-20deg); }
  100% { transform: translateX(200%) skewX(-20deg); }
}
/* Ambient light reflection — cascading glow draws the eye */
@keyframes nav-link-glow {
  0%, 18%, 100% {
    box-shadow: inset 0 0 0 rgba(255,255,255,0), 0 0 0 rgba(13,107,79,0);
    border-color: rgba(255,255,255,0.35);
  }
  4% {
    box-shadow: inset 0 0 20px rgba(255,255,255,0.06), 0 0 12px rgba(13,107,79,0.25);
    border-color: rgba(255,255,255,0.6);
  }
}

/* Icon pulse — one icon lights up at a time, white -> bright emerald -> white,
   with a clean gap before the next icon fires. Total cycle 9s, each pulse ~0.7s,
   1.5s stagger between rows so only one icon is mid-pulse at any moment. */
@keyframes nav-icon-pulse {
  0%, 8%, 100% { color: var(--fg); }
  4%           { color: #22D391; }
}
.nav-card-link.is-in .nav-card-icon {
  animation: nav-icon-pulse 9s ease-in-out infinite;
}
.nav-card-link.is-in:nth-child(2) .nav-card-icon { animation-delay: 1.5s; }
.nav-card-link.is-in:nth-child(3) .nav-card-icon { animation-delay: 3.0s; }
.nav-card-link.is-in:nth-child(4) .nav-card-icon { animation-delay: 4.5s; }
.nav-card-link.is-in:nth-child(5) .nav-card-icon { animation-delay: 6.0s; }
.nav-card-link.is-in:nth-child(6) .nav-card-icon { animation-delay: 7.5s; }

/* Staggered reveal entrance */
.nav-card-link[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.nav-card-link[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
.nav-card-link[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.nav-card-link[data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.nav-card-link[data-reveal]:nth-child(4) { transition-delay: 0.3s; }
.nav-card-link[data-reveal]:nth-child(5) { transition-delay: 0.4s; }
.nav-card-link[data-reveal]:nth-child(6) { transition-delay: 0.5s; }

/* FAQ CTA — centred heading + button */
.faq-cta-section .container { text-align: center; }
.faq-cta-section h2 { margin-bottom: var(--space-lg); }
.btn-faq {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  border: 2px solid rgba(255,255,255,0.35);
  padding: var(--space-sm) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn-faq:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08);
  color: var(--fg);
}
/* No cascading glow pulse on the FAQ CTA, hover border glow is enough */
.btn.btn-faq.is-in,
#glossary-open.is-in {
  animation: none;
}
@media (max-width: 900px) {
  .nav-card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .nav-card-grid { grid-template-columns: repeat(2, 1fr); }
}
.nav-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.1;
  min-height: 100px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.25s var(--ease);
}
.nav-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08);
  transform: translateY(-3px);
}
/* Nav-card glow animation */
.nav-card.is-in {
  animation: nav-link-glow 5s ease-in-out infinite;
}
.nav-card.is-in:nth-child(2) { animation-delay: 1s; }
.nav-card.is-in:nth-child(3) { animation-delay: 2s; }
.nav-card.is-in:nth-child(4) { animation-delay: 3s; }

/* ---- Quote CTA shimmer effect ---- */
/* 6s cycle: sweep in first 15%, idle the rest. Repeats infinitely. */
@keyframes cta-shimmer {
  0%   { transform: translateX(-100%) skewX(-20deg); }
  15%  { transform: translateX(200%) skewX(-20deg); }
  100% { transform: translateX(200%) skewX(-20deg); }
}
#quote-options .nav-card {
  position: relative;
  overflow: hidden;
}
#quote-options .nav-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.25) 45%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.25) 55%,
    transparent 70%
  );
  transform: translateX(-100%) skewX(-20deg);
  pointer-events: none;
}
#quote-options .nav-card.is-in::after {
  animation: cta-shimmer 6s ease-in-out 0.6s infinite;
}
#quote-options .nav-card.is-in:nth-child(2)::after {
  animation-delay: 0.9s;
}
.nav-card.nav-card--primary {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
}
.nav-card.nav-card--primary:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08);
}

/* ============================================================
   REVIEW CAROUSEL
   ============================================================ */
.review-carousel {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-lg);
}
.review-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.review-slide {
  flex: 0 0 100%;
  padding: var(--space-lg);
  background: var(--surface);
  border: 2px solid var(--fg);
  font-family: var(--font-body);
  box-sizing: border-box;
}
.review-slide blockquote {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 20px);
  font-style: italic;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 var(--space-md);
  max-width: 72ch;
}
.review-slide .review-author {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-slide .review-stars {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}
.review-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.review-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.review-btn:hover { background: var(--accent); border-color: var(--accent); }
.review-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.review-dot.is-active {
  background: var(--accent);
  transform: scale(1.4);
}

/* Hero — no overlay */

/* Scroll-reveal stagger delays — data-delay="1|2|3" on homepage elements
   Scroll-reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-delay="2"] { transition-delay: 0.20s; }
[data-reveal][data-delay="3"] { transition-delay: 0.30s; }
[data-reveal][data-delay="4"] { transition-delay: 0.40s; }

/* ============================================================
   DARK THEME OVERRIDES (Phase 1 v1.1)
   Inverts the light cream baseline to a black background with
   cream text and emerald accents — matches the Silbery logo
   (white wordmark on black). The playground edits these tokens.
   ============================================================ */

:root {
  /* Theme tokens — the playground rewrites these */
  --bg:        #0A0A0A;
  --fg:        #F5F0E8;
  --surface:   #1A1A1A;
  --surface-2: #242424;
  --border:    #F5F0E8;
  --muted:     var(--white);
  --accent:    var(--emerald-light);
}

body                     { background: var(--bg); color: var(--fg); }

.silbery-nav             { background: var(--bg); border-bottom-color: var(--accent); }
.silbery-nav ul a        { color: var(--fg); }
.silbery-nav .branch-pill{ color: var(--muted); }

h1, h2, h3, h4, h5, h6   { color: var(--fg); }

.btn                     { background: transparent; color: var(--fg); border-color: rgba(255,255,255,0.35); transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.btn:hover               { background: transparent; border-color: var(--accent); box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08); color: var(--fg); }
.btn-secondary           { background: transparent; color: var(--fg); border-color: rgba(255,255,255,0.35); }
.btn-secondary:hover     { border-color: var(--accent); box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08); color: var(--fg); }
.btn-emerald             { background: transparent; color: var(--fg); border-color: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.btn-emerald:hover       { border-color: var(--accent); box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08); color: var(--fg); }
.btn.is-in, .btn-emerald.is-in { animation: nav-link-glow 5s ease-in-out infinite; }

/* Silbery button: hover fill sweep + reveal shimmer on .btn-emerald */
.btn-emerald::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,107,79,0.15) 0%, transparent 100%);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.btn-emerald:hover::before { transform: translateX(0); }
.btn-emerald::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0.15) 55%,
    transparent 70%
  );
  transform: translateX(-100%) skewX(-20deg);
  pointer-events: none;
}
.btn-emerald.is-in::after {
  animation: nav-link-shimmer 12s ease-in-out 0.4s infinite;
}

.pill                    { background: var(--surface); color: var(--fg); }

.card                    { background: var(--surface); border-color: var(--fg); color: var(--fg); }
.card:hover              { box-shadow: 8px 8px 0 var(--accent); }
.card-image              { background: var(--surface-2); }
.card-body p             { color: var(--muted); }
.card-body h3            { color: var(--fg); }

/* Form field colours come from --field-* tokens (see top of file).
   Labels stay white bold, inputs stay dark grey with white border. */

.stat-cap                { color: var(--muted); }
.stat-num                { color: var(--fg); }

.eyebrow                 { color: var(--fg); }

.colour-swatch           { border-color: var(--fg); }


.hero                    { background: var(--bg); }
.hero .lead              { color: var(--fg); }
.heritage                { background: var(--bg); }

p                        { color: inherit; white-space: pre-line; }
.lead                    { color: var(--fg); }

a:hover                  { color: var(--accent); }

/* ============================================================
   SCROLL-FOLD HERO (preview)
   Used on /hero-mockup.html while we decide whether to make it
   the default homepage hero.
   ============================================================ */
.hero-v2 {
  position: relative;
  min-height: 180vh;                 /* long enough to fully scroll the fold */
  background: var(--bg);
  overflow: hidden;
}
.hero-v2 .sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}
.hero-v2 .hero-v2-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-v2 .hero-v2-canvas svg {
  width: 90%;
  max-width: 1100px;
  height: auto;
}
.hero-v2 .hero-v2-copy {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-md);
  max-width: var(--container);
  margin: auto;
  text-align: center;
}
.hero-v2 .hero-v2-copy .eyebrow { color: var(--accent); }
.hero-v2 .hero-v2-copy p { margin-inline: auto; }
.hero-v2 .hero-v2-copy h1       { margin-block: var(--space-md); }
.hero-v2 .hero-v2-copy p.lead   {
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 56ch;
  color: var(--muted);
}
.scroll-fold-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}
.scroll-fold-hint .arrow {
  font-size: 24px;
  animation: sf-bob 1.8s ease-in-out infinite;
}
@keyframes sf-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-fold-hint .arrow { animation: none; }
}

/* ── Scroll-down hint (profiles page + popup) ────────────────── */
.scroll-down-hint {
  pointer-events: none;
  opacity: 0;
  animation: scrollHintReveal 0.6s ease 1.2s forwards;
  transition: opacity 0.4s ease;
}
.scroll-down-hint-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.scroll-down-hint-inner::before,
.scroll-down-hint-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid #34d399;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
  animation: scrollHintPulse 3.4s ease-out infinite;
}
.scroll-down-hint-inner::after { animation-delay: 1.7s; }
@keyframes scrollHintPulse {
  0%   { transform: scale(0.7); opacity: 1; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.scroll-down-hint.is-hidden { opacity: 0 !important; animation: none; }
.scroll-down-hint .scroll-hint-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.scroll-down-hint .scroll-hint-chevron {
  width: 26px;
  height: 26px;
  color: #34d399;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
  position: relative;
  z-index: 1;
  animation: none;
}
@keyframes scrollHintReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* Page-level: fixed to bottom of viewport */
.profiles-scroll-hint {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
/* Popup-level: fixed to bottom of popup viewport */
.popup-scroll-hint {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 210;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.scroll-down-hint.is-hidden { opacity: 0 !important; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .scroll-down-hint { animation: none; opacity: 1; }
  .scroll-down-hint .scroll-hint-chevron { animation: none; }
  .scroll-down-hint-inner::before,
  .scroll-down-hint-inner::after { animation: none; opacity: 0.6; }
}

/* ============================================================
   COLOURS PAGE — swatch grid + full-screen popup
   ============================================================ */

/* ---------- Colour grid ---------- */
.colour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
@media (min-width: 768px)  { .colour-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .colour-grid { grid-template-columns: repeat(5, 1fr); } }

.colour-grid--materials {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px)  { .colour-grid--materials { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .colour-grid--materials { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Each swatch card ---------- */
.colour-swatch {
  aspect-ratio: 1;
  background-color: var(--swatch-hex, var(--surface));
  background-size: cover;
  background-position: center;
  border: 2px solid var(--fg);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-sm);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
}
.colour-swatch:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--fg);
}
.colour-swatch:active { transform: translateY(-1px); }
.colour-swatch:focus-visible {
  outline: 4px solid var(--accent);
  outline-offset: 4px;
}

.swatch-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h4);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: center;
  width: 100%;
  -webkit-text-stroke: 2px rgba(0,0,0,0.85);
  paint-order: stroke fill;
  text-shadow: 2px 3px 4px rgba(0,0,0,0.7), 0 0 8px rgba(0,0,0,0.4);
}

/* ---------- Material swatch cards (unpainted) ---------- */
.colour-swatch--material {
  justify-content: center;
  text-align: center;
  cursor: default;
}
.colour-swatch--material:hover {
  transform: none;
  box-shadow: none;
}
.colour-swatch--material .swatch-label {
  text-shadow: none;
  white-space: pre-line;
}

/* ---------- Materials section ---------- */
.materials-section {
  padding-top: var(--space-xl);
}
.materials-section .split-2 {
  margin-bottom: var(--space-lg);
}

/* ---------- CTA section ---------- */
.nav-card-grid--4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .nav-card-grid--4col { grid-template-columns: repeat(2, 1fr); } }

.colours-cta { text-align: center; }
.colours-cta .lead { max-width: 640px; margin-inline: auto; }
.colours-cta .nav-card-grid { margin-top: var(--space-lg); max-width: 800px; margin-inline: auto; }

.colours-stock-note {
  margin-top: var(--space-lg);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

/* ---------- Full-screen colour popup ---------- */
.colour-popup {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  background: #0A0A0A;
}
.colour-popup[hidden] { display: none; }

.popup-fill {
  flex: 1 1 65%;
  min-height: 0;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.popup-info {
  flex: 0 0 auto;
  padding: var(--space-md) var(--space-lg) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
  background: #0A0A0A;
  color: #F5F0E8;
}
.popup-name {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #F5F0E8;
}
.popup-meta {
  font-size: var(--fs-small);
  color: #fff;
  margin-bottom: var(--space-sm);
}
.popup-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.nav-card--sm {
  padding: var(--space-md) var(--space-sm);
  font-size: var(--fs-small);
}
@media (max-width: 540px) {
  .nav-card--sm { padding: var(--space-sm) var(--space-xs); font-size: var(--fs-micro); }
}

/* Close — very visible, top right, matches nav arrows */
.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0e7a5a 0%, #0a5a3f 50%, #074832 100%);
  color: rgba(255,255,255,0.85);
  font-size: 22px;
  line-height: 1;
  border: 1.5px solid rgba(255,255,255,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.4),
    0 1px 3px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(0,0,0,0.35),
    inset 0 -1px 2px rgba(255,255,255,0.08);
  text-shadow: 0 -1px 1px rgba(0,0,0,0.4);
  transition: all var(--t-fast) var(--ease);
}
.popup-close:hover {
  background: linear-gradient(180deg, #10886a 0%, #0b6648 50%, #085038 100%);
  color: #fff;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.5),
    0 1px 3px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(0,0,0,0.3),
    inset 0 -1px 2px rgba(255,255,255,0.1);
}
.popup-close:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Prev / Next arrows — inline beside colour name */
.popup-name {
  text-align: center;
}

.popup-nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 420px;
  margin-inline: auto;
  gap: var(--space-md);
}
.popup-nav-row > :first-child  { justify-self: end; }
.popup-nav-row > :last-child   { justify-self: start; }
.popup-back-link {
  display: block;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(12px, 1.1vw, 13px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  padding: 4px 0 0;
  width: 100%;
  transition: color 0.2s;
}
.popup-back-link:hover { color: var(--accent); }
.colour-disclaimer {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.colour-disclaimer[hidden] { display: none; }
.disclaimer-card {
  max-width: 480px;
  text-align: center;
  color: #fff;
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0.01em;
  background: #111;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: var(--space-xl) var(--space-lg);
}
.disclaimer-card p {
  margin-bottom: var(--space-lg);
}
.disclaimer-card .profile-nav-btn {
  min-width: 160px;
}

/* Swipe hint — mobile/tablet only */
.swipe-hint {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  animation: swipeHintFade 3s ease forwards;
}
@media (max-width: 1024px) {
  .swipe-hint { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  .swipe-hint { display: none; }
}
.swipe-hand {
  animation: swipeHandSlide 1.5s ease-in-out 2;
}
.swipe-text {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
@keyframes swipeHintFade {
  0%   { opacity: 0; }
  10%  { opacity: 0.9; }
  75%  { opacity: 0.9; }
  100% { opacity: 0; }
}
@keyframes swipeHandSlide {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(30px); }
  75%      { transform: translateX(-30px); }
}

/* Mini colour picker strip at bottom of popup */
.popup-picker {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  padding: 10px var(--space-md) 14px;
  justify-content: center;
  background: #0A0A0A;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.popup-picker::-webkit-scrollbar { display: none; }

.picker-dot {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.picker-dot:hover { border-color: rgba(255,255,255,0.8); }
.picker-dot--active {
  border-color: #fff;
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

@media (max-width: 540px) {
  .popup-picker { justify-content: flex-start; }
}

/* Expand icon on colour swatches */
.colour-swatch { position: relative; }
.swatch-expand {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  opacity: 0.7;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.9)) drop-shadow(0 1px 2px rgba(0,0,0,0.7));
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.colour-swatch:hover .swatch-expand {
  opacity: 1;
  transform: scale(1.25);
}
@media (max-width: 768px) {
  .swatch-expand { opacity: 0.85; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .colour-swatch { transition: none; }
}

/* Screen-reader only (SEO + accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PROFILES PAGE — card grid + full-screen popup
   ============================================================ */

/* ── Profile grid (2×2 desktop, 1-col mobile) ─────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Profile card ─────────────────────────────────────────── */
.profile-card-v2 {
  background: var(--surface);
  border: 1.5px solid rgba(245,240,232,0.12);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease),
              box-shadow   var(--t-fast) var(--ease),
              transform    var(--t-fast) var(--ease);
}
.profile-card-v2:hover {
  animation: none;
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(13,107,79,0.45), 0 0 0 1px var(--accent);
  transform: translateY(-2px);
}
.profile-card-v2:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Periodic emerald glow pulse, mirrors CTA cascading pattern. No inset light reflection. */
@keyframes profile-card-glow {
  0%, 18%, 100% {
    border-color: rgba(245,240,232,0.12);
    box-shadow: 0 0 0 rgba(13,107,79,0);
  }
  4% {
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(13,107,79,0.25), 0 0 0 1px var(--accent);
  }
}
.profile-card-v2 {
  animation: profile-card-glow 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .profile-card-v2 { animation: none; }
}

/* Profile icon silhouette inside card */
.card-icon-wrap {
  width: 100%;
  background: transparent;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 5 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-sm);
}
.card-icon-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

/* Card footer: name + stat */
.card-footer {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.card-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}
.card-stat    { font-size: var(--fs-small); color: var(--fg); margin: 0; }
.card-cta-hint {
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: var(--space-xs) 0 0;
  animation: ctaPulse 3.2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .card-cta-hint { animation: none; opacity: 1; }
}

/* ── Profile popup ────────────────────────────────────────── */
.profile-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  top: var(--nav-height);
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.profile-popup[hidden] { display: none; }

/* Single-column free-flow */
.profile-popup-flow {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  will-change: transform;
}

/* Hero */
.profile-popup-hero {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.profile-popup-hero .eyebrow { color: var(--accent); margin: 0; }
.profile-popup-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: var(--fg);
  margin: 0;
}
.profile-popup-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--fg);
  line-height: 1.6;
  max-width: 640px;
  margin: var(--space-xs) 0 0;
  min-height: 4.8em;  /* reserve space for 3 lines so layout stays stable */
}

/* 3D render, full popup width, native 1.85:1 aspect */
.profile-3d-wrap {
  width: 100%;
  aspect-ratio: 1.85 / 1;
  max-height: clamp(240px, 48svh, 520px);
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}
.profile-3d-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; pointer-events: none;
}

/* 2D cross-section, full popup width, native 4.47:1 aspect */
.profile-2d-wrap {
  width: 100%;
  aspect-ratio: 4.47 / 1;
  max-height: clamp(120px, 22svh, 260px);
  margin-inline: auto;
  background: transparent;
  overflow: hidden;
  position: relative;
}
.profile-2d-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; pointer-events: none;
}

/* On short viewports, also collapse the hero description min-height so renders and nav row fit above the fold */
@media (max-height: 820px) {
  .profile-popup-desc { min-height: 0; }
}

/* Mobile: 2D and 3D renders break out of popup flow padding to span edge-to-edge for readability */
@media (max-width: 768px) {
  .profile-3d-wrap,
  .profile-2d-wrap {
    width: calc(100% + var(--space-md) * 2);
    margin-inline: calc(-1 * var(--space-md));
    max-height: none;
  }
}

/* Prev/Next nav row — fixed 3-column grid so layout never shifts */
.profile-popup-nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 420px;
  margin-inline: auto;
  gap: var(--space-md);
}
.profile-popup-nav-row > :first-child  { justify-self: end; }
.profile-popup-nav-row > :last-child   { justify-self: start; }
.profile-nav-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 15px);
  padding: 11px 26px;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  min-width: 130px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.2s var(--ease);
}
/* Emerald fill sweep from the left, matches .btn-emerald */
.profile-nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,107,79,0.15) 0%, transparent 100%);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.profile-nav-btn:hover::before { transform: translateX(0); }
.profile-nav-btn:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(13,107,79,0.35), inset 0 0 16px rgba(13,107,79,0.08);
  color: var(--fg);
  transform: translateY(-1px);
}
/* Press feedback, quick squish + emerald flash */
.profile-nav-btn:active {
  transform: scale(0.94);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(13,107,79,0.55), inset 0 0 24px rgba(13,107,79,0.18);
  transition:
    transform 0.08s ease-out,
    border-color 0.08s ease-out,
    box-shadow 0.08s ease-out;
}
.profile-nav-btn:focus-visible { outline: 3px solid var(--emerald-light); outline-offset: 2px; }
.profile-nav-btn[hidden] { display: block !important; visibility: hidden; }
@media (max-width: 480px) {
  .profile-nav-btn { min-width: 90px; padding: 8px 14px; font-size: 12px; }
  .popup-nav-row { gap: var(--space-sm); }
}

.profile-nav-indicator {
  color: var(--fg);
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

/* Key stats row */
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  border-top: 1px solid rgba(245,240,232,0.1);
  border-bottom: 1px solid rgba(245,240,232,0.1);
  padding: var(--space-md) 0;
}
.profile-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: clamp(10px, 1vw, 12px);
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 480px) {
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* Purlin spans + fixings blocks */
.profile-spans-block,
.profile-fixings-block {
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-top: var(--space-md);
}
.profile-block-title {
  color: var(--fg);
  margin: 0 0 var(--space-sm);
}

/* Span table */
.span-table { font-size: clamp(13px, 1.2vw, 15px); border-collapse: collapse; width: 100%; }
.span-table th, .span-table td { padding: 5px 12px 5px 0; text-align: left; }
.span-table th { color: var(--fg); font-weight: 400; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; }
.span-table td { color: var(--fg); }
.span-table thead tr { border-bottom: 1px solid rgba(245,240,232,0.08); }

/* Fixings list */
.profile-fixings-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.profile-fixings-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: var(--space-sm);
  font-size: clamp(13px, 1.2vw, 15px);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(245,240,232,0.06);
}
.fixing-desc { color: var(--fg); font-weight: 500; }
.fixing-note { color: var(--fg); text-align: right; flex-shrink: 0; font-size: clamp(11px, 1vw, 13px); }

/* Back button row — centred below nav */
.profile-popup-back-row {
  display: flex;
  justify-content: center;
}

/* Available materials */
.profile-materials-block {
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-top: var(--space-md);
}
.profile-materials-list {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--fg);
  letter-spacing: 0.04em;
}

/* Fixing patterns diagram */
.profile-fixing-pattern {
  border-top: 1px solid rgba(245,240,232,0.08);
  padding-top: var(--space-md);
}
.profile-fixing-pattern[hidden] { display: none; }
.profile-fixing-pattern-wrap {
  width: 100%;
  aspect-ratio: 760 / 720;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-top: var(--space-sm);
}
.profile-fixing-pattern-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: auto;
}

/* CTA cards — matching index page style */
.profile-popup-cta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  padding-top: var(--space-lg);
}
.profile-cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--surface);
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: 2px;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.profile-cta-card:hover {
  border-color: var(--fg);
  background: rgba(245,240,232,0.05);
}
@media (max-width: 640px) {
  .profile-popup-cta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .profile-popup-cta { grid-template-columns: 1fr; }
}

/* Close button */
.profile-popup .popup-close {
  position: fixed;
  top: calc(var(--nav-height) + var(--space-md));
  right: var(--space-md);
  z-index: 201;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */

/* ---- Group layout ---- */
.faq-groups { display: flex; flex-direction: column; gap: var(--space-lg); }

.faq-group-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.faq-group-num {
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 96px);
  font-weight: 900;
  line-height: 0.85;
  color: var(--white);
  opacity: 1;
  flex-shrink: 0;
  margin-top: 4px;
  letter-spacing: -0.02em;
}

/* ---- Rex bulldog tip ---- */
.bulldog-tip {
  display: flex;
  align-items: flex-end;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.bulldog-img {
  width: 220px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  margin-bottom: -20px;
  position: relative;
  z-index: 0;
}
.bulldog-bubble {
  position: relative;
  background: #fff;
  color: #1a1a1a;
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  flex: 0 1 720px;
  text-align: left;
}
.bulldog-bubble::before {
  content: '';
  position: absolute;
  left: -11px;
  bottom: 28px;
  border: 10px solid transparent;
  border-right-color: #fff;
  border-left: 0;
}
.bulldog-bubble p {
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  text-align: left;
  max-width: none;
}
.bulldog-bubble p + p { margin-top: var(--space-xs); }
.bulldog-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.1vw, 17px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: var(--space-xs);
  text-align: left;
}

/* ---- Q/A cards ---- */

/* ---- Glossary modal ---- */
.glossary-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glossary-modal[hidden] { display: none; }
.glossary-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.glossary-panel {
  position: relative;
  background: var(--bg);
  border: 1px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 92%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-lg);
  z-index: 1;
}
.glossary-panel h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--cream);
  margin: 0 0 var(--space-xs);
}
.glossary-intro {
  color: rgba(245,240,232,0.6);
  font-size: var(--fs-sm);
  margin: 0 0 var(--space-md);
}
.glossary-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.glossary-close:hover { opacity: 1; }
.glossary-list dl { margin: 0; }
.glossary-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: var(--space-sm);
}
.glossary-list dt:first-child { margin-top: 0; }
.glossary-list dd {
  margin: 4px 0 0 0;
  color: var(--cream);
  font-size: var(--fs-sm);
  line-height: 1.6;
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(245,240,232,0.08);
}


details.faq-item {
  margin: 0 auto var(--space-sm);
  max-width: 720px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }
summary.faq-q {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  user-select: none;
  background: var(--emerald);
  color: var(--cream);
  padding: 14px var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
summary.faq-q:hover { background: color-mix(in srgb, var(--emerald) 85%, #000); }
summary.faq-q:active { transform: scale(0.99); }
summary.faq-q::after {
  content: '▾';
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  margin-left: var(--space-sm);
  transition: transform 0.3s var(--ease);
  display: inline-block;
}
details.faq-item[open] summary.faq-q::after { transform: rotate(180deg); }
.faq-a {
  background: #111;
  color: var(--cream);
  padding: var(--space-md);
  text-align: center;
  animation: faq-slide-down 0.3s var(--ease);
}
@keyframes faq-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-a p { color: var(--cream); margin: 0 auto; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 60ch; }
.faq-a p + p { margin-top: var(--space-xs); }
.faq-a strong, .faq-a em { color: var(--cream); }
.faq-a a { color: var(--white); }
.faq-a .faq-diagram, .faq-a .faq-svg-diagram { margin-inline: auto; max-width: 60ch; }

/* ---- Diagram containers ---- */
.faq-diagram { margin-top: var(--space-md); border-radius: var(--radius-sm); overflow: hidden; border: 2px solid #333; }
.faq-diagram img { width: 100%; height: auto; display: block; }
.faq-diagram-caption { font-size: var(--fs-sm); color: var(--white); text-align: center; padding: var(--space-xs) var(--space-md); background: #1a1a1a; }

/* ---- SVG pattern diagrams ---- */
.faq-svg-diagram { background: var(--cream); border: 2px solid var(--grey-200); border-radius: var(--radius-md); padding: var(--space-md); margin-top: var(--space-md); overflow-x: auto; }
.faq-svg-diagram svg { display: block; max-width: 100%; height: auto; }
.faq-svg-diagram .faq-diagram-caption { background: var(--cream); color: var(--black); }

/* ---- Nudge strips ---- */
.faq-nudge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  background: transparent;
  padding: var(--space-md) var(--space-md);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  color: var(--cream);
  margin: var(--space-md) auto 0;
  max-width: 720px;
  text-align: center;
}
.faq-nudge span { max-width: none; }
.faq-nudge a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 17px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid var(--cream);
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.faq-nudge a:hover { color: var(--cream); border-color: var(--cream); }

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .bulldog-tip { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
  .bulldog-bubble::before { display: none; }
  .bulldog-img { width: 180px; margin-bottom: -20px; }
  .faq-q { padding: var(--space-sm) var(--space-md); }
  .faq-a { padding: var(--space-sm) var(--space-md); }
}


/* ── Quote Modal System ─────────────────────────────────────── */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-modal[hidden] { display: none; }
.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.quote-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid rgba(255,255,255,0.08);
}
.quote-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.quote-modal-header h2 {
  margin: 0;
  font-size: var(--fs-h3);
  color: var(--accent);
}
.quote-modal-close {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 2rem;
  cursor: pointer;
  padding: 0 var(--space-xs);
  line-height: 1;
  opacity: 0.6;
  transition: opacity var(--t-fast);
}
.quote-modal-close:hover { opacity: 1; }
.quote-modal-body {
  overflow-y: auto;
  padding: var(--space-lg);
  flex: 1;
}
.quote-modal-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.quote-modal-footer .btn { width: 100%; }

/* Mobile: full-screen modal */
@media (max-width: 640px) {
  .quote-modal-panel {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border: none;
  }
  .quote-modal-body { padding: var(--space-md); }
  .quote-modal-header { padding: var(--space-sm) var(--space-md); }
  .quote-modal-footer { padding: var(--space-sm) var(--space-md); }
}

/* ── Roof Spec Panel ────────────────────────────────────────── */
.roof-spec {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Item Cards (materials modal) ───────────────────────────── */
.item-card { border: 1px solid rgba(255,255,255,0.08); }
.item-card-header {
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.item-spec-label {
  font-size: var(--fs-sm);
  white-space: nowrap;
  padding-bottom: 8px;
  color: var(--fg);
}
.item-card-footer { margin-top: var(--space-sm); }

/* ── Length Row Entries ──────────────────────────────────────── */
.length-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
  flex-wrap: wrap;
}
.length-row label {
  font-size: var(--fs-sm);
  min-width: 28px;
}
.length-row input {
  font-size: var(--fs-sm);
  padding: 6px 8px;
}
.length-row-lm {
  font-size: var(--fs-sm);
  min-width: 80px;
  color: var(--fg);
}
.item-total {
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Finish Override ────────────────────────────────────────── */
.finish-override summary {
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--fg);
  transition: color var(--t-fast);
}
.finish-override summary:hover { color: var(--white); }

/* ── Quote Summary ──────────────────────────────────────────── */
.quote-summary {
  margin-bottom: var(--space-sm);
  max-height: 160px;
  overflow-y: auto;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 4px 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.summary-line span:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--fg);
}

/* ── Photo Previews ─────────────────────────────────────────── */
.photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-xs);
}

/* ── Modal nav (switch between quote types) ─────────────────── */
.modal-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Nav-card as button (quote page) ────────────────────────── */
button.nav-card {
  cursor: pointer;
  font-family: var(--font-display);
}

/* ── Public Holiday Popup ────────────────────────────────────── */
.holiday-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.holiday-popup[hidden] { display: none; }
.holiday-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}
.holiday-popup__box {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--fg);
  padding: var(--space-xl) var(--space-lg);
  max-width: 460px;
  width: calc(100% - 2rem);
  text-align: center;
}
.holiday-popup__rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: var(--space-sm) auto var(--space-md);
}
.holiday-popup__title {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: var(--space-md);
}
.holiday-popup__msg {
  color: var(--fg);
  margin-bottom: var(--space-xs);
  font-size: clamp(15px, 1.5vw, 17px);
}
.holiday-popup__reopen {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin-bottom: var(--space-lg);
}
.holiday-popup__contact {
  font-size: 14px;
  color: var(--fg);
  margin-top: calc(var(--space-sm) * -1);
  margin-bottom: var(--space-md);
}
.holiday-popup__btn {
  background: var(--fg);
  color: var(--bg);
  border: 2px solid var(--fg);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.holiday-popup__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg);
}

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

/* ============================================================
   ABOUT PAGE — CINEMATIC STORYTELLING
   ============================================================ */

/* Story sections — tighter spacing so dotted line connects text blocks */
.story-beat {
  padding-block: clamp(2rem, 5vh, 4rem);
  text-align: center;
}
/* No fade-in on about-page story text. The staged fade timing felt off
   and read like a glitch, so story-beat content is always fully visible. */
.story-beat [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.story-beat p {
  margin-inline: auto;
  max-width: 640px;
}
.story-beat .stack {
  text-align: center;
}
.story-beat .stack p {
  margin-inline: auto;
}
.story-beat h3 {
  margin-bottom: var(--space-sm);
}

/* Extra-tall hero for the about page */
.story-hero {
  padding-block: clamp(6rem, 18vh, 14rem) clamp(4rem, 10vh, 8rem);
}

/* Pull-quote style for dramatic single lines */
.story-pull {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 580px;
  margin-inline: auto;
  color: var(--fg);
}

/* Journey-path divider between story beats.
   A dashed curve that winds down the page like footprints on a map. */
.story-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 0;
}
.story-path {
  width: 4px;
  height: clamp(40px, 7vh, 80px);
  color: #fff;
  overflow: visible;
}
.story-path path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  fill: none;
}
/* Subtle forward drift along the path — feels like time moving */
@keyframes story-drift {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -16; }
}
.story-path path {
  animation: story-drift 10s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .story-path path { animation: none; }
}

/* About-page people cards side by side, centered */
.story-people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  text-align: center;
}
@media (max-width: 768px) {
  .story-people { grid-template-columns: 1fr; }
}

/* ============================================================
   Product catalog + detail pages
   ============================================================ */

/* --- Table of contents -------------------------------------------------- */
.product-toc-section { padding-block: var(--space-md) var(--space-lg); }
.product-toc {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid rgba(245,240,232,0.18);
  border-radius: var(--radius-md);
  background: rgba(245,240,232,0.02);
  text-align: left;
}
.product-toc-label {
  font-size: var(--fs-micro);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 var(--space-sm) 0;
}
.product-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 24px;
}
.product-toc-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
  font-size: var(--fs-body);
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.product-toc-list a:hover,
.product-toc-list a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--emerald-light);
  outline: none;
}
.product-toc-count {
  font-size: var(--fs-small);
  color: var(--white);
}
@media (max-width: 900px) {
  .product-toc-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-toc-list { grid-template-columns: 1fr; }
  .product-toc { padding: var(--space-md); }
}

/* --- Category sections -------------------------------------------------- */
.product-cat { padding-block: var(--space-lg); scroll-margin-top: 90px; }
.product-cat + .product-cat { padding-top: 0; }
.product-cat-head {
  border-top: 1px solid rgba(245,240,232,0.18);
  padding-top: var(--space-md);
  margin-bottom: var(--space-md);
  text-align: center;
}
.product-cat-head .eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  letter-spacing: 0.08em;
  color: var(--fg);
  margin-bottom: 6px;
}
.product-cat-blurb {
  margin: 0 auto;
  font-size: var(--fs-body);
  color: var(--white);
  max-width: 60ch;
}

/* --- Product list rows -------------------------------------------------- */
.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(245,240,232,0.10);
  text-align: left;
}
.product-row:last-child { border-bottom: none; }
.product-row-body { min-width: 0; }
.product-row-name {
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.product-row-name a {
  color: var(--fg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.product-row-name a:hover,
.product-row-name a:focus-visible {
  color: var(--white);
  border-bottom-color: var(--emerald-light);
  outline: none;
}
.product-row-desc {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--fg);
  max-width: 65ch;
}
.product-row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: var(--fs-small);
  color: var(--fg);
  border: 1px solid rgba(245,240,232,0.25);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.product-row-link:hover,
.product-row-link:focus-visible {
  border-color: var(--emerald-light);
  color: var(--white);
  box-shadow: 0 0 12px rgba(52,211,153,0.25);
  outline: none;
}
@media (max-width: 640px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .product-row-link { justify-self: start; }
}

/* --- Detail page spec list --------------------------------------------- */
.product-spec-list { text-align: left; }
.product-spec-list > div {
  padding-block: 10px;
  border-bottom: 1px solid rgba(245,240,232,0.10);
  font-size: var(--fs-body);
}
.product-spec-list > div:last-child { border-bottom: none; }
.product-spec-list .label {
  display: block;
  font-size: var(--fs-micro);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.product-spec-list code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: var(--fs-small);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(245,240,232,0.06);
  color: var(--fg);
}

/* --- Individual product detail page ------------------------------------ */
.product-detail-head { text-align: center; }
.product-detail-head .lead {
  margin-inline: auto;
  max-width: 60ch;
}
.product-detail-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}
.product-detail-block {
  width: 100%;
  max-width: 560px;
  text-align: center;
}
.product-detail-block h3 {
  margin-bottom: var(--space-sm);
}
.product-detail-block p {
  margin-inline: auto;
  max-width: 55ch;
}
.product-detail-cta { text-align: center; padding-block: var(--space-lg); }


/* ============================================================
   Warranty page, coverage table and helpers.
   ============================================================ */
.warranty-table-wrap { overflow-x:auto; margin:var(--space-lg) 0; }
.warranty-coverage {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  min-width:520px;
}
.warranty-coverage th,
.warranty-coverage td {
  padding:10px 12px;
  border-bottom:1px solid rgba(15, 81, 50, 0.15);
  text-align:left;
  color: var(--fg);
}
.warranty-coverage thead th {
  background: var(--emerald);
  color: #fff;
  font-weight:600;
}
.warranty-coverage tbody th {
  background: transparent;
  color: var(--fg);
  font-weight:600;
}
.warranty-note { color: var(--white); font-size:16px; font-weight:600; max-width:60ch; }
.warranty-download a { color: var(--white); font-weight:600; }
.warranty-voids { line-height:1.7; }
.env-list {
  display:grid;
  gap:var(--space-lg);
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  margin-top:var(--space-md);
}
.env-list h3 { margin:0 0 var(--space-xs); }
.cta-row { display:flex; justify-content:center; gap:var(--space-md); flex-wrap:wrap; margin-top:var(--space-md); }

/* ============================================================
   COMPONENTS — WARRANTY APPLY FORM
   ============================================================ */
.warranty-form h3 {
  margin: 0 0 var(--space-sm);
}
.warranty-choices {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}
.warranty-choices-inline {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.warranty-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--black);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.warranty-choice:hover {
  border-color: var(--emerald);
}
.warranty-choice:has(input:checked) {
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px var(--emerald-light) inset;
}
.warranty-choice input {
  margin-top: 3px;
  accent-color: var(--emerald);
}
.warranty-choice-label {
  color: var(--fg);
  font-size: var(--fs-body);
  line-height: 1.45;
}
.warranty-group {
  margin-top: var(--space-md);
}
.warranty-group-label {
  margin: 0 0 var(--space-xs);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.warranty-hint {
  margin: var(--space-xs) 0 0;
  color: var(--white);
  font-size: var(--fs-small);
}
.warranty-hint a {
  color: var(--white);
  font-weight: 600;
}
.warranty-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: var(--space-lg);
  padding: 14px 16px;
  border: 2px solid var(--black);
  background: var(--white);
  cursor: pointer;
}
.warranty-consent input {
  margin-top: 3px;
  accent-color: var(--emerald);
}
.warranty-consent span {
  color: var(--fg);
  line-height: 1.5;
}
.warranty-consent a {
  color: var(--white);
  font-weight: 600;
}
.product-row .btn-text.remove-row {
  justify-self: start;
  margin-top: calc(-1 * var(--space-sm));
}
.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.btn-text:hover,
.btn-text:focus-visible {
  color: var(--white);
}
