/* ==========================================================================
   Tulsa Siding Repair  |  styles.css  |  Design system v1.0 (Batch 0)
   "Crafted exterior architecture": lap-siding course lines, board-and-batten
   rhythm, Fraunces + Inter, slate / limestone / clay.
   Mobile first. Breakpoints: 600px, 900px, 1200px.
   --------------------------------------------------------------------------
   01 Fonts          09 Hero              17 Before / after   25 Map facade
   02 Tokens         10 Breadcrumbs       18 Cost estimator   26 Footer
   03 Reset / base   11 Answer card       19 Hail timeline    27 Call bar + float CTA
   04 Typography     12 Prose + lists     20 Checker          28 Tenant slots
   05 Layout         13 Tables            21 CTA band + form  29 Motion
   06 Utilities      14 Steps / process   22 FAQ              30 Print
   07 Buttons        15 Callouts, chips   23 TOC + progress
   08 Header + nav   16 Cards             24 Metro map
   ========================================================================== */

/* 01 Fonts ---------------------------------------------------------------
   Served from Google's font CDN (latin subset, variable). The same files are
   preloaded in each page <head>. To self-host later, download the two WOFF2
   files to /assets/fonts/ and change the src URLs below. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 650;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeA.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: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.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;
}
/* Metric-matched fallbacks keep text from jumping when the web fonts swap in */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 104%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90.5%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* 02 Tokens -------------------------------------------------------------- */
:root {
  /* Brand palette */
  --ink: #1C2329;
  --slate: #2E3A42;
  --limestone: #F5F2EC;
  --paper: #FFFFFF;
  --clay: #B4602E;
  --clay-dark: #8F4A22;
  --sage: #6B7C68;
  --storm: #3F5D73;
  --line: #E2DDD3;

  /* Supporting tints (all text pairings checked to WCAG AA) */
  --ink-soft: #4A555D;        /* 6.8:1 on limestone, body secondary */
  --clay-light: #E0915F;      /* 6.3:1 on ink, accent text on dark */
  --clay-tint: #F8EDE5;
  --sage-dark: #55654F;       /* 5.6:1 on limestone, tag text */
  --sage-tint: #E7ECE4;
  --storm-tint: #E6EDF2;
  --storm-light: #9DB0BE;
  --sand: #EDE8DE;
  --line-strong: #CFC7B8;
  --on-dark: #F5F2EC;
  --on-dark-soft: #B8C1C7;    /* 8.7:1 on ink */
  --line-dark: rgb(255 255 255 / .12);
  --success: #3F6B48;
  --error: #A3321F;           /* 6.1:1 on white */

  /* Semantic roles */
  --bg: var(--limestone);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --link: var(--ink);
  --link-hover: var(--clay-dark);
  --accent: var(--clay);
  --focus: var(--clay-dark);

  /* Type */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-h1: clamp(2.5rem, 1.55rem + 4vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --fs-h3: clamp(1.3125rem, 1.18rem + .55vw, 1.625rem);
  --fs-display: clamp(2.75rem, 1.6rem + 4.8vw, 5rem);
  --fs-lead: clamp(1.125rem, 1.04rem + .4vw, 1.3125rem);
  --fs-body: clamp(1.0625rem, 1.02rem + .2vw, 1.125rem);
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;
  --lh-body: 1.65;
  --measure: 68ch;

  /* Space (4 / 8 rhythm) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section-y: clamp(4rem, 2.6rem + 6vw, 8rem);
  --gutter: clamp(1rem, .4rem + 3vw, 2.5rem);
  --container: 1240px;
  --container-narrow: 760px;

  /* Shape and depth */
  --r-xs: 3px; --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(28 35 41 / .06), 0 2px 8px rgb(28 35 41 / .05);
  --shadow-2: 0 2px 4px rgb(28 35 41 / .05), 0 12px 32px -8px rgb(28 35 41 / .18);
  --shadow-3: 0 24px 60px -18px rgb(28 35 41 / .35);

  /* Signature course lines (lap siding) */
  --course: 28px;
  --course-ink: rgb(28 35 41 / .05);
  --course-light: rgb(255 255 255 / .05);

  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
  --t-slow: 700ms;

  /* Chrome */
  --header-h: 72px;
  --header-h-solid: 64px;
  --callbar-h: 72px;
  --z-header: 100;
  --z-menu: 200;
  --z-callbar: 90;
  --z-progress: 110;
}
@media (min-width: 900px) {
  :root { --header-h: 88px; --header-h-solid: 72px; }
}

/* Dark scope: any section or component that sits on ink or slate */
.on-dark {
  --text: var(--on-dark);
  --text-soft: var(--on-dark-soft);
  --link: var(--on-dark);
  --link-hover: var(--clay-light);
  --focus: var(--clay-light);
  --course-ink: var(--course-light);
  color: var(--text);
}

/* 03 Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h-solid) + 24px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); }
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl) { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
summary { cursor: pointer; }
table { border-collapse: separate; border-spacing: 0; }

/* 04 Typography ---------------------------------------------------------- */
h1, h2, h3, .h1, .h2, .h3, .display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 580;
  color: var(--text);
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.022em; font-weight: 560; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.016em; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.008em; font-weight: 600; }
.display { font-size: var(--fs-display); line-height: 1; letter-spacing: -.028em; font-weight: 520; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-soft); }
.small, small { font-size: var(--fs-sm); }
.muted { color: var(--text-soft); }
.num, .tabular { font-variant-numeric: tabular-nums lining-nums; }

/* Eyebrow: small uppercase label above a heading. Always a <p> or <span>. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 7px;
  flex: none;
  background: linear-gradient(currentColor 0 0) 0 0 / 100% 1.5px no-repeat,
              linear-gradient(currentColor 0 0) 0 100% / 70% 1.5px no-repeat;
  opacity: .8;
}
.on-dark .eyebrow { color: var(--clay-light); }
.eyebrow--plain::before { display: none; }

/* 05 Layout -------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); }
.section--slate { background: var(--slate); }
.section--storm { background: var(--storm); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head > * + * { margin-top: var(--s-4); }
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, var(--s-3)); align-items: center; }
.grid { display: grid; gap: var(--grid-gap, clamp(1rem, .6rem + 1.6vw, 2rem)); }
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.split > *, .storm-panel > *, .cta-band__grid > *, .hero-page__grid > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--60 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .split--40 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .split--center { align-items: center; }
}

/* Page body with sticky table of contents rail */
.page-layout { display: grid; gap: var(--s-6); }
.page-layout__main { min-width: 0; }
@media (min-width: 1200px) {
  .page-layout { grid-template-columns: 240px minmax(0, 1fr); gap: clamp(3rem, 5vw, 5.5rem); }
  .page-layout__main { max-width: 800px; }
  .page-layout--article { grid-template-columns: minmax(0, 700px) 240px; justify-content: center; }
  .page-layout--article .page-layout__rail { order: 2; }
}

/* Content sections: every H2 and its content live in one <section id> */
.content-section + .content-section { margin-top: clamp(3.5rem, 2.6rem + 3vw, 5.5rem); }
.content-section > h2 { margin-bottom: var(--s-5); }
.content-section > h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 7px;
  margin-top: var(--s-4);
  background: linear-gradient(var(--clay) 0 0) 0 0 / 100% 2px no-repeat,
              linear-gradient(var(--clay) 0 0) 0 100% / 60% 2px no-repeat;
}
.content-section h3 { margin-top: var(--s-7); margin-bottom: var(--s-3); }
.content-section h2 + h3 { margin-top: var(--s-5); }
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* 06 Utilities ----------------------------------------------------------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 1000;
  padding: .75rem 1.1rem; background: var(--ink); color: #fff; font-weight: 600;
  border-radius: var(--r-sm); text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }
.bg-courses {
  background-image: repeating-linear-gradient(to bottom, transparent 0 calc(var(--course) - 1px), var(--course-ink) calc(var(--course) - 1px) var(--course));
}
.course-rule {
  border: 0; height: 13px; margin: 0;
  background: linear-gradient(var(--line-strong) 0 0) 0 0 / 100% 1px no-repeat,
              linear-gradient(var(--line) 0 0) 0 6px / 100% 1px no-repeat,
              linear-gradient(var(--line) 0 0) 0 12px / 100% 1px no-repeat;
}
.on-dark .course-rule, .course-rule--dark {
  background: linear-gradient(var(--line-dark) 0 0) 0 0 / 100% 1px no-repeat,
              linear-gradient(var(--line-dark) 0 0) 0 6px / 100% 1px no-repeat,
              linear-gradient(var(--line-dark) 0 0) 0 12px / 100% 1px no-repeat;
}
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.2em; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 40px; height: 40px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }

/* 07 Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-border: transparent;
  --btn-sweep: var(--clay);
  --btn-fg-hover: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .7rem 1.5rem;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  touch-action: manipulation;
  transition: color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-sweep);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 420ms var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { color: var(--btn-fg-hover); border-color: var(--btn-sweep); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { --btn-bg: var(--clay); --btn-fg: #fff; --btn-border: var(--clay); --btn-sweep: var(--clay-dark); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-border: var(--ink); --btn-sweep: var(--clay-dark); }
.btn--outline { --btn-fg: var(--text); --btn-border: currentColor; --btn-sweep: var(--ink); }
.on-dark .btn--outline { --btn-border: rgb(255 255 255 / .55); --btn-sweep: var(--paper); --btn-fg-hover: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-border: var(--paper); --btn-sweep: var(--clay); }
.btn--outline-light { --btn-fg: #fff; --btn-border: rgb(255 255 255 / .45); --btn-sweep: var(--paper); --btn-fg-hover: var(--ink); }
.btn--sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: .85rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 599px) { .btn-row--stack > .btn { flex: 1 1 100%; } }

/* Phone button: gentle ring pulse every few seconds (not constant) */
.btn__phone { position: relative; display: inline-grid; place-items: center; }
.btn__phone::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0;
}

