/* RNL Constructions — site styles. Engraved plates on plaster paper, their red and grey. */
:root {
  --paper: #f3efe7;
  --paper-2: #e9e3d8;
  --paper-3: #ddd6c8;
  --ink: #1f2427;
  --ink-2: #41484b;
  --grey: #595e5f;      /* logo grey */
  --red: #c52127;       /* logo red */
  --red-deep: #a11a1f;
  --slate: #23292c;     /* roof iron, for dark panels */
  --rule: #c9c1b2;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --bar: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@view-transition { navigation: auto; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.label--red { color: var(--red-deep); }
.mono { font-family: var(--mono); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The logo's own gesture: members that run past each other at the corners. */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; pointer-events: none; --c: var(--red); --o: 12px; --w: 2px; }
.frame::before { inset: 0 calc(var(--o) * -1); border-top: var(--w) solid var(--c); border-bottom: var(--w) solid var(--c); }
.frame::after { inset: calc(var(--o) * -1) 0; border-left: var(--w) solid var(--c); border-right: var(--w) solid var(--c); }
.frame--grey::before, .frame--grey::after { --c: var(--grey); }
.frame--ink::before, .frame--ink::after { --c: var(--ink); --w: 1px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 22px; border-radius: 3px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.textlink:hover { color: var(--red-deep); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.hdr__in { display: flex; align-items: center; gap: 20px; height: 76px; transition: height .3s var(--ease); }
.hdr.is-scrolled { border-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.hdr.is-scrolled .hdr__in { height: 60px; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__logo { flex: none; display: block; }
.hdr__logo img { width: 96px; height: auto; transition: width .3s var(--ease); }
.hdr.is-scrolled .hdr__logo img { width: 76px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 10px 12px; font-size: .95rem; font-weight: 500; text-decoration: none; border-radius: 3px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red-deep); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.hdr__call { flex: none; font: 600 .95rem/1 var(--mono); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--ink); color: var(--paper); border-radius: 3px; }
.hdr__call:hover { background: var(--red); }
.hdr__call svg { width: 16px; height: 16px; }
.menu-btn { display: none; margin-left: auto; min-width: 48px; min-height: 48px; background: none; border: 0; cursor: pointer; padding: 0 4px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); align-items: center; gap: 8px; }
.menu-btn i { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .25s; }
.menu-btn i::before { top: -7px; } .menu-btn i::after { top: 7px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .hdr__call { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 60px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 24px; display: none; max-height: calc(100svh - 60px - var(--bar)); overflow: auto; }
  .menu-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--paper-3); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .hdr__in { height: 64px; }
  .hdr__logo img { width: 80px; }
}

/* Phone bar: the number never leaves the screen */
.callbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: none; grid-template-columns: 1.25fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--slate); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.5); transition: padding .3s var(--ease); }
.callbar a, .callbar button { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 3px; text-decoration: none; font: 600 .98rem/1.1 var(--sans); border: 0; cursor: pointer; }
.callbar__call { background: var(--red); color: #fff; }
.callbar__call small { display: block; font: 500 11px/1 var(--mono); opacity: .9; letter-spacing: .04em; }
.callbar__ask { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(243,239,231,.55); }
.callbar svg { width: 18px; height: 18px; flex: none; }
.callbar.is-tucked { padding-top: 5px; padding-bottom: calc(5px + env(safe-area-inset-bottom)); }
@media (max-width: 1180px) { .callbar { display: grid; } body { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)); } }
/* desktop: a quiet call tab once the header is out of reach */
.calltab { position: fixed; z-index: 55; right: 24px; bottom: 24px; display: none; align-items: center; gap: 10px; padding: 12px 18px; background: var(--ink); color: var(--paper); border-radius: 3px; font: 600 .95rem/1 var(--mono); text-decoration: none; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); }
.calltab.is-on { opacity: 1; transform: none; }
.calltab:hover { background: var(--red); }
.calltab svg { width: 16px; height: 16px; }
@media (min-width: 1181px) { .calltab { display: inline-flex; } }

