/* Company-profile engine – public stylesheet.
   Brand values (--primary, --accent, --font, --radius) are injected from settings. */
:root {
  --ink: #15191f;
  --ink-2: #4a5260;
  --ink-3: #7b8494;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-2: #f5f6f8;
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --space: clamp(56px, 9vw, 112px);
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.35rem, 1.2rem + 0.8vw, 1.6rem);
  --step-3: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-4: clamp(2rem, 1.5rem + 2vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3, h4 { font-family: var(--font-heading, var(--font)); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; color: var(--ink); text-wrap: balance; }
h1, .h1 { font-size: var(--step-4); letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 0.9em; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; line-height: 1.55; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head .lede { margin-bottom: 0; }
.section-foot { margin-top: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-secondary { background: transparent; color: var(--primary); border-color: currentColor; }
.btn-secondary:hover { color: var(--accent-strong); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #f1f3f5; color: var(--primary); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
[data-motion="on"] .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--ink) 25%, transparent); }
[data-motion="on"] .btn:active { transform: translateY(0); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-block; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.link-arrow:hover { text-decoration: underline; }
[data-motion="on"] .link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Motion system ----------
   Classes are applied by site.js at runtime only, so pages never depend on JS
   to be visible: without JS every element simply keeps its normal opacity/position. */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
[data-motion="off"] .reveal, [data-motion="off"] .reveal.is-visible { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

[data-motion="on"] .product-card, [data-motion="on"] .post-card { transition: transform .25s ease; }
[data-motion="on"] .product-card:hover, [data-motion="on"] .post-card:hover { transform: translateY(-5px); }
[data-motion="on"] .product-thumb img, [data-motion="on"] .post-thumb img { transition: transform .4s ease; }
[data-motion="on"] .product-card:hover .product-thumb img, [data-motion="on"] .post-card:hover .post-thumb img { transform: scale(1.05); }

/* Header */
/* Fully opaque: a translucent + blurred header sitting over the hero's dot-grid
   picked up the pattern underneath, showing as a faint halo around the nav button. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand img { height: 32px; width: auto; }
.wordmark { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; gap: 28px; }
.site-nav > ul > li { position: relative; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav > ul > li > a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent-strong); }
/* Two classes so this reliably beats ".site-nav a" (class+tag), which was
   winning on specificity over a bare ".nav-cta" and silently zeroing the
   button's horizontal padding — the cause of the cramped, "haloed" look. */
.site-nav .nav-cta { color: #fff !important; padding: 10px 18px; }
.submenu { position: absolute; top: 100%; left: -12px; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 0; display: none; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.has-children:hover .submenu, .has-children:focus-within .submenu { display: block; }
.submenu a { display: block; padding: 8px 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Sections */
.section-wrap > section { padding-block: var(--space); position: relative; }
/* Optional decorative background image (any section can have one, set via its
   own "Background image" field). Faded and full-bleed behind the section; the
   section's own content sits above it via the container's z-index. */
.section-bg-image { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.4; mix-blend-mode: multiply; }
.section-wrap > section > .container { position: relative; z-index: 1; }
.section-wrap + .section-wrap > section { border-top: 1px solid var(--line); }
.section-wrap[data-type="hero"] + .section-wrap > section,
.section-wrap[data-type="cta"] > section, .section-wrap[data-type="stats"] > section, .section-wrap[data-type="logos"] > section { border-top: 0; }

/* Alternating tint so plain sections don't all read as the same white block.
   Sections with their own explicit background (hero, statement, stats, logos, cta) are excluded. */
:root { --tint: #f6f4f1; }
:root { --tint: color-mix(in srgb, var(--primary) 5%, var(--bg)); }
.section-wrap:nth-of-type(even):not([data-tone]) > section:not(.hero):not(.statement):not(.stats):not(.logos):not(.cta-band):not(.emergency):not(.finder) { background: var(--tint); }
.section-wrap:nth-of-type(even) + .section-wrap > section { border-top-color: transparent; }

/* Hero */
.hero { padding-block: clamp(64px, 10vw, 128px) !important; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--primary) 20%, transparent) 1.5px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
          mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero.has-image .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
.hero h1 { max-width: 18ch; }
.hero .lede { font-size: var(--step-2); font-weight: 400; }
.hero-media img { border-radius: var(--radius); }

/* Dynamic style: a slow-drifting blurred colour wash ("aurora") behind the hero,
   built from radial-gradient blobs animated with transform only (GPU-friendly,
   no layout cost). Frozen to a still frame when motion is off. */
[data-theme-style="dynamic"] .hero::after {
  content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none; filter: blur(60px);
  background:
    radial-gradient(38% 38% at 22% 28%, color-mix(in srgb, var(--primary) 38%, transparent), transparent 70%),
    radial-gradient(32% 32% at 78% 18%, color-mix(in srgb, var(--accent) 32%, transparent), transparent 70%),
    radial-gradient(42% 42% at 65% 82%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%);
}
[data-theme-style="dynamic"][data-motion="on"] .hero::after { animation: aurora-drift 24s ease-in-out infinite alternate; }
@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.06); }
  100% { transform: translate(2%, -3%) scale(1); }
}
@media (prefers-reduced-motion: reduce) { [data-theme-style="dynamic"] .hero::after { animation: none !important; } }

/* ---------- Top strip, quick-action bar, finder, search, emergency (preset-neutral) ----------
   Markup contract: docs/demo-rs-plan.md section 3.2-3.7. Presets restyle these below. */
.topbar { background: var(--bg-2); font-size: .85rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; min-height: 40px; padding-block: 4px; }
.topbar-notice { display: flex; align-items: center; gap: 8px; margin: 0; line-height: 1.4; }
.topbar-notice .icon { width: 16px; height: 16px; }
.topbar-notice a { color: inherit; text-decoration: underline; }
.topbar-close { appearance: none; display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; cursor: pointer; }
.topbar-close:hover { background: var(--line); }
.topbar-close .icon { width: 16px; height: 16px; }
.topbar-sos { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 12px; border-radius: var(--radius); background: #B42318; color: #fff; font-weight: 700; text-decoration: none; }
.topbar-sos:hover { color: #fff; }
.topbar-sos .icon { width: 18px; height: 18px; }
.topbar-sos strong { font-variant-numeric: tabular-nums; }
.notice-off .topbar-notice { display: none; }
.notice-off .topbar:not(:has(.topbar-sos)) { display: none; }

.actionbar { display: none; }
.actionbar a { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; }
.actionbar a:hover { color: #fff; }
.actionbar-sos { background: #B42318; color: #fff; }
.actionbar-cta { background: var(--primary); color: #fff; }
@media (max-width: 720px) {
  .actionbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; border-top: 2px solid var(--ink); background: var(--bg); }
  .actionbar:has(> :only-child) { grid-template-columns: 1fr; }
  body.has-actionbar { padding-bottom: 56px; }
  .has-actionbar .topbar-sos { display: none; }
  .notice-off .has-actionbar .topbar { display: none; }
}

.finder-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); background: var(--bg); }
.finder .section-head { margin-bottom: 20px; }
.finder-shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.finder-shortcuts a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 52px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); text-decoration: none; height: 100%; }
.finder-shortcuts a:hover { color: var(--ink); }
.finder-shortcuts strong { font-size: var(--step-1); }
.finder-shortcuts span { font-size: var(--step--1); color: var(--ink-2); }
.finder-shortcuts .icon-tile { margin-bottom: 8px; }

.product-search { display: grid; grid-template-columns: 1fr minmax(200px, 280px) auto; gap: 12px; align-items: end; }
.product-search:not(:has(.ps-cat)) { grid-template-columns: 1fr auto; }
.ps-field { display: block; margin: 0; }
.ps-label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.ps-input { position: relative; display: block; }
.ps-input .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.product-search input, .product-search select { display: block; height: 52px; width: 100%; padding: 0 14px; font: inherit; color: var(--ink); border: 1px solid #c9ced6; border-radius: var(--radius); background: #fff; }
.product-search .ps-input input { padding-left: 44px; }
.ps-submit { height: 52px; justify-content: center; }
@media (max-width: 720px) {
  .product-search, .product-search:not(:has(.ps-cat)) { grid-template-columns: 1fr; }
}
.products-search-bar { padding-block: 24px; border-bottom: 1px solid var(--line); }
.search-summary { margin: 0 0 24px; color: var(--ink-2); }

.emergency { background: #B42318; color: #fff; padding-block: clamp(40px, 6vw, 64px) !important; }
.emergency-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.emergency h2 { color: #fff; }
.emergency-text p:not(.emergency-badge) { color: rgba(255,255,255,.9); }
.emergency-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1em; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #fff; color: #B42318; padding: 4px 10px; border-radius: 6px; }
.emergency-badge .icon { width: 16px; height: 16px; }
.emergency-points { display: grid; gap: 8px; margin-top: 16px; }
.emergency-points li { display: flex; align-items: center; gap: 10px; }
.emergency-points .icon { width: 18px; height: 18px; }
.emergency-actions { display: grid; gap: 12px; justify-items: start; }
.emergency-call { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: #fff; color: #B42318; border-radius: var(--radius); text-decoration: none; }
.emergency-call:hover { color: #B42318; }
.emergency-call .icon { width: 32px; height: 32px; }
.emergency-call small { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.emergency-call strong { display: block; font-size: var(--step-3); line-height: 1.15; font-variant-numeric: tabular-nums; }
.emergency-note { margin: 0; font-size: .85rem; color: rgba(255,255,255,.85); }
.emergency-note a { color: #fff; text-decoration: underline; }
.section-wrap[data-type="emergency"] > section { border-top: 0; }
@media (max-width: 960px) { .emergency-grid { grid-template-columns: 1fr; } }

/* ---------- Premium style ----------
   Dark, dramatic hero and closing band; a fine film-grain texture for material
   depth; serif display headings (set via heading_font_family in settings);
   persistently-elevated cards instead of flat bordered lists; a glowing
   primary button. Everything else (layout, spacing, content) is unchanged —
   this is a skin, not a fork. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme-style="premium"] h1, [data-theme-style="premium"] h2, [data-theme-style="premium"] h3, [data-theme-style="premium"] h4 { letter-spacing: -0.005em; }
[data-theme-style="premium"] .eyebrow { letter-spacing: 0.12em; }

[data-theme-style="premium"] .hero {
  background: radial-gradient(120% 100% at 15% 0%, color-mix(in srgb, var(--primary) 55%, #050810) 0%, #050810 60%);
  color: rgba(255,255,255,.92);
}
[data-theme-style="premium"] .hero::before {
  /* fine light dot-grid instead of the dark-on-white version, plus grain for texture */
  background-image:
    var(--grain),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1.5px, transparent 0);
  background-size: 140px 140px, 26px 26px;
  opacity: .5;
  mix-blend-mode: overlay;
}
[data-theme-style="premium"] .hero::after {
  content: ""; position: absolute; inset: -25%; z-index: 0; pointer-events: none; filter: blur(70px);
  background:
    radial-gradient(32% 40% at 80% 15%, color-mix(in srgb, var(--accent) 65%, transparent), transparent 70%),
    radial-gradient(36% 44% at 15% 85%, color-mix(in srgb, var(--primary) 70%, transparent), transparent 70%),
    radial-gradient(24% 30% at 55% 40%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);
}
[data-theme-style="premium"][data-motion="on"] .hero::after { animation: aurora-drift 26s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { [data-theme-style="premium"] .hero::after { animation: none !important; } }
[data-theme-style="premium"] .hero .eyebrow { color: color-mix(in srgb, var(--accent) 70%, white); }
[data-theme-style="premium"] .hero h1 { color: #fff; }
[data-theme-style="premium"] .hero .lede { color: rgba(255,255,255,.68); }
[data-theme-style="premium"] .hero .btn-secondary { color: #fff; border-color: rgba(255,255,255,.35); }
[data-theme-style="premium"] .hero .btn-secondary:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
[data-theme-style="premium"] .hero-media { filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }

/* Primary button stays a plain, solid fill in the brand's actual primary colour —
   no gradient, no colour-tinted glow. A gradient-and-glow button is a generic
   "AI template" tell, and it had also drifted toward a leftover orange
   (#ff8a4c) from before the real brand palette was wired in. */
[data-theme-style="premium"] .btn-primary { background: var(--primary); box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--ink) 35%, transparent); }
[data-theme-style="premium"] .btn-primary:hover { background: var(--accent-strong); box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--ink) 35%, transparent); }

/* Elevated cards instead of flat bordered lists */
[data-theme-style="premium"] .product-card { background: #fff; border-radius: 14px; padding: 16px 16px 24px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 28px -10px rgba(16,24,40,.12); }
[data-theme-style="premium"] .product-card .product-thumb { margin: -16px -16px 20px; border-radius: 14px 14px 0 0; }
[data-theme-style="premium"][data-motion="on"] .product-card:hover { box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 40px -12px rgba(16,24,40,.22); }
[data-theme-style="premium"] .feature-grid li { border-top: 0; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 24px -10px rgba(16,24,40,.1); }
[data-theme-style="premium"] .feature-grid.cols-3 li:nth-child(3n+2), [data-theme-style="premium"] .feature-grid.cols-4 li:nth-child(even), [data-theme-style="premium"] .feature-grid.cols-2 li:nth-child(even) { border-top: 0; }
[data-theme-style="premium"] .feature-index { font-family: var(--font-heading, var(--font)); font-style: italic; opacity: .3; }

[data-theme-style="premium"] .cta-band { background: radial-gradient(120% 140% at 85% 0%, color-mix(in srgb, var(--primary) 45%, #050810) 0%, #050810 55%); }
[data-theme-style="premium"] .cta-band::before { background-image: var(--grain), radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1.5px, transparent 0); background-size: 140px 140px, 26px 26px; mix-blend-mode: overlay; }
[data-theme-style="premium"] .cta-band::after {
  content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none; filter: blur(80px);
  background:
    radial-gradient(34% 55% at 90% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
    radial-gradient(30% 50% at 55% 95%, color-mix(in srgb, var(--primary) 60%, transparent), transparent 70%);
}
[data-theme-style="premium"][data-motion="on"] .cta-band::after { animation: aurora-drift 30s ease-in-out infinite alternate-reverse; }
@media (prefers-reduced-motion: reduce) { [data-theme-style="premium"] .cta-band::after { animation: none !important; } }

[data-theme-style="premium"] .statement-inner { border-left: none; padding-left: 0; }
[data-theme-style="premium"] .statement-text { font-family: var(--font-heading, var(--font)); font-size: var(--step-2); font-weight: 500; }

/* Statement */
/* ---------- Editorial style ----------
   Deliberately anti-mainstream: oversized display type, a strict monochrome
   base with the accent used in exactly one or two places rather than spread
   across the page, an asymmetric full-bleed hero with a giant faint numeral
   instead of a card-mockup illustration, sharp-edged buttons instead of soft
   rounded ones, and no glossy/shadowed cards anywhere - hairline rules and
   whitespace do the work instead. Not a copy of any specific site; a distinct
   fourth preset alongside minimal/dynamic/premium, picked the same way. */
:root[data-theme-style="editorial"] {
  --step-4: clamp(2.75rem, 1.5rem + 7vw, 7rem);
  --tint: var(--bg-2);
  --radius: 0px; /* sharp edges everywhere this token is used: cards, thumbnails, form inputs, the map, the submenu */
  --chapter-ink: color-mix(in srgb, var(--ink) 14%, transparent); /* outline colour for the chapter numeral below; a dark section (the CTA band) redefines this to a light tint instead of overriding the numeral rule directly */
}
[data-theme-style="editorial"] main { counter-reset: chapter; }
[data-theme-style="editorial"] .section-wrap { counter-increment: chapter; }
[data-theme-style="editorial"] h1, [data-theme-style="editorial"] .h1 { letter-spacing: -0.035em; line-height: 0.98; }
[data-theme-style="editorial"] .btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.09em; font-weight: 700; font-size: 0.78rem; padding: 15px 28px; }
[data-theme-style="editorial"] .btn-primary { background: var(--primary); color: #fff; }
[data-theme-style="editorial"] .btn-primary:hover { background: var(--accent-strong); color: #fff; }
[data-theme-style="editorial"] .btn-secondary { border-color: var(--primary); color: var(--primary); }
[data-theme-style="editorial"] .btn-secondary:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
[data-theme-style="editorial"] .btn-ghost { border-radius: 0; }

[data-theme-style="editorial"] .hero { overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding-block: clamp(120px, 14vw, 200px) !important; }
[data-theme-style="editorial"] .hero::before { content: none; }
[data-theme-style="editorial"] .hero::after {
  /* Fully inside the hero's box (not bled off the edge and clipped by
     overflow:hidden) - a whole, legible outlined numeral, not a stray arc. */
  content: counter(chapter, decimal-leading-zero); position: absolute; right: clamp(24px, 4vw, 64px); bottom: clamp(20px, 3vw, 48px); z-index: 0; pointer-events: none;
  font-family: var(--font-heading, var(--font)); font-weight: 800; line-height: 1;
  font-size: clamp(4rem, 11vw, 9rem); color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--primary) 35%, transparent);
}
[data-theme-style="editorial"] .hero-grid { position: relative; z-index: 1; grid-template-columns: 1fr !important; }
[data-theme-style="editorial"] .hero .lede { max-width: 52ch; }
[data-theme-style="editorial"] .hero-media { display: none; }
[data-theme-style="editorial"] .hero .eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--ink-2); }
[data-theme-style="editorial"] .hero .eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--accent-strong); }
[data-theme-style="editorial"] .hero h1 { max-width: none; color: var(--primary); }
@media (max-width: 720px) { [data-theme-style="editorial"] .hero::after { font-size: clamp(6rem, 32vw, 11rem); } }

[data-theme-style="editorial"] .cta-band { background: var(--primary); --chapter-ink: color-mix(in srgb, white 30%, transparent); }
[data-theme-style="editorial"] .cta-band::before { content: none; }

/* The same chapter numeral the hero uses, repeated on every other top-level
   section (smaller, quieter) so it reads as one running system instead of a
   one-off hero decoration. Sits behind the section's own content (negative
   z-index), so it never competes with text or buttons in that corner. */
[data-theme-style="editorial"] .section-wrap:not([data-type="hero"]) > section::after {
  content: counter(chapter, decimal-leading-zero); position: absolute; z-index: -1; pointer-events: none;
  right: clamp(16px, 3vw, 40px); bottom: clamp(10px, 2vw, 24px);
  font-family: var(--font-heading, var(--font)); font-weight: 800; line-height: 1;
  font-size: clamp(2.25rem, 5vw, 4.5rem); color: transparent;
  -webkit-text-stroke: 1px var(--chapter-ink);
}

/* Carry the same monochrome-plus-one-accent, sharp-edged, big-numeral language
   into the sections that would otherwise still look like the default theme. */
[data-theme-style="editorial"] .feature-index { font-family: var(--font-heading, var(--font)); font-size: 3rem; font-weight: 800; opacity: .2; font-style: normal; }
[data-theme-style="editorial"] .process-list li::before { border-radius: 0; background: var(--primary); }
[data-theme-style="editorial"] .compare-solution { background: var(--bg); }
[data-theme-style="editorial"] .compare-solution h3 { color: var(--primary); }
[data-theme-style="editorial"] .compare-col li::before, [data-theme-style="editorial"] .compare-solution li::before { color: var(--ink-3); }

/* ---------- Tech style ----------
   Stripe / Linear / Vercel register: near-monochrome, one restrained accent
   colour used only for interactive elements (never as decoration), real
   product screenshots instead of illustrations, small consistent border
   radii with hairline borders instead of shadows or gradients, generous
   uniform whitespace, and motion that is barely noticeable rather than a
   feature in itself. No serif display type, no oversized numerals, no
   background patterns, no gradients on buttons. */
:root[data-theme-style="tech"] {
  --radius: 8px;
  /* A faint cool-gray tint (not a flat white repeat) for the alternating
     sections - the same subtle banding Stripe/Linear use to separate
     sections without a hard rule or a decorative pattern. */
  --tint: color-mix(in srgb, var(--primary) 3%, var(--bg));
}
[data-theme-style="tech"] h1, [data-theme-style="tech"] h2, [data-theme-style="tech"] h3, [data-theme-style="tech"] h4 { letter-spacing: -0.02em; }
[data-theme-style="tech"] .eyebrow { color: var(--ink-3); font-weight: 600; }

/* Buttons: small, tight, normal case, hairline border instead of a shadow */
[data-theme-style="tech"] .btn { font-weight: 600; font-size: 0.9rem; padding: 10px 18px; }
[data-theme-style="tech"] .btn-primary { background: var(--primary); box-shadow: inset 0 0 0 1px color-mix(in srgb, black 8%, transparent); }
[data-theme-style="tech"] .btn-primary:hover { background: color-mix(in srgb, var(--primary) 85%, black); }
[data-theme-style="tech"] .btn-secondary { border-color: var(--line); color: var(--ink); background: var(--bg); }
[data-theme-style="tech"] .btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); background: var(--bg-2); }
[data-theme-style="tech"][data-motion="on"] .btn:hover { transform: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, black 8%, transparent); }

/* Hero: no illustration, no dot-grid, no glow - a real product screenshot
   in a plain bordered frame is the entire visual, exactly like the sites
   this preset is modelled on. */
[data-theme-style="tech"] .hero { padding-block: clamp(72px, 9vw, 120px) !important; }
[data-theme-style="tech"] .hero::before { content: none; }
/* A whisper of colour, not a decoration: Stripe/Vercel-style pages are rarely
   pure flat white behind the hero - there's usually a very faint gradient
   wash for depth. One soft radial blob, no grid, no motion, no visible edge. */
[data-theme-style="tech"] .hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(110% 90% at 80% -10%, color-mix(in srgb, var(--primary) 16%, transparent) 0%, transparent 60%);
}
[data-theme-style="tech"] .cta-band { position: relative; }
[data-theme-style="tech"] .cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 120% at 90% 110%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%);
}
[data-theme-style="tech"] .hero .eyebrow {
  display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-2);
  font-size: 0.78rem; font-weight: 600; text-transform: none; letter-spacing: 0;
}
[data-theme-style="tech"] .hero h1 { font-weight: 700; max-width: 16ch; }
[data-theme-style="tech"] .hero-media { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px -8px rgba(16,24,40,.08); }
[data-theme-style="tech"] .hero-media img { border-radius: 0; }