/* Text link with arrow (descriptive anchor text only) */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--link); text-decoration: none;
  background: linear-gradient(var(--accent) 0 0) 0 100% / 0 1.5px no-repeat;
  transition: background-size var(--t-med) var(--ease-out), color var(--t-fast);
  min-height: 44px;
  background-position: 0 calc(100% - 8px);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover { background-size: 100% 1.5px; color: var(--link-hover); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* 08 Header + navigation ------------------------------------------------- */
.site-header {
  --hdr-fg: var(--on-dark);
  --hdr-fg-soft: var(--on-dark-soft);
  --focus: var(--clay-light);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  color: var(--hdr-fg);
  transition: transform var(--t-med) var(--ease-out), height var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
  z-index: -1;
}
/* Pages whose hero is light (service, city, guide) start with dark header text */
[data-header="light"] .site-header:not(.is-solid) {
  --hdr-fg: var(--ink);
  --hdr-fg-soft: var(--ink-soft);
  --focus: var(--clay-dark);
}
.site-header.is-solid {
  height: var(--header-h-solid);
  box-shadow: 0 10px 30px -12px rgb(12 16 19 / .45);
}
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--hdr-fg);
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform var(--t-med) var(--ease-out); }
.brand__mark .bm-gable { stroke: var(--clay-light); }
[data-header="light"] .site-header:not(.is-solid) .brand__mark .bm-gable,
.brand--light .brand__mark .bm-gable { stroke: var(--clay); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}
.is-solid .brand__mark { transform: scale(.9); }
@media (max-width: 380px) { .brand__name { font-size: 1.0625rem; } .brand__mark { width: 34px; height: 34px; } }

/* Primary nav (desktop) */
.primary-nav { display: none; }
@media (min-width: 1200px) {
  .primary-nav { display: block; }
  .primary-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
}
.primary-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 44px;
  padding: .5rem .85rem;
  border: 0;
  background: none;
  color: var(--hdr-fg);
  font-size: .9688rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-sm);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: 6px;
  height: 1.5px;
  background: var(--clay-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
[data-header="light"] .site-header:not(.is-solid) .primary-nav__link::after { background: var(--clay); }
.primary-nav__link:hover::after,
.primary-nav__link[aria-current="page"]::after,
.primary-nav__link[aria-expanded="true"]::after,
.primary-nav__item.is-current-section > .primary-nav__link::after { transform: scaleX(1); }
.primary-nav__link { white-space: nowrap; }
.header-phone__number, .header-phone__label { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) {
  .primary-nav__link { padding-inline: .6rem; }
  .primary-nav__link::after { left: .6rem; right: .6rem; }
  .site-header__inner { gap: .75rem; }
  .header-phone__label { display: none; }
  .header-phone__icon { width: 32px; height: 32px; }
}
.primary-nav__link .icon { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.primary-nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav__item { position: static; }
.primary-nav__item--areas { position: relative; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-phone {
  display: none;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .35rem .6rem;
  color: var(--hdr-fg);
  text-decoration: none;
  border-radius: var(--r-sm);
}
.header-phone__icon {
  position: relative;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, currentColor 40%, transparent);
}
.header-phone__icon .icon { width: 18px; height: 18px; }
.header-phone__icon::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--clay-light); opacity: 0;
}
.header-phone__text { display: grid; line-height: 1.15; }
.header-phone__label { font-size: .75rem; color: var(--hdr-fg-soft); letter-spacing: .02em; }
.header-phone__number { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 1.0313rem; }
.header-phone:hover .header-phone__number { color: var(--clay-light); }
[data-header="light"] .site-header:not(.is-solid) .header-phone:hover .header-phone__number { color: var(--clay-dark); }
.header-cta { display: none; }
@media (min-width: 900px) {
  .header-phone { display: inline-flex; }
  .header-cta { display: inline-flex; }
}
.header-call-icon {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--clay); color: #fff;
}
.header-call-icon .icon { width: 20px; height: 20px; }
@media (min-width: 900px) { .header-call-icon { display: none; } }
.menu-toggle {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border: 1.5px solid color-mix(in srgb, var(--hdr-fg) 35%, transparent);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--hdr-fg);
}
.menu-toggle .icon { width: 24px; height: 24px; }
@media (min-width: 1200px) { .menu-toggle { display: none; } }

/* Dropdown panels (mega menu and areas) */
.nav-panel {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  width: min(100vw - 2 * var(--gutter), var(--container));
  color: var(--ink);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --link: var(--ink);
  --focus: var(--clay-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-panel--areas { width: 520px; left: 0; transform: translate(-30%, 8px); }
.nav-panel--areas.is-open { transform: translate(-30%, 0); }
.mega { display: grid; }
@media (min-width: 900px) { .mega { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); } }
.mega__services { padding: 1.5rem; display: grid; gap: .25rem 1rem; list-style: none; margin: 0; }
@media (min-width: 600px) { .mega__services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mega__label { grid-column: 1 / -1; padding: .25rem .75rem .75rem; margin: 0; }
.mega-link {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .9rem;
  align-items: start;
  padding: .75rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background-color var(--t-fast);
}
.mega-link:hover, .mega-link:focus-visible { background: var(--limestone); }
.mega-link__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--limestone);
  color: var(--clay-dark);
  border: 1px solid var(--line);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.mega-link:hover .mega-link__icon { background: var(--clay); color: #fff; border-color: var(--clay); }
.mega-link__icon .icon { width: 22px; height: 22px; }
.mega-link__title { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.mega-link__desc { display: block; font-size: .875rem; color: var(--ink-soft); line-height: 1.45; margin-top: .15rem; }
.mega__feature {
  --text: var(--on-dark);
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 0 0 var(--r-md) var(--r-md);
  padding: 1.5rem;
  display: grid;
  gap: .75rem;
  align-content: start;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
}
.mega__feature .eyebrow { color: var(--clay-light); margin-bottom: .25rem; }
@media (min-width: 900px) { .mega__feature { border-radius: 0 var(--r-md) var(--r-md) 0; } }
.feature-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: .85rem;
  padding: 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
  text-decoration: none;
  transition: border-color var(--t-fast), background-color var(--t-fast);
  --focus: var(--clay-light);
}
.feature-link:hover { border-color: var(--clay-light); background: rgb(255 255 255 / .04); }
.feature-link .icon { width: 26px; height: 26px; color: var(--clay-light); margin-top: 2px; }
.feature-link__title { display: block; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.2; }
.feature-link__desc { display: block; font-size: .875rem; color: var(--on-dark-soft); margin-top: .25rem; line-height: 1.45; }
.feature-link--phone { grid-template-columns: 1fr; }
.areas { padding: 1.25rem; }
.areas__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .125rem .75rem; list-style: none; margin: 0 0 .75rem; padding: 0; }
.areas__link {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  padding: .6rem .75rem; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.areas__link:hover { background: var(--limestone); }
.areas__zip { font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.areas__footer { border-top: 1px solid var(--line); padding: .9rem .75rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

/* Mobile / tablet menu: full screen */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  background: var(--ink);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
  color: var(--on-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-nav__top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line-dark);
  flex: none;
}
.mobile-nav .brand { color: #fff; margin-right: 0; }
.mobile-nav__close {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border: 1.5px solid rgb(255 255 255 / .3); border-radius: var(--r-sm);
  background: transparent; color: #fff;
}
.mobile-nav__close .icon { width: 24px; height: 24px; }
.mobile-nav__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem var(--gutter) 2rem; }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav__link, .mobile-nav__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 60px; padding: .75rem 0;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 560; letter-spacing: -.01em;
  color: var(--on-dark); text-decoration: none; background: none; border: 0; text-align: left;
}
.mobile-nav__toggle .icon { width: 24px; height: 24px; color: var(--clay-light); transition: transform var(--t-med) var(--ease-out); }
.mobile-nav__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
.mobile-nav__sub { list-style: none; margin: 0; padding: 0 0 1rem; display: grid; gap: .125rem; }
.mobile-nav__sub a {
  display: flex; align-items: center; gap: .85rem; min-height: 48px; padding: .4rem .25rem;
  color: var(--on-dark); text-decoration: none; font-size: 1.0625rem; font-weight: 500;
}
.mobile-nav__sub a .icon { width: 22px; height: 22px; color: var(--clay-light); }
.mobile-nav__sub a:hover { color: var(--clay-light); }
.mobile-nav__cta { display: grid; gap: .75rem; margin-top: 1.75rem; }
.mobile-nav__nap { margin-top: 1.75rem; color: var(--on-dark-soft); font-size: .9375rem; display: grid; gap: .35rem; }
.mobile-nav__nap a { color: var(--on-dark); }
html.menu-open { overflow: hidden; }
@media (min-width: 1200px) { .mobile-nav { display: none; } }

/* 09 Hero ---------------------------------------------------------------- */
/* Shared: trust chips under the hero buttons */
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .8rem .45rem .6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / .6);
  font-size: .9063rem; font-weight: 500; line-height: 1.2;
}
.hero-chips .icon { width: 18px; height: 18px; color: var(--sage-dark); }
.on-dark .hero-chips li { border-color: rgb(255 255 255 / .18); background: rgb(255 255 255 / .05); }
.on-dark .hero-chips .icon { color: var(--clay-light); }

/* A. Home hero: dark, full bleed, photo revealed course by course */
.hero-home {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-home::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgb(255 255 255 / .04) 27px 28px);
  pointer-events: none;
}
.hero-home__grid { position: relative; display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 1rem + 5vw, 5rem) 0; }
.hero-home__copy { position: relative; z-index: 1; max-width: 640px; }
.hero-home__copy > * + * { margin-top: var(--s-5); }
.hero-home h1 { color: #fff; }
.hero-home .lead { color: var(--on-dark-soft); max-width: 56ch; }
.hero-home__media { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero-home__media .media-courses { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .hero-home { min-height: min(100svh, 900px); display: flex; flex-direction: column; }
  .hero-home__grid { position: static; flex: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: 3rem 5rem; }
  .hero-home__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46vw; margin: 0; }
  .hero-home__media .media-courses { aspect-ratio: auto; height: 100%; }
}
.hero-home__card {
  position: absolute; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 3;
  width: min(300px, 70%);
  padding: 1rem 1.1rem;
  background: rgb(245 242 236 / .94);
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-home__card svg { width: 100%; height: auto; }

/* Photo revealed by lap-siding courses (overlay bands slide away bottom-up) */
.media-courses { position: relative; overflow: hidden; background: var(--slate); }
.media-courses img { width: 100%; height: 100%; object-fit: cover; }
.media-courses__img { position: absolute; inset: -30px 0; will-change: transform; }
.media-courses__img img { height: 100%; }
.media-courses::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 47px, rgb(255 255 255 / .06) 47px 48px),
              linear-gradient(180deg, rgb(28 35 41 / .82), rgb(28 35 41 / .35) 14%, transparent 30%),
              linear-gradient(90deg, rgb(28 35 41 / .35), transparent 35%);
  pointer-events: none;
}
.media-courses__bands { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: repeat(6, 1fr); pointer-events: none; }
.media-courses__bands span { background: var(--ink); transform-origin: right center; transform: scaleX(0); }

