/* Prime Wellness Chiropractic Design System — shared tokens & components
   Extracted from primewellnesschiropractic.com.au (real CSS, real photography, real logo), 2026-05-08.
   Stack: Webflow site (Inter Tight body/display + Lora italic accent — exact stack from
          `prime-wellness-chiropractic.webflow.*.min.css`).
   Brand: Prime Wellness Chiropractic — High-Performance Chiropractic in Penshurst (Sydney, AU).
          Postural correction and spinal care for gym-goers, athletes, and professionals.
          Services: low back pain, neck pain & headaches, sciatica & nerve pain, postural correction,
          hip & pelvic alignment, sports injury treatment, TMJ jaw pain, shoulder & rotator cuff.
   Audience: gym-goers, weekend athletes, desk-bound professionals, postural-pain sufferers
             across Sydney's south (Penshurst, Hurstville, St George area).
   Voice: "High-Performance Chiropractic" / "Get back to the life you love." /
          "Evidence-based · One-on-one · Modern clinic." */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;1,400;1,500;1,600&display=swap');

:root {
  /* --------------------------------------------------------------
     COLOR — extracted from `prime-wellness-chiropractic.webflow.*.min.css` via grep
     of `--colors--*` Webflow custom properties (Webflow exports them verbatim
     from the design tool, which is the canonical source). Live tokens, NOT renamed:
       --colors--primary-color:   #2f5d50   ← deep forest / clinical-confident green
       --colors--secondary-color: #6fae8a   ← mint sage / fresh-recovery green
       --colors--primary-shade:   #6fae8a   ← (used as button-icon-circle bg, hero card bg)
       --colors--black-shade:     #3b3b3b   ← warm charcoal body text
       (logo files literally named "charcoal-mint")
     The signature move: a clinical-evidence-based deep-forest green paired with a
     softer mint-sage. Reads as "modern allied health" without going pharma-blue or
     wellness-pastel. The deep forest sits on a mostly-white surface and only the
     mint-sage is allowed to brighten — so the brand never gets too clinical-cold. */

  /* PRIMARY brand greens — Prime Wellness clinical/recovery palette */
  --brand: #2f5d50;             /* THE Prime Wellness deep forest — primary CTAs, headings, footer */
  --brand-deep: #213f37;        /* deeper navy-forest — hover, footer base */
  --brand-soft: #6fae8a;        /* live: --secondary-color — mint sage, icon circles, accents */
  --brand-darker: #15281f;      /* deepest forest — emphasis */
  --brand-pale: #e6efeb;        /* derived pale mint — surface tint */
  --brand-tint: #f4f8f6;        /* paler still — large background washes */
  --brand-mid: #4a8b76;         /* between forest & sage */

  /* ACCENT — same family but brighter mint, used for highlight chips, badges */
  --accent: #6fae8a;            /* mint sage — the live --secondary-color */
  --accent-deep: #4d8a6a;       /* darker mint */
  --accent-soft: #a3d0b6;       /* pale mint highlight */

  /* SOFT-WARM — the live design uses cream / sand tints in section bands */
  --gold: #d4c4a3;              /* warm sand — pull-quotes, cred chips */
  --gold-soft: #ede5d4;
  --gold-deep: #a8956b;

  /* INK — Prime Wellness body text sits on warm charcoal `#3b3b3b`, not pure black */
  --ink-pure: #000000;
  --ink-deep: #1a1a1a;          /* deepest charcoal */
  --ink: #3b3b3b;               /* live: --colors--black-shade — warm charcoal */
  --ink-soft: #5a5a5a;          /* secondary copy */
  --ink-mid: #6e6e6e;           /* meta */
  --ink-quiet: #8d8d8d;         /* captions */
  --ink-muted: #b3b3b3;         /* faint */
  --ink-faint: rgba(59,59,59,0.10);

  /* SURFACES — clinical-clean white with cream/mint band alternation */
  --bg: #ffffff;
  --bg-pure: #ffffff;
  --bg-soft: #f7f9f8;           /* base off-white with green undertone */
  --bg-warm: #f3f5f3;           /* warmer alt */
  --bg-cream: #faf7f0;          /* clay / cream — alternating bands */
  --bg-pale-blue: #e6efeb;      /* pale mint surface (mapped from imperial token name for compat) */
  --bg-charcoal: #2a2a2a;       /* clinic-charcoal scrim */
  --bg-charcoal-soft: rgba(42,42,42,0.92);
  --bg-jet: #1a1a1a;            /* deepest scrim */
  --border: #e5e8e6;            /* hairline w/ green undertone */
  --border-soft: rgba(47,93,80,0.12);
  --border-blue: rgba(47,93,80,0.30);  /* (named -blue for compat — actually brand-green) */
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255,255,255,0.85);
  --text-on-dark-quiet: rgba(255,255,255,0.55);

  /* TYPE — Inter Tight body/display + Lora italic accent (live Webflow theme).
     Live tokens (verbatim):
       body: Inter Tight 500 16px line-height 1.625em
       h1:   Inter Tight 600 74px (mobile 54px) line-height 1.1351em letter-spacing -0.03em
       h2:   Inter Tight 600 54px (mobile 48px) line-height 1.1852em letter-spacing -0.03em
       h3:   Inter Tight 600 38px line-height 1.2632em letter-spacing -0.03em
       h4:   Inter Tight 600 28px line-height 1.3571em letter-spacing -0.03em
       h5:   Inter Tight 500 24px line-height 1.4167em letter-spacing -0.02em
       h6:   Inter Tight 500 20px line-height 1.5em
       button: Inter Tight 16px line-height 1.625em
     Lora italic appears as a one-word "expressive" accent inside headings (live class
     pattern: `<h1>Postural <span class="lora-italic">correction</span> for life</h1>`).
     This is the brand's unmistakable typographic move — not the type pairing, but the
     *one-word italic insertion* breaking up the otherwise tight-tracked sans heading. */
  --font-display: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-italic: 'Lora', Georgia, 'Times New Roman', serif;
  --font-eyebrow: 'Inter Tight', system-ui, sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, monospace;

  /* LAYOUT */
  --container: 1240px;
  --container-narrow: 980px;
  --container-wide: 1380px;
  --container-tight: 820px;
  --gutter: 1.5rem;
  --section: 96px;
  --section-sm: 64px;
  --section-lg: 128px;
  --block-rhythm: 96px;

  /* RADIUS — Prime Wellness's idiosyncratic move: dominant `20px` (31 occurrences live)
     on cards/photo frames, `10px` (11 occ) on chips and small surfaces,
     `30px` (4 occ) on the hero floating card, `50%` (5 occ) on icon circles.
     Cards are softly rounded — calmer than imperial-shinez's same-20px move because
     here the shadows are LIGHTER. The brand reads as "modern wellness" — generous
     radius without the showroom-lighting shadow weight. */
  --radius-none: 0;
  --radius-xs: 3px;
  --radius-sm: 8px;
  --radius: 10px;               /* chips, small surfaces */
  --radius-md: 12px;
  --radius-lg: 20px;            /* DOMINANT — cards, photo tiles, sections */
  --radius-xl: 30px;            /* hero floating cards, larger feature panels */
  --radius-pill: 999px;         /* badges, suburb pills */
  --radius-circle: 50%;         /* icon circles, avatars */

  /* SHADOWS — Prime Wellness uses LIGHT, restrained drops on cards (live
     `0 8px 8px #0000000f` and `0 4px 4px #0000001a`). Much softer than
     Imperial Shinez. Reads as "calm clinical surface" — the photo / card
     barely lifts off the page. Hover gets a touch heavier but never harsh. */
  --shadow-card: 0 8px 8px rgba(0,0,0,0.06);                     /* live drop */
  --shadow-card-hover: 0 16px 24px -8px rgba(47,93,80,0.18);     /* mint-tinted lift */
  --shadow-soft: 0 4px 4px rgba(0,0,0,0.10);                     /* live wide drop */
  --shadow-deep: 0 20px 50px -16px rgba(47,93,80,0.25);
  --shadow-blue-glow: 0 0 30px rgba(47,93,80,0.18);              /* (named -blue for compat — actually brand-green) */
  --shadow-text: 0 2px 6px rgba(0,0,0,0.40);
  --shadow-press: 0 8px 22px rgba(47,93,80,0.30);
  --shadow-sheen: inset 0 -1px 16px -15px var(--ink-deep);

  /* TRANSITION — live mix is `transition: color .35s` (default) and `transition: box-shadow .3s`.
     The brand pace is slightly slower than typical — .35s — reads as "considered, deliberate."
     We expose .35s as base, .50s as luxe for hero/image reveals. */
  --transition-base: 0.35s;
  --transition-fast: 0.20s;
  --transition-slow: 0.50s;
  --ease-base: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-luxe: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-snap: cubic-bezier(0.77, 0, 0.175, 1);
  --transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-color: color 0.35s ease;
  --transition-bg: background 0.35s, border 0.35s, box-shadow 0.30s;

  /* SIGNATURE GRADIENTS — live design has NO chromatic gradient on CTAs (solid forest green).
     We provide a green ramp for internal feature panels plus the standard hero scrim. */
  --grad-hero-scrim: linear-gradient(180deg, rgba(26,26,26,0.30) 0%, rgba(26,26,26,0.78) 100%);
  --grad-hero-blue: linear-gradient(135deg, #15281f 0%, #2f5d50 60%, #4a8b76 100%);  /* compat name */
  --grad-jet: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
  --grad-jet-radial: radial-gradient(circle at 30% 20%, #333333 0%, #1a1a1a 70%);
  --grad-blue-cta: linear-gradient(135deg, #2f5d50 0%, #213f37 100%);  /* compat name */
  --grad-water: linear-gradient(180deg, #213f37 0%, #2f5d50 50%, #6fae8a 100%);
  --grad-rule: linear-gradient(90deg, #6fae8a 0%, #2f5d50 50%, #213f37 100%);
  --grad-shine: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  --grad-text-overlay: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  /* Live: Inter Tight 500 16/26 → 1.625 line-height */
  font-size: 16px;
  line-height: 1.625;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; transition: var(--transition-color); }
a:hover { color: var(--brand-deep); }

/* TYPOGRAPHY -----------------------------------------------
   Live values (Webflow theme, verbatim):
     h1: 600 74/1.1351 letter-spacing -.03em  (mobile 54px)
     h2: 600 54/1.1852 letter-spacing -.03em  (mobile 48px)
     h3: 600 38/1.2632 letter-spacing -.03em
     h4: 600 28/1.3571 letter-spacing -.03em
     h5: 500 24/1.4167 letter-spacing -.02em
     h6: 500 20/1.5    letter-spacing normal
   The defining typographic moves:
     1) -0.03em tracking (negative ~3%) on all headings — tighter than typical SaaS
     2) Lora italic insertion on a single word inside the heading (the "expressive accent")
     3) Inter Tight 500 body — slightly heavier than typical 400 — gives a confident clinical tone
*/

/* Baseline heading line-height — bare h1-h6 must not inherit body's 1.625
   or any heading wrapping past one line will overlap. Element selectors so the
   .h1/.h2/.h3 utility classes still win when used. */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(54px, 7.6vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  margin: 0 0 0.4em;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 74px);
  line-height: 1.135;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
  color: var(--ink-deep);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.185;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: var(--ink-deep);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.265;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  margin: 0 0 12px;
}
.h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.357;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink-deep);
}
.h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.417;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink-deep);
}
.h6 {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--brand);
}

