/* Carolina Ground Force. Brand values live in :root: change them here and the whole site follows.
   The look is "The Clearing": kraft is cleared ground, ink is standing brush, and the orange
   cut line is the edge between them. */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Reenie Beanie";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/reenie-beanie-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

/* The cut line's position, registered so it can glide when the page first loads. */
@property --cut { syntax: "<percentage>"; inherits: true; initial-value: 46%; }

:root {
  --ground: #d9c08b;      /* kraft: cleared ground */
  --lath: #f9f1da;        /* pale pine: fields, light text on dark */
  --ink: #17130e;         /* marker ink: text, dark bands */
  --ink-soft: #46381f;    /* secondary text on kraft */
  --lath-soft: #dccfa9;   /* secondary text on ink */
  --flag: #ff5a1f;        /* flagging orange: the cut line and the call action */
  --carolina: #7bafd4;    /* Carolina blue: one thin sky line per page */

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --marker: "Reenie Beanie", "Segoe Print", cursive;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --section: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; scrollbar-color: var(--ink) var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--body);
  -webkit-text-size-adjust: 100%;
  caret-color: var(--ink);
  padding-bottom: 92px; /* room for the phone dock */
}
::selection { background: var(--flag); color: var(--ink); }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; max-width: 66ch; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .8); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: var(--lath); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* A text link that sits in running copy or under a block */
.link { font-weight: 700; text-decoration-color: var(--flag); text-decoration-thickness: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px;
  font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 2.5px solid var(--ink); border-radius: 4px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 14px -6px rgba(23, 19, 14, .5); }
.btn:active { transform: translateY(0); }
.btn--call { background: var(--flag); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--lath); }
.btn--light { background: var(--lath); color: var(--ink); }
.btn.is-pending { background: transparent; border-style: dashed; cursor: default; }
.btn.is-pending:hover { transform: none; box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header: an ink bar, so the wordmark plate sits flush in it ---------- */
.top {
  position: relative; z-index: 40;
  display: flex; align-items: center; gap: 22px;
  padding: 8px var(--gutter);
  background: var(--ink); color: var(--lath);
}
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 52px; width: auto; }
.top :focus-visible { outline-color: var(--lath); box-shadow: none; }
.top__nav { display: none; gap: 28px; font: 700 1.05rem var(--body); }
.top__nav a { text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; }
.top__nav a:hover, .top__nav a[aria-current="page"] { border-bottom-color: var(--flag); }
.top .btn { display: none; min-height: 46px; font-size: 1.25rem; padding: 0 18px; border-color: var(--lath); }
.top .btn--call { border-color: var(--flag); }
.top--bare .btn { display: inline-flex; }

/* Phone menu: a plain disclosure, so it works with scripts switched off */
.menu { position: static; }
.menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px;
  font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em;
  border: 2.5px solid var(--lath); border-radius: 4px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__bars { width: 20px; height: 14px; border-block: 2.5px solid currentColor; position: relative; }
.menu__bars::after { content: ""; position: absolute; inset: 3.25px 0 auto; border-top: 2.5px solid currentColor; }
.menu[open] summary { background: var(--lath); color: var(--ink); }
.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); border-top: 2.5px solid var(--flag);
  padding: 10px var(--gutter) 26px;
  box-shadow: 0 18px 24px -12px rgba(23, 19, 14, .6);
}
.menu__panel ul { list-style: none; margin: 0; padding: 0; }
.menu__panel a {
  display: flex; align-items: center; min-height: 52px;
  font: 800 1.6rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  border-bottom: 1px solid rgba(249, 241, 218, .22);
}
.menu__panel a[aria-current="page"] { color: var(--flag); }
.menu__panel .menu__sub a { font: 600 1.15rem var(--body); text-transform: none; letter-spacing: 0; min-height: 46px; padding-left: 16px; }

