/* Imperial Shinez Design System — shared tokens & components
   Extracted from imperialshinez.com.au (real CSS, real photography, real logo), 2026-05-08.
   Stack: Webflow site (Cal Sans display + Poppins body — exact stack from `imperial-shinez.webflow.*.min.css`).
   Brand: Imperial Shinez — Sydney's premium MOBILE car detailing service.
          Ceramic coating, paint protection film (PPF), paint correction, and full detailing —
          performed at the customer's home, office, or location across Sydney.
   Audience: high-end private vehicle owners (luxury / exotic / performance — Bugatti, Ferrari,
             Lamborghini, Aston Martin, Porsche, Rolls-Royce shown on live portfolio) plus
             everyday Sydney drivers who want the same standard at their door.
   Voice: "The Difference Is In The Details" / "Premium Mobile Detailing. Delivered to You." /
          "Use What The Professionals Use." */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.bunny.net/css?family=cal-sans:400,500,600,700&display=swap');

:root {
  /* --------------------------------------------------------------
     COLOR — extracted from `imperial-shinez.webflow.*.min.css` via grep
     of `--*-color` custom properties (Webflow exports them verbatim
     from the design tool). Live tokens, NOT renamed:
       --global-color:       #0f70be   ← THE Imperial Shinez blue (links, primary CTAs)
       --button-highlight:   #be0f12   ← signature inverse-of-blue red (button hover, highlights)
       --secondary-color:    #ccb686   ← warm champagne / accredited-applicator gold
       --dark-color:         #19191b   ← deep automotive black (hero scrim, footer)
       --heading-text:       #282725   ← warm near-black for body headings
       --body-color:         #5c5d5e   ← muted graphite for body copy
       --light-color:        #f2f2f2   ← pale neutral surface
       --white-color:        #ffffff
     The signature move: a clean gloss-blue + showroom-black palette,
     with a warm champagne secondary that nods to "luxury" without going
     gold-chrome-tacky. The crimson `#be0f12` only appears on intentional
     highlight moments (the inverse hue of the blue is deliberate — it's
     the same chromatic rotation auto-detailers paint in racing liveries).
   -------------------------------------------------------------- */

  /* PRIMARY brand blues — Imperial Shinez gloss / showroom palette */
  --brand: #0f70be;             /* THE Imperial blue — primary CTAs, links, accents */
  --brand-deep: #0a5896;        /* deep navy-blue — hover, hero scrim base */
  --brand-soft: #1f8ad6;        /* lighter water-blue — secondary CTAs */
  --brand-darker: #073e6c;      /* deepest blue — emphasis, footer accents */
  --brand-pale: #e3f0fa;        /* derived pale ice-blue — surface tint */
  --brand-tint: #f3f9fd;        /* paler still — large background washes */
  --brand-mid: #0f70be;         /* canonical mid */

  /* ACCENT highlight crimson — signature `--button-highlight` from live CSS */
  --accent: #be0f12;            /* live: --button-highlight — racing red highlight */
  --accent-deep: #8a0a0c;       /* deeper variant */
  --accent-soft: #d62a2d;       /* hover lift */

  /* CHAMPAGNE / GOLD — live --secondary-color: #ccb686 ("accredited" tone) */
  --gold: #ccb686;              /* champagne — credentials, badges, pull-quotes */
  --gold-soft: #e6dcc4;
  --gold-deep: #a8956b;

  /* INK — Imperial Shinez headings sit on a WARM near-black, not pure black */
  --ink-pure: #000000;
  --ink-deep: #19191b;          /* live: --dark-color — true automotive black */
  --ink: #282725;               /* live: --heading-text — warm near-black */
  --ink-soft: #5c5d5e;          /* live: --body-color — body copy graphite */
  --ink-mid: #6e6f70;           /* secondary copy */
  --ink-quiet: #8d8e8f;         /* meta, captions */
  --ink-muted: #b3b4b5;         /* faint */
  --ink-faint: rgba(25,25,27,0.10);

  /* SURFACES — clean neutral, deep automotive black for scrims */
  --bg: #ffffff;
  --bg-pure: #ffffff;
  --bg-soft: #f7f7f7;           /* base off-white */
  --bg-warm: #f2f2f2;           /* live: --light-color */
  --bg-cream: #faf8f4;          /* faint warm — alternating bands */
  --bg-pale-blue: #e3f0fa;      /* pale ice-blue surface */
  --bg-charcoal: #19191b;       /* live: --dark-color */
  --bg-charcoal-soft: rgba(25,25,27,0.92);
  --bg-jet: #0d0d0e;            /* deeper than charcoal — gloss-black scrim */
  --border: #e7e9eb;            /* hairline */
  --border-soft: rgba(25,25,27,0.10);
  --border-blue: rgba(15,112,190,0.30);
  --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 — Cal Sans display + Poppins body (live Webflow theme).
     Live tokens (verbatim from --_typography---*):
       title-font-size: 64px        line-height: 70px        letter-spacing: -.25px
       subtitle-font-size: 13px     line-height: 20px        letter-spacing: 1.04px
       body-typo: 16/26 weight 400
       button-typo: 15/28 weight 400
       nav-style: 15px / 100px nav height
     Cal Sans is a free Google-Fonts equivalent of "Cal Sans" the Beam-distributed
     display face — it's a slightly geometric humanist sans with a little optical
     adjustment in the apertures. Poppins handles all body copy. */
  --font-display: 'Cal Sans', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-eyebrow: 'Poppins', 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 — Imperial Shinez's idiosyncratic move: dominant `20px` (8 occurrences)
     on cards/CTAs/photo frames, full-circle (`50%`) on icon badges (7 occurrences).
     Cards are softly rounded — this brand is approachable-luxury, NOT sharp-editorial.
     The 20px is unmistakable — every photo tile, service card, CTA button, and
     pricing chip uses it. We bake it as the single canonical card radius. */
  --radius-none: 0;
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius: 8px;                /* form inputs */
  --radius-md: 12px;
  --radius-lg: 20px;            /* DOMINANT — cards, photo tiles, CTAs */
  --radius-xl: 30px;            /* pricing chips, larger feature panels */
  --radius-pill: 999px;         /* eyebrow chips, badges */
  --radius-circle: 50%;         /* icon dots, avatars */

  /* SHADOWS — Imperial Shinez uses HEAVY soft-bottom drops on cards (live
     `0 8px 9px -3px #00000042` and `0 5px 25px #00000040`). These are
     directional drops — not the wide halos other DSes use. Reads as
     "showroom lighting" — the photo / card sits ON the page surface
     with confident weight. Hover drops get heavier (live: 0 8px 9px shifted). */
  --shadow-card: 0 8px 9px -3px rgba(0,0,0,0.18);            /* live drop */
  --shadow-card-hover: 0 12px 30px -6px rgba(0,0,0,0.28);     /* hover lift */
  --shadow-soft: 0 5px 25px rgba(0,0,0,0.10);                 /* live wide drop */
  --shadow-deep: 0 20px 50px -16px rgba(15,112,190,0.30);
  --shadow-blue-glow: 0 0 30px rgba(15,112,190,0.20);
  --shadow-text: 0 2px 6px rgba(0,0,0,0.40);
  --shadow-press: 0 8px 28px rgba(15,112,190,0.30);
  --shadow-sheen: inset 0 -1px 16px -15px var(--ink-deep);    /* live: dropdown sheen */

  /* TRANSITION — live mix is `transition:all .3s` (default) AND a
     `cubic-bezier(.23,1,.32,1)` "smooth out" easing for slow .5s hovers.
     The brand pace is brisk-with-confidence — fast .3s baseline, then
     a single luxurious .5s easeOutCirc for hero / image reveals. */
  --transition-base: 0.30s;
  --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);                /* live: .5s reveal */
  --ease-snap: cubic-bezier(0.77, 0, 0.175, 1);               /* live: .5s color */
  --transition: all 0.30s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-color: color 0.30s ease;
  --transition-bg: background 0.30s, border 0.30s, box-shadow 0.30s;

  /* SIGNATURE GRADIENTS — live overlays are dark-scrims (linear-gradient(#0009,#0009)
     stacked on hero photos for legibility). The brand has NO chromatic gradient
     on its CTA buttons — they're solid blue. We provide a clean blue ramp for
     internal feature panels, plus the signature "showroom black" gradient. */
  --grad-hero-scrim: linear-gradient(180deg, rgba(13,13,14,0.30) 0%, rgba(13,13,14,0.85) 100%);
  --grad-hero-blue: linear-gradient(135deg, #073e6c 0%, #0f70be 60%, #1f8ad6 100%);
  --grad-jet: linear-gradient(180deg, #0d0d0e 0%, #19191b 100%);
  --grad-jet-radial: radial-gradient(circle at 30% 20%, #1f1f23 0%, #0d0d0e 70%);
  --grad-blue-cta: linear-gradient(135deg, #0f70be 0%, #0a5896 100%);
  --grad-water: linear-gradient(180deg, #0a5896 0%, #0f70be 50%, #1f8ad6 100%);
  --grad-rule: linear-gradient(90deg, #0f70be 0%, #0a5896 50%, #073e6c 100%);
  --grad-shine: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.15) 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: Poppins 400 16px line-height 26px → 1.625 */
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;
  color: var(--ink-soft);
  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):
     heading-typo --font-weight: 400 (Cal Sans 400 acts like a normal-weight)
     title-font-size: 64px line-height: 70px letter-spacing: -.25px
     subtitle-font-size: 13px line-height: 20px letter-spacing: 1.04px (uppercase eyebrow)
     body-typo: 16/26 weight 400
   The defining move: Cal Sans display with a SLIGHTLY negative tracking
   (-0.25px ≈ -0.004em) — much less aggressive than typical SaaS
   negative-tracking. It reads as confidently composed, not compressed.
   Eyebrows are EXPANDED (1.04px ≈ 0.08em), uppercase, 13px. */

/* Baseline heading line-height — bare h1-h6 must not inherit body's 1.625
   or any heading wrapping past one line will overlap. */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  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.015em;
  color: var(--ink);
  margin: 0 0 0.4em;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 64px);  /* live primary 64px */
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.003em;
  color: var(--ink);
  margin: 0 0 12px;
}
.h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.002em;
  margin: 0 0 12px;
  color: var(--ink);
}
.h5 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0 0 10px;
  color: var(--ink);
}
.h6 {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--brand);
}

