/* Jace & Sons Roofing: demo site by Tenczar Technologies.
   Palette from the ink drawing (paper and ink) plus safety orange.
   Every numbered section is one "style on the shelf"; js/site.js holds the
   list that drives the shelf tags and the aisle map. Night mode swaps the
   tokens below (html[data-theme="night"]); storm mode is html.storm-mode. */

@font-face { font-family: "Archivo"; src: url(../fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(../fonts/caveat.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #f6f4ef;
  --paper-2: #eceae3;
  --paper-3: #dedad0;
  --card: #fffdf8;
  --ink: #141518;
  --ink-2: #3c3e43;
  --muted: #66676a;
  --line: rgba(20, 21, 24, .14);
  --line-2: rgba(20, 21, 24, .28);
  --hard: #141518;            /* the hard offset shadows */
  --orange: #ff5c1a;          /* fills, big type; ink text on it (5.9:1) */
  --orange-hover: #ff7433;
  --orange-ink: #b53f0c;      /* orange text on paper (5.2:1) */
  --slate: #1d2126;           /* dark sections, in both themes */
  --slate-2: #272c32;
  --on-slate: #eceae4;
  --on-slate-2: #b2b5b9;
  --orange-on-slate: #ff7a3d;
  --black: #141518;           /* stays dark in night mode */
  --white: #f6f4ef;           /* stays light in night mode */
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --hazard: repeating-linear-gradient(-45deg, var(--orange) 0 6px, var(--black) 6px 12px);
  --bar-h: 34px;
  --storm-h: 0px;
  --head-h: 68px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
html[data-theme="night"] {
  --paper: #121417;
  --paper-2: #181b1f;
  --paper-3: #252a30;
  --card: #1b1f24;
  --ink: #edece7;
  --ink-2: #c8c8c3;
  --muted: #9d9e9a;
  --line: rgba(237, 236, 231, .14);
  --line-2: rgba(237, 236, 231, .3);
  --hard: rgba(0, 0, 0, .55);
  --orange-ink: #ff8a50;
  --slate: #0b0c0e;
  --slate-2: #16181c;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); background: var(--paper); }
html.reduce { scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
p, ol, ul, figure, dl, dd, blockquote { margin: 0; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }
.icon { width: 24px; height: 24px; }

/* ---- shared type -------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 750 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 18px;
}
.kicker::before { content: ""; flex: none; width: 30px; height: 7px; border-radius: 1px; background: var(--hazard); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 {
  font-weight: 820; font-stretch: 78%; font-size: clamp(38px, 5.4vw, 70px); line-height: .96; letter-spacing: -.012em;
}
.lede { margin-top: 16px; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 56ch; }
.center .lede { margin-left: auto; margin-right: auto; }
.fine { margin-top: 24px; font-size: 13px; color: var(--muted); }

/* ---- buttons -------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 700 15.5px/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-orange { background: var(--orange); border-color: var(--black); color: var(--black); box-shadow: 3px 3px 0 var(--black); }
.btn-orange:hover { background: var(--orange-hover); box-shadow: 5px 5px 0 var(--black); }
.btn-orange:active { box-shadow: 1px 1px 0 var(--black); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--orange); border-color: var(--black); color: var(--black); }
.btn-pill { border-radius: 999px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- shelf tags (the "aisle" labels) -------------------------------------------- */
.tag {
  position: absolute; z-index: 30; top: 16px; left: 16px;
  display: flex; align-items: stretch; max-width: min(340px, calc(100% - 32px));
  background: var(--card); color: var(--ink); border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--hard); text-align: left;
  font-family: var(--sans); pointer-events: auto; cursor: pointer; padding: 0;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.tag:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--hard); }
.tag-no {
  display: grid; place-items: center; min-width: 44px; padding: 0 8px;
  background: var(--orange); color: var(--black); font-weight: 850; font-size: 19px; font-stretch: 75%;
  border-right: 1.5px solid var(--ink);
}
.tag-body { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 6px 11px 7px; }
.tag-body b { font-weight: 750; font-size: 12px; font-stretch: 80%; text-transform: uppercase; letter-spacing: .07em; line-height: 1.25; }
.tag-body small { font-size: 12px; color: var(--muted); line-height: 1.3; }
html.tags-off .tag { display: none; }

/* ---- demo bar, storm bar, header ---------------------------------------------------- */
.demo-bar {
  position: relative; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 34px; padding: 6px var(--gut);
  background: var(--black); color: #e9e6df; font-size: 13px; line-height: 1.35; text-align: center;
}
.demo-chip { flex: none; background: var(--orange); color: var(--black); font-weight: 850; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; }
.demo-bar a { color: #fff; text-underline-offset: 2px; }
@media (max-width: 640px) { .hide-sm { display: none; } }

.storm-bar {
  position: relative; z-index: 69; display: none; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 8px var(--gut); background: var(--orange); color: var(--black); font-size: 14.5px; text-align: center;
  background-image: linear-gradient(90deg, rgba(0,0,0,.08) 0 50%, transparent 50%); background-size: 200% 100%;
  animation: storm-sweep 2.4s linear infinite;
}
.storm-bar .icon { width: 20px; height: 20px; }
.storm-bar a { font-weight: 800; color: var(--black); }
html.storm-mode .storm-bar { display: flex; }
@keyframes storm-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--head-h); background: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gut);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: color-mix(in srgb, var(--paper) 90%, transparent); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand { display: block; color: var(--ink); text-decoration: none; flex: none; }
.brand-svg { height: 40px; width: auto; fill: currentColor; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.site-nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.nav-phone .icon { width: 17px; height: 17px; color: var(--orange-ink); }
.menu-btn { display: none; position: relative; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); cursor: pointer; }
.menu-btn span:not(.sr-only) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
@media (max-width: 1080px) { .nav-phone { display: none; } }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 420px) { .brand-svg { height: 34px; } }

.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--head-h) + 20px) var(--gut) 40px; background: var(--orange); color: var(--black);
  clip-path: circle(0 at calc(100% - 44px) 34px); transition: clip-path .6s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 34px); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none;
  font-weight: 900; font-stretch: 68%; text-transform: uppercase; font-size: clamp(44px, 13vw, 96px); line-height: .98;
  opacity: 0; transform: translateY(24px); transition: opacity .45s, transform .45s var(--ease);
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu nav a small { font-size: 14px; font-weight: 650; font-stretch: 100%; opacity: .7; }
.menu-foot { margin-top: 32px; font-size: 15px; }
.menu-foot a { font-weight: 800; }
html.menu-open .site-header { color: var(--black); }
html.menu-open .site-header.is-solid { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.menu-open .brand { color: var(--black); }
html.menu-open .menu-btn { background: transparent; border-color: var(--black); }
html.menu-open .menu-btn span:not(.sr-only) { background: var(--black); }

/* ---- 01 hero -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  height: calc(100svh - var(--bar-h) - var(--storm-h) - var(--head-h)); min-height: 560px;
}
.hero > .tag { top: 14px; }
.layers-pin > .tag, .styles-pin > .tag { top: calc(var(--head-h) + 14px); }
html.intro-running .tag { opacity: 0; pointer-events: none; }
.scene-wrap { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; aspect-ratio: 1122 / 1126; }
.scene {
  width: 100%; height: 100%; overflow: visible;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 13%), linear-gradient(transparent, #000 5%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 13%), linear-gradient(transparent, #000 5%);
  mask-composite: intersect;
}
html[data-theme="night"] .scene-wrap { filter: invert(.9); }
.rain { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .8s; }
html.storm-mode .rain { opacity: 1; }

.hero-copy {
  position: absolute; z-index: 3;
  left: clamp(20px, 5vw, 84px);
  bottom: clamp(60px, 10vh, 120px);
  width: min(540px, calc(100vw - (100svh - var(--bar-h) - var(--storm-h) - var(--head-h)) * .9964 - clamp(20px, 5vw, 84px) - 8px));
}
.hero-eyebrow { font-size: 12.5px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 20px; }
.lockup { display: block; }
.lockup-svg { width: 100%; height: auto; overflow: visible; fill: var(--ink); }
.hero-tagline { margin-top: 24px; max-width: 34ch; font: italic 400 clamp(19px, 1.7vw, 23px)/1.4 var(--serif); color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-storm { display: none; }
html.storm-mode .cta-storm { display: flex; }
html.storm-mode .cta-calm { display: none; }
.hero-foot { position: absolute; z-index: 3; left: clamp(20px, 5vw, 84px); bottom: 22px; display: flex; align-items: center; gap: 22px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { position: relative; width: 38px; height: 2px; background: var(--line); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.replay, .skip-intro {
  border: 1.5px solid var(--ink); background: var(--paper); border-radius: 999px; cursor: pointer;
  font-size: 12.5px; font-weight: 700; padding: 8px 14px;
}
.replay::before { content: "↻ "; }
.skip-intro { position: absolute; z-index: 4; right: 18px; bottom: 18px; }
.skip-intro:hover, .replay:hover { background: var(--ink); color: var(--paper); }

/* before the intro starts (and the failsafe, if scripts never arrive) */
html.intro .scene, html.intro .hero-copy > *, html.intro .site-header > *, html.intro .hero-foot {
  opacity: 0; animation: failsafe 0s 4s forwards;
}
@keyframes failsafe { to { opacity: 1; } }

/* portrait screens: the drawing on top, the name underneath it, like the poster */
@media (max-width: 899px), (max-aspect-ratio: 5 / 4) {
  .hero { height: auto; min-height: calc(100svh - var(--bar-h) - var(--storm-h) - var(--head-h)); display: flex; flex-direction: column; padding-bottom: 72px; }
  .scene-wrap { position: relative; align-self: flex-end; width: min(100%, calc((100svh - var(--bar-h) - var(--head-h)) * .54)); height: auto; flex: none; margin-top: 58px; }
  .scene { height: auto; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%); mask-image: linear-gradient(to right, transparent, #000 10%); }
  .rain-hero { position: absolute; }
  .hero-copy { position: relative; left: auto; bottom: auto; width: 100%; padding: 0 var(--gut); margin-top: -6px; text-align: center; }
  .hero-eyebrow { display: none; }
  .lockup { width: min(440px, 88%); margin: 0 auto; }
  .hero-tagline { margin: 20px auto 0; }
  .hero-ctas { justify-content: center; margin-top: 22px; }
  .hero-foot { left: var(--gut); bottom: 18px; white-space: nowrap; }
  .hero-foot .scroll-cue { display: none; }
}
@media (max-width: 899px) and (min-aspect-ratio: 5 / 4) {
  .scene-wrap { width: min(100%, calc((100svh - var(--bar-h) - var(--head-h)) * .64)); }
}

/* ---- 02 massive type -------------------------------------------------------------------- */
.big { position: relative; padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 130px); overflow: hidden; }
.big-lines {
  display: block; font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(100px, 23vw, 380px); line-height: .8; letter-spacing: -.005em;
}
.big-line { display: block; white-space: nowrap; padding: 0 var(--gut); }
.big-line > span { display: inline-block; will-change: transform; }
.big-line b { color: var(--orange); font-weight: inherit; }
.big-line:nth-child(2) { text-align: right; }
.big-line:nth-child(2) > span { color: transparent; -webkit-text-stroke: clamp(1.5px, .3vw, 4px) var(--ink); }
.big-line:nth-child(2) b { -webkit-text-stroke: 0; }
.big-line:nth-child(3) { padding-left: calc(var(--gut) + 7vw); }
.big-caption {
  max-width: 25ch; margin: clamp(26px, 4vw, 48px) var(--gut) 0 auto;
  font: italic 400 clamp(19px, 2vw, 26px)/1.35 var(--serif); color: var(--ink-2);
}
@media (min-width: 900px) { .big-caption { margin-right: max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut))); } }