/* ---------- The cut: a before-and-after you can drag ---------- */
.compare {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink);
  transition: --cut 1.5s var(--ease);
}
.compare.is-live { transition: none; }
.js-motion .compare[data-intro] { --cut: 97%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.compare__line {
  position: absolute; top: 0; bottom: 0; left: var(--cut); width: 5px; margin-left: -2.5px;
  background: var(--flag);
  box-shadow: 0 0 0 1.5px var(--ink);
  pointer-events: none;
}
.compare__grip {
  position: absolute; left: 50%; top: var(--grip-y, 42%);
  width: 60px; height: 60px; margin: -30px 0 0 -30px;
  display: grid; place-items: center;
  background: var(--flag); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 50%;
  box-shadow: 0 8px 14px -4px rgba(23, 19, 14, .55);
}
.compare__grip svg { width: 30px; height: 30px; }
.compare__tag {
  position: absolute; top: 14px; z-index: 1;
  font: 800 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em;
  padding: 7px 10px 6px; border-radius: 4px; border: 2.5px solid var(--ink);
  pointer-events: none;
}
.compare__tag--before { left: 14px; background: var(--ink); color: var(--lath); }
.compare__tag--after { right: 14px; background: var(--flag); color: var(--ink); }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 2;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.compare__range::-moz-range-thumb { width: 60px; height: 100vh; border: 0; background: transparent; }
.compare:has(.compare__range:focus-visible) .compare__grip { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 9px rgba(255, 255, 255, .85); }

/* ---------- Home: the first screen ---------- */
.hero { position: relative; background: var(--ground); }
.hero .compare { height: clamp(260px, 38svh, 420px); }
.hero__copy { padding: 22px var(--gutter) 40px; }
.hero .btn { flex: 1 1 0; padding: 0 10px; font-size: 1.3rem; } /* two buttons side by side on a phone */
.hero h1 { font-size: clamp(3.1rem, 13.5vw, 4.6rem); line-height: .88; }
.hero__lead { margin-top: 12px; font-size: 1.125rem; }
.hero .actions { margin-top: 18px; }
.hero__fine { margin-top: 14px; font-size: 1rem; color: var(--ink-soft); }

/* ---------- Section headings: each carries a cut bar that draws left to right ---------- */
.band { padding-block: var(--section); }
.band--ink { background: var(--ink); color: var(--lath); }
.band--pale { background: var(--lath); }
.band--sky { border-top: 10px solid var(--carolina); }
.band--ink :focus-visible { outline-color: var(--lath); box-shadow: none; }
.cut { position: relative; display: inline-block; font-size: clamp(2.6rem, 6.4vw, 4.2rem); padding-bottom: 16px; }
.cut::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(100%, 132px); height: 8px; background: var(--flag); transform-origin: 0 50%; }
.quote .cut::after, .cta .cut::after { background: var(--ink); }
.band__lead { margin-top: 18px; font-size: 1.25rem; }
.band--ink .band__lead, .band--ink p { color: var(--lath); }

/* ---------- Video band ---------- */
.reel { display: grid; gap: 28px; }
.reel__media { position: relative; background: var(--ink); margin-inline: calc(-1 * var(--gutter)); }
.reel__media video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.reel__pause {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  min-height: 44px; padding: 0 14px; cursor: pointer;
  font: 700 .95rem var(--body); color: var(--lath);
  background: rgba(23, 19, 14, .78); border: 2px solid var(--lath); border-radius: 4px;
}
.reel__copy p + p { margin-top: 14px; }
.reel__copy .link { margin-top: 12px; }