/* LORA ITALIC INSERT — the brand's signature typographic move.
   Live pattern: `<h1>Postural <span class="lora-italic">correction</span> for life</h1>`.
   Wraps a single word inside an Inter Tight heading in Lora 500 italic. Reads as
   "expressive medical professional" — a soft serif breath inside otherwise tight-tracked sans. */
.lora-italic, .italic-accent {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: inherit;
}
.lora-italic.brand, .italic-accent.brand { color: var(--brand); }
.lora-italic.mint, .italic-accent.mint { color: var(--brand-soft); }

.lede {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.625;
  color: var(--ink-soft);
  margin: 0 0 1em;
  font-weight: 500;
}
.lede-lg {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* EYEBROW — Prime Wellness eyebrow is short uppercase Inter Tight weighted 600
   13px with 0.10em tracking. Sits in --brand color above section heads. */
.eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--brand-soft); }
.eyebrow.muted   { color: var(--ink-quiet); }
.eyebrow.gold    { color: var(--gold-deep); }
.eyebrow.accent  { color: var(--accent); }

/* PRE-BULLET — Prime Wellness signature: the eyebrow on hero / section blocks
   is preceded by a small filled mint dot. Live pattern observed on every
   service / process headline. */
.eyebrow.with-dot::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-soft);
  margin-right: 10px;
  vertical-align: middle;
  margin-top: -2px;
}

