/* Assured Dumpster Crushers — "Blueprint" design system.
   One continuous surface: sections declare the page colour they want
   (data-bg / data-fg / data-tone) and motion.js moves <html> between them,
   so the page drifts from light to dark around media instead of cutting.
   Light by default; media carries the colour. */

:root {
  /* palette tokens (theme files override these) */
  --bone: oklch(0.965 0.006 250);
  --paper: var(--bone);
  --paper-deep: oklch(0.93 0.008 250);
  --tint: oklch(0.945 0.03 262);
  --tint-2: oklch(0.915 0.05 262);
  --ink: oklch(0.17 0.014 250);
  --ink-soft: oklch(0.44 0.014 250);
  --steel-950: oklch(0.14 0.014 255);
  --steel-900: oklch(0.19 0.016 255);
  --steel-800: oklch(0.25 0.016 255);
  --accent: oklch(0.45 0.24 265);
  --accent-lit: oklch(0.72 0.17 265);
  --highlight: oklch(0.86 0.16 92);

  /* page colour, driven by motion.js */
  --page-bg: var(--paper);
  --page-fg: var(--ink);

  /* palette-aware component tokens, resolved per tone below */
  --surface: oklch(1 0 0 / 0.55);
  --surface-strong: oklch(0.995 0.005 80);
  --rule: oklch(0.18 0.014 250 / 0.14);
  --muted: var(--ink-soft);
  --cta-bg: var(--accent);
  --cta-fg: var(--bone);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-text: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-data: 'JetBrains Mono', ui-monospace, monospace;
  --display-weight: 600;
  --display-track: -0.03em;
  --display-lh: 1.02;
  --display-case: none;
  --radius: 18px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
}
[data-tone="dark"] {
  --surface: oklch(1 0 0 / 0.07);
  --surface-strong: oklch(0.24 0.014 250);
  --rule: oklch(1 0 0 / 0.16);
  --muted: oklch(0.78 0.012 85);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page-bg); color: var(--page-fg); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { transition: background-color 1100ms var(--ease); }
}

body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.55; background: transparent; color: inherit; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent-lit); outline-offset: 3px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--bone); padding: 10px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 8px; }
p { max-width: 62ch; }

