/* Rodney's Roofing & Home Remodeling
   A daily paper with one story: your roof.
   Newsprint white, press-ink black, one red streak. */

@font-face {
  font-family: "Roboto Serif";
  src: url("/assets/fonts/roboto-serif-var.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f7f7f3;
  --paper-2: #ecece6;
  --ink: #141615;
  --ink-2: #4a4f4c;
  --rule-soft: #c6c9c2;
  --red: #cc2219;
  --white: #fdfdfb;

  --serif: "Roboto Serif", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Arial Narrow", Arial, sans-serif;

  --bar-h: 60px;
  --gutter: clamp(20px, 4vw, 56px);
  --stop: cubic-bezier(0.2, 0, 0, 1);   /* quick, then a hard stop */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--ink) var(--paper); scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 96%;
  font-variant-numeric: lining-nums;
  caret-color: var(--red);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--red); color: #fff; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: 3px; } }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn--red:focus-visible, .btn--ink:focus-visible { outline-offset: 4px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; font: 700 0.9375rem/1 var(--sans); text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ small type */
.label { font: 700 0.75rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.ico { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 20px;
  font: 700 1rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 2px;
  cursor: pointer;
  transition: transform 90ms var(--stop), background-color 90ms linear, color 90ms linear, border-color 90ms linear;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn:active { transform: translateY(2px); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--paper); }
  .btn--ink:hover { background: var(--paper); color: var(--ink); }
  .btn--red:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------ masthead (front page only) */
.masthead { padding: clamp(14px, 2.2vw, 26px) var(--gutter) 0; }
.masthead__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 2vw, 28px); }
.ear { border: 1px solid var(--ink); padding: 9px 12px; max-width: 13.5rem; font: 500 0.8125rem/1.3 var(--sans); }
.ear b { display: block; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; margin-bottom: 2px; }
.ear--r { justify-self: end; text-align: right; }
.nameplate {
  font-family: var(--serif); font-weight: 850; font-stretch: 62%;
  font-size: clamp(2.05rem, 4.05vw, 4.4rem); line-height: 0.94; letter-spacing: -0.012em;
  text-align: center; text-wrap: balance;
}
.folio {
  position: relative; display: flex; justify-content: space-between; gap: 16px;
  margin-top: clamp(12px, 1.6vw, 20px); padding: 9px 0 7px;
  border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
  font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.09em; text-transform: uppercase;
}
.folio::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1px solid var(--ink); }
.folio span:nth-child(2) { text-align: center; }
.folio span:last-child { text-align: right; color: var(--red); }
.ear { white-space: nowrap; }
@media (max-width: 1099px) {
  .masthead__row { grid-template-columns: 1fr; }
  .ear { display: none; }
}
@media (max-width: 899px) { .folio span:first-child { display: none; } }