/* SECTION HEAD UTILITY ---------------------------------- */
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin: 0; }

/* GLOSS RULE — Prime Wellness signature page-divider rule.
   A 56px wide × 3px tall green gradient bar — softer than Imperial Shinez's blue
   because here it terminates in mint not navy; reads as "fresh-recovery accent." */
.gloss-rule {
  display: inline-block;
  width: 56px;
  height: 3px;
  background: var(--grad-rule);
  margin-bottom: 22px;
  border-radius: 2px;
}
.gloss-rule.center { display: block; margin-left: auto; margin-right: auto; }
.gloss-rule.lg { width: 96px; height: 4px; }
.gloss-rule.thin { height: 2px; }
.gloss-rule.gold { background: var(--gold); }

/* SPARKLE / DOT UTILITY */
.sparkle {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-soft);
  vertical-align: middle;
}

/* SECTION ----------------------------------------------- */
.section { padding: var(--section) 0; }
.section.tight { padding: var(--section-sm) 0; }
.section.lg    { padding: var(--section-lg) 0; }
.section.cream  { background: var(--bg-cream); }
.section.warm   { background: var(--bg-warm); }
.section.soft   { background: var(--bg-soft); }
.section.pale-blue { background: var(--brand-tint); }   /* compat name (mint) */
.section.charcoal { background: var(--bg-charcoal); color: var(--text-on-dark); }
.section.charcoal h1, .section.charcoal h2,
.section.charcoal h3, .section.charcoal h4,
.section.charcoal h5 { color: #fff; }
.section.charcoal .lede { color: var(--text-on-dark-muted); }
.section.jet { background: var(--bg-jet); color: var(--text-on-dark); }
.section.jet h1, .section.jet h2, .section.jet h3, .section.jet h4 { color: #fff; }
.section.jet .lede { color: var(--text-on-dark-muted); }
.section.blue { background: var(--grad-hero-blue); color: var(--text-on-dark); }   /* compat name */
.section.blue h1, .section.blue h2, .section.blue h3, .section.blue h4 { color: #fff; }
.section.blue .lede { color: var(--text-on-dark-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }
.container.wide   { max-width: var(--container-wide); }
.container.tight  { max-width: var(--container-tight); }

/* BUTTONS ----------------------------------------------- */
/* Live default Webflow button: 16px corners, Inter Tight 16/26 weight 500,
   color #fff on var(--colors--primary-color) #2f5d50, with a 30px mint circle
   icon on the right (live `.button-icon-wrap` — bg secondary-color, 50% radius,
   30×30, contains the right-arrow.svg). The signature CTA shape. */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 8px 10px 8px 22px;     /* live: 8px 10px 8px 16px — slightly opened */
  background: var(--brand);
  color: #fff;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-md);  /* 16px equivalent — live primary-button radius */
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover,
.button:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-press);
}
/* Subtle shine sweep — softer than imperial-shinez */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: var(--grad-shine);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease-luxe);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* SIGNATURE: mint icon-circle on the right side of CTAs.
   Live: `.button-icon-wrap` — 30×30 circle, bg #6fae8a, contains arrow.svg.
   Use class `btn-pill` to opt in. */
.btn .icon-circle,
.button .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: #fff;
  margin-left: 6px;
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.btn:hover .icon-circle,
.button:hover .icon-circle {
  background: #fff;
  color: var(--brand);
  transform: translateX(2px);
}
.btn .icon-circle svg { width: 14px; height: 14px; }
.btn .arrow,
.button .arrow {
  display: inline-block;
  transition: transform 0.35s ease;
  position: relative;
  z-index: 1;
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 12px 14px 12px 28px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-sm { padding: 6px 8px 6px 16px; font-size: 14px; border-radius: 12px; }
.btn-sm .icon-circle { width: 24px; height: 24px; }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-ghost:hover {
  background: var(--brand);
  color: #fff;
}
.btn-ghost .icon-circle { background: var(--brand); color: #fff; }
.btn-ghost:hover .icon-circle { background: #fff; color: var(--brand); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
.btn-outline-light .icon-circle { background: rgba(255,255,255,0.20); color: #fff; }
.btn-outline-light:hover .icon-circle { background: var(--brand-soft); color: #fff; }
.btn-dark {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
  color: #fff;
}
.btn-dark:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-deep);
}
.btn-accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}
.btn-text {
  background: transparent;
  border: none;
  color: var(--brand);
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: 0;
  border-radius: 0;
}
.btn-text:hover {
  background: transparent;
  color: var(--brand-deep);
  transform: none;
  box-shadow: none;
}
.btn-text::after {
  content: '→';
  transition: transform 0.35s ease;
  display: inline-block;
  margin-left: 6px;
  background: none;
  position: static;
  width: auto;
  height: auto;
  color: inherit;
  transform: none;
}
.btn-text:hover::after { transform: translateX(3px); }

/* CARD — base flat surface with 20px radius and live drop-shadow */
.card {
  background: var(--bg-pure);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);   /* 20px — DOMINANT */
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.card.flat { box-shadow: none; }
.card.flat:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}
.card.glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card.dark {
  background: var(--bg-charcoal);
  color: #fff;
  border-color: rgba(255,255,255,0.10);
}
.card.dark h3, .card.dark h4 { color: #fff; }
.card.dark p { color: rgba(255,255,255,0.70); }
.card.brand {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.card.brand h3, .card.brand h4 { color: #fff; }
.card.brand p { color: rgba(255,255,255,0.85); }
.card.blue-top {
  border-top: 4px solid var(--brand);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.card.blue-side { border-left: 4px solid var(--brand); }
.card .h4, .card h4 { margin: 0 0 8px; font-size: 21px; }
.card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.card .meta {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 8px;
}

/* TILE — Prime Wellness service tile.
   Hero photo on top + 20px-rounded body below. The brand uses these for the
   8 service columns on the home page. Each ships with a small mint icon-square
   at top-left of the body and a cream-tan turnaround chip at bottom. */
.tile {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.tile .tile-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.tile .tile-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-shine);
  transform: translateX(-120%) skewX(-20deg);
  transition: transform 0.8s var(--ease-luxe);
  pointer-events: none;
}
.tile:hover .tile-img::after { transform: translateX(120%) skewX(-20deg); }
.tile .tile-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* SIGNATURE: mint icon square at top of service cards.
   Live: 56px square w/ mint background at 10px radius — contains illustration. */
.tile .tile-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--brand-pale);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 24px;
  flex-shrink: 0;
}
.tile h4 { margin: 0; font-size: 22px; line-height: 1.25; color: var(--ink-deep); letter-spacing: -0.02em; }
.tile p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; margin: 0; }
.tile .checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.tile .checklist li {
  font-size: 13px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 22px;
}
.tile .checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M3 7l3 3 5-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 14px 14px;
}
.tile .turnaround {
  font-family: var(--font-eyebrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.tile .turnaround::before {
  content: '◷';
  color: var(--brand);
  font-size: 14px;
}
@media (max-width: 480px) {
  .tile .checklist { grid-template-columns: 1fr; }
}

/* AVATAR / HEADSHOT — circle by default ---- */
.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  flex: 0 0 auto;
  border: 2px solid var(--bg-pure);
  box-shadow: var(--shadow-soft);
}
.avatar.lg { width: 140px; height: 140px; }
.avatar.xl { width: 200px; height: 200px; }
.avatar.square { border-radius: var(--radius-lg); }

/* CHIROPRACTOR / TEAM BIO CARD ------------------- */
.bio-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.bio-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.bio-card .avatar { width: 96px; height: 96px; }
.bio-card .who h4 { margin: 0 0 4px; font-size: 19px; letter-spacing: -0.03em; }
.bio-card .who .role {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
  display: block;
}
.bio-card .who p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.bio-card .creds { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bio-card .creds .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--brand-pale);
  border-radius: var(--radius-pill);
  color: var(--brand-deep);
  text-transform: uppercase;
  font-weight: 600;
}

/* HEALTH-FUND / INSURER STRIP — Australian chiro signature.
   The live site shows the carousel of HICAPS, BUPA, AHM, HCF, Medibank, Suncorp,
   Union Health, etc. A short greyscale logo strip in a pill-shaped container. */
.creds-strip,
.fund-strip {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
}
.creds-strip .cred {
  font-family: var(--font-eyebrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.creds-strip .cred::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.fund-strip .fund {
  height: 36px;
  display: inline-flex;
  align-items: center;
  filter: grayscale(1) opacity(0.7);
  transition: var(--transition);
}
.fund-strip .fund:hover { filter: grayscale(0) opacity(1); }
.fund-strip .fund img { max-height: 36px; width: auto; }

/* STAT — display number + label */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.stat .num.ink { color: var(--ink-deep); }
.stat .num.gold { color: var(--gold-deep); }
.stat .num.mint { color: var(--brand-soft); }
.stat .label {
  font-family: var(--font-eyebrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stat .desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* BOOKING-PATHS / WAYS-TO-BOOK STRIP */
.booking-paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.booking-paths .path {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.booking-paths .path:last-child { border-right: none; }
.booking-paths .path:hover { background: var(--brand-tint); }
.booking-paths .path .icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}
.booking-paths .path:hover .icon-circle { background: var(--brand); color: #fff; }
.booking-paths .path h5 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}
.booking-paths .path p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 720px) {
  .booking-paths { grid-template-columns: repeat(2, 1fr); }
  .booking-paths .path:nth-child(2) { border-right: none; }
  .booking-paths .path:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .booking-paths { grid-template-columns: 1fr; }
  .booking-paths .path { border-right: none; border-bottom: 1px solid var(--border); }
  .booking-paths .path:last-child { border-bottom: none; }
}

/* PRICING TIER CARD — for service packages (initial consult / standard / extended) */
.pricing-tier {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}
.pricing-tier:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.pricing-tier.featured {
  background: var(--brand);
  color: #fff;
}
.pricing-tier.featured h3, .pricing-tier.featured h4 { color: #fff; }
.pricing-tier.featured p { color: rgba(255,255,255,0.80); }
.pricing-tier.featured .tier-name { color: var(--brand-soft); }
.pricing-tier.featured .tier-divider { border-color: rgba(255,255,255,0.20); }
.pricing-tier.featured::before {
  content: 'MOST CHOSEN';
  position: absolute;
  top: -10px; right: 24px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.pricing-tier .tier-name {
  font-family: var(--font-eyebrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
}
.pricing-tier .tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  color: var(--ink-deep);
}
.pricing-tier.featured .tier-price { color: #fff; }
.pricing-tier .tier-price .currency { font-size: 18px; opacity: 0.75; }
.pricing-tier .tier-price .amount { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.pricing-tier .tier-price .unit { font-size: 14px; color: var(--ink-quiet); margin-left: 4px; }
.pricing-tier.featured .tier-price .unit { color: rgba(255,255,255,0.55); }
.pricing-tier .tier-includes {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-tier.featured .tier-includes { border-top-color: rgba(255,255,255,0.20); }
.pricing-tier .tier-includes li {
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 26px;
}
.pricing-tier.featured .tier-includes li { color: rgba(255,255,255,0.85); }
.pricing-tier .tier-includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.5 8l3 3 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 16px 16px;
}

/* BEFORE/AFTER PAIR — posture-correction signature (chiropractic version) */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.before-after .ba-half {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--brand-pale);
}
.before-after .ba-half::before {
  content: attr(data-label);
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(26,26,26,0.85);
  color: #fff;
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.before-after .ba-half.after::before {
  background: var(--brand);
}
.before-after .ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.30);
}
.before-after .ba-divider::before {
  content: '⇄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: #fff;
  color: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .before-after { grid-template-columns: 1fr; }
  .before-after .ba-divider { display: none; }
}

/* PULLQUOTE — Lora italic accent for emphasis */
.pullquote {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink-deep);
  border-left: 3px solid var(--brand-soft);
  padding: 16px 0 16px 28px;
  margin: 32px 0;
}
.pullquote .attribution {
  display: block;
  margin-top: 16px;
  font-family: var(--font-eyebrow);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}

/* TESTIMONIAL — Google-review style */
.testimonial {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.testimonial .stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b400;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.testimonial .quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-deep);
  margin: 0;
}
.testimonial .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.testimonial .reviewer .avatar { width: 44px; height: 44px; box-shadow: none; border: none; }
.testimonial .reviewer .who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial .reviewer .name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-deep);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.testimonial .reviewer .meta {
  font-size: 12px;
  color: var(--ink-quiet);
  letter-spacing: 0.04em;
}

/* SOCIAL PROOF STRIP */
.social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  background: var(--bg-pure);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.social-proof .item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.social-proof .item .stars { color: #f5b400; font-size: 16px; letter-spacing: 0.04em; }
.social-proof .item .label {
  font-family: var(--font-eyebrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-deep);
  text-transform: uppercase;
}
.social-proof .item .count { font-size: 12px; color: var(--ink-quiet); }
.social-proof .divider { width: 1px; height: 24px; background: var(--border); }

/* SERVICE-CHECKLIST (long list with mint check dots) */
.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px 24px;
}
.service-checklist li {
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  padding-left: 26px;
}
.service-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.5 8l3 3 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 16px 16px;
}

/* COVERAGE-ZONES (Sydney south suburbs strip) */
.coverage-zones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.coverage-zones li {
  font-family: var(--font-eyebrow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-deep);
  padding: 10px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  text-align: center;
  transition: var(--transition);
}
.coverage-zones li:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

/* HAIRLINE / DIVIDER ------------------------------------ */
hr,
.hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.hr-thick { border-top: 2px solid var(--ink-faint); }
.hr-blue { border-top: 1px solid var(--brand); }   /* compat name */

/* NAV ------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: var(--bg-pure);
  border-bottom: 1px solid var(--border);
}
.nav .lockup { display: inline-flex; align-items: center; gap: 12px; }
.nav .lockup img { height: 44px; width: auto; max-width: 240px; }
.nav .lockup .word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav ul a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-deep);
  text-decoration: none;
  letter-spacing: 0;
  transition: var(--transition-color);
  position: relative;
  padding: 6px 0;
}
.nav ul a:hover { color: var(--brand); }
.nav ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.35s ease;
}
.nav ul a:hover::after { width: 100%; }
.nav .right { display: flex; align-items: center; gap: 16px; }

/* HERO — photo-led + centered */
.hero-photo {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 140px 32px 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero-scrim);
}
.hero-photo .container { position: relative; z-index: 1; max-width: 880px; }
.hero-photo .eyebrow { color: var(--brand-soft); }
.hero-photo h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
}
.hero-photo .lede { color: rgba(255,255,255,0.92); max-width: 620px; margin-bottom: 32px; }
.hero-photo .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-centered {
  background: var(--grad-jet);
  color: #fff;
  padding: 140px 32px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-centered::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(111,174,138,0.20) 0%, transparent 50%);
}
.hero-centered .container { position: relative; z-index: 1; max-width: 760px; }
.hero-centered h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 20px;
}
.hero-centered .lede { color: rgba(255,255,255,0.86); margin: 0 auto 32px; max-width: 600px; }
.hero-centered .actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* SIGNATURE: Hero floating "physio card" — live pattern.
   On the home hero, a 30px-radius mint card floats over the hero image, showing
   contact info ("Call us · 0411 123 456"). White-on-mint + small icon-circle. */