/* type */
.display { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: var(--display-lh); text-transform: var(--display-case); margin: 0; text-wrap: balance; }
.t-hero { font-size: clamp(42px, 6.4vw, 92px); }
.t-1 { font-size: clamp(34px, 4.6vw, 64px); }
.t-2 { font-size: clamp(26px, 3vw, 40px); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); margin: 0; max-width: 54ch; }
.eyebrow-num { font-family: var(--font-data); font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* reveals */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="clip"] { clip-path: inset(0 0 100% 0); transform: none; transition: clip-path 900ms var(--ease), opacity 500ms; }
html.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
html.js [data-stagger] > * { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: transform 200ms var(--ease), background-color 200ms, color 200ms, border-color 200ms, box-shadow 300ms var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px oklch(0 0 0 / 0.5); }
.btn-primary { background: var(--cta-bg); color: var(--cta-fg); }
.btn-ghost { background: var(--surface); color: inherit; border-color: var(--rule); backdrop-filter: blur(8px); }
.btn .arrow { transition: transform 240ms var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--page-fg); }
.site-header::before { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--page-bg) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--rule); z-index: -1; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 104px; }
.brand { margin-right: auto; display: inline-flex; }
.brand img { height: 84px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: static; }
.nav-top { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color 200ms; }
.nav-top:hover, .has-mega[data-open] > .nav-top { background: var(--surface); }
.nav-top[aria-current="page"] { color: var(--accent); }
.mega-toggle { background: none; border: 0; padding: 8px 6px; border-radius: 999px; display: inline-grid; place-items: center; }
.mega-toggle svg { width: 12px; height: 12px; transition: transform 240ms var(--ease); }
.has-mega[data-open] .mega-toggle svg { transform: rotate(180deg); }
.nav-phone { font-family: var(--font-data); font-weight: 600; font-size: 15px; padding: 10px 12px; text-decoration: none; }
.nav-cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nav-toggle { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 240ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms; }
.has-mega[data-open] .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega-panel { background: color-mix(in oklab, var(--page-bg) 92%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--rule); box-shadow: 0 30px 60px -30px oklch(0 0 0 / 0.45); }
.mega-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px; padding-block: 28px 32px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background-color 200ms, transform 300ms var(--ease); }
.mega-links a:hover { background: var(--surface); transform: translateX(4px); }
.mega-links strong { display: block; font-weight: 600; }
.mega-links small { display: block; color: var(--muted); font-size: 14px; }
.mega-links .arrow { opacity: 0; transition: opacity 200ms, transform 300ms var(--ease); }
.mega-links a:hover .arrow { opacity: 1; transform: translateX(2px); }
.has-mega[data-open] .mega-links > li { animation: mega-in 480ms var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
@keyframes mega-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mega-card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; text-decoration: none; color: var(--bone); }
.mega-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.mega-card:hover img { transform: scale(1.04); }
.mega-card span { position: absolute; left: 16px; right: 16px; bottom: 14px; font-weight: 600; text-shadow: 0 1px 12px oklch(0 0 0 / 0.6); }
.mega-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, oklch(0 0 0 / 0.55)); }
.mega-aside { border-left: 1px solid var(--rule); padding-left: 28px; align-self: center; }
.mega-aside .num { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; text-decoration: none; display: block; }
.mega-aside p { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
@media (max-width: 960px) {
  .header-inner { min-height: 76px; }
  .brand img { height: 58px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; padding: 10px 16px; font-weight: 600; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--page-bg); border-bottom: 1px solid var(--rule); max-height: calc(100vh - 76px); overflow: auto; }
  .primary-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav-list > li { border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav-list > li:first-child { border-top: 0; }
  .nav-top { padding: 16px 0; font-size: 20px; border-radius: 0; }
  .mega { position: static; visibility: visible; opacity: 1; transform: none; display: none; grid-column: 1 / -1; }
  .has-mega[data-open] .mega { display: block; }
  .mega-panel { background: none; backdrop-filter: none; box-shadow: none; border: 0; }
  .mega-grid { grid-template-columns: 1fr; gap: 12px; padding: 0 0 16px; }
  .mega-card, .mega-aside { display: none; }
  .nav-phone { grid-column: 1 / -1; padding: 16px 0; font-size: 18px; }
  .nav-cta { grid-column: 1 / -1; margin-top: 12px; }
}

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; transform-origin: 50% 50%; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1200ms ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-wash, linear-gradient(180deg, oklch(0 0 0 / 0.25) 0%, transparent 35%, transparent 55%, oklch(0 0 0 / 0.55) 100%)); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 38%; background: linear-gradient(180deg, transparent, var(--page-bg)); z-index: 0; pointer-events: none; transition: background 900ms var(--ease); }
.hero-content { position: relative; z-index: 1; padding-block: clamp(120px, 16vh, 200px) clamp(56px, 10vh, 120px); color: var(--hero-fg, var(--bone)); display: grid; gap: 22px; max-width: 760px; }
.hero-content .lede { color: inherit; opacity: 0.9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.hero-content .btn-ghost { color: inherit; border-color: oklch(1 0 0 / 0.35); background: oklch(1 0 0 / 0.12); }
.crush-word { display: inline-block; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; opacity: 0.85; }
.hero-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 0 0 var(--highlight); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--highlight) 60%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@media (prefers-reduced-motion: reduce) { .hero-tag::before { animation: none; } }
@media (max-width: 760px) { .hero-media::after { background: linear-gradient(180deg, oklch(0 0 0 / 0.3) 0%, oklch(0 0 0 / 0.05) 30%, oklch(0 0 0 / 0.55) 55%, oklch(0 0 0 / 0.78) 100%); } .hero-content { padding-top: 40vh; } }

/* sections */
.section { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* insight strip with count-ups */
.insight { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stats li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--rule); }
.stats li:last-child { border-bottom: 1px solid var(--rule); }
.stats .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4.5vw, 64px); letter-spacing: -0.03em; line-height: 1; min-width: 3.2ch; font-variant-numeric: tabular-nums; color: var(--accent-lit); }
[data-tone="light"] .stats .v { color: var(--accent); }
.stats .k { color: var(--muted); }
@media (max-width: 860px) { .insight { grid-template-columns: 1fr; } }

/* photo blocks that dissolve into the page */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.feather { border-radius: 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }

