/* Silver Lining Roofing
   Every page starts in the storm (dark slate) and breaks into light below, with a
   cloud edge lit silver between the two: the silver lining. The colours are the
   materials of a British roof: wet slate, weathered lead, clay tile, and the mist
   after rain. */
:root {
  --storm: #0f1821;
  --storm-2: #162330;
  --storm-3: #20303f;
  --slate: #2b3b4a;
  --lead: #8d99a5;
  --silver: #c7d0d8;
  --silver-hi: #f3f6f8;
  --mist: #eef2f4;
  --paper: #ffffff;
  --ink: #111a22;
  --ink-2: #4b5966;
  --line: #d6dee4;
  --clay: #b04e2d;
  --clay-hi: #bd5634;
  --clay-deep: #8f3c21;
  --clay-tint: #f7ebe5;
  --ok: #2c7a52;
  --ok-tint: #e2f2e9;
  --warn: #fff3d1;
  --wa: #25d366;
  --silver-grad: linear-gradient(100deg, #8f9ba7 0%, #e9eff3 22%, #ffffff 31%, #b3bec7 47%, #f2f5f7 66%, #9ca8b3 100%);
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(17, 26, 34, .06), 0 10px 28px rgba(17, 26, 34, .07);
  --block: clamp(56px, 9vw, 104px);
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  /* Older names, still used by the roof builder's markup */
  --brick: var(--clay);
  --brick-dark: var(--clay-deep);
  --brick-tint: var(--clay-tint);
  --cream: var(--mist);
  --card: var(--paper);
  --muted: var(--ink-2);
  --warn-bg: var(--warn);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--mist); line-height: 1.55; font-size: 17px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; }
a { color: var(--clay-deep); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.85rem, 4.6vw, 2.9rem); }
h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Small uppercase label with a silver dash */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 700 .76rem/1.3 var(--font);
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before, .kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--silver-grad); flex: none; }
.kicker { color: var(--silver); }

/* Silver text: catches the light once as the page loads */
.silver { color: var(--silver); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .silver { background: var(--silver-grad); background-size: 240% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text;
    color: transparent; animation: glint 2.6s .5s cubic-bezier(.3, .6, .2, 1) both; }
}
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Buttons: small spaced capitals. The right padding is a touch less than the left
   because the letter spacing also adds a gap after the last letter. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: 1em 1.6em 1em 1.75em; border-radius: 999px;
  border: 1.5px solid transparent; font: 650 .78rem/1.2 var(--font); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  min-height: 50px; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, var(--clay-hi), var(--clay)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 22px -6px rgba(176, 78, 45, .55); }