.hero-physio-card {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: var(--brand-soft);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-xl);     /* 30px — live value */
  padding: 16px 20px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero-physio-card .top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-physio-card .top .icon-circle {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-physio-card a { color: #fff; }
.hero-physio-card .lbl { font-size: 14px; opacity: 0.85; }
.hero-physio-card .val { font-size: 18px; font-weight: 600; }

/* GRID UTILITIES */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* TWO-COLUMN row */
.row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.row-2col.flip > .col-img { order: 2; }
.row-2col .col-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
@media (max-width: 800px) {
  .row-2col { grid-template-columns: 1fr; gap: 32px; }
  .row-2col.flip > .col-img { order: 0; }
}

/* CTA BAND */
.cta-band {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(111,174,138,0.40) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(212,196,163,0.18) 0%, transparent 45%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto 18px; }
.cta-band .lede { color: rgba(255,255,255,0.86); max-width: 560px; margin: 0 auto 28px; }
.cta-band .actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-band.jet { background: var(--grad-jet); }

/* PHOTO-FRAME — single dropped photo */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}
.photo-frame.tall { aspect-ratio: 4/5; }
.photo-frame.square { aspect-ratio: 1/1; }
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-shine);
  transform: translateX(-120%) skewX(-20deg);
  transition: transform 0.8s var(--ease-luxe);
  pointer-events: none;
}
.photo-frame:hover::after { transform: translateX(120%) skewX(-20deg); }

