/* Hollis Creek Roofing, demo website by TEAM Gold LLC (October 2026).

   Design idea: slate and cedar. A roof is built in overlapping courses, so the page is
   too. Slate grey and charcoal like the shingles, warm cedar like the decking and the
   fascia boards, the pale blue grey of the sky after a storm as the light ground.
   Anton for headlines, narrow and tall like a gable; Karla for everything you read.
   Sections meet at a gable edge, lists are laid like shingle courses.

   Motion: things are laid, not flown in. Elements drop a few pixels into place like a
   shingle on its course, the roof layers build from rafters to ridge, photos rise from
   the eave line. Every movement runs once, prefers-reduced-motion shows the end state. */

:root {
  --slate: #2b2f33;
  --slate-2: #363b40;
  --slate-3: #454b51;
  --cedar: #a8673a;
  --cedar-2: #8a5230;
  --cedar-3: #c98a5c;
  --sky: #c9d6df;
  --sky-2: #dfe7ed;
  --paper: #f3f1ec;
  --ink: #1d2023;
  --ink-soft: #4d545b;
  --line: rgba(29, 32, 35, 0.16);
  --line-strong: rgba(29, 32, 35, 0.34);
  --on-dark: #e9ecee;
  --on-dark-dim: #b4bcc3;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --lay: cubic-bezier(0.2, 0.8, 0.2, 1);
  --build: cubic-bezier(0.3, 0, 0.1, 1);

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1260px;
  --hdr-h: 72px;
  --gable: clamp(28px, 5vw, 64px);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 200ms var(--build) both vt-out; }