.lede {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1em;
  font-weight: 400;
}
.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 — live --_typography---heading-subheading-style--subtitle:
     Poppins 600 13px line-height 20px letter-spacing 1.04px uppercase.
   The Imperial Shinez eyebrow sits BEFORE the title (subtitle-head-pre)
   on hero blocks. Color defaults to brand blue. */
.eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;       /* live: 1.04px ÷ 13px */
  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-RULE — Imperial Shinez signature: a small star-glyph + tiny rule
   sits before the eyebrow on hero/section heads. Live uses an SVG star;
   we use a unicode ✦ as the canonical token-driven version, falling back
   to the inline-SVG sparkle utility (.sparkle) when used inline. */
.eyebrow.with-star::before {
  content: '✦';
  display: inline-block;
  margin-right: 10px;
  color: var(--brand);
  font-size: 11px;
  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 — Imperial Shinez signature page-divider rule.
   A 56px wide × 3px tall blue gradient bar — not as editorial as DeMar's
   crimson rule; reads as "polished surface highlight." */
.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 UTILITY — inline star glyph, brand-driven */
.sparkle {
  display: inline-block;
  width: 14px;
  height: 14px;
  color: var(--brand);
  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); }
.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); }
.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: 20px corners, Poppins 15/28 weight 400,
   color #fff on var(--global-color). Hover: var(--button-highlight) red. */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 16px 30px;
  background: var(--brand);
  color: #fff;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-lg);     /* 20px — DOMINANT brand radius */
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover,
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-press);
}
/* The signature shine sweep — Imperial Shinez photo cards use an angled
   white-translucent sweep on hover (matches a windshield highlight). */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: var(--grad-shine);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-luxe);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn .arrow,
