:root {
  --sky: #d6e8f3;
  --sky-deep: #bcd7e8;
  --shingle: #272a30;
  --brick: #b5472d;
  --brick-deep: #8e3520;
  --mortar: #f3efe8;
  --ink: #1d2025;
  --display: 'Bricolage Grotesque', 'Trebuchet MS', Arial, sans-serif;
  --body: 'Atkinson Hyperlegible', Verdana, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }
.shingle :focus-visible, .brick :focus-visible, .top :focus-visible, .menu :focus-visible, .foot :focus-visible, .ask :focus-visible { outline-color: #fff; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brick); color: #fff; padding: 10px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.note { font-size: 0.88rem; opacity: 0.72; }

/* brand row scrolls away, the menu row stays */
.top { background: var(--shingle); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.3rem/1 var(--display); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-weight: 500; font-size: 0.8rem; opacity: 0.8; margin-top: 3px; letter-spacing: 0; }
.top-call { font: 700 1.1rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.top-call:hover { color: #f2b9a8; }
.menu { position: sticky; top: 0; z-index: 30; background: var(--shingle); color: #fff; box-shadow: 0 8px 18px rgba(29, 32, 37, 0.2); background-image: repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.05) 38px 40px); }
.menu-in { display: flex; justify-content: space-between; gap: 4px; height: 46px; overflow: hidden; }
.menu a { display: flex; align-items: center; font: 600 0.9rem/1 var(--display); text-decoration: none; white-space: nowrap; padding: 0 2px; box-shadow: inset 0 -4px 0 transparent; }
.menu a:hover { color: #f2b9a8; }
.menu a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--brick); }
.menu a:focus-visible { outline-offset: -3px; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-block; font: 700 1.05rem/1.2 var(--display); padding: 15px 22px; border-radius: 8px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-deep); }
.btn-dark { background: var(--shingle); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--brick-deep); }
.btn-line { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, 0.28); }