/* compare */
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--surface-strong); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: oklch(1 0 0 / 0.9); pointer-events: none; }
.compare .handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: oklch(1 0 0 / 0.95); color: var(--ink); display: grid; place-items: center; font-size: 22px; box-shadow: 0 10px 30px oklch(0 0 0 / 0.35); }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare .tag { position: absolute; top: 14px; z-index: 2; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: oklch(0 0 0 / 0.5); color: var(--bone); backdrop-filter: blur(6px); }
.compare .tag.before-tag { left: 14px; } .compare .tag.after-tag { right: 14px; }
.caption { margin-top: 14px; color: var(--muted); font-size: 15px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.caption .pill { font-family: var(--font-data); font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rule); }
@media (max-width: 760px) { .compare { aspect-ratio: 4 / 3; } }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; background: var(--surface); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 3.5vw, 48px); backdrop-filter: blur(12px); }
.calc-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.calc-row:first-child { padding-top: 0; }
.calc-row label { font-weight: 600; }
.calc-row label small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.stepper { display: inline-grid; grid-template-columns: 42px minmax(96px, 130px) 42px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface-strong); overflow: hidden; }
.stepper button { background: none; border: 0; font-size: 20px; min-height: 46px; }
.stepper button:hover { background: var(--surface); }
.stepper input { border: 0; background: transparent; text-align: center; font-family: var(--font-data); font-weight: 600; font-size: 19px; color: inherit; min-width: 0; width: 100%; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.calc-result { display: grid; gap: 14px; align-content: start; }
.calc-result-label { color: var(--muted); font-size: 15px; margin: 0; }
.calc-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(52px, 6vw, 88px); letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent-lit); }
[data-tone="light"] .calc-big { color: var(--accent); }
.calc-big small { font-size: 0.3em; font-weight: 500; color: var(--muted); margin-left: 0.2em; letter-spacing: 0; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.calc-grid > div { padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
.calc-grid .k { font-size: 12px; color: var(--muted); }
.calc-grid .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.calc-status { font-size: 13px; color: var(--muted); margin: 0; min-height: 2.6em; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc-row { grid-template-columns: 1fr; } .stepper { grid-template-columns: 42px 1fr 42px; width: 100%; } .calc-grid { grid-template-columns: 1fr; } }

/* services hover list */
.services { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.hover-list { list-style: none; margin: 0; padding: 0; }
.hover-list li { border-top: 1px solid var(--rule); }
.hover-list li:last-child { border-bottom: 1px solid var(--rule); }
.hover-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 22px 6px; text-decoration: none; transition: padding-left 300ms var(--ease), opacity 300ms; }
.hover-list a:hover, .hover-list li.is-active a { padding-left: 16px; }
.hover-list:hover li:not(.is-active) a { opacity: 0.55; }
.hover-list h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.02em; text-transform: var(--display-case); }
.hover-list p { margin: 4px 0 0; color: var(--muted); font-size: 15px; max-width: 46ch; }
.hover-list .arrow { font-size: 22px; opacity: 0.5; transition: transform 300ms var(--ease), opacity 300ms; }
.hover-list a:hover .arrow { transform: translateX(6px); opacity: 1; }
.preview { position: sticky; top: 100px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-strong); }
.preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity 160ms ease, transform 900ms var(--ease); }
.preview.is-switching img { opacity: 0; transform: scale(1.03); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .preview { position: static; aspect-ratio: 16 / 10; order: -1; } }

/* closing */
.close { text-align: center; }
.close .display { margin-inline: auto; }
.close .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 6vw, 84px); letter-spacing: -0.03em; text-decoration: none; display: inline-block; margin-top: 14px; }
.close .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.site-footer { padding-block: 32px 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }


@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 360ms; }
}

/* ---------- how it works: sticky media, scrolling steps ---------- */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.how-media { position: sticky; top: 96px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: calc(100vh - 128px); background: var(--surface-strong); }
.how-media img { width: 100%; height: 100%; object-fit: cover; }
.how-media .play-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(180deg, transparent 55%, oklch(0 0 0 / 0.55)); display: grid; place-items: center; color: var(--bone); padding: 0; }
.how-media .play-btn .ring { width: 84px; height: 84px; border-radius: 50%; background: oklch(1 0 0 / 0.16); backdrop-filter: blur(8px); border: 1px solid oklch(1 0 0 / 0.5); display: grid; place-items: center; transition: transform 300ms var(--ease), background-color 300ms; }
.how-media .play-btn:hover .ring { transform: scale(1.06); background: oklch(1 0 0 / 0.28); }
.how-media .play-btn svg { width: 30px; height: 30px; margin-left: 5px; }
.how-media .play-btn .lbl { position: absolute; left: 18px; bottom: 16px; font-size: 14px; font-weight: 600; }
.how-media .video-embed { position: absolute; inset: 0; }
.how-media .video-embed iframe { width: 100%; height: 100%; border: 0; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps .n { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0; color: var(--muted); padding-top: 8px; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; line-height: 1.05; }
.steps p { margin: 0; color: var(--muted); }
.steps .pill { display: inline-block; margin-top: 14px; font-family: var(--font-data); font-size: 12px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--rule); color: var(--muted); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } .how-media { position: relative; top: 0; aspect-ratio: 16 / 11; max-height: none; } }