.button .arrow {
  display: inline-block;
  transition: transform 0.30s ease;
  position: relative;
  z-index: 1;
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 20px 38px; font-size: 16px; border-radius: var(--radius-xl); }
.btn-sm { padding: 12px 22px; font-size: 13px; border-radius: 14px; }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-ghost:hover {
  background: var(--brand);
  color: #fff;
}
.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-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);
}
.btn-accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.btn-text {
  background: transparent;
  border: none;
  color: var(--brand);
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 0;
}
.btn-text:hover {
  background: transparent;
  color: var(--brand-deep);
  transform: none;
  box-shadow: none;
}
.btn-text::after {
  content: '↗';                  /* live up-right arrow icon — see /assets/up-right.svg */
  transition: transform 0.30s ease;
  display: inline-block;
  margin-left: 6px;
  background: none;
  position: static;
  width: auto;
  height: auto;
  color: inherit;
  transform: none;
}
.btn-text:hover::after { transform: translate(3px, -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);
  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.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 — Imperial Shinez service tile signature.
   Hero photo on top + 20px-rounded body below + small index "1/3"
   chip in upper-left of body. The brand uses these for the 3 service
   columns on the home page. */
.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.7s 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;
}
.tile .tile-index {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tile .tile-index .small { font-size: 14px; color: var(--ink-quiet); margin-left: 4px; }
.tile h4 { margin: 0; font-size: 24px; line-height: 1.2; color: var(--ink); }
.tile p { color: var(--ink-soft); font-size: 15px; 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);
  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.08em;
  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); }