/* Flat cards: hairline border, small radius, no shadow at rest */
[data-theme-style="tech"] .product-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 20px; transition: border-color .15s ease; }
[data-theme-style="tech"] .product-card .product-thumb { margin: -16px -16px 20px; border-radius: 11px 11px 0 0; background: var(--bg-2); }
[data-theme-style="tech"][data-motion="on"] .product-card:hover { transform: none; border-color: var(--ink-3); }
[data-theme-style="tech"] .feature-grid li { border-top: none; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
/* Matches the exact selectors (and beats their specificity) of the alternating
   accent-coloured top border used elsewhere, so it doesn't survive as a stray
   stripe on this preset's plain hairline-bordered cards. */
[data-theme-style="tech"] .feature-grid.cols-3 li:nth-child(3n+2),
[data-theme-style="tech"] .feature-grid.cols-4 li:nth-child(even),
[data-theme-style="tech"] .feature-grid.cols-2 li:nth-child(even) { border-top-color: var(--line); }
[data-theme-style="tech"] .feature-index { font-size: 0.8rem; font-weight: 700; opacity: 0.5; }
[data-theme-style="tech"] .segments-media { border: 1px solid var(--line); border-radius: 10px; }
[data-theme-style="tech"] .compare-grid { border-radius: 12px; }
[data-theme-style="tech"] .compare-solution { background: var(--bg); }
[data-theme-style="tech"] .compare-solution h3 { color: var(--primary); }
[data-theme-style="tech"] .compare-col li::before, [data-theme-style="tech"] .compare-solution li::before { color: var(--ink-3); }

/* CTA band: plain solid dark fill, no grain texture, no dot-grid; the one
   soft gradient wash is defined above (kept - not re-disabled here). */
[data-theme-style="tech"] .cta-band { background: var(--ink); }
[data-theme-style="tech"] .cta-band::before { content: none; }

/* Same whisper-of-colour treatment as the hero, extended to the other
   sections that would otherwise stay flat white - one soft blob per
   section, alternating corners, generic by section type so any site on
   this preset gets the same quiet depth regardless of its own layout. */
[data-theme-style="tech"] .section-wrap[data-type="services"] > section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--primary) 7%, transparent) 0%, transparent 60%);
}
[data-theme-style="tech"] .section-wrap[data-type="features"] > section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 60%);
}
[data-theme-style="tech"] .section-wrap[data-type="segments"] > section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 70% at 100% 100%, color-mix(in srgb, var(--primary) 7%, transparent) 0%, transparent 60%);
}
[data-theme-style="tech"] .section-wrap[data-type="process"] > section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 0% 0%, color-mix(in srgb, var(--accent) 7%, transparent) 0%, transparent 60%);
}

.statement { background: var(--bg-2); }
.statement-inner { max-width: 640px; padding-left: 24px; border-left: 3px solid var(--accent-strong); }
.statement-text { font-size: var(--step-1); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.statement-text p:last-child { margin-bottom: 0; }

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 3px solid var(--accent-strong); color: var(--ink-2); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: var(--step--1); }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; max-width: 100%; } }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose code { background: var(--bg-2); padding: 2px 5px; border-radius: 3px; font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

/* Split */
.split-grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1fr 1fr; }
.split.image-left .split-media { order: -1; }
.split-media img { border-radius: var(--radius); }
.split-media { margin: 0; }