/* pairs (smaller before/after) */
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; }
.pair img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.pair figure:hover img { transform: scale(1.04); }
.pair .tag { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: oklch(0 0 0 / 0.5); color: var(--bone); backdrop-filter: blur(6px); }
@media (max-width: 760px) { .pairs { grid-template-columns: 1fr; } }

/* family */
.family { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.family-mark { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); padding: clamp(28px, 4vw, 56px); backdrop-filter: blur(10px); }
.family-mark img { width: 100%; height: auto; }
.family-facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.family-facts li { padding: 18px 0 0; border-top: 1px solid var(--rule); }
.family-facts .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.03em; line-height: 1; color: var(--accent-lit); font-variant-numeric: tabular-nums; }
[data-tone="light"] .family-facts .v { color: var(--accent); }
.family-facts .k { font-size: 14px; color: var(--muted); margin-top: 6px; }
.family small { display: block; margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) { .family { grid-template-columns: 1fr; } .family-mark { max-width: 420px; } }
@media (max-width: 520px) { .family-facts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; justify-self: end; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 240ms var(--ease); margin-bottom: 6px; }
[data-tone="dark"] .faq summary::after { border-color: var(--accent-lit); }
.faq details[open] summary::after { transform: rotate(225deg); margin-bottom: -6px; }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }
.faq .a p { margin: 0; color: inherit; }
.faq-more { margin-top: 24px; color: var(--muted); font-size: 15px; }

/* closer + footer */
.closer { text-align: center; }
.closer .display { margin-inline: auto; }
.closer .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 6vw, 84px); letter-spacing: -0.035em; text-decoration: none; display: inline-block; margin-top: 14px; }
.closer .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.closer .meta { margin: 22px auto 0; color: var(--muted); font-size: 15px; }
.site-footer { display: block; border-top: 1px solid var(--rule); padding-block: clamp(40px, 6vw, 72px) 0; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 40ch; margin: 0 0 8px; }
.site-footer h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--page-fg); letter-spacing: 0.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--page-fg); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 680px; margin-inline: auto; background: var(--surface-strong); color: var(--page-fg); border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; font-size: 14px; box-shadow: 0 24px 60px -24px oklch(0 0 0 / 0.5); }
.cookie-banner p { margin: 0; max-width: none; color: var(--muted); }
.cookie-banner .btn { min-height: 42px; font-size: 15px; padding: 0 16px; }
.cookie-banner.is-hidden { display: none; }
@media (max-width: 600px) { .cookie-banner { grid-template-columns: 1fr 1fr; } .cookie-banner p { grid-column: 1 / -1; } }

/* inner-page hero and content blocks (Phase C) */
.page-hero { padding-block: clamp(120px, 18vh, 200px) clamp(40px, 6vw, 72px); }
.page-hero .lede { margin-top: 18px; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.spec-list li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--rule); }
.spec-list h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.025em; line-height: 1.05; }
.spec-list p { margin: 0; color: var(--muted); }
.spec-list ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-list ul li { display: inline-block; padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; }
@media (max-width: 760px) { .spec-list li { grid-template-columns: 1fr; gap: 10px; } }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; margin: 2em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: 0.4em; }

