/* ============================================================
   Optimal Health - "elevated wellness" design system (per client mockup).
   LIGHT warm-ivory base with dark text; deep-forest-green bands + charcoal
   hero/contact carry ivory text (see the dark-section block at the end, which
   remaps the ink/line custom properties). Champagne-gold small headers, forest-
   green buttons. Manrope + Roboto.
   ============================================================ */

:root {
  /* Surfaces (light, warm-ivory base per the client mockup) */
  --bg:        #F1EEE6;  /* warm ivory - page base */
  --surface:   #E7E3D7;  /* warm light - cards / image panels */
  --surface-2: #DCD7C8;  /* slightly deeper light panel */
  --line:      #D9D3C4;  /* hairline on light */
  --line-soft: #E6E1D4;

  /* Ink (dark text on the light base) */
  --ink:       #1c2a23;  /* deep forest near-black - primary text */
  --ink-2:     #44524a;  /* secondary text */
  --ink-3:     #717e72;  /* muted text / labels */

  /* Dark sections (deep-forest bands + charcoal) carry light text */
  --dark:      #2a3e38;  /* Deep Forest - bands */
  --char:      #181d1c;  /* Charcoal - hero / contact */
  --ink-inv:   #f5f2eb;  /* Ivory Sand - text on dark */
  --ink-inv-2: #d6d0c7;  /* Warm Stone - secondary text on dark */
  --line-inv:  rgba(245, 242, 235, 0.16);  /* hairline on dark */

  /* Accent family (champagne gold for small headers + forest green for buttons) */
  --brand:       #2a3e38;  /* Deep Forest - nav / large fills */
  --accent:      #b79d6d;  /* Champagne Gold - eyebrows, tags, small links, icons */
  --accent-deep: #8a6b4b;  /* Brushed Bronze - gold hover */
  --accent-soft: rgba(183, 157, 109, 0.16);  /* gold tint - tags / badges */
  --accent-line: rgba(183, 157, 109, 0.5);   /* gold hairline */
  --evergreen:   #2f4a3d;  /* Rich Evergreen - secondary green panels */
  --green:       #436b4c;  /* forest green - primary buttons / interactive fills (per mockup) */
  --green-deep:  #2f5238;  /* darker forest - button hover (keeps white text high-contrast) */

  --sans: "Manrope", system-ui, sans-serif;        /* headings, labels, UI */
  --body: "Roboto", system-ui, sans-serif;          /* body copy */
  --mono: "IBM Plex Mono", ui-monospace, monospace; /* spec / legal numerals */

  --maxw: 1240px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--accent); color: #181d1c; }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.07; letter-spacing: -0.02em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.eyebrow-muted { color: var(--ink-3); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--radius);
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn svg { display: block; }
.btn-primary { background: var(--green); color: var(--ink-inv); }
.btn-primary:hover { background: var(--green-deep); color: var(--ink-inv); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-glass {
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255,255,255,0.2); }