/* OWNER / 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.005em; }
.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;
}

/* CREDENTIALS STRIP — accredited-applicators / certified */
.creds-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: '✦';
  color: var(--gold-deep);
  font-size: 14px;
}

/* 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.02em;
  color: var(--brand);
}
.stat .num.ink { color: var(--ink); }
.stat .num.gold { color: var(--gold-deep); }
.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 — Imperial Shinez signature
   the way DeMar uses engagement-paths for "how to engage us" */
.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.005em;
  color: var(--ink);
}
.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 */
.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(--bg-charcoal);
  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.12); }
.pricing-tier.featured::before {
  content: 'MOST CHOSEN';
  position: absolute;
  top: -10px; right: 24px;
  background: var(--accent);
  color: #fff;
  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);
}
.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.02em; }
.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.12); }
.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.80); }
.pricing-tier .tier-includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  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 — hero detailing signature */
.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;
}
.before-after .ba-half::before {
  content: attr(data-label);
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(13,13,14,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 */
.pullquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  border-left: 4px solid var(--brand);
  padding: 16px 0 16px 28px;
  margin: 32px 0;
}
.pullquote .attribution {
  display: block;
  margin-top: 16px;
  font-family: var(--font-eyebrow);
  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;       /* Google review gold */
  font-size: 18px;
  letter-spacing: 0.04em;
}
.testimonial .quote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  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);
  font-family: var(--font-display);
}
.testimonial .reviewer .meta {
  font-size: 12px;
  color: var(--ink-quiet);
  letter-spacing: 0.04em;
}

/* SOCIAL PROOF STRIP — Google reviews stars + count */
.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);
  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 brand-blue 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);
  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 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;
  letter-spacing: 0.04em;
  color: var(--ink);
  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); }

/* 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: 56px; width: auto; max-width: 220px; }
.nav .lockup .word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.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);
  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.30s 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.05;
  letter-spacing: -0.01em;
  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(15,112,190,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.005em;
  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; }

/* 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(--grad-jet);
  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(15,112,190,0.30) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(190,15,18,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; }

/* PHOTO-FRAME — single dropped photo with brand-blue accent corner */
.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.7s var(--ease-luxe);
  pointer-events: none;
}
.photo-frame:hover::after { transform: translateX(120%) skewX(-20deg); }

/* WORK / PORTFOLIO 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(13,13,14,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 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.005em;
  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(--bg-jet);
  color: rgba(255,255,255,0.78);
  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.10);
}
@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.01em;
  color: #fff;
  margin-bottom: 12px;
}
.footer .blurb {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  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.70); 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.45);
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* AVAILABILITY-WINDOWS / SERVICE-AREA-BANDS */
.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: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.availability .desc { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* 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; }

