/* Appalachian Enterprises Inc. site styles. Centerline system, locked 2026-10-23 in
   design-system/appalachian-enterprises/MASTER.md (built from artboard A of the 2026-10-23 canvas).
   Every class site.js sets has a rule here: .is-open, .is-current, .is-playing, .is-shown, .nav-locked, .is-error.
   Inline style attributes are blocked by the CSP (style-src 'self'), so every value lives in this file. */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wdth-wght.woff2') format('woff2-variations'), url('/assets/fonts/archivo-latin-wdth-wght.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* Display widths as static 800 instances (tools/make-display-fonts.py): some WebKit builds mis-render the variable
   width axis, so headings never depend on it. */
@font-face {
  font-family: 'Archivo 112';
  src: url('/assets/fonts/archivo-800-w112.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo 118';
  src: url('/assets/fonts/archivo-800-w118.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo 125';
  src: url('/assets/fonts/archivo-800-w125.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15171A;
  --paper: #FFFFFF;
  --stone: #F2F1EC;
  --line: #D6D3CA;
  --line-stone: #C9C5BB;
  --text-2: #3D434D;
  --slate: #4B5260;
  --blue: #1C4FA0;
  --blue-deep: #0E2B57;
  --blue-tint: #E3EBF6;
  --yellow: #FFC425;
  --yellow-hover: #F5B400;
  --on-ink: #D5D9DF;
  --on-ink-2: #B9BEC6;
  --on-deep: #C9CED6;
  --error: #B42318;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: 104px;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f112: 'Archivo 112', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f118: 'Archivo 118', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f125: 'Archivo 125', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --dash: repeating-linear-gradient(90deg, var(--yellow) 0 44px, transparent 44px 76px);
  --dash-sm: repeating-linear-gradient(90deg, var(--yellow) 0 16px, transparent 16px 26px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  font-stretch: 100%;
  overflow-wrap: break-word;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f112); font-weight: 800; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; }
a, button, summary, input, textarea, label { touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.proof :focus-visible, .band-deep :focus-visible, .call-band :focus-visible,
.stepper-bar :focus-visible, .tile-blue :focus-visible, .callbar :focus-visible { outline-color: var(--yellow); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #FFFFFF; padding: 12px 18px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.skip-link:focus-visible { outline-color: var(--yellow); }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type roles */
h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.0; letter-spacing: -0.015em; max-width: 22ch; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.h2-sm { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.08; }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.08; }
.h3-sm { font-size: 24px; line-height: 1.1; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.eyebrow-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.eyebrow-bar::before { content: ''; display: block; flex: 0 0 40px; height: 5px; background: var(--yellow); }
.eyebrow-on-dark { color: var(--yellow); }
.muted { color: var(--text-2); }

.ic { flex: 0 0 auto; }
.ic-sm { width: 14px; height: 14px; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--yellow); color: var(--ink); border: 2px solid var(--yellow); border-radius: 2px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.btn:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 22px; font-size: 18px; }
.ctas.hero-ctas { gap: 12px; }
.btn-outline { background: transparent; border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn-md { min-height: 52px; font-size: 17px; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: #2A2E34; border-color: #2A2E34; color: #FFFFFF; }
.btn-outline-light { background: transparent; border-color: #FFFFFF; color: #FFFFFF; }
.btn-outline-light:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue-deep); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--blue); }
.more .ic { width: 18px; height: 18px; }
.more-on-dark { color: var(--yellow); }
.more-on-dark:hover { color: #FFFFFF; }
.more-on-blue { color: #FFFFFF; }
.more-on-blue:hover { color: var(--blue-tint); }
.more-gap { margin-top: 32px; }

/* Road-line dash motif: wordmark, proof band line, call band top edge, hero eyebrow bar, crack filling tile only */
.dash-line { display: block; height: 6px; background: var(--dash); }


/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.lockup { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 0; min-height: 48px; }
.logo-img { display: block; height: auto; max-width: none; }
.site-header .logo-img { width: 214px; height: 48px; }
.site-footer .logo-img { width: 249px; height: 56px; }
.site-nav .nav-list { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-list > li { position: relative; }
.nav-list a, .menu-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-list a:hover, .menu-btn:hover { color: var(--blue); }
.nav-list > li > a[aria-current="page"], .nav-list > li.is-current > a, .nav-list > li.is-current > .menu-btn {
  text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 3px; text-underline-offset: 10px;
}
.menu-btn { background: none; border: 0; padding: 0; cursor: pointer; }
.menu-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.submenu { display: none; position: absolute; top: 100%; left: -18px; min-width: 270px; list-style: none; background: var(--paper); border: 1px solid var(--ink); padding: 6px 0; z-index: 30; }
.has-menu.is-open .submenu { display: block; }
@media (hover: hover) and (pointer: fine) { .has-menu:hover .submenu { display: block; } }
.submenu a { display: flex; padding: 10px 18px; min-height: 44px; }
.submenu a[aria-current="page"] { color: var(--blue); }
.hdr-actions { display: flex; align-items: center; gap: 20px; }
.hdr-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; min-height: 44px; }
.hdr-tel .ic { color: var(--blue); }
.hdr-tel:hover { color: var(--blue); }
.nav-toggle { display: none; min-height: 48px; padding: 0 16px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 2px; font-weight: 700; font-size: 16px; cursor: pointer; }
@media (max-width: 1280px) { .site-nav .nav-list { gap: 20px; } .hdr { gap: 20px; } .hdr-actions { gap: 16px; } .hdr-tel { font-size: 16px; } }
/* The six nav items, the phone and the estimate button need about 1225px; below that the menu button takes over. */
@media (max-width: 1239px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; }
}
@media (max-width: 560px) {
  .hdr-tel, .btn-hdr { display: none; }
  .hdr { padding-top: 14px; padding-bottom: 14px; gap: 16px; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }
}

/* Mobile drawer (light) */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(21, 23, 26, 0.55); opacity: 0; pointer-events: none; transition: opacity 200ms ease-out; z-index: 60; }
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 70;
  background: var(--paper); color: var(--ink); border-left: 1px solid var(--ink);
  padding: 20px 24px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
  transform: translateX(100%); visibility: hidden; transition: transform 220ms ease-out, visibility 0s linear 220ms;
}
.drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 220ms ease-out, visibility 0s; }
.drawer-close { align-self: flex-end; min-height: 48px; padding: 0 16px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 2px; font-weight: 700; cursor: pointer; }
.drawer-list { list-style: none; border-top: 1px solid var(--line); }
.drawer-list a { display: flex; align-items: center; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 700; color: var(--ink); text-decoration: none; }
.drawer-list a[aria-current="page"] { color: var(--blue); }
.drawer-est { width: 100%; min-height: 56px; font-size: 18px; }
.drawer-call { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; font-size: 18px; color: var(--ink); }
.drawer-call .ic { color: var(--blue); }
body.nav-locked { overflow: hidden; }

/* Sections */
.section { padding-top: var(--sec); padding-bottom: var(--sec); }
.section-stone { background: var(--stone); }
.section-tight-top { padding-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: 48px; }
.sec-head p { max-width: 34em; color: var(--text-2); }

/* Frame system: white mat, 1px ink line, one ratio per row */
.mat { display: block; padding: 7px; background: var(--paper); border: 1px solid var(--ink); }
.mat > img, .mat > video, .mat > picture img { width: 100%; height: auto; aspect-ratio: var(--r, 3 / 2); object-fit: cover; }
.mat-plain { padding: 8px; border: 0; }
.r-169 { --r: 16 / 9; }
.r-32 { --r: 3 / 2; }
.r-43 { --r: 4 / 3; }
.r-54 { --r: 5 / 4; }
.r-34 { --r: 3 / 4; }
.r-1610 { --r: 16 / 10; }
.plate { display: block; background: var(--ink); color: #FFFFFF; font-size: 14px; line-height: 1.35; padding: 9px 13px; }
.cap { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--text-2); }

/* Hero */
.hero { position: relative; z-index: 2; background: var(--paper); padding-top: 64px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin-top: 44px; }
.hero-text { flex: 1 1 430px; display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.hero-lede { font-size: 20px; line-height: 1.55; color: var(--text-2); }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 15px; color: var(--text-2); }
.rating a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 44px; }
.rating strong { color: var(--ink); }

/* Mechanism 1: framed hero media the visitor steps through */
.stepper { flex: 1.8 1 560px; max-width: 738px; align-self: flex-end; margin-bottom: -140px; position: relative; }
.stepper::before { content: ''; position: absolute; top: 28px; left: 28px; right: -28px; bottom: 36px; background: var(--blue); }
.stepper-frame { position: relative; padding: 8px; background: var(--paper); border: 1px solid var(--ink); border-bottom: 0; }
.slide { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.slide[hidden] { display: none; }
.slide img, .slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-video { opacity: 0; transition: opacity 400ms ease-out; }
.slide-video.is-playing { opacity: 1; }
.stepper-bar { position: relative; display: flex; align-items: stretch; justify-content: space-between; background: var(--ink); color: #FFFFFF; }
.stepper-cap { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 16px; font-size: 15px; line-height: 1.3; min-width: 0; }
.cap-title { font-weight: 700; }
.cap-place { color: var(--on-ink-2); }
.cap-place:empty { display: none; }
.stepper-ctl { display: flex; align-items: center; flex: 0 0 auto; }
.stepper-count { padding: 0 14px; font-size: 15px; color: var(--on-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.step-btn { width: 56px; min-height: 56px; align-self: stretch; border: 0; border-left: 1px solid #33373D; background: var(--ink); color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.step-btn:hover { background: #2A2E34; }
.step-next { background: var(--yellow); color: var(--ink); }
.step-next:hover { background: var(--yellow-hover); }
.step-btn:focus-visible { outline-offset: -5px; }

/* Proof band (ink) with the road line running under the hero frame */
.proof { position: relative; z-index: 1; background: var(--ink); color: #FFFFFF; }
.proof > .dash-line { position: absolute; left: 0; right: 0; top: 64px; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 40px; padding-top: 172px; padding-bottom: 72px; }
.fact { display: flex; flex-direction: column; gap: 6px; border-left: 3px solid var(--yellow); padding-left: 18px; }
.fact-big { font-family: var(--f118); font-weight: 800; font-size: 34px; line-height: 1.05; }
.fact-sub { font-size: 16px; color: var(--on-ink-2); }

/* Deep blue feature band (one per page) */
.band-deep { background: var(--blue-deep); color: #FFFFFF; padding-top: var(--sec); padding-bottom: var(--sec); }
.feature { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.feature-media { flex: 1.4 1 520px; min-width: 0; }
.feature-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-media figcaption { margin-top: 12px; font-size: 15px; color: var(--on-deep); }
.feature-text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; }
.feature-text > p:not(.eyebrow) { color: var(--on-deep); }
.thumbs { display: flex; gap: 12px; }
.thumbs img { flex: 1 1 0; min-width: 0; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border: 4px solid #FFFFFF; }

/* Who we work for */
.who { display: flex; flex-wrap: wrap; gap: 40px; }
.who-main { flex: 1.2 1 460px; display: flex; flex-direction: column; gap: 18px; }
.who-main > .mat { max-width: 640px; }
.who-main .h3 { margin-top: 6px; font-size: 28px; line-height: 1.1; }
.who-main > p, .who-item p { color: var(--text-2); }
.who-side { flex: 1 1 400px; display: flex; flex-direction: column; gap: 36px; }
.who-item { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.who-item > .mat { flex: 1 1 220px; }
.who-item > div { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.who-item p { font-size: 17px; }

/* Service tiles (no numbers) */
.tiles { display: flex; flex-wrap: wrap; gap: 20px; }
.tile { flex: 1 1 280px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
/* Tile photos use the frame system: white mat and 1px ink line, inset from the card edge. One ratio (16:10) everywhere. */
.tile-media { margin: 12px 12px 0; padding: 7px; background: var(--paper); border: 1px solid var(--ink); }
.tile-media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 20px; }
.tile-body p { font-size: 17px; color: var(--text-2); }
.tile-body .more { margin-top: auto; }
.tile:not(.tile-wide) { max-width: 760px; }
.tile-wide { flex: 2 1 600px; flex-direction: row; flex-wrap: wrap; }
.tile-wide { align-items: flex-start; }
.tile-wide .tile-media { flex: 1 1 300px; margin: 12px; }
.tile-wide .tile-body { flex: 1 1 260px; padding: 28px; gap: 12px; align-self: stretch; }
.tile-wide .h3 { font-size: 30px; line-height: 1.05; }
.tile-blue { background: var(--blue); border-color: var(--blue); color: #FFFFFF; padding: 28px; justify-content: space-between; gap: 24px; min-height: 300px; }
.tile-blue .tile-body { padding: 0; flex: 0 0 auto; gap: 12px; }
.tile-blue .h3 { font-size: 30px; line-height: 1.05; }
.tile-blue .tile-body p { color: var(--blue-tint); }
.tiles-lg .tile-body p { font-size: 18px; }

/* Before and after */
.ba { display: flex; flex-wrap: wrap; gap: 28px; }
.ba + .ba { margin-top: 36px; }
.ba-fig { flex: 1 1 360px; min-width: 0; max-width: 736px; }
.ba-fig figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; font-size: 16px; color: var(--text-2); }
.tag { display: inline-block; font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; }
.tag-ink { background: var(--ink); color: #FFFFFF; }
.tag-yellow { background: var(--yellow); color: var(--ink); }

/* Reviews */
.reviews { display: flex; flex-wrap: wrap; gap: 48px; }
.reviews-head { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.reviews-head { gap: 18px; }
.score { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.score-row { display: flex; align-items: center; gap: 16px; }
.score-num { font-family: var(--f125); font-weight: 800; font-size: 88px; line-height: 0.9; }
.score-sub { font-size: 17px; color: var(--on-deep); }
.quotes-on-deep { gap: 32px; }
.quotes-on-deep .quote { border-top: 0; padding-top: 0; gap: 16px; }
.quotes-on-deep .quote blockquote { color: #FFFFFF; }
.quotes-on-deep .quote figcaption { color: var(--on-deep); }
.quotes-on-deep .quote figcaption strong { color: #FFFFFF; }
.fact-stars { display: flex; align-items: center; gap: 12px; }
.quotes { flex: 3 1 600px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; }
.quote { border-top: 5px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.quote figcaption { font-size: 15px; color: var(--text-2); display: flex; flex-direction: column; }
.quote figcaption strong { color: var(--ink); }
.quote-solo { max-width: 46em; }
.quote-solo blockquote { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; }

/* Question band (stone, slim) */
.ask-band { background: var(--stone); }
.ask-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 72px; padding-bottom: 72px; }
.ask-text { display: flex; flex-direction: column; gap: 10px; }
.ask-text p { color: var(--text-2); }
.h2-ask { font-size: clamp(30px, 3vw, 42px); }

/* About + where we work */
.about-where { display: flex; flex-wrap: wrap; gap: 56px; }
.about-block { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.where-block { flex: 1.3 1 480px; display: flex; flex-direction: column; gap: 24px; }

/* Mechanism 2: layered photo pair */
.layered { position: relative; padding-bottom: 56px; margin-bottom: 8px; width: 100%; max-width: 560px; }
.layered-main { width: 76%; }
.layered-main figcaption { margin-top: 10px; font-size: 14px; color: var(--slate); }
.layered-inset { position: absolute; right: 0; bottom: 0; width: 40%; }
.layered-inset .mat { padding: 6px; box-shadow: 0 0 0 8px var(--paper); }
@media (max-width: 560px) {
  .layered { padding-bottom: 0; }
  .layered-main { width: 100%; }
  .layered-inset { position: static; width: 62%; margin-top: 24px; }
  .layered-inset .mat { box-shadow: none; }
}

/* County rows */
.counties { list-style: none; margin-top: 8px; }
.counties li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; padding: 18px 0; border-top: 1px solid var(--ink); }
.counties li:last-child { border-bottom: 1px solid var(--ink); }
.c-name { flex: 0 0 200px; font-family: var(--f118); font-weight: 800; font-size: 26px; line-height: 1.1; }
.c-towns { flex: 1 1 200px; color: var(--text-2); }
@media (max-width: 560px) { .c-name { flex-basis: 100%; } }

/* Closing call band (ink, yellow dash top edge, the page's one payoff phone) */
.call-band { position: relative; background: var(--ink); color: #FFFFFF; }
.call-band > .dash-line { position: absolute; left: 0; right: 0; top: 0; }
.call-in { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-end; justify-content: space-between; padding-top: 112px; padding-bottom: 104px; }
.call-main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.call-main .h2 { font-size: clamp(32px, 3.6vw, 52px); }
.call-main p { font-size: 19px; color: var(--on-ink-2); }
.call-tel { font-family: var(--f125); font-weight: 800; font-size: clamp(30px, 6vw, 88px); line-height: 1; letter-spacing: -0.01em; color: var(--yellow); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
.call-tel:hover { color: #FFFFFF; }
.call-side { flex: 0 1 340px; display: flex; flex-direction: column; gap: 16px; }
.call-side .btn { width: 100%; }
.call-hours { font-size: 15px; line-height: 1.6; color: var(--on-ink-2); }

/* Footer */
.site-footer { background: var(--stone); color: var(--ink); }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 32px; }
.f-col { display: flex; flex-direction: column; gap: 12px; }
.f-nap { gap: 18px; }
.lockup-static { align-self: flex-start; }
.f-nap address { font-style: normal; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.f-tel { font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.f-tel:hover { color: var(--blue); }
.f-head { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.f-list { list-style: none; display: flex; flex-direction: column; gap: 0; font-size: 16px; }
.f-list a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.f-list span, .f-hours li { display: flex; align-items: center; min-height: 32px; }
.f-list a:hover { color: var(--blue); }
.f-list span, .f-hours li { color: var(--text-2); }
.f-hours li { min-height: 28px; }
.f-more { margin-top: 8px; }
.f-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.f-legal a { color: var(--slate); display: inline-flex; min-height: 44px; align-items: center; }

/* Fixed bottom call bar, 760px and narrower (appears once the first call buttons leave the screen) */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  body.no-callbar { padding-bottom: 0; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--ink); padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(110%); visibility: hidden; transition: transform 200ms ease-out, visibility 0s linear 200ms;
  }
  .callbar.is-shown { transform: translateY(0); visibility: visible; transition: transform 200ms ease-out, visibility 0s; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 6px 10px; font-weight: 700; font-size: 17px; line-height: 1.15; text-align: center; text-decoration: none; }
  .cb-call { background: var(--ink); color: #FFFFFF; }
  .cb-est { background: var(--yellow); color: var(--ink); }
}

/* Inner pages: split intro */
.intro { padding-top: 56px; padding-bottom: 88px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 15px; color: var(--slate); margin-bottom: 16px; margin-top: -10px; }
.breadcrumb li + li::before { content: '/'; margin-right: 10px; color: var(--line-stone); }
.breadcrumb a { color: var(--blue); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.breadcrumb li { display: flex; align-items: center; }
.intro-row { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.intro-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.intro-text h1 { font-size: clamp(38px, 4.2vw, 60px); }
.intro-text .lede { font-size: 20px; color: var(--text-2); max-width: 36em; }
.intro-media { flex: 1 1 420px; max-width: 640px; min-width: 0; }
.intro-solo .intro-text { flex-basis: 100%; }
.intro-solo h1 { max-width: 24ch; }

/* What is included (plain, unnumbered) */
.included { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 48px; }
.included li { padding: 18px 0; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 4px; }
.included strong { font-family: var(--f112); font-weight: 800; font-size: 20px; line-height: 1.25; }
.included span { color: var(--text-2); }
.included a { font-weight: 700; }
.split2 { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.split2 > * { flex: 1 1 380px; min-width: 0; }
.prose-p { max-width: 62ch; color: var(--text-2); }
.prose-p + .prose-p { margin-top: 14px; }
.sec-intro { margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.sec-intro p { max-width: 62ch; color: var(--text-2); }

/* Photo rows: one aspect ratio per row */
.row { display: grid; gap: 28px 20px; }
.row + .row, .row + .ba, .ba + .row { margin-top: 32px; }
.row-l { grid-template-columns: 1fr; --r: 3 / 2; }
.row-p { grid-template-columns: repeat(2, minmax(0, 1fr)); --r: 3 / 4; max-width: 560px; }
@media (min-width: 600px) { .row-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .row-l { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-p { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1120px; }
  .row-l2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1120px; }
}
.row-p3 { grid-template-columns: repeat(2, minmax(0, 1fr)); --r: 3 / 4; max-width: 860px; }
.row-p2 { grid-template-columns: repeat(2, minmax(0, 1fr)); --r: 3 / 4; max-width: 580px; }
@media (min-width: 900px) { .row-p3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.row figure { min-width: 0; }
.intro-media-p { max-width: 400px; }
.gap-top { margin-top: 36px; }
.split2-center { align-items: center; }
.included-1 { grid-template-columns: 1fr; }
.included-1 span { color: var(--ink); font-size: 19px; }
.gallery-group + .gallery-group { margin-top: 72px; }
.gallery-group > .h2 { margin-bottom: 28px; }

/* Framed video (erosion control) */
.video-frame { max-width: 1000px; margin-bottom: 40px; }
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stone); }

/* Tables (drainage problems fixed) */
.pr { width: 100%; border-collapse: collapse; font-size: 17px; }
.pr th, .pr td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-top: 1px solid var(--ink); }
.pr thead th { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); border-top: 0; padding-bottom: 10px; }
.pr tbody th { font-weight: 700; width: 44%; }
.pr td { color: var(--text-2); }
@media (max-width: 640px) {
  .pr thead { display: none; }
  .pr tr { display: block; border-top: 1px solid var(--ink); padding: 14px 0; }
  .pr th, .pr td { display: block; border: 0; padding: 0; width: auto; }
  .pr td { margin-top: 4px; }
}

/* Related links */
.related { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.related a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.cg-form { flex: 1.5 1 480px; min-width: 0; }
.cg-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 32px; }
.cg-side .h3 { font-size: 22px; margin-bottom: 8px; }
.big-tel { font-family: var(--f118); font-weight: 800; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; color: var(--blue); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.big-tel:hover { color: var(--blue-deep); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; font-size: 20px; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--text-2); }
.addr { font-style: normal; color: var(--text-2); }
.form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 17px; padding: 0; }
.field .hint { font-weight: 400; color: var(--text-2); font-size: 16px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; font-size: 18px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--slate); border-radius: 2px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.err { color: var(--error); font-size: 16px; font-weight: 600; }
.err:empty { display: none; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 4px 20px; margin-top: 4px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 400 !important; font-size: 17px !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); flex: 0 0 auto; }
.form .btn { min-height: 56px; font-size: 18px; padding: 0 30px; }
.btn[disabled] { opacity: 0.5; cursor: progress; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Plain pages and prose */
.plain { padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.plain p { max-width: 60ch; color: var(--text-2); }
.prose { max-width: 760px; }
.prose .h3 { margin-top: 40px; margin-bottom: 10px; }
.prose .h3:first-child { margin-top: 0; }
.prose p { color: var(--text-2); }
.prose .updated { margin-top: 40px; font-size: 15px; color: var(--slate); }

/* Phones */
@media (max-width: 760px) {
  :root { --sec: 72px; }
  .hero { padding-top: 40px; }
  .hero-row { gap: 36px; margin-top: 28px; }
  .hero-lede { font-size: 18px; }
  .stepper { flex-basis: 100%; margin-bottom: -72px; margin-right: 14px; }
  .stepper::before { top: 14px; left: 14px; right: -14px; bottom: 28px; }
  .stepper-cap { padding: 8px 12px; font-size: 14px; }
  .stepper-count { padding: 0 10px; font-size: 14px; }
  .step-btn { width: 48px; min-height: 56px; }
  .proof > .dash-line { top: 36px; }
  .proof-grid { padding-top: 112px; padding-bottom: 56px; }
  .fact-big { font-size: 28px; }
  .sec-head { margin-bottom: 32px; }
  .feature { gap: 36px; }
  .feature-media, .feature-text, .who-main, .who-side, .about-block, .where-block, .ba-fig, .quotes, .reviews-head, .cg-form, .cg-side, .intro-text, .intro-media, .call-main, .tile-wide, .tile { flex-basis: 100%; }
  .tile-wide .tile-media { flex-basis: 100%; margin: 12px 12px 0; }
  .tile-blue { min-height: 0; }
  .score-num { font-size: 72px; }
  .stars-lg { width: 120px; height: 22px; }
  .call-in { padding-top: 80px; padding-bottom: 72px; }
  .call-side { flex-basis: 100%; }
  .intro { padding-top: 32px; padding-bottom: 64px; }
  .who-item > .mat, .who-item > div { flex-basis: 100%; }
}

/* Small phones (380px and below), after the phone rules so these win */
@media (max-width: 380px) {
  .site-header .logo-img { width: 178px; height: 40px; }
  h1 { font-size: 36px; }
  .intro-text h1 { font-size: 34px; }
  .hero { padding-top: 28px; }
  .hero-row { margin-top: 20px; gap: 28px; }
  .hero-text { gap: 20px; }
}

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

/* Sentinel: proves the stylesheet loaded to the end (tests check it). Keep last. */
.css-sentinel { --css-complete: 1; }
