@charset "UTF-8";
/* Layout concept: a white, well-lit contractor site. Wide, heavy display type
   echoes the logo's lettering; the logo red is used only for actions and small
   marks, steel greys carry the rest. One light theme by choice. */
/* Poppins, served from our own site (SIL Open Font License, see /fonts/OFL.txt). The "latin-ext" files load
   only on pages that use those letters (for example Polish or Czech names). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/poppins-latin-ext-800.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* While Poppins is still on its way, text shows in the visitor's own Arial, stretched to Poppins' proportions,
   so lines don't re-wrap and the page doesn't jump when Poppins arrives. */
@font-face { font-family: "Poppins Fallback"; font-weight: 400; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Roboto"); size-adjust: 110.5%; ascent-override: 95%; descent-override: 31.7%; line-gap-override: 9%; }
@font-face { font-family: "Poppins Fallback"; font-weight: 700; src: local("Arial Bold"), local("Helvetica Neue Bold"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Roboto Bold"); size-adjust: 105.5%; ascent-override: 99.5%; descent-override: 33.2%; line-gap-override: 9.5%; }
:root {
  --red: #C8102E;        /* Etruscan Red (crest logo) */
  --red-deep: #9E0C24;   /* hover/pressed */
  --ink: #16181B;        /* text, dark bands */
  --steel: #5E646B;      /* Steel (brand guide) */
  --rule: #DADDE2;       /* hairlines */
  --mist: #F5F4F1;       /* Stone (brand guide) */
  --silver: #B8BEC5;       /* quiet bands */
  --paper: #FFFFFF;
  --on-ink: #E9EBEE;
  --on-ink-quiet: #A9AFB8;
  --font-display: "Poppins", "Poppins Fallback", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Poppins", "Poppins Fallback", "Segoe UI", Helvetica, Arial, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.2vw, 2.5rem);
  --step-4: clamp(2.1rem, 4.4vw, 3.5rem);
  --radius: 6px;
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-stretch: 112%;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red);
}
.lede { font-size: var(--step-1); color: var(--steel); max-width: 62ch; }
.muted { color: var(--steel); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head .stack { max-width: 640px; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.band-ink .btn-line { color: #fff; }
.band-ink .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-family: var(--font-display); font-weight: 700; font-stretch: 108%; text-decoration: none; }
.more::after { content: " →"; }

/* Utility bar + header */
.utility { background: var(--ink); color: var(--on-ink-quiet); font-size: var(--step--1); }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 8px; }
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.logo img { height: 60px; width: auto; }
.nav { display: none; align-items: center; gap: 4px; }
.nav > a, .nav .dd > summary {
  font-family: var(--font-display); font-weight: 600; font-stretch: 104%; font-size: 0.98rem;
  color: var(--ink); text-decoration: none; padding: 10px 10px; border-radius: var(--radius); cursor: pointer; list-style: none;
}
.nav > a:hover, .nav .dd > summary:hover, .nav [aria-current="page"] { color: var(--red); }
.nav .dd { position: relative; }
.nav .dd > summary::-webkit-details-marker { display: none; }
.nav .dd > summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav .dd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(22, 24, 27, 0.12);
  display: flex; flex-direction: column;
}
.nav .dd-menu a { padding: 10px 12px; border-radius: 4px; color: var(--ink); text-decoration: none; }
.nav .dd-menu a:hover { background: var(--mist); color: var(--red); }
.header-cta { display: none; }
.mobile-menu { position: relative; }
.mobile-menu > summary {
  list-style: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; cursor: pointer;
}
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu .panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(88vw, 340px); max-height: 75vh; overflow: auto;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(22, 24, 27, 0.18);
  padding: 12px; display: flex; flex-direction: column; gap: 2px;
}
.mobile-menu .panel a { padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 4px; }
.mobile-menu .panel a:hover { background: var(--mist); }
.mobile-menu .panel .grp { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); padding: 12px 12px 4px; }
@media (min-width: 1300px) {
  .nav, .header-cta { display: flex; }
  .mobile-menu { display: none; }
}

/* Photos and placeholders */
.ph {
  display: flex; align-items: flex-end; width: 100%; aspect-ratio: 4 / 3; max-width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(84, 91, 102, 0.07) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #E4E7EB, #CDD2D9);
  border-radius: var(--radius); color: var(--steel); font-size: 0.85rem; overflow: hidden;
}
.ph span { background: rgba(255, 255, 255, 0.86); padding: 6px 10px; margin: 10px; border-radius: 4px; line-height: 1.3; }
img.photo, .photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-tall { aspect-ratio: 5 / 4; }
/* Old small photos (400 x 300): show them close to their real size, uncropped, so they stay sharp.
   Remove nothing here when full-size photos arrive; the build only adds this class to small files. */
.photo-tall.photo-small { aspect-ratio: 4 / 3; width: 100%; max-width: 440px; justify-self: center; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } }
.hero .stack { gap: 22px; }
.trust { border-block: 1px solid var(--rule); }
.trust ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.trust li {
  display: flex; align-items: center; gap: 12px; padding: 18px 16px;
  font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: 0.95rem; letter-spacing: 0.02em;
}
.trust li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); }

/* Service groups */
.groups { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.group { display: flex; flex-direction: column; gap: 14px; }
.group h3 { font-size: var(--step-2); font-stretch: 115%; }
.group ul { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.group li a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px;
  border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600;
}
.group li a::after { content: "→"; color: var(--red); }
.group li a:hover { color: var(--red); }

/* Why us */
.why { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.why div { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 2px solid var(--ink); }
.why p { color: var(--steel); }

/* Process */
.process { list-style: none; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); counter-reset: step; }
.process li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; }
.process li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 700; font-stretch: 120%; font-size: 2.4rem; line-height: 1; color: var(--red);
}
.process p { color: var(--on-ink-quiet); font-size: 0.98rem; }
.band-mist .process p, .section:not(.band-ink) .process p { color: var(--steel); }

/* Gallery grids */
.grid-photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-photos figure { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1.5px solid var(--rule); background: var(--paper);
  font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Cards (used sparingly: project teasers only) */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; }
.card .meta { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.card h3 { font-size: var(--step-1); }
.card:hover h3 { color: var(--red); }

/* Towns */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px;
  border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600;
}
.chips a:hover { border-color: var(--red); color: var(--red); }
.split { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .split-wide { grid-template-columns: 1.4fr 1fr; } }
.split > * { min-width: 0; }

/* Office block */
.office { display: flex; flex-direction: column; gap: 4px; font-style: normal; }
.office strong { font-family: var(--font-display); font-stretch: 108%; }

/* Breadcrumbs */
.crumbs { font-size: var(--step--1); color: var(--steel); padding-block: 16px 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule); }
.crumbs a { color: var(--steel); }