/* ============================================================
   DS DOC HELPERS — design-system.html / sections.html / pages.html
   These are catalog/showcase helpers, themed with Imperial Shinez 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.005em;
  margin-bottom: 4px;
  color: var(--ink);
}
.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 3-tab top bar (DS / Sections / Pages) */
.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.005em;
  color: var(--ink);
  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. */

/* PROCESS-STEPS — Imperial Shinez signature for "How it works" 4-step row.
   Mirrors the live "Book Online → We Come to You → Expert Detailing → Quality Inspection". */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-pure);
  box-shadow: var(--shadow-card);
}
@media (max-width: 1000px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .process-steps { 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.5s 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.02em;
  margin-bottom: 18px;
  display: block;
}
.process-steps .step h4 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.005em; }
.process-steps .step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* CASE-STUDY (PORTFOLIO) 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.7s 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.005em;
  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; }

/* SERVICE × VEHICLE-TYPE 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(--bg-charcoal);
  color: #fff;
}
.expertise-matrix td:first-child {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
  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.5; }
.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: 500;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  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: 500;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--ink);
  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.25s 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; }

/* ============================================================
   SX-SHELL — sections.html catalog chrome (Imperial Shinez 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.01em;
  margin: 0;
  color: var(--ink);
}
.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);
  padding: 7px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}
.sx-index ul a::before {
  content: '✦';
  display: inline-block;
  margin-right: 8px;
  color: var(--brand);
  opacity: 0;
  font-size: 11px;
  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);
  border-left: 4px solid var(--brand);
}
.sx-pattern h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
  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: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  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 */
.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); }
.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-jet { background: var(--bg-jet); color: #fff; }

/* ─────────────────────────────────────────────────────────────────
   MOBILE — master breakpoint (≤768px)
   Single source of truth for the phone layout. Layers on top of the
   existing scattered component-level breakpoints (480/540/600/800/
   880/960/1000) without touching any desktop styles. Pairs with
   ../mobile-nav.js which auto-injects the hamburger toggle.
   ───────────────────────────────────────────────────────────────── */

/* Hamburger button — hidden on desktop, shown inside @media below.
   Injected by mobile-nav.js right before .nav .right (so order on
   mobile is: lockup | hamburger | right-CTA). */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 200ms ease;
}
.nav-burger span::before,
.nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: top 240ms ease, transform 240ms ease;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top:  6px; }