/* WORK / CASE-STUDY TILE */
.work-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.work-tile:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.work-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,26,26,0.85) 100%);
}
.work-tile .work-meta {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  color: #fff;
  z-index: 1;
}
.work-tile .work-meta .car {     /* compat name — used for "Patient · Service" caption */
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
  color: #fff;
}
.work-tile .work-meta .service {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

/* FOOTER */
.footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.82);
  padding: 72px 32px 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-rule);
}
.footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 880px) {
  .footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer .grid { grid-template-columns: 1fr; }
}
.footer h4 {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.footer .lockup-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}
.footer .blurb {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 36ch;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 9px; font-size: 13.5px; }
.footer ul a { color: rgba(255,255,255,0.72); text-decoration: none; transition: var(--transition-color); }
.footer ul a:hover { color: var(--brand-soft); }
.footer .legal {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* AVAILABILITY-WINDOWS / SERVICE-AREA-BANDS (clinic hours) */
.availability {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.availability li {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
}
.availability li:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.availability .day {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
}
.availability .time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink-deep);
  letter-spacing: -0.03em;
}
.availability .desc { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* PROCESS-STEPS — Prime Wellness "How it works" 3- or 4-step row.
   Live design uses a 3-step pattern: "Book → Examination → Treatment Plan". */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-pure);
  box-shadow: var(--shadow-card);
}
.process-steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .process-steps, .process-steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .process-steps, .process-steps.four { grid-template-columns: 1fr; } }
.process-steps .step {
  padding: 36px 28px 30px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.process-steps .step:last-child { border-right: none; }
@media (max-width: 1000px) {
  .process-steps .step:nth-child(2) { border-right: none; }
  .process-steps .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
.process-steps .step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--brand);
  transition: width 0.6s var(--ease-luxe);
}
.process-steps .step:hover::before { width: 100%; }
.process-steps .step:hover { background: var(--brand-tint); }
.process-steps .step .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  display: block;
}
.process-steps .step h4 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.03em; }
.process-steps .step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* CASE-STUDY (TREATMENT/CONDITION) CARD */
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.case-card .media {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.case-card .media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-shine);
  transform: translateX(-120%) skewX(-20deg);
  transition: transform 0.8s var(--ease-luxe);
}
.case-card:hover .media::after { transform: translateX(120%) skewX(-20deg); }
.case-card .body { padding: 24px 26px 28px; }
.case-card .industry {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
  display: block;
}
.case-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.case-card .desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 16px;
}
.case-card .meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-quiet);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.case-card .meta-row strong { color: var(--brand); font-weight: 600; }