/* quote form */
.quote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3vw, 40px); backdrop-filter: blur(12px); }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.req { color: oklch(0.6 0.2 25); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface-strong); color: inherit; font-size: 16px; }
.form-textarea { min-height: 120px; resize: vertical; }
.form-submit { width: 100%; min-height: 54px; font-size: 17px; margin-top: 6px; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-disclaimer { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; max-width: none; }
.form-error { margin: 14px 0 0; padding: 12px 14px; border: 1px solid oklch(0.6 0.2 25); border-radius: 12px; font-size: 14px; line-height: 1.5; background: oklch(0.6 0.2 25 / 0.08); max-width: none; }
.form-success { text-align: center; padding: 24px 0; scroll-margin-top: 120px; outline: none; }
.form-success-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--bone); font-size: 26px; margin-bottom: 16px; font-weight: 700; }
.form-success h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
.form-success p { color: var(--muted); margin: 0 auto; }
.contact-side dl { margin: 0; display: grid; gap: 18px; }
.contact-side dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-data); }
.contact-side dd { margin: 4px 0 0; font-size: 17px; }
.contact-side .big { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; text-decoration: none; }
.contact-side ul { margin: 8px 0 0; padding-left: 1.1em; color: var(--muted); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* inner-page hero with media */
.page-hero.with-media { position: relative; min-height: min(68svh, 640px); display: grid; align-items: end; overflow: hidden; isolation: isolate; padding-top: 140px; }
.page-hero.with-media .hero-media img { object-position: 60% 50%; }
.page-hero.with-media .lede { color: var(--bone); opacity: 0.9; }
.page-hero.with-media .wrap { position: relative; z-index: 1; color: var(--bone); }
.big-stat { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 72px); align-items: center; }
.big-stat .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(88px, 16vw, 220px); letter-spacing: -0.05em; line-height: 0.9; color: var(--accent); font-variant-numeric: tabular-nums; }
[data-tone="dark"] .big-stat .v { color: var(--accent-lit); }
@media (max-width: 760px) { .big-stat { grid-template-columns: 1fr; } }
.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: 15px; transition: background-color 200ms; }
.link-list a:hover { background: var(--surface); }
.page-hero.with-media.dim .hero-media::after { background: linear-gradient(180deg, oklch(0.14 0.014 255 / 0.72), oklch(0.14 0.014 255 / 0.86)); }
.page-hero.with-media.dim .spec-list p { color: var(--bone-dim, oklch(0.82 0.01 85)); }

/* ---------- contained hero (light page, photo in a card) ---------- */
.hero-lite { padding-top: 124px; }
.hero-card { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; aspect-ratio: 16 / 8.2; max-height: min(64vh, 640px); background: var(--surface-strong); isolation: isolate; }
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0 0 0 / 0.62) 0%, oklch(0 0 0 / 0.38) 45%, oklch(0 0 0 / 0.05) 100%), linear-gradient(180deg, transparent 50%, oklch(0 0 0 / 0.45) 100%); }
.hero-card .hero-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(24px, 4vw, 56px); color: var(--bone); display: grid; gap: 16px; max-width: 720px; }
.hero-card .hero-content .lede { color: inherit; opacity: 0.92; max-width: 50ch; }
.hero-card .t-hero { font-size: clamp(38px, 5.4vw, 76px); }
.hero-card .btn-ghost { color: inherit; border-color: oklch(1 0 0 / 0.4); background: oklch(1 0 0 / 0.14); }
@media (max-width: 960px) { .hero-lite { padding-top: 92px; } .hero-card { aspect-ratio: 3 / 4; max-height: none; } .hero-card > img { object-position: 62% 30%; } .hero-card::after { background: linear-gradient(180deg, oklch(0 0 0 / 0.05) 0%, oklch(0 0 0 / 0.15) 28%, oklch(0 0 0 / 0.7) 55%, oklch(0 0 0 / 0.82) 100%); } .hero-card .hero-content { padding: 22px; gap: 12px; } .hero-card .hero-content .lede { font-size: 16px; } }
.page-hero { padding-top: clamp(140px, 18vh, 200px); }
.photo-band { border-radius: calc(var(--radius) + 8px); overflow: hidden; aspect-ratio: 21 / 9; max-height: 520px; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
@media (max-width: 760px) { .photo-band { aspect-ratio: 4 / 3; } }

/* best price guarantee */
.guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in oklab, var(--accent) 9%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent); font-size: 14px; line-height: 1.45; max-width: none; }
.guarantee-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--bone); display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 1px; }

/* footer: other Assured companies */
.footer-family { margin-top: 28px; background: var(--accent); color: var(--bone); }
.footer-family-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding-block: 16px; font-size: 14px; letter-spacing: 0.02em; }
.footer-family-label { opacity: 0.85; }
.footer-family ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.footer-family li { display: flex; align-items: center; }
.footer-family li + li::before { content: ""; width: 1px; height: 14px; background: oklch(1 0 0 / 0.5); margin: 0 14px; }
.footer-family a { color: inherit; text-decoration: none; font-weight: 600; white-space: nowrap; }
.footer-family a:hover { text-decoration: underline; }
@media (max-width: 600px) { .footer-family ul { flex-direction: column; align-items: center; gap: 6px; } .footer-family li + li::before { display: none; } }