/* ---------- The family ---------- */
.family { border-top: 10px solid var(--carolina); }
.family__grid { display: grid; gap: 32px; }
.family__copy p { margin-top: 18px; font-size: 1.25rem; }
.family__copy p + p { margin-top: 14px; }
.family__copy .sign { font: 400 2.9rem/1 var(--marker); margin-top: 22px; transform: rotate(-2deg); transform-origin: 0 50%; }
/* An honest empty frame: it says what goes there instead of showing strangers. */
.frame {
  position: relative; margin: 0; display: grid; place-items: center; text-align: center;
  aspect-ratio: 4 / 3; padding: 24px;
  border: 3px dashed var(--ink); border-radius: 4px;
  background: rgba(249, 241, 218, .5);
}
.frame span { font: 400 2rem/1.3 var(--marker); max-width: 14ch; transform: rotate(-2deg); }
.frame--tall, .frame--wide { aspect-ratio: 16 / 9; }
.family__grid .frame, .reel .frame { order: 2; } /* on a phone the words come first, the empty frame after */
/* The family photo. Square corners, cut to shape by the box so any photo fits. */
.family__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.family__photo--tall { aspect-ratio: 4 / 5; }
.family__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band--ink .frame { border-color: var(--lath); background: rgba(249, 241, 218, .08); }

/* ---------- Services ---------- */
/* The two main services: the photo runs to the edge of the screen, the words sit beside it on the kraft. */
.svcs { margin-top: 40px; }
.svc { display: grid; }
.svc__photo { position: relative; margin: 0; background: var(--ink); aspect-ratio: 3 / 2; }
.svc__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__text { padding: 24px var(--gutter) 40px; }
.svc__text h3 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.svc__text h3 a { text-decoration: none; }
.svc__text h3 a:hover { text-decoration: underline; text-decoration-color: var(--flag); text-decoration-thickness: 5px; }
.svc__text p { margin-top: 14px; }
.svc__for { color: var(--ink-soft); }
.svc__text .link { margin-top: 8px; }