/* ---------- Opening plate ---------- */
@property --seam { syntax: "<percentage>"; inherits: true; initial-value: 54%; }
.plate { position: relative; background: var(--slate); }
.plate__art { position: relative; height: min(100svh - 76px, 900px); min-height: 560px; overflow: hidden; --seam: 54%; --tilt: 5%; animation: seam-in 2.6s .5s var(--ease) both; }
.plate__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.plate__mended { clip-path: polygon(calc(var(--seam) + var(--tilt)) 0, 100% 0, 100% 100%, calc(var(--seam) - var(--tilt)) 100%); }
.plate__rain { position: absolute; inset: -10% 0 0; background: url(/img/rain.svg) 0 0 / 300px 300px repeat; opacity: .75; clip-path: polygon(0 0, calc(var(--seam) + var(--tilt)) 0, calc(var(--seam) - var(--tilt)) 100%, 0 100%); animation: rain .55s linear infinite; pointer-events: none; }
.plate__seam { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateX(var(--seam)); pointer-events: none; overflow: visible; }
.plate__fig { position: absolute; top: 20px; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; }
.plate__fig--l { left: var(--gut); color: var(--paper); background: rgba(31,36,39,.55); }
.plate__fig--r { right: var(--gut); color: var(--ink); background: rgba(243,239,231,.8); }
@keyframes seam-in { from { --seam: 97%; } to { --seam: 54%; } }
@keyframes rain { to { background-position: -60px 300px; } }
.plate__title { position: relative; z-index: 2; background: var(--paper); padding: 30px 32px 28px; }
@media (min-width: 761px) {
  .plate { display: grid; grid-template-columns: minmax(360px, 5fr) 7fr; align-items: center; background: var(--paper); }
  .plate__art { order: 2; }
  .plate__title { order: 1; margin: 0 -56px 0 max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); box-shadow: 0 24px 60px -34px rgba(0,0,0,.55); }
}
.plate__title h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin: 10px 0 12px; }
.plate__title p { color: var(--ink-2); margin-bottom: 20px; }
.plate__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); list-style: none; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.plate__facts li::before { content: "—"; color: var(--red); margin-right: 6px; }
@media (max-width: 760px) {
  .plate__art { height: 47svh; min-height: 300px; max-height: 460px; }
  .plate__art img { object-position: 51% 100%; }
  .plate__title { margin: -24px 12px 0; padding: 20px 18px 18px; }
  .plate { background: var(--paper); padding-bottom: 8px; }
  .plate__title h1 { font-size: 1.95rem; margin: 8px 0 10px; }
  .plate__title p { font-size: 1rem; margin-bottom: 16px; }
  .plate__title .btns .btn { flex: 1 1 auto; }
  .plate__fig { top: 10px; font-size: 10px; letter-spacing: .08em; padding: 5px 7px; }
  .plate__fig--r { top: auto; bottom: 36px; }
  .plate__title .label { font-size: 11px; }
  .plate__facts { font-size: 11px; gap: 4px 14px; }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(44px, 9vw, 120px) 0; position: relative; }