/* B. Page hero: light, framed image, breadcrumbs above */
.hero-page {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(.75rem, 2vw, 1.5rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  background-color: var(--limestone);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-ink) 27px 28px);
  border-bottom: 1px solid var(--line);
}
.hero-page__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; margin-top: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 900px) { .hero-page__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }
.hero-page__copy > * + * { margin-top: var(--s-5); }
.hero-page__copy .lead { max-width: 58ch; }
.hero-page--storm .eyebrow { color: var(--storm); }
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--clay);
  border-radius: var(--r-sm);
  z-index: 0;
}
.hero-page--storm .framed::before { border-color: var(--storm); }
.framed__media { position: relative; z-index: 1; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); box-shadow: var(--shadow-2); }
.framed__media img { width: 100%; height: 100%; object-fit: cover; }
.framed__tag {
  position: absolute; z-index: 2; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .8rem; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
}
.framed__tag .icon { width: 16px; height: 16px; color: var(--clay-light); }
@media (max-width: 599px) { .framed::before { inset: 12px -8px -12px 8px; } }

/* City hero: locator map sits under the image */
.city-locator {
  position: absolute; z-index: 2; right: -6px; bottom: -28px;
  width: min(190px, 44%);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: .5rem;
}
.city-locator svg { width: 100%; height: auto; border-radius: var(--r-sm); }
.city-locator .mm-label { display: none; font-size: 30px; }
.city-locator .mm-city--hub .mm-label, .city-locator .mm-city.is-current .mm-label { display: block; }
.city-locator .mm-city.is-current .mm-label { font: 600 34px var(--font-body); fill: var(--clay-dark); }
.city-locator .mm-city--hub .mm-label { font: 600 30px var(--font-display); }
.city-locator .mm-river { stroke-width: 10; }
.city-locator .mm-city.is-current .mm-pin { r: 15; }

/* H. Article header (guides) */
.hero-article {
  padding-top: calc(var(--header-h) + clamp(.75rem, 2vw, 1.5rem));
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  background: var(--limestone);
}
.hero-article__inner { max-width: 820px; }
.hero-article__inner > * + * { margin-top: var(--s-5); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ink-soft); font-size: .9375rem; list-style: none; padding: 0; margin: 0; }
.article-meta li { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta .icon { width: 18px; height: 18px; color: var(--clay-dark); }
.article-cover { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 21 / 9; background: var(--sand); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Hero headline: lines rise from the bottom up through a clip mask */
.hl { display: block; clip-path: inset(-0.1em -0.05em -0.18em -0.05em); }
.hl > span { display: inline-block; }

/* 10 Breadcrumbs --------------------------------------------------------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .25rem; color: var(--text-soft); }
.breadcrumbs li + li::before {
  content: "";
  width: 14px; height: 1.5px; background: var(--line-strong); margin-inline: .35rem;
}
.breadcrumbs a { color: var(--text-soft); text-decoration: none; padding-block: .4rem; }
.breadcrumbs a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* 11 Quick answer card --------------------------------------------------- */
.answer-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  padding-left: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.answer-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: repeating-linear-gradient(to bottom, var(--clay) 0 14px, var(--clay-dark) 14px 16px);
}
.answer-card p { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.6; font-weight: 450; color: var(--ink); max-width: 72ch; }
.answer-card p > strong:first-child {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .6rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-dark);
}
.answer-card p > strong:first-child::before {
  content: "";
  width: 22px; height: 22px; flex: none;
  background: var(--clay-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F4A22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-radius: 50%;
}
.answer-card--wrap { margin-top: clamp(-3.5rem, -2rem - 2vw, -2rem); position: relative; z-index: 2; }
.answer-card--storm::before { background: repeating-linear-gradient(to bottom, var(--storm) 0 14px, #2F4657 14px 16px); }
.answer-card--storm p > strong:first-child { color: var(--storm); }

/* 12 Prose + lists ------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose a, .content-section p a, .content-section li a {
  color: var(--link);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.prose a:hover, .content-section p a:hover, .content-section li a:hover { color: var(--link-hover); text-decoration-color: var(--clay-dark); }
.content-section p, .content-section ul, .content-section ol { max-width: var(--measure); }
.content-section > * + * { margin-top: 1.1em; }
.content-section > h3 + * { margin-top: .5em; }
.content-section strong { font-weight: 600; }
/* Bulleted lists use a short "course line" marker */
.list, .content-section ul:not([class]) { list-style: none; padding: 0; display: grid; gap: .75rem; }
.list > li, .content-section ul:not([class]) > li { position: relative; padding-left: 1.75rem; }
.list > li::before, .content-section ul:not([class]) > li::before {
  content: "";
  position: absolute; left: 0; top: .78em;
  width: 14px; height: 6px;
  background: linear-gradient(var(--clay) 0 0) 0 0 / 100% 1.5px no-repeat,
              linear-gradient(var(--clay) 0 0) 0 100% / 65% 1.5px no-repeat;
}
.list--check > li::before {
  width: 18px; height: 18px; top: .28em;
  background: var(--sage-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355654F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
}
.content-section ol:not([class]) { padding-left: 1.4rem; display: grid; gap: .6rem; }
.content-section ol:not([class]) > li::marker { font-weight: 600; color: var(--clay-dark); }
.figure { display: grid; gap: .75rem; }
.figure img, .figure svg { border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); width: 100%; }
.figure figcaption { font-size: .875rem; color: var(--text-soft); }

/* 13 Tables -------------------------------------------------------------- */
.table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    linear-gradient(90deg, var(--paper) 30%, transparent) left / 32px 100% no-repeat local,
    linear-gradient(270deg, var(--paper) 30%, transparent) right / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(28 35 41 / .14), transparent) left / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(28 35 41 / .14), transparent) right / 12px 100% no-repeat scroll,
    var(--paper);
  box-shadow: var(--shadow-1);
  max-width: 100%;
}
.table-wrap:focus-visible { outline-offset: 2px; }
.table { width: 100%; min-width: 560px; font-size: .9688rem; line-height: 1.5; }
.table caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.25rem .85rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-dark);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.table th, .table td { padding: .95rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th {
  background: var(--ink);
  color: var(--on-dark);
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 0;
}
.table tbody th { font-weight: 600; color: var(--ink); }
.table tbody tr:nth-child(even) > * { background: #FAF8F4; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr { transition: background-color var(--t-fast); }
.table tbody tr:hover > * { background: var(--clay-tint); }
.table .num, .table td.price { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; font-weight: 600; color: var(--ink); }
.table--compact th, .table--compact td { padding: .75rem 1rem; }
/* Cost page: sticky first column on small screens, highlighted common jobs */
.table--sticky tbody th, .table--sticky thead th:first-child { position: sticky; left: 0; z-index: 1; }
.table--sticky tbody th { background: var(--paper); box-shadow: 1px 0 0 var(--line); }
.table--sticky tbody tr:nth-child(even) th { background: #FAF8F4; }
.table tr.is-common > * { background: var(--clay-tint) !important; }
.table tr.is-common > th:first-child { box-shadow: inset 4px 0 0 var(--clay); }
.table__tag {
  display: inline-block; margin-left: .5rem; padding: .1rem .5rem; border-radius: var(--r-pill);
  background: var(--clay); color: #fff; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: .15em;
}
.table-note { margin-top: .75rem; font-size: .875rem; color: var(--text-soft); }

/* 14 Steps / process ----------------------------------------------------- */
/* Compact numbered steps inside content */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
}
.steps > li::after {
  content: "";
  position: absolute; left: 25px; top: 52px; bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--line-strong) 0 6px, transparent 6px 10px);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps > li > * { grid-column: 2; }
.steps__body { padding-top: .7rem; }
.steps > li:nth-child(1)::before { background: var(--clay); }
.steps--storm > li::before { background: var(--storm); }
.steps--storm > li:nth-child(1)::before { background: var(--storm); }

/* Process timeline (homepage "How a repair visit works") */
.process { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.process__phase {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.process__phase h3 { margin-top: 0; margin-bottom: 1.5rem; }

/* Vertical claim timeline (insurance page) */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2.25rem; position: relative; counter-reset: tl; display: grid; gap: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--storm), var(--storm-light)); }
.timeline > li { position: relative; counter-increment: tl; }
.timeline > li::before {
  content: counter(tl);
  position: absolute; left: -2.25rem; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--storm); border: 2px solid var(--storm);
  font-size: .75rem; font-weight: 700;
}