::view-transition-new(root) { animation: 360ms var(--build) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(-10px); } }
.hdr { view-transition-name: site-header; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--cedar); color: #fff; }
:focus-visible { outline: 2px solid var(--cedar); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cedar); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Type ------------------------------------------------------------------ */
.t-xxl, .t-xl, .t-l, .t-m { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; overflow-wrap: break-word; }
.t-xxl { font-size: clamp(2.9rem, 7.4vw, 6.6rem); }
.t-xl { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.t-l { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.02; }
.t-m { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.1; letter-spacing: 0.02em; }
.c { color: var(--cedar); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cedar-2); margin-bottom: 18px; }
.tag::before { content: ""; width: 22px; height: 12px; background: var(--cedar); clip-path: polygon(0 100%, 50% 0, 100% 100%, 82% 100%, 50% 36%, 18% 100%); }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.2rem); color: var(--ink-soft); max-width: 50ch; line-height: 1.6; }
.dim { color: var(--ink-soft); }
.small { font-size: 0.88rem; }
.num { font-variant-numeric: tabular-nums; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--cedar); color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
  box-shadow: 0 4px 0 var(--cedar-2);
  transition: background-color 150ms linear, transform 150ms var(--lay), box-shadow 150ms var(--lay);
}
.btn:hover { background: var(--cedar-2); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cedar-2); }
.btn .arr { transition: transform 250ms var(--lay); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-slate { background: var(--slate); box-shadow: 0 4px 0 #15181a; }
.btn-slate:hover { background: #15181a; }
.btn-sm { white-space: nowrap; padding: 9px 16px; font-size: 0.92rem; box-shadow: 0 3px 0 var(--cedar-2); }
.link { color: var(--cedar-2); text-decoration: none; font-weight: 700; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--ink); }

/* Header ---------------------------------------------------------------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); display: flex; align-items: center; background: rgba(243, 241, 236, 0.95); border-bottom: 2px solid var(--slate); }
.hdr .wrap { width: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.mark-svg { width: 36px; height: 36px; color: var(--cedar); flex: none; }
.brand b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; text-transform: uppercase; line-height: 1; letter-spacing: 0.02em; }
.brand small { display: block; font-size: 0.74rem; color: var(--ink-soft); margin-top: 3px; white-space: nowrap; }
.nav { display: flex; gap: 20px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); padding: 6px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cedar); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--build); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.status { font-size: 0.84rem; color: var(--ink-soft); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.status .lamp { width: 9px; height: 9px; background: var(--slate-3); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.status.is-open .lamp { background: var(--cedar); }
.status strong { color: var(--ink); font-weight: 700; }
.lang { background: none; border: 2px solid var(--line-strong); padding: 4px 9px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; cursor: pointer; }
.lang:hover { border-color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; background: var(--slate); border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform 300ms var(--build); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(38deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-38deg); }
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--slate); color: var(--on-dark); padding: calc(var(--hdr-h) + 20px) var(--gutter) 28px; display: flex; flex-direction: column; justify-content: space-between; transform: translateY(-100%); visibility: hidden; transition: transform 480ms var(--build), visibility 0s 480ms; }
.menu-open .sheet { transform: none; visibility: visible; transition: transform 480ms var(--build); }
.sheet nav { display: grid; }
.sheet nav a { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.9rem, 8.5vw, 2.6rem); line-height: 1.15; text-decoration: none; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.sheet nav a[aria-current="page"] { color: var(--cedar-3); }
.sheet-foot { display: grid; gap: 4px; color: var(--on-dark-dim); font-size: 0.92rem; }
.sheet .status, .sheet .status strong { color: var(--on-dark); }
.menu-open { overflow: hidden; }
@media (max-width: 1320px) { .nav { display: none; } .menu-btn { display: block; } }
@media (max-width: 680px) { .hdr .status, .hdr .btn { display: none; } }
@media (max-width: 380px) { .hdr .brand small { white-space: normal; max-width: 15ch; } .hdr .wrap { gap: 12px; } }

/* Laid into place ------------------------------------------------------- */
.js [data-lay] { opacity: 0; transform: translateY(-14px); transition: opacity 260ms linear, transform 600ms var(--lay); transition-delay: var(--d, 0ms); }
.js [data-lay].is-in { opacity: 1; transform: none; }
/* The clip-path sits on the image, the observed element stays visible: Chrome never reports a fully clipped element. */
.js [data-rise] img { clip-path: inset(100% 0 0 0); transition: clip-path 900ms var(--build); transition-delay: var(--d, 0ms); }
.js [data-rise].is-in img { clip-path: inset(0); }

/* Sections -------------------------------------------------------------- */
.sec { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.gable { clip-path: polygon(0 var(--gable), 50% 0, 100% var(--gable), 100% 100%, 0 100%); margin-top: calc(var(--gable) * -1); padding-top: calc(clamp(72px, 10vw, 130px) + var(--gable)); }
.sec-slate { background: var(--slate); color: var(--on-dark); }
.sec-slate .lede, .sec-slate .dim { color: var(--on-dark-dim); }
.sec-slate .tag { color: var(--cedar-3); }
.sec-sky { background: var(--sky); }
.sec-cedar { background: var(--cedar); color: #fff; }
.sec-cedar .lede { color: #f6e6da; }
.head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }
.head .t-l + .lede { margin-top: 16px; }
.head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.pic img { width: 100%; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Hero ------------------------------------------------------------------ */
.hero { background: var(--sky); padding: calc(var(--hdr-h) + clamp(36px, 6vw, 80px)) 0 calc(clamp(60px, 8vw, 100px) + var(--gable)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .c { display: block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-strip { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; padding-top: 18px; border-top: 2px solid var(--line-strong); font-size: 0.92rem; color: var(--ink-soft); }
.hero-pic { position: relative; clip-path: polygon(0 18%, 50% 0, 100% 18%, 100% 100%, 0 100%); }
.hero-pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.js .hero [data-hero] { opacity: 0; transform: translateY(-14px); transition: opacity 260ms linear, transform 600ms var(--lay); transition-delay: var(--d, 0ms); }
.js .hero.is-up [data-hero] { opacity: 1; transform: none; }
.js .hero [data-hero-pic] img { clip-path: inset(100% 0 0 0); transition: clip-path 1000ms var(--build) 150ms; }
.js .hero.is-up [data-hero-pic] img { clip-path: inset(0); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-pic { max-width: 560px; } }

/* Roof layers ----------------------------------------------------------- */
.layers { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.xsec { width: 100%; height: auto; display: block; overflow: visible; }
.xsec .ly { transition: opacity 400ms linear, transform 700ms var(--lay); transition-delay: calc(var(--i) * 260ms + 200ms); cursor: pointer; }
.js .layers:not(.is-in) .ly { opacity: 0; transform: translateY(-36px); }
.xsec .p-raf { fill: #b98457; }
.xsec .raf-lines line { stroke: #8a5a34; stroke-width: 2; }
.xsec .p-wall { fill: #6b7178; }
.xsec .p-attic { stroke: #6b7178; stroke-width: 6; }
.xsec .p-deck { fill: #d9b48a; }
.xsec .p-under { fill: #a9bccb; }
.xsec .p-ice { fill: #15181b; stroke: #8fa3b3; stroke-width: 1.5; stroke-dasharray: 5 4; }
.xsec .p-ridge { fill: #8d969e; }
.layers.picking .ly { opacity: 0.25; }
.layers.picking .ly.on { opacity: 1; }
.xsec .ly.on .p-raf, .xsec .ly.on .p-deck, .xsec .ly.on .p-under, .xsec .ly.on .p-ice, .xsec .ly.on .p-ridge, .xsec .ly.on .p-sh { stroke: var(--cedar-3); stroke-width: 3; }
.ly-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.ly-list button { width: 100%; text-align: left; display: flex; gap: 10px; align-items: baseline; background: rgba(255, 255, 255, 0.06); border: 0; border-left: 4px solid transparent; padding: 11px 12px; cursor: pointer; font-weight: 500; font-size: 0.95rem; transition: background-color 150ms linear, border-color 150ms linear; }
.ly-list button:hover { background: rgba(255, 255, 255, 0.12); }
.ly-list button[aria-pressed="true"] { border-left-color: var(--cedar-3); background: rgba(255, 255, 255, 0.16); }
.ly-list .ln { font-family: var(--display); color: var(--cedar-3); font-size: 0.95rem; }
.ly-panel { min-height: 9.5em; border-top: 2px solid var(--cedar); padding-top: 18px; }
.ly-panel .t-m { margin-bottom: 10px; color: #fff; }
.ly-panel p { color: var(--on-dark-dim); }
@media (max-width: 960px) { .layers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .ly-list { grid-template-columns: minmax(0, 1fr); } }

/* Estimator ------------------------------------------------------------- */
.est { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.est-in { display: grid; gap: 30px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend, .field .lbl { display: block; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; padding: 0; }
.range-row { display: flex; align-items: center; gap: 18px; }
.range-row input { flex: 1; min-width: 0; accent-color: var(--cedar); height: 28px; }
.range-row output { font-family: var(--display); font-size: 1.6rem; min-width: 7.2ch; text-align: right; }
.seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input, .mats input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.seg span { display: grid; place-items: center; text-align: center; padding: 10px 2px; border: 2px solid var(--slate); margin-left: -2px; background: var(--paper); transition: background-color 150ms linear, color 150ms linear; }
.seg label:first-child span { margin-left: 0; }
.seg b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.seg small { font-size: 0.72rem; color: var(--ink-soft); line-height: 1.2; }
.seg input:checked + span { background: var(--slate); color: #fff; }
.seg input:checked + span small { color: var(--on-dark-dim); }
.seg input:focus-visible + span, .mats input:focus-visible + span { outline: 2px solid var(--cedar); outline-offset: 2px; }
.mats { display: grid; gap: 8px; }
.mat { position: relative; cursor: pointer; }
.mat span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--paper); border: 2px solid var(--line-strong); transition: border-color 150ms linear, box-shadow 150ms var(--lay); }
.mat b { font-weight: 700; }
.mat small { font-family: var(--display); color: var(--cedar); letter-spacing: 0.1em; }
.mat input:checked + span { border-color: var(--slate); box-shadow: 4px 4px 0 var(--slate); }
.est-out { background: var(--slate); color: var(--on-dark); padding: clamp(20px, 3vw, 32px); clip-path: polygon(0 26px, 50% 0, 100% 26px, 100% 100%, 0 100%); padding-top: 44px; }
.house { width: 100%; max-width: 340px; display: block; margin: 0 auto 10px; }
.house .h-roof { fill: var(--cedar); transition: none; }
.house .h-wall { fill: #8a939b; }
.house .h-door { fill: var(--slate); }
.house .h-win { fill: var(--sky); }
.house .h-ground { stroke: var(--on-dark-dim); stroke-width: 2; }
.house .h-run, .house .h-rise { stroke: #fff; stroke-width: 2; stroke-dasharray: 4 4; }
.house .h-lbl { fill: #fff; font-family: var(--display); font-size: 16px; }
.est-nums { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin: 0 0 14px; }
.est-nums div { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 8px; }
.est-nums dt { font-size: 0.8rem; color: var(--on-dark-dim); }
.est-nums dd { margin: 0; font-family: var(--display); font-size: 1.6rem; }
.est-price { border-top: 2px solid var(--cedar); padding-top: 10px; margin-bottom: 12px; }
.est-price span { display: block; font-size: 0.8rem; color: var(--on-dark-dim); }
.est-price b { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--cedar-3); }
.fine { font-size: 0.8rem; color: var(--on-dark-dim); line-height: 1.5; }
@media (max-width: 900px) { .est { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .seg small { display: none; } .seg b { font-size: 1.05rem; } }

/* Shingle courses ------------------------------------------------------- */
/* Seven half-width columns: every tab spans two, and a half-tab filler at the end of the first
   course and the start of the second gives the real shingle offset without cutting any text. */
.courses { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 8px; padding-bottom: 12px; }
.courses::before, .courses::after { content: ""; margin-bottom: -10px; box-shadow: 0 8px 0 rgba(0, 0, 0, 0.22); }
.courses::before { grid-row: 1; grid-column: 7 / 8; background: var(--slate); z-index: 2; }
.courses::after { grid-row: 2; grid-column: 1 / 2; background: var(--slate-2); }
.courses .tab { grid-column: span 2; }
.courses .tab:nth-child(4) { grid-column: 2 / span 2; }
.tab { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 26px 20px 30px; margin-bottom: -10px; background: var(--slate); color: #fff; text-decoration: none; box-shadow: 0 8px 0 rgba(0, 0, 0, 0.22); transition: background-color 150ms linear; }
.tab:nth-child(n+4) { background: var(--slate-2); }
.tab:nth-child(-n+3) { z-index: 2; }
.tab:hover { background: var(--cedar-2); }
.tab-n { font-family: var(--display); color: var(--cedar-3); font-size: 1.1rem; margin: 0; }
.tab b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; letter-spacing: 0.02em; }
.courses .tab-arr { opacity: 0.6; }
@media (max-width: 900px) {
  .courses { grid-template-columns: minmax(0, 1fr); }
  .courses::before, .courses::after { display: none; }
  .courses .tab:nth-child(n) { grid-column: 1; background: var(--slate); margin-right: 28px; z-index: auto; }
  .courses .tab:nth-child(even) { translate: 28px 0; background: var(--slate-2); }
}

/* Storm ----------------------------------------------------------------- */
.sec-storm { background: var(--slate); color: var(--on-dark); overflow: hidden; }
.sec-storm .lede { color: var(--on-dark-dim); }
.sec-storm .tag { color: var(--cedar-3); }
.storm-pic { position: absolute; inset: 0 0 auto; height: 46%; }
.storm-pic img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.sec-storm .wrap { position: relative; }
.storm-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.storm-grid .pic { margin-top: 28px; }
@media (max-width: 900px) { .storm-grid { grid-template-columns: minmax(0, 1fr); } }

.check { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 32px); box-shadow: 8px 8px 0 var(--cedar); }
.warn { background: var(--sky-2); border-left: 4px solid var(--cedar); padding: 12px 14px; font-size: 0.95rem; margin-bottom: 18px; }
.ck-list { list-style: none; margin: 0; padding: 0; }
.ck-list li { border-bottom: 1px solid var(--line); }
.ck-list label { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; cursor: pointer; position: relative; }
.ck-list input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ck-list .box { width: 26px; height: 26px; border: 2px solid var(--slate); display: grid; place-items: center; background: #fff; transition: background-color 150ms linear; }
.ck-list .box::after { content: ""; width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform 200ms var(--lay); }
.ck-list input:checked + .box { background: var(--cedar); border-color: var(--cedar); }
.ck-list input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.ck-list input:focus-visible + .box { outline: 2px solid var(--cedar); outline-offset: 2px; }
.ck-out { margin-top: 18px; }
.ck-count { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; margin-bottom: 6px; }
.ck-count b { font-weight: 400; color: var(--cedar); font-size: 2rem; }
.ck-msg { color: var(--ink-soft); min-height: 3.2em; }

/* Quotes ---------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); }
.quotes figure, .rv { margin: 0; background: #fff; padding: 26px 26px 22px; border-top: 6px solid var(--slate); position: relative; }
.quotes blockquote, .rv blockquote { margin: 0 0 16px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.5; }
.quotes figcaption, .rv figcaption { font-size: 0.9rem; color: var(--ink-soft); display: flex; gap: 10px; flex-wrap: wrap; }
.quotes figcaption b, .rv figcaption b { color: var(--ink); }
.rv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 36px); }
.rv { margin-bottom: -8px; box-shadow: 0 10px 0 rgba(29, 32, 35, 0.1); }
.rv:nth-child(4n+2), .rv:nth-child(4n+3) { border-top-color: var(--cedar); }
.rv:nth-child(even) { margin-top: 44px; }
.rv + .rv { margin-top: 26px; }
.rv:nth-child(2) { margin-top: 70px; }
@media (max-width: 760px) { .quotes, .rv-grid { grid-template-columns: minmax(0, 1fr); } .rv:nth-child(2) { margin-top: 26px; } .rv:nth-child(even) { margin-left: 20px; } }

/* CTA ------------------------------------------------------------------- */
.cta-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 32px; align-items: end; }
.cta-row .t-xl { margin-bottom: 18px; max-width: 16ch; }
.cta-btns { display: grid; gap: 14px; justify-items: start; }
.phone { font-family: var(--display); font-size: 1.8rem; text-decoration: none; color: #fff; }
@media (max-width: 820px) { .cta-row { grid-template-columns: minmax(0, 1fr); } }

/* Page head ------------------------------------------------------------- */
.phead { background: var(--sky); padding: calc(var(--hdr-h) + clamp(44px, 7vw, 96px)) 0 calc(clamp(56px, 7vw, 90px) + var(--gable)); }
.phead .t-xl { max-width: 15ch; margin-bottom: 22px; }
.phead-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.phead.has-pic .phead-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.phead-pic { clip-path: polygon(0 16%, 50% 0, 100% 16%, 100% 100%, 0 100%); }
.phead-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); }
.phead + .sec:not(.gable) { padding-top: clamp(56px, 8vw, 100px); }
@media (max-width: 880px) { .phead.has-pic .phead-grid { grid-template-columns: minmax(0, 1fr); } .phead-pic { max-width: 560px; } }

/* Services -------------------------------------------------------------- */
.svcs { display: grid; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 60px) 0; border-top: 2px solid var(--slate); scroll-margin-top: calc(var(--hdr-h) + 20px); align-items: center; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc.has-pic { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.svc .tab-n { color: var(--cedar); font-size: 1.4rem; margin-bottom: 6px; }
.svc .t-l { margin-bottom: 14px; }
.svc-pic img { width: 100%; box-shadow: 10px 10px 0 var(--slate); }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px; background: var(--cedar); clip-path: polygon(0 100%, 50% 0, 100% 100%, 80% 100%, 50% 40%, 20% 100%); }
.ticks b { display: block; }
.on-dark { color: var(--on-dark); }
.on-dark li { color: var(--on-dark-dim); }
.on-dark b { color: #fff; }
@media (max-width: 880px) { .svc.has-pic { grid-template-columns: minmax(0, 1fr); } .svc-pic { max-width: 520px; } }

/* Roof types ------------------------------------------------------------ */
.mat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); align-items: start; }
.mat-card { background: #fff; padding: 28px 24px; border-bottom: 8px solid var(--slate); scroll-margin-top: calc(var(--hdr-h) + 20px); }
.mat-card:nth-child(2) { margin-top: 36px; border-bottom-color: var(--cedar); }
.mat-card:nth-child(3) { margin-top: 72px; }
.mat-card .t-m { margin-bottom: 12px; }
.cost { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.12em; margin-bottom: 8px; }
.cost i { font-style: normal; color: var(--line-strong); }
.cost i.on { color: var(--cedar); }
.fit { font-weight: 700; }
@media (max-width: 900px) { .mat-grid { grid-template-columns: minmax(0, 1fr); } .mat-card:nth-child(n) { margin-top: 0; } }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--paper); }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.1rem; background: var(--slate); color: #fff; }
.compare thead td { background: var(--slate); }
.compare tbody th { font-weight: 700; width: 26%; }

/* Storm steps ----------------------------------------------------------- */
.steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { border-top: 2px solid var(--cedar); padding-top: 16px; }
.steps li:nth-child(2) { margin-top: 24px; } .steps li:nth-child(3) { margin-top: 48px; } .steps li:nth-child(4) { margin-top: 72px; }
.step-n { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--cedar-3); line-height: 1; margin-bottom: 8px; }
.steps .t-m { margin-bottom: 8px; color: #fff; }
.steps p { color: var(--on-dark-dim); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .steps li:nth-child(n) { margin-top: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Team ------------------------------------------------------------------ */
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 30px); }
.crew-card { background: #fff; padding: 26px 24px 30px; margin-bottom: 20px; box-shadow: 0 8px 0 rgba(29, 32, 35, 0.12); }
.crew-card:nth-child(3n+2) { margin-top: 30px; }
.crew-card:nth-child(3n) { margin-top: 60px; }
.plate { display: grid; place-items: center; width: 64px; height: 56px; background: var(--slate); color: #fff; font-family: var(--display); font-size: 1.4rem; margin-bottom: 18px; clip-path: polygon(0 30%, 50% 0, 100% 30%, 100% 100%, 0 100%); padding-top: 10px; }
.crew-card .t-m { margin-bottom: 4px; }
.role { color: var(--cedar-2); font-weight: 700; margin-bottom: 12px; }
.crew-card p:not(.role) { color: var(--ink-soft); }
@media (max-width: 900px) { .crew { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .crew-card:nth-child(n) { margin-top: 0; } }
@media (max-width: 560px) { .crew { grid-template-columns: minmax(0, 1fr); } }

/* About: the timeline climbs like a roof slope -------------------------- */
.climb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; position: relative; }
.climb li { background: #fff; padding: 22px 20px; border-top: 6px solid var(--slate); margin-bottom: calc(var(--s) * 44px); }
.climb li:last-child { border-top-color: var(--cedar); }
.yr { display: block; font-family: var(--display); font-weight: 400; font-size: 2.2rem; color: var(--cedar); line-height: 1; margin-bottom: 8px; }
.climb .t-m { margin-bottom: 8px; }
.climb p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 900px) { .climb { grid-template-columns: minmax(0, 1fr); } .climb li { margin-bottom: 0; margin-left: calc(var(--s) * 14px); } }

/* Forms ----------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; background: #fff; border: 2px solid var(--line-strong); padding: 11px 13px; transition: border-color 150ms linear; border-radius: 0; }
.field input[type=range] { border: 0; padding: 0; background: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cedar); }
.field textarea { min-height: 100px; resize: vertical; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pill span { display: inline-block; border: 2px solid var(--slate); padding: 8px 16px; font-weight: 500; background: #fff; transition: background-color 150ms linear, color 150ms linear; }
.pill input:checked + span { background: var(--slate); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--cedar); outline-offset: 2px; }
.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); cursor: pointer; }
.check-line input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cedar); flex: none; }
.form-hint { color: #a33a1c; margin: 0; min-height: 1.4em; font-weight: 700; }
.req-sum { background: var(--slate); color: #fff; padding: 16px 18px; margin-bottom: 22px; border-left: 6px solid var(--cedar); }
.req-sum b { color: var(--cedar-3); }
.demo-note { font-size: 0.85rem; color: var(--ink-soft); border-left: 3px solid var(--cedar); padding-left: 14px; margin-top: 26px; max-width: 72ch; }
.demo-note.on-dark { color: var(--on-dark-dim); }
.sent { display: none; margin-top: 24px; background: var(--slate); color: var(--on-dark); padding: 20px 22px; border-left: 6px solid var(--cedar); }
.sent.on { display: block; }
.js .sent.on { animation: lay 500ms var(--lay) both; }
@keyframes lay { from { opacity: 0; transform: translateY(-14px); } }
.sent strong { color: #fff; }
.side .t-m { margin-bottom: 8px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Hours ----------------------------------------------------------------- */
.hours { border-collapse: collapse; width: 100%; max-width: 360px; font-size: 0.95rem; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--ink-soft); }
.hours tr.today td { font-weight: 700; color: var(--ink); }
.hours tr.today td:first-child::after { content: attr(data-today); margin-left: 8px; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--cedar); color: #fff; padding: 1px 6px; font-weight: 700; }

/* Legal ----------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
.legal aside { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; display: grid; gap: 8px; }
.legal aside a { color: var(--ink-soft); text-decoration: none; font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; }
.legal aside a:hover { color: var(--cedar); }
.legal section { margin-bottom: 56px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.legal .t-l { margin-bottom: 18px; }
.legal h3 { font-weight: 700; font-size: 1.1rem; margin: 24px 0 6px; }
.legal p { color: var(--ink-soft); max-width: 64ch; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal aside { position: static; grid-auto-flow: column; justify-content: start; gap: 22px; } }

/* Footer ---------------------------------------------------------------- */
.foot { background: var(--slate); color: var(--on-dark); padding: calc(clamp(60px, 8vw, 96px) + var(--gable)) 0 28px; clip-path: polygon(0 var(--gable), 50% 0, 100% var(--gable), 100% 100%, 0 100%); margin-top: calc(var(--gable) * -1); position: relative; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.foot .brand { margin-bottom: 16px; }
.foot .brand small { color: var(--on-dark-dim); }
.foot p { color: var(--on-dark-dim); font-size: 0.95rem; max-width: 36ch; }
.foot h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cedar-3); font-weight: 700; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; color: var(--on-dark-dim); }
.foot ul a { text-decoration: none; overflow-wrap: anywhere; }
.foot ul a:hover { color: #fff; }
.foot .hours td { border-color: rgba(255, 255, 255, 0.14); }
.foot .hours td:last-child { color: var(--on-dark-dim); }
.foot .hours tr.today td { color: #fff; }
.foot .small { margin-top: 12px; }
.foot-demo { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.82rem; color: var(--on-dark-dim); }
.foot-demo strong { color: #fff; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Less motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-lay], .js .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  .js [data-rise] img, .js .hero [data-hero-pic] img { clip-path: none !important; }
  .js .layers:not(.is-in) .ly { opacity: 1; transform: none; }
}

/* ======================================================================
   Home, second pass (Atakan: "more impressive"). One thread runs through
   the page: storm night, inspection, quote, new roof, handover. Full slate,
   cedar and storm-sky panels, photos cropped big, one stage in the middle.
   ====================================================================== */

/* Hero: the photo sits under a gable, the headline runs across it */
.hero-big { position: relative; min-height: 100svh; background: var(--slate); color: #fff; display: flex; align-items: flex-end; padding: calc(var(--hdr-h) + 18vh) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero-photo { position: absolute; inset: var(--hdr-h) 0 0; clip-path: polygon(0 16%, 50% 0, 100% 16%, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 35, 38, 0.15) 0%, rgba(31, 35, 38, 0.55) 45%, rgba(31, 35, 38, 0.92) 100%); }
.hero-inner { position: relative; width: 100%; }
.hero-big .tag { color: var(--cedar-3); }
.hero-big .tag::before { background: var(--cedar-3); }
.t-hero { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.3rem, 10.5vw, 10.5rem); line-height: 0.9; letter-spacing: 0.005em; margin: 0 0 28px; max-width: 14ch; }
.t-hero .c { color: var(--cedar-3); display: block; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.hero-big .lede { color: #dfe5ea; margin: 0; }
.hero-big .hero-cta { margin: 0; justify-content: flex-end; }
.hero-big .hero-strip { grid-column: 1 / -1; color: #c7d0d7; border-top-color: rgba(255, 255, 255, 0.25); margin-top: 6px; }
.hero-big .status strong { color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #9aa6af; }
.btn-light:hover { background: var(--sky); }
.js .hero-big [data-hero-pic] img { clip-path: none; transform: scale(1.08); transition: transform 2400ms var(--build); }
.js .hero-big.is-up [data-hero-pic] img { transform: none; }
@media (max-width: 860px) { .hero-foot { grid-template-columns: minmax(0, 1fr); } .hero-big .hero-cta { justify-content: flex-start; } .hero-big { padding-top: calc(var(--hdr-h) + 26vh); } }

/* Rain: each line runs down once and is gone */
.rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rain line { stroke: rgba(214, 226, 234, 0.6); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 46 600; stroke-dashoffset: 46; opacity: 0; }
.hero-big.is-up .rain line, .sec-night.is-in .rain line { animation: rainfall 1500ms var(--build) both; animation-delay: calc(var(--r) * 80ms + 300ms); }
@keyframes rainfall { 0% { stroke-dashoffset: 46; opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: -190; opacity: 0; } }

/* Stage: the exploded roof closes while you scroll, layer by layer, once */
.stage-sec { position: relative; height: 320vh; background: var(--slate); color: var(--on-dark); }
.stage { position: sticky; top: var(--hdr-h); height: calc(100svh - var(--hdr-h)); display: flex; align-items: center; overflow: hidden; }
.stage-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
.stage-copy .tag { color: var(--cedar-3); }
.stage-copy .t-xl { margin-bottom: 24px; font-size: clamp(2.2rem, 4.4vw, 4rem); }
.stage-copy .t-xl .c { color: var(--cedar-3); display: block; }
.stage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stage-list li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.35; transition: opacity 250ms linear; }
.stage-list .ln { font-family: var(--display); color: var(--cedar-3); font-size: 1.1rem; }
.stage-list h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.03em; color: #fff; }
.stage-list p { margin: 4px 0 0; font-size: 0.92rem; color: var(--on-dark-dim); display: none; }
.stage-list li.done { opacity: 0.7; }
.stage-list li.on { opacity: 1; }
.stage-list li.on p { display: block; }
.stage-art .xsec { width: 100%; max-height: calc(100svh - var(--hdr-h) - 40px); }
.stage .ly { transition: none; cursor: default; }
@media (max-width: 900px) {
  .stage-sec { height: 280vh; }
  .stage-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stage-art { order: -1; }
  .stage-art .xsec { max-height: 34svh; }
  .stage-copy .t-xl { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: 12px; }
  .stage-list li { padding: 5px 0; }
  .stage-list h3 { font-size: 1rem; }
  .stage-copy .tag { margin-bottom: 8px; }
}
@media (max-height: 640px) and (max-width: 900px) { .stage-copy .t-xl { display: none; } }

/* The thread: a cedar line down the left edge of every chapter */
.chap-sec { padding: clamp(80px, 11vw, 150px) 0; }
.thread { position: relative; }
.thread::before { content: ""; position: absolute; left: calc(var(--gutter) - clamp(10px, 2vw, 26px)); top: -40px; bottom: -40px; width: 2px; background: var(--cedar-3); opacity: 0.7; }
.sec-cedar .thread::before { background: #fff; opacity: 0.5; }
.chap { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.chap-n { font-family: var(--display); font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 0.8; color: var(--cedar-3); }
.chap-of { font-family: var(--display); font-size: 1.2rem; opacity: 0.6; }
.chap-t { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }
.sec-sky .chap-n { color: var(--cedar); }
.sec-cedar .chap-n { color: #fff; }
.chap-sec .t-xl { max-width: 17ch; margin-bottom: 20px; }
.sec-cedar .lede { color: #fbeee4; }
.sec-slate .ticks li, .sec-slate .lede { color: var(--on-dark-dim); }

/* 01 storm night */
.sec-night { background: #1c1f22; color: var(--on-dark); overflow: hidden; }
.sec-night .lede { color: var(--on-dark-dim); }
.night-photo { position: absolute; inset: 0 0 auto; height: 70%; }
.night-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.night-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 31, 34, 0.2), #1c1f22); }
.sec-night .wrap { position: relative; }
.night-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.sec-night .check { background: #2b2f33; color: var(--on-dark); box-shadow: 10px 10px 0 var(--cedar); }
.sec-night .warn { background: #1c1f22; color: var(--on-dark); }
.sec-night .ck-list li { border-color: rgba(255, 255, 255, 0.12); }
.sec-night .ck-list .box { background: #1c1f22; border-color: var(--on-dark-dim); }
.sec-night .ck-msg { color: var(--on-dark-dim); }
@media (max-width: 900px) { .night-grid { grid-template-columns: minmax(0, 1fr); } }

/* 02 inspection: the photo bleeds off the left edge, chalk circles draw once */
.bleed-left { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bleed-left.thread::before { display: none; }
.bleed-pic { position: relative; margin-left: calc(-1 * var(--gutter) - (100vw - min(100vw, var(--max))) / 2); clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.bleed-pic img { width: 100%; min-height: clamp(320px, 46vw, 600px); object-fit: cover; }
.chalk i { position: absolute; width: 11%; aspect-ratio: 1; border: 3px solid rgba(255, 255, 255, 0.92); border-radius: 50% 46% 52% 48%; clip-path: inset(0 100% 0 0); transition: clip-path 600ms var(--build); }
.chalk i:nth-child(1) { left: 22%; top: 30%; transition-delay: 1000ms; }
.chalk i:nth-child(2) { left: 48%; top: 52%; transition-delay: 1300ms; }
.chalk i:nth-child(3) { left: 63%; top: 22%; transition-delay: 1600ms; }
.is-in .chalk i, .no-motion .chalk i { clip-path: inset(0); }
@media (max-width: 900px) { .bleed-left { grid-template-columns: minmax(0, 1fr); } .bleed-pic { margin-right: calc(-1 * var(--gutter)); clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); } }

/* 03 quote: the estimator as a big stage */
.sec-cedar .est { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); margin-top: 40px; }
.sec-cedar .field > label, .sec-cedar .field legend { color: #fff; }
.sec-cedar .small.dim { color: #f6e2d4; }
.sec-cedar .range-row output { color: #fff; }
.sec-cedar .mat span { background: #fff; color: var(--ink); }
.sec-cedar .est-out { box-shadow: none; }
.house { max-width: 100%; }
.sec-cedar .house { margin-bottom: 20px; }
.sec-cedar .est-out .btn { background: #fff; color: var(--ink); box-shadow: 0 4px 0 #9aa6af; }
.house .h-roof { fill: var(--cedar); }

/* 04 new roof: big photo, then the shingle courses lay down one by one */
.reroof-photo { margin: calc(-1 * clamp(80px, 11vw, 150px)) 0 clamp(48px, 6vw, 80px); height: clamp(280px, 52vw, 640px); clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); }
.reroof-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.sec-slate .courses .tab { background: #40464c; }
.sec-slate .courses .tab:nth-child(n+4), .sec-slate .courses::after { background: #4b5258; }
.sec-slate .courses::before { background: #40464c; }
.sec-slate .courses .tab:hover { background: var(--cedar-2); }
.courses-lay { margin-top: 40px; }
.js .courses-lay .tab { opacity: 0; transform: translateY(-30px) rotate(-1.5deg); transition: opacity 250ms linear, transform 650ms var(--lay); transition-delay: var(--d); }
.js .courses-lay.is-in .tab { opacity: 1; transform: none; }

/* 05 handover */
.hand-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.quotes-stack { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 10px 0 24px; }
.quotes-stack figure { margin-bottom: -6px; box-shadow: 0 10px 0 rgba(29, 32, 35, 0.12); }
.quotes-stack figure:nth-child(2) { margin-left: 8%; border-top-color: var(--cedar); }
.quotes-stack figure:nth-child(3) { margin-left: 16%; }
.hand-pic { position: sticky; top: calc(var(--hdr-h) + 30px); margin-right: calc(-1 * var(--gutter) - (100vw - min(100vw, var(--max))) / 2); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hand-pic img { width: 100%; min-height: clamp(320px, 40vw, 560px); object-fit: cover; }
@media (max-width: 900px) { .hand-grid { grid-template-columns: minmax(0, 1fr); } .hand-pic { position: static; } .quotes-stack figure:nth-child(n) { margin-left: 0; } }
.cta-big .t-xl { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .rain { display: none; }
  .js .courses-lay .tab { opacity: 1 !important; transform: none !important; }
  .chalk i { clip-path: none !important; }
  .stage-sec { height: auto; }
  .stage { position: static; height: auto; padding: 80px 0; }
  .stage-list li { opacity: 1; }
  .stage-list p { display: block; }
}
.sec-cedar .seg span { color: var(--ink); }
.sec-cedar .seg input:checked + span { color: #fff; }
.hero-big { padding-top: calc(var(--hdr-h) + 12vh); }
@media (max-width: 900px) { .sec-cedar .est { grid-template-columns: minmax(0, 1fr); } }