/* CONDITION × TREATMENT MATRIX */
.expertise-matrix {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.expertise-matrix th, .expertise-matrix td {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 14px;
  text-align: center;
  vertical-align: middle;
}
.expertise-matrix th {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg-soft);
}
.expertise-matrix th.industry {
  text-align: left;
  border-right: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
}
.expertise-matrix td:first-child {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  background: var(--bg-soft);
  text-transform: none;
  border-right: 1px solid var(--brand);
}
.expertise-matrix td .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
}
.expertise-matrix td .dot.lite { background: var(--brand-soft); opacity: 0.7; }
.expertise-matrix td .dot.empty { background: transparent; border: 1px solid var(--border); }
.expertise-matrix th:last-child, .expertise-matrix td:last-child { border-right: none; }
.expertise-matrix tr:last-child td { border-bottom: none; }

/* INSIGHT / BLOG CARD */
.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.insight-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.insight-card .media {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.insight-card .body { padding: 22px 24px 26px; }
.insight-card .cat {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
  display: block;
}
.insight-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  margin: 0 0 10px;
}
.insight-card .meta-row {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-quiet);
  letter-spacing: 0.04em;
  margin: 0;
}

/* FAQ ACCORDION */
.faq details {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.faq details:hover {
  box-shadow: var(--shadow-card-hover);
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--brand);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.30s ease;
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer {
  padding-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* HORIZONTAL TABS */
.tabs-h .tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tabs-h .tab-btn {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 14px 22px;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  margin-bottom: -2px;
}
.tabs-h .tab-btn:hover { color: var(--brand); }
.tabs-h .tab-btn.active {
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
}
.tabs-h .tab-pane { display: none; }
.tabs-h .tab-pane.active { display: block; }

/* PAGE-HERO (internal landing top) */
.page-hero {
  background: var(--bg-soft);
  padding: 100px 32px 60px;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-rule);
}
.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-quiet);
  margin-bottom: 18px;
}
.page-hero .crumb a { color: var(--brand); }
.page-hero h1 { margin: 0 0 18px; max-width: 22ch; }
.page-hero .lede { max-width: 60ch; }