/* 15 Callouts, chips ----------------------------------------------------- */
.callout {
  --c: var(--sage);
  --c-text: var(--sage-dark);
  --c-bg: var(--sage-tint);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--c-bg);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  border-left: 4px solid var(--c);
}
.callout > .icon { width: 26px; height: 26px; color: var(--c-text); margin-top: 2px; }
.callout__label { display: block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text); margin-bottom: .35rem; }
.callout p { max-width: none; }
.callout > div > * + * { margin-top: .6rem; }
.callout--storm { --c: var(--storm); --c-text: var(--storm); --c-bg: var(--storm-tint); }
.callout--clay { --c: var(--clay); --c-text: var(--clay-dark); --c-bg: var(--clay-tint); }
/* Oklahoma rule: law callouts on the insurance page (HB 1940 etc.) */
.callout--rule {
  --c: var(--storm); --c-text: var(--storm); --c-bg: var(--paper);
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-top: 4px solid var(--storm);
  box-shadow: var(--shadow-1);
  padding: 1.5rem;
}
.rule-badge {
  display: inline-flex; align-items: center; gap: .55rem; width: max-content;
  padding: .35rem .75rem .35rem .45rem; border-radius: var(--r-pill);
  background: var(--storm); color: #fff;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.rule-badge svg { width: 18px; height: 18px; margin-left: .2rem; }

.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 36px;
  padding: .35rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: .9063rem; font-weight: 500; line-height: 1.2;
  text-decoration: none;
}
.chip .icon { width: 16px; height: 16px; color: var(--clay-dark); }
a.chip { min-height: 44px; }
a.chip:hover { border-color: var(--clay); color: var(--clay-dark); }
.chip--sage { background: var(--sage-tint); border-color: transparent; color: var(--sage-dark); }
.chip--storm { background: var(--storm-tint); border-color: transparent; color: var(--storm); }
.chip--zip { font-variant-numeric: tabular-nums; letter-spacing: .03em; font-weight: 600; }
.chip--sm { min-height: 28px; padding: .2rem .65rem; font-size: .8125rem; }
.on-dark .chip { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .18); color: var(--on-dark); }
.chip-group + .chip-group { margin-top: 1.5rem; }
.chip-group__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: .6rem; display: block; }

/* 16 Cards --------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
}
.card::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms var(--ease-out);
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.card:hover, .card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card:hover::after, .card:focus-within::after { transform: scaleX(1); }
.card__body { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.card__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.card__title a { color: inherit; text-decoration: none; }
/* Whole card clickable, anchor text stays descriptive */
.card__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card__text { color: var(--text-soft); font-size: .9688rem; line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .875rem; color: var(--text-soft); }
.card__arrow {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color var(--t-med), color var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out);
}
.card__arrow .icon { width: 18px; height: 18px; }
.card:hover .card__arrow { background: var(--clay); color: #fff; border-color: var(--clay); transform: rotate(-45deg); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card:hover .card__media img { transform: scale(1.04); }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: var(--limestone);
  background-image: repeating-linear-gradient(to bottom, transparent 0 7px, rgb(28 35 41 / .06) 7px 8px);
  color: var(--clay-dark);
  border: 1px solid var(--line);
}
.card__icon .icon { width: 28px; height: 28px; }
.card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .8438rem; color: var(--text-soft); }
.card__meta .icon { width: 16px; height: 16px; }

/* Board-and-batten grid: tall boards, thin battens between */
.bb-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
}
@media (min-width: 600px) { .bb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bb-grid > .card {
  border: 0;
  border-radius: 0;
  box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line);
  min-height: 280px;
}
.bb-grid > .card::before {
  content: "";
  position: absolute; top: 0; bottom: 0; right: -4px; width: 8px;
  background: linear-gradient(90deg, transparent 3px, var(--line) 3px 5px, transparent 5px);
  z-index: 0;
  opacity: 0;
}
.bb-grid > .card:hover { z-index: 2; box-shadow: var(--shadow-3); }
.bb-grid > .card::after { border-radius: 0; }
.bb-grid .card__body { padding: clamp(1.5rem, 1rem + 1.5vw, 2rem); gap: 1rem; }

/* Card variants */
.card--dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); --text: var(--on-dark); --text-soft: var(--on-dark-soft); --focus: var(--clay-light); }
.card--dark .card__arrow { border-color: rgb(255 255 255 / .25); color: #fff; }
.card--city .card__title { font-size: 1.5rem; }
.card--city .card__zips { display: flex; flex-wrap: wrap; gap: .35rem; position: relative; z-index: 2; }
.card--city.is-highlight { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay), var(--shadow-2); transform: translateY(-4px); }
.card--city.is-highlight::after { transform: scaleX(1); }
.card--related {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
  --text: var(--on-dark); --text-soft: var(--on-dark-soft); --focus: var(--clay-light);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
}
.card--related .card__icon { background-color: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .12); color: var(--clay-light); background-image: none; flex: none; }
.card--related .eyebrow { margin-bottom: .35rem; color: var(--clay-light); }
.card--related .card__title { font-size: 1.5rem; }
.card--related .card__arrow { margin-left: auto; flex: none; border-color: rgb(255 255 255 / .25); color: #fff; }
@media (max-width: 599px) { .card--related { flex-direction: column; align-items: flex-start; } .card--related .card__arrow { margin-left: 0; } }
.card--nearby .card__body { flex-direction: row; align-items: center; gap: 1rem; }
.card--nearby .card__title { font-size: 1.1875rem; }
.card--nearby .card__arrow { margin-left: auto; }

/* Inline CTA card (mid-page) */
.cta-card {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
}
@media (min-width: 900px) { .cta-card { grid-template-columns: 1fr auto; align-items: center; } }
.cta-card__title { font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 580; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.cta-card__text { color: var(--on-dark-soft); margin-top: .5rem; }
.cta-card .btn-row { justify-content: flex-start; }
.cta-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  border: 1.5px solid rgb(224 145 95 / .35); border-radius: 50%; pointer-events: none;
}

/* 17 Before / after slider ----------------------------------------------- */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 8 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow: var(--shadow-2);
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__layer--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.ba__label {
  position: absolute; top: 1rem; z-index: 3;
  padding: .35rem .75rem; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  pointer-events: none;
}
.ba__label--before { left: 1rem; background: var(--ink); color: #fff; }
.ba__label--after { right: 1rem; background: var(--paper); color: var(--ink); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4;
  width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgb(28 35 41 / .15);
  pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--clay); color: #fff;
  box-shadow: 0 6px 20px rgb(28 35 41 / .35);
  transition: transform var(--t-fast) var(--ease-out);
}
.ba__knob .icon { width: 24px; height: 24px; }
.ba__range {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba__range:focus-visible ~ .ba__handle .ba__knob { outline: 3px solid #fff; outline-offset: 3px; transform: scale(1.08); }
.ba:hover .ba__knob { transform: scale(1.06); }
.ba-caption { margin-top: .75rem; font-size: .875rem; color: var(--text-soft); display: flex; align-items: center; gap: .5rem; }
.ba-caption .icon { width: 18px; height: 18px; }

/* 18 Cost estimator ------------------------------------------------------ */
.estimator {
  display: grid;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-2);
}
@media (min-width: 900px) { .estimator:not(.estimator--compact) { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.estimator__controls { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: 1.5rem; }
.estimator__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.estimator__legend { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .75rem; padding: 0; display: flex; align-items: center; gap: .5rem; }
.estimator__legend .step-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .6875rem; letter-spacing: 0; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 600px) { .option-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option span {
  display: flex; align-items: center; gap: .55rem;
  min-height: 52px; height: 100%;
  padding: .6rem .8rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: .9375rem; font-weight: 500; line-height: 1.25;
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.option span .icon { width: 22px; height: 22px; color: var(--clay-dark); }
.option:hover span { border-color: var(--line-strong); }
.option input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.option input:checked + span .icon { color: var(--clay-light); }
.option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.qty { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.qty label { font-weight: 500; font-size: .9375rem; }
.qty__box { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; }
.qty__box button { width: 46px; border: 0; background: var(--limestone); font-size: 1.25rem; font-weight: 500; }
.qty__box button:hover { background: var(--sand); }
.qty__box input { width: 74px; text-align: center; border: 0; border-inline: 1.5px solid var(--line-strong); font-variant-numeric: tabular-nums; font-weight: 600; min-height: 46px; -moz-appearance: textfield; }
.qty__box input::-webkit-outer-spin-button, .qty__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.estimator__result {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--ink);
  color: var(--on-dark);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
  --focus: var(--clay-light);
}
.estimator__job { color: var(--on-dark-soft); font-size: .9375rem; min-height: 1.5em; }
.estimator__price {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums lining-nums;
  color: #fff;
}
.estimator__price .to { font-family: var(--font-body); font-size: .4em; font-weight: 500; color: var(--on-dark-soft); letter-spacing: 0; margin-inline: .35em; vertical-align: .35em; }
.estimator__unit { display: block; font-family: var(--font-body); font-size: .9375rem; font-weight: 500; color: var(--clay-light); letter-spacing: 0; margin-top: .35rem; }
.estimator__note { font-size: .875rem; color: var(--on-dark-soft); display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); margin-top: auto; }
.estimator__note .icon { width: 18px; height: 18px; color: var(--clay-light); margin-top: 2px; }
.estimator__bar { height: 6px; border-radius: 3px; background: rgb(255 255 255 / .1); position: relative; overflow: hidden; }
.estimator__bar span { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: linear-gradient(90deg, var(--clay-light), var(--clay)); border-radius: 3px; transform-origin: left; transform: scaleX(var(--fill, .3)); transition: transform 600ms var(--ease-out); }
.estimator--compact .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1200px) { .estimator--compact .option-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 19 Hail timeline ------------------------------------------------------- */
.hail-chart { --bar: var(--storm-light); --peak: var(--clay); position: relative; }
.on-dark .hail-chart { --bar: rgb(157 176 190 / .55); --peak: var(--clay-light); }
.hail-chart__plot { position: relative; padding-top: 3.25rem; }
.hail-chart__bands { position: absolute; left: 0; right: 0; top: 0; height: 100%; pointer-events: none; }
.hail-band {
  position: absolute; top: 2.25rem; bottom: 2.25rem;
  left: calc(var(--from) / 12 * 100%);
  width: calc((var(--to) - var(--from)) / 12 * 100%);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: color-mix(in srgb, var(--peak) 14%, transparent);
  border-top: 2px solid var(--peak);
  transform-origin: left center;
}
.hail-band__label {
  position: absolute; bottom: 100%; left: 0;
  padding-bottom: .4rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--peak);
  white-space: nowrap;
}
.hail-band--second .hail-band__label { left: auto; right: 0; }
.hail-chart__cols { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(3px, .6vw, 8px); list-style: none; margin: 0; padding: 0; align-items: end; height: clamp(170px, 22vw, 230px); }
.hail-col { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: .5rem; }
.hail-col__bar {
  align-self: end;
  height: calc(var(--lvl) / 5 * 100%);
  border-radius: 3px 3px 0 0;
  background: var(--bar);
  background-image: repeating-linear-gradient(to bottom, transparent 0 7px, rgb(28 35 41 / .08) 7px 8px);
  transform-origin: bottom;
}
.hail-col.is-peak .hail-col__bar { background-color: var(--peak); }
.hail-col__month { text-align: center; font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--text-soft); line-height: 1.3; height: 1.75rem; }
.hail-chart__legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.25rem; font-size: .875rem; color: var(--text-soft); }
.hail-chart__legend span { display: inline-flex; align-items: center; gap: .5rem; }
.hail-chart__legend i { width: 14px; height: 14px; border-radius: 3px; background: var(--bar); display: inline-block; }
.hail-chart__legend i.peak { background: var(--peak); }
.hail-chart figcaption { margin-top: 1rem; font-size: .9375rem; color: var(--text-soft); max-width: 70ch; }

/* 20 Repair-or-replace checker ------------------------------------------- */
.checker {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-2);
}
@media (min-width: 900px) { .checker--wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.checker__list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.checker__q {
  counter-increment: q;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  padding: 1.1rem clamp(1.1rem, 1rem + 1vw, 1.5rem);
  border-bottom: 1px solid var(--line);
  border-width: 0 0 1px;
  margin: 0;
  min-width: 0;
}
@media (min-width: 600px) { .checker__q { grid-template-columns: 1fr auto; align-items: center; } }
.checker__q legend { float: left; padding: 0; font-weight: 500; font-size: .9688rem; line-height: 1.5; display: flex; gap: .75rem; }
.checker__q legend::before { content: counter(q); flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--limestone); border: 1px solid var(--line); font-size: .75rem; font-weight: 700; color: var(--ink-soft); margin-top: -1px; }
.yn { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); padding: 3px; gap: 2px; justify-self: start; }
.yn label { position: relative; }
.yn input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.yn span { display: grid; place-items: center; min-width: 64px; min-height: 44px; padding: 0 1rem; border-radius: var(--r-pill); font-weight: 600; font-size: .875rem; transition: background-color var(--t-fast), color var(--t-fast); }
.yn input:checked + span { background: var(--ink); color: #fff; }
.yn input[value="yes"]:checked + span { background: var(--clay); }
.yn input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.checker__result {
  display: flex; flex-direction: column; gap: 1rem; justify-content: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--limestone);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-ink) 27px 28px);
}
.checker__meter { display: flex; gap: 4px; }
.checker__meter span { flex: 1; height: 8px; border-radius: 2px; background: var(--line); transition: background-color var(--t-med); }
.checker__meter span.is-on { background: var(--clay); }
.checker__verdict { font-family: var(--font-display); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); font-weight: 580; line-height: 1.1; letter-spacing: -.015em; }
.checker__verdict[data-tone="repair"] { color: var(--sage-dark); }
.checker__verdict[data-tone="close"] { color: var(--clay-dark); }
.checker__verdict[data-tone="replace"] { color: var(--storm); }
.checker__explain { color: var(--ink-soft); font-size: .9688rem; }
.checker__fine { font-size: .8125rem; color: var(--ink-soft); }