/* Service pages */
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 0.35em; width: 18px; height: 10px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.signs { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.signs div { display: flex; flex-direction: column; gap: 6px; }
.signs p { color: var(--steel); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li { padding: 6px 12px; border-radius: 4px; background: var(--paper); border: 1px solid var(--rule); font-weight: 600; font-size: 0.95rem; }
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-stretch: 105%; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--steel); max-width: 68ch; }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: var(--step-2); margin-top: 12px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* Fact list */
.facts { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 20px; background: var(--paper); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--steel); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* Sample banner */
.sample { background: #FFF4D6; color: #5C4300; border-bottom: 1px solid #EBD9A6; font-size: var(--step--1); }
.sample .wrap { padding-block: 10px; }

/* Form */
.form-band { background: var(--ink); color: var(--on-ink); }
.form-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1fr 1.3fr; } }
.form-band h2 { color: #fff; }
.form-band .muted { color: var(--on-ink-quiet); }
.form-band a { color: #fff; }
form.inspection { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); }
form.inspection .full { grid-column: 1 / -1; }
form.inspection label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; }
form.inspection input, form.inspection select, form.inspection textarea {
  font: inherit; font-weight: 400; min-height: 48px; padding: 10px 12px; border: 1.5px solid #B9BFC8; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
form.inspection textarea { min-height: 96px; resize: vertical; }
form.inspection .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.88rem; color: var(--steel); }
form.inspection .consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
form.inspection .btn { width: 100%; }
.form-note { font-size: 0.85rem; color: var(--steel); }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-quiet); font-size: 0.95rem; border-top: 4px solid var(--red); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-block: 48px; }
.footer-grid h2 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; font-stretch: 112%; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--on-ink); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 258px; max-width: 100%; height: auto; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-stretch: 118%; color: #fff; letter-spacing: 0.06em; line-height: 1.2; }
.legal { border-top: 1px solid #2C3036; padding-block: 18px; font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.legal a { color: var(--on-ink-quiet); }

/* Phone call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgba(22, 24, 27, 0.08);
}
.callbar .btn { min-height: 46px; padding: 0 10px; }
body { padding-bottom: 72px; }
@media (min-width: 900px) { .callbar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Team */
.team { display: grid; gap: 32px 28px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.member { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.portrait { aspect-ratio: 4 / 5 !important; object-fit: cover; object-position: top; }
.team-group { aspect-ratio: 2000 / 880 !important; object-fit: cover; }
.member .role { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.member p { font-size: 0.95rem; }

/* Regional authority: project map + counts */
.authority-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.authority-head > .stack { flex: 1 1 420px; min-width: 0; }
.hero-num { display: flex; flex-direction: column; gap: 4px; max-width: 280px; }
.hero-num .n { font-family: var(--font-display); font-weight: 700; font-stretch: 125%; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-num .l { color: var(--on-ink-quiet); font-size: 0.95rem; }
.map-frame { display: block; width: 100%; max-width: 100%; height: 440px; border: 0; border-radius: var(--radius); background: #2A2E34; }
/* Homepage "Proven at scale": the map is the main proof, so it gets most of the row and more height. */
.map-frame-lg { height: clamp(480px, 72vh, 720px); }
@media (min-width: 900px) { .split.split-map { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; } }
.map-tall { height: min(72vh, 680px); }
.map-placeholder { display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: var(--on-ink); background:
  radial-gradient(circle at 30% 40%, rgba(184, 20, 31, 0.35) 0 3px, transparent 4px) 0 0 / 38px 38px,
  radial-gradient(circle at 70% 60%, rgba(233, 235, 238, 0.25) 0 2px, transparent 3px) 0 0 / 26px 26px, #2A2E34; }
.map-placeholder .muted { color: var(--on-ink-quiet); }
.bars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(96px, 128px) 1fr 64px; align-items: center; gap: 12px; }
.bars a { text-decoration: none; font-weight: 600; color: inherit; }
.bars a:hover { color: var(--red); text-decoration: underline; }
.bar-track { height: 10px; }
.bar { display: block; height: 100%; min-width: 4px; background: var(--red); border-radius: 0 4px 4px 0; }
.bar-val { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.band-ink .bars a { color: var(--on-ink); }
.band-ink .bar-val { color: #fff; }
.band-ink .bar { background: #E2343F; }
.town-stat { font-size: var(--step-1); }
.town-stat strong { font-family: var(--font-display); font-stretch: 120%; color: var(--red); }
.book-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); }

/* Homepage team strip */
.faces { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
.faces a { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.faces img, .faces .ph { border-radius: var(--radius); margin-bottom: 6px; }
.faces strong { font-family: var(--font-display); font-stretch: 105%; font-size: 0.95rem; line-height: 1.2; }
.faces span { color: var(--steel); font-size: 0.8rem; line-height: 1.3; }
.faces a:hover strong { color: var(--red); }
@media (min-width: 1000px) { .faces { grid-template-columns: repeat(9, minmax(0, 1fr)); } }

/* Embedded booking (homepage) */
.book-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 1fr 1.35fr; } }
.book-grid > * { min-width: 0; }
.book-grid a { color: #fff; }
.book-frame-wrap { display: flex; flex-direction: column; gap: 10px; }
.book-frame { display: block; width: 100%; max-width: 100%; height: 820px; border: 0; border-radius: var(--radius); background: var(--paper); }
.book-frame.map-placeholder { height: auto; min-height: 280px; padding: 28px; box-sizing: border-box; }
.book-fallback { color: var(--on-ink-quiet); font-size: 0.9rem; }

/* Region list */
.regions { display: grid; gap: 20px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.regions h3 { font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 6px; }
.regions p { color: var(--steel); font-size: 0.95rem; line-height: 1.7; }
.regions-dark { grid-template-columns: 1fr; gap: 14px; }
.regions-dark h3 { color: #fff; }
.regions-dark p { color: var(--on-ink-quiet); }
.regions-dark a { color: var(--on-ink); }

/* Families */
.promise { display: grid; gap: 24px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.promise div { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); }
.promise p { color: var(--steel); }
@media (min-width: 1000px) { .promise-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fam-band { background: #FBF6F1; }
.fam-links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fam-links a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--paper); border: 1px solid #EADFD3; color: var(--ink); text-decoration: none; }
.fam-links a strong { font-family: var(--font-display); font-stretch: 106%; }
.fam-links a span { color: var(--steel); font-size: 0.92rem; }
.fam-links a:hover { border-color: var(--red); }
.fam-links a:hover strong { color: var(--red); }
.seasons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.season { padding: 20px; border-radius: 12px; background: var(--mist); display: flex; flex-direction: column; gap: 12px; }
.season h3 { font-size: var(--step-2); font-stretch: 115%; }
.season .checks { font-size: 0.97rem; }
form.remind { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 20px; border: 1px solid var(--rule); border-radius: 12px; }
form.remind > .stack { flex: 1 1 280px; }
form.remind input[type=email] { flex: 1 1 220px; min-height: 48px; padding: 10px 12px; font: inherit; border: 1.5px solid #B9BFC8; border-radius: var(--radius); }
.sr-label { position: absolute; left: -9999px; }
.kids { background: #FFF8E8; }
.kids .eyebrow { color: #A0441B; }
.spot { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.spot-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--paper); border: 2px solid #F0E2BF; cursor: pointer; height: 100%; }
.spot-card:has(input:checked) { border-color: #2F7A3B; background: #F2FAF3; }
.spot-row { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.1rem; }
.spot-row input { width: 22px; height: 22px; accent-color: #2F7A3B; flex: none; }
.spot-hint { color: var(--steel); font-size: 0.95rem; }
.spot-score { font-family: var(--font-display); font-weight: 700; font-stretch: 115%; font-size: var(--step-2); }
.kids-2 { background: #FFFDF6; }
.color-thumb img { width: min(100%, 360px); margin-inline: auto; border: 1px solid var(--rule); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(22,24,27,0.08); transform: rotate(-2deg); }
@media print {
  .utility, .site-header, .site-footer, .callbar, .crumbs, .no-print, .sample { display: none !important; }
  body { padding: 0; }
  .coloring img { border: 0 !important; width: 100% !important; }
}

/* Projects near you lookup */
.nearby { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; max-width: 760px; }
.nearby-form { display: flex; flex-direction: column; gap: 10px; }
.nearby-form label { font-size: 1.02rem; }
.nearby-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nearby-row input { flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 10px 14px; font: inherit; font-size: 1.05rem; border: 2px solid #B9BFC8; border-radius: var(--radius); background: #fff; color: var(--ink); }
.nearby-row .btn { min-height: 52px; }
.linklike { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: inherit; color: var(--red); text-decoration: underline; cursor: pointer; }
.nearby-result { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 20px; border-radius: 12px; background: var(--mist); }
.nearby-result[hidden] { display: none; }
.nearby-result > .stack { flex: 1 1 280px; min-width: 0; }
.nearby-result canvas { flex: none; max-width: 100%; }
.nearby-big { font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: var(--step-2); line-height: 1.15; }
.nearby-sub { color: var(--steel); }
.nearby-note { color: var(--steel); font-size: 0.85rem; }
.nearby-dark label { color: var(--on-ink); }
.nearby-dark .linklike { color: #F2B08F; }
.nearby-dark .nearby-result { background: #22262C; }
.nearby-dark .nearby-big { color: #fff; }
.nearby-dark .nearby-sub, .nearby-dark .nearby-note { color: var(--on-ink-quiet); }

/* Membership */
.seasons-2 { display: grid; gap: 14px; }
.seasons-2 .season p { color: var(--steel); }
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 12px; background: var(--paper); border: 1px solid var(--rule); }
.plan-featured { border: 2px solid var(--ink); }
.plan h3 { font-size: var(--step-2); font-stretch: 112%; }
.plan-price strong { font-family: var(--font-display); font-weight: 700; font-stretch: 118%; font-size: 2.4rem; }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 420px; }
.price-table th, .price-table td { padding: 14px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.price-table thead th { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }
.price-table td { font-weight: 600; }

/* Roof studio */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.studio { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .studio { grid-template-columns: 1.5fr 1fr; } }
.studio > * { min-width: 0; }
.studio-stage { display: flex; flex-direction: column; gap: 14px; }
.studio-canvas-wrap { position: relative; }
#st-canvas { display: block; width: 100%; max-width: 100%; height: auto; border-radius: var(--radius); background: var(--mist); cursor: crosshair; touch-action: manipulation; }
.studio-hint { margin-top: 8px; color: var(--steel); font-size: 0.95rem; }
.studio-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.studio-bar label.btn { cursor: pointer; }
.studio-panel { display: flex; flex-direction: column; gap: 18px; }
.studio-panel h2 { font-size: var(--step-2); }
.studio-groups { display: flex; flex-direction: column; gap: 16px; }
.studio-group h3 { font-size: 0.95rem; margin-bottom: 8px; }
.swatches { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--rule); background: var(--paper); font: inherit; font-size: 0.92rem; text-align: left; cursor: pointer; color: var(--ink); }
.swatch .chip { flex: none; width: 30px; height: 30px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.studio-note { padding: 16px; border-radius: 10px; background: var(--mist); font-size: 0.92rem; color: var(--steel); display: flex; flex-direction: column; gap: 8px; }
.studio-note strong { color: var(--ink); }

/* ---- Product guides ---- */
.byline { font-size: 0.9rem; color: var(--steel); }
.guide { display: grid; gap: 40px; }
@media (min-width: 960px) { .guide { grid-template-columns: 250px minmax(0, 1fr); } .guide-toc { position: sticky; top: 96px; align-self: start; } }
.guide-toc { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--rule); border-radius: 10px; font-size: 0.95rem; }
.guide-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.guide-toc a { color: var(--ink); text-decoration: none; }
.guide-toc a:hover { color: var(--red); text-decoration: underline; }
.guide-body { max-width: 76ch; }
.guide-body h2 { font-size: var(--step-3); margin-top: 28px; padding-top: 20px; border-top: 2px solid var(--ink); scroll-margin-top: 96px; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 { font-size: var(--step-1); margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.prose th { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--mist); }
.prose tbody tr:hover { background: #fafafa; }
.prose-wide { max-width: 980px; }
.refs { max-width: 820px; border: 1px solid var(--rule); border-radius: 8px; padding: 14px 18px; }
.refs summary { cursor: pointer; font-weight: 700; }
.refs ol { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; }
.guide-link { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 18px 22px; border: 1px solid var(--rule); border-left: 4px solid var(--red); border-radius: 8px; text-decoration: none; color: var(--ink); }
.guide-link strong { font-size: var(--step-1); flex: 1; }
.guide-link:hover strong { color: var(--red); }
.nav .dd-sep { height: 1px; background: var(--rule); margin: 6px 4px; }
.nav .dd-menu a.dd-extra { color: var(--steel); font-size: 0.95rem; }
/* ---- Town pages ---- */
.town-card { padding: 24px; border-radius: 10px; background: var(--mist); display: flex; flex-direction: column; gap: 14px; }
.arrow-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.arrow-list a { font-weight: 600; text-decoration: none; }
.arrow-list a::before { content: "→ "; color: var(--red); }
.arrow-list a:hover { text-decoration: underline; }
.tools { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tool { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 10px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.tool strong { font-family: var(--font-display); font-stretch: 108%; font-size: var(--step-1); line-height: 1.25; }
.tool:hover { border-color: var(--red); }
.tool:hover strong { color: var(--red); }
.tool-k { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.guide > * { min-width: 0; }
.nav > a, .nav summary { white-space: nowrap; }
.rating-line { font-size: var(--step-1); }
.rating-line strong { font-family: var(--font-display); font-stretch: 115%; font-size: var(--step-2); }
.stars { color: #E7A400; letter-spacing: 2px; }
.callout { padding: 16px 18px; border-left: 4px solid var(--red); background: var(--mist); border-radius: 6px; }
.estimator { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.estimator label { display: flex; flex-direction: column; gap: 6px; color: var(--on-ink); font-weight: 600; }
.estimator input { font: inherit; padding: 12px; border-radius: 6px; border: 1px solid #4a4f57; background: #fff; color: var(--ink); }
.est-table { width: 100%; border-collapse: collapse; color: var(--on-ink); }
.est-table th, .est-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #3a3e45; }
.est-table th { font-family: var(--font-display); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-quiet); }
.est-table td strong { color: #fff; font-size: var(--step-1); }
.c4-band { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .c4-band { grid-template-columns: 1.3fr 1fr; } }
.c4-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.c4-stats div { padding: 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--rule); }
.c4-stats strong { display: block; font-family: var(--font-display); font-stretch: 115%; font-size: var(--step-2); color: var(--red); }
.c4-stats span { font-size: .9rem; color: var(--steel); }
.c4-band > * { min-width: 0; }
@media (max-width: 600px) { .c4-stats { grid-template-columns: 1fr; } }

.logo { flex-shrink: 0; }
@media (min-width: 1300px) and (max-width: 1440px) { .nav > a, .nav .dd > summary { padding-inline: 8px; font-size: .95rem; } }
picture { display: contents; }
picture > source { display: none; }

/* ---------- Phone tuning ---------- */
@media (max-width: 640px) {
  .utility .u-info, .utility .u-cust { display: none; }          /* keep the top bar to one line: book + phone */
  .utility .wrap { justify-content: flex-end; }
  .hero { padding-block: 24px 40px; }
  .hero-grid > .photo, .hero-grid > picture > .photo { order: -1; aspect-ratio: 16 / 10; }  /* show the house first */
  .hero-grid .stack { gap: 16px; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { padding-block: 12px; font-size: .9rem; }
  .group .photo { aspect-ratio: 16 / 9; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 640px) {
  /* picture uses display: contents, so order applies to the img itself */
  .hero-grid img.photo-tall { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- Widescreen tuning ---------- */
@media (min-width: 1600px) {
  html { font-size: 106.25%; }            /* everything sized in rem grows ~6% */
  :root { --wrap: 1400px; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; }   /* bigger photo on wide screens */
}
@media (min-width: 2100px) {
  html { font-size: 118.75%; }
  :root { --wrap: 1600px; }
}
@media (max-width: 640px) { .hero .lede { font-size: 1.1rem; } }
@media (min-width: 1600px) { .logo img { height: 4rem; } }

/* ---- Class 4 page ---- */
.c4-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c4-chips li { padding: 8px 12px; border-radius: 8px; background: var(--mist); font-size: .9rem; color: var(--steel); }
.c4-chips strong { color: var(--ink); margin-right: 4px; }
.ins-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ins { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--rule); border-radius: 10px; background: var(--paper); }
.ins h3 { font-size: var(--step-1); }
.ins-tag { font-size: .85rem; color: var(--red); font-weight: 500; }
.ins-need { font-size: .92rem; color: var(--steel); }
.ins a { margin-top: auto; font-weight: 600; text-decoration: none; }
.ins a:hover { text-decoration: underline; }
.ins-other { background: var(--mist); border-style: dashed; }
.ins-other ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.calc { display: grid; gap: 28px; }
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; } }
.calc-inputs { display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 12px; background: #1F2226; }
.calc-inputs label, .calc-applies { display: flex; flex-direction: column; gap: 8px; color: var(--on-ink); font-weight: 500; font-size: .95rem; border: 0; margin: 0; padding: 0; }
.calc-inputs label output { color: #fff; font-weight: 700; font-size: 1.05rem; }
.calc-applies legend { margin-bottom: 8px; }
.calc-applies label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.calc-inputs input[type=number] { font: inherit; padding: 11px 12px 11px 26px; border-radius: 6px; border: 1px solid #3A3E44; background: #fff; color: var(--ink); width: 100%; }
.calc-inputs input[type=range] { width: 100%; accent-color: var(--red); }
.in-money { position: relative; display: block; }
.in-money::before { content: "$"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--steel); }
.calc-inputs .hint { font-size: .8rem; color: var(--on-ink-quiet); font-weight: 400; }
.calc-out { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.calc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc-kpis div { padding: 16px; border-radius: 10px; background: #1F2226; display: flex; flex-direction: column; gap: 4px; }
.calc-kpis span { font-size: .82rem; color: var(--on-ink-quiet); }
.calc-kpis strong { font-size: clamp(1.2rem, 2.4vw, 1.9rem); color: #fff; font-variant-numeric: tabular-nums; line-height: 1.15; }
.calc-chart { width: 100%; height: auto; background: #1F2226; border-radius: 10px; padding: 8px; }
.calc-chart .grid { stroke: #33373D; stroke-width: 1; }
.calc-chart .axis { fill: var(--on-ink-quiet); font-size: 12px; font-family: var(--font-body); }
.calc-chart .c4bar { fill: var(--red); }
.calc-chart .c4bar:hover { fill: #E0434E; }
.calc-chart .upline { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 5 4; }
.calc-chart .uplabel { fill: #fff; font-size: 12px; font-family: var(--font-body); }
.calc-note { font-size: .85rem; color: var(--on-ink-quiet); }
@media (max-width: 560px) { .calc-kpis { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
.q-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.q-table th, .q-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.q-table th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: var(--mist); }
.tag-ok, .tag-mid { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.tag-ok { background: #E3F2E8; color: #1E6B3E; }
.tag-mid { background: var(--mist); color: var(--steel); }

[id] { scroll-margin-top: 96px; }

@media (max-width: 640px) { .logo img { height: 48px; } }

/* Roofing weather band (home) */
.wx-band { border-top: 1px solid var(--rule); background: var(--mist); }
.wx-grid { display: grid; gap: 14px 40px; padding-block: 28px; align-items: center; }
@media (min-width: 1000px) { .wx-grid { grid-template-columns: minmax(260px, 0.8fr) 2fr; } .wx-src { grid-column: 1 / -1; } }
.wx-intro { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wx-greet { margin: 0; font-weight: 600; color: var(--red); }
.wx-intro h2 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.wx-intro .muted { margin: 4px 0 0; font-size: 0.9rem; }
.wx-key { display: block; margin-top: 4px; }
.wx-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.wx-day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; text-align: center; min-width: 0; }
.wx-day + .wx-day { border-left: 1px solid var(--rule); }
.wx-day b { font-size: 0.85rem; color: var(--ink); }
.wx-day .dt { font-size: 0.75rem; color: var(--steel); margin-top: -4px; }
.wx-day .t { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.wx-day .f { font-size: 0.72rem; color: var(--steel); line-height: 1.25; }
.wx-band i, .wx-day i { font-style: normal; font-size: 0.75rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.wx-band i.g { background: #E3F2E6; color: #1F6B33; }
.wx-band i.c { background: #FCEFD3; color: #7A5000; }
.wx-band i.p { background: #F9DEE2; color: #9E0C24; }
.wx-src { margin: 0; font-size: 0.8rem; color: var(--steel); }
@media (max-width: 720px) {
  .wx-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wx-day:nth-child(4) { border-left: 0; }
  .wx-day:nth-child(n+4) { border-top: 1px solid var(--rule); }
  .wx-day .f { display: none; }
}

/* Legal pages */
.legal-doc h2 { font-size: var(--step-1, 1.25rem); margin-top: 1em; }
.legal-doc h3 { font-size: 1.05rem; margin: 0.4em 0 0; }
.legal-doc .legal-draft { align-self: flex-start; }
.legal-draft { display: inline-block; background: #FCEFD3; color: #7A5000; font-weight: 600; font-size: 0.9rem; padding: 4px 10px; border-radius: 6px; }

/* Roof studio v2 */
.btn-sm { padding: 8px 14px; font-size: 0.9rem; min-height: 40px; }
.studio-hint { margin: 0; }
.studio-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.studio-thumb { display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--paper); font: inherit; font-size: 0.78rem; line-height: 1.2; color: var(--ink); cursor: pointer; text-align: center; min-width: 0; }
.studio-thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; display: block; }
.studio-thumb[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); font-weight: 600; }
.studio-thumb:focus-visible, .seg button:focus-visible, .studio-tab:focus-visible, .swatch:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.studio-own { justify-content: center; border-style: dashed; }
.studio-own-icon { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; border-radius: 5px; background: var(--mist); font-size: 1.6rem; font-weight: 600; color: var(--red); }
@media (max-width: 640px) { .studio-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.studio-step { display: flex; flex-direction: column; gap: 10px; }
.studio-step-h { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0; }
.studio-step-h > span:first-child { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8rem; flex: none; }
.seg { display: flex; flex-wrap: wrap; gap: 0; border: 1.5px solid var(--rule); border-radius: 10px; overflow: hidden; align-self: flex-start; }
.seg button { font: inherit; font-size: 0.92rem; font-weight: 500; padding: 9px 16px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; }
.seg button + button { border-left: 1.5px solid var(--rule); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.studio-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.studio-tools:not(:has(> :not([hidden]))) { display: none; }
.studio-tol { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--steel); }
.studio-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.studio-tab { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--paper); font: inherit; text-align: left; cursor: pointer; color: var(--ink); min-width: 0; }
.studio-tab .chip { flex: none; width: 28px; height: 28px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.studio-tab b { display: block; font-size: 0.88rem; }
.studio-tab small { display: block; font-size: 0.78rem; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-tab[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.studio-group h3 { font-size: 0.85rem; font-weight: 600; color: var(--steel); }
.swatches { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
#st-canvas { touch-action: pan-y; }
.studio [hidden] { display: none !important; }

.hero-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; font-size: 0.95rem; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); flex: none; }

/* Studio: compact material tiles so the panel is about as tall as the photo */
.studio-panel { gap: 16px; }
.studio-groups { gap: 12px; }
.studio-group h3 { margin-bottom: 6px; font-size: 0.8rem; }
.studio-panel .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.studio-panel .swatch { flex-direction: column; align-items: stretch; gap: 4px; min-height: 0; padding: 4px 4px 6px; font-size: 0.74rem; line-height: 1.2; text-align: center; }
.studio-panel .swatch .chip { width: 100%; height: 30px; }
.studio-panel .swatch[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.studio-stage .studio-note { font-size: 0.85rem; padding: 12px 14px; }
@media (max-width: 420px) { .studio-panel .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Kids zone games */
.play-cta { padding-block: 32px; }
.play-cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 24px; border-radius: var(--radius); background: var(--mist); }
.play-cta-row .stack { max-width: 62ch; min-width: 0; }
.play-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.play-tabs button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 10px; border: 2px solid var(--rule); border-radius: 12px; background: var(--paper); font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; }
.play-tabs button[aria-selected="true"] { border-color: var(--red); background: var(--red); color: #fff; }
.play-tabs .pt-k { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.08); font-size: .85rem; }
.play-tabs button[aria-selected="true"] .pt-k { background: rgba(255,255,255,.25); }
@media (max-width: 560px) { .play-tabs button { flex-direction: column; gap: 4px; font-size: .88rem; } }
.play-help { font-size: 1.15rem; font-weight: 600; margin: 0 0 14px; }
.play-score { font-weight: 700; color: var(--red); min-height: 1.4em; margin: 0; }
.color-game, .puzzle-game { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .color-game, .puzzle-game { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.color-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.color-canvas { border: 2px solid var(--rule); border-radius: var(--radius); background: #fff; overflow: hidden; max-width: 560px; }
.color-canvas svg { display: block; width: 100%; height: auto; }
.color-canvas .paintable { cursor: pointer; transition: fill .15s; }
.palette { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; max-width: 460px; }
@media (max-width: 560px) { .palette { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; } }
.pal { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(0,0,0,.18); cursor: pointer; padding: 0; }
.pal[aria-checked="true"] { outline: 4px solid var(--ink); outline-offset: 2px; }
.puzzle-board { display: grid; gap: 3px; width: 100%; max-width: 560px; aspect-ratio: 1; background: var(--ink); border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; position: relative; }
.piece { border: 0; padding: 0; cursor: pointer; background-repeat: no-repeat; transition: transform .12s; }
.piece.picked { outline: 5px solid #F7C82E; outline-offset: -5px; transform: scale(.94); }
.puzzle-board.done { gap: 0; }
.puzzle-board.peek::after { content: ""; position: absolute; inset: 0; background: var(--peek) center / cover no-repeat; }
.puzzle-pics { display: grid; grid-template-columns: repeat(3, 90px); gap: 8px; }
.puzzle-pics button { padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.puzzle-pics button[aria-pressed="true"] { border-color: var(--red); }
.puzzle-pics img { display: block; width: 84px; height: 84px; object-fit: cover; }
.memory-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
@media (max-width: 560px) { .memory-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mcard { aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; perspective: 600px; }
.mc-inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .35s; transform-style: preserve-3d; }
.mcard.up .mc-inner { transform: rotateY(180deg); }
.mc-back, .mc-front { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; backface-visibility: hidden; display: grid; place-items: center; }
.mc-back { background: var(--red); }
.mc-back img { width: 46%; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.mc-front { transform: rotateY(180deg); background: #fff; border: 2px solid var(--rule); }
.mc-front img { width: 100%; height: 100%; object-fit: cover; }
.mc-front.contain img { object-fit: contain; padding: 14%; }
.mc-front small { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 4px; background: rgba(22,24,27,.72); color: #fff; font-size: .72rem; font-weight: 600; text-align: center; }
.mcard.match .mc-front { border-color: #3C8D5A; box-shadow: 0 0 0 3px #3C8D5A inset; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.confetti i { position: absolute; top: -20px; width: 12px; height: 7px; border-radius: 1px; animation: fall linear forwards; }
@keyframes fall { to { top: 105vh; transform: translateX(40px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { .mc-inner, .piece, .color-canvas .paintable { transition: none; } }
@media print {
  body.printing-color * { visibility: hidden !important; }
  body.printing-color #color-svg, body.printing-color #color-svg * { visibility: visible !important; }
  body.printing-color #color-svg { position: absolute; left: 0; top: 0; width: 100%; max-width: none; border: 0; }
}
.color-canvas line, .color-canvas text { pointer-events: none; }

/* Booking + service area combined (home) */
.book-areas { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.book-areas h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.chips-dark { gap: 6px; }
.chips-dark a { min-height: 32px; background: transparent; border-color: rgba(255,255,255,.25); color: var(--on-ink); font-size: .82rem; font-weight: 500; padding: 0 12px; }
.chips-dark a:hover { border-color: #F08A90; color: #fff; }
.book-office { color: var(--on-ink-quiet); font-size: .9rem; margin: 0; }
.book-office strong { color: #fff; margin-right: 6px; }

/* Insurance claim self-check */
.claim-check { max-width: 820px; margin-top: 40px; padding: clamp(18px, 3vw, 28px); border: 1.5px solid var(--rule); border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; gap: 14px; }
.claim-check h2 { margin: 0; }
.cc-form { display: grid; gap: 14px; }
.cc-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cc-form legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.cc-form label { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1.5px solid var(--rule); border-radius: 8px; background: var(--paper); cursor: pointer; }
.cc-form label:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.cc-form input { accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.cc-result { display: flex; flex-direction: column; gap: 10px; }
.cc-level { padding: 14px 16px; border-radius: 10px; border-left: 6px solid; background: var(--paper); }
.cc-level p { margin: 4px 0 0; }
.cc-high { border-color: #1F6B33; }
.cc-mid { border-color: #C98A00; }
.cc-low { border-color: var(--steel); }
.cc-flags { margin: 0; padding-left: 20px; color: var(--steel); font-size: .95rem; display: flex; flex-direction: column; gap: 6px; }
.cc-fine { font-size: .85rem; color: var(--steel); margin: 0; }
.storm-note { margin: 0; max-width: 820px; padding: 14px 18px; border-left: 4px solid var(--steel); background: var(--mist); border-radius: 0 8px 8px 0; color: var(--steel); }
.storm-note strong { color: var(--ink); }

/* Fresh content */
.fresh-note { margin: 0 0 4px; padding: 8px 12px; border-radius: 8px; background: #FCEFD3; color: #6B4A00; font-size: .88rem; font-weight: 600; }
.fn-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-filters button { font: inherit; font-size: .92rem; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
.fn-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.feed-cards .card[hidden] { display: none; }

/* Brands and tools */
.brands { border-bottom: 1px solid var(--rule); }
.brands-grid { display: grid; gap: 14px; padding-block: 22px; }
.brands-h { margin: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.brand-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; }
.brand-list li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-list strong { font-size: 1.05rem; }
.brand-list span { font-size: .85rem; color: var(--steel); line-height: 1.35; }
.brand-tools { border-top: 1px solid var(--rule); padding-top: 14px; }
@media (min-width: 1000px) {
  .brand-list:not(.brand-tools) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .brand-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Roof studio on phones: a full-screen studio so the roof stays in view while picking colors.
   Computers keep the side-by-side layout; everything below only applies under 760px. */
.stf-top, .stf-over, .stf-open, .stf-now, .stf-cats, .stf-cta { display: none; }
@media (max-width: 759px) {
  /* on the page: photo, houses and one button; the controls open full screen */
  .studio:not(.is-full) .studio-panel, .studio:not(.is-full) .studio-bar { display: none; }
  .studio:not(.is-full) .stf-open { display: flex; justify-content: center; width: 100%; }
  .studio:not(.is-full) #st-canvas { cursor: pointer; }

  body.studio-open { overflow: hidden; }
  body.studio-open .callbar { display: none; }
  .studio.is-full {
    position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; gap: 0;
    background: var(--ink); height: 100vh; height: 100dvh;
  }
  .studio.is-full .stf-top {
    display: flex; align-items: center; justify-content: space-between; flex: none; color: #fff;
    padding: env(safe-area-inset-top, 0px) 6px 0 2px; min-height: 52px;
  }
  .stf-top strong { font-size: 0.95rem; }
  .stf-exit, .stf-icon { font: inherit; font-weight: 600; font-size: 0.9rem; color: #fff; background: none; border: 0; min-height: 44px; min-width: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
  .studio.is-full .studio-stage { flex: none; gap: 0; width: 100%; min-width: 0; overflow: hidden; }
  .studio.is-full .studio-canvas-wrap { display: flex; justify-content: center; background: #000; }
  .studio.is-full #st-canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 40vh; max-height: 40dvh; touch-action: none; }
  .studio.is-full .stf-over { display: flex; justify-content: space-between; gap: 8px; position: absolute; left: 10px; right: 10px; bottom: 10px; pointer-events: none; }
  .stf-pill { pointer-events: auto; font: inherit; font-size: 0.82rem; font-weight: 600; border: 0; border-radius: 99px; padding: 9px 14px; min-height: 40px; background: rgba(255,255,255,.94); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
  .stf-pill-dark { background: rgba(22,24,27,.82); color: #fff; }
  .studio.is-full .studio-hint { display: none; }
  .studio.is-full.needs-hint .studio-hint { display: block; color: #C9CDD2; font-size: 0.8rem; padding: 6px 14px 16px; text-align: center; }
  .studio.is-full .studio-thumbs, .studio.is-full .studio-bar, .studio.is-full .studio-note, .studio.is-full .stf-open { display: none; }
  /* "Change house": the houses slide in as a row under the photo */
  .studio.is-full.show-houses .studio-thumbs { display: flex; width: 100%; box-sizing: border-box; gap: 8px; overflow-x: auto; padding: 0 12px 16px; scroll-snap-type: x mandatory; }
  .studio.is-full.show-houses .studio-thumb { flex: 0 0 104px; scroll-snap-align: start; background: #24272B; border-color: #3A3E44; color: #fff; }
  .studio.is-full.show-houses .studio-own-icon { background: #33373C; }

  /* the white panel */
  .studio.is-full .studio-panel {
    flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--paper); border-radius: 18px 18px 0 0; margin-top: -10px; position: relative;
    padding: 14px 16px 0; gap: 12px; width: 100%; min-width: 0; overflow-x: hidden;
  }
  .studio.is-full .studio-panel > * { flex-shrink: 0; min-width: 0; }
  .studio.is-full .stf-now { display: flex; flex-direction: column; order: 1; min-width: 0; }
  .stf-now b { font-size: 1.1rem; line-height: 1.25; }
  .stf-now small { font-size: 0.78rem; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .studio.is-full .stf-cats { display: flex; gap: 6px; order: 2; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .stf-cats button { flex: none; font: inherit; font-size: 0.85rem; padding: 8px 14px; min-height: 38px; border-radius: 99px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }
  .stf-cats button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
  .studio.is-full .st-step-mat { order: 3; }
  .studio.is-full .st-step-sec { order: 4; padding-top: 12px; border-top: 1px solid var(--mist); }
  .studio.is-full .st-step-area { order: 7; padding-bottom: 16px; }
  .studio.is-full .studio-panel > .studio-tabs { order: 0; }
  .studio.is-full .studio-step-h { display: none; }
  .studio.is-full .st-step-sec::before { content: "Colors on the roof"; font-size: 0.8rem; font-weight: 600; color: var(--steel); }
  .studio.is-full .st-step-area::before { content: "Roof area"; font-size: 0.8rem; font-weight: 600; color: var(--steel); }
  /* one material type at a time, as a swipeable row of big swatches */
  .studio.is-full .studio-group { display: none; }
  .studio.is-full .studio-group.is-cat { display: block; }
  .studio.is-full .studio-group h3 { display: none; }
  .studio.is-full .studio-panel .swatches { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .studio.is-full .studio-panel .swatch { flex: 0 0 72px; border: 0; background: none; box-shadow: none; padding: 0; gap: 6px; font-size: 0.74rem; scroll-snap-align: start; }
  .studio.is-full .studio-panel .swatch .chip { width: 68px; height: 68px; border-radius: 12px; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--rule); margin: 0 auto; }
  .studio.is-full .studio-panel .swatch[aria-pressed="true"] { box-shadow: none; font-weight: 700; }
  .studio.is-full .studio-panel .swatch[aria-pressed="true"] .chip { box-shadow: 0 0 0 3px var(--red); }
  .studio.is-full .studio-tabs { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
  .studio.is-full .st-desk-cta { display: none; }
  .studio.is-full .stf-cta {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; order: 6; position: sticky; bottom: 0; margin: 4px -16px 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--rule);
  }
  .stf-call { display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 8px; color: var(--ink); min-height: 48px; }
  .stf-cta .btn { justify-content: center; min-height: 48px; }
}

/* Homepage proof band (replaces the hero bullets, trust points and brand list) */
.proof-band { background: var(--ink); color: #fff; padding-block: 30px 26px; }
.proof-grid { display: grid; gap: 20px; }
.proof-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.proof-band .eyebrow { color: #F08A90; }
.proof-band h2 { color: #fff; font-size: 1.6rem; line-height: 1.2; margin-top: -12px; }
.proof-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid #33373C; }
.proof-stats > div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; padding: 16px 4px; }
.proof-stats > div + div { border-left: 1px solid #33373C; }
.proof-stats dd { margin: 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.proof-stats dt { font-size: 0.78rem; color: var(--silver); }
.proof-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.proof-certs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.proof-certs li { display: flex; align-items: center; gap: 12px; border: 1px solid #3A3E44; border-radius: 12px; padding: 12px 14px; font-weight: 700; }
.proof-medal { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; flex: none; }
.proof-line { margin: 0; font-size: 0.85rem; color: var(--silver); text-align: center; }
.proof-brands { padding-block: 24px 20px; border-bottom: 1px solid var(--rule); }
.proof-brands-grid { display: grid; gap: 14px; }
.proof-brands-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.proof-brands-h { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.proof-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.proof-names { list-style: none; margin: 0; padding: 0 22px 0 0; display: flex; gap: 22px; flex: none; white-space: nowrap; animation: proof-slide 26s linear infinite; }
.proof-names li { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
@keyframes proof-slide { to { transform: translateX(-100%); } }
.proof-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.proof-tools li { background: var(--mist); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.proof-tools strong { font-size: 0.92rem; }
.proof-tools span { font-size: 0.8rem; color: var(--steel); line-height: 1.4; }
@media (min-width: 760px) {
  .proof-band { padding-block: 52px; }
  .proof-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .proof-main { gap: 26px; }
  .proof-band h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-top: -16px; }
  .proof-stats > div { align-items: flex-start; text-align: left; padding: 20px 8px 20px 24px; }
  .proof-stats > div:first-child { padding-left: 0; }
  .proof-stats dd { font-size: 2.4rem; }
  .proof-stats dt { font-size: 0.9rem; }
  .proof-certs li { padding: 18px 20px; gap: 16px; font-size: 1.1rem; border-radius: 14px; }
  .proof-medal { width: 44px; height: 44px; }
  .proof-line { text-align: left; font-size: 0.9rem; padding-left: 4px; }
  .proof-brands { padding-block: 34px 40px; }
  .proof-brands-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .proof-names { gap: 40px; padding-right: 40px; animation-duration: 34s; }
  .proof-names li { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .proof-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .proof-names { animation: none; }
  .proof-names[aria-hidden] { display: none; }
}

/* Team-only "Site Improvement Feedback" button: a round button at the bottom right of every page
   (preview.etruscan.com only; never in the public build). Its name shows on hover or keyboard focus,
   and for a few seconds on the first page of a visit (.is-hint). */
.team-fb { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(22,24,27,.32); text-decoration: none; }
.team-fb:hover, .team-fb:focus-visible { background: var(--red-deep); color: #fff; }
.team-fb:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.team-fb svg { display: block; }
.team-fb-t { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 6px 18px rgba(22,24,27,.25); font-weight: 600; font-size: 0.85rem; line-height: 1.3; white-space: nowrap; text-align: right; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s; }
.team-fb-t small { display: block; font-weight: 400; font-size: 0.72rem; opacity: .8; }
.team-fb:hover .team-fb-t, .team-fb:focus-visible .team-fb-t { opacity: 1; visibility: visible; }
.team-fb.is-hint .team-fb-t { animation: team-fb-hint 6s ease; }
@keyframes team-fb-hint { 0%, 100% { opacity: 0; visibility: hidden; } 8%, 90% { opacity: 1; visibility: visible; } }
@media (max-width: 899px) { .team-fb { right: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; } }
@media print { .team-fb { display: none; } }

/* Gutter corners: Etruscan grade vs. lower-grade install */
.gq { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.gq h2, .gq h3 { margin: 0; }
.gq-lede { margin: 0; color: var(--steel); }
.gq-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .gq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gq-side { margin: 0; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gq-good { background: #EEF6F0; border: 1.5px solid #B9DCC3; }
.gq-bad { background: var(--mist); border: 1.5px solid var(--rule); }
.gq-side figcaption { font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gq-tag { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; color: #fff; }
.gq-good .gq-tag { background: #1F6B33; }
.gq-bad .gq-tag { background: var(--steel); }
.gq-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gq-pics picture, .gq-pics img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; height: auto; }
.gq-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.gq-list li { position: relative; padding-left: 26px; }
.gq-list li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.gq-good .gq-list li::before { content: "\2713"; color: #1F6B33; }
.gq-bad .gq-list li::before { content: "\2715"; color: var(--red); }
.gq-more { margin: 0; font-weight: 700; }
.gq-wide { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gq-wide-pic { position: relative; }
.gq-wide-pic picture, .gq-wide-pic img { display: block; width: 100%; height: auto; border-radius: 12px; }
.gq-label { position: absolute; top: 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 99px; color: #fff; }
.gq-label-l { left: 12px; background: #1F6B33; }
.gq-label-r { right: 12px; background: rgba(22,24,27,.82); }
.gq-wide figcaption { font-size: 0.9rem; color: var(--steel); }
.gq-ph { display: grid; place-items: center; text-align: center; aspect-ratio: 3 / 4; border: 2px dashed var(--rule); border-radius: 8px; color: var(--steel); font-size: 0.8rem; padding: 10px; background: #fff; }
.gq-ph-card { aspect-ratio: 4 / 3; border-radius: 0; border-width: 0 0 2px; }
.detail-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 600; }

/* Before/after slider on project stories */
.ba { position: relative; margin: 0; border-radius: 10px; overflow: hidden; user-select: none; -webkit-user-select: none; }
.ba picture, .ba img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.4); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.ba-tag { position: absolute; top: 12px; font-size: 0.78rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; background: rgba(22,24,27,.82); color: #fff; pointer-events: none; }
.ba-tag-l { left: 12px; } .ba-tag-r { right: 12px; background: var(--red); }
.ba-range { position: absolute; inset: 0; width: 100%; height: calc(100% - 2.2em); margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba figcaption { padding: 8px 2px 0; font-size: 0.85rem; }
.ba-range:focus-visible + figcaption { outline: 2px solid var(--red); }

/* Short videos */
.vid { margin: 16px 0 0; }
.vid-btn, .vid iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; overflow: hidden; }
.vid-btn { position: relative; padding: 0; cursor: pointer; background: #000; }
.vid-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vid-play { position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }

/* Project manager card */
.pm { margin: 0; display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
.pm picture, .pm img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.pm figcaption { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pm .eyebrow { font-size: 0.7rem; }
.pm-note { font-size: 0.9rem; margin-top: 4px; }
.pm-row { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.pm-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* This week at Etruscan (fed by Etruscan Ops) */
.tw { background: var(--paper); border-block: 1px solid var(--rule); padding-block: 32px; }
.tw-grid { display: grid; gap: 18px; }
.tw-head h2 { margin: 4px 0 0; }
.tw-upd { margin: 4px 0 0; font-size: 0.85rem; }
.tw-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tw-stats > div { display: flex; flex-direction: column-reverse; padding: 14px 16px; border-radius: 12px; background: var(--mist); }
.tw-stats dd { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.tw-stats dt { font-size: 0.85rem; color: var(--steel); }
.tw-towns { margin: 0; font-weight: 600; }
@media (min-width: 900px) {
  .tw-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); align-items: center; }
  .tw-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tw-towns { grid-column: 2; }
}

/* Contrast fixes: white form cards inside dark bands, and buttons inside the guide's table of contents */
.form-band form .muted { color: var(--steel); }
.form-band form a { color: var(--red-dark, #9E0C24); }
.guide-toc .btn-red, .guide-toc .btn-red:hover { color: #fff; }

/* Team groups on the About page */
.team-group-block { display: flex; flex-direction: column; gap: 18px; }
.team-group-block + .team-group-block { margin-top: 12px; }
.team-group-h { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin: 0; }
.member h4 { margin: 0; font-size: 1.15rem; }

/* Families: Roof Explorer printable and classroom page */
.learn-cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .learn-cards { grid-template-columns: 1fr 1fr; } }
.learn-card { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.learn-card:hover { border-color: var(--ink); }
.learn-card strong { font-size: 1.15rem; }
.learn-go { margin-top: auto; font-weight: 700; color: #C8102E; }
.exp-steps { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 10px; }
.exp-learn { background: #fff; border-radius: 12px; padding: 18px 20px; }
.exp-sheet { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: #fff; border-radius: 12px; padding: 16px 20px; }
.sheet { width: min(100%, 8.5in); box-sizing: border-box; background: #fff; color: #16181B; border: 1px solid var(--rule); box-shadow: 0 10px 24px rgba(22,24,27,0.08); padding: clamp(18px, 4vw, 44px) clamp(16px, 5vw, 52px); display: flex; flex-direction: column; gap: 18px; font-size: 14px; }
.sheet-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: flex-end; border-bottom: 3px solid #16181B; padding-bottom: 12px; }
.sheet-head > div:first-child { display: flex; flex-direction: column; }
.sheet-kicker { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #C8102E; }
.sheet-title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 38px); font-weight: 800; line-height: 1.05; }
.sheet-name { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.sheet-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .sheet-row { grid-template-columns: 1.35fr 1fr; } .sheet-two { grid-template-columns: 1fr 1fr; } }
.sheet-house { width: 100%; height: auto; display: block; margin-top: 6px; }
.sheet-q { display: block; font-size: 16px; }
.sheet-match { display: flex; flex-direction: column; gap: 9px; }
.sheet-answers { color: #5E646B; font-size: 11px; transform: rotate(180deg); text-align: right; }
.sheet-two { display: grid; gap: 18px; }
.sheet-box { border: 2px solid #16181B; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; line-height: 1.45; }
.sheet-draw { border-style: dashed; border-color: #B9BFC8; min-height: 2.6in; }
.sheet-hint { color: #5E646B; font-size: 13px; }
.sheet-foot { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; font-size: 12px; color: #5E646B; border-top: 1px solid #E4E2DD; padding-top: 10px; }
@media print {
  @page { size: letter; margin: 0.4in; }
  .explorer-page { padding: 0 !important; }
  .explorer-page .wrap { padding: 0 !important; max-width: none !important; }
  .sheet { width: 100%; border: 0; box-shadow: none; padding: 0; gap: 14px; }
  .sheet-row { grid-template-columns: 1.35fr 1fr; }
  .sheet-two { grid-template-columns: 1fr 1fr; }
  .sheet-house { max-height: 3.4in; }
  .sheet-draw { min-height: 2.4in; }
  .team-fb, .chat-fab { display: none !important; }
}
.book-card { color: #16181B; background: #fff; }
.book-card strong { color: #16181B; }
.book-card .muted { color: #4A5058; }

/* Google review cards */
.rv-list { display: flex; flex-direction: column; gap: 14px; }
.rv-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 760px) { .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rv { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rv-stars { font-size: 1.05rem; letter-spacing: 2px; line-height: 1; }
.rv-stars .on { color: #E7A400; }
.rv-stars .off { color: #D6D3CC; }
.rv-date { font-size: .88rem; color: #5E646B; white-space: nowrap; }
.rv-text { margin: 0; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; white-space: pre-line; }
.rv.open .rv-text { -webkit-line-clamp: unset; display: block; }
.rv-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: .92rem; color: #C8102E; cursor: pointer; }
.rv-more:hover { text-decoration: underline; }
.rv-by { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .92rem; border-top: 1px solid var(--rule); padding-top: 10px; }
.rv-by > a, .rv-by > span:first-child { font-weight: 600; color: var(--ink); text-decoration: none; }
.rv-src { display: inline-flex; align-items: center; gap: 6px; color: #5E646B; }
.rv-src a { color: #5E646B; }
.rv-reply { margin: 0; font-size: .92rem; color: #4A5058; border-left: 3px solid var(--rule); padding-left: 12px; }
.rv-note { font-size: .9rem; color: #5E646B; margin: 0; }

/* Homepage reviews, option A: summary bar + 3 cards (swipe on phones) */
.rv-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; background: var(--mist, #F5F4F1); border-radius: 12px; padding: 16px 22px; }
.rv-sum-score { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 1.05rem; }
.rv-sum-score strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1; }
.rv-sum-score .stars { font-size: 1.2rem; }
.rv-summary .btn-row { margin: 0; }
.rv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.rv-row .rv-by { margin-top: auto; }
.rv-dots { display: none; }
@media (max-width: 899px) {
  .rv-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-right: calc(-1 * var(--gutter, 16px)); padding-right: var(--gutter, 16px); scrollbar-width: none; }
  .rv-row::-webkit-scrollbar { display: none; }
  .rv-row > .rv { flex: 0 0 min(84%, 360px); scroll-snap-align: start; }
  .rv-dots { display: flex; justify-content: center; gap: 6px; }
  .rv-dots span { width: 6px; height: 6px; border-radius: 3px; background: #D6D3CC; transition: width .2s, background .2s; }
  .rv-dots span.on { width: 18px; background: #16181B; }
  .rv-summary .btn-row { width: 100%; }
  .rv-summary { padding: 14px 16px; }
  .rv-summary .btn-row { flex-wrap: nowrap; gap: 8px; }
  .rv-summary .btn-row .btn { flex: 1 1 0; text-align: center; padding-left: 8px; padding-right: 8px; font-size: .92rem; white-space: nowrap; }
}
/* Roofing weather: ZIP code / location */
.wx-for { margin: 2px 0 0; font-size: .95rem; }
.wx-zip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.wx-zip input { width: 9.5em; font: inherit; font-size: .95rem; padding: 8px 10px; border: 1.5px solid #D6D3CC; border-radius: 8px; background: #fff; }
.wx-zip .btn { padding: 8px 14px; font-size: .9rem; }
.wx-loc { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .88rem; font-weight: 600; color: var(--red); text-decoration: underline; cursor: pointer; }
.wx-msg { margin: 4px 0 0; min-height: 1.2em; font-size: .85rem; color: #7A5000; }
.wx-msg:empty { min-height: 0; margin: 0; }