/* ---- 03 caution tapes --------------------------------------------------------------------- */
.tapes { position: relative; height: clamp(240px, 27vw, 380px); overflow: hidden; }
.tape { position: absolute; left: -6%; right: -6%; top: 50%; overflow: hidden; }
.tape-caution {
  z-index: 2; background: var(--orange); color: var(--black); padding: clamp(18px, 2.2vw, 26px) 0;
  transform: translateY(-64%) rotate(-3.2deg); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6);
}
.tape-caution::before, .tape-caution::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--black) 0 10px, transparent 10px 20px); }
.tape-caution::before { top: 0; }
.tape-caution::after { bottom: 0; }
.tape-ink { background: var(--black); color: var(--white); padding: clamp(14px, 1.8vw, 22px) 0; transform: translateY(-36%) rotate(2.6deg); }
.tape-track {
  display: inline-flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); white-space: nowrap; will-change: transform;
  font-weight: 880; font-stretch: 70%; text-transform: uppercase; font-size: clamp(26px, 4.2vw, 58px); line-height: 1;
}
.tape-track i { font-style: normal; font-size: .5em; }
.tape-ink .tape-track { font-size: clamp(20px, 3vw, 40px); font-stretch: 100%; font-weight: 750; letter-spacing: .04em; }
.tape-ink .tape-track i { color: var(--orange); }

/* ---- 04 rotating headline (blueprint) ------------------------------------------------------- */
.rotator {
  position: relative; text-align: center; padding: clamp(110px, 14vw, 190px) var(--gut);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(40, 96, 150, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 96, 150, .13) 1px, transparent 1px),
    linear-gradient(rgba(40, 96, 150, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 96, 150, .06) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: center;
}
html[data-theme="night"] .rotator { background-image: linear-gradient(rgba(110, 170, 230, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 170, 230, .14) 1px, transparent 1px), linear-gradient(rgba(110, 170, 230, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 170, 230, .06) 1px, transparent 1px); }
.rotator-line { font-weight: 850; font-stretch: 72%; font-size: clamp(44px, 7.4vw, 112px); line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; }
.rotator-lead { display: block; }
.rotator-slot { position: relative; display: inline-grid; vertical-align: top; color: var(--orange-ink); font: italic 500 1em/1.02 var(--serif); text-transform: none; letter-spacing: -.02em; }
.rotator-word { grid-area: 1 / 1; white-space: nowrap; padding: 0 .06em; }
html.js .rotator-slot { overflow: hidden; height: 1.2em; transition: width .5s var(--ease); }
html.js .rotator-word { opacity: 0; transform: translateY(105%); }
html.js .rotator-word.is-on { opacity: 1; transform: none; }
html.reduce .rotator-word { transform: none; }
.rotator-sub { margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }

/* ---- 05 tilt cards ----------------------------------------------------------------------- */
.services { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.tilt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); perspective: 1100px; }
@media (max-width: 980px) { .tilt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tilt-grid { grid-template-columns: 1fr; } }
.tilt-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 30px 28px 26px; border-radius: 18px; border: 1.5px solid var(--ink);
  background: var(--card); box-shadow: 6px 6px 0 var(--hard);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.tilt-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.7), transparent 46%);
  mix-blend-mode: soft-light; transition: opacity .3s;
}
.tilt-card.is-tilting { transition: transform .08s linear, box-shadow .3s; box-shadow: 12px 14px 0 var(--hard); }
.tilt-card.is-tilting::after { opacity: 1; }
.tilt-card .icon {
  width: 58px; height: 58px; padding: 14px; border-radius: 14px; color: var(--black); background: var(--orange);
  border: 1.5px solid var(--black); transform: translateZ(40px); margin-bottom: 6px;
}
.tilt-card h3 { font-weight: 800; font-size: 23px; line-height: 1.15; font-stretch: 90%; transform: translateZ(26px); }
.tilt-card p { color: var(--ink-2); font-size: 16px; transform: translateZ(16px); }
.price-from { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 14px; }
.price-from b { font-weight: 850; font-stretch: 85%; font-size: 26px; color: var(--orange-ink); margin: 0 2px; }