/* 21 CTA band + lead form ------------------------------------------------ */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
}
.cta-band::after {
  content: "";
  position: absolute; z-index: -1; right: -12%; top: -30%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(180 96 46 / .22), transparent);
}
.cta-band__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 1000px) { .cta-band__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.cta-band__copy > * + * { margin-top: var(--s-5); }
.cta-band__copy h2 { color: #fff; }
.cta-band__copy p { color: var(--on-dark-soft); max-width: 52ch; }
.cta-band__copy p strong, .cta-band__copy p a { color: #fff; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.contact-line {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center;
  padding: .85rem 0; border-top: 1px solid var(--line-dark);
  color: var(--on-dark); text-decoration: none;
}
.contact-line__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); color: var(--clay-light); }
.contact-line__icon .icon { width: 22px; height: 22px; }
.contact-line__label { display: block; font-size: .8125rem; color: var(--on-dark-soft); letter-spacing: .02em; }
.contact-line__value { display: block; font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
a.contact-line:hover .contact-line__value { color: var(--clay-light); }

/* Form */
.form-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-3);
  --text: var(--ink); --text-soft: var(--ink-soft); --link: var(--ink); --focus: var(--clay-dark);
}
.form-card__title { font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.form-card__sub { color: var(--ink-soft); font-size: .9375rem; margin-top: .35rem; }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field__label { font-size: .9063rem; font-weight: 600; color: var(--ink); }
.field__label .req { color: var(--error); margin-left: .15rem; }
.field__label .opt { font-weight: 400; color: var(--ink-soft); margin-left: .25rem; }
.field__hint { font-size: .8125rem; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: .75rem .95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: #7A8388; }
.input:hover, .select:hover, .textarea:hover { border-color: #B4AB9B; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgb(180 96 46 / .16); }
.select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.75rem;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2329' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 20px no-repeat;
}
.textarea { min-height: 120px; resize: vertical; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--error); box-shadow: 0 0 0 4px rgb(163 50 31 / .1); }
.field__error { display: none; align-items: center; gap: .4rem; font-size: .8438rem; font-weight: 500; color: var(--error); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: .6875rem; font-weight: 700; flex: none; }
.field.is-invalid .field__error { display: flex; }
.dropzone { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center; padding: 1rem; border: 1.5px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--limestone); transition: border-color var(--t-fast), background-color var(--t-fast); }
.dropzone:hover, .dropzone.is-drag { border-color: var(--clay); background: var(--clay-tint); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone input:focus-visible ~ .dropzone__icon { outline: 3px solid var(--focus); outline-offset: 3px; }
.dropzone__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--clay-dark); }
.dropzone__icon .icon { width: 22px; height: 22px; }
.dropzone__text { font-size: .9063rem; line-height: 1.4; }
.dropzone__text strong { display: block; font-weight: 600; }
.dropzone__files { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .35rem; }
.dropzone__files:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; font-size: .875rem; line-height: 1.5; color: var(--ink-soft); }
.check input { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: var(--r-xs); background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast); }
.check input::after { content: ""; width: 12px; height: 7px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--t-fast) var(--ease-out); }
.check input:checked { background: var(--clay); border-color: var(--clay); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--ink); font-weight: 500; }
.field.is-invalid .check input { border-color: var(--error); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: .75rem; margin-top: .5rem; }
.form-actions .btn { width: 100%; }
.form-fine { font-size: .8125rem; color: var(--ink-soft); display: flex; align-items: center; gap: .4rem; }
.form-fine .icon { width: 16px; height: 16px; color: var(--sage-dark); }
.form-status { font-size: .875rem; font-weight: 500; }
.form-status.is-error { color: var(--error); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__label { opacity: .0; }
.btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2.5px solid rgb(255 255 255 / .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: clamp(1.5rem, 1rem + 3vw, 3rem) 1rem; display: grid; justify-items: center; gap: 1rem; }
.form-success__mark { width: 76px; height: 76px; }
.form-success__mark circle { fill: var(--sage-tint); }
.form-success__mark path { fill: none; stroke: var(--sage-dark); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.form-success__title { font-family: var(--font-display); font-size: 1.625rem; font-weight: 600; }
.form-success p { color: var(--ink-soft); max-width: 44ch; }

/* 22 FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: .75rem; max-width: 880px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.faq__item > summary {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem 1.15rem 1.5rem;
  min-height: 64px;
  border-radius: var(--r-md);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary h3 { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.4; font-weight: 600; margin: 0; letter-spacing: -.005em; }
.faq__icon {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out);
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -.875px 0 0 -7px; background: var(--ink); border-radius: 1px; transition: transform var(--t-med) var(--ease-out), background-color var(--t-med); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--clay); border-color: var(--clay); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item > summary:hover .faq__icon { border-color: var(--clay); }
.faq__answer { padding: 0 1.5rem 1.4rem; overflow: hidden; }
.faq__answer > * + * { margin-top: .9em; }
.faq__answer p { color: var(--ink-soft); max-width: 72ch; }
.faq__answer a { color: var(--ink); font-weight: 500; text-decoration-color: var(--clay); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }

/* 23 TOC + reading progress ---------------------------------------------- */
.toc { font-size: .9063rem; }
@media (min-width: 1200px) {
  .toc { position: sticky; top: calc(var(--header-h-solid) + 2rem); max-height: calc(100vh - var(--header-h-solid) - 4rem); overflow-y: auto; padding-right: .5rem; }
}
.toc__details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.toc__details > summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .75rem 1.1rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.toc__details > summary::-webkit-details-marker { display: none; }
.toc__details > summary .icon { width: 20px; height: 20px; transition: transform var(--t-med) var(--ease-out); }
.toc__details[open] > summary .icon { transform: rotate(180deg); }
.toc__list { list-style: none; margin: 0; padding: 0 .5rem .75rem; display: grid; gap: 1px; counter-reset: toc; }
.toc__list a {
  counter-increment: toc;
  position: relative;
  display: grid; grid-template-columns: 26px 1fr; gap: .25rem;
  padding: .5rem .6rem;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.toc__list a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: .75rem; font-weight: 600; color: var(--line-strong); padding-top: .15em; transition: color var(--t-fast); }
.toc__list a:hover { color: var(--ink); background: var(--limestone); }
.toc__list a.is-active { color: var(--ink); font-weight: 600; background: var(--limestone); }
.toc__list a.is-active::before { color: var(--clay); }
.toc__list a.is-active::after { content: ""; position: absolute; left: -.5rem; top: .55rem; bottom: .55rem; width: 3px; border-radius: 2px; background: var(--clay); }
@media (min-width: 1200px) {
  .toc__details { border: 0; background: transparent; }
  .toc__details > summary { pointer-events: none; padding: 0 0 .75rem; min-height: 0; border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
  .toc__details > summary .icon { display: none; }
  .toc__list { padding: 0; }
}
.toc-cta { margin-top: 1.25rem; padding: 1.1rem; border-radius: var(--r-md); background: var(--ink); color: var(--on-dark); display: none; gap: .75rem; --focus: var(--clay-light); }
.toc-cta p { font-size: .875rem; color: var(--on-dark-soft); }
@media (min-width: 1200px) { .toc-cta { display: grid; } }
.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: var(--z-progress); height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--clay); transform-origin: left; transform: scaleX(0); }

/* 24 Metro map ----------------------------------------------------------- */
.metro-map { position: relative; margin: 0; }
.metro-map__svg { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--limestone); }
.metro-map__caption { margin-top: .75rem; font-size: .875rem; color: var(--text-soft); }
.mm-bg { fill: var(--limestone); }
.mm-grid path { stroke: var(--ink); stroke-opacity: .045; }
.mm-ring { fill: none; stroke: var(--storm); stroke-opacity: .35; stroke-dasharray: 4 6; }
.mm-ring-label { font: 500 16px var(--font-body); fill: var(--storm); }
.mm-river { fill: none; stroke: var(--storm-light); stroke-width: 7; stroke-linecap: round; }
.mm-lake { fill: #C9D6DF; }
.mm-water-label { font: italic 500 16px var(--font-body); fill: var(--storm); }
.mm-compass circle { fill: var(--paper); stroke: var(--line); }
.mm-compass path { fill: var(--clay); }
.mm-compass text { font: 600 14px var(--font-body); fill: var(--ink); }
.mm-city { cursor: pointer; outline: none; }
.mm-halo { fill: var(--clay); fill-opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: fill-opacity var(--t-med), transform var(--t-med) var(--ease-out); }
.mm-pin { fill: var(--ink); stroke: var(--paper); stroke-width: 3; transition: fill var(--t-fast); }
.mm-label { font: 600 21px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: var(--limestone); stroke-width: 5px; stroke-linejoin: round; transition: fill var(--t-fast); }
.mm-city--hub .mm-pin { fill: var(--clay); }
.mm-city--hub .mm-label { font: 600 28px var(--font-display); }
.mm-city:hover .mm-halo, .mm-city:focus-visible .mm-halo, .mm-city.is-active .mm-halo { fill-opacity: .18; transform: scale(1); }
.mm-city:hover .mm-pin, .mm-city:focus-visible .mm-pin, .mm-city.is-active .mm-pin { fill: var(--clay); }
.mm-city:hover .mm-label, .mm-city:focus-visible .mm-label, .mm-city.is-active .mm-label { fill: var(--clay-dark); }
.mm-city:focus-visible .mm-pin { stroke: var(--clay-dark); stroke-width: 4; }
.mm-city.is-current .mm-halo { fill-opacity: .25; transform: scale(1.3); }
.mm-city.is-current .mm-pin { fill: var(--clay); r: 11; }
.mm-city.is-current .mm-label { fill: var(--clay-dark); font-size: 24px; }
.metro-map.has-current .mm-city:not(.is-current):not(.mm-city--hub) .mm-pin { fill: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .mm-city.is-current .mm-halo { animation: mmPulse 3.2s var(--ease-out) infinite; }
}
@keyframes mmPulse { 0%, 100% { fill-opacity: .25; } 50% { fill-opacity: .08; } }

/* 25 Map facade (click to load Google Maps) ------------------------------ */
.map-facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
@media (max-width: 599px) { .map-facade { aspect-ratio: 4 / 3; } }
.map-facade__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.map-facade__overlay { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .9rem; padding: 1rem; text-align: center; background: linear-gradient(180deg, rgb(245 242 236 / .15), rgb(245 242 236 / .75)); }
.map-facade__note { font-size: .8125rem; color: var(--ink-soft); max-width: 40ch; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 26 Footer -------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--on-dark-soft);
  --text: var(--on-dark); --text-soft: var(--on-dark-soft); --link: var(--on-dark); --link-hover: var(--clay-light); --focus: var(--clay-light);
  font-size: .9375rem;
  overflow: hidden;
}
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px); pointer-events: none; }
.footer-cta { position: relative; display: grid; gap: 1.5rem; padding-block: clamp(3rem, 2rem + 4vw, 5rem); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; align-items: end; } }
.footer-cta__title { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 540; line-height: 1.05; letter-spacing: -.02em; color: #fff; max-width: 16ch; }
.footer-cta__title em { font-style: normal; color: var(--clay-light); }
.footer-cta__phone { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 560; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.footer-cta__phone .icon { width: 30px; height: 30px; color: var(--clay-light); }
.footer-cta__phone:hover { color: var(--clay-light); }
.footer-grid { position: relative; display: grid; gap: 2.5rem 2rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; margin: 0 0 1.25rem; }
.footer-title { display: block; color: #fff; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark-soft); text-decoration: none; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--clay-light); }
.footer-links a[aria-current="page"] { color: #fff; }
.nap { font-style: normal; display: grid; gap: .5rem; }
.nap__row { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.nap__row .icon { width: 20px; height: 20px; color: var(--clay-light); margin-top: 2px; }
.nap a { color: #fff; text-decoration: none; }
.nap a:hover { color: var(--clay-light); }
.nap__name { color: #fff; font-weight: 600; }
.hours { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); display: grid; gap: .3rem; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .8438rem; }
.footer-bottom a { color: var(--on-dark-soft); }
.footer-bottom a:hover { color: var(--clay-light); }
.footer-disclosure { max-width: 80ch; }
@media (max-width: 899px) { .site-footer { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); } }

/* 27 Sticky mobile call bar + desktop floating CTA ------------------------ */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgb(28 35 41 / .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 -10px 30px -12px rgb(12 16 19 / .5);
  --focus: var(--clay-light);
  transition: transform var(--t-med) var(--ease-out);
}
.callbar .btn { min-height: 52px; padding-inline: .75rem; font-size: .9688rem; }
.callbar .btn--outline { --btn-fg: #fff; --btn-border: rgb(255 255 255 / .45); --btn-sweep: #fff; --btn-fg-hover: var(--ink); }
.callbar .btn .icon { width: 18px; height: 18px; }
@media (max-width: 389px) { .callbar__lead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .callbar .btn { padding-inline: .5rem; gap: .45em; } }
@media (max-width: 899px) { body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); } body.has-no-callbar { padding-bottom: 0; } }
@media (min-width: 900px) { .callbar { display: none; } }
html.menu-open .callbar { transform: translateY(110%); }
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: var(--z-callbar);
  display: none;
  box-shadow: var(--shadow-3);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
@media (min-width: 900px) { .float-cta { display: inline-flex; } }
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* 28 Tenant slots (hidden until real content is added) -------------------- */
.tenant-slot { border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); padding: 1.5rem; background: var(--paper); }
.empty-state { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 1.5rem; }
.empty-state img { width: min(360px, 100%); }
.empty-state p { color: var(--text-soft); font-size: .9375rem; max-width: 46ch; }

/* 29 Motion -------------------------------------------------------------- */
/* Content is visible by default. Only when JS is running (html.js) and the
   user has not asked for reduced motion do elements start hidden. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); }
  .js [data-reveal].is-revealed {
    opacity: 1; transform: none;
    transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 75ms);
  }
  .js [data-reveal-group] > * { opacity: 0; transform: translateY(20px); }
  .js [data-reveal-group].is-revealed > * {
    opacity: 1; transform: none;
    transition: opacity 750ms var(--ease-out), transform 750ms var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med);
    transition-delay: calc(var(--i, 0) * 75ms);
  }
  .js [data-reveal-group].is-revealed > *:hover { transition-delay: 0s; }

  /* Hero course stack: headline lines rise bottom line first */
  .js .hl > span { transform: translateY(110%); }
  .js .is-ready .hl > span { transform: none; transition: transform 900ms var(--ease-out); transition-delay: calc(var(--line-delay, 0) * 1ms); }
  .js .hero-rise { opacity: 0; transform: translateY(16px); }
  .js .is-ready .hero-rise { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
  /* Photo bands: start covering the photo, slide away bottom band first */
  .js .media-courses__bands span { transform: scaleX(1); }
  .js .is-ready .media-courses__bands span { transform: scaleX(0); transition: transform 900ms var(--ease-in-out); }
  .js .is-ready .media-courses__bands span:nth-child(6) { transition-delay: 150ms; }
  .js .is-ready .media-courses__bands span:nth-child(5) { transition-delay: 240ms; }
  .js .is-ready .media-courses__bands span:nth-child(4) { transition-delay: 330ms; }
  .js .is-ready .media-courses__bands span:nth-child(3) { transition-delay: 420ms; }
  .js .is-ready .media-courses__bands span:nth-child(2) { transition-delay: 510ms; }
  .js .is-ready .media-courses__bands span:nth-child(1) { transition-delay: 600ms; }
  /* Inline course-stack illustration */
  .js .course-stack .cs-course { opacity: 0; transform: translateY(14px); transform-box: fill-box; }
  .js .is-ready .course-stack .cs-course, .js .course-stack.is-revealed .cs-course { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 45ms + 300ms); }
  .js .course-stack .cs-trim { opacity: 0; }
  .js .is-ready .course-stack .cs-trim, .js .course-stack.is-revealed .cs-trim { opacity: 1; transition: opacity 700ms ease 1.4s; }

  /* Charts */
  .js .hail-chart .hail-col__bar { transform: scaleY(0); }
  .js .hail-chart.is-revealed .hail-col__bar { transform: none; transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .hail-chart .hail-band { transform: scaleX(0); opacity: 0; }
  .js .hail-chart.is-revealed .hail-band { transform: none; opacity: 1; transition: transform 900ms var(--ease-out) 700ms, opacity 400ms ease 700ms; }

  /* Phone ring pulse: once every 6 seconds */
  .btn__phone::after, .header-phone__icon::after { animation: ringPulse 6s var(--ease-out) 2s infinite; }
  @keyframes ringPulse {
    0% { opacity: .9; transform: scale(.85); }
    14% { opacity: 0; transform: scale(1.45); }
    100% { opacity: 0; transform: scale(1.45); }
  }

  /* Cross-document page fade (View Transitions API, Chrome / Edge / Safari 18+) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut 180ms ease both; }
  ::view-transition-new(root) { animation: vtIn 260ms ease both; }
  @keyframes vtOut { to { opacity: 0; } }
  @keyframes vtIn { from { opacity: 0; } }
  .site-header { view-transition-name: site-header; }

  .form-success__mark path { stroke-dashoffset: 40; animation: drawCheck 700ms var(--ease-out) 200ms forwards; }
  .form-success { animation: rise 600ms var(--ease-out) both; }
  @keyframes drawCheck { to { stroke-dashoffset: 0; } }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 30 Print --------------------------------------------------------------- */
@media print {
  .site-header, .callbar, .float-cta, .mobile-nav, .toc, .read-progress, .map-facade, .form-card { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .section--dark, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ==========================================================================
   Batch 1 additions: homepage
   ========================================================================== */
/* Rich text blocks outside .content-section (homepage sections, split columns) */
.rich > * + * { margin-top: 1.1em; }
.rich p, .rich > ul, .rich > ol { max-width: var(--measure); }
.rich strong { font-weight: 600; }
.rich p a:not([class]), .rich li a:not([class]) {
  color: var(--link); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 1.5px; text-underline-offset: .22em;
  transition: color var(--t-fast);
}
.rich p a:not([class]):hover, .rich li a:not([class]):hover { color: var(--link-hover); }
.on-dark .rich p a:not([class]) { text-decoration-color: var(--clay-light); }
.section__head.rich > * + * { margin-top: var(--s-4); }
.rich > .eyebrow + h2 { margin-top: 0; }
.rich > h2 + p { margin-top: var(--s-5); }

/* Hero: longer intro paragraph and the call line under the buttons */
.hero-home .lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; }
.hero-home__note { font-size: .9375rem; line-height: 1.6; color: var(--on-dark-soft); max-width: 56ch; }
.hero-home__note strong, .hero-home__note a { color: #fff; }
.hero-home__note a { text-decoration-color: var(--clay-light); text-underline-offset: .2em; }
@media (min-width: 900px) { .hero-home__grid { padding-block: 2.5rem 4.5rem; } }

/* Quick answer band directly under the hero */
.answer-band { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.answer-band .answer-card { max-width: 1040px; }

/* H3 sub heads inside full-width homepage sections */
.home-sub { margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 1.25rem; display: flex; align-items: center; gap: 1rem; }
.home-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section__head + .home-sub { margin-top: 0; }

/* List-based card grids */
ul.bb-grid, .city-cards { list-style: none; margin: 0; padding: 0; }
.card--static:hover, .card--static:focus-within { transform: none; }
.bb-grid > .card--static:hover { box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.card--static::after { display: none; }
.city-cards { display: grid; gap: .75rem; align-content: start; }
@media (min-width: 600px) { .city-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.city-cards .card__title { font-size: 1.1875rem; }

/* Stat card (numbers already in the copy only) */
.stat-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: rgb(255 255 255 / .03);
}
.stat-card__value { font-family: var(--font-display); font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); font-weight: 520; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.stat-card__to { font-family: var(--font-body); font-size: .28em; font-weight: 500; letter-spacing: 0; color: var(--clay-light); margin-inline: .4em; vertical-align: .55em; }
.stat-card__label { margin-top: .75rem; color: var(--on-dark); font-size: 1.0625rem; max-width: 28ch; }
.stat-card__source { margin-top: .75rem; font-size: .8125rem; letter-spacing: .04em; color: var(--on-dark-soft); }

/* Storm photo beside the hail chart */
.storm-panel { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 900px) { .storm-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.storm-panel__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--slate); }
.storm-panel__media img { width: 100%; height: 100%; object-fit: cover; }

/* Sticky interactive column beside a table */
@media (min-width: 900px) { .sticky-col { position: sticky; top: calc(var(--header-h-solid) + 1.5rem); } }

/* Icon list cards (permit exceptions and similar two-item lists) */
.list-cards { list-style: none; padding: 0; display: grid; gap: .75rem; }
.list-cards > li {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
}
.list-cards > li > .icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--r-sm); background: var(--clay-tint); color: var(--clay-dark); }
.section--paper .list-cards > li { background: var(--limestone); }
@media (max-width: 899px) { .hero-home__card { display: none; } }

/* ==========================================================================
   Batch 2 additions: service pages (layout B)
   ========================================================================== */
.hero-note { font-size: .9375rem; line-height: 1.6; color: var(--ink-soft); max-width: 58ch; }
.hero-note strong { color: var(--ink); }
.hero-note a { color: var(--ink); text-decoration-color: var(--clay); text-underline-offset: .2em; }
.hero-page .lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; }
.hero-page--storm .hero-note a, .hero-page--storm .hero-chips .icon { text-decoration-color: var(--storm); color: inherit; }
.hero-page--storm .hero-chips .icon { color: var(--storm); }
.page-body { padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section-y); }
.page-cta { margin-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.content-section .figure, .content-section .ba-figure, .content-section .ba-trio, .content-section .hail-chart { margin-top: 1.75rem; }
.content-section .figure + h3, .content-section .ba-figure + h3, .content-section .ba-trio + h3 { margin-top: var(--s-7); }
.ba-trio { display: grid; gap: 1rem; }
@media (min-width: 600px) { .ba-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ba-trio .ba { aspect-ratio: 4 / 3; }
.ba-trio .ba__label { top: .6rem; padding: .25rem .55rem; font-size: .6875rem; }
.ba-trio .ba__label--before { left: .6rem; }
.ba-trio .ba__label--after { right: .6rem; }
.ba-trio .ba__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.hail-chart--panel { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.content-section .city-cards { max-width: none; }
.card--nearby .card__body > .icon { color: var(--clay-dark); }
.card-list { list-style: none; margin: 0; padding: 0; }
.related-row { padding-bottom: var(--section-y); }
.related-row__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.related-row__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + .9vw, 2.125rem); font-weight: 580; letter-spacing: -.012em; line-height: 1.15; }
.related-row .card__media img[src$=".svg"] { object-fit: contain; background: var(--paper); }
.nearby-strip { background: var(--paper); border-top: 1px solid var(--line); padding-block: 1.75rem; }
.nearby-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.nearby-strip__label { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.nearby-strip__label .icon { color: var(--clay-dark); }
.nearby-strip .chip-list { flex: 1 1 520px; }
@media (max-width: 599px) {
  .hail-chart__cols { gap: 3px; }
  .hail-col__month { font-size: .5938rem; letter-spacing: 0; }
  .hail-band__label { font-size: .625rem; letter-spacing: .03em; }
}

/* ==========================================================================
   Batch 3 additions: figure groups on service pages
   ========================================================================== */
.section-trio { display: grid; gap: .75rem; margin-top: 1.75rem; }
@media (min-width: 600px) { .section-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.figure--photo img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--sand); }
.card__text--lc::first-letter { text-transform: uppercase; }
@media (max-width: 599px) { .bb-grid > .card { min-height: 0; } .section-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); } .section-trio figcaption { font-size: .8125rem; } }

/* ==========================================================================
   Batch 4 additions: wide comparison tables
   ========================================================================== */
.table thead th { white-space: normal; line-height: 1.35; vertical-align: bottom; }
.table tbody th[scope="row"] { min-width: 9.5rem; }
.table td.price { white-space: nowrap; }

/* ==========================================================================
   Batch 5 additions: cost page (layout C) and insurance page (layout D)
   ========================================================================== */
/* Full estimator band right after the Quick answer */
.estimator-band { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.estimator-band__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1rem; color: var(--ink-soft); font-size: .9688rem; }
.estimator-band__label .eyebrow { margin: 0; }

/* Price tiles: "**Vinyl:** $175 to $350" lists */
.content-section ul.price-tiles { list-style: none; padding: 0; display: grid; gap: .75rem; max-width: none; }
@media (min-width: 600px) { .content-section ul.price-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-tiles > li {
  position: relative; padding: 1.1rem 1.25rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 560; line-height: 1.2;
  letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink);
}
.price-tiles > li::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 2px; background: var(--clay); }
.price-tiles > li strong { display: block; margin-bottom: .35rem; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-dark); }