/* Features */
.feature-grid { display: grid; gap: 40px 48px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid li { padding-top: 20px; border-top: 2px solid var(--ink); }
.feature-grid.cols-3 li:nth-child(3n+2) { border-top-color: var(--accent-strong); }
.feature-grid.cols-4 li:nth-child(even) { border-top-color: var(--accent-strong); }
.feature-grid.cols-2 li:nth-child(even) { border-top-color: var(--accent-strong); }
.feature-index { display: block; font-size: 1.75rem; font-weight: 700; color: var(--ink-3); opacity: .45; letter-spacing: 0; margin-bottom: 10px; font-variant-numeric: tabular-nums; line-height: 1; }
.feature-grid p { color: var(--ink-2); margin: 0; }

/* Stats */
.stats { background: var(--primary); color: #fff; padding-block: clamp(40px, 6vw, 64px) !important; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; margin: 0; }
.stat-row dd { margin: 0; font-size: var(--step-4); font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-row dt { margin-top: 8px; color: rgba(255,255,255,.75); font-size: var(--step--1); }

/* Timeline */
.timeline-list { max-width: 820px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline-list li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 40px 32px; }
.timeline-list li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-strong); border: 2px solid #fff; }
.timeline-list time { font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline-list p { color: var(--ink-2); margin: 0; }

/* Products */
/* Flex + wrap + center: an uneven last row (e.g. 4 cards) centers itself
   instead of a lone card sitting flush left with a large empty gap beside it. */
.product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 32px; }
.product-grid > li { flex: 1 1 300px; max-width: 360px; }
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-thumb { display: block; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; aspect-ratio: 16/10; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .eyebrow { margin-bottom: 0.5em; font-size: 0.72rem; color: var(--ink-3); }
.product-card h3 { font-size: var(--step-2); margin-bottom: 0.3em; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--accent-strong); }
.product-tagline { font-weight: 500; margin-bottom: 0.5em; }
.product-summary { color: var(--ink-2); font-size: var(--step--1); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-group + .product-group { margin-top: 64px; }
.group-title { font-size: var(--step-1); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.products-index, .blog-index, .product-detail, .post-detail .container, .not-found { padding-block: var(--space); }
.product-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.product-hero { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.product-side { position: sticky; top: 96px; display: grid; gap: 32px; }
.product-side h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.feature-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: var(--step--1); }
.feature-list strong { display: block; }
.feature-list span { color: var(--ink-2); }
.link-list li { padding: 6px 0; }
.related { border-top: 1px solid var(--line); padding-block: var(--space); }
.related h2 { margin-bottom: 40px; }

/* Services / process */
.service-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-list > li { display: grid; grid-template-columns: 60px 1fr 1.4fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); counter-increment: svc; }
.service-list > li::before { content: counter(svc, decimal-leading-zero); font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.service-list > li > h3 { margin: 0; font-size: var(--step-1); }
.service-list h3 a { color: inherit; text-decoration: none; }
.service-list h3 a:hover { color: var(--accent-strong); }
.service-list > li > p { margin: 0; color: var(--ink-2); }
.service-points { grid-column: 3; margin-top: 10px; display: grid; gap: 6px; }
.service-points li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: var(--step--1); }
.service-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-strong); }

/* Flex + wrap + center (see .product-grid above); the connecting line assumes the
   common case of one row (4 items) and is a purely decorative timeline cue. */
.process-list { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; counter-reset: step; }
.process-list::before { content: ""; position: absolute; top: 18px; left: 40px; right: 40px; height: 1px; background: var(--line); z-index: 0; }
.process-list > li { position: relative; z-index: 1; flex: 1 1 220px; max-width: 260px; }
.process-list li { counter-increment: step; }
.process-list li::before { content: counter(step); position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; }
.process-list h3 { font-size: var(--step-0); }
.process-list p { margin: 0; color: var(--ink-2); font-size: var(--step--1); }

/* Team, logos, testimonials, faq */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 32px; }
.team-grid img, .avatar-placeholder { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); margin-bottom: 16px; }
.avatar-placeholder { display: grid; place-items: center; font-size: 2.5rem; color: var(--ink-3); font-weight: 600; }
.team-grid h3 { font-size: var(--step-0); margin-bottom: 0.1em; }
.team-grid .role { color: var(--ink-3); font-size: var(--step--1); }
.team-grid p { font-size: var(--step--1); color: var(--ink-2); margin: 0; }
.logos { padding-block: clamp(32px, 5vw, 56px) !important; background: var(--bg-2); }
.logos-heading { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); text-align: center; margin-bottom: 28px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.logo-row img { height: 36px; width: auto; filter: grayscale(1); opacity: .7; }
.logo-row span { font-weight: 600; color: var(--ink-3); }
.logo-row a { text-decoration: none; }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.quote-grid blockquote { margin: 0; padding-left: 20px; border-left: 3px solid var(--accent-strong); }
.quote-grid p { font-size: var(--step-1); line-height: 1.45; }
.quote-grid footer { color: var(--ink-2); font-size: var(--step--1); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .prose { padding-bottom: 18px; color: var(--ink-2); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.post-list { display: grid; gap: 48px; max-width: 760px; }
.post-list li + li { padding-top: 48px; border-top: 1px solid var(--line); }
.post-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); margin-bottom: 16px; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; gap: 14px; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 8px; }
.post-cat { color: var(--accent-strong); font-weight: 600; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-strong); }
.post-card p:last-child { color: var(--ink-2); font-size: var(--step--1); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; max-width: 760px; color: var(--ink-3); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 80px) !important; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1.5px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 100% 50%, black, transparent);
          mask-image: radial-gradient(ellipse 60% 100% at 100% 50%, black, transparent);
}
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; max-width: 56ch; }
[data-theme-style="dynamic"] .cta-band::after {
  content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none; filter: blur(70px);
  background:
    radial-gradient(34% 50% at 85% 30%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
    radial-gradient(30% 45% at 60% 90%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 70%);
}
[data-theme-style="dynamic"][data-motion="on"] .cta-band::after { animation: aurora-drift 28s ease-in-out infinite alternate-reverse; }
@media (prefers-reduced-motion: reduce) { [data-theme-style="dynamic"] .cta-band::after { animation: none !important; } }
.cta-grid { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-note { flex-basis: 100%; margin: 4px 0 0; font-size: var(--step--1); color: rgba(255,255,255,.8) !important; }
.cta-note a, .plan-foot a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-note a:hover { color: #fff; }

/* Problem vs. solution */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-col { background: var(--bg); padding: 32px; }
.compare-col h3 { font-size: var(--step-0); margin-bottom: 16px; }
.compare-problem h3 { color: var(--ink-2); }
.compare-problem h3::before { content: "✕ "; color: var(--ink-3); }
.compare-solution { background: color-mix(in srgb, var(--primary) 4%, var(--bg)); }
.compare-solution h3 { color: var(--primary); }
.compare-solution h3::before { content: "✓ "; color: var(--accent-strong); }
.compare-col ul { display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 20px; color: var(--ink-2); }
.compare-col li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.compare-solution li::before { content: "—"; color: var(--accent-strong); }

/* Industry / audience switcher */
.segments-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.segments-tab { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 4px; margin-bottom: -1px; font: inherit; font-weight: 600; font-size: var(--step--1); color: var(--ink-3); cursor: pointer; }
.segments-tab:hover { color: var(--ink); }
.segments-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent-strong); }
.segments-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.segments-panel[hidden] { display: none; }
.segments-media { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 4/3; }
.segments-media img { width: 100%; height: 100%; object-fit: cover; }
.segments-text h3 { margin-bottom: 0.4em; }
.segments-text p { color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.contact-form label { display: block; font-size: var(--step--1); font-weight: 500; margin-bottom: 18px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; border: 1px solid #c9ced6; border-radius: var(--radius); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent-strong); outline-offset: 1px; border-color: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: 12px 14px; border-radius: var(--radius); font-size: var(--step--1); margin-bottom: 20px; }
.form-notice.ok { background: #e8f5ee; color: #14532d; }
.form-notice.err { background: #fdecec; color: #7f1d1d; }
.cf-turnstile { margin-bottom: 16px; }
.contact-details { margin: 0; display: grid; gap: 20px; }
.contact-details dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.contact-details dd { margin: 0; }
.contact-details a { text-decoration: none; }
.map { width: 100%; aspect-ratio: 4/3; border: 0; margin-top: 32px; border-radius: var(--radius); }

/* Page header / breadcrumb */
.page-header { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-header h1 { max-width: 22ch; }
.page-header .lede { margin-bottom: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(48px, 6vw, 72px); font-size: var(--step--1); color: var(--ink-2); }
/* --footer-cols is set inline from the actual number of columns rendered (about +
   configured nav columns + contact), so an extra/missing column never wraps
   misaligned under the first column regardless of how many are configured. */
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(calc(var(--footer-cols, 4) - 1), 1fr); gap: 40px; padding-bottom: 48px; }
.footer-about p { max-width: 36ch; margin-top: 16px; }
.footer-col h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a, .footer-contact a, .social a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover, .footer-contact a:hover, .social a:hover { color: var(--ink); text-decoration: underline; }
.footer-contact p { margin-bottom: 8px; }
.social { display: flex; gap: 16px; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* Built-in icons, hero extras (generic: every preset gets a sane default) */
.icon { width: 24px; height: 24px; flex: none; }
.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: calc(var(--radius) + 4px); background: color-mix(in srgb, var(--primary) 8%, var(--bg)); color: var(--primary); margin-bottom: 18px; }
.service-list > li.has-icon::before { content: none; }
.service-list > li.has-icon .icon-tile { margin: 0; width: 40px; height: 40px; }
.hl { color: var(--primary); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: var(--step--1); color: var(--ink-2); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--accent-strong); }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-tile a { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); text-decoration: none; }
.hero-tile strong { font-size: var(--step-1); }
[data-theme-style="premium"] .hero-tile a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
[data-theme-style="premium"] .hero-tile span { color: rgba(255,255,255,.7); }
[data-theme-style="premium"] .hero-points { color: rgba(255,255,255,.75); }
[data-theme-style="premium"] .hl { color: color-mix(in srgb, var(--primary) 35%, #fff); }
[data-theme-style="editorial"] .hero-tiles { margin-top: 24px; }
.hero-tile span { font-size: var(--step--1); color: var(--ink-2); }
.hero-tile img { margin-top: 16px; border-radius: var(--radius); }
.tile-badge { align-self: flex-start; font-style: normal; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); margin-bottom: 4px; }
.tile-arrow { position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; }

/* Packages */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.plan.is-highlight { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.plan-badge { position: absolute; top: -12px; left: 24px; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; }
.plan h3 { font-size: var(--step-2); margin-bottom: 0.3em; }
.plan-desc { color: var(--ink-2); font-size: var(--step--1); }
.plan-price { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 16px; }
.plan-price span { display: block; font-size: var(--step--1); font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.plan-features { display: grid; gap: 10px; margin: 8px 0 28px; font-size: var(--step--1); }
.plan-features li { display: flex; gap: 10px; align-items: flex-start; }
.plan-features .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-strong); }
.plan-cta { margin-top: auto; justify-content: center; }
.plan-foot { margin: 24px 0 0; font-size: var(--step--1); color: var(--ink-3); }

/* Style playground */
.pg-panel { display: grid; gap: 24px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.pg-label { margin: 0 0 10px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.pg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-style, .pg-swatch { appearance: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; font-size: var(--step--1); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pg-style:hover, .pg-swatch:hover { border-color: var(--primary); }
.pg-style[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.pg-swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pg-dots { display: inline-flex; }
.pg-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--sw1); border: 2px solid var(--bg); }
.pg-dots i + i { margin-left: -6px; background: var(--sw2); }
.pg-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pg-note { margin: 0; font-size: var(--step--1); color: var(--ink-3); flex: 1 1 280px; }
.pg-float { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: var(--step--1); font-weight: 600; max-width: calc(100% - 32px); }
.pg-float[hidden] { display: none; }
.pg-float button { appearance: none; border: 0; border-radius: 999px; padding: 8px 14px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }

/* Brand mark next to a text wordmark (only when no logo image is set) */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark::before { content: ""; width: 26px; height: 26px; border-radius: 8px; background: var(--primary); box-shadow: inset -9px -9px 0 var(--accent); }

/* ---------- Documentation ---------- */
.docs-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); background: var(--bg-2); }
.docs-hero h1 { margin-bottom: 0.3em; }
.docs-hero .lede { margin-bottom: 28px; }
.docs-search { position: relative; max-width: 420px; }
.docs-search.big { max-width: 640px; }
.docs-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.docs-search input { width: 100%; height: 46px; padding: 0 16px 0 46px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg); font: inherit; color: var(--ink); }
.docs-search.big input { height: 58px; font-size: 1.05rem; }
.docs-search input:focus { outline: 2px solid var(--accent-strong); outline-offset: 1px; border-color: transparent; }
.docs-home { padding-block: clamp(36px, 5vw, 64px); }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.docs-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.docs-card[hidden], [data-docs-item][hidden], .docs-nav-group[hidden] { display: none; }
.docs-card header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.docs-card h2 { font-size: var(--step-1); margin: 0; }
.docs-card header p { margin: 0; font-size: var(--step--1); color: var(--ink-3); }
.docs-card-num { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: var(--radius); background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem; }
.docs-card ul { display: grid; gap: 2px; }
.docs-card li a { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.docs-card li a:hover { background: var(--bg-2); }
.docs-card li strong { display: block; font-weight: 600; }
.docs-card li span { display: block; font-size: var(--step--1); color: var(--ink-2); line-height: 1.5; }
.docs-no-results { color: var(--ink-3); }
.docs-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: clamp(28px, 4vw, 56px); padding-block: clamp(28px, 4vw, 48px) var(--space); align-items: start; }
.docs-side, .docs-toc { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
.docs-side-inner > summary { display: none; }
.docs-side .docs-search { margin-bottom: 18px; }
.docs-side .docs-search input { height: 40px; font-size: var(--step--1); }
.docs-nav-group + .docs-nav-group { margin-top: 18px; }
.docs-nav-title { margin: 0 0 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.docs-nav a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: var(--radius); color: var(--ink-2); text-decoration: none; font-size: 0.93rem; line-height: 1.4; }
.docs-nav a:hover { color: var(--ink); background: var(--bg-2); }
.docs-nav a[aria-current="page"] { color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--bg)); font-weight: 600; }
.docs-article { max-width: 780px; min-width: 0; }
.docs-article h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); margin-bottom: 0.3em; }
.docs-article .breadcrumb ol { margin-bottom: 14px; }
.docs-meta { font-size: var(--step--1); color: var(--ink-3); padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.docs-body { max-width: none; }
.docs-body h2 { font-size: var(--step-2); margin-top: 2em; scroll-margin-top: 96px; }
.docs-body h3 { scroll-margin-top: 96px; margin-top: 1.6em; }
.docs-body .anchor { margin-left: 8px; color: var(--ink-3); text-decoration: none; opacity: 0; font-weight: 400; }
.docs-body h2:hover .anchor, .docs-body h3:hover .anchor { opacity: 1; }
.docs-body ol { list-style: none; padding-left: 0; counter-reset: step; }
.docs-body ol > li { position: relative; padding-left: 44px; margin-bottom: 14px; counter-increment: step; min-height: 30px; }
.docs-body ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.85rem; }
.docs-body code { font-size: 0.88em; }
.docs-body kbd { display: inline-block; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; font: 600 0.85em/1.5 ui-monospace, monospace; background: var(--bg); }
.docs-body figure.shot { margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.docs-body figure.shot img { margin: 0; border-radius: 0; width: 100%; cursor: zoom-in; }
.docs-body figure.shot figcaption { padding: 10px 14px; font-size: var(--step--1); color: var(--ink-2); border-top: 1px solid var(--line); background: var(--bg); }
.docs-body blockquote.callout { --c: var(--primary); margin: 1.5em 0; padding: 14px 18px; border: 0; border-left: 4px solid var(--c); border-radius: 0 var(--radius) var(--radius) 0; background: color-mix(in srgb, var(--c) 8%, var(--bg)); color: var(--ink); }
.docs-body blockquote.callout p:last-child { margin-bottom: 0; }
.docs-body .callout-title { color: var(--c); }
.docs-body blockquote.callout-tip { --c: #15803d; }
.docs-body blockquote.callout-warning { --c: #b45309; }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.docs-pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.docs-pager a:hover { border-color: var(--primary); }
.docs-pager a span { font-size: var(--step--1); color: var(--ink-3); }
.docs-pager .next { text-align: right; }
.docs-help { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 24px; border-radius: var(--radius); background: var(--bg-2); }
.docs-help .icon-tile { margin: 0; flex: none; }
.docs-help > div { flex: 1 1 260px; }
.docs-help h2 { font-size: var(--step-1); margin-bottom: 0.2em; }
.docs-help p { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
.docs-toc ul { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.docs-toc a { display: block; padding: 4px 0 4px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; font-size: 0.86rem; line-height: 1.4; }
.docs-toc li.l3 a { padding-left: 26px; }
.docs-toc a:hover { color: var(--ink); }
.docs-toc a[aria-current] { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.zoom-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(10, 14, 20, .85); cursor: zoom-out; }
.zoom-overlay img { max-width: 100%; max-height: 100%; border-radius: 8px; }
@media (max-width: 1100px) { .docs-layout { grid-template-columns: 230px minmax(0, 1fr); } .docs-toc { display: none; } }
@media (max-width: 860px) {
  .docs-layout { grid-template-columns: 1fr; gap: 20px; }
  .docs-side { position: static; max-height: none; overflow: visible; }
  .docs-side-inner { border: 1px solid var(--line); border-radius: var(--radius); }
  .docs-side-inner > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; }
  .docs-side-inner > summary::-webkit-details-marker { display: none; }
  .docs-side-inner > summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); }
  .docs-side-inner[open] > summary::after { content: "–"; }
  .docs-side-inner > div { padding: 0 16px 16px; }
  .docs-pager { grid-template-columns: 1fr; }
}

/* ---------- Photo-led components (preset-neutral) ----------
   Markup contract: docs/demo-rs-photo-plan.md section 4 (E10-E15). Scoped to new classes only,
   so existing pages render exactly as before. Presets restyle below. */

/* Cover hero: photo/video behind the text. Selectors carry .section-wrap > so they
   beat the preset hero rules (padding/background/border) without !important wars. */
.section-wrap > .hero.hero-cover { position: relative; padding: 0 !important; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: #10302F; border: 0; }
.section-wrap:not(:first-child) > .hero.hero-cover { min-height: clamp(420px, 62vh, 620px); }
.hero-cover::before, .hero-cover::after { content: none !important; }
.hero-cover .hero-bg { position: absolute; inset: 0; }
.hero-cover .hero-bg-img, .hero-cover .hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-cover .hero-bg-video { opacity: 0; }
.hero-cover.is-playing .hero-bg-video { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .hero-cover .hero-bg-video { transition: opacity .4s ease; } }
.hero-cover .hero-grid { position: relative; z-index: 1; width: 100%; display: block; }
.section-wrap > .hero.hero-cover .hero-text { position: relative; }
.section-wrap > .hero.hero-cover .hero-text h1, .section-wrap > .hero.hero-cover .hero-text .h1 { max-width: none; }

/* Panel: opaque white text block, readable on any photo */
.overlay-panel .hero-text { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-lg, 16px); box-shadow: 8px 8px 0 var(--primary); padding: clamp(24px, 4vw, 44px); max-width: 620px; margin-block: clamp(48px, 9vw, 104px); }
.section-wrap > .hero.hero-cover .hero-text .lede { font-size: var(--step-1); }
.section-wrap > .hero.hero-cover .hero-text :is(h1, .h1) { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }

/* Scrim: solid dark overlay over the whole photo (no gradient), white text. Desktop only. */
@media (min-width: 721px) {
  .overlay-scrim .hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(16,48,47,.72); }
  .overlay-scrim .hero-text { max-width: 680px; margin-block: clamp(48px, 9vw, 104px); }
  .section-wrap > .hero.overlay-scrim .hero-text, .section-wrap > .hero.overlay-scrim .hero-text :is(h1, h2, .h1, .lede, .eyebrow, .hero-points, .hero-points li) { color: #fff; }
  .section-wrap > .hero.overlay-scrim .hero-text .hl { color: #fff; box-shadow: inset 0 -0.16em 0 var(--accent); }
  .section-wrap > .hero.overlay-scrim .btn-secondary { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
  .section-wrap > .hero.overlay-scrim .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }
  .section-wrap > .hero.overlay-scrim .btn-primary { background: var(--accent); color: var(--ink); border-color: #fff; box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
  .section-wrap > .hero.overlay-scrim .btn-primary:hover { background: #fff; color: var(--ink); }
}

/* Pause / play for the background video (WCAG 2.2.2) */
.hero-video-toggle { position: absolute; z-index: 2; right: var(--gutter); top: 16px; bottom: auto; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle svg { width: 22px; height: 22px; }
.hero-video-toggle .i-play { display: none; }
.hero-cover.is-paused .hero-video-toggle .i-pause { display: none; }
.hero-cover.is-paused .hero-video-toggle .i-play { display: block; }
.hero-video-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px #fff, 3px 3px 0 var(--ink); }

/* Mobile: photo on top, text panel overlaps its bottom edge. The video never plays here. */
@media (max-width: 720px) {
  .section-wrap > .hero.hero-cover { display: block; min-height: 0; background: var(--mist, var(--bg-2)); }
  .section-wrap:not(:first-child) > .hero.hero-cover { min-height: 0; }
  .hero-cover .hero-bg { position: relative; aspect-ratio: 4/3; }
  .hero-cover .hero-bg-video { display: none; }
  .hero-cover .hero-text, .overlay-scrim .hero-text { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-lg, 16px); padding: 24px; max-width: none; margin: -40px 0 24px; position: relative; box-shadow: 6px 6px 0 var(--primary); }
  .section-wrap > .hero.hero-cover .hero-text :is(h1, h2, .h1) { color: var(--ink); }
  .section-wrap[data-type="hero"]:has(+ .section-wrap[data-type="finder"]) > .hero.hero-cover .hero-text { margin-bottom: 72px; }
  .hero-video-toggle { display: none; }
}

/* Finder overlapping a cover hero (desktop): keep the CTAs clear of the finder panel */
@media (min-width: 721px) {
  .section-wrap[data-type="hero"]:has(+ .section-wrap[data-type="finder"]) > .hero.hero-cover .hero-text { margin-bottom: calc(clamp(48px, 9vw, 104px) + 72px); }
}
.section-wrap[data-type="hero"] + .section-wrap[data-type="finder"] > .finder { z-index: 2; }

/* Split: photo fills its half of the screen */
.split-bleed { padding-block: 0 !important; }
.split-bleed .split-grid.container { max-width: none; padding: 0; gap: 0; align-items: stretch; grid-template-columns: 1fr 1fr; }
.split-bleed .split-media { margin: 0; min-height: 420px; }
.split-bleed .split-media img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.split-bleed .split-text { align-self: center; padding-block: clamp(40px, 6vw, 88px); }
.split-bleed.image-right .split-text { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: clamp(32px, 5vw, 72px); }
.split-bleed.image-left .split-text { padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-left: clamp(32px, 5vw, 72px); }
@media (max-width: 860px) {
  .split-bleed .split-grid.container { grid-template-columns: 1fr; }
  .split-bleed .split-media, .split.split-bleed.image-left .split-media { order: -1; min-height: 0; aspect-ratio: 4/3; }
  .split-bleed.image-right .split-text, .split-bleed.image-left .split-text { padding: 36px var(--gutter) 48px; }
}

/* Photo cards (features / services) */
.card-photo { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-grid.has-photos { gap: 20px; }
.feature-grid.has-photos li.has-photo { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-grid.has-photos li.has-photo .card-body { padding: 20px 22px 24px; }
.feature-grid.has-photos li.has-photo h3 { margin-bottom: .35em; }
.feature-grid.has-photos li.has-photo h3 a { color: inherit; text-decoration: none; }
.feature-grid.has-photos li.has-photo h3 a::after { content: ""; position: absolute; inset: 0; }
.feature-grid.has-photos .link-arrow { margin-top: 14px; color: var(--primary); }
.service-list:has(> li.has-photo) { grid-template-columns: repeat(3, 1fr); gap: 20px; border: 0; }
.service-list > li.has-photo { position: relative; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.service-list > li.has-photo::before { content: none; }
.service-list > li.has-photo > :not(.card-photo) { margin-inline: 22px; }
.service-list > li.has-photo > h3 { margin-top: 20px; margin-bottom: .35em; }
.service-list > li.has-photo > :last-child { margin-bottom: 24px; }
.service-list > li.has-photo h3 a::after { content: ""; position: absolute; inset: 0; }
@media (min-width: 961px) { .service-list:has(> li.has-photo:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) { .service-list:has(> li.has-photo) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .service-list:has(> li.has-photo) { grid-template-columns: 1fr; } }

/* Process with photos: one card per step */
.process-list.has-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.process-list.has-photos::before { content: none; }
.process-list.has-photos > li { display: flex; flex-direction: column; max-width: none; flex: none; }
.process-list.has-photos .card-photo { order: -1; border-radius: 12px; }
.process-list.has-photos > li::before { margin: -20px 0 12px 12px; box-shadow: 0 0 0 3px #fff; flex: none; }

/* Gallery */
.gallery-grid { display: grid; gap: 12px; }
.gallery-grid.layout-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-grid.layout-grid li { aspect-ratio: 4/3; }
.gallery-grid.layout-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); }
.gallery-grid.layout-mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid li { min-width: 0; }
.gallery-grid figure { position: relative; margin: 0; height: 100%; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.gallery-grid figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: #fff; color: var(--ink); padding: 4px 10px; border-radius: 6px; font-size: .85rem; font-weight: 600; line-height: 1.4; }
@media (max-width: 720px) {
  .gallery-grid.layout-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(130px, 38vw, 200px); }
  .gallery-grid.layout-mosaic li:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-grid.layout-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) { .gallery-grid.layout-grid { grid-template-columns: 1fr; } }

/* Responsive */
@media (max-width: 960px) {
  .hero.has-image .hero-grid, .split-grid, .product-layout, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid.cols-3, .feature-grid.cols-4, .product-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-side { position: static; }
  .service-list > li { grid-template-columns: 48px 1fr; }
  .service-list > li > p, .service-points { grid-column: 2; }
  .compare-grid, .segments-panel { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; gap: 12px; }
  .nav-open .site-nav { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav > ul > li > a[aria-current="page"] { box-shadow: none; color: var(--accent-strong); }
  .submenu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 16px; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .feature-grid.cols-2, .feature-grid.cols-3, .feature-grid.cols-4, .product-grid, .post-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .timeline-list li { grid-template-columns: 1fr; gap: 4px; }
  .split.image-left .split-media { order: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- New shared components (demo-sites) ----------
   Preset-neutral defaults for the opt-in sections added for the sector showcase sites
   (section tones, menu, rail, beforeafter, hotspots, calculator, marquee, subnav,
   enquiry), the floating contact button, the open/closed status, category chips and
   timeline photos. Everything is scoped to new classes or new attributes, so pages
   that do not use them render exactly as before. Only existing tokens are used
   (--ink, --line, --primary, --radius, --bg, --bg-2, --tint). Presets restyle freely. */
:root {
  --st-available: #1F7A4D;
  --st-reserved: #B7791F;
  --st-sold: #8A8F98;
}
.chips[hidden], .rail-nav[hidden], .ba-range[hidden], .marquee-toggle[hidden] { display: none !important; }

/* Section tones (section field "tone"; the automatic alternating tint skips toned sections) */
.section-wrap[data-tone] > section { border-top-color: transparent; }
.section-wrap[data-tone="light"] > section { background: var(--bg); }
.section-wrap[data-tone="tint"] > section { background: var(--tint); }
.section-wrap[data-tone="dark"] { --t-bg: var(--tone-dark, var(--ink)); --t-fg: var(--tone-dark-ink, #fff); }
.section-wrap[data-tone="accent"] { --t-bg: var(--primary); --t-fg: #fff; }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section {
  background: var(--t-bg); color: var(--t-fg);
  --ink: var(--t-fg);
  --ink-2: color-mix(in srgb, var(--t-fg) 82%, var(--t-bg));
  --ink-3: color-mix(in srgb, var(--t-fg) 70%, var(--t-bg));
  --line: color-mix(in srgb, var(--t-fg) 28%, var(--t-bg));
  --bg: var(--t-bg);
  --bg-2: color-mix(in srgb, var(--t-fg) 8%, var(--t-bg));
  --tint: color-mix(in srgb, var(--t-fg) 8%, var(--t-bg));
}
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section :is(h1, h2, h3, h4, .eyebrow, .lede) { color: var(--t-fg); }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section .eyebrow { opacity: .8; }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section a:not(.btn) { color: var(--t-fg); }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section .btn-primary { background: var(--t-fg); color: var(--t-bg); }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section .btn-primary:hover { background: var(--t-fg); color: var(--t-bg); opacity: .88; }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section .btn-secondary { color: var(--t-fg); border-color: var(--t-fg); }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) > section :is(input, select, textarea) { color-scheme: dark; }
.section-wrap:is([data-tone="dark"], [data-tone="accent"]) :focus-visible { outline-color: var(--t-fg); }

/* Menu / price list */
.menu .menu-jump ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(24px, 4vw, 40px); }
.menu .menu-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; }
.menu .menu-jump a:hover { border-color: var(--ink); }
.menu-groups { display: grid; gap: clamp(36px, 5vw, 60px); }
.menu-group { scroll-margin-top: 96px; min-width: 0; }
.menu-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--ink); }
.menu-group-head h3 { margin: 0; font-size: var(--step-2); }
.menu-group-head p { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
.menu-cols { --menu-col: 7.5rem; display: flex; justify-content: flex-end; margin: 0 0 6px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.menu-cols-spacer { flex: 1; }
.menu-cols > span:not(.menu-cols-spacer) { width: var(--menu-col); text-align: right; }
.menu-items { margin: 0; }
.menu-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-item.has-image { align-items: flex-start; }
.menu-thumb { flex: none; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }
.menu-main { flex: 1; min-width: 0; }
.menu-line { display: flex; align-items: baseline; margin: 0; gap: 0; }
.menu-name { font-weight: 600; color: var(--ink); }
.menu-tag { display: inline-block; margin-left: .6em; padding: 1px 8px; border: 1px solid currentColor; border-radius: 999px; font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; vertical-align: .15em; color: var(--ink-2); white-space: nowrap; }
.menu-leader { flex: 1; min-width: 1.5em; margin: 0 .5em .35em; border-bottom: 1px dotted currentColor; opacity: .5; }
.menu-prices { --menu-col: 7.5rem; display: flex; flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.menu-prices:not(.n1) .menu-price { width: var(--menu-col); text-align: right; }
.menu-desc { margin: 4px 0 0; max-width: 60ch; color: var(--ink-2); font-size: var(--step--1); line-height: 1.55; }
.menu-foot { margin: clamp(24px, 4vw, 36px) 0 0; font-size: var(--step--1); color: var(--ink-2); }
@media (min-width: 860px) {
  .menu.layout-columns .menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); align-items: start; }
}
@media (max-width: 559px) {
  .menu-cols, .menu-prices { --menu-col: 5.8rem; }
  .menu-prices { font-size: .84rem; }
  .menu-prices:not(.n1) .menu-price, .menu-cols > span:not(.menu-cols-spacer) { padding-right: .5rem; }
  .menu-item { gap: 12px; }
  .menu-cols { justify-content: flex-start; }
  .menu-cols-spacer, .menu-leader { display: none; }
  .menu-cols > span:not(.menu-cols-spacer), .menu-prices:not(.n1) .menu-price { text-align: left; }
  .menu-line { flex-wrap: wrap; }
  .menu-name { flex: 1 1 100%; }
  .menu-prices { flex: 1 1 100%; margin-top: 2px; }
  .menu-thumb { width: 56px; height: 56px; }
}

/* Rail: horizontal scroll-snap cards */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail-head .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.rail-nav { display: flex; gap: 8px; flex: none; margin-bottom: clamp(24px, 4vw, 40px); }
.rail-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.rail-btn:hover:not(:disabled) { border-color: var(--ink); }
.rail-btn:disabled { opacity: .4; cursor: default; }
.rail-btn .icon { width: 20px; height: 20px; }
.rail-track {
  --rail-pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --rail-w: min(80vw, 360px);
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--rail-w); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 var(--rail-pad) 16px; scroll-padding-inline: var(--rail-pad);
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.rail.card-landscape .rail-track { --rail-w: min(86vw, 520px); }
.rail.card-square .rail-track { --rail-w: min(72vw, 340px); }
.rail-card { scroll-snap-align: start; min-width: 0; }
.rail-card article { position: relative; }
.rail-media { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); aspect-ratio: 4 / 5; }
.rail.card-landscape .rail-media { aspect-ratio: 3 / 2; }
.rail.card-square .rail-media { aspect-ratio: 1; }
.rail-media img { width: 100%; height: 100%; object-fit: cover; }
.rail-body { padding-top: 14px; }
.rail-body h3 { margin: 0 0 .25em; }
.rail-body h3 a { color: var(--ink); text-decoration: none; }
.rail-body h3 a::after { content: ""; position: absolute; inset: 0; }
.rail-body h3 a:hover { text-decoration: underline; }
.rail-meta { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
.rail-price { margin: 6px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.rail-track:focus-visible, .rail-card a:focus-visible, .rail-btn:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
@media (max-width: 720px) { .rail-nav { display: none; } }

/* Before / after slider */
.ba { --pos: 50%; margin: 0; }
.ba-list { display: grid; gap: clamp(28px, 4vw, 48px); }
.ba-frame { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius); background: var(--bg-2); touch-action: pan-y; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); pointer-events: none; }
.ba-frame:has(.ba-range:not([hidden]))::before {
  content: ""; position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315191f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat;
  border: 2px solid #15191f;
}
.ba-frame:has(.ba-range:focus-visible)::before { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
.ba-tag { position: absolute; z-index: 1; bottom: 12px; padding: 4px 10px; background: #15191f; color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; pointer-events: none; }
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }
.ba-range { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 2px; height: 100%; background: transparent; border: 0; }
.ba-range::-moz-range-track { height: 100%; background: transparent; }
.ba-range::-moz-range-thumb { width: 2px; height: 100%; background: transparent; border: 0; border-radius: 0; }
.ba figcaption { margin-top: 10px; color: var(--ink-2); font-size: var(--step--1); }

/* Hotspots: numbered points on an image + legend */
.hs { display: grid; gap: clamp(24px, 4vw, 40px); }
.hs-figure { position: relative; margin: 0; width: 100%; border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--radius); }
.hs-figure > img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.hs-points { position: absolute; inset: 0; margin: 0; padding: 0; }
.hs-point { position: absolute; transform: translate(-50%, -50%); margin: 0; }
.hs-point button { --hs-c: var(--ink); position: relative; display: block; width: 32px; height: 32px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--hs-c); color: #fff; font: inherit; font-size: .75rem; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .15s ease; }
.hs-point button::after { content: ""; position: absolute; inset: -8px; }
.hs-point.st-available button, .hs-item.st-available .hs-key { --hs-c: var(--st-available); }
.hs-point.st-reserved button, .hs-item.st-reserved .hs-key { --hs-c: var(--st-reserved); }
.hs-point.st-sold button, .hs-item.st-sold .hs-key { --hs-c: var(--st-sold); }
.hs-point:has(button:is(.is-active, .is-hover)) { z-index: 2; }
.hs-point button:is(.is-active, .is-hover) { transform: scale(1.2); box-shadow: 0 0 0 2px var(--ink); }
.hs-legend { margin: 0; border-top: 1px solid var(--line); }
.hs-item { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 14px 8px 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.hs-item.is-active, .hs-item:hover, .hs-item:focus-within { background: var(--tint); }
.hs-key { --hs-c: var(--ink); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hs-c); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; }
.hs-item h3 { margin: 0 0 .15em; font-size: var(--step-0); }
.hs-item h3 a { color: var(--ink); }
.hs-item p { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
.hs-item p + p { margin-top: 4px; }
.hs-item .hs-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--ink); }
.hs-item .hs-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hs-c, var(--ink-3)); }
.hs-item.st-available { --hs-c: var(--st-available); }
.hs-item.st-reserved { --hs-c: var(--st-reserved); }
.hs-item.st-sold { --hs-c: var(--st-sold); }
.hs-note { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
.hs-point button:focus-visible, .hs-item a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
@media (min-width: 960px) {
  .hotspots.legend-side .hs { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
  .hotspots.legend-side .hs-note { grid-column: 1 / -1; }
}

/* Calculator (mortgage) */
.calc { display: grid; gap: clamp(24px, 4vw, 40px); }
.calc-inputs { display: grid; gap: 18px; align-content: start; }
.calc-field { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 600; color: var(--ink); min-width: 0; }
.calc-field[hidden] { display: none; }
.calc-field :where(input:not([type="range"]), select) { width: 100%; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-weight: 400; font-size: 1rem; }
.calc-range { display: flex; align-items: center; gap: 14px; }
.calc-range input[type="range"] { flex: 1; min-width: 0; min-height: 44px; accent-color: var(--primary); }
.calc-range output { min-width: 3.5ch; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.calc :is(input, select):focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.calc-result { display: grid; gap: 16px; align-content: start; }
.calc-out { margin: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); display: grid; gap: 14px; }
.calc-out dt { color: var(--ink-2); font-size: var(--step--1); }
.calc-out dd { margin: 2px 0 0; font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.calc-out .calc-monthly dd { font-size: var(--step-4); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.calc-disclaimer { margin: 0; color: var(--ink-2); font-size: var(--step--1); }
.calc-cta { justify-self: start; }
@media (min-width: 860px) { .calc { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Marquee (animation only with motion allowed; otherwise the words wrap and sit still) */
.section-wrap > section.marquee { position: relative; overflow: hidden; padding-block: clamp(16px, 3vw, 28px); }
.marquee-viewport { overflow: hidden; }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .6em; padding-inline: var(--gutter); font-family: var(--font-heading, var(--font)); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.marquee.size-xl .marquee-track { font-size: clamp(2.25rem, 1.2rem + 5vw, 5rem); }
.marquee.size-m .marquee-track { font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); }
.marquee-run { display: inline-block; }
.marquee-sep { margin-inline: .35em; }
.marquee-run + .marquee-run { display: none; }
.marquee-toggle { position: absolute; z-index: 2; top: 50%; right: var(--gutter); width: 44px; height: 44px; margin-top: -22px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.marquee-toggle .icon { width: 18px; height: 18px; }
.marquee-toggle .i-play, .marquee.is-paused .marquee-toggle .i-pause { display: none; }
.marquee.is-paused .marquee-toggle .i-play { display: block; }
.marquee-toggle:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
@keyframes marquee-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  :root[data-motion="on"] .marquee-track { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; padding-inline: 0; white-space: nowrap; animation: marquee-x 40s linear infinite; }
  :root[data-motion="on"] .marquee.speed-normal .marquee-track { animation-duration: 26s; }
  :root[data-motion="on"] .marquee-run { flex: none; padding-right: .6em; }
  :root[data-motion="on"] .marquee-run + .marquee-run { display: inline-block; }
.marquee-sep { margin-inline: .35em; }
  :root[data-motion="on"] .marquee.is-paused .marquee-track { animation-play-state: paused; }
}

/* Subnav: sticky in-page menu */
.section-wrap[data-type="subnav"] { position: sticky; top: var(--sticky-top, 72px); z-index: 45; background: var(--bg); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; gap: 16px; }
.subnav ul { display: flex; flex: 1; min-width: 0; flex-wrap: nowrap; gap: 4px 24px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav li { flex: none; }
.subnav a:not(.btn) { display: block; padding: 14px 0 12px; border-bottom: 2px solid transparent; color: var(--ink-2); font-weight: 500; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.subnav a:not(.btn):hover { color: var(--ink); }
.subnav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--accent-strong); }
.subnav-cta { flex: none; padding: 8px 18px; }
.subnav a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: -2px; }

/* Enquiry bar / card */
.enquiry-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-items: end; }
.enq-field { display: grid; gap: 6px; min-width: 0; font-size: var(--step--1); font-weight: 600; color: var(--ink); }
.enq-field :where(input, select) { width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-weight: 400; font-size: 1rem; }
.enq-field :is(input, select):focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.enquiry-form .btn { justify-content: center; min-height: 48px; }
.enquiry-note { margin: 14px 0 0; color: var(--ink-2); font-size: var(--step--1); }
.enquiry-note p { margin: 0; }
.enquiry.layout-card .container { max-width: 760px; }
.enquiry.layout-card .enquiry-form { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.enquiry.layout-bar > .container > .enquiry-form { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.enquiry.layout-bar .section-head { margin-bottom: 20px; }
.enquiry.layout-bar { padding-block: clamp(28px, 4vw, 48px) !important; }

/* Floating contact button */
.float-cta { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); transition: background .15s; }
.float-cta:hover { background: var(--accent-strong); color: #fff; }
.float-cta .icon { width: 22px; height: 22px; flex: none; }
.float-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
@media (max-width: 720px) {
  .float-cta { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .float-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body:has(.float-cta) .site-footer { padding-bottom: 88px; }
}
@media print { .float-cta { display: none; } .section-wrap[data-type="subnav"] { position: static; } }

/* Open / closed status in the header */
.open-status { display: inline-flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font-size: .85rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.header-inner .open-status { margin-right: auto; margin-left: 4px; }
.open-status .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--st-sold); }
.open-status:is(.is-open, [data-state="open"]) .dot { background: var(--st-available); }
.open-status:is(.is-closed, [data-state="closed"]) .dot { background: var(--st-sold); }
.open-status .open-text { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .open-status { font-size: .78rem; } }
.header-inner:has(.open-status) .brand { flex: none; }

/* Category chips (products section filter and products index) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(20px, 3vw, 32px); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-weight: 500; font-size: .92rem; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:is([aria-pressed="true"], [aria-current="page"], [aria-current="true"]) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
[data-category][hidden] { display: none !important; }

/* Timeline with photos (per-item image) */
.timeline-list.has-photos { max-width: 920px; }
.timeline-list.has-photos .tl-photo { grid-column: 2; margin: 12px 0 0; max-width: 460px; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--bg-2); }
.timeline-list.has-photos .tl-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .timeline-list.has-photos .tl-photo { grid-column: 1; } }

/* auto- components (docs/demo-auto-plan.md). Neutral defaults from the existing tokens; the garage preset restyles them. */
.auto-stock .container, .auto-credit .container { position: relative; }
.auto-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 12px; margin-bottom: 20px; border-block: 1px solid var(--line); background: var(--bg); }
.auto-stock.mode-full .auto-toolbar { position: sticky; top: var(--sticky-top, 68px); z-index: 20; }
.auto-count { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; margin-right: auto; }
.auto-switch { display: inline-flex; margin: 0; padding: 0; border: 0; min-width: 0; }
.auto-switch legend { float: left; padding: 0 12px 0 0; line-height: 44px; font-size: var(--step--1); color: var(--ink-2); }
.auto-switch label { position: relative; display: inline-flex; }
.auto-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.auto-switch span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); font-weight: 600; font-size: .92rem; }
.auto-switch label + label span { margin-left: -1px; }
.auto-switch input:checked + span { background: var(--ink); color: var(--bg); }
.auto-switch input:focus-visible + span { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.auto-terms, .auto-sort { display: flex; align-items: center; gap: 12px; }
.auto-terms[hidden] { display: none; }
.auto-terms:not(.is-on) { display: none; }
.auto-terms label, .auto-sort { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--ink-2); }
.auto-toolbar select, .auto-filters select, .auto-credit-form select, .auto-credit-form input[type="number"] { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem; }
.auto-filter-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.auto-filter-btn .icon { width: 18px; height: 18px; }
.auto-filter-btn[hidden] { display: none; }
.auto-layout { display: grid; gap: 28px; align-items: start; }
.auto-filters[hidden] { display: none; }
.auto-f { display: grid; gap: 8px; margin: 0; padding: 0 0 16px; border: 0; font-size: var(--step--1); font-weight: 600; min-width: 0; }
.auto-f[hidden] { display: none; }
.auto-f legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.auto-f select { width: 100%; font-weight: 400; }
.auto-chips, .auto-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.auto-checks { display: grid; }
.auto-chip, .auto-check { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 400; min-height: 40px; }
.auto-chip input, .auto-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.auto-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); font-size: .9rem; }
.auto-chip input:checked + span, .auto-seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.auto-chip input:focus-visible + span, .auto-seg input:focus-visible + span { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.auto-check input { width: 20px; height: 20px; accent-color: var(--ink); }
.auto-seg { display: flex; flex-wrap: wrap; }
.auto-seg label { position: relative; display: inline-flex; flex: 1 1 auto; }
.auto-seg span { display: flex; flex: 1; align-items: center; justify-content: center; flex-direction: column; min-height: 44px; padding: 4px 14px; border: 1px solid var(--line); font-weight: 500; font-size: .9rem; text-align: center; }
.auto-seg label + label span { margin-left: -1px; }
.auto-seg small { font-size: .72rem; opacity: .8; }
.auto-filters-head { display: none; }
.auto-filters-foot { display: flex; gap: 10px; }
.auto-filters-foot .btn { flex: 1; justify-content: center; }
.auto-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.auto-grid[hidden], .auto-item[hidden] { display: none; }
.auto-card { position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: var(--bg); }
.auto-plate { position: relative; margin: 0; background: var(--bg-2); aspect-ratio: 31 / 12; }
.auto-plate img { width: 100%; height: 100%; object-fit: contain; }
.auto-card-body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.auto-card h3 { margin: 0; font-size: 1.15rem; }
.auto-card h3 a { color: inherit; text-decoration: none; }
.auto-card h3 a::after { content: ''; position: absolute; inset: 0; }
.auto-stockno { margin: 0; font-size: .72rem; color: var(--ink-2); }
.auto-specs { display: flex; flex-wrap: wrap; font-size: .85rem; color: var(--ink-2); }
.auto-specs li + li::before { content: '·'; margin-inline: .5em; }
.auto-price { margin: 4px 0 0; display: flex; flex-direction: column; gap: 2px; }
.auto-cash { font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.auto-month { font-size: .85rem; color: var(--ink-2); }
.auto-terms-text { display: block; }
[data-auto-stock][data-mode="month"] .auto-price { flex-direction: column-reverse; }
[data-auto-stock][data-mode="month"] .auto-month { font-size: 1.35rem; color: var(--ink); }
[data-auto-stock][data-mode="month"] .auto-month b { font-weight: 600; }
[data-auto-stock][data-mode="month"] .auto-month .auto-terms-text { font-size: .8rem; color: var(--ink-2); }
[data-auto-stock][data-mode="month"] .auto-cash { font-size: .85rem; font-weight: 400; color: var(--ink-2); }
[data-auto-stock][data-mode="month"] .auto-cash::after { content: ' tunai'; }
.auto-badge { margin: 0; display: inline-block; padding: 3px 10px; font-size: .75rem; font-weight: 600; background: var(--ink); color: var(--bg); }
.auto-plate .auto-badge { position: absolute; top: 10px; left: 10px; }
.auto-item.st-sold .auto-plate img { filter: grayscale(1); }
.auto-item.st-sold .auto-card-body { opacity: .7; }
.auto-empty, .auto-empty-static { padding: 32px 0; color: var(--ink-2); }
.auto-empty[hidden] { display: none; }
.auto-note, .auto-disclaimer { margin-top: 24px; font-size: var(--step--1); color: var(--ink-2); max-width: 70ch; }
.auto-lock { overflow: hidden; }
@media (min-width: 1100px) {
  .auto-stock.mode-full .auto-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .auto-filters { position: sticky; top: calc(var(--sticky-top, 68px) + 84px); padding-right: 20px; }
  .auto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auto-stock.mode-teaser .auto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 720px) and (max-width: 1099px) { .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1099px) {
  .auto-filter-btn { display: inline-flex; }
  .auto-filter-btn[hidden] { display: none; }
  .auto-filters { position: fixed; z-index: 90; inset: 0 0 0 auto; width: min(420px, 100%); overflow-y: auto; padding: 0 20px 20px; background: var(--bg); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; display: block; }
  .auto-filters.is-open { transform: none; visibility: visible; }
  .auto-filters-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; padding: 14px 0; margin-bottom: 8px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .auto-filters-head .h3 { margin: 0; }
  .auto-filters-head .h3:focus { outline: none; }
  .auto-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
  .auto-filters-foot { position: sticky; bottom: 0; padding: 14px 0 0; background: var(--bg); border-top: 1px solid var(--line); margin-top: 8px; }
}
@media (max-width: 559px) {
  .auto-grid { grid-template-columns: 1fr; gap: 12px; }
  .auto-card { display: grid; grid-template-columns: 136px minmax(0, 1fr); }
  .auto-plate { align-self: start; margin: 12px 0 0 12px; }
  .auto-card-body { padding: 10px 12px; gap: 4px; }
  .auto-card h3 { font-size: 1rem; }
  .auto-cash { font-size: 1.1rem; }
  .auto-specs { font-size: .78rem; }
  .auto-stock.mode-full .auto-toolbar { position: static; }
  .auto-toolbar > * { flex: 0 0 auto; }
  .auto-count { order: 1; }
  .auto-filter-btn { order: 2; }
  .auto-switch { order: 3; width: 100%; }
  .auto-switch legend { display: none; }
  .auto-switch label { flex: 1; }
  .auto-switch span { flex: 1; justify-content: center; }
  .auto-terms { order: 4; }
  .auto-sort { order: 5; flex: 1 1 auto; margin-left: auto; }
  .auto-sort span { display: none; }
  .auto-sort select { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"]) .auto-price > * { animation: auto-fade .12s linear; }
  :root:not([data-motion="off"]) .auto-filters { transition: transform .18s ease-out, visibility 0s linear .18s; }
  :root:not([data-motion="off"]) .auto-filters.is-open { transition: transform .18s ease-out; }
}
@keyframes auto-fade { from { opacity: 0; } to { opacity: 1; } }

/* auto-credit */
.auto-credit-form { display: grid; gap: clamp(24px, 4vw, 40px); align-items: start; }
.auto-credit-in { display: grid; gap: 14px; }
.auto-credit-in .auto-f { padding-bottom: 0; }
.auto-credit-out { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 16px; }
.auto-ac-big { margin: 0; display: grid; gap: 2px; }
.auto-ac-big span { font-size: var(--step--1); color: var(--ink-2); }
.auto-ac-big output { font-size: 2.4rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.auto-ac-big.is-2 output { font-size: 1.6rem; }
.auto-ac-big small { color: var(--ink-2); }
.auto-ac-rows { margin: 0; display: grid; }
.auto-ac-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.auto-ac-rows dt { color: var(--ink-2); }
.auto-ac-rows dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.auto-ac-bar { display: flex; height: 10px; gap: 2px; }
.auto-ac-bar span { display: block; min-width: 0; background: var(--ink); }
.auto-ac-bar span:nth-child(2) { background: var(--ink-3); }
.auto-ac-bar span:nth-child(3) { background: var(--ink-2); opacity: .6; }
.auto-ac-bar span:nth-child(4) { background: var(--primary); }
.auto-ac-unit { margin: 0; font-weight: 600; }
.auto-seg-tenor { flex-wrap: nowrap; }
.auto-seg-tenor label { flex: 1 1 0; min-width: 0; }
.auto-seg-tenor span { padding: 4px 4px; }
.auto-ac-rows dd { white-space: nowrap; }
.auto-hint { margin: 4px 0 0; font-weight: 400; color: var(--ink-2); }
.auto-credit-out .btn { justify-self: start; }
@media (min-width: 900px) {
  .auto-credit-form { grid-template-columns: 5fr 7fr; }
  .auto-credit-out { position: sticky; top: calc(var(--sticky-top, 68px) + 16px); }
}

/* auto-vehicle (unit page) */
.auto-v-crumbs { padding-top: 12px; }
.auto-v-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 40px; padding-block: 12px var(--space); }
.auto-v-grid > * { min-width: 0; }
.auto-v-head h1 { margin-bottom: .3em; }
.auto-specs-lg { font-size: 1rem; }
.auto-gallery { min-width: 0; position: relative; }
.auto-gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; border: 1px solid var(--line); background: var(--bg-2); }
.auto-gallery-track:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
.auto-gallery-track > li { flex: 0 0 100%; scroll-snap-align: start; }
.auto-gallery-track figure { margin: 0; }
.auto-gallery-track img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: var(--bg-2); }
.auto-gallery-track li:not(:first-child) img { object-fit: cover; }
.auto-gallery figcaption { padding: 8px 12px; font-size: .78rem; color: var(--ink-2); background: var(--bg); border-top: 1px solid var(--line); }
.auto-n { font-weight: 600; margin-right: 8px; font-variant-numeric: tabular-nums; }
.auto-gallery-nav { position: absolute; right: 12px; top: 12px; display: flex; gap: 6px; }
.auto-gallery-nav[hidden] { display: none; }
.auto-gallery-nav button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); cursor: pointer; }
.auto-gallery-nav .icon { width: 20px; height: 20px; }
.auto-photo-note { margin: 10px 0 0; font-size: var(--step--1); color: var(--ink-2); }
.auto-v-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.auto-v-price { border: 1px solid var(--ink); padding: 18px 20px; display: grid; gap: 4px; }
.auto-v-price p { margin: 0; }
.auto-v-price .auto-badge { justify-self: start; margin-bottom: 8px; }
@media (min-width: 1100px) { .auto-v-head .auto-badge { display: none; } }
.auto-cash-lg { font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.auto-month-lg { color: var(--ink-2); }
.auto-month-lg [data-auto-terms-text] { display: block; font-size: .78rem; }
.auto-v-incl { font-size: .8rem; color: var(--ink-2); margin-top: 8px !important; }
.auto-v-side .btn { justify-content: center; }
.auto-v-keyfacts { margin: 8px 0 0; display: grid; }
.auto-v-keyfacts > div, .auto-spec-table > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.auto-v-keyfacts dd, .auto-spec-table dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.auto-v-keyfacts dt, .auto-spec-table dt { color: var(--ink-2); }
.auto-spec-table { margin: 0; display: grid; grid-template-columns: 1fr; column-gap: 40px; }
.auto-v-specs h2, .auto-insp h2, .auto-related h2 { font-size: var(--step-2); }
.auto-insp-sum { color: var(--ink-2); }
.auto-insp-sum b { color: var(--ink); }
.auto-insp-wrap { overflow-x: auto; }
.auto-insp-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.auto-insp-table th, .auto-insp-table td { padding: 10px 12px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.auto-insp-table thead th { font-size: .75rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; border-top: 0; border-bottom: 2px solid var(--ink); }
.auto-insp-st { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.auto-insp-st .icon { width: 18px; height: 18px; }
.auto-insp-table tr.is-attention { box-shadow: inset 4px 0 0 var(--st-reserved, #a15c00); }
.auto-insp-table tr.is-repaired { box-shadow: inset 4px 0 0 var(--ink-2); }
.auto-meter { display: inline-block; width: 80px; height: 6px; margin-right: 10px; vertical-align: middle; background: var(--line); }
.auto-meter i { display: block; height: 100%; background: var(--st-available, #1e7a4c); }
.is-attention .auto-meter i { background: var(--st-reserved, #a15c00); }
.auto-mono { font-variant-numeric: tabular-nums; }
.auto-insp-link { margin-top: 12px; }
.auto-v-body { max-width: 70ch; }
.auto-related .auto-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.auto-vbar { display: none; }
@media (min-width: 720px) { .auto-spec-table { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .auto-v-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-auto-flow: row dense; }
  .auto-v-head, .auto-gallery, .auto-v-specs, .auto-insp, .auto-v-body { grid-column: 1; }
  .auto-v-side { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: calc(var(--sticky-top, 68px) + 16px); }
  .auto-related { grid-column: 1 / -1; }
}
@media (max-width: 719px) {
  .auto-v-side { order: 2; }
  .auto-v-head { order: 0; } .auto-gallery { order: 1; }
  .auto-v-specs { order: 3; } .auto-insp { order: 4; } .auto-v-body { order: 5; } .auto-related { order: 6; }
  .auto-vbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; padding: 10px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--bg); border-top: 1px solid var(--ink); }
  .auto-vbar p { margin: 0; font-size: .85rem; color: var(--ink-2); }
  .auto-vbar p b { color: var(--ink); font-size: 1.05rem; }
  .auto-vbar p > span { display: block; }
  body:has(.auto-vbar) .float-cta { display: none; }
  body:has(.auto-vbar) .site-footer { padding-bottom: 76px; }
}
@media print { .auto-toolbar, .auto-filters, .auto-vbar { display: none !important; } }

/* ---------- Fresh style ----------
   Bright and friendly without decoration tricks: flat solid colour blocks in
   the brand's two colours, bento-style card grids, built-in line icons, big
   rounded radii and pill buttons. No gradients, glows, blurs, textures or
   background patterns - depth comes only from colour blocks and whitespace.
   Every colour derives from --primary / --accent, so it works for any brand. */
:root[data-theme-style="fresh"] {
  --ink: color-mix(in srgb, var(--primary) 18%, #0b1220);
  --ink-2: color-mix(in srgb, var(--primary) 12%, #4a5463);
  --line: color-mix(in srgb, var(--primary) 12%, #fff);
  --navy: color-mix(in srgb, var(--primary) 62%, #000);
  --sky: color-mix(in srgb, var(--accent) 16%, #fff);
  --mist: color-mix(in srgb, var(--primary) 5%, #fff);
  --card: var(--mist);
  --tint: var(--bg);
  --bg-2: var(--mist);
  --radius: 14px;
  --r-lg: 28px;
  --space: clamp(64px, 9vw, 120px);
  --mark: polygon(35% 0, 100% 0, 65% 100%, 0 100%); /* slanted block, echoes a Z-like logo mark */
  --ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  --ic-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7'/%3E%3C/svg%3E");
}
[data-theme-style="fresh"] main h1, [data-theme-style="fresh"] main h2 { font-weight: 800; letter-spacing: -0.03em; }
[data-theme-style="fresh"] main h3 { font-weight: 700; letter-spacing: -0.015em; }
[data-theme-style="fresh"] .section-head h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); line-height: 1.1; }
[data-theme-style="fresh"] .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: 0.78rem; letter-spacing: 0.1em; font-weight: 700; }
[data-theme-style="fresh"] .eyebrow::before { content: ""; width: 14px; height: 12px; background: var(--accent); clip-path: var(--mark); }
[data-theme-style="fresh"] .section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* Buttons: pills, solid fills, hover = darker fill (no lift shadow) */
[data-theme-style="fresh"] .btn { border-radius: 999px; padding: 13px 24px; font-weight: 700; border-width: 2px; }
[data-theme-style="fresh"] .btn-primary { background: var(--primary); }
[data-theme-style="fresh"] .btn-primary:hover { background: var(--navy); }
[data-theme-style="fresh"] .btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line); }
[data-theme-style="fresh"] .btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
[data-theme-style="fresh"] .btn-light:hover { background: var(--sky); }
[data-theme-style="fresh"] .btn-ghost { border-color: rgba(255,255,255,.45); }
[data-theme-style="fresh"][data-motion="on"] .btn:hover { transform: translateY(-2px); box-shadow: none; }
[data-theme-style="fresh"] .link-arrow { color: var(--primary); }
[data-theme-style="fresh"] .site-nav .nav-cta { padding: 10px 20px; }
[data-theme-style="fresh"] .site-nav > ul > li > a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent); }

/* One flat white surface; cards carry the colour. No hairlines between sections. */
[data-theme-style="fresh"] .section-wrap + .section-wrap > section { border-top: 0; }
[data-theme-style="fresh"] .section-wrap > section::before, [data-theme-style="fresh"] .section-wrap > section::after { content: none; }
[data-theme-style="fresh"] .section-wrap > section { padding-block: clamp(40px, 5vw, 64px); }

/* Hero: an inset rounded panel with the copy left and coloured tiles right */
[data-theme-style="fresh"] .hero { background: var(--mist); margin: 8px clamp(8px, 1.4vw, 20px) 0; border-radius: var(--r-lg); padding-block: clamp(48px, 7vw, 96px) !important; }
[data-theme-style="fresh"] .hero.has-image .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 64px); }
[data-theme-style="fresh"] .hero .eyebrow { background: var(--bg); padding: 7px 14px 7px 12px; border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--ink); font-weight: 600; margin-bottom: 1.4em; }
[data-theme-style="fresh"] .hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.8rem); line-height: 1.04; letter-spacing: -0.04em; max-width: 15ch; }
[data-theme-style="fresh"] .hl { color: var(--primary); box-shadow: inset 0 -0.26em 0 var(--sky); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[data-theme-style="fresh"] .hero .lede { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--ink-2); max-width: 46ch; }
[data-theme-style="fresh"] .hero-points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; stroke-width: 3; }
[data-theme-style="fresh"] .hero-points { color: var(--ink); }

[data-theme-style="fresh"] .hero-tiles { gap: 14px; grid-template-areas: "a b" "a c" "d d"; }
[data-theme-style="fresh"] .hero-tiles.n1 { grid-template-areas: "a a"; }
[data-theme-style="fresh"] .hero-tiles.n2 { grid-template-areas: "a b"; }
[data-theme-style="fresh"] .hero-tiles.n3 { grid-template-areas: "a b" "a c"; }
[data-theme-style="fresh"] .hero-tile.t1 { grid-area: a; } [data-theme-style="fresh"] .hero-tile.t2 { grid-area: b; }
[data-theme-style="fresh"] .hero-tile.t3 { grid-area: c; } [data-theme-style="fresh"] .hero-tile.t4 { grid-area: d; }
[data-theme-style="fresh"] .hero-tile a { border: 0; border-radius: 22px; padding: 24px 64px 24px 24px; min-height: 148px; gap: 6px; overflow: hidden; transition: transform .2s ease; }
[data-theme-style="fresh"] .hero-tile strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
[data-theme-style="fresh"] .hero-tile span { font-size: 0.9rem; line-height: 1.45; color: inherit; opacity: .82; }
[data-theme-style="fresh"] .hero-tile.t1 a { background: var(--primary); color: #fff; padding-right: 24px; }
[data-theme-style="fresh"] .hero-tile.t1 strong { padding-right: 44px; }
[data-theme-style="fresh"] .hero-tile.t1 img { margin-top: auto; border-radius: 14px; width: 100%; }
[data-theme-style="fresh"] .hero-tile.t1 span { margin-bottom: 20px; }
[data-theme-style="fresh"] .tile-badge { background: var(--accent); color: var(--navy); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
[data-theme-style="fresh"] .hero-tile.t2 a { background: var(--accent); color: var(--navy); }
[data-theme-style="fresh"] .hero-tile.t3 a { background: var(--bg); color: var(--ink); }
[data-theme-style="fresh"] .hero-tile.t4 a { background: var(--navy); color: #fff; min-height: 0; }
[data-theme-style="fresh"] .tile-arrow { top: 20px; right: 20px; width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: rgba(255,255,255,.18); transition: transform .2s ease; }
[data-theme-style="fresh"] .hero-tile.t3 .tile-arrow { background: var(--sky); color: var(--primary); }
[data-theme-style="fresh"] .hero-tile.t2 .tile-arrow { background: rgba(255,255,255,.4); }
[data-theme-style="fresh"][data-motion="on"] .hero-tile a:hover { transform: translateY(-3px); }
[data-theme-style="fresh"] .hero-tile a:hover .tile-arrow { transform: rotate(-45deg); }

/* Problem vs. solution: a muted card beside a solid brand card */
[data-theme-style="fresh"] .compare-grid { gap: 16px; background: none; border: 0; overflow: visible; }
[data-theme-style="fresh"] .compare-col { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); background: var(--card); }
[data-theme-style="fresh"] .compare-col h3 { font-size: 1.25rem; margin-bottom: 22px; }
[data-theme-style="fresh"] .compare-col h3::before { content: none; }
[data-theme-style="fresh"] .compare-problem h3 { color: var(--ink-2); }
[data-theme-style="fresh"] .compare-solution { background: var(--primary); }
[data-theme-style="fresh"] .compare-solution h3 { color: #fff; }
[data-theme-style="fresh"] .compare-col ul { gap: 16px; }
[data-theme-style="fresh"] .compare-col li { padding-left: 38px; min-height: 24px; color: var(--ink-2); }
[data-theme-style="fresh"] .compare-solution li { color: #fff; }
[data-theme-style="fresh"] .compare-col li::before, [data-theme-style="fresh"] .compare-col li::after { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; }
[data-theme-style="fresh"] .compare-problem li::before { background: var(--line); }
[data-theme-style="fresh"] .compare-problem li::after { background: var(--ink-2); -webkit-mask: var(--ic-x) center / 18px no-repeat; mask: var(--ic-x) center / 18px no-repeat; }
[data-theme-style="fresh"] .compare-solution li::before { background: var(--accent); }
[data-theme-style="fresh"] .compare-solution li::after { background: var(--navy); -webkit-mask: var(--ic-check) center / 18px no-repeat; mask: var(--ic-check) center / 18px no-repeat; }

/* Services: bento grid, the first service gets the big brand-coloured card */
[data-theme-style="fresh"] .service-list { grid-template-columns: repeat(3, 1fr); gap: 16px; border: 0; }
[data-theme-style="fresh"] .service-list > li { position: relative; display: flex; flex-direction: column; gap: 0; padding: 32px; border: 0; border-radius: var(--r-lg); background: var(--card); transition: transform .2s ease; }
[data-theme-style="fresh"] .service-list > li::before { content: none; }
[data-theme-style="fresh"] .service-list > li:first-child { grid-column: span 2; background: var(--primary); color: #fff; }
[data-theme-style="fresh"] .service-list > li .icon-tile { width: 52px; height: 52px; border-radius: 16px; background: var(--bg); margin-bottom: 22px; }
[data-theme-style="fresh"] .service-list > li:first-child .icon-tile { background: var(--accent); color: var(--navy); }
[data-theme-style="fresh"] .service-list > li > h3 { font-size: 1.3rem; margin-bottom: 8px; }
[data-theme-style="fresh"] .service-list > li:first-child > h3, [data-theme-style="fresh"] .service-list > li:first-child > p, [data-theme-style="fresh"] .service-list > li:first-child .service-points li { color: #fff; }
[data-theme-style="fresh"] .service-list h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
[data-theme-style="fresh"] .service-list h3 a:hover { color: inherit; }
[data-theme-style="fresh"][data-motion="on"] .service-list > li:has(a):hover { transform: translateY(-4px); }
[data-theme-style="fresh"] .service-points { margin-top: auto; padding-top: 20px; gap: 8px; }
[data-theme-style="fresh"] .service-points li { padding-left: 26px; font-size: 0.92rem; }
[data-theme-style="fresh"] .service-points li::before { top: 2px; width: 18px; height: 18px; border-radius: 0; background: var(--primary); -webkit-mask: var(--ic-check) center / 18px no-repeat; mask: var(--ic-check) center / 18px no-repeat; }
[data-theme-style="fresh"] .service-list > li:first-child .service-points li::before { background: var(--accent); }
@media (min-width: 961px) { [data-theme-style="fresh"] .service-list > li:first-child .service-points { grid-template-columns: repeat(3, 1fr); } }

/* Products: soft cards with the illustration set into the card */
[data-theme-style="fresh"] .product-grid { gap: 16px; }
[data-theme-style="fresh"] .product-card { background: var(--card); border-radius: var(--r-lg); padding: 12px 12px 28px; }
[data-theme-style="fresh"] .product-thumb { border-radius: 20px; margin-bottom: 22px; background: var(--bg); }
[data-theme-style="fresh"] .product-body { display: flex; flex-direction: column; flex: 1; padding: 0 16px; }
[data-theme-style="fresh"] .product-card .eyebrow { font-size: 0.7rem; }
[data-theme-style="fresh"] .product-card h3 { font-size: 1.5rem; font-weight: 800; }
[data-theme-style="fresh"] .product-card .link-arrow { margin-top: 14px; }
[data-theme-style="fresh"][data-motion="on"] .product-card:hover { transform: translateY(-4px); }
[data-theme-style="fresh"][data-motion="on"] .product-card:hover .product-thumb img { transform: scale(1.03); }

/* Features: icon cards */
[data-theme-style="fresh"] .feature-grid { gap: 16px; }
[data-theme-style="fresh"] .feature-grid li { border: 0; background: var(--card); border-radius: var(--r-lg); padding: 30px 28px; }
[data-theme-style="fresh"] .feature-grid .icon-tile { width: 52px; height: 52px; border-radius: 16px; background: var(--sky); margin-bottom: 26px; }
[data-theme-style="fresh"] .feature-grid li:nth-child(4n+2) .icon-tile { background: var(--primary); color: #fff; }
[data-theme-style="fresh"] .feature-grid li:nth-child(4n+3) .icon-tile { background: var(--accent); color: var(--navy); }
[data-theme-style="fresh"] .feature-grid li:nth-child(4n+4) .icon-tile { background: var(--navy); color: #fff; }
[data-theme-style="fresh"] .feature-grid h3 { font-size: 1.2rem; }
[data-theme-style="fresh"] .feature-index { font-size: 0.85rem; color: var(--primary); opacity: 1; }

/* Segments: pill switcher + one rounded panel */
[data-theme-style="fresh"] .segments-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border: 0; border-radius: 999px; background: var(--mist); margin-bottom: 20px; }
[data-theme-style="fresh"] .segments-tab { border: 0; border-radius: 999px; padding: 10px 18px; margin: 0; color: var(--ink-2); font-size: 0.92rem; transition: background .15s, color .15s; }
[data-theme-style="fresh"] .segments-tab:hover { color: var(--primary); }
[data-theme-style="fresh"] .segments-tab[aria-selected="true"] { background: var(--primary); color: #fff; }
[data-theme-style="fresh"] .segments-panel { background: var(--card); border-radius: var(--r-lg); padding: 16px; gap: clamp(24px, 4vw, 56px); }
[data-theme-style="fresh"] .segments-media { border-radius: 20px; background: var(--bg); }
[data-theme-style="fresh"] .segments-text { padding: 16px 24px 16px 0; }
[data-theme-style="fresh"] .segments-text h3 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); font-weight: 800; }
[data-theme-style="fresh"] .segments-text .link-arrow { display: inline-flex; margin-top: 8px; padding: 11px 20px; border-radius: 999px; background: var(--primary); color: #fff; text-decoration: none; }
[data-theme-style="fresh"] .segments-text .link-arrow:hover { background: var(--navy); }

/* Process: numbered steps on a dashed track */
[data-theme-style="fresh"] .process-list { gap: 16px; }
[data-theme-style="fresh"] .process-list::before { top: 26px; height: 0; background: none; border-top: 2px dashed var(--line); }
[data-theme-style="fresh"] .process-list > li { max-width: none; }
[data-theme-style="fresh"] .process-list li::before { width: 54px; height: 54px; border-radius: 18px; background: var(--accent); color: var(--navy); font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; box-shadow: 0 0 0 8px var(--bg); }
[data-theme-style="fresh"] .process-list li:first-child::before { background: var(--primary); color: #fff; }
[data-theme-style="fresh"] .process-list h3 { font-size: 1.1rem; }
[data-theme-style="fresh"] .process-list p { font-size: 0.95rem; }

/* FAQ: rounded disclosure cards */
[data-theme-style="fresh"] .faq .section-head { text-align: center; margin-inline: auto; }
[data-theme-style="fresh"] .faq-list { display: grid; gap: 12px; }
[data-theme-style="fresh"] .faq-list details { border: 0 !important; background: var(--card); border-radius: 20px; padding: 0 24px; }
[data-theme-style="fresh"] .faq-list summary { padding: 20px 0; font-size: 1.05rem; align-items: center; }
[data-theme-style="fresh"] .faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--primary); font-size: 1.3rem; font-weight: 600; transition: transform .2s ease, background .2s; }
[data-theme-style="fresh"] .faq-list details[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--primary); color: #fff; }
[data-theme-style="fresh"] .faq-list .prose { padding-bottom: 22px; }

/* Posts */
[data-theme-style="fresh"] .post-grid { gap: 16px; }
[data-theme-style="fresh"] .post-card { height: 100%; background: var(--card); border-radius: var(--r-lg); padding: 28px; transition: transform .2s ease; position: relative; }
[data-theme-style="fresh"] .post-card h3 { font-size: 1.15rem; line-height: 1.3; }
[data-theme-style="fresh"] .post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
[data-theme-style="fresh"] .post-meta { align-items: center; margin-bottom: 16px; }
[data-theme-style="fresh"] .post-cat { background: var(--bg); color: var(--primary); padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; }
[data-theme-style="fresh"][data-motion="on"] .post-card:hover { transform: translateY(-4px); }
[data-theme-style="fresh"] .post-thumb { border-radius: 18px; }
[data-theme-style="fresh"] .post-grid li { height: 100%; }

/* CTA: a solid brand-colour block inside the page width, with two slanted
   blocks echoing the logo mark (flat shapes, no gradient) */
[data-theme-style="fresh"] .cta-band { background: none; color: inherit; overflow: visible; padding-block: 0 var(--space) !important; }
[data-theme-style="fresh"] .cta-band > .container { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); padding: clamp(36px, 6vw, 72px); background: var(--primary); border-radius: var(--r-lg); overflow: hidden; color: #fff; }
[data-theme-style="fresh"] .cta-band > .container::before, [data-theme-style="fresh"] .cta-band > .container::after { content: ""; position: absolute; clip-path: var(--mark); pointer-events: none; }
[data-theme-style="fresh"] .cta-band > .container::before { width: 300px; height: 230px; right: -40px; top: -30px; background: var(--accent); }
[data-theme-style="fresh"] .cta-band > .container::after { width: 260px; height: 200px; right: 130px; bottom: -60px; background: color-mix(in srgb, var(--primary) 80%, #fff); }
[data-theme-style="fresh"] .cta-grid { flex-direction: column; align-items: flex-start; gap: 28px; }
[data-theme-style="fresh"] .cta-grid > * { position: relative; z-index: 1; }
[data-theme-style="fresh"] .cta-band h2 { max-width: 20ch; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
[data-theme-style="fresh"] .cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
[data-theme-style="fresh"] .cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Footer */
[data-theme-style="fresh"] .site-footer { background: var(--mist); border-top: 0; }
[data-theme-style="fresh"] .footer-bottom { border-color: var(--line); }

@media (max-width: 960px) {
  [data-theme-style="fresh"] .hero-grid { grid-template-columns: 1fr !important; }
  [data-theme-style="fresh"] .service-list { grid-template-columns: 1fr 1fr; }
  [data-theme-style="fresh"] .feature-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  [data-theme-style="fresh"] .segments-text { padding: 8px 12px 16px; }
  [data-theme-style="fresh"] .process-list::before { content: none; }
  [data-theme-style="fresh"] .process-list > li { flex-basis: 40%; }
  [data-theme-style="fresh"] .cta-band > .container::before { width: 180px; height: 140px; right: -50px; }
  [data-theme-style="fresh"] .cta-band > .container::after { display: none; }
}
@media (max-width: 720px) {
  [data-theme-style="fresh"] .service-list, [data-theme-style="fresh"] .feature-grid.cols-4 { grid-template-columns: 1fr; }
  [data-theme-style="fresh"] .service-list > li:first-child { grid-column: auto; }
  [data-theme-style="fresh"] .service-list > li { padding: 26px; }
  [data-theme-style="fresh"] .hero-tiles { grid-template-areas: "a a" "b c" "d d"; }
  [data-theme-style="fresh"] .hero-tiles.n3 { grid-template-areas: "a a" "b c"; }
  [data-theme-style="fresh"] .hero-tile a { padding: 20px 20px 20px 20px; min-height: 0; }
  [data-theme-style="fresh"] .hero-tile.t2 a, [data-theme-style="fresh"] .hero-tile.t3 a { padding-top: 64px; }
  [data-theme-style="fresh"] .hero-tile.t1 a { padding-right: 20px; }
  [data-theme-style="fresh"] .hero-tile strong { font-size: 1.2rem; }
  [data-theme-style="fresh"] .tile-arrow { top: 16px; right: auto; left: 16px; }
  [data-theme-style="fresh"] .hero-tile.t1 .tile-arrow, [data-theme-style="fresh"] .hero-tile.t4 .tile-arrow { left: auto; right: 16px; }
  [data-theme-style="fresh"] .segments-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 20px; scrollbar-width: none; }
  [data-theme-style="fresh"] .segments-tab { white-space: nowrap; }
  [data-theme-style="fresh"] .process-list > li { flex-basis: 100%; }
  [data-theme-style="fresh"] .site-nav { background: var(--bg); }
}

/* Fresh: sections the Zonaku page doesn't use */
[data-theme-style="fresh"] .wordmark { font-weight: 800; font-size: 1.45rem; letter-spacing: -0.04em; }
[data-theme-style="fresh"] .wordmark::before { border-radius: 9px; clip-path: none; }
[data-theme-style="fresh"] .stats { background: none; color: inherit; padding-block: clamp(20px, 3vw, 32px) 0 !important; }
[data-theme-style="fresh"] .stat-row { gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
[data-theme-style="fresh"] .stat-row > div { background: var(--card); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
[data-theme-style="fresh"] .stat-row > div:first-child { background: var(--primary); color: #fff; }
[data-theme-style="fresh"] .stat-row dd { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); font-weight: 800; color: var(--primary); }
[data-theme-style="fresh"] .stat-row > div:first-child dd { color: #fff; }
[data-theme-style="fresh"] .stat-row dt { margin: 0; color: var(--ink-2); font-size: 0.95rem; font-weight: 500; }
[data-theme-style="fresh"] .stat-row > div:first-child dt { color: rgba(255,255,255,.85); }
[data-theme-style="fresh"] .logos { background: none; }
[data-theme-style="fresh"] .logo-row { gap: 12px; }
[data-theme-style="fresh"] .logo-row li > span, [data-theme-style="fresh"] .logo-row li > a > span { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 700; }
[data-theme-style="fresh"] .logos-heading { color: var(--primary); }
[data-theme-style="fresh"] .split-grid { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); gap: clamp(28px, 4vw, 56px); }
[data-theme-style="fresh"] .split-media img { border-radius: 18px; border: 1px solid var(--line); }
[data-theme-style="fresh"] .split .prose ul { list-style: none; padding: 0; }
[data-theme-style="fresh"] .split .prose li { position: relative; padding-left: 28px; }
[data-theme-style="fresh"] .split .prose li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--primary); -webkit-mask: var(--ic-check) center / 18px no-repeat; mask: var(--ic-check) center / 18px no-repeat; }
[data-theme-style="fresh"] .split h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
[data-theme-style="fresh"] .plan-grid { gap: 16px; }
[data-theme-style="fresh"] .plan { border: 0; border-radius: var(--r-lg); background: var(--card); padding: 32px; }
[data-theme-style="fresh"] .plan.is-highlight { background: var(--primary); color: #fff; box-shadow: none; }
[data-theme-style="fresh"] .plan.is-highlight h3, [data-theme-style="fresh"] .plan.is-highlight .plan-desc, [data-theme-style="fresh"] .plan.is-highlight .plan-price span { color: #fff; }
[data-theme-style="fresh"] .plan.is-highlight .plan-features .icon { color: var(--accent); }
[data-theme-style="fresh"] .plan.is-highlight .btn-primary { background: #fff; color: var(--primary); }
[data-theme-style="fresh"] .plan-badge { position: static; align-self: flex-start; margin-bottom: 14px; background: var(--accent); color: var(--navy); }
[data-theme-style="fresh"] .plan h3 { font-size: 1.6rem; font-weight: 800; }
[data-theme-style="fresh"] .plan-features { font-size: 0.95rem; }
[data-theme-style="fresh"] .pg-panel { border: 0; border-radius: var(--r-lg); background: var(--card); }
[data-theme-style="fresh"] .pg-style, [data-theme-style="fresh"] .pg-swatch { border-width: 2px; border-color: transparent; }
[data-theme-style="fresh"] .pg-swatch[aria-pressed="true"] { border-color: var(--primary); box-shadow: none; }
[data-theme-style="fresh"] .pg-label { color: var(--primary); }
[data-theme-style="fresh"] .page-header { background: var(--mist); border: 0; margin: 8px clamp(8px, 1.4vw, 20px) 0; border-radius: var(--r-lg); }
[data-theme-style="fresh"] .page-header h1 { font-weight: 800; letter-spacing: -0.035em; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); }
[data-theme-style="fresh"] .contact-form input, [data-theme-style="fresh"] .contact-form textarea { border: 2px solid var(--line); border-radius: 14px; background: var(--bg); }
[data-theme-style="fresh"] .contact-aside { background: var(--card); border-radius: var(--r-lg); padding: 28px; }
[data-theme-style="fresh"] .timeline-list { border-left: 2px dashed var(--line); }
[data-theme-style="fresh"] .timeline-list li::before { background: var(--accent); border-color: var(--bg); width: 14px; height: 14px; left: -8px; }
@media (max-width: 720px) { [data-theme-style="fresh"] .split-grid { padding: 20px; } }
@media (max-width: 720px) { [data-theme-style="fresh"] .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; } [data-theme-style="fresh"] .stat-row > div { padding: 20px; } [data-theme-style="fresh"] .stat-row dt { font-size: 0.85rem; } }

/* Fresh: documentation */
[data-theme-style="fresh"] .docs-hero { background: var(--mist); margin: 8px clamp(8px, 1.4vw, 20px) 0; border-radius: var(--r-lg); }
[data-theme-style="fresh"] .docs-hero h1 { font-weight: 800; letter-spacing: -0.035em; font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem); }
[data-theme-style="fresh"] .docs-search input { border: 2px solid transparent; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line); }
[data-theme-style="fresh"] .docs-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--primary); }
[data-theme-style="fresh"] .docs-side .docs-search input { background: var(--mist); box-shadow: none; }
[data-theme-style="fresh"] .docs-card { border: 0; background: var(--card); border-radius: var(--r-lg); padding: 28px; }
[data-theme-style="fresh"] .docs-card-num { border-radius: 14px; }
[data-theme-style="fresh"] .docs-cards .docs-card:nth-child(4n+2) .docs-card-num { background: var(--accent); color: var(--navy); }
[data-theme-style="fresh"] .docs-cards .docs-card:nth-child(4n+3) .docs-card-num { background: var(--navy); }
[data-theme-style="fresh"] .docs-cards .docs-card:nth-child(4n+4) .docs-card-num { background: var(--sky); color: var(--primary); }
[data-theme-style="fresh"] .docs-card li a { border-radius: 14px; }
[data-theme-style="fresh"] .docs-card li a:hover { background: var(--bg); }
[data-theme-style="fresh"] .docs-nav a { border-radius: 10px; }
[data-theme-style="fresh"] .docs-nav a[aria-current="page"] { background: var(--sky); }
[data-theme-style="fresh"] .docs-article h1 { font-weight: 800; letter-spacing: -0.03em; }
[data-theme-style="fresh"] .docs-body figure.shot { border-radius: 18px; }
[data-theme-style="fresh"] .docs-body blockquote.callout { border-radius: 0 14px 14px 0; }
[data-theme-style="fresh"] .docs-pager a { border: 0; background: var(--card); border-radius: 18px; }
[data-theme-style="fresh"] .docs-pager a:hover { background: var(--sky); }
[data-theme-style="fresh"] .docs-help { background: var(--primary); color: #fff; border-radius: var(--r-lg); padding: 28px; }
[data-theme-style="fresh"] .docs-help h2 { color: #fff; }
[data-theme-style="fresh"] .docs-help p { color: rgba(255,255,255,.85); }
[data-theme-style="fresh"] .docs-help .icon-tile { background: var(--accent); color: var(--navy); border-radius: 16px; }
[data-theme-style="fresh"] .docs-help .btn-primary { background: #fff; color: var(--primary); }
[data-theme-style="fresh"] .docs-side-inner { border-color: var(--line); }
@media (max-width: 860px) { [data-theme-style="fresh"] .docs-side-inner { border: 0; background: var(--mist); border-radius: 18px; } }

/* ---------- Care style ----------
   Calm healthcare look: teal + one warm accent, flat 2px-bordered cards with hard
   (offset, single-colour) shadows, large readable type, prominent emergency UI.
   Solid fills only, nothing decorative layered on top.
   Markup/token contract: docs/demo-rs-plan.md section 3.9. */
:root[data-theme-style="care"] {
  --ink: #10302F; --ink-2: #4A5B5A; --ink-3: #5B6B6A;
  --line: #D5E5E3; --line-2: #B9D2CF;
  --bg: #fff; --bg-2: #F3F8F7; --mist: #F3F8F7; --soft: #E6F2F1; --tint: #F3F8F7;
  --navy: color-mix(in srgb, var(--primary) 70%, #000);
  --sos: #B42318; --sos-dark: #7A1A12; --sos-soft: #FDECEA;
  --r-lg: 16px;
  --hard: 4px 4px 0 var(--line-2);
  --hard-brand: 4px 4px 0 var(--navy);
  --space: clamp(56px, 8vw, 104px);
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3CclipPath id='c'%3E%3Crect width='32' height='32' rx='8'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23c)'%3E%3Crect width='32' height='32' fill='%230B6E6E'/%3E%3Ccircle cx='32' cy='32' r='11' fill='%23F2B53A'/%3E%3Cpath d='M13 7h6v5h5v6h-5v5h-6v-5H8v-6h5z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
  --ic-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E");
}

/* 1. Global */
[data-theme-style="care"] body { font-size: 1.0625rem; line-height: 1.65; }
[data-theme-style="care"] h1, [data-theme-style="care"] h2 { font-weight: 600; letter-spacing: -0.02em; }
[data-theme-style="care"] h3 { font-weight: 600; }
[data-theme-style="care"] a:hover { color: var(--navy); }
[data-theme-style="care"] :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
[data-theme-style="care"] .emergency :where(a, button, input, select, textarea, summary):focus-visible,
[data-theme-style="care"] .cta-band :where(a, button, input, select, textarea, summary):focus-visible,
[data-theme-style="care"] .site-footer :where(a, button, input, select, textarea, summary):focus-visible,
[data-theme-style="care"] .stats :where(a, button, input, select, textarea, summary):focus-visible { outline-color: #fff; }
[data-theme-style="care"] .hero::before, [data-theme-style="care"] .cta-band::before, [data-theme-style="care"] .cta-band::after { content: none; }
[data-theme-style="care"] .section-bg-image { display: none; }
[data-theme-style="care"] .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
[data-theme-style="care"] .eyebrow::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
[data-theme-style="care"] .prose table { display: block; overflow-x: auto; }
[data-theme-style="care"] .prose th, [data-theme-style="care"] .prose td { border-bottom: 2px solid var(--line); }
[data-theme-style="care"] .prose th { background: var(--mist); }
[data-theme-style="care"] .prose blockquote { border-left-color: var(--primary); }

/* 2. Buttons */
[data-theme-style="care"] .btn { border-width: 2px; border-radius: var(--radius); padding: 12px 22px; font-weight: 700; min-height: 48px; }
[data-theme-style="care"] .btn-primary { background: var(--primary); color: #fff; border-color: var(--navy); box-shadow: 3px 3px 0 var(--navy); }
[data-theme-style="care"] .btn-primary:hover { background: var(--navy); color: #fff; }
[data-theme-style="care"] .btn-secondary { background: #fff; color: var(--primary); border-color: var(--primary); box-shadow: 3px 3px 0 var(--line-2); }
[data-theme-style="care"] .btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
[data-theme-style="care"] .btn-light { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 3px 3px 0 rgba(0,0,0,.25); }
[data-theme-style="care"] .btn-light:hover { background: #fff; color: var(--ink); }
[data-theme-style="care"] .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
[data-theme-style="care"] .btn-ghost:hover { background: transparent; color: #fff; border-color: #fff; }
[data-theme-style="care"][data-motion="on"] .btn:hover { transform: translate(-1px, -1px); }
[data-theme-style="care"][data-motion="on"] .btn-primary:hover { box-shadow: 4px 4px 0 var(--navy); }
[data-theme-style="care"][data-motion="on"] .btn-secondary:hover { box-shadow: 4px 4px 0 var(--line-2); }
[data-theme-style="care"][data-motion="on"] .btn-light:hover { box-shadow: 4px 4px 0 rgba(0,0,0,.25); }
[data-theme-style="care"][data-motion="on"] .btn-ghost:hover { box-shadow: none; }
[data-theme-style="care"][data-motion="on"] .btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 transparent; }
[data-theme-style="care"] .link-arrow { color: var(--primary); }

/* 3. Top strip */
[data-theme-style="care"] .topbar { background: var(--soft); border-bottom: 0; color: var(--ink); }
[data-theme-style="care"] .topbar-sos { background: var(--sos); box-shadow: 2px 2px 0 var(--sos-dark); }

/* 4. Header */
[data-theme-style="care"] .site-header { border-bottom: 2px solid var(--line); }
[data-theme-style="care"] .header-inner { min-height: 76px; }
[data-theme-style="care"] .site-nav > ul { gap: 22px; }
[data-theme-style="care"] .site-nav a { font-weight: 600; color: var(--ink); }
[data-theme-style="care"] .site-nav > ul > li > a[aria-current="page"] { box-shadow: 0 3px 0 var(--primary); }
[data-theme-style="care"] .site-nav .nav-cta { color: #fff; }
[data-theme-style="care"] .submenu { border: 2px solid var(--line); box-shadow: var(--hard); border-radius: 12px; }
[data-theme-style="care"] .wordmark { font-family: var(--font-heading, var(--font)); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
[data-theme-style="care"] .wordmark::before { width: 32px; height: 32px; border-radius: 8px; background: var(--mark) center / 100% no-repeat; box-shadow: none; }
[data-theme-style="care"] .site-footer .wordmark { color: #fff; }

/* 5. Hero */
[data-theme-style="care"] .hero { background: var(--mist); border-bottom: 2px solid var(--line); padding-block: clamp(48px, 7vw, 88px) !important; }
[data-theme-style="care"] .hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); max-width: 16ch; }
[data-theme-style="care"] .hl { color: var(--primary); box-shadow: inset 0 -0.28em 0 #FBE3B0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
[data-theme-style="care"] .hero-media img { aspect-ratio: 4/5; width: 100%; object-fit: cover; border: 0; border-radius: var(--r-lg); box-shadow: none; background: var(--soft); }
[data-theme-style="care"] .hero-points { color: var(--ink); }
[data-theme-style="care"] .hero-points .icon { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: var(--primary); color: #fff; stroke-width: 3; }
[data-theme-style="care"] .section-wrap[data-type="hero"]:has(+ .section-wrap[data-type="finder"]) .hero { padding-bottom: calc(clamp(48px, 7vw, 88px) + 72px) !important; }
[data-theme-style="care"] .section-wrap[data-type="hero"] + .section-wrap[data-type="finder"] > .finder { margin-top: -72px; padding-top: 0; background: transparent; }

/* 6. Finder */
[data-theme-style="care"] .finder-panel { border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--primary); padding: clamp(20px, 3vw, 32px); }
[data-theme-style="care"] .finder .section-head h2 { font-size: var(--step-2); }
[data-theme-style="care"] .product-search input, [data-theme-style="care"] .product-search select { border: 2px solid var(--ink-3); border-radius: 10px; }
[data-theme-style="care"] .products-search-bar { background: var(--mist); border-bottom: 2px solid var(--line); }
[data-theme-style="care"] .finder-shortcuts a { border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: none; background: #fff; }
[data-theme-style="care"] .finder-shortcuts a:hover { border-color: var(--primary); box-shadow: var(--hard-brand); }
[data-theme-style="care"] .finder-shortcuts .icon-tile { background: var(--soft); color: var(--primary); border-radius: 10px; }
[data-theme-style="care"] .tone-primary a, [data-theme-style="care"] .tone-primary a:hover { background: var(--primary); border-color: var(--navy); color: #fff; box-shadow: var(--hard-brand); }
[data-theme-style="care"] .tone-primary .icon-tile { background: #fff; color: var(--primary); }
[data-theme-style="care"] .tone-sos a, [data-theme-style="care"] .tone-sos a:hover { background: var(--sos); border-color: var(--sos-dark); color: #fff; box-shadow: 4px 4px 0 var(--sos-dark); }
[data-theme-style="care"] .tone-sos .icon-tile { background: #fff; color: var(--sos); }
[data-theme-style="care"] .tone-primary a span:not(.icon-tile), [data-theme-style="care"] .tone-sos a span:not(.icon-tile) { color: #fff; opacity: .9; }
[data-theme-style="care"][data-motion="on"] .finder-shortcuts a { transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
[data-theme-style="care"][data-motion="on"] .finder-shortcuts a:hover { transform: translate(-2px, -2px); }

/* 7. Section rhythm */
[data-theme-style="care"] .section-wrap + .section-wrap > section { border-top: 2px solid var(--line); }
[data-theme-style="care"] .section-wrap[data-type="hero"] + .section-wrap > section,
[data-theme-style="care"] .section-wrap[data-type="emergency"] > section,
[data-theme-style="care"] .section-wrap[data-type="cta"] > section,
[data-theme-style="care"] .section-wrap[data-type="stats"] > section,
[data-theme-style="care"] .section-wrap[data-type="logos"] > section { border-top: 0; }
[data-theme-style="care"] .section-wrap[data-type="gallery"] > section,
[data-theme-style="care"] .section-wrap[data-type="split"]:has(.split-bleed) > section { border-top: 0; }
[data-theme-style="care"] .section-wrap > section.split-bleed { background: var(--mist); }
[data-theme-style="care"] .section-wrap > section.hero-cover { border-top: 0; }

/* 8. Cards: one shared look */
[data-theme-style="care"] .feature-grid li, [data-theme-style="care"] .service-list > li, [data-theme-style="care"] .product-card, [data-theme-style="care"] .post-card, [data-theme-style="care"] .plan, [data-theme-style="care"] .faq-list details {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: none;
}
[data-theme-style="care"] .feature-grid li:has(a):hover, [data-theme-style="care"] .service-list > li:has(h3 a):hover, [data-theme-style="care"] .product-card:hover, [data-theme-style="care"] .post-card:hover {
  border-color: var(--primary); box-shadow: var(--hard-brand);
}
[data-theme-style="care"][data-motion="on"] .product-card:hover, [data-theme-style="care"][data-motion="on"] .post-card:hover { transform: translate(-2px, -2px); }
[data-theme-style="care"][data-motion="on"] .product-card:hover .product-thumb img, [data-theme-style="care"][data-motion="on"] .post-card:hover .post-thumb img { transform: none; }
[data-theme-style="care"] .feature-grid { gap: 16px; }
[data-theme-style="care"] .feature-grid li, [data-theme-style="care"] .feature-grid.cols-2 li, [data-theme-style="care"] .feature-grid.cols-3 li, [data-theme-style="care"] .feature-grid.cols-4 li { padding: 26px; border-color: var(--line); }
[data-theme-style="care"] .feature-grid.cols-3 li:nth-child(3n+2), [data-theme-style="care"] .feature-grid.cols-4 li:nth-child(even), [data-theme-style="care"] .feature-grid.cols-2 li:nth-child(even) { border-top-color: var(--line); }
[data-theme-style="care"] .feature-grid li:has(a):hover, [data-theme-style="care"] .feature-grid.cols-3 li:has(a):hover, [data-theme-style="care"] .feature-grid.cols-4 li:has(a):hover, [data-theme-style="care"] .feature-grid.cols-2 li:has(a):hover { border-color: var(--primary); }
[data-theme-style="care"] .feature-index { display: none; }
[data-theme-style="care"] .icon-tile { width: 48px; height: 48px; background: var(--soft); border-radius: 10px; }
@media (min-width: 961px) { [data-theme-style="care"] .service-list:has(> li.has-photo:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
[data-theme-style="care"] .feature-grid.has-photos li.has-photo, [data-theme-style="care"] .service-list > li.has-photo { gap: 0; padding: 0; border: 2px solid var(--line); border-radius: var(--r-lg); }
[data-theme-style="care"] .feature-grid.has-photos { gap: 20px; }
[data-theme-style="care"] .card-photo img, [data-theme-style="care"] .product-thumb img, [data-theme-style="care"] .post-thumb img, [data-theme-style="care"] .team-grid img { border: 0; box-shadow: none; }
[data-theme-style="care"] .process-list.has-photos > li::before { background: var(--primary); }
[data-theme-style="care"] .process-list.has-photos .card-photo { border-radius: var(--r-lg); }
[data-theme-style="care"] .gallery-grid img { border-radius: var(--r-lg); }

[data-theme-style="care"] .service-list { grid-template-columns: repeat(3, 1fr); gap: 16px; border: 0; }
[data-theme-style="care"] .service-list > li { position: relative; display: flex; flex-direction: column; padding: 26px; border-bottom: 2px solid var(--line); }
[data-theme-style="care"] .service-list > li::before { content: none; }
[data-theme-style="care"] .service-list > li .icon-tile { margin: 0 0 16px; width: 48px; height: 48px; }
[data-theme-style="care"] .service-list h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
[data-theme-style="care"] .service-list h3 a:hover { color: inherit; }
[data-theme-style="care"] .service-points { margin-top: auto; padding-top: 16px; gap: 8px; }
[data-theme-style="care"] .service-points li, [data-theme-style="care"] .split .prose li { position: relative; padding-left: 26px; }
[data-theme-style="care"] .service-points li::before, [data-theme-style="care"] .split .prose li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 0; background: var(--primary); -webkit-mask: var(--ic-check) center / 18px no-repeat; mask: var(--ic-check) center / 18px no-repeat; }
[data-theme-style="care"] .split .prose ul { list-style: none; padding: 0; }

[data-theme-style="care"] .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
[data-theme-style="care"] .product-grid > li { max-width: none; min-width: 0; }
[data-theme-style="care"] .product-card { padding: 0; overflow: hidden; }
[data-theme-style="care"] .product-thumb { border-radius: 0; margin: 0; border-bottom: 0; aspect-ratio: 4/5; background: var(--soft); }
[data-theme-style="care"] .product-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
[data-theme-style="care"] .product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
[data-theme-style="care"] .product-card .eyebrow { color: var(--primary); font-size: .72rem; }
[data-theme-style="care"] .product-card h3 { font-size: 1.15rem; }
[data-theme-style="care"] .product-card h3 a:hover { color: var(--primary); }
[data-theme-style="care"] .product-tagline { color: var(--ink-2); font-weight: 500; }
[data-theme-style="care"] .product-summary { -webkit-line-clamp: 2; }
[data-theme-style="care"] .group-title { color: var(--ink-2); border-bottom: 2px solid var(--line); }
[data-theme-style="care"] .product-hero { max-width: 360px; aspect-ratio: 4/5; overflow: hidden; border: 0; border-radius: var(--r-lg); background: var(--soft); }
[data-theme-style="care"] .product-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
[data-theme-style="care"] .product-side section:first-child { background: var(--mist); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
[data-theme-style="care"] .product-side h2 { color: var(--ink-2); }
[data-theme-style="care"] .feature-list li { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--line); }
[data-theme-style="care"] .feature-list strong { display: inline; }
[data-theme-style="care"] .feature-list span { font-variant-numeric: tabular-nums; text-align: right; }
[data-theme-style="care"] .product-contact .btn { width: 100%; justify-content: center; }
[data-theme-style="care"] .related { border-top: 2px solid var(--line); }

[data-theme-style="care"] .post-grid { gap: 16px; }
[data-theme-style="care"] .post-grid li { height: 100%; }
[data-theme-style="care"] .post-card { position: relative; height: 100%; padding: 0 0 20px; overflow: hidden; }
[data-theme-style="care"] .post-thumb { border-radius: 0; margin: 0 0 16px; border-bottom: 0; aspect-ratio: 16/9; }
[data-theme-style="care"] .post-card > :not(.post-thumb) { margin-inline: 20px; }
[data-theme-style="care"] .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
[data-theme-style="care"] .post-meta { color: var(--ink-2); align-items: center; }
[data-theme-style="care"] .post-cat { background: var(--soft); color: var(--primary); padding: 2px 10px; border-radius: 6px; }
[data-theme-style="care"] .post-card p:last-child { color: var(--ink-2); }
[data-theme-style="care"] .post-cover { border: 0; border-radius: var(--r-lg); }
[data-theme-style="care"] .post-cover img { aspect-ratio: 16/9; width: 100%; object-fit: cover; border: 0; }
[data-theme-style="care"] .post-list li + li { border-top-width: 2px; }

[data-theme-style="care"] .plan-grid { gap: 16px; }
[data-theme-style="care"] .plan { padding: 28px; }
/* (plan cards rest flat; only the highlighted plan keeps a hard shadow) */
[data-theme-style="care"] .plan.is-highlight { border-color: var(--primary); box-shadow: 6px 6px 0 var(--primary); }
[data-theme-style="care"] .plan-badge { background: var(--accent); color: var(--ink); border-radius: 6px; font-weight: 700; }
[data-theme-style="care"] .plan-price { font-family: var(--font-heading, var(--font)); }
[data-theme-style="care"] .plan-price span, [data-theme-style="care"] .plan-foot { color: var(--ink-2); }
[data-theme-style="care"] .plan-features .icon { color: var(--primary); }

[data-theme-style="care"] .faq-list { display: grid; gap: 10px; }
[data-theme-style="care"] .faq-list details, [data-theme-style="care"] .faq-list details:last-child { padding: 0 20px; box-shadow: none; border: 2px solid var(--line); }
[data-theme-style="care"] .faq-list details[open] { border-color: var(--primary); }
[data-theme-style="care"] .faq-list summary { align-items: center; padding: 18px 0; }
[data-theme-style="care"] .faq-list summary::after, [data-theme-style="care"] .faq-list details[open] summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; background: var(--soft); color: var(--primary); font-size: 1.3rem; font-weight: 600; line-height: 1; }
[data-theme-style="care"][data-motion="on"] .faq-list summary::after { transition: transform .2s ease; }
[data-theme-style="care"][data-motion="on"] .faq-list details[open] summary::after { transform: rotate(45deg); }
[data-theme-style="care"] .faq-list .prose { color: var(--ink-2); }

[data-theme-style="care"] .contact-aside { background: var(--mist); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
[data-theme-style="care"] .contact-form input, [data-theme-style="care"] .contact-form textarea { border: 2px solid var(--ink-3); border-radius: 10px; min-height: 48px; }
[data-theme-style="care"] .contact-form input:focus, [data-theme-style="care"] .contact-form textarea:focus { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
[data-theme-style="care"] .contact-details dt { color: var(--ink-2); }
[data-theme-style="care"] .form-notice { border: 2px solid currentColor; }

/* 9. Split */
[data-theme-style="care"] .split-media img { border: 0; border-radius: var(--r-lg); box-shadow: none; }
[data-theme-style="care"] .split-bleed .split-media img { border-radius: 0; }

/* 10. Stats */
[data-theme-style="care"] .stat-row dd { font-family: var(--font-heading, var(--font)); font-weight: 600; }
[data-theme-style="care"] .stat-row dt { color: #fff; opacity: .9; }

/* 11. Timeline */
[data-theme-style="care"] .timeline-list { border-left: 2px solid var(--line); }
[data-theme-style="care"] .timeline-list li::before { width: 12px; height: 12px; border-radius: 3px; background: var(--primary); border-color: #fff; }
[data-theme-style="care"] .timeline-list time { color: var(--ink-2); }

/* 12. Team */
[data-theme-style="care"] .team-grid img, [data-theme-style="care"] .avatar-placeholder { border: 0; border-radius: var(--r-lg); background: var(--soft); }
[data-theme-style="care"] .team-grid img { aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; }
[data-theme-style="care"] .team-grid .role { color: var(--ink-2); }

/* 13. Logos (payer categories) */
[data-theme-style="care"] .logos-heading { color: var(--ink-2); }
[data-theme-style="care"] .logo-row { gap: 10px; }
[data-theme-style="care"] .logo-row span { display: inline-block; padding: 10px 16px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; }

/* 14. CTA band */
[data-theme-style="care"] .cta-band { background: var(--primary); }
[data-theme-style="care"] .cta-band p { color: #fff; opacity: .92; }

/* 15. Emergency band */
[data-theme-style="care"] .emergency { background: var(--sos); }
[data-theme-style="care"] .emergency-call { border: 2px solid #fff; box-shadow: 6px 6px 0 var(--sos-dark); }
[data-theme-style="care"] .emergency-badge { color: var(--sos); }

/* 16. Page header */
[data-theme-style="care"] .page-header { background: var(--mist); border-bottom: 2px solid var(--line); }
[data-theme-style="care"] .breadcrumb ol { color: var(--ink-2); }
[data-theme-style="care"] .breadcrumb a { color: var(--ink-2); }
[data-theme-style="care"] .breadcrumb a:hover { color: var(--ink); }
[data-theme-style="care"] .breadcrumb li + li::before { color: var(--ink-3); }

/* 17. Footer */
[data-theme-style="care"] .site-footer { background: #10302F; color: rgba(255,255,255,.82); border-top: 0; }
[data-theme-style="care"] .site-footer .footer-col h2 { color: #B9D2CF; }
[data-theme-style="care"] .footer-col a, [data-theme-style="care"] .footer-contact a, [data-theme-style="care"] .social a { color: rgba(255,255,255,.9); }
[data-theme-style="care"] .footer-col a:hover, [data-theme-style="care"] .footer-contact a:hover, [data-theme-style="care"] .social a:hover { color: #fff; }
[data-theme-style="care"] .footer-bottom { border-top: 1px solid rgba(255,255,255,.18); color: #B9D2CF; }
[data-theme-style="care"] .footer-bottom a:hover { color: #fff; }

/* Hamburger from 1080px: six menu items plus the CTA do not fit between 720 and 1080px */
@media (max-width: 1080px) {
  [data-theme-style="care"] .nav-toggle { display: block; }
  [data-theme-style="care"] .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 2px solid var(--line); padding: 8px var(--gutter) 20px; gap: 12px; }
  [data-theme-style="care"] .nav-open .site-nav { display: flex; }
  [data-theme-style="care"] .site-nav > ul { flex-direction: column; gap: 0; }
  [data-theme-style="care"] .site-nav > ul > li > a { display: block; padding: 12px 0; border-bottom: 2px solid var(--line); }
  [data-theme-style="care"] .site-nav > ul > li > a[aria-current="page"] { box-shadow: none; color: var(--primary); }
  [data-theme-style="care"] .submenu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 16px; }
  [data-theme-style="care"] .nav-cta { justify-content: center; margin-top: 8px; }
}

/* 18. Responsive */
@media (max-width: 1080px) {
  [data-theme-style="care"] .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  [data-theme-style="care"] .service-list { grid-template-columns: repeat(2, 1fr); }
  [data-theme-style="care"] .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  [data-theme-style="care"] .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  [data-theme-style="care"] .product-body { padding: 14px 14px 18px; }
  [data-theme-style="care"] .service-list, [data-theme-style="care"] .feature-grid.cols-2, [data-theme-style="care"] .feature-grid.cols-3, [data-theme-style="care"] .feature-grid.cols-4 { grid-template-columns: 1fr; }
  [data-theme-style="care"] .hero-media { order: -1; max-width: 420px; }
    [data-theme-style="care"] .section-wrap[data-type="hero"]:has(+ .section-wrap[data-type="finder"]) .hero { padding-bottom: calc(clamp(48px, 7vw, 88px) + 48px) !important; }
  [data-theme-style="care"] .section-wrap[data-type="hero"] + .section-wrap[data-type="finder"] > .finder { margin-top: -48px; }
  [data-theme-style="care"] .finder-panel { box-shadow: 4px 4px 0 var(--primary); }
  [data-theme-style="care"] .finder-shortcuts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  [data-theme-style="care"] .finder-shortcuts a { padding: 16px 40px 16px 16px; }
  [data-theme-style="care"] .emergency-call { width: 100%; }
    [data-theme-style="care"] .site-nav { background: var(--bg); }
}

/* ---------- Showcase (portfolio cards) ----------
   Kept as its own block at the very end of the file; identical on development,
   zsite and demo-sites. Uses only base tokens and does not depend on other blocks. */
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.showcase-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.showcase-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.showcase-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.showcase-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.showcase-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 24px; }
.showcase-body .eyebrow { margin-bottom: .5em; }
.showcase-body h3 { margin: 0 0 .4em; }
.showcase-body h3 a { color: var(--ink); text-decoration: none; }
.showcase-body h3 a:hover { text-decoration: underline; }
.showcase-body > p { color: var(--ink-2); font-size: var(--step--1); }
.showcase-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: auto 0 0; padding-top: 12px; }
.showcase-actions .btn { padding: 9px 18px; }
.showcase .section-foot { margin-top: 32px; }
.showcase-note { margin: 24px 0 0; color: var(--ink-2); font-size: var(--step--1); }
[data-theme-style="fresh"] .showcase-card { border: 0; border-radius: var(--radius); background: var(--mist, var(--bg-2)); }
[data-theme-style="fresh"] .showcase-shot { border-bottom: 0; }
@media (max-width: 960px) { .showcase-grid, .showcase-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .showcase-grid, .showcase-grid.cols-2 { grid-template-columns: 1fr; } }

/* ---------- Property components (prop-) ----------
   Structure, layout and accessibility for the prop-* sections, the mobile dock and the shortlist tray.
   Preset-neutral: only base tokens; looks live in the preset (e.g. presets/atlas.css). Inert on sites without prop-* markup. */
[class*="prop-"][hidden], .prop-item[hidden] { display: none !important; }
.prop-n { font-variant-numeric: tabular-nums; }
.prop-flag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-size: .75rem; font-weight: 700; line-height: 1.3; background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.prop-flag::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--flag, var(--ink-3)); }
.prop-flag.st-ready, .prop-flag.us-available { --flag: #1f6b45; } .prop-flag.st-build, .prop-flag.us-reserved { --flag: #9a5b00; }
.prop-flag.st-indent, .prop-flag.us-sold { --flag: #5c5f66; } .prop-flag.st-resale { --flag: var(--ink); }
.prop-tag { display: inline-block; padding: 2px 7px; font-size: .72rem; background: var(--bg); color: var(--ink); border: 1px solid var(--ink); }

/* ruler */
.prop-ruler { --prop-step: 32px; --prop-h: 176px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "scale scale" "label value" "steps steps" "assume assume"; column-gap: 12px; padding-inline: 14px; position: relative; }
.prop-ruler-scale { grid-area: scale; position: relative; height: var(--prop-h, 152px); user-select: none; }
.prop-ruler-marks, .prop-ruler-ticks { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.prop-mark { position: absolute; left: var(--x); bottom: calc(50px + var(--row, 0) * var(--prop-step, 26px)); width: 12px; height: 12px; margin-left: -6px; border: 1px solid var(--ink); background: var(--ink-3); box-sizing: border-box; }
.prop-mark[data-row="1"] { --row: 1; } .prop-mark[data-row="2"] { --row: 2; } .prop-mark[data-row="3"] { --row: 3; }
.prop-mark:not(.is-fit) { background: var(--bg); border-style: dashed; }
.prop-mark-ref { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 1px; font-size: .62rem; line-height: 1; }
.prop-ruler-ticks::before { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; border-top: 1px solid var(--ink); }
.prop-ruler-ticks li { position: absolute; left: var(--x); bottom: 0; height: 30px; padding-top: 7px; transform: translateX(-50%); font-size: .7rem; line-height: 1; white-space: nowrap; text-align: center; }
.prop-ruler-ticks li::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: 6px; border-left: 1px solid var(--ink-3); }
.prop-ruler-ticks li.is-major::before { height: 12px; border-left-color: var(--ink); }
.prop-ruler-limit { position: absolute; left: var(--x); top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--primary); pointer-events: none; }
.prop-ruler-control { display: contents; }
.prop-ruler-control input[type="range"] { grid-area: scale; align-self: stretch; width: calc(100% + 28px); margin: 0 -14px; padding: 0; height: var(--prop-h, 152px); background: transparent; -webkit-appearance: none; appearance: none; cursor: ew-resize; touch-action: pan-y; }
.prop-ruler-control input[type="range"]::-webkit-slider-runnable-track { height: var(--prop-h, 152px); background: transparent; border: 0; }
.prop-ruler-control input[type="range"]::-moz-range-track { height: var(--prop-h, 152px); background: transparent; border: 0; }
.prop-ruler-control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 28px; height: var(--prop-h, 152px); border: 0; border-radius: 0; background: var(--primary); opacity: .0; cursor: ew-resize; }
.prop-ruler-control input[type="range"]::-moz-range-thumb { width: 28px; height: var(--prop-h, 152px); border: 0; border-radius: 0; background: var(--primary); opacity: .0; cursor: ew-resize; }
.prop-ruler-control input[type="range"]:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.prop-ruler-label { grid-area: label; align-self: center; font-weight: 600; }
.prop-ruler-value { grid-area: value; justify-self: end; align-self: center; font-variant-numeric: tabular-nums; font-weight: 700; }
.prop-ruler-steps { grid-area: steps; display: none; }
.prop-assume { grid-area: assume; margin-top: 12px; }
.prop-assume summary { cursor: pointer; font-weight: 600; }
.prop-assume-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding-top: 12px; }
.prop-assume-grid label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; }
.prop-assume-grid input, .prop-assume-grid select, .prop-select select { font: inherit; min-height: 44px; padding: 8px 10px; border: 1px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.prop-assume-note { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--ink-2); }

/* finder (hero) */
.prop-finder-head { display: grid; gap: 24px; margin-bottom: 24px; }
.prop-finder-photo { margin: 0; } .prop-finder-photo img { width: 100%; height: 100%; object-fit: cover; }
.prop-finder-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; }
.prop-finder-actions .prop-select { flex: 1 1 200px; }
.prop-summary { margin: 16px 0; }
.prop-preview, .prop-list { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }

/* cards */
.prop-card { position: relative; background: #fff; border: 1px solid var(--ink); height: 100%; display: flex; flex-direction: column; }
.prop-card-media { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--bg-2); }
.prop-card-media img { width: 100%; height: 100%; object-fit: cover; }
.prop-card-media .prop-flag { position: absolute; left: 10px; top: 10px; } .prop-card-media .prop-tag { position: absolute; left: 10px; bottom: 10px; }
.prop-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.prop-card-title { margin: 0; } .prop-card-title a { color: inherit; text-decoration: none; }
.prop-card-title a::after { content: ""; position: absolute; inset: 0; }
.prop-card-dev, .prop-checked { margin: 0; font-size: .85rem; color: var(--ink-2); }
.prop-card-data { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 6px 0 0; }
.prop-card-data dt { font-size: .72rem; color: var(--ink-2); } .prop-card-data dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.prop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0 0; padding-top: 10px; }
.prop-save { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; font: inherit; font-weight: 600; font-size: .85rem; background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer; }
.prop-save svg { width: 18px; height: 18px; } .prop-save[aria-pressed="true"] { background: var(--ink); color: #fff; } .prop-save[aria-pressed="true"] svg { fill: currentColor; }
.prop-fit-note { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prop-item.is-fit .prop-fit-note { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; margin-left: 8px; font-size: .72rem; font-weight: 600; }

/* listing: filters, results, map */
.prop-filters { display: grid; gap: 20px; margin-bottom: 20px; }
.prop-facets { display: grid; gap: 14px; }
.prop-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.prop-chips legend { float: left; padding: 0; margin-right: 8px; font-weight: 700; font-size: .85rem; min-width: 76px; }
.prop-chip { position: relative; display: inline-flex; }
.prop-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.prop-chip span:first-of-type { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: var(--bg); font-size: .9rem; font-weight: 600; }
.prop-chip .prop-n { position: absolute; right: 6px; top: -7px; min-width: 20px; padding: 0 4px; text-align: center; font-size: .68rem; line-height: 16px; background: #fff; border: 1px solid var(--ink); }
.prop-chip input:checked + span { background: var(--ink); color: #fff; }
.prop-chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 3px; }
.prop-selects { display: flex; flex-wrap: wrap; gap: 12px; } .prop-select { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; flex: 1 1 200px; max-width: 320px; }
.prop-filter-actions { margin: 0; display: flex; align-items: center; gap: 16px; }
.prop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.prop-bar .prop-summary { margin: 0; }
.prop-view-toggle { display: inline-flex; margin: 0; } .prop-view-toggle button { min-height: 44px; padding: 0 18px; font: inherit; font-weight: 700; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.prop-view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.prop-results { margin-top: 16px; display: grid; gap: 20px; }
.prop-results.has-toggle:not(.is-map) .prop-map { display: none; } .prop-results.has-toggle.is-map .prop-list-wrap { display: none; }
.prop-map { position: relative; margin: 0; background: var(--bg-2); border: 1px solid var(--ink); }
.prop-map > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.prop-pins { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.prop-pin { position: absolute; transform: translate(-50%, -50%); }
.prop-pin a { display: grid; place-items: center; min-width: 28px; min-height: 28px; padding: 0 4px; font-size: .7rem; font-weight: 700; text-decoration: none; background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.prop-pin.is-out { opacity: .35; } .prop-pin.is-off { display: none; }
.prop-pin.is-active a { outline: 3px solid var(--primary); outline-offset: 1px; z-index: 2; }
.prop-legend { position: absolute; left: 8px; bottom: 8px; padding: 6px 10px; background: var(--bg); border: 1px solid var(--ink); font-size: .72rem; }
.prop-legend ul { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.prop-swatch { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1px solid var(--ink); background: var(--area, #ddd); }
.prop-empty { padding: 20px; border: 1px dashed var(--ink); background: var(--bg-2); } .prop-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.prop-note { margin: 20px 0 0; font-size: .88rem; color: var(--ink-2); max-width: 70ch; }
.prop-sheet { padding: 0; border: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; background: var(--bg); color: var(--ink); }
.prop-sheet::backdrop { background: rgba(0, 0, 0, .45); }
.prop-sheet-head, .prop-sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ink); }
.prop-sheet-foot { border-bottom: 0; border-top: 1px solid var(--ink); position: sticky; bottom: 0; background: var(--bg); }
.prop-sheet-body { padding: 16px; overflow-y: auto; }

/* floor plans (units) */
.prop-plans { margin-top: 28px; min-width: 0; max-width: 100%; }
.prop-plans-title { font-size: 1.15rem; margin: 0 0 12px; }
.prop-plan-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.prop-plan-tab { font: inherit; font-size: .9rem; padding: 8px 14px; min-height: 44px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.prop-plan-tab[aria-pressed="true"] { background: var(--ink); color: #fff; }
.prop-plan { min-width: 0; max-width: 100%; margin: 0 0 20px; border: 2px solid var(--ink); background: #fff; scroll-margin-top: 140px; }
.prop-plan[hidden] { display: none; }
.prop-plan:target { outline: 3px solid var(--ink); outline-offset: 3px; }
.prop-plan figcaption { padding: 10px 14px; border-bottom: 2px solid var(--ink); font-size: .9rem; font-weight: 600; background: var(--bg-2); }
.prop-plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.prop-plan-scroll img { display: block; width: 100%; min-width: 640px; height: auto; }
.prop-plan-actions { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.prop-plan-actions a { min-height: 24px; display: inline-block; }
@media (min-width: 760px) { .prop-plan-scroll img { min-width: 0; } }
@media (min-width: 1100px) { .prop-plan { max-width: 980px; } }

/* tables (units, comparison) */
.prop-table-wrap { overflow-x: auto; border: 1px solid var(--ink); background: #fff; -webkit-overflow-scrolling: touch; }
.prop-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prop-table th, .prop-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prop-table thead th { background: var(--bg-2); white-space: nowrap; }
.prop-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prop-table tbody th:first-child, .prop-table thead th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }
.prop-table thead th:first-child { background: var(--bg-2); }
.prop-compare-table { min-width: 560px; table-layout: fixed; } .prop-compare-table td img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.prop-compare-table tbody th { width: 120px; }
.prop-compare-table tr.is-same.is-dim { display: none; }
.prop-remove { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; margin-left: 6px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; vertical-align: middle; }
.prop-remove svg { width: 16px; height: 16px; }
.prop-compare-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 0 16px; }
.prop-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; } .prop-switch input { width: 20px; height: 20px; accent-color: var(--primary); }
.link-btn { padding: 0; font: inherit; font-weight: 600; color: var(--primary); background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.prop-compare-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }

/* project header */
.prop-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.prop-hero-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.prop-hero-title h1, .prop-hero-title h2 { margin: 0; } .prop-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.prop-hero-sub { margin: 10px 0 20px; color: var(--ink-2); }
.prop-gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 20px; }
.prop-gallery figure { flex: 0 0 78%; margin: 0; scroll-snap-align: start; position: relative; } .prop-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--ink); }
.prop-gallery figcaption { font-size: .78rem; color: var(--ink-2); padding-top: 4px; }
.prop-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--ink); background: #fff; }
.prop-facts > div { padding: 12px 14px; border-bottom: 1px solid var(--line); } .prop-facts dt { font-size: .72rem; color: var(--ink-2); }
.prop-facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; } .prop-facts dd small { display: block; font-weight: 400; font-size: .72rem; color: var(--ink-2); }

/* visit booking */
.prop-visit-form { display: grid; gap: 24px; } .prop-visit-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; } .prop-visit-form legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.prop-day-chips, .prop-time-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prop-day, .prop-time { position: relative; display: inline-flex; } .prop-day input, .prop-time input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.prop-day > span:first-of-type { display: grid; justify-items: center; min-width: 64px; padding: 8px 6px; border: 1px solid var(--ink); background: #fff; line-height: 1.15; }
.prop-day b, .prop-day em { font-size: .72rem; font-style: normal; font-weight: 600; } .prop-day i { font-size: 1.35rem; font-style: normal; font-weight: 700; }
.prop-time > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.prop-day input:checked + span, .prop-time input:checked + span { background: var(--ink); color: #fff; }
.prop-day input:focus-visible + span, .prop-time input:focus-visible + span, .prop-project input:focus-visible ~ .prop-project-name { outline: 2px solid var(--primary); outline-offset: 3px; }
.prop-project-group { margin-bottom: 12px; } .prop-project-area { margin: 0 0 6px; font-weight: 700; font-size: .85rem; }
.prop-project { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; cursor: pointer; border-bottom: 1px solid var(--line); }
.prop-project input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--primary); flex: none; } .prop-project-name { font-weight: 600; } .prop-project-meta { margin-left: auto; font-size: .8rem; color: var(--ink-2); }
.prop-visit-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; } .prop-visit-extra label { display: grid; gap: 4px; font-weight: 600; font-size: .85rem; }
.prop-visit-extra input:not([type="hidden"]), .prop-visit-extra select { font: inherit; min-height: 44px; padding: 8px 10px; border: 1px solid var(--ink); border-radius: var(--radius); background: #fff; }
.prop-visit-msg { margin: 8px 0 0; min-height: 1.4em; font-size: .85rem; font-weight: 600; }

/* dock (small screens) and shortlist tray (large) */
.prop-dock { display: none; }
.prop-count { display: inline-block; min-width: 20px; padding: 0 5px; margin-left: 6px; font-size: .72rem; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; background: var(--ink); color: #fff; }
.prop-tray { display: none; }
@media (max-width: 1099px) {
  .prop-dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding-bottom: env(safe-area-inset-bottom); background: var(--bg); border-top: 1px solid var(--ink); }
  .prop-dock ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
  .prop-dock-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; padding: 6px 4px; color: var(--ink); text-decoration: none; font-size: .72rem; font-weight: 600; text-align: center; }
  .prop-dock-item svg { width: 22px; height: 22px; } .prop-dock-item .prop-count { position: absolute; top: 6px; left: calc(50% + 6px); margin: 0; }
  .prop-dock-item[aria-current="page"] { box-shadow: inset 0 3px 0 var(--primary); }
  body:has(.prop-dock) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body:has(.prop-dock) .float-cta { display: none; }
  .prop-ruler-steps { display: flex; gap: 8px; margin-top: 8px; } .prop-ruler-steps button { flex: 1; height: 44px; font: inherit; font-size: 1.25rem; font-weight: 700; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
  .prop-filters.is-sheet-ready .prop-filter-actions { display: none; }
  .prop-filter-open { justify-self: start; }
}
@media (min-width: 720px) {
  .prop-finder-head { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: end; }
  .prop-preview, .prop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop-layout-rows .prop-list, .layout-rows .prop-list { grid-template-columns: 1fr; }
  .layout-rows .prop-card { flex-direction: row; } .layout-rows .prop-card-media { flex: 0 0 280px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--ink); }
  .prop-gallery figure { flex-basis: 44%; } .prop-gallery figure.is-main { flex-basis: 62%; }
  .prop-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .prop-filter-open, .prop-view-toggle, .prop-filters.is-live [data-prop-apply] { display: none !important; }
  .prop-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prop-listing.layout-cards .prop-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prop-listing.has-map.layout-rows .prop-results:not(.map-only) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .prop-listing.has-map.layout-rows .prop-map { position: sticky; top: calc(var(--sticky-top, 72px) + 16px); }
  .prop-listing.has-map.layout-cards .prop-results:not(.map-only) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .prop-listing.has-map.layout-cards .prop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop-results.has-toggle .prop-map, .prop-results.has-toggle .prop-list-wrap { display: block !important; }
  .prop-tray { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: #fff; border: 1px solid var(--ink); }
  .prop-tray[hidden] { display: none !important; } .prop-tray p { margin: 0; font-weight: 600; } .prop-tray-close { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .prop-tray-close svg { width: 18px; height: 18px; }
  .prop-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(180px, 15.5vw, 230px)); gap: 12px; overflow: visible; }
  .prop-gallery figure { flex: none; position: relative; min-width: 0; grid-column: 7 / 13; } .prop-gallery figure.is-main { grid-column: 1 / 7; grid-row: 1 / 3; }
  .prop-gallery:has(figure:nth-child(4)) figure:nth-child(2) { grid-column: 7 / 10; } .prop-gallery:has(figure:nth-child(4)) figure:nth-child(3) { grid-column: 10 / 13; }
  .prop-gallery figure { height: 100%; } .prop-gallery figure img { height: 100%; aspect-ratio: auto; object-fit: cover; } .prop-gallery figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 4px 8px; background: var(--bg); border: 1px solid var(--ink); border-bottom: 0; border-left: 0; width: max-content; max-width: 100%; } .prop-facts { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .prop-facts > div { border-bottom: 0; border-right: 1px solid var(--line); }
}
@media (max-width: 719px) {
  .prop-units-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prop-units-table, .prop-units-table tbody, .prop-units-table tr, .prop-units-table th, .prop-units-table td { display: block; }
  .prop-units-table tr { padding: 10px 12px; border-bottom: 1px solid var(--ink); } .prop-units-table th, .prop-units-table td { padding: 3px 0; border: 0; position: static; }
  .prop-units-table td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 108px; margin-right: 8px; font-size: .74rem; color: var(--ink-2); }
  .prop-units-table td.num { text-align: left; }
  .prop-mark-ref { display: none; }
  .prop-ruler { --prop-step: 17px; --prop-h: 120px; } .prop-ruler-ticks li.is-major:is(:nth-child(4n+3), :nth-child(21)):not(:last-child) { color: transparent; }
  .prop-legend { left: 0; right: 0 !important; } .prop-legend ul { flex-direction: row !important; flex-wrap: wrap; gap: 2px 12px !important; } .prop-legend li { display: inline-flex !important; } .prop-legend .prop-n { margin-left: 4px !important; padding-left: 0 !important; }
}
@media (prefers-reduced-motion: no-preference) { :root:not([data-motion="off"]) .prop-tray { animation: prop-tray-in .18s ease-out; } @keyframes prop-tray-in { from { transform: translateY(12px); opacity: 0; } } }
@media print { .prop-dock, .prop-tray, .prop-filters, .prop-save, .prop-ruler-control { display: none !important; } }