/* ---------------- Fields ---------------- */
.field {
  width: 100%; font-family: var(--sans); font-size: 15px;
  padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field::placeholder { color: var(--ink-3); }
/* Honeypot: off-screen, kept out of tab order + AT; only bots complete it. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; font-size: 14px; color: #b3402f; font-weight: 600; }
button[disabled] { opacity: .7; cursor: progress; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Skip link ---------------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #181d1c; padding: 10px 16px; z-index: 1000; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brand);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, background .3s, border-color .3s;
}
.site-header.solid {
  background: var(--brand);
  box-shadow: 0 4px 18px -8px rgba(15, 42, 29, 0.45);
  border-bottom: 1px solid rgba(15, 42, 29, 0.14);
}
/* Overlay mode (pages with a dark hero): transparent over the hero, fades to
   green once the page is scrolled and the .solid class is toggled on. */
.site-header.overlay { background: transparent; }
.site-header.overlay.solid { background: var(--brand); }
.site-header.overlay + main { margin-top: -70px; }
/* Show only the OH monogram while the nav is transparent over the hero; reveal the
   "Optimal Health" wordmark once it becomes the solid sticky bar. */
.site-header.overlay:not(.solid) .brand .word { display: none; }
/* faint top scrim so the white logo + nav always read over the hero image */
.site-header.overlay:not(.solid)::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 42, 29, 0.34), transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { height: 25px; width: auto; display: block; color: #fff; }
.brand .word { font-family: var(--sans); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: #fff; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 14px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.9); transition: color .2s; }
.nav-link:hover { color: #fff; }
.nav-link.current { color: #fff; }
/* Call button is a dark-green accent on the lighter primary nav */
.site-header .desktop-nav .btn-primary { margin-left: 12px; background: var(--green); color: var(--ink-inv); }
.site-header .desktop-nav .btn-primary:hover { background: var(--green-deep); color: var(--ink-inv); transform: translateY(-1px); }
.mobile-toggle { display: none; background: none; border: none; color: #fff; padding: 6px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 10px 20px 22px; background: var(--bg); }
.mobile-menu.open { display: block; }
.mobile-menu a.m-link { display: block; padding: 13px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { padding: 64px 32px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .lockup { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .footer-logo { height: 22px; color: var(--ink); }
.footer-brand .word { font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.footer-brand p { font-size: 14.5px; color: var(--ink-2); max-width: 320px; }
.footer-col h4 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #b79d6d; font-weight: 500; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-legal {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--ink-3); font-family: var(--mono);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Product card
   ============================================================ */
.product-card {
  display: block; cursor: pointer; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; height: 100%;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px oklch(0.4 0.02 50 / 0.4); border-color: var(--accent-line); }
.product-card .thumb { aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card .thumb.contain img { object-fit: contain; padding: 20px; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body { padding: 20px 20px 22px; }
.product-card .tags { display: flex; gap: 7px; margin-bottom: 11px; flex-wrap: wrap; }
.product-card .tags .eyebrow { font-size: 10.5px; }
.product-card h3 { font-size: 21px; margin-bottom: 7px; }
.product-card .short { font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px; }
.product-card .view { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--accent); }

/* ============================================================
   Hero (home + about)
   ============================================================ */
.hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line);
}
.hero.home { min-height: min(88vh, 800px); }
.hero.about { min-height: min(72vh, 620px); }
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .scrim-h { position: absolute; inset: 0; background: linear-gradient(95deg, oklch(0.17 0.012 50 / 0.82) 0%, oklch(0.17 0.012 50 / 0.5) 44%, oklch(0.17 0.012 50 / 0.08) 100%); }
.hero .scrim-v { position: absolute; inset: 0; background: linear-gradient(0deg, oklch(0.17 0.012 50 / 0.55) 0%, transparent 42%); }
.hero.about .scrim-v { background: linear-gradient(0deg, oklch(0.17 0.012 50 / 0.82) 0%, oklch(0.17 0.012 50 / 0.35) 55%, oklch(0.17 0.012 50 / 0.15) 100%); }
.hero .hero-content { position: relative; width: 100%; color: #fff; }
.hero.home .hero-content { padding-top: 88px; padding-bottom: 60px; }
.hero.about .hero-content { padding: 0 32px 60px; }
.hero .inner { max-width: 760px; }
.hero.about .inner { max-width: 940px; }
.hero h1 { color: #fff; }
.hero.home h1 { font-size: clamp(42px, 7vw, 92px); margin-bottom: 22px; line-height: 1.02; }
.hero.about h1 { font-size: clamp(36px, 5.4vw, 70px); margin-bottom: 22px; }
.hero .eyebrow { color: var(--accent); }
.hero.home .eyebrow { margin-bottom: 22px; }
.hero.about .eyebrow { margin-bottom: 16px; }
.hero .lead { font-size: 20px; color: rgba(255,255,255,0.9); max-width: 640px; margin-bottom: 34px; line-height: 1.5; }
.hero.about .lead { font-size: 19px; max-width: 620px; margin-bottom: 0; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .stats { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero .stats .num { font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: #fff; }
.hero .stats .cap { font-size: 13px; color: rgba(255,255,255,0.7); }
/* Centred home hero */
.hero.home { align-items: center; }
.hero.home .scrim-h { background: linear-gradient(180deg, rgba(15, 42, 29, 0.58) 0%, rgba(15, 42, 29, 0.42) 100%); }
.hero.home .hero-content { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.hero.home .inner { max-width: 1000px; margin-left: auto; margin-right: auto; }
.hero.home h1 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.05; }
/* Large "OPTIMAL HEALTH" wordmark above the hero copy */
.hero .hero-wordmark { display: block; width: clamp(260px, 38vw, 480px); height: auto; margin-bottom: 26px; }
.hero.home .hero-wordmark { margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .hero .hero-wordmark { width: min(78vw, 340px); margin-bottom: 22px; } }
.hero.home .lead { max-width: 640px; margin-left: auto; margin-right: auto; font-size: 18px; }
.hero.home .cta-row { justify-content: center; }
.hero.home .stats { justify-content: center; }

/* ============================================================
   Sections
   ============================================================ */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--bg); }
.section { padding: 80px 32px; }
.anchor { scroll-margin-top: 80px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar .pic { border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 4; margin-bottom: 20px; border: 1px solid var(--line); }
.pillar .pic img { width: 100%; height: 100%; object-fit: cover; }
.pillar .eyebrow { margin-bottom: 10px; }
.pillar h2 { font-size: 27px; margin-bottom: 10px; }
.pillar p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; gap: 44px; } }

/* Featured */
.feat-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.feat-pic { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 20px; }
.feat-pic img { width: 100%; height: 100%; object-fit: contain; }
.feat-body .eyebrow { margin-bottom: 16px; }
.feat-body h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.feat-body .blurb { font-size: 17px; color: var(--ink-2); margin-bottom: 28px; max-width: 460px; }
.spec-dl { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-bottom: 32px; }
.spec-dl .row { padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.spec-dl dt { align-self: center; }
.spec-dl dd { font-size: 15px; font-weight: 600; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Science */
.intro-block { max-width: 900px; margin-bottom: 52px; }
.intro-block .eyebrow { margin-bottom: 16px; }
.intro-block h2 { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 18px; }
.intro-block p { font-size: 17px; color: var(--ink-2); }
.intro-block p + p { margin-top: 16px; }
.cell-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.cell { padding: 32px 28px 36px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.cell:last-child { border-right: none; }
.cell .badge { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.cell h3 { font-size: 22px; margin-bottom: 10px; }
.cell p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 820px) { .cell-grid { grid-template-columns: 1fr; } .cell { border-right: none; } }

/* Product rail / shop grids */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.rail-head .intro { max-width: 560px; }
.rail-head .eyebrow { margin-bottom: 14px; }
.rail-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 920px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* Trusted */
.trusted-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 56px; }
.trusted-row .logo { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); background: var(--surface); opacity: 1; transition: transform .3s var(--ease), box-shadow .3s; }
.trusted-row .logo:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(15, 42, 29, 0.4); }
.trusted-row .logo img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.quote-pic { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: oklch(0.32 0.006 50); border: 1px solid var(--line); }
.quote-pic img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.15); }
.quote-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,42,29,0.5) 0%, rgba(15,42,29,0.16) 48%, rgba(15,42,29,0) 78%); pointer-events: none; }
.quote-body .eyebrow { margin-bottom: 22px; color: var(--accent); }
.quote-body blockquote { font-family: var(--sans); font-size: clamp(23px, 3vw, 33px); line-height: 1.34; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 28px; }
.quote-meta { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.quote-meta .name { font-size: 17px; font-weight: 600; }
.quote-meta .role { font-size: 14px; color: oklch(0.72 0.006 50); }
.quote-nav { display: flex; gap: 8px; }
.quote-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid oklch(0.4 0.006 50); background: transparent; color: var(--bg); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.quote-bars { display: flex; gap: 6px; margin-top: 24px; }
.quote-bars button { height: 3px; flex: 1; border: none; border-radius: 2px; padding: 0; background: oklch(0.4 0.006 50); transition: background .3s; }
.quote-bars button.active { background: #ffffff; }
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.faq-left .eyebrow { margin-bottom: 16px; }
.faq-left h2 { font-size: clamp(28px, 3.4vw, 42px); }
.faq-left p { font-size: 16px; color: var(--ink-2); margin-top: 16px; max-width: 320px; }
.faq-left .btn { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq-q .qtext { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); }
.faq-q .sign { color: var(--accent); flex-shrink: 0; display: flex; }
.faq-q .sign .minus { display: none; }
.faq-item.open .faq-q .sign .plus { display: none; }
.faq-item.open .faq-q .sign .minus { display: block; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { font-size: 16px; color: var(--ink-2); padding-bottom: 24px; max-width: 560px; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-left .eyebrow { margin-bottom: 16px; }
.contact-left h2 { font-size: clamp(30px, 3.8vw, 50px); margin-bottom: 20px; }
.contact-left p { font-size: 17px; color: var(--ink-2); max-width: 420px; margin-bottom: 32px; }
.call-block { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.call-block .circle { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--ink-inv); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.call-block .label { display: block; font-size: 13px; color: var(--ink-3); }
.call-block .num { font-family: var(--sans); font-weight: 700; font-size: 27px; letter-spacing: -0.02em; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.form-card form { display: grid; gap: 14px; }
.form-card .eyebrow { margin-bottom: 0; }
.success { text-align: center; padding: 40px 12px; }
.success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.success h3 { font-size: 24px; margin-bottom: 10px; }
.success p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   Shop page
   ============================================================ */
.page-head { border-bottom: 1px solid var(--line); }
.page-head .inner { padding: 56px 32px 40px; }
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; margin-bottom: 22px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .here { color: var(--ink); }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 16px; }
.page-head .lead { font-size: 18px; color: var(--ink-2); max-width: 560px; }

.filter-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 32px;
  position: sticky; top: 70px; z-index: 20; background: var(--bg); padding: 16px 0; border-bottom: 1px solid var(--line-soft);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: 100px; font-size: 14px; font-weight: 600; font-family: var(--sans); border: 1px solid var(--line); background: transparent; color: var(--ink-2); transition: all .2s var(--ease); }
.chip.active { border-color: var(--green); background: var(--green); color: var(--ink-inv); }
.search-wrap { position: relative; min-width: 220px; }
.search-wrap .field { padding-right: 38px; }
.result-count { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 24px; letter-spacing: 0.05em; }
.empty { padding: 80px 0; text-align: center; color: var(--ink-3); }
.empty p { font-family: var(--sans); font-weight: 600; font-size: 26px; letter-spacing: -0.02em; color: var(--ink-2); margin-bottom: 8px; }
/* The shop JS toggles .hidden on each card's wrapper element, so hide that. */
.product-card.hidden, .card-grid > .hidden { display: none; }

/* ============================================================
   Science / research database
   ============================================================ */
.study-groups { display: flex; flex-direction: column; gap: 44px; margin-top: 8px; }
.study-cat {
  display: flex; align-items: center; gap: 12px; font-size: 22px;
  padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.study-count {
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; line-height: 1;
}
.research-bar { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin: 4px 0 16px; }
.research-bar select.field { cursor: pointer; }
.research-count { margin-bottom: 6px; }
.study-list { display: flex; flex-direction: column; }
.study { border-bottom: 1px solid var(--line-soft); }
.study.hidden { display: none; }
.study:last-child { border-bottom: none; }
.study-tag {
  flex: 0 0 auto; align-self: flex-start; white-space: nowrap;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  border-radius: 999px; padding: 4px 11px; margin-top: 2px;
}
@media (max-width: 680px) {
  .research-bar { grid-template-columns: 1fr; }
  .study-tag { order: -1; }
}
.study-link {
  display: flex; gap: 20px; padding: 18px 4px; align-items: flex-start;
  color: inherit; border-radius: 8px; transition: background .2s var(--ease);
}
.study-link:hover { background: var(--surface); }
.study-yr {
  flex: 0 0 auto; font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--ink-3); width: 48px; padding-top: 2px;
}
.study-main { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; }
.study-title { font-family: var(--sans); font-weight: 600; font-size: 16.5px; color: var(--ink); line-height: 1.35; transition: color .2s; }
.study-link:hover .study-title { color: var(--accent); }
.study-meta { font-size: 14px; color: var(--ink-2); }
.study-view {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--sans); font-weight: 600; font-size: 13px; color: var(--accent);
  padding-top: 3px; opacity: 0; transition: opacity .2s;
}
.study-link:hover .study-view { opacity: 1; }
@media (max-width: 680px) {
  .study-view { display: none; }
}
@media (max-width: 560px) {
  .study-link { flex-wrap: wrap; gap: 6px; }
  .study-yr { width: auto; padding-top: 0; }
}

/* ============================================================
   Product detail
   ============================================================ */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-pic { position: sticky; top: 92px; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 36px; }
.pd-pic img { width: 100%; height: 100%; object-fit: contain; }
/* Product gallery: main stage + thumbnail slider, opens the lightbox */
.pd-gallery { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.pd-stage { border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 28px; cursor: zoom-in; }
.pd-stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.pd-stage:hover img { transform: scale(1.02); }
.pd-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.pd-thumb { flex: 0 0 74px; height: 74px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); cursor: pointer; }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumb.active { border-color: var(--accent); border-width: 2px; }
@media (max-width: 860px) { .pd-gallery { position: static; } }
.pd-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.pd-body h1 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 18px; }
.pd-body .blurb { font-size: 18px; color: var(--ink-2); margin-bottom: 30px; line-height: 1.55; }
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.pd-specs { margin-bottom: 40px; }
.pd-specs .eyebrow { margin-bottom: 4px; }
.pd-specs dl { border-top: 1px solid var(--line); }
.pd-specs .row { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.pd-specs dt { font-size: 15px; color: var(--ink-2); }
.pd-specs dd { font-size: 15px; font-weight: 600; font-family: var(--mono); }
.pd-checklist { display: grid; gap: 12px; }
.pd-checklist .item { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.pd-checklist .item .ic { color: var(--accent); flex-shrink: 0; display: flex; }
.enquire-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquire-form .full { grid-column: 1 / -1; }
@media (max-width: 860px) { .pd-grid { grid-template-columns: 1fr; gap: 32px; } .pd-pic { position: static; } }
@media (max-width: 600px) { .enquire-form { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about-grid h2 { font-size: clamp(28px, 3.4vw, 42px); }
.about-grid .body { font-size: 17px; color: var(--ink-2); display: grid; gap: 18px; }
.vals-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.vals-cell { padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vals-cell:last-child { border-right: none; }
.vals-cell .num { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.vals-cell h3 { font-size: 23px; margin-bottom: 10px; }
.vals-cell p { font-size: 15px; color: var(--ink-2); }
.center-cta { padding: 72px 32px; text-align: center; }
.center-cta h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.center-cta p { font-size: 17px; color: var(--ink-2); max-width: 480px; margin: 0 auto 28px; }
.center-cta .cta-row { justify-content: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } .vals-grid { grid-template-columns: 1fr; } .vals-cell { border-right: none; } }

/* ============================================================
   Rich product content
   ============================================================ */
/* Key features (product top column) */
.key-features { margin: 4px 0 36px; }
.key-features .eyebrow { margin-bottom: 14px; }
.key-features ul { list-style: none; display: grid; gap: 14px; }
.key-features li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.key-features li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--accent); border-radius: 2px; }
.key-features li strong { color: var(--ink); font-weight: 600; }

/* Big stats row (clinical + science figures) */
.bigstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.bigstats.two { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
.bigstat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.bigstat .num { font-family: var(--sans); font-weight: 700; font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.bigstat .num .unit { font-size: 0.4em; font-weight: 600; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.bigstat .lbl { font-size: 14px; color: var(--ink-2); margin-top: 12px; max-width: 280px; }
.science-figs { margin: 8px 0 48px; }
@media (max-width: 700px) { .bigstats { grid-template-columns: 1fr 1fr; } }

/* Science steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 30px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 820px) { .steps-grid { grid-template-columns: 1fr 1fr; } .step:nth-child(2n) { border-right: none; } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } .step { border-right: none; } }

/* Callout */
.callout { margin-top: 40px; background: var(--accent-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 14px; padding: 24px 28px; font-size: 16.5px; color: var(--ink); line-height: 1.6; }

/* Outcomes */
.outcomes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.outcome-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.outcome-card h3 { font-size: 22px; margin-bottom: 10px; }
.outcome-card p { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.outcome-stats { display: flex; gap: 36px; border-top: 1px solid var(--line); padding-top: 20px; }
.o-stat .num { display: block; font-family: var(--sans); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: var(--accent); }
.o-stat .lbl { font-size: 13px; color: var(--ink-2); }
.footnote { font-size: 12.5px; color: var(--ink-3); margin-top: 28px; max-width: 760px; line-height: 1.6; font-style: italic; }
@media (max-width: 760px) { .outcomes-grid { grid-template-columns: 1fr; } }

/* Experience timeline */
.timeline { list-style: none; margin-top: 8px; border-left: 2px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding: 0 0 36px 28px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.tl-item:last-child { padding-bottom: 0; }
.tl-time .t { display: block; font-family: var(--sans); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.tl-time .ata { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 100px; }
.tl-body h3 { font-size: 19px; margin-bottom: 8px; }
.tl-body p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; max-width: 600px; }
.tl-body .feel { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; }
.recap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.recap-col .eyebrow { margin-bottom: 18px; }
@media (max-width: 760px) { .tl-item { grid-template-columns: 92px 1fr; gap: 16px; } .recap-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Gallery + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-item { padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; cursor: pointer; display: block; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(20,18,16,0.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 14px; }
.lightbox button { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.4); color: #fff; border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; transition: background .2s; backdrop-filter: blur(6px); }
.lightbox button:hover { background: rgba(255,255,255,0.22); }
.lb-close { position: absolute; top: 22px; right: 24px; width: 44px; height: 44px; font-size: 20px; }
.lb-prev { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lightbox { padding: 16px; } }

/* Lifestyle image band (local product pages) */
.lifestyle-band { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--surface); }
.lifestyle-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .lifestyle-band { aspect-ratio: 4 / 3; } }

/* Applications / spectrum / sectors grid (cells without icon badge) */
.apps-grid .cell { padding-top: 30px; }
.apps-grid .cell h3 { font-size: 19px; margin-bottom: 8px; }

/* Prose (legal / support pages) */
.prose { max-width: 760px; }
.prose .updated { font-family: var(--mono); font-size: 13px; color: var(--ink-3); letter-spacing: 0.04em; margin-bottom: 28px; }
.prose h2 { font-size: 24px; margin: 38px 0 12px; }
.prose h2:first-of-type { margin-top: 8px; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose p { font-size: 16.5px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose li { font-size: 16.5px; color: var(--ink-2); margin-bottom: 7px; line-height: 1.6; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-deep); }

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

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 20px; }
  .footer-inner { padding: 56px 20px 36px; }
}

/* ===== Home/About update: shop-by-type, callout, buying, coloured testimonials, contact pop ===== */
.pillar.type-card { display: block; color: inherit; cursor: pointer; transition: transform .25s var(--ease); }
.pillar.type-card:hover { transform: translateY(-4px); }
.pillar .pic img { transition: transform .6s var(--ease); }
.pillar.type-card:hover .pic img { transform: scale(1.04); }
/* Show the whole product (zoomed out) on the matching card surface */
.type-card .pic { background: var(--surface); }
.type-card .pic img { object-fit: contain; padding: 6px; }
.pillar .view { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); }

.steps-grid.steps-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .steps-grid.steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps-grid.steps-5 { grid-template-columns: 1fr 1fr; } }

/* Coloured testimonial band (greens) */
.band-green { background: var(--evergreen); color: var(--ink); }

/* Make the enquiry section pop */
.contact-band { background: var(--surface-2); }
.form-card.pop { box-shadow: 0 30px 70px -34px rgba(15, 42, 29, 0.55); border-top: 4px solid var(--accent); }

/* Image-card callout titles (Technology / Science / Convenience) */
.pillar h3 { font-size: 22px; margin-bottom: 8px; letter-spacing: -0.02em; }
.pillar .eyebrow { margin: 0 0 8px; }

/* Explore the features (benefit carousel) */
.feature-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feature-card:hover img { transform: scale(1.05); }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,42,29,0.82) 0%, rgba(15,42,29,0.2) 42%, rgba(15,42,29,0) 72%); }
.feature-overlay { position: absolute; inset: 0 0 auto 0; padding: 22px; z-index: 1; }
.feature-overlay .eyebrow { color: var(--accent); margin-bottom: 6px; }
.feature-overlay h3 { font-size: 21px; color: #fff; line-height: 1.18; letter-spacing: -0.01em; }
@media (max-width: 900px) {
  .feature-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .feature-card { scroll-snap-align: start; }
}

/* Mobile QC: collapse multi-column stat rows so they aren't cramped on phones */
@media (max-width: 560px) {
  .bigstats { grid-template-columns: 1fr 1fr !important; }
}

/* Enquiry type (Personal / Business) */
.enquiry-type { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.enquiry-type .et-label { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.enquiry-type .radio { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); cursor: pointer; }
.enquiry-type .radio input { accent-color: var(--accent); width: 17px; height: 17px; cursor: pointer; }

/* ============================================================
   Light-base theme (per client mockup): the page is warm ivory with
   dark text; these sections invert to deep-forest / charcoal with light
   text. Remapping the ink/line custom properties flips all descendants.
   ============================================================ */
.band, .band-green, .contact-band, .site-footer {
  color: var(--ink-inv);
  --ink: #f5f2eb;
  --ink-2: #d6d0c7;
  --ink-3: #b9c0b3;
  --line: rgba(245, 242, 235, 0.16);
  --line-soft: rgba(245, 242, 235, 0.09);
}
.band { background: var(--dark); border-top-color: var(--line-inv); border-bottom-color: var(--line-inv); }
.band-green { background: var(--evergreen); }
.contact-band { background: linear-gradient(rgba(24,29,28,0.82), rgba(24,29,28,0.82)), url("../img/products/hyperbaric-blur.png") center / cover no-repeat; }
.site-footer { background: var(--dark); border-top-color: var(--line-inv); }

/* Light islands inside dark sections keep dark ink */
/* Light cards inside dark sections reset ink/line back to dark so their text stays readable. */
.form-card, .outcome-card { --ink: #1c2a23; --ink-2: #44524a; --ink-3: #717e72; --line: #D9D3C4; color: var(--ink); }
.form-card { background: var(--bg); }
.band .feat-pic { background: var(--surface); }

/* Ghost button on dark sections: dark text on the ivory hover fill */
.band .btn-ghost:hover, .contact-band .btn-ghost:hover, .site-footer .btn-ghost:hover { color: var(--char); }

/* WellFit gallery: the booth shots are portrait, so bias the thumb crop upward
   to keep the subject's head in frame. */
.gallery-wellfit .gal-item img { object-position: center 26%; }

/* Contact: "See our equipment in action" - two-column text + image */
.visit-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.visit-body .eyebrow { margin-bottom: 16px; }
.visit-body h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 18px; }
.visit-body p { font-size: 17px; color: var(--ink-2); margin-bottom: 16px; max-width: 520px; }
.visit-body p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.visit-body .btn { margin-top: 10px; }
.visit-pic { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.visit-pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   Cookie / tracking consent (floating banner + preferences modal)
   ============================================================ */
.cc-link { background: none; border: none; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; }
.cookie-consent[hidden] { display: none; }
.cc-inner {
  max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap; background: #F1EEE6; color: #1c2a23; border: 1px solid #D9D3C4;
  border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(15, 42, 29, 0.45); padding: 20px 22px;
}
.cc-text { flex: 1 1 340px; }
.cc-text strong { font-family: var(--sans); font-size: 16px; display: block; margin-bottom: 4px; }
.cc-text p { font-size: 14px; color: #44524a; line-height: 1.5; }
.cc-text a { color: #8a6b4b; text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cc-actions .btn { font-size: 14px; padding: 11px 18px; }
@media (max-width: 640px) { .cc-actions { width: 100%; } .cc-actions .btn { flex: 1 1 auto; justify-content: center; } }

.cc-modal { position: fixed; inset: 0; z-index: 400; background: rgba(24, 29, 28, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.cc-modal[hidden] { display: none; }
.cc-modal-card {
  background: #F1EEE6; color: #1c2a23; border-radius: 16px; max-width: 520px; width: 100%;
  padding: 30px 28px; box-shadow: 0 30px 70px -24px rgba(15, 42, 29, 0.6);
}
.cc-modal-card h3 { font-size: 24px; margin-bottom: 10px; }
.cc-modal-card > p { font-size: 14.5px; color: #44524a; margin-bottom: 20px; line-height: 1.55; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-top: 1px solid #D9D3C4; }
.cc-row .cc-cat strong { display: block; font-family: var(--sans); font-size: 15px; }
.cc-row .cc-cat small { display: block; font-size: 13px; color: #717e72; margin-top: 2px; }
.cc-row input { width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.cc-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
@media (max-width: 480px) { .cc-modal-actions { flex-direction: column-reverse; } .cc-modal-actions .btn { width: 100%; justify-content: center; } }

/* Floating "Cookie settings" button (persists after a choice; click opens the panel) */
.cc-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 290;
  height: 46px; width: 46px; padding: 0; border: none; border-radius: 999px;
  background: var(--dark); color: var(--ink-inv); cursor: pointer;
  display: inline-flex; align-items: center; overflow: hidden; white-space: nowrap;
  box-shadow: 0 10px 26px -12px rgba(15, 42, 29, 0.55);
  transition: width .3s var(--ease), box-shadow .2s;
}
.cc-fab[hidden] { display: none; }
.cc-fab svg { width: 20px; height: 20px; margin: 0 13px; flex: none; }
.cc-fab-label { font-family: var(--sans); font-weight: 600; font-size: 14px; padding-right: 18px; opacity: 0; transition: opacity .2s; }
.cc-fab:hover, .cc-fab:focus-visible { width: 176px; box-shadow: 0 14px 30px -12px rgba(15, 42, 29, 0.6); }
.cc-fab:hover .cc-fab-label, .cc-fab:focus-visible .cc-fab-label { opacity: 1; }