.btn-primary:hover { background: linear-gradient(180deg, var(--clay), var(--clay-deep)); }
.btn-lg { min-height: 56px; padding: 1em 1.6em 1em 1.75em; font-size: .8rem; }
.btn-ghost { background: transparent; border-color: rgba(17, 26, 34, .28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-glass, .btn-ghost-light { background: rgba(255, 255, 255, .08); border-color: rgba(220, 228, 234, .5); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-glass:hover, .btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.hero .btn-ghost, .page-hero .btn-ghost, .cta-band .btn-ghost { border-color: rgba(220, 228, 234, .5); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #06301a; }
.btn-quiet { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.arrow { transition: transform .2s; }
.btn:hover .arrow, a:hover > .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; }
.site-header { position: sticky; top: 0; z-index: 40; color: #fff; background: rgba(15, 24, 33, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07); transition: background .35s, border-color .35s; }
.home .site-header:not(.scrolled) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; flex: 0 1 auto; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.wm { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.wm b { font: 600 1.3rem/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.wm small { font: 600 .6rem/1 var(--font); letter-spacing: .36em; text-transform: uppercase; color: var(--silver); margin-top: 5px; }
.site-header .nav { display: none; }
.nav { align-items: center; gap: 22px; }
.nav a, .drop summary { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .drop summary:hover { color: #fff; }
.phone-link { white-space: nowrap; font-variant-numeric: tabular-nums; }
.btn-head { margin-left: auto; padding: .6em 1.3em .6em 1.45em; min-height: 42px; font-size: .72rem; white-space: nowrap; flex: none; }
.drop { position: relative; }
.drop summary, .mobile-menu summary { list-style: none; cursor: pointer; }
.drop summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.drop summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-3px) rotate(45deg); opacity: .8; }
.drop-panel { position: absolute; top: calc(100% + 18px); left: -16px; z-index: 30; display: grid; min-width: 280px; padding: 8px;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 48px -12px rgba(15, 24, 33, .35); }
.drop-panel a, .mobile-panel a { text-decoration: none; font-weight: 600; }
.drop-panel a { color: var(--ink); padding: 11px 14px; border-radius: 10px; font-size: .95rem; }
.drop-panel a:hover { background: var(--mist); }
.mobile-menu { flex: none; }
.mobile-menu summary { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); }
.mobile-menu summary span { position: relative; width: 18px; height: 1.5px; background: #fff; font-size: 0; }
.mobile-menu summary span::before, .mobile-menu summary span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff; transition: transform .25s; }
.mobile-menu summary span::before { top: -6px; }
.mobile-menu summary span::after { top: 6px; }
.mobile-menu[open] summary span { background: transparent; }
.mobile-menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.mobile-menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; display: grid; padding: 8px 16px 24px; background: var(--storm-2);
  box-shadow: 0 24px 40px rgba(0, 0, 0, .35); max-height: calc(100vh - 68px); overflow: auto; border-top: 1px solid rgba(255, 255, 255, .08); }
.mobile-panel a { color: #fff; padding: 13px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-h { margin: 18px 0 2px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lead); }
.mobile-panel .mobile-call { color: var(--silver); border-bottom: 0; }
@media (min-width: 1040px) {
  .site-header .nav { display: flex; margin-left: auto; }
  .btn-head { margin-left: 4px; }
  .mobile-menu { display: none; }
}
@media (max-width: 420px) {
  .site-header .wrap { gap: 8px; }
  .wm b { font-size: 1.12rem; }
  .wm small { font-size: .55rem; letter-spacing: .3em; }
  .logo-mark { width: 32px; height: 32px; }
  .btn-head { padding: .5em 1em .5em 1.15em; font-size: .68rem; letter-spacing: .12em; min-height: 40px; }
}

/* Demo prices banner (until the price list is filled in) */
.demo-banner { background: var(--warn); color: #5c4400; font-size: .82rem; text-align: center; padding: 6px 16px; }

/* ---------- The silver lining: a cloud edge lit from behind ---------- */
.lining { position: absolute; left: 0; right: 0; height: 60px; pointer-events: none; z-index: 3; }
.lining svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lining--down { top: 100%; margin-top: -1px; }
.lining--up { bottom: 100%; margin-bottom: -1px; transform: scaleY(-1); }
@media (min-width: 900px) { .lining { height: 84px; } }
.lining .shine { animation: shine 9s linear infinite; }
@keyframes shine { from { transform: translateX(-1440px); } to { transform: translateX(1440px); } }

/* ---------- Home: hero ----------
   The family by the fire while the storm hits the roof. Phones get the tall picture whole, with the
   headline in its stormy sky and the buttons beneath; wide screens get the wide picture on the right,
   fading into the dark, with the words on the left. Rain, firelight and chimney smoke move on top.
   The --f, --g and --s values place the fire glow, the room glow and the smoke on each picture (% of it). */
.hero { position: relative; z-index: 2; isolation: isolate; color: #fff; background: var(--storm); }
.home main > .hero:first-child { margin-top: -68px; }
.hero-media { position: relative; overflow: hidden; aspect-ratio: 9 / 16; max-height: 125svh; width: 100%; container-type: size; }
.hero-frame { position: absolute; inset: 0;
  --fx: 64.9%; --fy: 74.2%; --fw: 16%; --fh: 9%; --gx: 56%; --gy: 72%; --gw: 76%; --gh: 22%; --sx: 79%; --sy: 36%; --sw: 16%; --sh: 9%; }
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(15, 24, 33, .72) 0%, rgba(15, 24, 33, .2) 26%, rgba(15, 24, 33, 0) 42%, rgba(15, 24, 33, 0) 80%, var(--storm) 100%); }
.fire-glow, .chimney-smoke { position: absolute; border-radius: 50%; pointer-events: none; }
.fire-glow { left: calc(var(--fx) - var(--fw) / 2); top: calc(var(--fy) - var(--fh) / 2); width: var(--fw); height: var(--fh); mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 170, 70, .6), rgba(255, 140, 50, 0)); animation: flicker 1.3s ease-in-out infinite alternate; }
.fire-glow.room { left: calc(var(--gx) - var(--gw) / 2); top: calc(var(--gy) - var(--gh) / 2); width: var(--gw); height: var(--gh);
  background: radial-gradient(closest-side, rgba(255, 180, 90, .22), rgba(255, 180, 90, 0)); animation-duration: 2.1s; }
@keyframes flicker { 0% { opacity: .55; transform: scale(1); } 40% { opacity: .9; } 70% { opacity: .65; transform: scale(1.04); } 100% { opacity: 1; transform: scale(.98); } }
.chimney-smoke { left: var(--sx); top: var(--sy); width: var(--sw); height: var(--sh);
  background: radial-gradient(closest-side, rgba(235, 235, 235, .45), rgba(235, 235, 235, 0)); animation: smoke 4.5s ease-out infinite; }
@keyframes smoke { from { transform: translate(0, 0) scale(.8); opacity: .7; } to { transform: translate(35%, -70%) scale(1.6); opacity: 0; } }
.hero-head { position: absolute; z-index: 3; left: 0; right: 0; top: 0; padding: 92px 16px 0; }
.hero-body { position: relative; z-index: 3; margin-top: -36px; padding-bottom: 76px; }
.hero-title { font-size: clamp(3rem, 13.4vw, 4.6rem); line-height: .95; letter-spacing: -.03em; margin: 0; text-shadow: 0 2px 22px rgba(8, 14, 20, .6); }
.hero-title span, .hero-title em { display: block; }
.hero-title em { font-style: italic; font-weight: 500; padding-right: .08em; filter: drop-shadow(0 2px 18px rgba(8, 14, 20, .55)); }
.hero-title .silver { background-image: linear-gradient(100deg, #c9d3db 0%, #ffffff 24%, #ffffff 34%, #d9e1e7 50%, #ffffff 68%, #ccd5dc 100%); }
.hero-lede { font-size: clamp(1.06rem, 2.3vw, 1.24rem); max-width: 31em; color: rgba(255, 255, 255, .88); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (min-width: 900px) {
  .hero { min-height: min(92svh, 860px); display: flex; }
  .hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: 34%; width: auto; aspect-ratio: auto; max-height: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
  .hero-frame { inset: auto; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); aspect-ratio: 16 / 9; transform: translate(-50%, -50%);
    --fx: 61.7%; --fy: 78%; --fw: 14%; --fh: 20%; --gx: 55%; --gy: 70%; --gw: 46%; --gh: 50%; --sx: 74.5%; --sy: 1%; --sw: 7%; --sh: 9%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(15, 24, 33, .5) 0%, rgba(15, 24, 33, 0) 22%, rgba(15, 24, 33, 0) 76%, var(--storm) 100%); }
  .hero-content { width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-top: 110px; padding-bottom: 104px; }
  .hero-head, .hero-body { position: relative; max-width: min(540px, 40vw); padding: 0; margin: 0; }
  .hero-title { font-size: clamp(3.2rem, 5.6vw, 5.4rem); }
}
.hero-proof { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hero-proof li { display: flex; align-items: center; gap: 9px; }
.hero-proof li::before, .ticks li::before { content: ""; width: 18px; height: 18px; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.6 3.6L16 5.6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.6 3.6L16 5.6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-proof li::before { background: var(--silver-grad); }
/* "Roof leaking now?": a box of its own under the hero buttons, with call and WhatsApp side by side */
.leak-card { margin-top: 26px; max-width: 460px; padding: 18px; border-radius: var(--radius); background: rgba(184, 67, 42, .16); border: 1.5px solid rgba(226, 104, 63, .65); }
.leak-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.leak-card p { margin: 0 0 14px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.leak-actions { display: grid; gap: 10px; }
.leak-actions .btn { min-height: 48px; padding-inline: 1em; letter-spacing: .1em; }
.leak-card .pulse { width: 11px; height: 11px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #e2683f; box-shadow: 0 0 0 0 rgba(226, 104, 63, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(226, 104, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 104, 63, 0); } }

/* ---------- Sections ---------- */
section.block { padding: var(--block) 0; position: relative; }
section.block.alt { background: var(--paper); }
.hero + .block, .hero + section, .page-hero + .block, .page-hero + section { padding-top: calc(var(--block) + 44px); }
.block:has(+ .cta-band) { padding-bottom: calc(var(--block) + 40px); }
.section-head { max-width: 40em; margin-bottom: 34px; }
.section-head p { font-size: 1.08rem; color: var(--ink-2); }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }

/* How it works, with the live house */
.demo-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .demo-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; } }
.flow, .steps { list-style: none; counter-reset: f; padding: 0; margin: 26px 0 30px; display: grid; gap: 20px; }
.flow li, .steps li { counter-increment: f; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: start; }
.flow li::before, .steps li::before { content: counter(f); grid-row: span 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font: 600 1.3rem/1 var(--font-display); color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line), 0 6px 14px -8px rgba(17, 26, 34, .3); }
.flow b { display: block; font-size: 1.1rem; margin-top: 2px; }
.flow span, .steps .muted { color: var(--ink-2); }
.steps li { margin: 0; }
.demo-stage { position: relative; margin: 0; aspect-ratio: 5 / 4; max-height: 560px; width: 100%; border-radius: 28px; overflow: hidden;
  background: radial-gradient(85% 75% at 50% 28%, #2c4053 0%, var(--storm-2) 58%, var(--storm) 100%);
  box-shadow: 0 40px 70px -30px rgba(15, 24, 33, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
.demo-stage::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 12%; height: 34%; background: radial-gradient(closest-side, rgba(206, 220, 232, .16), transparent); }
.demo-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.demo-live { margin: 0 0 8px; }
.demo-cap { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 16px; color: #fff; pointer-events: none; }
.demo-name { display: block; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .9); transition: opacity .35s; }
.demo-price { text-align: right; transition: opacity .35s; }
.demo-price b { display: block; font: 600 clamp(1.45rem, 3.6vw, 2.15rem)/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.demo-price small { font-size: .74rem; color: rgba(255, 255, 255, .65); letter-spacing: .04em; }
.demo-cap.swap .demo-name, .demo-cap.swap .demo-price { opacity: 0; }
.demo-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
@media (max-width: 640px) {
  .demo-stage { aspect-ratio: 4 / 5; border-radius: 24px; }
  .demo-cap { left: 16px; right: 16px; top: 16px; flex-direction: column; gap: 10px; }
  .demo-price { text-align: left; }
}
.demo-dots button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.demo-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: all .25s; }
.demo-dots button[aria-pressed="true"]::before { width: 9px; height: 9px; background: var(--silver-hi); box-shadow: 0 0 10px rgba(255, 255, 255, .6); }

/* Prices up front: a tradesman's price board */
.board { background: var(--paper); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.board a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 18px 22px; text-decoration: none; color: inherit;
  border-top: 1px solid var(--line); transition: background .2s; }
.board a:first-child { border-top: 0; }
.board a:hover { background: #f6f9fa; }
.board .icon { grid-row: span 2; width: 42px; height: 42px; color: var(--slate); }
.board .icon svg { width: 100%; height: 100%; }
.board-t { font-weight: 700; font-size: 1.06rem; }
.board-d { grid-column: 2; color: var(--ink-2); font-size: .9rem; }
.board-p { grid-column: 3; grid-row: 1 / span 2; text-align: right; }
.board-p small { display: block; font-size: .74rem; color: var(--ink-2); letter-spacing: .02em; }
.board-p b { font: 600 1.22rem/1.2 var(--font-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.board-p .arrow { color: var(--clay); margin-left: 6px; display: inline-block; }
@media (max-width: 600px) {
  .board a { grid-template-columns: 40px minmax(0, 1fr); padding: 16px 16px; }
  .board .icon { grid-row: span 3; width: 36px; height: 36px; align-self: start; }
  .board-p { grid-column: 2; grid-row: auto; text-align: left; margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .board-p small { display: inline; }
}
.board-note { margin-top: 16px; }

/* Why the name: lead flashing, the silver lining of a roof */
.story { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.story-art { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 2;
  background: radial-gradient(90% 80% at 75% 10%, #2c4053 0%, var(--storm-2) 55%, var(--storm) 100%); box-shadow: 0 40px 70px -30px rgba(15, 24, 33, .55); }
.story-art svg { width: 100%; height: 100%; display: block; }
.promises { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .promises { grid-template-columns: 1fr 1fr; } }
.promises li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.promises b { display: block; font-size: 1rem; margin-bottom: 2px; }
.promises span { color: var(--ink-2); font-size: .9rem; }

/* Lichfield to Longbridge */
.route { position: relative; list-style: none; margin: 30px 0 34px; padding: 0; }
.route::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 26px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--slate), var(--lead) 50%, var(--slate)); }
.route li { position: relative; padding: 0 0 16px 36px; font-weight: 600; }
.route li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--slate); }
.route li.big { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.route li.big::before { width: 21px; height: 21px; left: 0; top: 6px; box-shadow: inset 0 0 0 4px var(--clay); }
.route small { display: block; font: 400 .82rem var(--font); color: var(--ink-2); letter-spacing: 0; }
@media (min-width: 900px) {
  .route { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); margin: 44px 0 40px; }
  .route::before { left: calc(100% / 22); right: calc(100% / 22); top: 9px; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, var(--slate), var(--lead) 50%, var(--slate)); }
  .route li { padding: 34px 4px 0; text-align: center; font-size: .92rem; }
  .route li::before { left: 50%; top: 3px; transform: translateX(-50%); }
  .route li.big { font-size: 1.12rem; }
  .route li.big::before { left: 50%; top: 0; }
}

/* Questions teaser */
.qa-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.qa-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.qa-list a:hover { color: var(--clay-deep); }
.qa-list .arrow { color: var(--clay); }

/* Dark closing band, with the lining rising above it */
.cta-band { position: relative; background: radial-gradient(70% 90% at 50% 100%, #22364a 0%, var(--storm-2) 45%, var(--storm) 100%); color: #fff;
  padding: calc(var(--block) - 8px) 0 var(--block); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 5.4vw, 3.4rem); }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 34em; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--storm); color: #b9c4cd; padding: 56px 0 110px; font-size: .92rem; }
.site-footer.joined { border-top: 1px solid rgba(255, 255, 255, .07); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid p { margin: 0 0 .7em; }
.footer-grid > div > a { display: block; padding: 4px 0; text-decoration: none; color: #dfe6ec; }
.footer-grid > div > a:hover { color: #fff; }
.footer-grid .foot-brand > .logo { display: flex; padding: 0; margin-bottom: 18px; color: #fff; }
.foot-h { text-transform: uppercase; font-size: .72rem; letter-spacing: .16em; color: var(--lead); font-weight: 700; }
.legal { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .64rem; line-height: 1.5; color: #75828e; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Information pages ---------- */
.page-hero { position: relative; color: #fff; padding: 52px 0 60px;
  background: radial-gradient(60% 90% at 88% 0%, rgba(214, 226, 236, .14), transparent 70%), linear-gradient(180deg, var(--storm-2), var(--storm)); }
.page-hero.urgent { background: radial-gradient(60% 90% at 88% 0%, rgba(226, 104, 63, .3), transparent 70%), linear-gradient(180deg, var(--storm-2), var(--storm)); }
.page-hero h1 { margin: 10px 0 14px; max-width: 16em; }
.page-hero .lede { font-size: 1.14rem; max-width: 38em; color: rgba(255, 255, 255, .86); margin: 0; }
.page-hero .hero-actions { margin-top: 24px; }
.crumbs { margin: 0; font-size: .85rem; color: var(--lead); }
.crumbs a, .on-dark { color: var(--silver); }
.narrow { max-width: 800px; }
.split-2 { display: grid; gap: 32px; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.prose > h2:first-child, .prose > .todo + h2 { margin-top: 0; }
.cards-2 { display: grid; gap: 12px; margin: 16px 0; }
.cards-2 .card { padding: 18px; box-shadow: none; }
.cards-2 .card h3 { margin-bottom: .3em; }
.cards-2 .card p { margin: 0 0 .4em; }
@media (min-width: 600px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.price-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: var(--silver-grad); }
.price-card h2 { font-size: 1.6rem; }
.price-table { width: 100%; border-collapse: collapse; margin: 4px 0 12px; font-size: .95rem; }
.price-table td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; font: 600 1.05rem/1.4 var(--font-display); font-variant-numeric: tabular-nums; }
.price-table tr[hidden] { display: none; }
@media (min-width: 900px) {
  .split-2 { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 56px; }
  .side { position: sticky; top: 92px; }
}
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
/* The tick sits in the left margin, so a bold lead-in and the text after it flow as one paragraph */
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { position: absolute; left: 0; top: .2em; background: var(--ok); }
details.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; transition: box-shadow .2s; }
details.faq[open] { box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 52px 16px 18px; font-weight: 700; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font-display); color: var(--clay); transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq > div { padding: 0 18px 6px; color: #2f3a44; }
.narrow > h2 { margin-top: 1.4em; }
.narrow > h2:first-child { margin-top: 0; }
.todo { background: #fff7d6; border: 2px dashed #e0b400; color: #5c4400; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.link-list { list-style: none; padding: 0; margin: 0 0 1em; }
.link-list li { padding: 6px 0; }
.service-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.service-card:hover { border-color: var(--lead); transform: translateY(-2px); }
.service-card .icon { width: 44px; height: 44px; color: var(--slate); }
.service-card .go { margin-top: auto; color: var(--clay-deep); font-weight: 700; }
.service-card .from { font-size: .92rem; color: var(--ink); }
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.areas li { background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 5px 13px; font-size: .9rem; font-weight: 600; }
.area-grid { display: grid; gap: 18px; margin: 12px 0 22px; }
.area-grid h3 { margin-bottom: .2em; }
.area-grid p { margin: 0; color: var(--ink-2); }
@media (min-width: 640px) { .area-grid { grid-template-columns: 1fr 1fr; } }
.pc-check { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-bottom: 28px; box-shadow: var(--shadow); }
.pc-check label { display: block; font-weight: 700; margin-bottom: 10px; }
.pc-row { display: flex; gap: 8px; }
.pc-row input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; text-transform: uppercase; background: #fff; }
.pc-row input:focus { outline: none; border-color: var(--slate); }
.pc-out { margin: 12px 0 0; }
.pc-out.yes { color: var(--ok); font-weight: 700; }
.pc-out.no { color: #b3261e; font-weight: 700; }

/* Gallery */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.job-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; width: 100%; }
.empty-state { text-align: center; padding: 48px 16px; }

:focus-visible { outline: 3px solid #e2a04a; outline-offset: 2px; }

/* ---------- Quote builder ---------- */
.quote-page { min-height: calc(100vh - 68px); padding: 28px 0 120px; }
.quote-shell { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 20px; }
.progress span { display: block; height: 100%; background: var(--clay); width: 0; transition: width .3s; }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; min-height: 40px; }
.back { background: none; border: 0; font: inherit; color: var(--ink-2); cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.back[hidden] { display: none; }
.step h2 { font-size: clamp(1.7rem, 4.6vw, 2.2rem); }
.step .hint { color: var(--ink-2); margin-top: -.3em; }
.choices { display: grid; gap: 10px; margin: 18px 0; }
.choices.two { grid-template-columns: repeat(2, 1fr); }
.choice { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 14px 16px; font: inherit; color: inherit; cursor: pointer; min-height: 66px; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice:hover { border-color: var(--lead); box-shadow: 0 8px 20px -12px rgba(17, 26, 34, .3); }
.choice[aria-pressed="true"], .choice.selected { border-color: var(--clay); background: var(--clay-tint); }
.choice .ico { width: 44px; height: 44px; flex: none; color: var(--slate); }
.choice .t { font-weight: 700; display: block; }
.choice .d { color: var(--ink-2); font-size: .9rem; display: block; }
.choices.two .choice { flex-direction: column; text-align: center; justify-content: center; gap: 6px; }
.item-row { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.item-row.on { border-color: var(--clay); background: var(--clay-tint); }
.item-row label { flex: 1; cursor: pointer; display: flex; gap: 12px; align-items: center; }
.item-row input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--clay); flex: none; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 64px; text-align: center; font: inherit; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.qty .unit { font-size: .85rem; color: var(--ink-2); }
.step-actions { margin-top: 20px; display: grid; gap: 10px; }
.leak-box { background: radial-gradient(80% 120% at 100% 0%, rgba(226, 104, 63, .35), transparent 70%), var(--storm-2); color: #fff; border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.leak-box .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.built-badge, .building-kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--ok-tint); color: var(--ok); font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.building-kicker { margin: 0 0 12px; }
.price-box { position: relative; overflow: hidden; color: #fff; border-radius: 22px; padding: 26px 20px 24px; margin: 16px 0; text-align: center;
  background: radial-gradient(90% 120% at 50% 0%, #2c4053 0%, var(--storm-2) 55%, var(--storm) 100%); box-shadow: 0 30px 50px -28px rgba(15, 24, 33, .6); }
.price-box::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1.5px; background: var(--silver-grad); }
.price-box .range { font: 600 clamp(2.1rem, 9vw, 3rem)/1.1 var(--font-display); letter-spacing: -.02em; margin: 6px 0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .price-box .range { background: var(--silver-grad); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: glint 2.4s .2s cubic-bezier(.3, .6, .2, 1) both; }
}
.price-box .sub { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.summary { list-style: none; padding: 0; margin: 0 0 12px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary li span:last-child { white-space: nowrap; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.note { background: var(--warn); border-radius: 12px; padding: 11px 14px; font-size: .9rem; margin: 10px 0; }
.ref { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 800; letter-spacing: .06em; }
.ref-big { font-size: 2rem; background: #fff; border: 2px dashed var(--lead); border-radius: var(--radius); padding: 12px; text-align: center; margin: 12px 0; }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(43, 59, 74, .12); }
.field .err { color: #b3261e; font-size: .875rem; margin-top: 4px; display: none; }
.field.invalid input { border-color: #b3261e; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; }

/* The 3D house: a dark studio, like a model on a plinth under a lamp */
.stage { display: none; }
body.has-stage .quote-page { padding: 0; min-height: 0; }
body.has-stage .wa-float { display: none; }
body.has-stage .stage {
  display: block; position: sticky; top: 68px; z-index: 5; height: min(40vh, 360px); overflow: hidden;
  background: radial-gradient(85% 80% at 50% 25%, #2c4053 0%, var(--storm-2) 58%, var(--storm) 100%);
}
.stage::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 8%; height: 36%; background: radial-gradient(closest-side, rgba(206, 220, 232, .16), transparent); pointer-events: none; }
.stage canvas {
  position: relative; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.stage canvas:active { cursor: grabbing; }
.stage-caption {
  position: absolute; left: 14px; top: 12px; max-width: calc(100% - 140px);
  background: rgba(15, 24, 33, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 600;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stage-caption:empty { display: none; }
.stage-hint {
  position: absolute; top: 12px; right: 14px; font-size: .78rem; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .08);
  padding: 5px 11px; border-radius: 999px; transition: opacity .6s; pointer-events: none;
}
.stage-hint::before { content: "↔ "; }
.stage-hint.gone { opacity: 0; }
body.has-stage .quote-shell { max-width: 640px; padding: 20px 16px 24px; }
@media (min-width: 900px) {
  body.has-stage .builder { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(420px, 1fr); }
  body.has-stage .stage { height: calc(100vh - 68px); }
  body.has-stage .quote-shell { margin: 0; max-width: 580px; padding: 40px 44px 44px; }
}

.cfg-steps { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.cfg-steps::-webkit-scrollbar { display: none; }
.cfg-steps li { flex: 1 0 auto; }
.cfg-steps button {
  display: flex; align-items: center; gap: 6px; width: 100%; background: none; border: 0; padding: 6px 4px 10px; font: inherit;
  font-size: .78rem; color: var(--ink-2); cursor: pointer; border-bottom: 3px solid var(--line); white-space: nowrap;
}
.cfg-steps button[disabled] { cursor: default; opacity: .6; }
.cfg-steps .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: var(--line); color: var(--ink-2); flex: none; }
.cfg-steps .is-done button { border-color: var(--clay); color: var(--ink); }
.cfg-steps .is-done .dot { background: var(--clay); color: #fff; }
.cfg-steps .is-now button { border-color: var(--storm); color: var(--ink); font-weight: 700; }
.cfg-steps .is-now .dot { background: var(--storm); color: #fff; }
.cfg-steps li:not(.is-now) .lbl { display: none; }
.cfg-steps li:not(.is-now) { flex: 0 0 auto; }
.cfg-steps li.is-now { flex: 1 0 auto; }

.cfg-q { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: .25em; outline: none; }
.cfg-hint { color: var(--ink-2); margin: 0 0 14px; font-size: .95rem; }
.cfg-body.enter { animation: cfgIn .38s cubic-bezier(.2, .7, .2, 1); }
@keyframes cfgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.opts { display: grid; gap: 10px; margin: 14px 0; }
.opts-3 { grid-template-columns: repeat(3, 1fr); }
.opts-2 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.opts-1 { grid-template-columns: 1fr; }
.opt {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 8px 12px; font: inherit; color: var(--ink);
  cursor: pointer; transition: transform .18s, border-color .18s, box-shadow .18s, background .18s; min-height: 64px;
}
.opt:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(17, 26, 34, .35); }
.opt:active { transform: scale(.98); }
.opt.is-on { border-color: var(--clay); background: #fffaf7; box-shadow: 0 0 0 3px rgba(176, 78, 45, .13); }
.opt-art { width: 56px; height: 42px; color: var(--ink-2); display: grid; place-items: center; transition: color .18s; }
.opt-art:empty { display: none; }
.opt-art svg { width: 100%; height: 100%; }
.opt.is-on .opt-art { color: var(--clay); }
.opt-t { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.opt-d { color: var(--ink-2); font-size: .78rem; line-height: 1.3; }
.opt-tick { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--clay); transform: scale(0); transition: transform .22s cubic-bezier(.3, 1.6, .5, 1); }
.opt-tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.opt.is-on .opt-tick { transform: scale(1); }
.opts-2 .opt, .opts-1 .opt { grid-template-columns: auto 1fr; justify-items: start; text-align: left; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 34px 12px 12px; }
.opts-2 .opt-art, .opts-1 .opt-art { grid-row: span 2; width: 44px; height: 44px; }
.opts-1 .opt { grid-template-columns: 1fr; }
.swatch { width: 44px; height: 44px; border-radius: 12px; display: block; background-color: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 -6px 12px rgba(0, 0, 0, .18); }
.swatch[data-kind="tile"] { background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.32) 0 2px, transparent 2px 10px), repeating-linear-gradient(90deg, rgba(0,0,0,.2) 0 1.5px, transparent 1.5px 11px); }
.swatch[data-kind="slate"] { background-image: linear-gradient(135deg, rgba(255,255,255,.2), transparent 60%), repeating-linear-gradient(0deg, rgba(0,0,0,.34) 0 1.5px, transparent 1.5px 7px); }
.swatch[data-kind="wave"] { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 3px, rgba(255,220,190,.25) 3px 5px, transparent 5px 9px), repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 2px, transparent 2px 12px); }
.swatch[data-kind="flat"] { background-image: linear-gradient(135deg, rgba(255,255,255,.26), transparent 55%); }
.sub-q { margin: 18px 0 0; font-size: 1.05rem; }

.seg { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 4px; }
.seg-l { font-size: .85rem; color: var(--ink-2); padding: 0 8px 0 10px; }
.seg button { border: 0; background: none; font: inherit; font-weight: 700; min-width: 44px; height: 34px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--storm); color: #fff; }
.switches { display: grid; gap: 8px; margin-top: 14px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: .92rem; position: relative; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 42px; height: 24px; border-radius: 999px; background: #c3ccd3; position: relative; flex: none; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--clay); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid #e2a04a; outline-offset: 2px; }
.switch-t { font-weight: 700; display: block; }
.switch-d { color: var(--ink-2); font-size: .8rem; display: block; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; }
.chips-l { font-size: .85rem; color: var(--ink-2); margin-right: 4px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; min-width: 46px; height: 40px; padding: 0 14px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); transition: all .15s; }
.chip[aria-pressed="true"] { background: var(--storm); border-color: var(--storm); color: #fff; }
.area { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; margin-top: 14px; text-align: center; }
.area-n { font: 600 3rem/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.area-n small { font: 700 1.1rem var(--font); color: var(--ink-2); margin-left: 4px; }
.area-l { color: var(--ink-2); font-size: .85rem; margin: 6px 0 12px; }
.area input[type=range] { width: 100%; accent-color: var(--clay); height: 28px; }
.area-hint { font-size: .8rem; color: var(--ink-2); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--clay-deep); text-decoration: underline; cursor: pointer; }

.cfg-bar { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); margin-top: 8px;
  background: linear-gradient(180deg, rgba(238, 242, 244, 0), var(--mist) 30%); }
.cfg-bar .btn-primary { flex: 1; }
.btn-built { background: linear-gradient(135deg, var(--clay) 0%, #c9643f 50%, var(--clay) 100%); background-size: 200% 100%; animation: built 3s ease-in-out infinite; }
@keyframes built { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }

body.has-stage .price-box .range { font-size: clamp(1.7rem, 7vw, 2.6rem); white-space: nowrap; }
@media (min-width: 900px) { body.has-stage .price-box .range { font-size: clamp(1.6rem, 2.5vw, 2.5rem); } }
@media (max-width: 899px) { body.stage-static .stage { position: relative; top: 0; height: min(30vh, 260px); } }

.seg-wide { display: flex; width: 100%; margin: 6px 0 4px; }
.seg-wide button { flex: 1; padding: 0 10px; font-size: .88rem; }
.dims { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; margin-top: 14px; }
.dims-x { padding-bottom: 14px; color: var(--ink-2); font-weight: 700; }
.dim label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 4px; }
.stepper { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 4px; transition: border-color .15s; }
.stepper:focus-within { border-color: var(--slate); }
.stepper button { width: 34px; height: 40px; flex: none; border: 0; background: none; font: inherit; font-size: 1.3rem; color: var(--clay-deep); border-radius: 10px; cursor: pointer; }
.stepper button:hover { background: var(--mist); }
.stepper input { width: 100%; min-width: 0; border: 0; outline: none; text-align: right; font: inherit; font-size: 1.25rem; font-weight: 800; background: transparent; color: var(--ink); font-variant-numeric: tabular-nums; }
.stepper .unit { color: var(--ink-2); font-size: .9rem; margin: 0 4px 0 3px; }
.dim.bad .stepper { border-color: #b3261e; }
.dims-hint { font-size: .8rem; color: var(--ink-2); margin: 8px 0 0; }
.area-sub { font-size: .82rem; color: var(--ink-2); margin-top: -6px; }

.build-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.build-steps li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); transition: color .25s; }
.build-steps li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); background: #fff; box-sizing: border-box; transition: all .25s; }
.build-steps li.is-now { color: var(--ink); font-weight: 700; }
.build-steps li.is-now::before { border-color: var(--clay); border-width: 6px; animation: buildPulse 1s ease-in-out infinite; }
.build-steps li.is-done { color: var(--ink); }
.build-steps li.is-done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
@keyframes buildPulse { 50% { transform: scale(1.15); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .silver, .price-box .range, .btn-built, .cfg-body.enter, .build-steps li.is-now::before, .pulse, .lining .shine, .fire-glow, .chimney-smoke { animation: none !important; }
}