/* ------------------------------------------------------------ the bar (sticky header) */
.bar {
  position: sticky; top: 0; z-index: 60; height: var(--bar-h);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  padding: 0 var(--gutter); background: var(--paper); border-bottom: 1px solid var(--ink);
}
.bar__name {
  font-family: var(--serif); font-size: 1.3125rem; line-height: 1; white-space: nowrap; text-decoration: none;
  font-variation-settings: "wght" 850, "wdth" 62;
  transition: font-variation-settings 220ms steps(4, end), opacity 80ms linear;
}
.js .home .bar:not(.is-stuck) .bar__name { display: none; }
.js .home .bar.is-stuck .bar__name { animation: name-in 240ms steps(4, end) 1; }
@keyframes name-in { from { font-variation-settings: "wght" 850, "wdth" 50; opacity: 0.2; } }
.bar__tag { display: none; font: 700 0.75rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.bar__nav ul { display: flex; gap: clamp(14px, 1.6vw, 24px); list-style: none; }
.bar__nav a { display: block; padding: 10px 0; font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow 90ms linear; }
.bar__nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { box-shadow: inset 0 -2px 0 var(--ink); } }
.bar__cta { margin-left: auto; display: flex; gap: 8px; }
.bar__cta .btn { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 2px; font: 700 0.8125rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: ""; width: 16px; height: 10px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--paper), inset 0 4px 0 var(--ink); }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu[open] summary::before { border-color: var(--paper); box-shadow: inset 0 2px 0 var(--ink), inset 0 4px 0 var(--paper); }
.menu__panel { position: absolute; left: 0; right: 0; top: var(--bar-h); background: var(--paper); border-bottom: 1px solid var(--ink); padding: 8px var(--gutter) 20px; }
.menu__panel ul { list-style: none; }
.menu__panel a { display: block; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); font-family: var(--serif); font-size: 1.375rem; font-weight: 700; font-stretch: 80%; text-decoration: none; }
@media (max-width: 1219px) {
  .bar__nav { display: none; }
  .js .home .bar:not(.is-stuck) .bar__tag { display: block; }
  .menu { display: block; order: 3; margin-left: 0; }
}
@media (max-width: 719px) {
  :root { --bar-h: 58px; }
  .menu summary { min-height: 48px; }
  .colophon li a, .colophon address a { padding: 11px 0; }
  .bar__cta { display: none; }
  .menu { margin-left: auto; }
  .bar__name { font-size: 1.125rem; }
  .bar__name span { display: none; }
}

/* ------------------------------------------------------------ split screen: one half holds, the other scrolls */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--ink); }
.split__pin {
  position: sticky; top: var(--bar-h); align-self: start;
  display: flex; flex-direction: column; gap: clamp(12px, 2vh, 20px);
  padding: clamp(28px, 4.4vw, 60px) var(--gutter) clamp(20px, 3vw, 36px);
  container-type: inline-size;
}
.split__pin--full { height: calc(100svh - var(--bar-h)); padding-top: clamp(18px, 3.4vh, 40px); padding-bottom: clamp(16px, 2.6vh, 28px); }
.split__scroll { min-width: 0; padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(48px, 6vw, 96px); border-left: 1px solid var(--ink); }
@media (min-width: 900px) and (max-height: 620px) { .split__pin--full .photo { display: none; } }
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__pin, .split__pin--full { position: static; height: auto; padding-top: 28px; padding-bottom: 28px; }
  .split__scroll { border-left: 0; border-top: 1px solid var(--ink); }
  .split__pin .photo { height: 62vw; max-height: 380px; flex: none; }
}

/* ------------------------------------------------------------ the day (front-page signature) */
.day { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "pin intro" "pin feed"; border-bottom: 1px solid var(--ink); }
.day__pin {
  grid-area: pin; position: sticky; top: var(--bar-h); align-self: start; height: calc(100svh - var(--bar-h));
  display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 16px);
  padding: clamp(14px, 2.6vh, 28px) var(--gutter) clamp(12px, 2vh, 22px);
  background: var(--paper); container-type: inline-size;
}
.day__pin::after { content: ""; position: absolute; top: 0; right: -4px; width: 7px; height: 100%; background: var(--red); transform: scaleY(0); transform-origin: 50% 0; transition: transform 260ms steps(6, end); }
.day[data-final] .day__pin::after { transform: scaleY(1); }
.day__intro { grid-area: intro; padding: clamp(28px, 4.4vw, 60px) var(--gutter) clamp(20px, 3vw, 36px); border-left: 1px solid var(--ink); }
.day__feed { grid-area: feed; padding: 0 var(--gutter) clamp(40px, 6vw, 88px); border-left: 1px solid var(--ink); }