/* ============================================================
   DS DOC HELPERS — design-system.html / sections.html / pages.html
   These are catalog/showcase helpers, themed with Prime Wellness tokens.
   ============================================================ */

/* DS HERO — landing hero on design-system.html */
.ds-hero {
  background: var(--bg-soft);
  padding: 120px 32px 72px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.ds-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-rule);
}
.ds-hero .display { max-width: 18ch; margin: 18px 0; }
.ds-hero .lede { max-width: 60ch; }

.ds-section {
  padding: 80px 32px;
  border-bottom: 1px solid var(--border);
}
.ds-section h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 40px); }
.ds-section .section-intro {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}

/* SWATCH GRID */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }
.swatch {
  border: 1px solid var(--border);
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.swatch .chip { height: 80px; }
.swatch .meta {
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.swatch .meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--ink-deep);
}
.swatch .meta span { color: var(--ink-quiet); }

/* TYPE-SPEC ROW */
.type-spec {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.type-spec:last-child { border-bottom: none; }
.type-spec .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-quiet);
  text-transform: uppercase;
}
@media (max-width: 800px) {
  .type-spec { grid-template-columns: 1fr; gap: 12px; }
}

/* DS NAV — sticky top bar */
.ds-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.ds-nav .lockup-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  margin: 0;
}
.ds-nav .lockup-text small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-quiet);
  margin-left: 8px;
  text-transform: uppercase;
}
.ds-nav .tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  background: var(--bg-soft);
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}
.ds-nav .tab {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.ds-nav .tab:hover { color: var(--brand); }
.ds-nav .tab.active {
  background: var(--brand);
  color: #fff;
}

/* PALETTE TOGGLE WIDGET — styled by palette-toggle.js's injected styles.
   Do NOT add custom .palette-toggle rules here; they will fight the JS-injected
   pt-handle / pt-panel / pt-list / pt-item / pt-name / pt-swatches selectors. */

/* ============================================================
   SX-SHELL — sections.html catalog chrome (Prime Wellness branded)
   ============================================================ */
.sx-shell {
  background: var(--bg-soft);
  min-height: 100vh;
}
.sx-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 22px 32px 18px;
  position: relative;
}
.sx-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-rule);
}
.sx-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink-deep);
}
.sx-header h1 small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin-left: 10px;
}
.sx-header p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.sx-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  max-width: 1480px;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .sx-body { grid-template-columns: 1fr; }
}
.sx-index {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  margin: 24px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.sx-index h4 {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  margin: 0 0 14px;
}
.sx-index ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sx-index ul li { margin-bottom: 4px; }
.sx-index ul a {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-deep);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
.sx-index ul a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-soft);
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}
.sx-index ul a:hover {
  background: var(--brand-pale);
  color: var(--brand-deep);
}
.sx-index ul a:hover::before {
  opacity: 1;
  transform: translateX(0);
}
.sx-index ul li.group {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-quiet);
  padding: 14px 12px 6px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}