/* ---- 06 shingle color visualizer ------------------------------------------------------------ */
.colors {
  position: relative; padding: clamp(90px, 11vw, 150px) 0;
  background: linear-gradient(180deg, #dce8f1 0%, #eef2f1 55%, var(--paper) 100%);
}
html[data-theme="night"] .colors { background: linear-gradient(180deg, #1a2433 0%, #172028 55%, var(--paper) 100%); }
.colors-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.colors-grid .section-head { grid-column: 1 / -1; margin-bottom: 8px; }
@media (max-width: 900px) { .colors-grid { grid-template-columns: 1fr; } }
.viz { position: relative; }
.viz-svg {
  width: 100%; height: auto; border-radius: 22px; border: 1.5px solid var(--black);
  background: linear-gradient(180deg, #bcd6ea 0%, #dfeaf0 70%, #eef1e8 100%); box-shadow: 8px 8px 0 var(--hard);
  --a1: #3d4146; --a2: #555a60; --a3: #2a2d31; --b1: #3d4146; --b2: #555a60; --b3: #2a2d31;
  --siding: #f4f2ec; --siding-line: #d6d2c7; --trim: #fbfaf6; --shutter: #2a2f35; --door: #9b3a24; --vz-ink: #1b1c1f;
}
html[data-theme="night"] .viz-svg { background: linear-gradient(180deg, #2a3a52 0%, #46556a 70%, #5a6560 100%); }
.viz-svg * { transition: fill .6s ease, stroke .6s ease; }
.viz-svg pattern * { transition: none; }
.vz-shingle-a .t1 { fill: var(--a1); } .vz-shingle-a .t2 { fill: var(--a2); } .vz-shingle-a .t3 { fill: var(--a3); }
.vz-shingle-b .t1 { fill: var(--b1); } .vz-shingle-b .t2 { fill: var(--b2); } .vz-shingle-b .t3 { fill: var(--b3); }
.sh-line { fill: none; stroke: rgba(0, 0, 0, .38); stroke-width: 1.1; }
.vz-roof-fill-a { fill: url(#vz-shingle-a); stroke: var(--vz-ink); stroke-width: 2; stroke-linejoin: round; }
.vz-roof-fill-b { fill: url(#vz-shingle-b); stroke: var(--vz-ink); stroke-width: 2; stroke-linejoin: round; }
.vz-ridge { fill: var(--a3); stroke: var(--vz-ink); stroke-width: 1.5; }
.vz-ground { fill: #9db27f; }
html[data-theme="night"] .vz-ground { fill: #4d5d43; }
.vz-walk { fill: #d9d3c5; stroke: var(--vz-ink); stroke-width: 1.5; }
.vz-trunk { fill: #6d503b; stroke: var(--vz-ink); stroke-width: 1.8; }
.vz-canopy { fill: #6f8f59; stroke: var(--vz-ink); stroke-width: 2; }
.vz-body { fill: url(#vz-siding); stroke: var(--vz-ink); stroke-width: 2; }
.vz-sid { fill: var(--siding); }
.vz-sid-line { stroke: var(--siding-line); stroke-width: 1.3; fill: none; }
.vz-found { fill: #a29d96; stroke: var(--vz-ink); stroke-width: 1.5; }
.vz-trim, .vz-frame { fill: var(--trim); stroke: var(--vz-ink); stroke-width: 1.5; }
.vz-shutter { fill: var(--shutter); stroke: var(--vz-ink); stroke-width: 1.2; }
.vz-glass { fill: #44535f; }
.vz-mullion { fill: none; stroke: var(--trim); stroke-width: 3; }
.vz-door-fill { fill: var(--door); stroke: var(--vz-ink); stroke-width: 1.5; }
.vz-door .vz-mullion { stroke: rgba(0, 0, 0, .3); stroke-width: 1.5; }
.vz-knob { fill: #d9b45a; }
.vz-hedge path { fill: #50703f; stroke: var(--vz-ink); stroke-width: 1.8; }
.vz-rake { fill: none; stroke: var(--trim); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.vz-chimney rect { fill: #a9553a; stroke: var(--vz-ink); stroke-width: 1.8; }
.vz-chimney .vz-cap { fill: #6c6764; }
.vz-brick { fill: none; stroke: #e2c3b0; stroke-width: 1.4; }
.vz-gutter { fill: var(--trim); stroke: var(--vz-ink); stroke-width: 1.2; }
.viz-readout { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.viz-readout b { color: var(--ink); }
.viz-controls { display: grid; gap: 22px; }
.viz-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.viz-set legend { padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sw-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; }
.sw-row-sm { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sw { position: relative; display: block; cursor: pointer; text-align: center; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw span { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; line-height: 1.2; }
.sw span::before {
  content: ""; width: 54px; height: 54px; max-width: 100%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid var(--black); box-shadow: 0 0 0 0 var(--orange);
  background: var(--sw, #888); transition: box-shadow .25s, transform .25s var(--ease);
}
.sw:hover span::before { transform: scale(1.06); }
.sw input:checked + span::before { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--orange); }
.sw input:focus-visible + span::before { outline: 2.5px solid var(--ink); outline-offset: 7px; }
.sw[data-sh] span::before { background-image: repeating-linear-gradient(180deg, transparent 0 9px, rgba(0,0,0,.28) 9px 10px), linear-gradient(135deg, var(--c2) 0 30%, var(--c1) 30% 64%, var(--c3) 64%); }
.sw[data-sh="charcoal"] { --c1: #3d4146; --c2: #555a60; --c3: #2a2d31; }
.sw[data-sh="slate"] { --c1: #5f666e; --c2: #79818a; --c3: #474d54; }
.sw[data-sh="driftwood"] { --c1: #7a6f63; --c2: #93877a; --c3: #5e554b; }
.sw[data-sh="hickory"] { --c1: #6b4a33; --c2: #845d42; --c3: #4f3524; }
.sw[data-sh="pewter"] { --c1: #8a8d8f; --c2: #a3a6a8; --c3: #6f7274; }
.sw[data-sh="harbor"] { --c1: #3e5468; --c2: #556d83; --c3: #2c3e4f; }
.sw[data-sh="hunter"] { --c1: #3c5543; --c2: #536e59; --c3: #2a3d30; }
.sw[data-sh="barn"] { --c1: #7a3328; --c2: #93463a; --c3: #5a241c; }
.sw[data-sd="white"] { --sw: #f4f2ec; } .sw[data-sd="gray"] { --sw: #b8bcbf; } .sw[data-sd="navy"] { --sw: #2f3e52; }
.sw[data-sd="sage"] { --sw: #a9b59a; } .sw[data-sd="butter"] { --sw: #efdca0; }
.sw[data-tr="white"] { --sw: #fbfaf6; } .sw[data-tr="black"] { --sw: #1f2124; }
@media (max-width: 520px) { .sw-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sw-row-sm { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sw span::before { width: 46px; height: 46px; } .sw span { font-size: 11.5px; } }

/* ---- 07 editorial --------------------------------------------------------------------------- */
.story {
  position: relative; padding: clamp(100px, 12vw, 170px) 0;
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 34px; background-position: 0 30px;
}
.story-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); }
.story-kicker {
  grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; margin-bottom: clamp(24px, 3vw, 40px); border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
  font-size: 12px; font-weight: 750; letter-spacing: .24em; text-transform: uppercase;
}
.story-kicker span { color: var(--muted); }
.story-title { grid-column: 1 / span 9; font: 400 clamp(38px, 5.6vw, 76px)/1.02 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.03em; }
.story-body {
  grid-column: 1 / span 8; margin-top: clamp(30px, 4vw, 54px); columns: 2; column-gap: clamp(22px, 3vw, 40px);
  font: 400 17.5px/1.7 var(--serif); font-variation-settings: "opsz" 14; color: var(--ink-2);
}
.story-body p + p { margin-top: 1em; text-indent: 1.4em; }
.dropcap::first-letter { float: left; font: 600 4.9em/.78 var(--serif); font-variation-settings: "opsz" 144; color: var(--orange); margin: .05em .1em 0 -.02em; }
.story-quote { grid-column: 10 / span 3; align-self: end; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.story-quote p { font: italic 400 clamp(22px, 2.2vw, 30px)/1.25 var(--serif); }
.signature { display: inline-block; margin-top: 12px; font: 700 46px/1 var(--hand); color: var(--orange-ink); transform: rotate(-5deg); }
.signature::before { content: "— "; }
@media (max-width: 900px) { .story-title, .story-body, .story-quote { grid-column: 1 / -1; } .story-quote { margin-top: 36px; } }
@media (max-width: 620px) { .story-body { columns: 1; } .story-kicker span { display: none; } }

/* ---- 08 exploded roof (pinned) ------------------------------------------------------------- */
.layers { position: relative; background: var(--slate); color: var(--on-slate); }
.layers .kicker { color: var(--orange-on-slate); }
.layers-pin { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(20px, 4vw, 60px); max-width: 1280px; margin: 0 auto; padding: clamp(90px, 11vw, 140px) var(--gut); }
.layers-copy h2 { font-weight: 820; font-stretch: 78%; font-size: clamp(38px, 5vw, 66px); line-height: .96; margin-bottom: 28px; }
.layer-steps { list-style: none; padding: 0; display: grid; gap: 4px; }
.layer-steps li { position: relative; padding: 10px 0 10px 48px; border-top: 1px solid rgba(236,234,228,.12); transition: opacity .4s, color .4s; }
.layer-steps li::before { content: attr(data-n); position: absolute; left: 0; top: 12px; font-weight: 850; font-stretch: 75%; font-size: 18px; color: var(--orange-on-slate); }
.layer-steps b { display: block; font-weight: 750; font-size: 18px; line-height: 1.3; }
.layer-steps span { display: block; font-size: 15px; color: var(--on-slate-2); line-height: 1.45; }
.layers-art { position: relative; }
.an-svg { width: 100%; height: auto; overflow: visible; }
.an-svg polygon { stroke: #0e0f11; stroke-width: 1; stroke-linejoin: round; }
.an-deck { fill: #d9b58a; } .an-deck-side, .an-deck-side2 { fill: #ad865a; }
.an-seam { stroke: #8f6c45; stroke-width: 1.4; }
.an-drip { fill: #d3d8dc; } .an-drip-side, .an-drip-side2 { fill: #a9b0b6; }
.an-ice { fill: #2d3034; } .an-ice-side, .an-ice-side2 { fill: #1c1e21; } .an-sheen { stroke: #4b5056; stroke-width: 1.4; }
.an-under { fill: #e8edf0; } .an-under-side, .an-under-side2 { fill: #c3cad0; } .an-print { stroke: #9cb0bf; stroke-width: 1.2; }
.an-starter { fill: #5b6067; } .an-starter-side, .an-starter-side2 { fill: #3c4046; }
.an-sh0 { fill: #7b8188; } .an-sh1 { fill: #6c7279; } .an-sh2 { fill: #878d94; }
.an-sh0-side, .an-sh1-side, .an-sh2-side, .an-sh0-side2, .an-sh1-side2, .an-sh2-side2 { fill: #454a50; }
.an-tab { stroke: #3a3e43; stroke-width: 1.3; }
.an-ridge { fill: #575d64; } .an-ridge-side, .an-ridge-side2 { fill: #3c4147; } .an-vent { stroke: #2c3035; stroke-width: 1.2; }
.layers-art::before { content: ""; position: absolute; inset: 0 -10% -5%; background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent); pointer-events: none; }
/* static (no script / reduced motion): the layers drawn apart, bottom to top */
.an-layer:nth-of-type(2) { transform: translateY(-34px); }
.an-layer:nth-of-type(3) { transform: translateY(-68px); }
.an-layer:nth-of-type(4) { transform: translateY(-102px); }
.an-layer:nth-of-type(5) { transform: translateY(-136px); }
.an-layer:nth-of-type(6) { transform: translateY(-170px); }
.an-layer:nth-of-type(7) { transform: translateY(-204px); }

.layers-progress { display: none; }
/* pinned (script): one layer per step */
.layers.is-pinned .layers-pin { height: 100svh; padding-top: calc(var(--head-h) + 20px); padding-bottom: 30px; }
.layers.is-pinned .an-svg { padding-top: 0; }
.layers.is-pinned .an-layer { transform: none; }
.layers.is-pinned .layer-steps li { opacity: .32; }
.layers.is-pinned .layer-steps li.is-done { opacity: .62; }
.layers.is-pinned .layer-steps li.is-on { opacity: 1; }
.layers.is-pinned .layer-steps li.is-on b { color: var(--orange-on-slate); }
.layers.is-pinned .layers-progress { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; height: 3px; background: rgba(236,234,228,.14); }
.layers-progress span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .layers-pin { grid-template-columns: 1fr; }
  .layers.is-pinned .layers-pin { align-content: center; gap: 6px; }
  .layers.is-pinned .layers-art { order: -1; width: min(100%, 52svh); margin: 0 auto; }
  .layers.is-pinned .layers-copy h2 { font-size: clamp(30px, 8vw, 44px); margin-bottom: 10px; }
  .layers.is-pinned .layer-steps li { display: none; padding-top: 6px; border: 0; }
  .layers.is-pinned .layer-steps li.is-on { display: block; }
}

/* ---- 09 hotspots ---------------------------------------------------------------------------- */
.leaks { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.leaks .wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 52px); align-items: start; }
.leaks .section-head { grid-column: 1 / -1; }
@media (max-width: 900px) { .leaks .wrap { grid-template-columns: 1fr; } }
.hs-stage { position: relative; border-radius: 22px; border: 1.5px solid var(--black); overflow: hidden; background: linear-gradient(180deg, #d7e6f0, #f1f3ef 70%); box-shadow: 8px 8px 0 var(--hard); }
.hs-svg { width: 100%; height: auto; }
.hs-svg polygon, .hs-svg polyline { stroke: #16171a; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.hh-wall { fill: #fbfaf6; } .hh-side { fill: #e4e1d9; }
.hh-roof { fill: #8a8e93; }
.rs-course, .hh-course { fill: none; stroke-width: 1 !important; opacity: .45; }
.hh-valley { fill: none; stroke-width: 2.6 !important; }
.hh-brick { fill: #b5583a; } .hh-brick-side { fill: #8f4128; } .hh-brick-top { fill: #6d311f; }
.hh-mortar { fill: none; stroke: #e9d3c2 !important; stroke-width: 1.2 !important; }
.hh-flash { fill: none; stroke: #c9ced3 !important; stroke-width: 5 !important; }
.hh-sky { fill: #9db7c9; } .hh-skyframe { fill: none; stroke-width: 3 !important; }
.hh-glint { fill: none; stroke: #fff !important; stroke-width: 3 !important; }
.hh-pipe { fill: #d9d9d6; } .hh-boot { fill: #2b2d30; } .hh-hole { fill: #1c1d1f; } .hh-lifted { fill: #a7abb0; }
.hh-gutter, .hh-spout { fill: #f2f1ed; }
.hh-ice { fill: #dff1fb; } .hh-icicle { fill: #e8f6fd; }
.hh-detail { fill: none; stroke-width: 1.6 !important; }
.hs-dot {
  position: absolute; z-index: 2; width: 38px; height: 38px; margin: -19px 0 0 -19px; padding: 0; border-radius: 50%;
  border: 2px solid var(--black); background: var(--orange); color: var(--black); cursor: pointer;
  font: 850 16px/1 var(--sans); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6);
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.hs-dot::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2.4s var(--ease) infinite; pointer-events: none; }
.hs-dot:nth-of-type(2n)::before { animation-delay: .6s; }
.hs-dot:nth-of-type(3n)::before { animation-delay: 1.2s; }
.hs-dot:hover { transform: scale(1.12); }
.hs-dot[aria-expanded="true"] { background: var(--black); color: var(--orange); transform: scale(1.12); }
.hs-dot[aria-expanded="true"]::before { animation: none; opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.1); opacity: 0; } }
@media (max-width: 600px) { .hs-dot { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 13px; } }
/* figures:leaks */
.hs-dot[data-hs="chimney"] { left: 22.4%; top: 29.4%; }
.hs-dot[data-hs="valley"] { left: 68.6%; top: 37.1%; }
.hs-dot[data-hs="vent"] { left: 46.9%; top: 19.4%; }
.hs-dot[data-hs="skylight"] { left: 34.2%; top: 34.3%; }
.hs-dot[data-hs="ice"] { left: 13.8%; top: 48.0%; }
.hs-dot[data-hs="shingles"] { left: 78.4%; top: 33.3%; }
.hs-dot[data-hs="gutter"] { left: 66.3%; top: 56.2%; }
/* /figures:leaks */
.hs-card { margin-top: 0; }
@media (max-width: 900px) { .hs-card { margin-top: 26px; } }
.hs-list { list-style: none; padding: 0; counter-reset: hs; display: grid; gap: 0; }
.hs-list li { position: relative; padding: 14px 0 14px 46px; border-top: 1.5px solid var(--ink); counter-increment: hs; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.hs-list li:last-child { border-bottom: 1.5px solid var(--ink); }
.hs-list li::before { content: counter(hs); position: absolute; left: 0; top: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--black); border: 1.5px solid var(--black); font-weight: 850; font-size: 14px; }
.hs-list b { display: block; color: var(--ink); font-size: 17px; font-weight: 780; }
html.js .hs-list li { cursor: pointer; }
html.js .hs-list li:not(.is-on) { color: transparent; max-height: 58px; overflow: hidden; }
html.js .hs-list li:not(.is-on) b { color: var(--ink); }
html.js .hs-list li.is-on { background: var(--card); padding-right: 14px; }
html.js .hs-list li.is-on::before { background: var(--black); color: var(--orange); }

/* ---- 10 attic flashlight ------------------------------------------------------------------- */
.attic { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: #0d0e10; color: var(--on-slate); }
.attic .kicker { color: var(--orange-on-slate); }
.attic .lede { color: var(--on-slate-2); }
.attic-stage { position: relative; border-radius: 22px; overflow: hidden; border: 1.5px solid #2c3036; touch-action: pan-y; cursor: none; --x: 50%; --y: 40%; --r: clamp(90px, 13vw, 150px); }
.attic-svg { width: 100%; height: auto; background: #2a2622; }
.at-plane { fill: #6b5a46; } .at-plane-r { fill: #5d4e3d; } .at-floor { fill: #4a3f33; } .at-gable { fill: #57493a; }
.at-board { stroke: #3e3226; stroke-width: 1.4; } .at-joist { stroke: #3a2f25; stroke-width: 3; }
.at-fluff { fill: #e9b9a6; stroke: #b98572; stroke-width: 1; }
.at-rafter { fill: none; stroke: #8c7356; stroke-linejoin: round; }
.at-collar { stroke: #8c7356; stroke-width: 8; } .at-ridge { stroke: #8c7356; stroke-width: 10; }
.at-vent { fill: #fff7d6; } .at-slat { stroke: #6b5a46; stroke-width: 3; }
.at-stain ellipse { fill: none; stroke: #3a2412; stroke-width: 4; opacity: .8; }
.at-stain ellipse:first-child { fill: rgba(60, 35, 15, .35); }
.at-day { stroke: #fffbe6; stroke-width: 3; }
.at-wet ellipse { fill: #6d4a3b; }
.at-nails circle { fill: #eef6ff; stroke: #9fb2c5; }
.at-mold circle { fill: #26301f; }
.attic-dark {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(6, 6, 7, .955);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0, transparent 52%, rgba(0,0,0,.6) 78%, #000 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0, transparent 52%, rgba(0,0,0,.6) 78%, #000 100%);
  transition: opacity .8s ease;
}
.attic-stage.is-lit .attic-dark { opacity: 0; }
.attic-stage.is-lit { cursor: default; }
.finds { list-style: none; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.find { position: absolute; width: 0; height: 0; }
/* figures:attic */
.find[data-find="stain"] { left: 32.0%; top: 51.0%; }
.find[data-find="daylight"] { left: 50.0%; top: 19.9%; }
.find[data-find="wet"] { left: 70.3%; top: 91.3%; }
.find[data-find="nails"] { left: 69.2%; top: 54.9%; }
.find[data-find="mold"] { left: 30.9%; top: 68.1%; }
/* /figures:attic */
.find-ring { position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; border: 2.5px dashed var(--orange); opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s var(--ease); }
.find-label {
  position: absolute; left: 40px; top: -22px; width: max-content; max-width: 220px; padding: 8px 11px; border-radius: 10px;
  background: var(--white); color: var(--black); font-size: 13px; line-height: 1.35; box-shadow: 4px 4px 0 var(--orange);
  opacity: 0; transform: translateY(6px); transition: opacity .4s .1s, transform .5s var(--ease) .1s;
}
.find-label b { display: block; font-size: 14px; }
.find[data-find="nails"] .find-label, .find[data-find="wet"] .find-label { left: auto; right: 40px; }
.find[data-find="wet"] .find-label { top: -72px; }
.find.is-found .find-ring, .find.is-found .find-label { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .find-label { max-width: 150px; font-size: 12px; padding: 6px 8px; }
  .find-label b { font-size: 12.5px; }
  .find-ring { left: -24px; top: -24px; width: 48px; height: 48px; }
  .find-label { left: 28px; }
  .find[data-find="nails"] .find-label, .find[data-find="wet"] .find-label { right: 28px; }
}
.attic-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.attic-count { font-size: 18px; font-weight: 650; }
.attic-count b { color: var(--orange-on-slate); font-size: 24px; }
.btn-ghost-light { border-color: var(--on-slate); color: var(--on-slate); }
.btn-ghost-light:hover { background: var(--on-slate); color: var(--black); }

/* ---- 11 scroll-scrubbed reading ----------------------------------------------------------- */
.promise { position: relative; padding: clamp(110px, 14vw, 200px) 0; }
.promise-text { font: 400 clamp(30px, 4.6vw, 64px)/1.16 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.02em; max-width: 24ch; }
.promise-text em { color: var(--orange-ink); }
.promise-text .word { opacity: .14; }
html.reduce .promise-text .word { opacity: 1; }

/* ---- 12 before / after --------------------------------------------------------------------- */
.results { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.compare {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; --pos: 50%;
  border: 1.5px solid var(--black); box-shadow: 8px 8px 0 var(--hard); background: #cfd8de; user-select: none; touch-action: pan-y; cursor: ew-resize;
}
@media (max-width: 700px) { .compare { aspect-ratio: 4 / 5; } }
.ba { position: absolute; inset: 0; }
.ba-before { z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-svg { width: 100%; height: 100%; }
.ba-label {
  position: absolute; z-index: 4; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--black); color: var(--white); font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
}
.ba-after .ba-label { right: 16px; background: var(--orange); color: var(--black); border: 1.5px solid var(--black); }
.ba-before .ba-label { left: 16px; }
.compare-handle { position: absolute; z-index: 5; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--white); box-shadow: 0 0 0 1.5px var(--black); }
.compare-handle span {
  position: absolute; top: 50%; left: 0; width: 56px; height: 56px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--orange); border: 2px solid var(--black); box-shadow: 0 10px 20px -8px rgba(0,0,0,.5);
}
.compare-handle span::before, .compare-handle span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border: solid var(--black); border-width: 0 0 2.5px 2.5px; }
.compare-handle span::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.compare-handle span::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.compare-range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.compare-range:focus-visible) .compare-handle span { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---- 13 roof styles (horizontal) ------------------------------------------------------------ */
.styles {
  position: relative;
  background-color: var(--paper);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.styles-pin { padding: clamp(90px, 11vw, 140px) 0; overflow: hidden; }
.styles-head { padding: 0 var(--gut); max-width: 1200px; margin: 0 auto 40px; }
.styles-head h2 { font-weight: 900; font-stretch: 64%; text-transform: uppercase; font-size: clamp(46px, 6.2vw, 96px); line-height: .86; max-width: 14ch; }
.styles-track { display: flex; gap: 22px; padding: 0 var(--gut) 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rs-card {
  flex: none; width: clamp(270px, 26vw, 350px); scroll-snap-align: start;
  padding: 16px 20px 22px; border-radius: 20px; border: 1.5px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--hard);
}
.rs-art { border-radius: 12px; background: #f3f1ea; border: 1px solid var(--line); margin-bottom: 14px; }
html[data-theme="night"] .rs-art { background: #e9e6dd; }
.rs-svg { width: 100%; height: auto; }
.rs-svg polygon, .rs-svg polyline { stroke: #16171a; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.rs-wall { fill: #fffdf8; } .rs-side { fill: #e3e0d8; } .rs-roof { fill: #cdc7bb; } .rs-top { fill: #d8d3c8; } .rs-dormer { fill: #fffdf8; }
.rs-chimney { fill: #c8653c; } .rs-chimney-side { fill: #9c4a2a; }
.rs-unit { fill: #eeece6; } .rs-unit-side { fill: #cfccc4; } .rs-unit-top { fill: #dfdcd4; }
.rs-lines polyline { fill: none; }
.rs-detail { stroke-width: 1.4 !important; }
.rs-card h3 { font-weight: 850; font-stretch: 80%; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.rs-card p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
/* drawn on as the card scrolls in */
html.js:not(.reduce) .rs-card .rs-svg polygon, html.js:not(.reduce) .rs-card .rs-svg polyline { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 1.3s var(--ease), fill-opacity .6s ease .9s; }
html.js:not(.reduce) .rs-card.is-drawn .rs-svg polygon, html.js:not(.reduce) .rs-card.is-drawn .rs-svg polyline { stroke-dashoffset: 0; fill-opacity: 1; }
.styles-progress { display: none; }
.styles.is-pinned .styles-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: var(--head-h) 0 40px; }
.styles.is-pinned .styles-head { margin-bottom: clamp(18px, 3vh, 36px); }
.styles.is-pinned .styles-track { overflow: visible; width: max-content; padding-bottom: 0; will-change: transform; }
.styles.is-pinned .styles-progress { display: block; position: absolute; left: var(--gut); right: var(--gut); bottom: 30px; height: 3px; background: var(--line); }
.styles-progress span { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
@media (max-height: 720px) { .rs-card { width: clamp(240px, 22vw, 290px); } .rs-card p { display: none; } }

/* ---- 14 stacking cards ---------------------------------------------------------------------- */
.process { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--slate); color: var(--on-slate); }
.process .kicker { color: var(--orange-on-slate); }
.process .lede { color: var(--on-slate-2); }
.process-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.process-head { position: sticky; top: calc(var(--head-h) + 40px); }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } .process-head { position: static; } }
.stack { list-style: none; padding: 0 0 40px; display: grid; gap: 26px; }
.stack-card {
  position: sticky; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start;
  padding: 26px 26px 28px; border-radius: 18px; border: 1.5px solid var(--black);
  background: var(--white); color: var(--black); min-height: 200px;
  box-shadow: 0 -14px 30px -18px rgba(0,0,0,.8), 6px 6px 0 var(--orange);
  transform-origin: 50% 0;
}
.stack-card:nth-child(1) { top: calc(var(--head-h) + 30px); }
.stack-card:nth-child(2) { top: calc(var(--head-h) + 46px); }
.stack-card:nth-child(3) { top: calc(var(--head-h) + 62px); }
.stack-card:nth-child(4) { top: calc(var(--head-h) + 78px); }
.stack-card:nth-child(5) { top: calc(var(--head-h) + 94px); }
.stack-card:nth-child(6) { top: calc(var(--head-h) + 110px); }
.stack-card:nth-child(even) { background: #ece8de; }
.stack-no { grid-row: 1 / span 3; font-weight: 900; font-stretch: 62%; font-size: 64px; line-height: .85; color: var(--orange); -webkit-text-stroke: 1.5px var(--black); }
.stack-card .icon { width: 30px; height: 30px; color: var(--black); }
.stack-card h3 { font-weight: 850; font-stretch: 85%; font-size: 25px; line-height: 1.1; }
.stack-card p { font-size: 16px; color: #3c3e43; }

/* ---- 15 flip cards ---------------------------------------------------------------------------- */
.why { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.flip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .flip-grid { grid-template-columns: 1fr; } }
.flip { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1000px; text-align: left; }
@media (max-width: 460px) { .flip { aspect-ratio: 5 / 3; } }
.flip-inner { position: absolute; inset: 0; display: block; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
.flip-front, .flip-back {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px; border-radius: 18px; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip-front { background: var(--card); border: 1.5px solid var(--ink); transform: rotateY(0deg); }
/* swap faces at the halfway point too, in case a renderer draws the card flat */
.flip-front, .flip-back { transition: opacity 0s linear .2s; }
.flip-back { opacity: 0; }
.flip[aria-pressed="true"] .flip-back { opacity: 1; }
.flip[aria-pressed="true"] .flip-front { opacity: 0; }
@media (hover: hover) { .flip:hover .flip-back { opacity: 1; } .flip:hover .flip-front { opacity: 0; } }
.flip-front .icon { width: 46px; height: 46px; color: var(--orange-ink); }
.flip-front b { font-weight: 850; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.08; font-stretch: 85%; }
.flip-back { transform: rotateY(180deg); background: var(--orange); color: var(--black); border: 1.5px solid var(--black); justify-content: flex-end; font: 400 clamp(19px, 1.8vw, 22px)/1.35 var(--serif); }

/* ---- 16 counters ---------------------------------------------------------------------------- */
.numbers { position: relative; padding: clamp(100px, 12vw, 160px) 0; background: var(--black); color: var(--white); }
html[data-theme="night"] .numbers { background: #08090a; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 760px) { .numbers-grid { grid-template-columns: 1fr; gap: 44px; } }
.num { border-top: 1px solid rgba(246,244,239,.25); padding-top: 22px; }
.num-val { display: block; font-weight: 900; font-stretch: 62%; font-size: clamp(120px, 16vw, 230px); line-height: .84; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.num:last-child .num-val { color: var(--orange); }
.num-unit { display: block; margin-top: 10px; font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .14em; font-size: 15px; }
.num p { margin-top: 6px; font: italic 400 19px/1.4 var(--serif); color: #cbc6bb; }

/* ---- 17 reviews ---------------------------------------------------------------------------------- */
.reviews { position: relative; padding: clamp(90px, 11vw, 150px) 0; overflow: hidden; }
.rv-head { display: grid; grid-template-columns: 1fr auto; align-items: end; max-width: none; column-gap: 20px; }
.rv-head .kicker, .rv-head h2 { grid-column: 1; }
.rv-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; }
.rv-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--card); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.rv-nav button:hover { background: var(--ink); color: var(--paper); }
.rv-nav svg { width: 22px; height: 22px; }
.rv-prev svg { transform: scaleX(-1); }
.rv-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 26px; scroll-padding-left: max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut))); }
.rv-viewport::-webkit-scrollbar { display: none; }
.rv-track { list-style: none; display: flex; gap: 20px; padding: 0 max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut))); width: max-content; }
.rv-card {
  flex: none; width: min(380px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px;
  padding: 26px 26px 24px; border-radius: 18px; border: 1.5px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--hard);
}
.stars { display: flex; gap: 4px; }
.stars i { width: 20px; height: 20px; background: var(--orange); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 6 6.5.7-4.9 4.4 1.4 6.4L12 17l-5.8 3.3 1.4-6.4-4.9-4.4 6.5-.7z'/%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 24 24'%3E%3Cpath d='M12 2.8l2.8 6 6.5.7-4.9 4.4 1.4 6.4L12 17l-5.8 3.3 1.4-6.4-4.9-4.4 6.5-.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.stars i.off { background: var(--line-2); }
html.js .rv-card .stars i { transform: scale(0); transition: transform .45s var(--ease); }
html.js .rv-card.is-seen .stars i { transform: none; }
.rv-card.is-seen .stars i:nth-child(2) { transition-delay: .07s; }
.rv-card.is-seen .stars i:nth-child(3) { transition-delay: .14s; }
.rv-card.is-seen .stars i:nth-child(4) { transition-delay: .21s; }
.rv-card.is-seen .stars i:nth-child(5) { transition-delay: .28s; }
.rv-card blockquote { font: 400 clamp(19px, 1.8vw, 22px)/1.4 var(--serif); }
.rv-card blockquote::before { content: "“"; display: block; height: .55em; font-size: 3em; line-height: 1; color: var(--orange); }
.rv-who { margin-top: auto; font-size: 14px; color: var(--muted); }
.rv-who b { display: block; color: var(--ink); font-size: 15.5px; }
.rv-dots { display: flex; gap: 8px; }
.rv-dots span { width: 26px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background-color .3s, width .3s; }
.rv-dots span.is-on { width: 44px; background: var(--orange); }
.reviews .fine { margin-top: 18px; }

/* ---- 18 estimator ------------------------------------------------------------------------------- */
.estimate { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.est { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .est { grid-template-columns: 1fr; } }
.est-inputs { display: grid; gap: 26px; }
.est-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.est-field > label, .est-field > legend { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 0; margin-bottom: 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.est-field output { font-size: 22px; font-weight: 850; font-stretch: 85%; letter-spacing: 0; text-transform: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.est-hint { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--orange) var(--fill, 50%), var(--paper-3) var(--fill, 50%)); border: 1.5px solid var(--ink); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--paper-3); border: 1.5px solid var(--ink); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11.5px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--hard); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--hard); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--orange); outline-offset: 2px; }
.pitch-svg { width: min(100%, 320px); height: auto; margin-top: 10px; overflow: visible; }
.pitch-ground { stroke: var(--ink); stroke-width: 2; }
.pitch-roof { fill: color-mix(in srgb, var(--orange) 22%, transparent); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.pitch-run, .pitch-rise { stroke: var(--orange-ink); stroke-width: 2; stroke-dasharray: 5 4; fill: none; }
.pitch-label { font: 750 14px var(--sans); fill: var(--orange-ink); }
.pitch-deg { font: 850 22px var(--sans); fill: var(--ink); }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chips-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
@media (max-width: 600px) { .chips:not(.chips-2):not(.chips-3) { grid-template-columns: repeat(2, 1fr); } }
.chip input, .size input, .pill input, .mat input, .hail-pick input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 14px; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--card); font-weight: 650; font-size: 15.5px; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; text-align: center; }
.steps .chip span { justify-content: flex-start; text-align: left; }
.chip svg { width: 24px; height: 24px; flex: none; color: var(--orange-ink); }
.chip input:checked + span { background: var(--orange); border-color: var(--black); color: var(--black); }
.chip input:checked + span svg { color: var(--black); }
.chip input:focus-visible + span, .size input:focus-visible + span, .pill input:focus-visible + span, .mat input:focus-visible + span, .hail-pick input:focus-visible + span, .check input:focus-visible + span { outline: 2.5px solid var(--orange); outline-offset: 3px; }
.chip span:hover, .size span:hover, .pill span:hover, .mat span:hover { transform: translateY(-2px); }
.mat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 460px) { .mat-grid { grid-template-columns: 1fr; } }
.mat span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--ink); background: var(--card); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.mat b { font-size: 15.5px; line-height: 1.25; }
.mat small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.mat input:checked + span { background: var(--ink); color: var(--paper); }
.mat input:checked + span small { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.est-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.est-row > legend { width: 100%; }
.stepper { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); overflow: hidden; }
.stepper-label { padding: 0 14px; font-weight: 650; font-size: 15.5px; }
.step-btn { width: 44px; height: 48px; border: 0; border-left: 1.5px solid var(--ink); background: transparent; cursor: pointer; font-size: 22px; font-weight: 700; }
.step-btn:hover { background: var(--orange); color: var(--black); }
.step-val { min-width: 40px; text-align: center; font-weight: 850; font-size: 20px; border-left: 1.5px solid var(--ink); line-height: 48px; font-variant-numeric: tabular-nums; }
.check { position: relative; display: inline-flex; cursor: pointer; }
.est-field > label.check { display: inline-flex; width: auto; margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: var(--ink); }
.check span { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; font-size: 15.5px; }
.check span::before { content: ""; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--ink); background: var(--card) center / 70% no-repeat; transition: background-color .2s; }
.check input:checked + span::before { background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23141518' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.est-out {
  position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 34px); border-radius: 22px; border: 1.5px solid var(--black); background: var(--black); color: var(--white);
  box-shadow: 8px 8px 0 var(--orange);
}
.est-label { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #b6b2a8; }
.est-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-weight: 900; font-stretch: 64%; font-size: clamp(42px, 4.6vw, 62px); line-height: .95; font-variant-numeric: tabular-nums; }
.est-dash { color: var(--orange); }
.est-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 0; border-top: 1px solid rgba(246,244,239,.18); border-bottom: 1px solid rgba(246,244,239,.18); }
.est-facts dt { font-size: 11.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #a8a49a; }
.est-facts dd { font-weight: 800; font-size: 17px; }
.est-bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 12px; font-size: 13.5px; color: #d9d5cc; }
.bar-track { height: 10px; border-radius: 10px; background: rgba(246,244,239,.12); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--orange); transition: width .7s var(--ease); }
.bar-tear { background: #f4f2ec; }
.bar-extra { background: #8fa3b5; }
.est-out .btn { justify-self: start; }
.est-out .fine { margin-top: 0; color: #a8a49a; }
@media (max-width: 900px) { .est-out { position: relative; top: auto; } }

/* ---- 19 plans ------------------------------------------------------------------------------------- */
.pricing { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.bill-toggle { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper-2); }
.bill-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .3s, color .3s; }
.bill-toggle button small { font-size: 11.5px; font-weight: 800; color: var(--orange-ink); margin-left: 4px; }
.bill-toggle button.is-on { background: var(--ink); color: var(--paper); }
.bill-toggle button.is-on small { color: var(--orange); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 22px; border: 1.5px solid var(--ink); background: var(--card); }
.plan h3 { font-weight: 850; font-stretch: 85%; font-size: 27px; }
.plan-for { color: var(--muted); font-size: 15px; margin-top: 4px; }
.plan-price { display: flex; align-items: baseline; margin: 22px 0 20px; }
.plan-price .cur { font-size: 26px; font-weight: 700; align-self: flex-start; margin-top: 8px; }
.plan-price .amt { font-weight: 900; font-stretch: 68%; font-size: clamp(60px, 5.6vw, 80px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.plan-price .per { font-size: 15px; color: var(--muted); margin-left: 6px; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--black); background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.4' fill='none' stroke='%23141518' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--black); color: var(--white); border-color: var(--black); padding-top: 50px; padding-bottom: 40px; box-shadow: 10px 10px 0 var(--orange); }
.plan-featured .plan-for, .plan-featured .per { color: #c9c4b9; }
.plan-flag { position: absolute; top: -14px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--black); border: 1.5px solid var(--black); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* ---- 20 comparison table ---------------------------------------------------------------------- */
.warranty { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.table-scroll { overflow-x: auto; border-radius: 20px; border: 1.5px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--hard); }
.compare-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-weight: 850; font-stretch: 85%; font-size: 19px; text-transform: uppercase; letter-spacing: .02em; border-bottom: 1.5px solid var(--ink); }
.compare-table tbody th { text-align: left; font-weight: 650; position: sticky; left: 0; background: var(--card); }
.compare-table .col-hot { background: color-mix(in srgb, var(--orange) 16%, var(--card)); }
.compare-table thead .col-hot { background: var(--orange); color: var(--black); position: relative; }
.compare-table tbody tr { transition: background-color .2s; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background-color: color-mix(in srgb, var(--ink) 5%, var(--card)); }
.compare-table tbody tr:hover td.col-hot { background-color: color-mix(in srgb, var(--orange) 26%, var(--card)); }
.yes { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23ff5c1a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 76% no-repeat; vertical-align: middle; }
.no { color: var(--muted); font-weight: 700; }

/* ---- 21 hand-drawn ---------------------------------------------------------------------------- */
.note { position: relative; padding: clamp(100px, 12vw, 160px) 0 clamp(40px, 5vw, 70px); overflow: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.note-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 30px; }
@media (max-width: 800px) { .note-grid { grid-template-columns: 1fr; } }
.sticky-note {
  position: relative; max-width: 480px; padding: 46px 40px 40px; background: #fff8e1; color: #1b1c1f; transform: rotate(-2.4deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 24px 40px -20px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.06);
  font: 600 clamp(28px, 3.2vw, 38px)/1.2 var(--hand);
}
.sticky-note p + p { margin-top: 14px; }
.circled { position: relative; display: inline-block; color: #b53f0c; }
.scribble-circle { position: absolute; left: -26%; top: -22%; width: 152%; height: 150%; max-width: none; overflow: visible; pointer-events: none; }
.tape-strip { position: absolute; top: -14px; left: 50%; width: 130px; height: 32px; transform: translateX(-50%) rotate(3deg); background: var(--hazard); opacity: .85; }
.scribble-circle path, .scribble-arrow path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease); }
.scribble-arrow { width: min(220px, 50vw); height: auto; margin: 0 auto; overflow: visible; }
.scribble-arrow path { stroke: var(--ink); stroke-width: 2.6; }
.scribble-arrow path:last-child { transition-delay: 1s; transition-duration: .5s; }
.note.is-in .scribble-circle path, .note.is-in .scribble-arrow path, html.reduce .scribble-circle path, html.reduce .scribble-arrow path, html.no-js .scribble-circle path, html.no-js .scribble-arrow path { stroke-dashoffset: 0; }
.note.is-in .scribble-circle path { transition-delay: .5s; }
.note-side { grid-column: 1 / -1; max-width: 46ch; margin: 0 auto; text-align: center; font-size: 16px; color: var(--ink-2); }

/* ---- 22 booking ---------------------------------------------------------------------------------- */
.book { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.booker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 860px) { .booker { grid-template-columns: 1fr; } }
.cal, .slots { border-radius: 22px; border: 1.5px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--hard); padding: clamp(18px, 2.4vw, 28px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-weight: 850; font-stretch: 80%; font-size: 26px; text-transform: uppercase; }
.cal-head button { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; }
.cal-head button:hover:not([disabled]) { background: var(--ink); color: var(--paper); }
.cal-head button[disabled] { opacity: .3; cursor: default; }
.cal-head svg { width: 20px; height: 20px; }
.cal-prev svg { transform: scaleX(-1); }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow span { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); padding-bottom: 6px; }
.cal-day {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid transparent;
  background: none; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; cursor: pointer; padding: 0;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.cal-day.is-open { border-color: var(--ink); background: var(--paper); }
.cal-day.is-open:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--orange) 30%, var(--paper)); }
.cal-day.is-full { color: var(--muted); text-decoration: line-through; cursor: not-allowed; background: var(--paper-2); }
.cal-day.is-closed, .cal-day.is-past { color: color-mix(in srgb, var(--muted) 60%, transparent); cursor: default; }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.cal-day.is-picked { background: var(--orange); border-color: var(--black); color: var(--black); box-shadow: 2px 2px 0 var(--black); }
.cal-day:empty { visibility: hidden; }
.cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }
.key-open { border: 1.5px solid var(--ink); background: var(--paper); }
.key-full { background: var(--paper-3); }
.key-closed { background: transparent; border: 1.5px dashed var(--line-2); }
.slots-title { font-weight: 850; font-stretch: 85%; font-size: 24px; line-height: 1.15; }
.slots-title small { display: block; font-size: 14px; font-weight: 600; font-stretch: 100%; color: var(--muted); margin-top: 4px; }
.slot-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 20px; }
.slot { position: relative; padding: 14px 10px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--paper); cursor: pointer; font-weight: 750; font-size: 16px; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.slot:hover:not([disabled]) { transform: translateY(-2px); }
.slot[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.slot[disabled] { color: var(--muted); border-style: dashed; cursor: not-allowed; text-decoration: line-through; background: transparent; }
.slots-go { width: 100%; }
.slots-done { text-align: center; outline: none; }
.slots-done h3 { font-weight: 850; font-stretch: 85%; font-size: 28px; margin-top: 14px; }
.slots-done p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.slots-when { font-weight: 750; color: var(--ink) !important; font-size: 18px !important; }
.slots-again { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.done-mark { width: 74px; height: 74px; margin: 0 auto; }
.done-mark circle, .done-mark path { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-shown .done-mark circle, .step-done.is-on .done-mark circle { animation: draw .7s var(--ease) forwards; }
.is-shown .done-mark path, .step-done.is-on .done-mark path { animation: draw .45s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.btn-under { border-color: transparent; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--orange); }
.btn-under:hover { text-underline-offset: 3px; }

/* ---- 23 quote form -------------------------------------------------------------------------------- */
.quote { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.steps { max-width: 800px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); border-radius: 26px; border: 1.5px solid var(--ink); background: var(--card); box-shadow: 10px 10px 0 var(--hard); }
.steps-bar { height: 8px; border-radius: 8px; background: var(--paper-3); overflow: hidden; }
.steps-bar span { display: block; height: 100%; width: 25%; background: var(--hazard); border-radius: inherit; transition: width .6s var(--ease); }
.steps-count { margin: 14px 0 24px; font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-on { display: block; animation: step-in .5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.step legend { padding: 0; margin-bottom: 22px; font-weight: 850; font-stretch: 80%; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
.step-error { margin-top: 16px; color: var(--orange-ink); font-weight: 700; font-size: 15px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 640px) { .sizes { grid-template-columns: repeat(2, 1fr); } }
.size span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px; border-radius: 16px; border: 1.5px solid var(--ink); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.size b { font-size: 17px; }
.size small { font-size: 13px; color: var(--muted); }
.size input:checked + span { background: var(--ink); color: var(--paper); }
.size input:checked + span small { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.wear { display: block; margin-top: 14px; height: 46px; border-radius: 6px; border: 1.5px solid currentColor; background: repeating-linear-gradient(180deg, transparent 0 10px, currentColor 10px 11.5px); opacity: .9; }
.wear-2 { -webkit-mask: radial-gradient(circle at 70% 40%, transparent 5px, #000 6px); mask: radial-gradient(circle at 70% 40%, transparent 5px, #000 6px); }
.wear-3 { -webkit-mask: radial-gradient(circle at 30% 30%, transparent 7px, #000 8px), radial-gradient(circle at 75% 70%, transparent 6px, #000 7px); -webkit-mask-composite: source-in; mask: radial-gradient(circle at 30% 30%, transparent 7px, #000 8px) intersect, radial-gradient(circle at 75% 70%, transparent 6px, #000 7px); }
.wear-4 { opacity: .55; background: repeating-linear-gradient(175deg, transparent 0 9px, currentColor 9px 10.5px); -webkit-mask: radial-gradient(circle at 25% 40%, transparent 9px, #000 10px), radial-gradient(circle at 70% 30%, transparent 8px, #000 9px); -webkit-mask-composite: source-in; mask: radial-gradient(circle at 25% 40%, transparent 9px, #000 10px) intersect, radial-gradient(circle at 70% 30%, transparent 8px, #000 9px); }
.when { display: flex; flex-wrap: wrap; gap: 12px; }
.pill span { display: inline-block; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 650; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.pill input:checked + span { background: var(--orange); border-color: var(--black); color: var(--black); }
.pill-hot span { border-style: dashed; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.field.wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field span { display: block; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input { width: 100%; margin-top: 4px; padding: 12px 0; border: 0; border-bottom: 2px solid var(--ink); background: transparent; font: 500 19px/1.3 var(--sans); color: var(--ink); border-radius: 0; }
.field input:focus { outline: none; border-bottom-color: var(--orange); }
.field input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.steps-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }
.steps-nav .steps-next { margin-left: auto; min-width: 140px; }
.step-done { display: none; text-align: center; padding: 10px 0 4px; outline: none; }
.step-done.is-on { display: block; animation: step-in .5s var(--ease); }
.step-done h3 { font-weight: 850; font-stretch: 85%; font-size: clamp(28px, 3.4vw, 38px); margin-top: 14px; }
.step-done p { max-width: 52ch; margin: 12px auto 0; color: var(--ink-2); }
.steps.is-done .steps-nav, .steps.is-done .steps-count { display: none; }

/* ---- 24 service area ---------------------------------------------------------------------------- */
.area { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.area-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }
.area-input { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 16px; border: 1.5px solid var(--ink); background: var(--card); box-shadow: 4px 4px 0 var(--hard); }
.area-input .icon { color: var(--orange-ink); flex: none; }
.area-input input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 18px; font-weight: 550; padding: 8px 0; }
.area-input input:focus { outline: none; }
.area-input:focus-within { outline: 2.5px solid var(--orange); outline-offset: 3px; }
.area-result { margin-top: 18px; min-height: 3.2em; font-size: 17px; line-height: 1.5; }
.area-result b { font-weight: 800; }
.area-result .ok { color: #1f7a3a; font-weight: 800; }
html[data-theme="night"] .area-result .ok { color: #6fd08f; }
.area-result .far { color: var(--orange-ink); font-weight: 800; }
.area-map { margin: 0; }
.map-svg { width: 100%; height: auto; border-radius: 22px; border: 1.5px solid var(--ink); background: var(--card); box-shadow: 6px 6px 0 var(--hard); }
.map-grid circle { fill: var(--line-2); }
.map-road { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-linecap: round; }
.map-road-major { stroke: color-mix(in srgb, var(--ink) 34%, transparent); stroke-width: 4.5; }
.map-road-label { font: 700 10.5px var(--sans); letter-spacing: .08em; fill: var(--muted); text-transform: uppercase; }
.map-radius { fill: color-mix(in srgb, var(--orange) 9%, transparent); stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 6; }
.map-town circle { fill: var(--ink); }
.map-town text { font: 650 11px var(--sans); fill: var(--ink-2); paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; }
.map-town.is-far circle { fill: var(--muted); }
.map-town.is-hit circle { fill: var(--orange); stroke: var(--black); stroke-width: 1.5; }
.map-town.is-hit text { fill: var(--ink); font-weight: 850; }
.map-town.no-label text { display: none; }
.map-town.no-label.is-hit text { display: block; }
.map-hq path { fill: var(--orange); stroke: var(--black); stroke-width: 1.5; }
.map-hq text { font: 850 12px var(--sans); fill: var(--ink); letter-spacing: .06em; paint-order: stroke; stroke: var(--card); stroke-width: 4px; }
.map-ping { fill: none; stroke: var(--orange); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.map-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 5; }
.area-map .fine { margin-top: 10px; }

/* ---- 25 storm ------------------------------------------------------------------------------------- */
.storm { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: linear-gradient(180deg, #1d242c 0%, #2b333c 60%, #3a4049 100%); color: var(--on-slate); overflow: hidden; }
.storm .kicker { color: var(--orange-on-slate); }
.storm .lede { color: var(--on-slate-2); }
.storm .fine { color: #9aa0a7; }
.rain-storm { opacity: .9; }
.storm-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .storm-grid { grid-template-columns: 1fr; } }
.storm-copy h2 { font-weight: 820; font-stretch: 78%; font-size: clamp(38px, 5.2vw, 68px); line-height: .96; }
.storm-switch-wrap { margin-top: 30px; }
.storm-switch { display: inline-flex; align-items: center; gap: 16px; padding: 12px 22px 12px 12px; border-radius: 999px; border: 1.5px solid var(--on-slate); background: rgba(255,255,255,.06); color: var(--on-slate); cursor: pointer; text-align: left; transition: background-color .3s; }
.storm-switch:hover { background: rgba(255,255,255,.12); }
.ss-track { position: relative; flex: none; width: 66px; height: 36px; border-radius: 999px; background: #50565e; border: 1.5px solid var(--on-slate); transition: background-color .3s; }
.ss-knob { position: absolute; top: 3px; left: 3px; width: 27px; height: 27px; border-radius: 50%; background: var(--on-slate); transition: transform .35s var(--ease); }
.storm-switch[aria-pressed="true"] .ss-track { background: var(--orange); }
.storm-switch[aria-pressed="true"] .ss-knob { transform: translateX(30px); background: var(--black); }
.ss-text b { display: block; font-size: 18px; }
.ss-text small { display: block; font-size: 13.5px; color: var(--on-slate-2); }
.hail { padding: clamp(20px, 3vw, 30px); border-radius: 22px; background: rgba(10, 12, 14, .55); border: 1.5px solid rgba(236,234,228,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hail-title { font-weight: 850; font-stretch: 85%; font-size: 24px; margin-bottom: 14px; }
.hail-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.hail-pick span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid rgba(236,234,228,.5); font-weight: 650; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s; }
.hail-pick input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.hail-show { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: center; margin-top: 18px; }
@media (max-width: 520px) { .hail-show { grid-template-columns: 1fr; } }
.hail-svg { width: 100%; height: auto; overflow: visible; }
.hail-tabs rect { fill: #4c5259; stroke: #1b1d20; stroke-width: 2; }
.hail-stone { fill: #eef6fb; stroke: #9eb4c4; stroke-width: 2; }
.hail-dent { fill: rgba(0,0,0,.45); }
.hail-ruler { stroke: var(--on-slate); stroke-width: 2; fill: none; }
.hail-ruler-t { font: 650 11px var(--sans); fill: var(--on-slate-2); }
.hail-size { font-size: 15px; color: var(--on-slate-2); }
.hail-size b { color: var(--white); font-size: 22px; }
.hail-what { margin-top: 6px; font-size: 15.5px; }
.hail-do { margin-top: 10px; font-size: 15px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 92, 26, .14); border-left: 3px solid var(--orange); }

/* ---- 26 FAQ ---------------------------------------------------------------------------------------- */
.faq { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 70px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
:root { interpolate-size: allow-keywords; }
.accordion details { border-top: 1.5px solid var(--ink); }
.accordion details:last-child { border-bottom: 1.5px solid var(--ink); }
.accordion summary { position: relative; list-style: none; cursor: pointer; padding: 24px 52px 24px 0; font-weight: 750; font-size: clamp(19px, 1.9vw, 23px); line-height: 1.3; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 8px;
  border: 1.5px solid var(--ink); transition: transform .4s var(--ease), background-color .3s;
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
}
.accordion details[open] summary::after { transform: rotate(135deg); background-color: var(--orange); }
.accordion details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.accordion details[open]::details-content { block-size: auto; }
.answer { padding: 0 52px 26px 0; font-size: 17px; color: var(--ink-2); }
.answer mark { color: inherit; background: linear-gradient(transparent 55%, color-mix(in srgb, var(--orange) 40%, transparent) 55%) no-repeat 0 0 / 0% 100%; transition: background-size .9s var(--ease) .2s; }
.accordion details[open] mark { background-size: 100% 100%; }

/* ---- 27 night mode switch ----------------------------------------------------------------------- */
.night { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: radial-gradient(ellipse at 80% 40%, color-mix(in srgb, var(--orange) 12%, var(--paper)) 0, var(--paper) 60%); }
.night-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: center; }
@media (max-width: 800px) { .night-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } .night-grid .kicker { justify-content: center; } }
.light-switch { display: grid; justify-items: center; gap: 16px; border: 0; background: none; cursor: pointer; padding: 10px; }
.ls-plate {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center;
  width: 130px; height: 200px; padding: 14px 0; border-radius: 18px; background: linear-gradient(160deg, #fbf8f1, #e4dfd3);
  border: 1.5px solid #141518; box-shadow: 0 18px 30px -16px rgba(0,0,0,.45), inset 0 -4px 0 rgba(0,0,0,.08);
}
.ls-screw { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #cfcabd, #8d887d); box-shadow: inset 0 0 0 1px rgba(0,0,0,.3); position: relative; }
.ls-screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: rgba(0,0,0,.45); transform: rotate(35deg); }
.ls-toggle { position: relative; width: 44px; height: 92px; border-radius: 10px; background: #d8d2c4; border: 1.5px solid #141518; box-shadow: inset 0 2px 6px rgba(0,0,0,.25); }
.ls-toggle::after { content: ""; position: absolute; left: 4px; right: 4px; top: 4px; height: 44px; border-radius: 8px; background: linear-gradient(180deg, #fffdf8, #e9e4d8); border: 1.5px solid #141518; box-shadow: 0 4px 0 #b9b2a3; transition: top .35s var(--ease), box-shadow .35s; }
.light-switch[aria-pressed="true"] .ls-toggle::after { top: 40px; box-shadow: 0 -4px 0 #b9b2a3; }
.light-switch[aria-pressed="true"] .ls-plate { background: linear-gradient(160deg, #3a3f46, #23272c); }
.ls-label { font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.light-switch:hover .ls-plate { transform: rotate(-1deg); }
.ls-plate { transition: transform .3s var(--ease), background .4s; }

/* ---- 28 background swatches --------------------------------------------------------------------- */
.swatches { position: relative; padding: clamp(90px, 11vw, 150px) 0; }
.swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }
.swatch {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px; border: 1.5px solid var(--black);
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; color: var(--black);
}
.swatch b { position: relative; z-index: 2; font-weight: 900; font-stretch: 68%; font-size: 48px; line-height: 1; }
.swatch span { position: relative; z-index: 2; align-self: flex-start; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: var(--white); color: var(--black); padding: 4px 8px; border-radius: 6px; }
.sw-shingle { background-color: #4b5057; color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='40'%3E%3Cg fill='none' stroke='%23202326' stroke-width='2.4'%3E%3Cpath d='M0 19h72M0 39h72M18 0v19M54 20v19'/%3E%3C/g%3E%3Cpath d='M0 13h72v5H0zM0 33h72v5H0z' fill='%23000' opacity='.18'/%3E%3C/svg%3E");
  background-size: 72px 40px; }
.sw-shingle span, .sw-blueprint span, .sw-rain span { color: var(--black); }
.sw-slate { background-color: #5d6670; color: var(--white);
  background-image: radial-gradient(circle at 50% 0, transparent 15px, rgba(0,0,0,.4) 16px, rgba(0,0,0,.4) 17.5px, transparent 18.5px), radial-gradient(circle at 50% 0, transparent 15px, rgba(0,0,0,.4) 16px, rgba(0,0,0,.4) 17.5px, transparent 18.5px);
  background-size: 34px 22px; background-position: 0 0, 17px 11px; }
.sw-seam { background: linear-gradient(90deg, #8b9399 0 3px, #b9c0c5 3px 6px, #9aa2a8 6px 46px, #a9b0b5 46px 64px); background-size: 64px 100%; }
.sw-blueprint { background-color: #1f4f7a; color: var(--white);
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px; }
.sw-hazard { background: repeating-linear-gradient(-45deg, var(--orange) 0 26px, var(--black) 26px 52px); }
.sw-hazard b { color: var(--white); -webkit-text-stroke: 1.5px var(--black); }
.sw-rain { background: linear-gradient(180deg, #151a20, #2d3540); color: var(--white); }
.sw-rain i { position: absolute; top: -40px; width: 1.5px; height: 34px; background: linear-gradient(transparent, rgba(220,235,255,.85)); animation: swatch-rain 1.1s linear infinite; transform: rotate(12deg); }
.sw-rain i:nth-of-type(1) { left: 8%; animation-delay: -.2s; } .sw-rain i:nth-of-type(2) { left: 20%; animation-delay: -.7s; animation-duration: .9s; }
.sw-rain i:nth-of-type(3) { left: 33%; animation-delay: -.4s; } .sw-rain i:nth-of-type(4) { left: 47%; animation-delay: -.9s; animation-duration: 1.3s; }
.sw-rain i:nth-of-type(5) { left: 59%; animation-delay: -.1s; } .sw-rain i:nth-of-type(6) { left: 71%; animation-delay: -.6s; animation-duration: 1s; }
.sw-rain i:nth-of-type(7) { left: 83%; animation-delay: -.3s; } .sw-rain i:nth-of-type(8) { left: 94%; animation-delay: -.8s; animation-duration: 1.2s; }
@keyframes swatch-rain { from { transform: translate(0, 0) rotate(12deg); } to { transform: translate(-60px, 320px) rotate(12deg); } }

/* ---- 29 type & buttons ------------------------------------------------------------------------- */
.specimen { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.specimen-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 70px); }
@media (max-width: 900px) { .specimen-grid { grid-template-columns: 1fr; } }
.ts { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; line-height: 1.1; }
.ts-1 { font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.ts-2 { font-size: 16px; }
.ts-3 { font: 500 24px/1.2 var(--serif); }
.ts-4 { font-size: 40px; font-weight: 900; font-stretch: 62%; text-transform: uppercase; }
.ts-5 { font-size: clamp(40px, 6vw, 72px); font-weight: 820; font-stretch: 125%; letter-spacing: -.03em; }
.ts-6 { font-weight: 900; font-stretch: 62%; font-size: clamp(90px, 12vw, 130px); color: var(--orange); -webkit-text-stroke: 2px var(--ink); line-height: .9; }
.ts-7 { font: 600 46px/1.1 var(--hand); color: var(--orange-ink); }
.bw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 420px) { .bw { grid-template-columns: 1fr; } }
.bw .btn { width: 100%; }
.btn-arrow { background: var(--card); }
.btn-arrow span { transition: transform .3s var(--ease); }
.btn-arrow:hover span { transform: translateX(6px); }
.btn-fill { overflow: hidden; isolation: isolate; }
.btn-fill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: translateY(101%); transition: transform .4s var(--ease); }
.btn-fill:hover { color: var(--black); border-color: var(--black); }
.btn-fill:hover::before { transform: none; }
.btn-hazard { border: 0; padding: 4px; background: var(--hazard); background-size: 200% 100%; }
.btn-hazard span { display: grid; place-items: center; width: 100%; height: 100%; min-height: 42px; border-radius: 9px; background: var(--card); padding: 0 18px; text-transform: uppercase; letter-spacing: .14em; font-weight: 850; font-size: 14px; }
.btn-hazard:hover { animation: hazard-run 1s linear infinite; }
@keyframes hazard-run { to { background-position: 34px 0; } }
.btn-magnet { background: var(--ink); color: var(--paper); transition: background-color .25s; }
.btn-magnet span { display: inline-block; transition: transform .2s; }
.btn-hold { overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none; touch-action: none; }
.hold-fill { position: absolute; inset: 0; z-index: -1; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.btn-hold.is-done { background: var(--ink); color: var(--paper); }
.btn-copy svg { width: 18px; height: 18px; }
.btn-load .load-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn-load.is-busy .load-spin { display: inline-block; }
.btn-load.is-ok { background: #1f7a3a; border-color: #1f7a3a; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- 30 parallax rooftops ------------------------------------------------------------------- */
.street { position: relative; height: clamp(420px, 62vw, 640px); overflow: hidden; background: linear-gradient(180deg, #f6c79a 0%, #f3a675 38%, #c86d55 72%, #5b3b47 100%); }
html[data-theme="night"] .street { background: linear-gradient(180deg, #0c1220 0%, #182238 55%, #2a2f45 100%); }
.street-sky { position: absolute; inset: 0; }
.street-orb { position: absolute; left: 68%; top: 18%; width: clamp(80px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff6d8, #ffd27d 60%, #ff9a52); box-shadow: 0 0 80px 30px rgba(255, 190, 110, .45); }
html[data-theme="night"] .street-orb { background: radial-gradient(circle at 38% 38%, #ffffff, #e7ebf3 55%, #b9c2d3); box-shadow: 0 0 60px 18px rgba(200, 214, 240, .25); }
.street-layer { position: absolute; left: -5%; width: 110%; bottom: 0; height: 68%; will-change: transform; }
.street-l3 { fill: #b0605a; } .street-l2 { fill: #7a3f45; } .street-l1 { fill: #2a1d24; }
html[data-theme="night"] .street-l3 { fill: #2b3550; } html[data-theme="night"] .street-l2 { fill: #1c2438; } html[data-theme="night"] .street-l1 { fill: #07090e; }
.street-win { fill: #ffd27d; }
html[data-theme="night"] .street-win { fill: #ffcf73; }
.street-line { position: absolute; left: var(--gut); right: var(--gut); top: 11%; z-index: 3; max-width: 1200px; margin: 0 auto; font-weight: 880; font-stretch: 70%; text-transform: uppercase; font-size: clamp(36px, 6vw, 84px); line-height: .92; color: #2a1d24; }
html[data-theme="night"] .street-line { color: #edece7; }
.street > .tag { top: 16px; }

/* ---- 31 footer -------------------------------------------------------------------------------------- */
.site-footer { position: relative; padding: clamp(90px, 11vw, 140px) 0 120px; background: var(--black); color: var(--white); overflow: hidden; }
html[data-theme="night"] .site-footer { background: #08090a; }
.site-footer .kicker { color: var(--orange-on-slate); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid p { color: #d6d2c8; }
.footer-big-line { font-weight: 880; font-stretch: 75%; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.footer-big-line a, .footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.footer-name { margin: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px); padding: 0 var(--gut); font-weight: 900; font-stretch: 100%; text-transform: uppercase; font-size: clamp(46px, 11.6vw, 200px); line-height: .82; letter-spacing: -.03em; white-space: nowrap; text-align: center; }
.footer-name span { --fill: 0%; color: transparent; -webkit-text-stroke: clamp(1.5px, .22vw, 3px) var(--white); background: linear-gradient(90deg, var(--orange) var(--fill), transparent var(--fill)); -webkit-background-clip: text; background-clip: text; }
html.reduce .footer-name span, html.no-js .footer-name span { --fill: 100%; }
.footer-legal { display: grid; gap: 8px; font-size: 14px; color: #b3afa5; }
.footer-legal a { color: #fff; }
.footer-brand { color: var(--white); margin-bottom: 10px; }
.footer-brand .brand-svg { height: 44px; }

/* ---- floating aisle toolbar + map ----------------------------------------------------------------- */
.aisle-bar {
  position: fixed; z-index: 50; right: 16px; bottom: 16px; display: flex; gap: 6px; padding: 6px;
  border-radius: 999px; background: var(--black); box-shadow: 0 14px 30px -12px rgba(0,0,0,.55);
  transition: transform .4s var(--ease), opacity .4s;
}
html[data-theme="night"] .aisle-bar { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 14px 30px -12px rgba(0,0,0,.8); }
html.intro-running .aisle-bar { transform: translateY(140%); opacity: 0; }
.aisle-bar button { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px; padding: 9px 14px; font-size: 13.5px; font-weight: 700; white-space: nowrap; background: transparent; color: var(--white); }
.aisle-bar svg { width: 18px; height: 18px; }
.aisle-open { background: var(--white) !important; color: var(--black) !important; }
.aisle-count { background: var(--orange); color: var(--black); border-radius: 999px; font-size: 11px; padding: 2px 7px; font-weight: 850; }
.bar-storm[aria-pressed="true"] { background: var(--orange) !important; color: var(--black) !important; }
.bar-night .i-sun { display: none; }
html[data-theme="night"] .bar-night .i-sun { display: block; }
html[data-theme="night"] .bar-night .i-moon { display: none; }
.aisle-bar button:hover:not(.aisle-open) { background: rgba(255,255,255,.12); }
.tags-toggle[aria-pressed="false"] { color: #a39b8c !important; }
@media (max-width: 560px) {
  .aisle-bar { right: 10px; bottom: 10px; padding: 5px; gap: 3px; }
  .aisle-bar button { padding: 8px 10px; font-size: 12.5px; }
  .aisle-label { display: none; }
}
.aisle {
  width: min(780px, calc(100vw - 24px)); max-height: min(86svh, 900px); padding: 0; border: 1.5px solid var(--ink);
  border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 12px 12px 0 var(--orange);
}
.aisle::backdrop { background: rgba(20, 21, 24, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.aisle[open] { animation: aisle-in .45s var(--ease); }
@keyframes aisle-in { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.aisle-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px 26px 14px; background: var(--paper); }
.aisle-head h2 { font-weight: 900; font-stretch: 68%; text-transform: uppercase; font-size: 36px; line-height: 1; }
.aisle-close { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.aisle-intro { padding: 0 26px 18px; color: var(--ink-2); font-size: 15.5px; }
.aisle-list { list-style: none; margin: 0; padding: 0 16px 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 600px) { .aisle-list { grid-template-columns: 1fr; } }
.aisle-list a { display: flex; gap: 12px; align-items: stretch; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--card); transition: transform .2s var(--ease), box-shadow .2s; }
.aisle-list a:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--hard); }
.aisle-list .no { display: grid; place-items: center; min-width: 46px; background: var(--orange); color: var(--black); font-weight: 850; font-stretch: 75%; font-size: 18px; border-right: 1.5px solid var(--ink); }
.aisle-list .txt { padding: 9px 10px 9px 0; display: flex; flex-direction: column; }
.aisle-list b { font-size: 14.5px; line-height: 1.25; }
.aisle-list small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.aisle-list .is-new .no::after { content: "new"; display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; font-stretch: 100%; margin-top: -2px; }
.aisle-list .is-new .no { display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.05; }
.aisle-cta { padding: 16px 26px 26px; }

.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 84px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: var(--black); color: var(--white); font-weight: 650; font-size: 15px;
  box-shadow: 4px 4px 0 var(--orange); transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---- scroll reveals ----------------------------------------------------------------------------------- */
html.js:not(.reduce) [data-reveal] { opacity: 0; translate: 0 28px; }
html.js:not(.reduce) [data-reveal].is-in { opacity: 1; translate: 0 0; transition: opacity .8s ease, translate .9s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }

/* the night-mode reveal: a circle grows out of the switch that was pressed */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scroll-cue span::after { display: none; }
}

/* lightning (js/modes.js) and the hero's speck colour */
.flash { position: absolute; inset: 0; z-index: 2; background: #fff; opacity: 0; pointer-events: none; }
.s-specks { fill: #141414; }

/* ---- 404 --------------------------------------------------------------------------------------------- */
.lost { min-height: calc(100svh - 34px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.lost img { width: 150px; transform: rotate(-18deg); }
.lost h1 { font-weight: 880; font-stretch: 75%; font-size: clamp(40px, 7vw, 76px); line-height: 1; text-transform: uppercase; }
.lost p { color: var(--ink-2); }
.lost-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