.hud { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.hud__clock {
  font-family: var(--serif); font-size: clamp(2.6rem, 13cqw, 6rem); line-height: 0.8; letter-spacing: -0.02em; white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  font-variation-settings: "wght" var(--wght, 800), "wdth" var(--wdth, 83);
  transition: font-variation-settings 160ms steps(3, end);
}
.hud__ampm { font: 700 0.24em/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; font-variation-settings: normal; margin-left: 0.2em; }
.hud__edition { flex: none; padding: 7px 10px 6px; background: var(--ink); color: var(--paper); font: 700 0.75rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 90ms linear; }
.day[data-final] .hud__edition { background: var(--red); color: #fff; }

.photo { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.photo__frame { position: relative; flex: 1; min-height: 0; max-height: 128cqw; overflow: hidden; border: 1px solid var(--ink); background: var(--paper-2); }
.photo__frame .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.cutline { padding-top: 8px; font: 500 0.8125rem/1.4 var(--sans); color: var(--ink-2); min-height: 2.6em; }
.cutline b { color: var(--ink); font-weight: 700; }

.day__intro h1 {
  font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 4.4rem); line-height: 0.98; letter-spacing: -0.016em; text-wrap: balance;
  font-variation-settings: "wght" 800, "wdth" 78; margin-bottom: clamp(14px, 1.6vw, 22px);
}
.deck { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.42; font-stretch: 90%; max-width: 44ch; text-wrap: pretty; }
.day__intro .cta-row { margin-top: clamp(18px, 2vw, 26px); }
.feed__head { margin-top: clamp(20px, 3vw, 40px); padding-top: 14px; border-top: 3px solid var(--ink); }
.feed__head h2 { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.15; font-variation-settings: "wght" 700, "wdth" 86; }
.feed__head p { margin-top: 6px; font: 500 0.875rem/1.45 var(--sans); color: var(--ink-2); max-width: 54ch; }

.dispatch { display: flex; flex-direction: column; justify-content: center; min-height: calc(26vh + var(--ticks, 8) * 3.4vh); padding: clamp(28px, 6vh, 64px) 0; border-bottom: 1px solid var(--rule-soft); }
.dispatch:last-child { border-bottom: 0; }
.dispatch h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1.04; letter-spacing: -0.012em; text-wrap: balance; font-variation-settings: "wght" 760, "wdth" 80; margin-bottom: 14px; }
.dispatch time { color: var(--red); font-variant-numeric: lining-nums tabular-nums; }
.dispatch p { max-width: 58ch; text-wrap: pretty; }
.dispatch p + p { margin-top: 0.9em; }
.dispatch .cta-row { margin-top: 20px; }

@media (max-width: 899px) {
  .day { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "pin" "feed"; }
  .day__intro, .day__feed { border-left: 0; }
  .day__pin { height: 43svh; min-height: 270px; z-index: 5; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 10px var(--gutter) 12px; gap: 8px; }
  .day__pin::after { top: auto; bottom: -1px; right: 0; width: 100%; height: 6px; transform: scaleX(0); transform-origin: 0 50%; }
  .day[data-final] .day__pin::after { transform: scaleX(1); }
  .hud__clock { font-size: 2.5rem; }
  .cutline { display: none; }
  .dispatch { min-height: calc(22svh + var(--ticks, 8) * 3svh); justify-content: flex-start; padding-top: 34px; }
  .feed__head { border-top: 0; }
}

/* ------------------------------------------------------------ pictures: flat "press photo" drawings */
.scene { display: block; --sky: #f6e6cf; }
.scene[data-sky="dawn"] { --sky: #f6e8e1; }
.scene[data-sky="day"] { --sky: #e7eff2; }
.scene[data-sky="gold"] { --sky: #f6e6cf; }
.scene[data-sky="dusk"] { --sky: #e7d6dc; }
.scene[data-sky="night"] { --sky: #cfcbd6; }
.scene .sky { fill: var(--sky); }
.scene .room { fill: #eef0ec; }
.s-ink { fill: var(--ink); } .s-paper { fill: var(--paper); } .s-red { fill: var(--red); }
.s-stroke { stroke: var(--ink); stroke-width: 1.5; }
.s-line { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.s-hair { fill: none; stroke: var(--ink); stroke-width: 1; }
.s-soft { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0.3; }
.sun { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.win { fill: #3a3f3d; } .muntin { fill: none; stroke: var(--paper); stroke-width: 2; }
.door { fill: #2a2e2c; } .door-panel { fill: none; stroke: var(--paper); stroke-width: 1; opacity: 0.45; }
.deck { fill: #e7e1d3; } .plank { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0.4; }
.rot { fill: #6a655b; }
.newboard { fill: #f6f2e7; stroke: var(--ink); stroke-width: 1.4; } .is-hot .newboard { stroke: var(--red); stroke-width: 3.5; }
.naildot { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.felt { fill: #b3b8b2; } .felt-ice { fill: #6e7471; }
.felt-print { fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-dasharray: 14 24; opacity: 0.6; }
.sh { fill: #262a28; } .sh-tA { fill: #1b1e1d; } .sh-tB { fill: #323634; } .sh-tC { fill: #3d413f; }
.sh-slit { fill: none; stroke: var(--paper); stroke-width: 1; opacity: 0.16; }
.sh-shadow { fill: none; stroke: #0b0c0c; stroke-width: 1.3; }
.hotline { fill: none; stroke: var(--red); stroke-width: 4; opacity: 0; } .is-hot .hotline { opacity: 1; }
.oldfelt { fill: #343836; } .sh-oA { fill: #737875; } .sh-oB { fill: #8b908b; } .sh-oC { fill: #5e6360; } .sh-oD { fill: #9ea39d; }
.curl { fill: #c4c8c2; } .streak { fill: #1c1f1e; opacity: 0.22; }
[data-k="rotring"] { fill: none; stroke: var(--red); stroke-width: 5; }
[data-k="drip"] { fill: #e3e6e1; stroke: var(--ink); stroke-width: 1; } [data-k="drip"].is-hot { fill: var(--red); }
.spout { fill: none; stroke: var(--ink); stroke-width: 6; }
.flash-old { fill: #4e5350; }
.flash-new { fill: #e3e6e1; stroke: var(--ink); stroke-width: 1.2; } .is-hot .flash-new { fill: var(--red); }
.capfill { fill: #1b1e1d; stroke: var(--paper); stroke-width: 0.6; }
.tarp { fill: #edefea; stroke: var(--ink); stroke-width: 1.5; }
.rail { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; } .rung { fill: none; stroke: var(--ink); stroke-width: 3; }
.bundle { fill: #2b2f2d; stroke: var(--paper); stroke-width: 0.8; } .bundle-band { fill: none; stroke: var(--paper); stroke-width: 1; opacity: 0.6; }
[data-k^="nail-"] { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; }
[data-k^="lump-"] { fill: #4a4f4c; stroke: var(--ink); stroke-width: 1.2; }
.rim { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: square; }
.veil { fill: #0e1110; opacity: 0.9; } .nightline { fill: none; stroke: var(--paper); stroke-width: 1.5; opacity: 0.5; }
.lit { fill: #fff4cf; } .lit-muntin { fill: none; stroke: #0e1110; stroke-width: 2; } .glow { fill: #fff4cf; opacity: 0.14; }
[data-k="moon"] { fill: var(--paper); }
.rainfall, .rainfall-still { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; opacity: 0.6; }
/* the wall */
.wood { fill: #e6dcc6; } .batt { fill: #f6f1e3; }
.cable { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1 0; }
.glass { fill: #e7eff2; }
[data-k^="sheet-"], .sheetfill { fill: #e4e3de; stroke: var(--ink); stroke-width: 1.5; }
[data-k^="sheet-"].is-hot { stroke: var(--red); stroke-width: 4; }
[data-k^="screws-"] { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; } [data-k^="screws-"].is-hot { stroke: var(--red); }
.mud { fill: #f8f7f3; } .tape { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.55; }
.is-hot .mud { fill: #f3c9c5; }
[data-k="paint"] { fill: var(--white); }
.trimfill { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; } .is-hot .trimfill { stroke: var(--red); stroke-width: 3; }

.scene .off { opacity: 0; }
.scene .a--roll.off, .scene .a--rolldown.off { opacity: 1; }
.scene .a--roll { transform-box: fill-box; transform-origin: 0 50%; }
.scene .a--roll.off { transform: scaleX(0); }
.scene .a--rolldown { transform-box: fill-box; transform-origin: 50% 0; }
.scene .a--rolldown.off { transform: scaleY(0); }
/* only the pictures that move get the moves: quick clicks, hard stops */
.scene--live .a { transition: opacity 90ms linear, transform 150ms var(--stop); }
.scene--live .a--drop.off { transform: translateY(-9px); }
.scene--live .a--fall.off { transform: translateY(12px); }
.scene--live .a--up.off { transform: translateY(26px); }
.scene--live .a--truck { transition: opacity 70ms linear, transform 260ms var(--stop); }
.scene--live .a--truck.off { transform: translateX(320px); }
.scene--live .a--roll { transition: transform 240ms steps(6, end); }
.scene--live .a--rolldown { transition: transform 300ms steps(6, end); }
.scene--live .a--veil { transition: opacity 200ms steps(4, end); }
.scene--live .sky { transition: fill 160ms steps(3, end); }
.scene--live [data-k="rain"]:not(.off) .rainfall { animation: rain 0.42s steps(4, end) infinite; }
@keyframes rain { to { transform: translate(-26px, 84px); } }

/* ------------------------------------------------------------ inner pages: the pinned half */
.crumbs { font: 600 0.75rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--red); }
.crumbs a { text-decoration: none; }
.headline {
  font-family: var(--serif); line-height: 0.96; letter-spacing: -0.018em;
  font-size: min(4.8rem, calc((50vw - 2 * var(--gutter)) / (var(--chars, 16) * 0.585)));
  font-variation-settings: "wght" var(--wght, 780), "wdth" var(--wdth, 82);
  transition: font-variation-settings 180ms steps(3, end);
}
.headline span { display: block; white-space: nowrap; }
.split__pin .deck { max-width: 42ch; }
.split__pin .photo { margin-top: auto; }
@media (max-width: 899px) {
  .headline { font-size: clamp(2.3rem, 10.4vw, 3.7rem); }
  .headline span { display: inline; white-space: normal; }
}

/* ------------------------------------------------------------ articles */
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-family: var(--serif); font-size: clamp(1.7rem, 2.5vw, 2.3rem); line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance;
  font-variation-settings: "wght" 720, "wdth" 84; transition: font-variation-settings 280ms steps(4, end);
  margin-top: clamp(2.4rem, 5vw, 4rem); padding-top: 14px; border-top: 3px solid var(--ink);
}
.prose > h2:first-child { margin-top: 0; }
.js .prose h2[data-vf]:not(.is-set), .js .section-title[data-vf]:not(.is-set) { font-variation-settings: "wght" 900, "wdth" 52; }
.prose h3 { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.2; font-weight: 700; font-stretch: 86%; margin-top: 1.7em; }
.prose p, .prose li, .prose dd { max-width: 62ch; text-wrap: pretty; }
.prose .lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.45; font-stretch: 92%; }
.prose .lead::first-letter { float: left; font-size: 3.55em; line-height: 0.8; padding: 0.06em 0.09em 0 0; font-weight: 900; font-stretch: 70%; }
.prose ul, .prose ol { list-style: none; display: grid; gap: 0.55em; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ""; position: absolute; left: 0.1em; top: 0.62em; width: 0.42em; height: 0.42em; background: var(--red); }
.prose ol { counter-reset: step; }
.prose ol li { position: relative; padding-left: 2.4em; counter-increment: step; }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: 0.08em; width: 1.7em; font: 800 0.9375rem/1.7 var(--sans); text-align: center; border: 1.5px solid var(--ink); font-variant-numeric: tabular-nums; }
.prose strong { font-weight: 750; }
.note { font: 500 0.875rem/1.5 var(--sans); color: var(--ink-2); max-width: 60ch; }
.endmark { display: inline-block; width: 0.5em; height: 0.5em; margin-left: 0.4em; background: var(--red); vertical-align: baseline; }

.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--ink); font-size: 1rem; line-height: 1.4; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--rule-soft); }
.prose thead th { font: 800 0.75rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }
.prose tbody th { font-weight: 700; width: 46%; }

.facts { border: 1px solid var(--ink); padding: 4px 18px 6px; }
.facts div { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--rule-soft); }
.facts div:last-child { border-bottom: 0; }
.facts dt { flex: 1; display: flex; align-items: baseline; gap: 10px; font: 800 0.75rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.facts dt::after, .measure__out dt::after { content: ""; flex: 1; min-width: 14px; border-bottom: 2px dotted var(--ink-2); transform: translateY(-4px); }
.facts dd { text-align: right; font-weight: 600; max-width: 24ch; }
@media (max-width: 480px) { .facts div { flex-direction: column; gap: 2px; } .facts dt::after { display: none; } .facts dd { text-align: left; max-width: none; } }

.faq { display: grid; border-top: 1px solid var(--ink); margin-top: 1.2em; }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.25; font-weight: 700; font-stretch: 86%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 0.3em; background: linear-gradient(var(--ink), var(--ink)) 50% 50% / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% 50% / 2px 100% no-repeat; transition: transform 120ms var(--stop); }
.faq details[open] summary::after { background: linear-gradient(var(--red), var(--red)) 50% 50% / 100% 2px no-repeat; }
.faq details p { padding: 0 0 18px; max-width: 60ch; }

/* ------------------------------------------------------------ section fronts and stories */
.section-title {
  font-family: var(--serif); font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 0.98; letter-spacing: -0.016em; text-wrap: balance;
  font-variation-settings: "wght" 800, "wdth" 78; transition: font-variation-settings 280ms steps(4, end);
}
.section-intro { margin-top: 14px; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 32px); padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule-soft); align-items: start; }
.story:first-child { padding-top: 0; }
.story:last-child { border-bottom: 0; padding-bottom: 0; }
.story__pic { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--ink); background: var(--paper-2); }
.story__pic .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.js .story__pic[data-print] .scene { clip-path: inset(0 0 100% 0); transition: clip-path 420ms steps(7, end); }
.js .story__pic[data-print].is-in .scene { clip-path: inset(0 0 0 0); }
.story__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.06; letter-spacing: -0.01em; font-variation-settings: "wght" 760, "wdth" 80; margin-bottom: 10px; }
.story__title a { text-decoration: none; }
.story p { text-wrap: pretty; }
.prose .story__title { margin-top: 0; padding-top: 0; border-top: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.prose .story { margin-top: 0; }
.prose .lead + .story { margin-top: clamp(24px, 3vw, 40px); padding-top: clamp(24px, 3vw, 40px); border-top: 3px solid var(--ink); }
.jump { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 700 0.875rem/1.2 var(--sans); letter-spacing: 0.04em; text-decoration: none; padding: 8px 0; box-shadow: inset 0 -2px 0 var(--red); }
.jump .ico { transition: transform 110ms var(--stop); }
@media (hover: hover) and (pointer: fine) { .jump:hover { box-shadow: inset 0 -2px 0 var(--ink); } .jump:hover .ico { transform: translateX(5px); } .story__title a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; } }
@media (max-width: 559px) { .story { grid-template-columns: minmax(0, 1fr); } .story__pic { aspect-ratio: 16 / 10; } }

/* ------------------------------------------------------------ the roof measure */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--ink); }
.desk > * { min-width: 0; padding: clamp(32px, 5vw, 72px) var(--gutter); }
.desk > * + * { border-left: 1px solid var(--ink); }
@media (max-width: 899px) { .desk { grid-template-columns: minmax(0, 1fr); } .desk > * + * { border-left: 0; border-top: 1px solid var(--ink); } }
.desk h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1; letter-spacing: -0.014em; text-wrap: balance; font-variation-settings: "wght" 800, "wdth" 78; }
.desk__lede { margin-top: 12px; max-width: 52ch; }

.measure { margin-top: 24px; border: 1px solid var(--ink); background: var(--white); }
.measure__top { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 0; border-bottom: 1px solid var(--ink); }
.measure__fields { padding: 16px 18px 18px; display: grid; gap: 14px; }
.measure__pic { border-left: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; background: var(--paper); }
.measure__pic svg { display: block; width: 100%; height: auto; }
.measure__pic .gable { fill: #262a28; transition: d 0s; }
.measure__pic p { margin-top: 6px; text-align: center; font: 800 0.8125rem/1 var(--sans); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label, .field legend, .field .label { display: block; padding: 0; margin-bottom: 6px; font: 700 0.75rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink);
  font: 500 1rem/1.3 var(--sans); appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 108px; resize: vertical; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.field ::placeholder { color: #6b706d; opacity: 1; }
.field .unit { position: relative; }
.field .unit input { padding-right: 38px; font-variant-numeric: tabular-nums; }
.field .unit::after { content: "ft"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 700 0.8125rem/1 var(--sans); color: var(--ink-2); }
.pitch { display: flex; align-items: center; gap: 12px; }
.pitch input[type="range"] { flex: 1; min-width: 0; height: 48px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.pitch input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ink); }
.pitch input[type="range"]::-moz-range-track { height: 2px; background: var(--ink); }
.pitch input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 30px; margin-top: -14px; background: var(--ink); border: 0; border-radius: 0; }
.pitch input[type="range"]::-moz-range-thumb { width: 22px; height: 30px; background: var(--ink); border: 0; border-radius: 0; }
.pitch input[type="range"]:active::-webkit-slider-thumb, .pitch input[type="range"]:focus-visible::-webkit-slider-thumb { background: var(--red); }
.pitch input[type="range"]:active::-moz-range-thumb, .pitch input[type="range"]:focus-visible::-moz-range-thumb { background: var(--red); }
.pitch output { flex: none; min-width: 5.2em; font: 800 0.9375rem/1 var(--sans); font-variant-numeric: tabular-nums; text-align: right; }
.seg { display: grid; grid-template-columns: 1fr 1fr; }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 10px; border: 1px solid var(--ink); font: 700 0.8125rem/1.2 var(--sans); letter-spacing: 0.02em; text-transform: none; text-align: center; }
.seg label + label span { border-left: 0; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.measure__out { padding: 6px 18px 4px; }
.measure__out div { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.measure__out div:last-child { border-bottom: 0; }
.measure__out dt { flex: 1; display: flex; align-items: baseline; gap: 10px; font: 600 0.9375rem/1.3 var(--sans); }
.measure__out dd { font-family: var(--serif); font-size: 1.375rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; font-variation-settings: "wght" 800, "wdth" 78; white-space: nowrap; }
.measure__out dd small { font: 700 0.75rem/1 var(--sans); letter-spacing: 0.04em; margin-left: 4px; font-variation-settings: normal; }
.measure__out .big dd { font-size: 2.1rem; color: var(--red); }
.measure__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 18px 16px; border-top: 1px solid var(--ink); }
.measure__foot .note { flex: 1; min-width: 200px; }
@media (max-width: 479px) { .measure__top { grid-template-columns: minmax(0, 1fr); } .measure__pic { border-left: 0; border-top: 1px solid var(--ink); flex-direction: row; align-items: flex-end; justify-content: center; gap: 14px; } .measure__pic svg { width: 120px; } }

/* ------------------------------------------------------------ the quote coupon */
.coupon { position: relative; margin-top: 26px; padding: clamp(20px, 2.6vw, 30px) clamp(16px, 2.4vw, 28px) clamp(18px, 2.4vw, 26px); border: 2px dashed var(--ink); background: var(--white); }
.coupon__snip { position: absolute; top: -13px; left: 14px; width: 24px; height: 24px; padding: 0 2px; background: var(--paper); color: var(--ink); }
.coupon__snip .ico { width: 22px; height: 22px; stroke-width: 1.7; }
.js .coupon.is-in .coupon__snip { animation: snip 900ms steps(9, end) 1 both; }
@keyframes snip { from { left: 14px; } to { left: calc(100% - 44px); } }
.coupon__title { font-family: var(--serif); font-size: 1.625rem; line-height: 1.1; font-variation-settings: "wght" 800, "wdth" 78; }
.coupon__sub { margin-top: 6px; font: 500 0.9375rem/1.45 var(--sans); color: var(--ink-2); }
.coupon form { margin-top: 18px; display: grid; gap: 14px; }
.coupon .pair { gap: 14px; }
@media (max-width: 479px) { .coupon .pair { grid-template-columns: minmax(0, 1fr); } }
.coupon .btn { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.coupon__fine { font: 500 0.8125rem/1.45 var(--sans); color: var(--ink-2); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 14px; border: 1.5px solid var(--red); font: 600 0.9375rem/1.4 var(--sans); }
.field .err { margin-top: 5px; font: 600 0.8125rem/1.3 var(--sans); color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.bigcall { display: inline-block; font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.02em; font-variation-settings: "wght" 850, "wdth" 70; font-variant-numeric: lining-nums tabular-nums; text-decoration-thickness: 4px; text-underline-offset: 0.12em; white-space: nowrap; }

/* ------------------------------------------------------------ the last word */
.final p { margin-top: 18px; max-width: 46ch; }
.final .cta-row { margin-top: 22px; }

/* ------------------------------------------------------------ plain pages (thank you, privacy, not found) */
.sheet { max-width: 46rem; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 112px); }
.sheet h1 { font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.016em; text-wrap: balance; font-variation-settings: "wght" 850, "wdth" 74; margin: 14px 0 20px; }
.sheet--final { border-right: 7px solid var(--red); max-width: none; }
.sheet--final > * { max-width: 44rem; }

/* ------------------------------------------------------------ footer */
.colophon { padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(24px, 3vw, 36px); }
.colophon__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); padding-top: 18px; border-top: 3px solid var(--ink); position: relative; }
.colophon__grid::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1px solid var(--ink); }
.colophon__name { font-family: var(--serif); font-size: 1.75rem; line-height: 1; font-variation-settings: "wght" 850, "wdth" 62; margin-bottom: 12px; }
.colophon h2 { font: 800 0.75rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.colophon ul { list-style: none; display: grid; gap: 2px; }
.colophon li a, .colophon address a { display: inline-block; padding: 6px 0; text-decoration-color: transparent; }
.colophon address { font-style: normal; }
@media (hover: hover) and (pointer: fine) { .colophon li a:hover, .colophon address a:hover { text-decoration-color: var(--red); } }
.colophon__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: clamp(24px, 3vw, 40px); padding-top: 14px; border-top: 1px solid var(--ink); font: 500 0.8125rem/1.4 var(--sans); color: var(--ink-2); }
.strip { display: flex; }
.strip i { width: 16px; height: 16px; background: var(--ink); }
.strip i:nth-child(2) { opacity: 0.75; } .strip i:nth-child(3) { opacity: 0.5; } .strip i:nth-child(4) { opacity: 0.28; } .strip i:nth-child(5) { opacity: 0.12; } .strip i:nth-child(6) { background: var(--red); }
@media (max-width: 899px) { .colophon__grid { grid-template-columns: 1fr 1fr; } .colophon__grid > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ phone: the call button never leaves */
.callbar { display: none; }
@media (max-width: 719px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
  .callbar .btn { min-height: 58px; border-radius: 0; border-width: 0; font-size: 1rem; padding: 0 8px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------ calm it down when asked */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .js .story__pic[data-print] .scene { clip-path: none; }
  .js .prose h2[data-vf]:not(.is-set), .js .section-title[data-vf]:not(.is-set) { font-variation-settings: "wght" 720, "wdth" 84; }
}