.sec--tight { padding: clamp(40px, 6vw, 80px) 0; }
.sec--dark { background: var(--slate); color: var(--paper); }
.sec--dark .label { color: #b9b2a5; }
.sec--dark .lede { color: #cfc8bb; }
.sec--alt { background: var(--paper-2); }
.sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(24px, 4vw, 44px); }
.sec__head h2 { margin: 6px 0 0; max-width: 16em; }
.sec__head p { margin: 0; max-width: 30em; color: var(--ink-2); }
.sec--dark .sec__head p { color: #cfc8bb; }

/* split layout: two halves that answer each other */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- What happened? ---------- */
.wh { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wh__ask fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.wh__ask legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--rule); background: var(--paper); border-radius: 3px; font-weight: 600; font-size: .96rem; transition: border-color .2s, background .2s, color .2s; }
.chip span b { font: 500 11px/1 var(--mono); color: var(--grey); letter-spacing: .06em; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span b { color: #e3a6a8; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.wh__danger { font-size: .9rem; color: var(--ink-2); border-left: 3px solid var(--red); padding: 2px 0 2px 12px; margin: 4px 0 0; }
.wh__show { position: relative; }
.wh__fig { position: relative; margin: 0; background: var(--paper); aspect-ratio: 1000 / 700; overflow: hidden; touch-action: pan-y; user-select: none; --pos: 50%; }
.wh__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.wh__before { display: none; }
.wh__after { clip-path: inset(0 0 0 var(--pos)); }
.wh__after--changes { display: none; }
.wh__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--red); pointer-events: none; }
.wh__grip { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px -6px rgba(0,0,0,.5); }
.wh__grip svg { width: 22px; height: 22px; }
.wh__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.wh__range:focus-visible ~ .wh__line .wh__grip { outline: 3px solid var(--ink); outline-offset: 3px; }
.wh__tag { position: absolute; top: 12px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 8px; background: rgba(243,239,231,.9); pointer-events: none; }
.wh__tag--l { left: 12px; color: var(--red-deep); }
.wh__tag--r { right: 12px; color: var(--ink); }
.wh__out { display: none; margin-top: 22px; }
.wh__out h3 { margin: 4px 0 8px; font-size: 1.35rem; }
.wh__crews { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 14px; }
.wh__crews li { font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 7px 9px; border: 1px solid var(--grey); }
.wh__steps { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: s; }
.wh__steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 7px 0; border-top: 1px solid var(--paper-3); font-size: .98rem; }
.wh__steps li::before { content: "0" counter(s); font: 500 12px/1.9 var(--mono); color: var(--red-deep); }
.wh__note { font: 500 12px/1.5 var(--mono); color: var(--grey); margin: 8px 0 0; }
/* the moving parts inside the room */
.fx { position: absolute; pointer-events: none; display: none; }
.fx-drip { width: 3px; height: 9px; border-radius: 2px 2px 3px 3px; background: #5f7f93; animation: drip 1.5s cubic-bezier(.5,0,.9,.5) infinite; }
.fx-drip:nth-of-type(2) { animation-delay: .55s; } .fx-drip:nth-of-type(3) { animation-delay: 1.05s; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(var(--fall, 150px)); opacity: 0; } }
.fx-water { background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(243,239,231,.55) 18px 30px, transparent 30px 44px) 0 0 / 88px 3px repeat-x, repeating-linear-gradient(90deg, transparent 0 30px, rgba(243,239,231,.4) 30px 38px, transparent 38px 60px) 0 14px / 120px 3px repeat-x; animation: water 3s linear infinite; }
@keyframes water { to { background-position: 88px 0, -120px 14px; } }
.fx-haze { background: radial-gradient(closest-side, rgba(31,36,39,.28), transparent); animation: haze 5s ease-in-out infinite alternate; }
@keyframes haze { from { transform: translateX(-6%) scale(1); opacity: .6; } to { transform: translateX(6%) scale(1.08); opacity: 1; } }
/* which scenario is showing (works with scripts off) */
.wh:has(#wh-storm:checked) [data-for~="storm"],
.wh:has(#wh-leak:checked) [data-for~="leak"],
.wh:has(#wh-flood:checked) [data-for~="flood"],
.wh:has(#wh-fire:checked) [data-for~="fire"],
.wh:has(#wh-impact:checked) [data-for~="impact"],
.wh:has(#wh-changes:checked) [data-for~="changes"] { display: block; }
.wh:has(#wh-changes:checked) .wh__after--fixed { display: none; }
.wh:has(#wh-home:checked) [data-who="biz"], .wh:has(#wh-biz:checked) [data-who="home"] { display: none; }
@media (max-width: 860px) {
  .wh { grid-template-columns: minmax(0, 1fr); }
  .wh__ask fieldset:first-of-type .chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 6px; scrollbar-width: none; }
  .wh__ask fieldset:first-of-type .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .wh__fig { aspect-ratio: 1000 / 720; }
}

/* ---------- Crews row ---------- */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.row > * { scroll-snap-align: start; }
@media (max-width: 860px) { .row { grid-auto-columns: 78%; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut); } }
.crew { text-decoration: none; display: block; background: var(--paper); }
.crew__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.crew__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.crew:hover .crew__img img { transform: scale(1.04); }
.crew__body { padding: 14px 2px 4px; }
.crew__body h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.crew__body h3 span { font: 500 12px/1 var(--mono); color: var(--red-deep); }
.crew__body p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.crew__go { display: inline-block; margin-top: 8px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-deep); }

/* ---------- Register (proof) ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.proof__img { position: relative; }
.proof__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proof__img figcaption { margin-top: 10px; }
.register { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.register li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: .98rem; }
.register li > span:first-child { font: 500 12px/1.7 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.sec--dark .register { border-color: var(--paper); }
.sec--dark .register li { border-color: #424a4e; }
.sec--dark .register li > span:first-child { color: #b9b2a5; }
@media (max-width: 860px) { .proof__img img { aspect-ratio: 16 / 10; } .proof__img figcaption { display: none; } .proof { grid-template-columns: minmax(0, 1fr); } .register li { grid-template-columns: 7.2em 1fr; } }
.ticker { margin-top: clamp(32px, 5vw, 56px); overflow: hidden; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker ul { display: flex; gap: 34px; width: max-content; margin: 0; padding: 0; list-style: none; animation: tick 48s linear infinite; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker li::after { content: "+"; margin-left: 34px; color: var(--red); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Words ---------- */
.words { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; margin: 0; padding-right: 8px; }
.quote blockquote { margin: 0; font: 500 clamp(1.25rem, 2.4vw, 1.75rem)/1.35 var(--display); letter-spacing: -0.01em; }
.quote blockquote::before { content: "“"; color: var(--red); }
.quote blockquote::after { content: "”"; color: var(--red); }
.quote figcaption { margin-top: 14px; }
.quotes__nav { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.quotes__nav button { width: 46px; height: 46px; border: 1.5px solid var(--ink); background: none; border-radius: 3px; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.quotes__nav button:hover { background: var(--ink); color: var(--paper); }
.quotes__nav svg { width: 18px; height: 18px; }
.quotes__count { font: 500 12px/1 var(--mono); color: var(--grey); letter-spacing: .08em; margin-left: 6px; }
.stars { padding: 26px 26px 22px; background: var(--paper); }
.stars .stars__n { margin: 4px 0 0; font: 700 3.4rem/1 var(--display); letter-spacing: -0.03em; }
.stars__n small { font-size: 1rem; color: var(--grey); font-weight: 500; letter-spacing: 0; }
.stars .stars__row { color: var(--red); letter-spacing: 3px; font-size: 1.1rem; margin: 6px 0 12px; }
.stars p { font-size: .98rem; color: var(--ink-2); margin-bottom: .6em; }
@media (max-width: 860px) { .words { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Close (two halves) ---------- */
.close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.close > div { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); }
.close__now { background: var(--red); color: #fff; }
.close__now .label { color: #ffd9da; }
.close__now a.big { display: block; font: 700 clamp(1.9rem, 4.6vw, 3.1rem)/1.05 var(--mono); letter-spacing: -0.02em; color: #fff; text-decoration: none; margin: 10px 0 12px; }
.close__now a.big:hover { text-decoration: underline; text-underline-offset: 6px; }
.close__now p { color: #ffe9ea; margin-bottom: .4em; }
.close__now p a { color: #fff; font-weight: 600; }
.close__plan { background: var(--paper-2); }
.close h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 10px; }
@media (max-width: 760px) { .close { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages ---------- */
.page-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(78svh, 680px); background: var(--paper); border-bottom: 1px solid var(--rule); }
.page-top__text { padding: clamp(36px, 6vw, 88px) var(--gut) clamp(36px, 5vw, 64px) max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); display: flex; flex-direction: column; justify-content: center; }
.page-top__text h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin: 10px 0 14px; }
.page-top__text .lede { margin-bottom: 24px; }
.page-top__img { position: relative; overflow: hidden; background: var(--slate); min-height: 260px; }
.page-top__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-top__img .label { position: absolute; left: 16px; bottom: 14px; background: rgba(243,239,231,.9); padding: 6px 8px; color: var(--ink); }
.crumbs { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red-deep); }
@media (max-width: 860px) {
  .page-top { grid-template-columns: 1fr; min-height: 0; }
  .page-top__img { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .page-top__text { padding: 28px var(--gut) 36px; }
}
.prose { max-width: 40em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin: .3em 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ticks li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: st; border-top: 1px solid var(--ink); }
.steps li { counter-increment: st; padding: 18px 20px 6px 0; border-right: 1px solid var(--rule); }
.steps li + li { padding-left: 20px; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: "0" counter(st); display: block; font: 500 13px/1 var(--mono); color: var(--red-deep); margin-bottom: 10px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .96rem; }
.sec--dark .steps { border-color: var(--paper); } .sec--dark .steps li { border-color: #424a4e; } .sec--dark .steps p { color: #cfc8bb; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .steps li:nth-child(2) { border-right: 0; } .steps li:nth-child(3) { padding-left: 0; } .steps li { padding-left: 0 !important; padding-right: 12px; border-bottom: 1px solid var(--rule); } }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.6rem/1 var(--mono); color: var(--red); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 44em; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 32%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-3); }
.gallery figcaption { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 860px) { .gallery { grid-auto-columns: 82%; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scroll-padding: 0 var(--gut); } }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.cards > div { padding: 20px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.cards > div:not(:nth-child(4n)) { border-right: 1px solid var(--rule); }
.cards > div:not(:nth-child(4n+1)) { padding-left: 18px; }
.cards h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cards p { font-size: .95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cards > div { padding: 16px 12px 14px 0 !important; border-right: 0 !important; } .cards > div:nth-child(odd) { border-right: 1px solid var(--rule) !important; } .cards > div:nth-child(even) { padding-left: 14px !important; } }
.callout { padding: 26px 28px; background: var(--paper-2); }
.person { padding: 26px 26px 22px; background: var(--paper); }
.person h3 { font-size: 1.5rem; margin: 6px 0 8px; }
.mapcard { display: block; text-decoration: none; }

/* forms */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font: 600 .95rem/1.3 var(--sans); }
.form input, .form textarea, .form select { width: 100%; font: 400 1rem/1.4 var(--sans); padding: 13px 14px; border: 1.5px solid var(--grey); border-radius: 3px; background: #fffdf8; color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--red); outline-offset: 0; border-color: var(--ink); }
.form small { font: 400 .85rem/1.4 var(--sans); color: var(--ink-2); }
.form .btn { justify-self: start; }
.form__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 520px) { .form__two { grid-template-columns: minmax(0, 1fr); } }

/* the quote drawer rises over the page */
.drawer { border: 0; padding: 0; margin: auto auto 0; width: min(640px, 100%); max-width: 100%; max-height: 92svh; background: var(--paper); color: var(--ink); border-radius: 6px 6px 0 0; box-shadow: 0 -20px 60px -20px rgba(0,0,0,.5); }
.drawer::backdrop { background: rgba(20,24,26,.55); backdrop-filter: blur(2px); }
.drawer[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { transform: translateY(100%); } }
.drawer__in { padding: 22px clamp(18px, 4vw, 32px) calc(24px + env(safe-area-inset-bottom)); }
.drawer__top { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.drawer__top h2 { font-size: 1.6rem; margin: 6px 0 0; }
.drawer__x { width: 46px; height: 46px; border: 1.5px solid var(--rule); background: none; border-radius: 3px; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink); flex: none; }
.drawer__grip { width: 44px; height: 4px; border-radius: 2px; background: var(--paper-3); margin: 0 auto 14px; }
@media (min-width: 761px) { .drawer { margin: auto; border-radius: 6px; } @keyframes rise { from { transform: translateY(40px); opacity: 0; } } }

/* footer */
.ftr { background: var(--slate); color: #d9d3c7; padding: clamp(48px, 7vw, 88px) 0 28px; font-size: .95rem; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ftr__brand img { width: 120px; background: var(--paper); padding: 10px 12px; }
.ftr__brand p { margin-top: 14px; max-width: 22em; }
.ftr h2 { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #a8a194; margin: 0 0 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr__base { margin-top: 44px; padding-top: 18px; border-top: 1px solid #3d4448; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font: 400 12px/1.6 var(--mono); color: #a8a194; letter-spacing: .03em; }
.ftr__credit a { color: #a8a194; }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ftr__brand { grid-column: 1 / -1; } }

/* arrive as you scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; }
  .plate__art { animation: none; --seam: 54%; }
  .plate__rain, .fx { display: none !important; }
  .ticker ul { animation: none; flex-wrap: wrap; width: auto; row-gap: 12px; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* small utilities (no inline styles: the security policy forbids them) */
.m0 { margin: 0; } .mt-0 { margin-top: .2em; } .mt-s { margin-top: 10px; } .mt-m { margin-top: 18px; } .mt-l { margin-top: 28px; }
.h100 { height: 100%; }
.h-card { font-size: 1.5rem; margin: 8px 0 14px; }
.h-form { font-size: 1.8rem; margin: 8px 0 16px; }
.two--mid { align-items: center; }
.bq-s { font-size: 1.2rem !important; }
.row--quotes { grid-auto-columns: minmax(280px, 1fr); }
.textlink--light { color: var(--paper); }
.pos-bottom { object-position: 50% 100% !important; }
[data-vt="photo-insurance"] { view-transition-name: photo-insurance; }
[data-vt="photo-building"] { view-transition-name: photo-building; }
[data-vt="photo-plastering"] { view-transition-name: photo-plastering; }
[data-vt="photo-painting"] { view-transition-name: photo-painting; }
.fx--s1 { left: 39.6%; top: 38%; --fall: 150px; }
.fx--s2 { left: 37.4%; top: 39%; --fall: 140px; }
.fx--l1 { left: 64%; top: 34%; --fall: 140px; }
.fx--l2 { left: 62%; top: 30%; --fall: 170px; }
.fx-water { left: 11%; right: 15%; top: 51.8%; height: 24px; }
.fx-haze { left: 20%; right: 20%; top: 12%; height: 22%; }
@media (max-width: 860px) {
  .ftr { padding: 40px 0 20px; font-size: .9rem; }
  .ftr__grid { gap: 24px 20px; }
  .ftr__brand { display: flex; gap: 16px; align-items: flex-start; }
  .ftr__brand img { width: 84px; padding: 7px 8px; flex: none; }
  .ftr__brand p { margin: 0; }
  .ftr ul { gap: 6px; }
  .ftr__grid > div:last-child { grid-column: 1 / -1; }
  .ftr__grid > div:last-child ul { grid-template-columns: 1fr 1fr; }
  .ftr__base { margin-top: 26px; }
}
.register li > span:last-child { overflow-wrap: anywhere; }