@media (max-width: 768px) {

  /* ─── Tokens ─── */
  :root {
    --gutter: 1rem;            /* 16px on phones */
    --section: 64px;
    --section-sm: 44px;
    --section-lg: 88px;
  }

  /* ─── Container & section padding ─── */
  .container { padding: 0 var(--gutter); }
  .section { padding: var(--section) 0; }
  .section.tight { padding: var(--section-sm) 0; }
  .section.lg { padding: var(--section-lg) 0; }

  /* ─── Type scale tightening (utility classes + raw tags) ─── */
  .display { font-size: clamp(40px, 11vw, 64px); line-height: 1.04; }
  .h1, h1  { font-size: clamp(34px, 9vw, 52px);  line-height: 1.06; }
  .h2, h2  { font-size: clamp(26px, 7vw, 38px);  line-height: 1.12; }
  .h3, h3  { font-size: clamp(20px, 5.4vw, 26px); }
  .h4, h4  { font-size: 18px; }
  .lede    { font-size: 15px; line-height: 1.6; }
  .lede-lg { font-size: 17px; line-height: 1.55; }

  /* ─── NAV — collapse to logo + hamburger + right-CTA ─── */
  .nav {
    padding: 12px 16px;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .nav .lockup img { height: 40px; max-width: 160px; }

  /* The link list becomes a fixed-position drawer below the nav bar.
     mobile-nav.js toggles `nav-open` on body to slide it in. */
  .nav ul {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-pure);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 16px 32px;
    margin: 0;
    border-top: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 240ms var(--ease-luxe), opacity 200ms ease;
    z-index: 100;
    overflow-y: auto;
  }
  .nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav ul li:last-child { border-bottom: none; }
  .nav ul a {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
    font-weight: 500;
  }
  .nav ul a::after { display: none; }
  body.nav-open .nav ul {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }

  /* Burger visibility + open-state animation */
  .nav-burger { display: inline-flex; }
  body.nav-open .nav-burger span { background: transparent; }
  body.nav-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
  body.nav-open .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

  /* Right-side CTA stays beside the burger but tighter */
  .nav .right { gap: 8px; }
  .nav .right .btn-sm { padding: 10px 14px; font-size: 12px; }

  /* ─── HERO ─── */
  .hero-photo {
    min-height: auto;
    padding: 88px 16px 72px;
  }
  .hero-photo .container { max-width: 100%; }
  .hero-photo h1 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.05;
  }
  .hero-photo .lede {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .hero-photo .actions { gap: 10px; }
  .hero-photo .actions .btn { padding: 13px 22px; font-size: 14px; }

  /* ─── SOCIAL PROOF strip — wrap, hide vertical dividers ─── */
  .social-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0;
  }
  .social-proof .divider { display: none; }
  .social-proof .item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  /* ─── GRIDS — collapse multi-col to single col ─── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .row-2col { grid-template-columns: 1fr; gap: 24px; }
  .row-2col.flip > .col-img { order: 0; }
  .row-2col .col-img { min-height: 240px; }

  /* ─── SECTION HEAD — tighter bottom margin ─── */
  .section-head { margin-bottom: 32px; }

  /* ─── PROCESS-STEPS, BEFORE-AFTER ─── */
  .process-steps { grid-template-columns: 1fr; gap: 14px; }
  .before-after { grid-template-columns: 1fr; }
  .before-after .ba-divider { display: none; }
  .before-after .ba-half { aspect-ratio: 16/10; }

  /* ─── CTA BAND ─── */
  .cta-band {
    padding: 56px 24px;
    text-align: center;
  }
  .cta-band h2 { font-size: clamp(26px, 7vw, 36px); }
  .cta-band .actions { flex-direction: column; align-items: stretch; }
  .cta-band .actions .btn { width: 100%; justify-content: center; }

  /* ─── FOOTER — full single-col stack, tighter padding ─── */
  .footer { padding: 56px 16px 28px; }
  .footer .grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
    padding-bottom: 24px;
  }
  .footer .legal {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  /* ─── BUTTONS — slightly tighter on phones ─── */
  .btn, .button { padding: 13px 24px; font-size: 14px; }
  .btn-lg { padding: 16px 28px; font-size: 15px; }

  /* ─── SX-SHELL (sections.html catalog) — stack index above main ─── */
  .sx-header {
    padding: 14px 16px 12px;
    position: static;       /* drop sticky on phones — saves vertical space */
  }
  .sx-header h1 { font-size: 18px; }
  .sx-header h1 small { display: block; margin: 4px 0 0; }
  .sx-header p { font-size: 13px; }
  .sx-body { grid-template-columns: 1fr; }
  .sx-index {
    position: static;
    margin: 16px;
    max-height: none;
    padding: 16px;
  }
  .sx-main { padding: 16px 16px 64px; }
  .sx-pattern { padding: 24px 18px 28px; }
  .sx-demo { padding: 20px; }

  /* ─── PAGES GALLERY (pages.html) — already stacks at 880px, tighten ─── */
  .pages-gallery { padding: 16px 16px 64px; }
  .pages-gallery .grid { gap: 20px; }

  /* ─── Hide showcase chrome on mobile ───
     The `#ds-back-link` (top-left back-to-gallery pill) and the
     `.palette-toggle` panel are injected by ../palette-toggle.js for
     desktop exploration. Both overlap the actual brand layout at phone
     widths (pill collides with hamburger; panel covers ~half the
     viewport when open). They're not useful on mobile — the
     phone-viewing context is for verifying the brand renders correctly,
     not for theme switching. Hide them. */
  #ds-back-link, .palette-toggle { display: none !important; }
}