/* Check / cross / flag lists */
.list--x > li::before {
  width: 18px; height: 18px; top: .28em;
  background: #F6E3DF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3321F' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-radius: 50%;
}
.list--flag > li { padding: 1rem 1.1rem 1rem 3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.list--flag > li::before {
  left: 1rem; top: 1.25rem; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F4A22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4.2 2.8 17.5A2 2 0 0 0 4.5 20.5h15a2 2 0 0 0 1.7-3L13.7 4.2a2 2 0 0 0-3.4 0zM12 9.5v4.5M12 17v.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.content-section .list--flag { gap: .6rem; max-width: none; }
/* List item that carries an Oklahoma law note */
.list > li.li-rule, .content-section ul > li.li-rule { padding: 3.1rem 1.25rem 1.1rem; border: 1px solid var(--line); border-top: 4px solid var(--storm); border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-1); }
.list > li.li-rule::before, .content-section ul > li.li-rule::before { display: none; }
.li-rule .rule-badge { position: absolute; left: 1.25rem; top: .9rem; }

/* Two lists side by side (covered / not covered) */
.h3-split { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .h3-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h3-col { padding: 1.25rem 1.4rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.content-section .h3-col h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.h3-col:first-child { border-top: 4px solid var(--sage); }
.h3-col:last-child { border-top: 4px solid var(--error); }

/* Claim timeline inside content */
.content-section .timeline { max-width: var(--measure); }
.content-section .timeline > li { padding-left: .25rem; }
.content-section .timeline .steps__body { margin: 0; }

/* Storm accent (insurance page) */
[data-accent="storm"] .content-section > h2::after {
  background: linear-gradient(var(--storm) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--storm) 0 0) 0 100% / 60% 2px no-repeat;
}
[data-accent="storm"] .content-section ul:not([class]) > li::before {
  background: linear-gradient(var(--storm) 0 0) 0 0 / 100% 1.5px no-repeat, linear-gradient(var(--storm) 0 0) 0 100% / 65% 1.5px no-repeat;
}
[data-accent="storm"] .content-section p a, [data-accent="storm"] .content-section li a { text-decoration-color: var(--storm); }
[data-accent="storm"] .toc__list a.is-active::after { background: var(--storm); }
[data-accent="storm"] .toc__list a.is-active::before { color: var(--storm); }
[data-accent="storm"] .hero-page .eyebrow { color: var(--storm); }
/* Keep table captions readable while the table scrolls sideways on phones */
@media (max-width: 899px) {
  .table-wrap .table caption { position: sticky; left: 0; max-width: calc(100vw - 2 * var(--gutter) - 2px); box-sizing: border-box; }
}

/* ==========================================================================
   Batch 6 additions: service areas hub (layout E) and city pages (layout F)
   ========================================================================== */
/* Neighborhood and town lists as pinned cards */
.content-section ul.place-list { list-style: none; padding: 0; display: grid; gap: .75rem; max-width: none; }
@media (min-width: 700px) { .content-section ul.place-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.place-list > li {
  position: relative; padding: 1rem 1.1rem 1.05rem 3rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); font-size: .9688rem; line-height: 1.55;
}
.place-list > li::before {
  content: ""; position: absolute; left: 1rem; top: 1.1rem; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F4A22' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11.2a6.5 6.5 0 0 1 13 0C18.5 15.4 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.8' r='2.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.place-list > li strong { color: var(--ink); }

/* City page map block: SVG metro map, then click-to-load Google Map */
.city-map { display: grid; gap: 1rem; margin-top: 1.75rem; }
.city-map .metro-map__svg { max-height: 560px; }

/* City hero: keep the locator clear of the framed photo tag */
.hero-page .framed .city-locator { right: -10px; bottom: -34px; }
@media (max-width: 599px) { .hero-page .framed .city-locator { width: 128px; right: -4px; bottom: -22px; } }
.hero-page .framed:has(.city-locator) { margin-bottom: 1.5rem; }

/* Nearby areas row on city pages */
.nearby-row .card__foot .icon { width: 16px; height: 16px; color: var(--clay-dark); vertical-align: -.2em; }

/* Hub: big interactive map beside the city cards */
.areas-band { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.areas-band__grid { display: grid; gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); align-items: start; }
@media (min-width: 1000px) { .areas-band__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
@media (min-width: 1000px) { .areas-band__map { position: sticky; top: calc(var(--header-h-solid) + 1.5rem); } }
.areas-band__cards { display: grid; gap: .75rem; }
@media (min-width: 600px) { .areas-band__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.areas-band__cards .card__title { font-size: 1.25rem; }
.areas-band__cards .card__body { gap: .5rem; padding: 1.1rem 1.2rem 1.2rem; }
.areas-band__cards .card__text { font-size: .875rem; }
.map-facade--slim { aspect-ratio: 21 / 8; background-color: var(--paper); }
.map-facade--slim .map-facade__overlay { background: none; }
@media (max-width: 599px) { .map-facade--slim { aspect-ratio: 16 / 9; } }
.map-facade--slim:has(iframe) { aspect-ratio: 16 / 9; }
.framed:has(.city-locator) .framed__tag { bottom: auto; top: 1rem; }

/* ==========================================================================
   Batch 9 additions: guide articles (layout H) and guides hub (layout G)
   ========================================================================== */
.hero-article .eyebrow .icon { width: 18px; height: 18px; margin-right: .1rem; }
.hero-article .eyebrow::before { display: none; }
.hero-article .lead { max-width: 64ch; }
.article-title { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem); }
.hero-article .article-cover { margin-top: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); box-shadow: var(--shadow-2); }
@media (max-width: 599px) { .hero-article .article-cover { aspect-ratio: 16 / 10; } }

/* Reading column */
.article-body { font-size: clamp(1.0625rem, 1.02rem + .25vw, 1.15rem); }
.article-body > .answer-card { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.article-body .content-section p, .article-body .content-section ul, .article-body .content-section ol { max-width: none; }
@media (min-width: 1200px) { .page-layout--article .page-layout__main { max-width: 700px; } }
.related-service { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* Guide CTA (the content's estimate section, right before the FAQ) */
.content-section.guide-cta {
  margin-top: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border-radius: var(--r-md); background-color: var(--ink);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
}
.content-section.guide-cta h2 { color: #fff; font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); }
.content-section.guide-cta h2::after { background: linear-gradient(var(--clay-light) 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(var(--clay-light) 0 0) 0 100% / 60% 2px no-repeat; }
.content-section.guide-cta p { color: var(--on-dark-soft); }
.content-section.guide-cta p strong, .content-section.guide-cta p a { color: #fff; }
.content-section.guide-cta .btn-row { margin-top: 1.25rem; }
.content-section.guide-cta + .content-section { margin-top: clamp(3rem, 2.5rem + 2vw, 4rem); }

/* Guides hub */
.hub-hero { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
@media (min-width: 1000px) { .hub-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.hero-article--hub .hero-article__inner { max-width: none; }
.hub-cover { aspect-ratio: 4 / 3 !important; margin-top: 0 !important; }
.hub-jump { margin-top: 1.5rem; }
.hub-jump .chip .icon { width: 16px; height: 16px; }
.topic-section { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem); border-top: 1px solid var(--line); }
.topic-section:nth-of-type(even) { background: var(--paper); }
.topic-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
.topic-head .eyebrow { margin-bottom: .35rem; }
.topic-head__icon { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: var(--r-md); background: var(--limestone); border: 1px solid var(--line); color: var(--clay-dark); background-image: repeating-linear-gradient(to bottom, transparent 0 8px, rgb(28 35 41 / .06) 8px 9px); }
.topic-section:nth-of-type(even) .topic-head__icon { background-color: var(--paper); }
.guide-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card--guide .card__body { gap: .9rem; }
.card--guide .card__icon { width: 48px; height: 48px; }
.card--guide .card__title { font-size: 1.25rem; }
.card--guide .card__foot .icon { width: 16px; height: 16px; vertical-align: -.2em; }
.topic-service { display: flex; gap: .6rem; align-items: baseline; margin-top: 1.25rem; color: var(--ink-soft); }
.topic-service .icon { width: 16px; height: 16px; color: var(--clay-dark); flex: none; transform: translateY(2px); }
.topic-service a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--clay); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
/* Light variant of the related-service card on guides (sits above the dark CTA) */
.card--related.related-service { background: var(--paper); background-image: none; border-color: var(--line); color: var(--ink); --text: var(--ink); --text-soft: var(--ink-soft); --focus: var(--clay-dark); }
.related-service .card__icon { background-color: var(--clay-tint); border-color: transparent; color: var(--clay-dark); }
.related-service .eyebrow { color: var(--clay-dark); }
.related-service .card__arrow { border-color: var(--line-strong); color: var(--ink); }
@media (max-width: 1199px) { .page-layout--article .page-layout__rail { order: -1; } }

/* ==========================================================================
   Batch 13 additions: About, Contact, Privacy (layout I) and 404
   ========================================================================== */
/* Icon badge on process cards */
.process__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--clay-tint); color: var(--clay-dark); margin-bottom: 1.25rem; }
.process__icon .icon { width: 24px; height: 24px; }
.section--sand .process__phase { background: var(--paper); }
.process__phase > p { color: var(--text-soft); max-width: var(--measure); }

/* Standards: two-column icon cards */
@media (min-width: 900px) { .list-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .list-cards--2 > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.list-cards > li strong { color: var(--ink); font-weight: 600; }

/* Text beside the metro map */
@media (min-width: 900px) { .split--map { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } }

/* "What we repair" paragraph reads as a larger statement */
.what-we-repair { max-width: 880px; }
.what-we-repair p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.7; max-width: none; }

/* Contact hero: dark NAP card in place of a photo */
.contact-card {
  position: relative; overflow: hidden;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-md);
  background: var(--ink);
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--course-light) 27px 28px);
  color: var(--on-dark);
}
.contact-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border: 1.5px solid rgb(224 145 95 / .35); border-radius: 50%; pointer-events: none; }
.contact-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.contact-card__list > li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding-block: 1rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-soft); }
.contact-card__list > li:first-child { border-top: 0; padding-top: 0; }
.contact-card__list > li:last-child { padding-bottom: 0; }
.contact-card__list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); color: var(--clay-light); }
.contact-card__list strong { display: block; color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; }
.contact-card__list a { color: #fff; font-size: 1.125rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-card__list a:hover { color: var(--clay-light); }
.contact-card__list span[data-nap="city"] { color: #fff; font-size: 1.125rem; font-weight: 600; }

/* Contact form: wide single card */
.container--form { width: min(100% - 2 * var(--gutter), 920px); margin-inline: auto; }
.form-card--contact { max-width: none; }
.form-card--contact .form-card__sub { margin-top: 0; }
.field--options { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--options .field__label { padding: 0; margin-bottom: .5rem; }
@media (min-width: 600px) { .option-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.option-grid--4 .option span { justify-content: center; text-align: center; }

/* Photo checklist: four numbered cards */
.photo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 600px) { .photo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .photo-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.photo-steps > li { position: relative; display: grid; gap: 1rem; align-content: start; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.photo-steps__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--clay-tint); color: var(--clay-dark); }
.photo-steps__icon .icon { width: 24px; height: 24px; }
.photo-steps__no { position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--line-strong); font-variant-numeric: lining-nums; }
.photo-steps p { color: var(--text-soft); }

/* Privacy policy */
.hero-article--legal { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-bottom: 1px solid var(--line); }
.legal-date { margin-top: 1rem; font-size: .9375rem; color: var(--text-soft); }
.legal-date strong { color: var(--ink); }
.legal-body .content-section h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }

/* 404 */
.not-found { padding-top: calc(var(--header-h) + clamp(2rem, 1rem + 4vw, 5rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.not-found__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .not-found__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.not-found__code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: .9; letter-spacing: -.04em; color: var(--clay); font-weight: 520; }
.not-found__links { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 600px) { .not-found__links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.not-found__links a { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding: .75rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast); }
.not-found__links a:hover { border-color: var(--clay); transform: translateY(-1px); }
.not-found__links .icon { width: 22px; height: 22px; color: var(--clay-dark); flex: none; }