/* hero: sky above, a roofline at the bottom edge */
.hero { padding: 40px 0 64px; position: relative; background: linear-gradient(var(--sky), var(--sky-deep)); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--shingle); clip-path: polygon(0 100%, 0 60%, 18% 0, 36% 60%, 100% 60%, 100% 100%); }
.hero-in { display: grid; gap: 32px; align-items: center; }
.kicker { font: 700 0.95rem/1.3 var(--display); color: var(--brick-deep); margin-bottom: 14px; }
.hero h1 { font-weight: 800; font-size: clamp(2.2rem, 8.6vw, 4rem); line-height: 0.98; }
.lead { font-size: 1.2rem; margin: 18px 0 0; max-width: 34em; }
.page-head { padding: 44px 0 40px; background: linear-gradient(var(--sky), var(--sky-deep)); }
.page-head h1 { font-weight: 800; font-size: clamp(2.3rem, 9vw, 4.2rem); }
.standin { display: inline-block; margin: 18px 0 0; background: var(--mortar); padding: 8px 14px; border-radius: 6px; font-size: 0.95rem; }
.score { display: inline-block; margin: 18px 0 0; background: var(--shingle); color: #fff; padding: 8px 14px; border-radius: 6px; font: 700 1rem/1.3 var(--display); }
.score[hidden] { display: none; }

/* before / after slider */
.cmp { margin: 0; }
.cmp-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #000; --pos: 50%; box-shadow: 0 14px 30px rgba(29, 32, 37, 0.22); }
.cmp-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; pointer-events: none; }
.cmp-handle::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--shingle); font: 800 1.3rem/52px var(--display); text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.cmp-stage input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cmp-stage:has(input:focus-visible) { outline: 3px solid var(--brick); outline-offset: 3px; }
.tag { position: absolute; top: 12px; font: 700 0.85rem/1 var(--display); padding: 7px 10px; border-radius: 5px; pointer-events: none; }
.tag-b { left: 12px; background: var(--shingle); color: #fff; }
.tag-a { right: 12px; background: var(--brick); color: #fff; }
.cmp figcaption { margin-top: 12px; font-size: 0.98rem; }
.gallery { display: grid; gap: 40px; }

/* bands */
.band { padding: 60px 0; }
.band.sky { background: var(--sky); }
.band.mortar { background: var(--mortar); }
.band.shingle { background: var(--shingle); color: #fff; padding: 34px 0; }
.band.brick { background: var(--brick); color: #fff; background-image: repeating-linear-gradient(0deg, transparent 0 30px, rgba(0, 0, 0, 0.1) 30px 33px), repeating-linear-gradient(90deg, transparent 0 86px, rgba(0, 0, 0, 0.08) 86px 89px); }
.band h2 { font-weight: 800; font-size: clamp(1.8rem, 6.4vw, 2.9rem); width: fit-content; max-width: 100%; padding-bottom: 10px; background: linear-gradient(var(--brick), var(--brick)) left bottom / 100% 5px no-repeat; }
.band.brick h2, .ask h2 { background: none; padding-bottom: 0; }
.intro { font-size: 1.15rem; margin: 18px 0 1em; max-width: 36em; }
.two { display: grid; gap: 32px; align-items: start; }
.panel { background: var(--mortar); border-radius: 10px; padding: 24px 22px 8px; }
.panel h2 { font-size: 1.6rem; }
.page-head h1 { overflow-wrap: anywhere; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; font-size: 0.98rem; line-height: 1.35; }
.facts strong { display: block; font: 800 1.45rem/1.1 var(--display); color: #f2b9a8; margin-bottom: 4px; }
.pair { display: grid; gap: 16px; margin-top: 28px; }
.slab { background: var(--sky); border-radius: 10px; padding: 24px 22px 8px; box-shadow: inset 0 6px 0 var(--shingle); }
.slab h3 { font-weight: 800; font-size: 1.4rem; margin: 6px 0 12px; }
.cta { display: grid; gap: 4px; }
.cta h2 { font-size: clamp(1.6rem, 5.6vw, 2.4rem); }

/* services: rows laid like courses of brick */
.groups { display: grid; gap: 40px; }
.rows { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; }
.rows li { background: var(--mortar); padding: 14px 18px; border-radius: 4px; box-shadow: inset 6px 0 0 var(--brick); }
.mortar .rows li { background: var(--sky); }
.rows li:nth-child(even) { margin-left: 16px; }
.rows.tight { margin-top: 28px; }

/* tips */
.tips { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.q { background: var(--mortar); border-radius: 10px; padding: 20px 20px 18px; }
.q h3 { font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; }
.q-a { margin-top: 14px; }
.q-a:focus { outline: none; }
.q-a p:last-child { margin-bottom: 0; }
.guess-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; }
.guess-row button { font: 800 1.05rem/1 var(--display); padding: 13px 26px; border-radius: 8px; border: 0; background: var(--shingle); color: #fff; cursor: pointer; transition: transform 0.15s ease; }
.guess-row button:hover { transform: translateY(-2px); }
.q.answered .guess-row { display: none; }
.verdict strong { display: inline-block; font: 800 1.5rem/1 var(--display); background: var(--brick); color: #fff; padding: 8px 14px; border-radius: 6px; margin-right: 10px; }
.q.answered .verdict strong { animation: stamp 0.45s cubic-bezier(0.2, 1.5, 0.4, 1); }
@keyframes stamp { from { transform: scale(1.9) rotate(-8deg); opacity: 0; } }
.you { font-weight: 700; }
.q details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.q details summary::-webkit-details-marker { display: none; }
.q details summary::after { content: '+'; font: 800 1.6rem/0.8 var(--display); color: var(--brick); flex: none; transition: transform 0.2s ease; }
.q details[open] summary::after { transform: rotate(45deg); }

/* facebook */
.news-frame { background: #fff; border-radius: 10px; padding: 10px; max-width: 520px; width: 100%; }
.news-frame iframe { width: 100%; height: 720px; border: 0; }

/* contact */
.reach { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.reach span { display: block; font: 700 0.85rem/1.2 var(--display); color: var(--brick-deep); }
.reach a { font: 800 1.7rem/1.25 var(--display); text-decoration: none; overflow-wrap: anywhere; }
.reach a[href^="mailto"], .reach a.small { font-size: 1.1rem; font-weight: 700; }
.reach a:hover { color: var(--brick); }
.reach p { margin: 0; }
.ask { background: var(--shingle); color: #fff; border-radius: 12px; padding: 26px 22px; display: grid; gap: 16px; }
.ask h2 { font-size: 1.6rem; }
.ask label { display: grid; gap: 6px; font-weight: 700; font-size: 0.98rem; }
.ask label > span:not(.err) { font-weight: 400; opacity: 0.75; font-size: 0.88rem; }
.ask input[type="text"], .ask input[type="tel"], .ask textarea { font: 400 1.05rem/1.4 var(--body); color: var(--ink); background: #fff; border: 0; border-radius: 6px; padding: 13px 14px; width: 100%; }
.ask textarea { min-height: 110px; resize: vertical; }
.ask .bad { box-shadow: 0 0 0 3px #ff9c85; }
.ask .err { color: #ffc2b3; font-weight: 400; font-size: 0.9rem; }
.ask .hp { position: absolute; left: -9999px; }
.ask .btn { justify-self: start; }
.ask .btn:disabled { opacity: 0.6; }
.ask-status { margin: 0; min-height: 1.4em; }

/* footer and phone call bar */
.foot { background: var(--shingle); color: #fff; padding: 34px 0 104px; font-size: 0.95rem; }
.foot-name { font: 700 1.05rem/1.3 var(--display); }
.draft { margin: 0; opacity: 0.75; }
.callbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; background: var(--brick); color: #fff; text-align: center; text-decoration: none; font: 800 1.1rem/1 var(--display); padding: 16px; border-radius: 8px; box-shadow: 0 8px 22px rgba(29, 32, 37, 0.4); }

/* motion, several kinds */
.js-motion .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; }
.js-motion .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js-motion .words-in .w > span { transform: none; }
.js-motion .rv-line { background-size: 0% 5px; transition: background-size 0.9s cubic-bezier(0.6, 0, 0.2, 1) 0.15s; }
.js-motion .rv-line.in { background-size: 100% 5px; }
.js-motion .rv-lay { opacity: 0; transform: translateY(-18px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1); }
.js-motion .rv-lay.in { opacity: 1; transform: none; }

@media (min-width: 620px) {
  .menu-in { justify-content: flex-start; gap: 34px; }
  .menu a { font-size: 1rem; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .hero { padding: 64px 0 90px; }
  .hero-in { grid-template-columns: 1fr 1fr; gap: 52px; }
  .two { grid-template-columns: 1fr 1fr; gap: 56px; }
  .band { padding: 88px 0; }
  .band.shingle { padding: 40px 0; }
  .groups { grid-template-columns: 1fr 1fr; gap: 48px 56px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .cmp:first-child { grid-column: 1 / -1; max-width: 760px; }
  .tips.all { grid-template-columns: 1fr 1fr; align-items: start; }
  .tips:not(.all) { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .cta { grid-template-columns: 1fr auto; align-items: center; }
  .cta .actions { margin-top: 0; }
  .callbar { display: none; }
  .foot { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .guess-row button, .q details summary::after { transition: none; }
  .q.answered .verdict strong { animation: none; }
}