.more { list-style: none; margin: 44px 0 0; padding: 0; border-top: 2.5px solid var(--ink); }
.more li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 2.5px solid var(--ink); }
.more--plain li { grid-template-columns: 1fr; } /* words only, until there are photos of this work */
.more__thumb { position: relative; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.more__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.more__thumb--empty { background: rgba(249, 241, 218, .5); border: 2.5px dashed var(--ink); display: grid; place-items: center; font: 400 1.25rem/1 var(--marker); text-align: center; }
.more h3 { font-size: 1.95rem; }
.more h3 a { text-decoration: none; }
.more h3 a:hover { text-decoration: underline; text-decoration-color: var(--flag); text-decoration-thickness: 4px; }
.more p { margin-top: 6px; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- A second before-and-after ---------- */
.proof .compare { margin-top: 34px; width: 100%; aspect-ratio: 4 / 3; max-height: 80svh; }
.proof__note { margin-top: 14px; color: var(--lath-soft); font-size: 1rem; }
.proof__frame { margin-top: 30px; }
/* One job in three photos, each with a hand-written note under it. */
.shots { display: grid; gap: 26px; margin-top: 30px; }
.shots figure { margin: 0; }
.shots__photo { position: relative; aspect-ratio: 3 / 2; background: #000; overflow: hidden; }
.shots__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shots figcaption { margin-top: 12px; font: 400 1.9rem/1.1 var(--marker); color: var(--lath); }

/* ---------- Service area ---------- */
.area__head p { margin-top: 18px; font-size: 1.2rem; }
.map { position: relative; margin: 30px 0 0; }
.map svg { display: block; width: 100%; height: auto; overflow: visible; }
.map__state { fill: var(--lath); }
.map__reach { fill: var(--flag); }
.map__edge { fill: none; stroke: var(--ink); stroke-width: 2.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map__ring { fill: none; stroke: var(--ink); stroke-width: 3px; stroke-dasharray: 9 7; vector-effect: non-scaling-stroke; }
.map__town { fill: var(--ink); }
.map__home { fill: var(--carolina); stroke: var(--ink); stroke-width: 2.5px; vector-effect: non-scaling-stroke; }
.map__label { position: absolute; white-space: nowrap; color: var(--ink); font: 700 .95rem/1 var(--body); }
.map__label--left { transform: translate(-100%, -50%); margin-left: -9px; }
.map__label--right { transform: translate(0, -50%); margin-left: 9px; }
.map__label--above { transform: translate(-50%, -100%); margin-top: -9px; }
.map__label--below { transform: translate(-50%, 0); margin-top: 9px; }
.map__label--home { transform: translate(0, -50%); font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.counties { margin: 30px 0 0; display: grid; gap: 4px 30px; }
.counties div { padding: 10px 0 12px; border-top: 2.5px solid var(--ink); }
.counties dt { font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.counties dd { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- Questions ---------- */
.faq { margin-top: 30px; border-top: 2.5px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 2.5px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 18px 0; min-height: 60px;
  font: 800 1.6rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
/* plus that folds into a minus */
.faq__mark { position: relative; width: 28px; height: 28px; background: var(--flag); border: 2.5px solid var(--ink); border-radius: 4px; }
.faq__mark::before, .faq__mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.faq__mark::after { transform: rotate(90deg); }
.faq details[open] .faq__mark::after { transform: rotate(0deg); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--flag); text-decoration-thickness: 4px; }
.faq__a { padding: 0 44px 22px 0; }
.faq__a p + p { margin-top: 12px; }
.faq + .link { margin-top: 18px; }

/* ---------- How it works: three steps beside the quote form ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 16px 0 18px; border-top: 2.5px solid var(--ink); }
.steps li:last-child { border-bottom: 2.5px solid var(--ink); }
.mark { font: 400 3.8rem/.8 var(--marker); color: var(--ink); transform: rotate(-5deg); }
.steps h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: .03em; }
.steps p { margin-top: 4px; font-size: 1.1rem; color: var(--ink); }

/* ---------- Quote ---------- */
.quote {
  background: var(--flag);
  padding: var(--section) var(--gutter);
  display: grid; gap: 34px;
  position: relative;
}
.quote > * { width: 100%; max-width: calc(var(--max) - var(--gutter) * 2); margin-inline: auto; }
.quote h1, .quote h2 { font-size: clamp(2.8rem, 7vw, 4.4rem); }
.quote__head > p { margin-top: 14px; font-size: 1.2rem; color: var(--ink); }
.quote__more > p { margin-top: 20px; font-size: 1.2rem; color: var(--ink); }
.quote__more > .quote__sign { margin-top: 2px; font: 400 2.6rem/1 var(--marker); transform: rotate(-2deg); transform-origin: 0 50%; }
.quote__more .btn { margin-top: 22px; background: var(--lath); }
.quote__more .btn.is-pending { background: transparent; }
#quote-form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .checks legend { font: 700 1.1rem var(--body); padding: 0; }
input[type=text], input[type=tel], textarea {
  width: 100%; font: 400 1.15rem var(--body); color: var(--ink);
  background: var(--lath); border: 2.5px solid var(--ink); border-radius: 4px;
  padding: 13px 14px; min-height: 54px;
}
textarea { resize: vertical; }
input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
input[aria-invalid="true"]:focus-visible { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 7px rgba(255, 255, 255, .8); }
.field__error { justify-self: start; background: var(--ink); color: var(--lath); font-weight: 600; font-size: 1.1rem; padding: 6px 10px; border-radius: 4px; }
input::placeholder, textarea::placeholder { color: #5e4d2c; opacity: 1; }
.checks { display: grid; gap: 4px 20px; }
.checks legend { margin-bottom: 6px; }
.checks label { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 400; font-size: 1.1rem; cursor: pointer; }
input[type=checkbox] {
  appearance: none; -webkit-appearance: none;
  display: grid; place-content: center; flex: none;
  width: 26px; height: 26px; margin: 0 2px;
  background: var(--lath); border: 2.5px solid var(--ink); border-radius: 4px; cursor: pointer;
}
input[type=checkbox]::before {
  content: ""; width: 14px; height: 14px; background: var(--lath);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0);
}
input[type=checkbox]:checked { background: var(--ink); }
input[type=checkbox]:checked::before { transform: scale(1); }
@media (forced-colors: active) { input[type=checkbox] { appearance: auto; -webkit-appearance: auto; } }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.submit__note { flex-basis: 100%; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
/* The consent line under the button. The phone carriers look for it here. */
.submit__consent { flex-basis: 100%; max-width: 62ch; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.req { font: 600 .85rem var(--body); color: var(--ink); margin-left: 6px; }
.status { font-weight: 600; max-width: 44ch; }
.status[data-kind="error"] { background: var(--ink); color: var(--lath); padding: 8px 12px; border-radius: 4px; }
.status[data-kind="ok"] { background: var(--lath); padding: 8px 12px; border-radius: 4px; }

/* Shown in place of the form after a request is sent */
.sent { align-self: start; background: var(--lath); border: 2.5px solid var(--ink); border-radius: 4px; padding: 28px 24px 30px; }
.sent h2, .sent h3 { font-size: 2.35rem; }
.sent h2:focus, .sent h3:focus { outline: none; box-shadow: none; } /* focus lands here so screen readers announce it; it is not a control */
.sent p { margin-top: 12px; overflow-wrap: anywhere; }
.sent__facts { margin: 22px 0 0; }
.sent__facts div { padding: 10px 0 12px; border-top: 2.5px solid var(--ink); }
.sent__facts dt { font: 700 1.1rem var(--body); color: var(--ink-soft); }
.sent__facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.sent .btn { margin-top: 14px; }

/* ---------- Inner pages ---------- */
/* Photo and words side by side, split by the cut line. On a phone the photo sits on top. */
.page-hero { display: grid; background: var(--ink); color: var(--lath); }
.page-hero--plain { border-bottom: 5px solid var(--flag); }
.page-hero__photo { position: relative; order: -1; margin: 0; aspect-ratio: 16 / 10; border-bottom: 5px solid var(--flag); }
.page-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__in { width: 100%; max-width: var(--max); margin-inline: auto; padding: 26px var(--gutter) 40px; }
.page-hero--plain .page-hero__in { padding-top: clamp(40px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2.9rem, 8.4vw, 5rem); line-height: .9; max-width: 16ch; }
.page-hero p { margin-top: 16px; font-size: 1.25rem; color: var(--lath); max-width: 56ch; }
.page-hero .actions { margin-top: 24px; }
.page-hero .btn { border-color: var(--lath); }
.page-hero .btn--call { border-color: var(--flag); }
.page-hero :focus-visible { outline-color: var(--lath); box-shadow: none; }
.crumbs { font: 600 1rem var(--body); margin-bottom: 14px; color: var(--lath-soft); }
.crumbs a { display: inline-block; padding: 12px 0; color: var(--lath); }

.split { display: grid; gap: 40px; }
.prose h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 16px; font-size: 1.2rem; }
.prose ul { margin: 16px 0 0; padding: 0; list-style: none; max-width: 66ch; }
.prose li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid rgba(23, 19, 14, .28); font-size: 1.15rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 16px; height: 5px; background: var(--flag); outline: 1.5px solid var(--ink); }
.aside { align-self: start; background: var(--lath); border: 2.5px solid var(--ink); border-radius: 4px; padding: 24px 22px 26px; }
.aside h2 { font-size: 1.95rem; }
.aside dl { margin: 14px 0 0; }
.aside dl div { padding: 10px 0 12px; border-top: 2.5px solid var(--ink); }
.aside dt { font: 700 1rem var(--body); color: var(--ink-soft); }
.aside dd { margin: 2px 0 0; font-weight: 600; }
.aside .actions { margin-top: 18px; }
.aside .btn { flex: 1 1 auto; }

/* Privacy policy: a long reading page, so its headings are a size down from the other pages. */
.legal .prose h2 { font-size: clamp(1.75rem, 3.6vw, 2.3rem); margin-top: 40px; }
.legal .prose h2:first-child { margin-top: 0; }
.legal [data-call] { white-space: nowrap; } /* keep the phone number on one line */

/* Terms: fourteen numbered terms, each ruled off from the next. */
.terms { max-width: 68ch; }
.terms__lead { font-size: 1.2rem; }
.term { margin-top: 26px; padding-top: 22px; border-top: 2.5px solid var(--ink); scroll-margin-top: 16px; }
.term h2 { font-size: clamp(1.6rem, 3.2vw, 2rem); }
.term p { margin-top: 10px; font-size: 1.15rem; }
.terms__more { margin-top: 26px; padding-top: 22px; border-top: 2.5px solid var(--ink); font-weight: 600; }
.also { list-style: none; margin: 26px 0 0; padding: 0; border-top: 2.5px solid var(--ink); }
.also li { border-bottom: 2.5px solid var(--ink); }
.also a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding: 16px 0; text-decoration: none; }
.also b { font: 800 1.7rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.also span { color: var(--ink-soft); }
.also a:hover b { text-decoration: underline; text-decoration-color: var(--flag); text-decoration-thickness: 4px; }

/* Orange closing band on the inner pages */
.cta { background: var(--flag); padding: clamp(48px, 7vw, 80px) var(--gutter); }
.cta__in { max-width: calc(var(--max) - var(--gutter) * 2); margin-inline: auto; display: grid; gap: 22px; }
.cta h2 { font-size: clamp(2.6rem, 6.4vw, 4.2rem); }
.cta p { font-size: 1.2rem; margin-top: 12px; }
.cta .btn--call { background: var(--lath); }

/* Quote-only page */
.no-dock { padding-bottom: 0; }
.facts { margin: 22px 0 0; max-width: 760px; }
.facts div { padding: 12px 0 14px; border-top: 2.5px solid var(--ink); }
.facts div:last-child { border-bottom: 2.5px solid var(--ink); }
.facts dt { font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.facts dd { margin: 6px 0 0; }

/* ---------- Footer & dock ---------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 52px var(--gutter) 36px; display: grid; gap: 30px; }
.foot__logo { width: min(380px, 100%); height: auto; }
.foot__cols { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
.foot h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: .03em; }
.foot ul { list-style: none; margin: 6px 0 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; text-decoration-color: rgba(23, 19, 14, .45); }
.foot li a:hover { text-decoration-color: var(--flag); text-decoration-thickness: 3px; }
.foot__contact { grid-column: 1 / -1; }
.foot__addr { font-weight: 700; margin-top: 8px; }
.foot__fine { color: var(--ink-soft); font-size: 1rem; grid-column: 1 / -1; }

.dock {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--ink);
  transition: transform .35s var(--ease), visibility 0s;
}
.dock .btn { min-height: 52px; padding: 0 10px; font-size: 1.3rem; }
.dock .btn--call { border-color: var(--flag); }
.dock .btn--light { border-color: var(--lath); }
/* The dock slides out of the way while the quote form is on screen (js/site.js adds is-away). */
.dock.is-away { transform: translateY(100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s; }

/* ---------- Motion: one pass, left to right ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Photos in the service rows are uncovered left to right as they arrive (js adds is-in).
     A kraft cover slides off the photo. The photo itself is never hidden or clipped, so it
     still loads and the browser can still tell when it has come on screen. */
  .js-motion .wipe::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--ground); transform-origin: 100% 50%; transition: transform 1.1s var(--ease); }
  .js-motion .wipe.is-in::after { transform: scaleX(0); }
  @supports (animation-timeline: view()) {
    .js-motion .cut::after { animation: draw linear both; animation-timeline: view(); animation-range: entry 20% cover 32%; }
  }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Tablet and up ---------- */
@media (min-width: 640px) {
  .counties { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr 1fr; }
  .svc--flip .svc__photo { order: 2; }
  .svc__photo { aspect-ratio: auto; min-height: 400px; }
  .svc__text { padding: 40px clamp(28px, 6vw, 96px); align-self: center; }
  /* When the words are on the left, they start on the same line as the rest of the page. */
  .svc--flip .svc__text { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .more li { grid-template-columns: 150px 1fr; gap: 24px; }
  .foot__cols { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .foot__contact { grid-column: auto; }
  .proof .compare { aspect-ratio: 16 / 9; }
}
@media (min-width: 900px) {
  html { scroll-padding-top: 96px; }
  body { padding-bottom: 0; }
  .dock, .menu { display: none; }
  .top { position: sticky; top: 0; padding-block: 6px; }
  .top--bare { position: relative; }
  .top__nav { display: flex; }
  .top .btn { display: inline-flex; }
  .brand img { height: 60px; }

  /* The first screen becomes one picture with the words set on it. */
  .hero .compare { height: clamp(520px, calc(100svh - 72px), 860px); --grip-y: 36%; }
  .hero .compare::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(23, 19, 14, .92) 0%, rgba(23, 19, 14, .62) 28%, rgba(23, 19, 14, 0) 60%); }
  .hero .compare__line { z-index: 1; }
  .hero__copy {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter) 48px;
    color: var(--lath); pointer-events: none;
  }
  .hero__copy a { pointer-events: auto; }
  .hero .btn { flex: none; padding: 0 24px; font-size: 1.45rem; }
  .hero h1 { font-size: clamp(4.6rem, 7.4vw, 6rem); max-width: 11ch; }
  .hero__lead { font-size: 1.35rem; max-width: 46ch; }
  .hero__fine { color: var(--lath-soft); }
  .hero .btn--call { border-color: var(--flag); }
  .hero .btn--light { border-color: var(--lath); }
  .hero :focus-visible { outline-color: var(--lath); box-shadow: none; }

  .reel { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
  .reel__media { margin-inline: 0; }
  .family__grid { grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: 64px; align-items: center; }
  .family__grid .frame, .reel .frame { order: 0; }
  .frame--tall { aspect-ratio: 4 / 5; }
  .more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 0; }
  .more li { grid-template-columns: 1fr; align-content: start; border-top: 2.5px solid var(--ink); padding: 20px 0 22px; }
  .more__thumb { aspect-ratio: 16 / 10; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .more__thumb--empty { font-size: 1.7rem; }
  .counties { grid-template-columns: repeat(3, 1fr); }
  .area { display: grid; grid-template-columns: minmax(340px, .8fr) 1.45fr; gap: 8px 56px; align-items: center; }
  .area .map { margin-top: 0; }
  .area .counties { grid-column: 1 / -1; }
  .page-hero--split { grid-template-columns: 1fr 1fr; min-height: 540px; }
  .page-hero--split .page-hero__photo { order: 0; aspect-ratio: auto; border-bottom: 0; border-left: 5px solid var(--flag); }
  .page-hero--split .page-hero__in { max-width: none; margin: 0; align-self: center; padding: 56px 56px 56px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .page-hero--split h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
  .split { grid-template-columns: 1.5fr minmax(300px, 1fr); gap: 64px; }
  /* The short version is first on a phone; here it moves to the right and stays in view. */
  .legal .aside { order: 1; position: sticky; top: 104px; }
  .cta__in { grid-template-columns: 1.4fr auto; align-items: center; gap: 40px; }
  .foot { grid-template-columns: auto 1fr; gap: 64px; align-items: start; }
  .quote--top .checks { grid-template-columns: repeat(3, 1fr); }
  #quote-form { grid-template-columns: 1fr 1fr; gap: 22px 26px; }
  .field--wide { grid-column: 1 / -1; }
  .quote { grid-template-columns: minmax(280px, 1fr) 1.5fr; grid-template-rows: auto 1fr; gap: 28px 56px; align-items: start; }
  .quote > * { max-width: none; margin-inline: 0; }
  .quote__head { grid-column: 1; grid-row: 1; }
  .quote__more { grid-column: 1; grid-row: 2; }
  #quote-form, .quote > .sent { grid-column: 2; grid-row: 1 / span 2; }
  .quote > .sent { max-width: 640px; }
  .quote { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}

/* Phones only: the map is too small to name the other towns; the list below names them. */
@media (max-width: 639.98px) {
  .map__town, .map__label:not(.map__label--home) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dock, .dock.is-away, .compare, .faq__mark::before, .faq__mark::after { transition: none; }
}