.sx-index ul li.group:first-child { border-top: none; margin-top: 0; padding-top: 4px; }

.sx-main {
  padding: 24px 32px 96px;
}
.sx-pattern {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 32px 28px 36px;
  margin-bottom: 28px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.sx-pattern::before {
  content: '';
  position: absolute;
  top: 0; left: 28px;
  width: 80px;
  height: 4px;
  background: var(--brand);
  border-radius: 0 0 4px 4px;
}
.sx-pattern .head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.sx-pattern .id {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--brand-pale);
  color: var(--brand-deep);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--brand);
}
.sx-pattern h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink-deep);
  margin: 0;
}
.sx-pattern .pdesc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 4px 0 22px;
}
.sx-demo {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);   /* 20px — DOMINANT brand radius */
  padding: 32px;
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.sx-demo:hover { box-shadow: var(--shadow-card-hover); }
.demo-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 5;
}

/* PAGES-GALLERY — pages.html iframe wrapper */
.pages-gallery {
  padding: 24px 32px 96px;
  max-width: 1480px;
  margin: 0 auto;
}
.pages-gallery .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 880px) { .pages-gallery .grid { grid-template-columns: 1fr; } }
.pages-gallery .frame-card {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.pages-gallery .frame-card .frame-meta {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.pages-gallery .frame-card .frame-meta h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.03em;
  margin: 0;
}
.pages-gallery .frame-card .frame-meta a {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
}
.pages-gallery .frame-card iframe {
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  background: #fff;
}

/* RESPONSIVE NAV */
@media (max-width: 880px) {
  .nav { flex-wrap: wrap; padding: 14px 18px; }
  .nav ul { gap: 16px; font-size: 13px; }
  .ds-nav { padding: 12px 18px; }
  .ds-nav .lockup-text { font-size: 13px; }
  .ds-nav .tabs { font-size: 10px; }
  .ds-nav .tab { padding: 8px 12px; }
}

/* Utility */
.muted { color: var(--ink-quiet); }
.text-center { text-align: center; }
.spacer { height: 32px; }
.spacer-lg { height: 56px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-md { margin-top: 24px; }
.mb-md { margin-bottom: 24px; }
.mt-lg { margin-top: 48px; }
.mb-lg { margin-bottom: 48px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 32px; }
.maxw-prose { max-width: 65ch; }
.color-brand { color: var(--brand); }
.color-deep { color: var(--brand-deep); }
.color-ink { color: var(--ink-deep); }
.color-mint { color: var(--brand-soft); }
.color-accent { color: var(--accent); }
.bg-pure { background: var(--bg-pure); }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--bg-cream); }
.bg-charcoal { background: var(--bg-charcoal); color: #fff; }
.bg-brand { background: var(--brand); color: #fff; }
.bg-mint { background: var(--brand-pale); }
