/* Alder & Stone — landscape & hardscape template
   Colours come from site.config.json (theme) and are injected as custom properties. */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-normal-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-normal-300-700.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F2EEE6;
  --paper-deep: #E6DFD2;
  --ink: #1C1F1A;
  --ink-soft: #4B4E46;
  --moss: #27321F;
  --accent: #8A4B26;
  --error: #9E2A16;
  --night: #12140F;
  --rule: color-mix(in srgb, var(--ink) 18%, transparent);
  --rule-strong: color-mix(in srgb, var(--ink) 40%, transparent);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --max: 90rem;
  --header-h: 4.75rem;
  --ease: cubic-bezier(.2, .7, .15, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
main { display: block; outline: none; }
::selection { background: var(--moss); color: var(--paper); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.is-light:focus-visible, .hero :focus-visible, .areas-band :focus-visible, .lightbox :focus-visible, .menu :focus-visible { outline-color: var(--paper); }

.visually-hidden { 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 { position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .75rem 1rem; background: var(--ink); color: var(--paper); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- type primitives */
.label, .mini-label, .hero-eyebrow, .footer-label {
  font: 600 .75rem/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.mini-label { margin-bottom: .75rem; }
.section-title, .page-title, .approach-statement, .closing-title, .hero-title, .service-name, .work-tile-title, .gallery-title,
.starter-title, .zip-title, .service-detail-title, .lightbox-title, .confirm-title, .aside-title, .step-legend, .town-list, .wordmark, .town {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.012em;
}
.section-title { font-size: clamp(2.1rem, 3.7vw, 3.5rem); line-height: 1.04; max-width: 17ch; text-wrap: balance; }
.page-title { font-size: clamp(3rem, 7.4vw, 7rem); line-height: .96; text-wrap: balance; }
.page-lede { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--ink-soft); max-width: 38rem; }
.num { font: 500 .8125rem/1 var(--sans); letter-spacing: .06em; color: var(--accent); font-variant-numeric: tabular-nums; }

.demo-tag {
  display: inline-block;
  font: 600 .6875rem/1.3 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: .3rem .5rem;
  border: 1px solid var(--rule-strong);
  vertical-align: middle;
}

.arrow { width: 1.25em; height: .625em; flex: none; transition: transform .5s var(--ease); }

/* ---------- buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3rem; padding: .8rem 1.4rem;
  border: 1px solid transparent; border-radius: 0;
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(.3rem); }
.btn-solid { background: var(--moss); color: var(--paper); }
.btn-solid:hover { background: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-small { min-height: 2.75rem; padding: .55rem 1rem; font-size: .875rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 2.75rem;
  font-weight: 600; font-size: .9375rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - .55rem) / 100% 1px no-repeat;
}
.link-arrow.is-light { color: var(--paper); }

/* ---------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--header-h);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--rule);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(1.2) blur(14px); } }
.site-header.is-overlay:not(.is-scrolled) { background: transparent; color: var(--paper); border-color: transparent; backdrop-filter: none; }
.site-header-inner {
  max-width: var(--max); height: 100%; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.65rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.wordmark-amp { font-style: italic; opacity: .8; }
.primary-nav { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .9375rem; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - .6rem) / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { background-size: 100% 1px; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { font-size: .9375rem; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: center; min-height: 2.75rem; }
.header-phone:hover { text-decoration: underline; }
.menu-toggle { display: none; align-items: center; gap: .65rem; min-height: 2.75rem; min-width: 2.75rem; padding: 0 .25rem; background: none; border: 0; font-weight: 600; font-size: .9375rem; }
.menu-toggle-lines { display: grid; gap: 5px; width: 22px; }
.menu-toggle-lines i { display: block; height: 1.5px; background: currentColor; }

@media (max-width: 1240px) { .header-phone { display: none; } }
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; gap: 1rem; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 4rem; }
  .wordmark { font-size: 1.45rem; }
  .header-actions .btn { display: none; }
}

/* ---------- menu dialog */
.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--moss); color: var(--paper);
}
.menu::backdrop { background: rgb(0 0 0 / .4); }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) 2rem; }
.menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); }
.menu-close { min-height: 2.75rem; min-width: 2.75rem; background: none; border: 0; color: inherit; font-weight: 600; font-size: .9375rem; }
.menu-nav { display: flex; flex-direction: column; padding: 2rem 0; }
.menu-link { font-family: var(--serif); font-size: clamp(2.25rem, 9vw, 3.5rem); line-height: 1.15; text-decoration: none; padding: .2rem 0; }
.menu-link[aria-current="page"] { font-style: italic; }
.menu-contact { margin-top: auto; display: grid; gap: .5rem; font-size: 1rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); }
.menu-contact a { text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.menu-contact p { color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: .9375rem; }
.motion .menu[open] .menu-link { animation: menu-in .7s var(--ease) both; }
.motion .menu[open] .menu-link:nth-child(2) { animation-delay: .04s; }
.motion .menu[open] .menu-link:nth-child(3) { animation-delay: .08s; }
.motion .menu[open] .menu-link:nth-child(4) { animation-delay: .12s; }
.motion .menu[open] .menu-link:nth-child(5) { animation-delay: .16s; }
.motion .menu[open] .menu-link:nth-child(6) { animation-delay: .2s; }
@keyframes menu-in { from { opacity: 0; transform: translateX(-1.5rem); } }

/* ---------- layout helpers */
main > section, .estimate-layout, .service-details, .areas-figure { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); }

.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 1rem;
  align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head .label { grid-column: 1 / 4; align-self: start; padding-top: .7rem; }
.section-head .section-title { grid-column: 4 / 10; }
.section-head .link-arrow { grid-column: 10 / 13; justify-self: end; }
@media (max-width: 900px) {
  .section-head .label, .section-head .section-title, .section-head .link-arrow { grid-column: 1 / -1; justify-self: start; padding-top: 0; }
}

/* ---------- hero */
.hero {
  position: relative; max-width: none !important; padding: 0 !important;
  height: 100svh; min-height: 40rem; max-height: 70rem;
  color: var(--paper); background: #2B3025; overflow: hidden; isolation: isolate;
}
.hero-media, .hero-media picture { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.motion .hero-img { animation: hero-settle 2.6s var(--ease) both, hero-drift 38s 2.6s ease-in-out infinite alternate; transform-origin: 60% 55%; }
@keyframes hero-settle { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.04) translate3d(-.6%, -.3%, 0); } }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(14 17 12 / .55) 0, rgb(14 17 12 / 0) 9.5rem),
    linear-gradient(to top, rgb(14 17 12 / .74) 0, rgb(14 17 12 / .38) 34%, rgb(14 17 12 / 0) 62%),
    linear-gradient(to right, rgb(14 17 12 / .5) 0, rgb(14 17 12 / 0) 58%);
}
@media (max-width: 760px) {
  .hero-scrim {
    background:
      linear-gradient(to bottom, rgb(14 17 12 / .5) 0, rgb(14 17 12 / 0) 7rem),
      linear-gradient(to top, rgb(14 17 12 / .82) 0, rgb(14 17 12 / .6) 45%, rgb(14 17 12 / .15) 72%, rgb(14 17 12 / 0) 85%);
  }
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: clamp(7.5rem, 15vh, 11rem);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.hero-eyebrow { color: var(--paper); margin-bottom: 1.5rem; }
.hero-eyebrow, .hero-title, .hero-lede, .hero-caption { text-shadow: 0 1px 14px rgb(10 12 8 / .35); }
.hero-title { font-size: clamp(2.9rem, 6.6vw, 6.75rem); line-height: .97; max-width: 12.5ch; text-wrap: balance; }
.hero-lede { margin-top: 1.75rem; max-width: 33rem; font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.55; color: color-mix(in srgb, var(--paper) 90%, transparent); }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 1.5rem;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  font-size: .8125rem; color: color-mix(in srgb, var(--paper) 86%, transparent);
}
.hero-caption > * { max-width: 18rem; }
.hero .demo-tag { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 55%, transparent); }
.motion .hero-title { animation: wipe-up 1.5s .2s var(--ease) both; }
.motion .hero-eyebrow, .motion .hero-lede, .motion .hero-actions, .motion .hero-caption { animation: soft-in 1.2s var(--ease) both; }
.motion .hero-eyebrow { animation-delay: .1s; }
.motion .hero-lede { animation-delay: .7s; }
.motion .hero-actions { animation-delay: .9s; }
.motion .hero-caption { animation-delay: 1.3s; }
@keyframes wipe-up { from { clip-path: inset(100% 0 -20% 0); transform: translateY(.35em); } to { clip-path: inset(-10% 0 -20% 0); transform: none; } }
@keyframes soft-in { from { opacity: 0; } }

/* ---------- estimate starter (docked to hero) */
.starter {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(12rem, 15rem) 1fr; gap: 2.5rem; align-items: end;
  padding-block: 2.25rem 2.5rem !important;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 1281px) {
  .starter {
    width: min(56rem, calc(100% - 2 * var(--gutter) - 20rem));
    margin: -5.75rem var(--gutter) 0 auto !important;
    padding: 2rem 2.25rem !important;
    border-bottom: 0;
  }
}
@media (min-width: 1580px) { .starter { margin-right: calc((100vw - var(--max)) / 2 + var(--gutter)) !important; } }
.starter-title { font-size: 1.75rem; line-height: 1.1; }
.starter-season { margin-top: .6rem; font-size: .875rem; line-height: 1.5; color: var(--ink-soft); }
.starter-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(7rem, .7fr) auto; gap: 1rem; align-items: end; }
@media (max-width: 900px) {
  .starter { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .starter-season { max-width: 32rem; }
}
@media (max-width: 560px) {
  .starter-form { grid-template-columns: minmax(0, 1fr) 7.5rem; }
  .starter-form .btn { grid-column: 1 / -1; }
}

/* ---------- form fields (shared) */
.field { display: grid; gap: .45rem; min-width: 0; }
.field label, .group legend { font-size: .875rem; font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  background: color-mix(in srgb, #fff 55%, var(--paper));
  border: 1px solid var(--rule-strong); border-radius: 0;
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, background-color .2s;
}
select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.15rem) 52%, calc(100% - .8rem) 52%; background-size: .35rem .35rem; background-repeat: no-repeat; }
textarea { resize: vertical; min-height: 9rem; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); background: #fff; }
input[type="file"] { font-size: .9375rem; padding: .6rem 0; }
input[type="file"]::file-selector-button { font: 600 .875rem var(--sans); padding: .7rem 1rem; margin-right: 1rem; border: 1px solid var(--rule-strong); background: transparent; cursor: pointer; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.hint { font-size: .875rem; color: var(--ink-soft); line-height: 1.45; }
.req, .opt { font-weight: 500; font-size: .75rem; letter-spacing: .04em; color: var(--ink-soft); margin-left: .35rem; }
.field-error { font-size: .875rem; font-weight: 600; color: var(--error); }

/* ---------- approach */
.approach {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  padding-block: clamp(5.5rem, 11vw, 10rem) clamp(4rem, 8vw, 7rem);
}
.approach-label { grid-column: 1 / 3; padding-top: 1rem; }
.approach-statement { grid-column: 3 / 12; font-size: clamp(1.75rem, 3.15vw, 3rem); line-height: 1.16; text-wrap: pretty; }
.approach-figure { grid-column: 2 / 6; grid-row: 2; margin-top: clamp(3rem, 7vw, 6.5rem); }
.approach-figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.approach-figure figcaption, .process-figure figcaption, .service-detail-media figcaption, .areas-figure figcaption, .estimate-figure figcaption {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .8rem; font-size: .8125rem; color: var(--ink-soft);
}
.approach-points { grid-column: 7 / 13; grid-row: 2; align-self: end; display: grid; }
.approach-points li { display: grid; grid-template-columns: 3.5rem 1fr; padding: 1.6rem 0 1.75rem; border-top: 1px solid var(--rule); }
.approach-points li:last-child { border-bottom: 1px solid var(--rule); }
.approach-points .num { padding-top: .5rem; grid-row: span 2; }
.approach-points h3 { font: 400 1.6rem/1.2 var(--serif); }
.approach-points p { margin-top: .4rem; color: var(--ink-soft); max-width: 30rem; }
@media (max-width: 900px) {
  .approach-label, .approach-statement { grid-column: 1 / -1; }
  .approach-label { padding-top: 0; }
  .approach-statement { margin-top: 1.25rem; }
  .approach-figure { grid-column: 1 / -1; grid-row: auto; width: 80%; justify-self: end; margin-top: 3rem; }
  .approach-points { grid-column: 1 / -1; grid-row: auto; margin-top: 3rem; }
}

/* ---------- services index */
.services-index { padding-block: clamp(4rem, 8vw, 7rem); }
.services-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); align-items: start; }
.service-list { grid-column: 1 / 7; }
.service-item { border-top: 1px solid var(--rule); }
.service-item:last-child { border-bottom: 1px solid var(--rule); }
.service-link {
  display: grid; grid-template-columns: 3.5rem 1fr; column-gap: 0; row-gap: .35rem;
  padding: 1.55rem 0 1.6rem; text-decoration: none;
}
.service-link .num { padding-top: .85rem; grid-row: span 2; transition: color .3s; }
.service-name { font-size: clamp(1.75rem, 2.9vw, 2.75rem); line-height: 1.05; transition: transform .6s var(--ease), color .3s; }
.service-summary { color: var(--ink-soft); font-size: .9875rem; max-width: 34rem; transition: color .3s; }
.service-item:not(.is-active) .service-name { color: color-mix(in srgb, var(--ink) 74%, var(--paper)); }
.service-item.is-active .num { color: var(--ink); }
.service-item.is-active .service-name { transform: translateX(.6rem); }
.service-item.is-active .service-summary { color: var(--ink); }
.service-thumb { display: none; }
.service-stage { grid-column: 8 / 13; position: sticky; top: calc(var(--header-h) + 2rem); }
.service-stage-img { position: absolute; inset: 0 0 auto; aspect-ratio: 4 / 5; opacity: 0; transition: opacity .8s var(--ease); overflow: hidden; }
.service-stage-img:first-child { position: relative; }
.service-stage-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.service-stage-img.is-active { opacity: 1; z-index: 1; }
.service-stage-img.is-active img { transform: scale(1); }
.service-stage-caption { margin-top: .8rem; min-height: 1.5rem; }
@media (max-width: 900px) {
  .service-list { grid-column: 1 / -1; }
  .service-stage { display: none; }
  .service-thumb { display: block; padding-bottom: 1.75rem; }
  .service-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .service-item:not(.is-active) .service-name { color: var(--ink); }
  .service-item.is-active .service-name { transform: none; }
  .service-item .service-summary { color: var(--ink-soft); }
  .service-link { padding-bottom: 1.25rem; }
}

/* ---------- before / after */
.compare-section { padding-block: clamp(4rem, 8vw, 7rem); }
.compare-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 1rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.compare-intro .label { grid-column: 1 / 4; align-self: start; padding-top: .7rem; }
.compare-intro .section-title { grid-column: 4 / 9; }
.compare-text { grid-column: 9 / 13; color: var(--ink-soft); font-size: .9875rem; }
.compare-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); box-shadow: 0 0 0 1px rgb(0 0 0 / .08); pointer-events: none; }
.compare-knob {
  position: absolute; top: 50%; left: 50%; width: 3.5rem; height: 3.5rem; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink);
  box-shadow: 0 6px 24px rgb(0 0 0 / .22);
}
.compare-knob svg { width: 1.4rem; height: .7rem; }
.compare:has(.compare-range:focus-visible) .compare-knob { outline: 3px solid var(--accent); outline-offset: 3px; }
.compare.is-dragging .compare-knob { transform: translate(-50%, -50%) scale(.92); }
.motion .compare-knob { transition: transform .3s var(--ease); }
.motion .compare.is-animating .compare-before { transition: clip-path .7s var(--ease); }
.motion .compare.is-animating .compare-handle { transition: left .7s var(--ease); }
.compare-tag { position: absolute; top: 1rem; padding: .4rem .65rem; font: 600 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: rgb(18 20 15 / .62); color: var(--paper); pointer-events: none; }
.compare-tag.is-before { left: 1rem; }
.compare-tag.is-after { right: 1rem; }
.compare-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 2.75rem; margin: 0; opacity: 0; pointer-events: none; }
.compare-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.25rem; }
.compare-controls { display: flex; }
.compare-btn { min-height: 2.75rem; padding: .55rem 1.1rem; border: 1px solid var(--rule-strong); background: transparent; font-size: .875rem; font-weight: 600; }
.compare-btn + .compare-btn { margin-left: -1px; }
.compare-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); position: relative; }
html:not(.js) .compare-controls { display: none; }
@media (max-width: 900px) {
  .compare-intro .label, .compare-intro .section-title, .compare-text { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 640px) {
  .compare-frame { aspect-ratio: 4 / 3.4; }
  .compare-knob { width: 3rem; height: 3rem; }
  .compare-controls { width: 100%; }
  .compare-btn { flex: 1; }
}

/* ---------- selected work */
.work-feature { padding-block: clamp(4rem, 8vw, 7rem); }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: clamp(3.5rem, 7vw, 6.5rem); }
.work-tile-link { display: block; text-decoration: none; }
.work-tile-media { overflow: hidden; background: var(--paper-deep); }
.work-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.work-tile-link:hover .work-tile-media img { transform: scale(1.035); }
.work-tile-meta { display: grid; grid-template-columns: 1fr auto; column-gap: 1.5rem; row-gap: .25rem; align-items: start; margin-top: 1.1rem; }
.work-tile-title { font-size: clamp(1.4rem, 1.8vw, 1.75rem); line-height: 1.15; }
.work-tile-link:hover .work-tile-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.work-tile-meta p { grid-column: 1; font-size: .9375rem; color: var(--ink-soft); }
.work-tile-meta .demo-tag { grid-column: 2; grid-row: 1 / span 2; }
.t-wide { grid-column: 1 / 9; }   .t-wide .work-tile-media { aspect-ratio: 16 / 10; }
.t-tall { grid-column: 10 / 13; margin-top: clamp(4rem, 12vw, 11rem); } .t-tall .work-tile-media { aspect-ratio: 4 / 5; }
.t-pano { grid-column: 3 / 13; } .t-pano .work-tile-media { aspect-ratio: 21 / 9; }
.t-mid { grid-column: 1 / 7; }   .t-mid .work-tile-media { aspect-ratio: 5 / 4; }
.t-side { grid-column: 8 / 12; margin-top: clamp(3rem, 9vw, 8rem); } .t-side .work-tile-media { aspect-ratio: 3 / 4; }
.t-tall .work-tile-meta, .t-side .work-tile-meta { grid-template-columns: 1fr; }
.t-tall .work-tile-meta .demo-tag, .t-side .work-tile-meta .demo-tag { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .5rem; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .t-wide, .t-tall, .t-pano, .t-mid, .t-side { grid-column: 1; margin-top: 0; }
  .t-tall, .t-side { width: 82%; justify-self: end; }
  .t-pano .work-tile-media { aspect-ratio: 16 / 10; }
  .work-tile-meta { grid-template-columns: 1fr; }
  .work-tile-meta .demo-tag { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .5rem; }
}

/* ---------- process */
.process {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  padding-block: clamp(4rem, 8vw, 7rem) clamp(5rem, 10vw, 9rem);
}
.process-head { grid-column: 1 / 6; display: grid; gap: 1.25rem; align-content: start; }
.process-figure { grid-column: 7 / 13; }
.process-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.process-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2.5rem); margin-top: clamp(3.5rem, 6vw, 5.5rem); }
.process-steps li { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.process-steps h3 { margin-top: 1.1rem; font: 400 1.6rem/1.15 var(--serif); }
.process-steps p { margin-top: .6rem; font-size: .9875rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .process-head, .process-figure { grid-column: 1 / -1; }
  .process-figure { margin-top: 2.5rem; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ---------- areas band */
.areas-band { max-width: none !important; padding: 0 !important; background: var(--moss); color: var(--paper); }
.areas-band-inner { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) var(--gutter); }
.areas-band .label { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.areas-band .section-title { margin-top: 1.25rem; max-width: 22ch; }
.town-list { display: flex; flex-wrap: wrap; margin-top: clamp(2.5rem, 5vw, 4.5rem); font-size: clamp(2.1rem, 5vw, 4.75rem); line-height: 1.12; }
.town-list li:not(:last-child)::after { content: "/"; margin: 0 .32em; opacity: .32; font-style: italic; }
.areas-band-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.areas-band-foot p { max-width: 36rem; color: color-mix(in srgb, var(--paper) 84%, transparent); }

/* ---------- closing */
.closing {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2rem;
  align-items: end; padding-block: clamp(5rem, 10vw, 9rem);
}
.closing-title { grid-column: 1 / 8; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .96; }
.closing-body { grid-column: 9 / 13; display: grid; gap: 1.5rem; color: var(--ink-soft); }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.closing-phone { font-weight: 600; color: var(--ink); text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; font-variant-numeric: tabular-nums; }
.closing-phone:hover { text-decoration: underline; }
@media (max-width: 900px) { .closing-title, .closing-body { grid-column: 1 / -1; } }

/* ---------- footer */
.site-footer { background: var(--paper-deep); font-size: .9375rem; }
.footer-grid, .footer-base { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer-brand p { margin-top: .75rem; color: var(--ink-soft); }
.footer-label { margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .35rem; }
.footer-col ul + .footer-label { margin-top: 1.75rem; }
.footer-col a { text-decoration: none; display: inline-flex; align-items: center; min-height: 2rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; padding-block: 1.5rem 2.25rem; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--ink-soft); }
.demo-notice { max-width: 62ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- inner page intro */
.page-intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 1.75rem;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 8rem)); padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.page-intro .label { grid-column: 1 / 4; padding-top: 1.4rem; }
.page-intro .page-title { grid-column: 4 / 13; }
.page-intro .page-lede, .page-intro .page-demo-note, .page-intro .jump { grid-column: 4 / 11; }
.page-demo-note { font-size: .875rem; color: var(--ink-soft); padding-left: 1rem; border-left: 2px solid var(--accent); max-width: 44rem; }
@media (max-width: 900px) {
  .page-intro > * { grid-column: 1 / -1 !important; }
  .page-intro .label { padding-top: 0; }
}

/* ---------- work gallery */
.gallery-section { padding-bottom: clamp(3rem, 6vw, 5rem); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.filter { min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid var(--rule-strong); background: transparent; font-size: .875rem; font-weight: 600; transition: background-color .25s, color .25s, border-color .25s; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-count { font-weight: 500; opacity: .65; margin-left: .3rem; font-variant-numeric: tabular-nums; }
.filter-status { margin: 1.25rem 0 2.5rem; font-size: .875rem; color: var(--ink-soft); }
.gallery { columns: 3; column-gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.gallery-item { break-inside: avoid; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.gallery-item[hidden] { display: none; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.gallery-media { display: block; overflow: hidden; background: var(--paper-deep); }
.gallery-media img { width: 100%; transition: transform 1.4s var(--ease); }
.gallery-open:hover .gallery-media img { transform: scale(1.035); }
.gallery-meta { display: grid; gap: .25rem; margin-top: 1rem; }
.gallery-title { font-size: 1.45rem; line-height: 1.15; }
.gallery-open:hover .gallery-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.gallery-sub { font-size: .9375rem; color: var(--ink-soft); }
.gallery-item .demo-tag { margin-top: .65rem; }
.motion .gallery-item.is-entering { animation: soft-in .6s var(--ease) both; }
@media (max-width: 1100px) { .gallery { columns: 2; } }
@media (max-width: 700px) { .gallery { columns: 1; } }

/* ---------- lightbox */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--night); color: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: rgb(0 0 0 / .85); }
.motion .lightbox[open] { animation: soft-in .45s var(--ease); }
.lightbox-inner { height: 100%; display: grid; grid-template-rows: 1fr auto; }
.lightbox-figure { min-height: 0; display: grid; grid-template-rows: 1fr auto; padding: clamp(1rem, 3vw, 2.5rem) var(--gutter) 0; }
.lightbox-media { min-height: 0; display: grid; place-items: center; }
.lightbox-media { overflow: hidden; }
.lightbox-media img { max-width: 100%; max-height: calc(100vh - 15rem); max-height: calc(100dvh - 15rem); width: auto; height: auto; object-fit: contain; }
@media (max-width: 760px) { .lightbox-media img { max-height: calc(100dvh - 17rem); } }
.lightbox-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; padding: 1.25rem 0 0; max-width: var(--max); width: 100%; margin: 0 auto; }
.lightbox-count { font: 500 .8125rem var(--sans); color: color-mix(in srgb, var(--paper) 75%, transparent); font-variant-numeric: tabular-nums; }
.lightbox-title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; }
.lightbox-sub { font-size: .9375rem; color: color-mix(in srgb, var(--paper) 80%, transparent); flex-basis: 100%; }
.lightbox .demo-tag { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 45%, transparent); }
.lightbox-controls { display: flex; gap: .5rem; justify-content: flex-end; padding: 1rem var(--gutter) 1.5rem; }
.lightbox-btn { min-height: 2.75rem; padding: .5rem 1.15rem; border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); background: transparent; color: var(--paper); font-size: .875rem; font-weight: 600; }
.lightbox-btn:hover { border-color: var(--paper); }
.lightbox-close { margin-left: auto; order: -1; }
@media (min-width: 761px) { .lightbox-close { order: 0; margin-left: 1.5rem; } }

/* ---------- services page */
.jump ol { columns: 2; column-gap: 2rem; margin-top: 1rem; border-top: 1px solid var(--rule); }
.jump li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.jump a { display: flex; gap: 1rem; align-items: baseline; padding: .8rem 0; min-height: 2.75rem; text-decoration: none; font-weight: 500; }
.jump a:hover { text-decoration: underline; }
@media (max-width: 560px) { .jump ol { columns: 1; } }
.service-detail {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 2rem;
  padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--rule);
}
.service-detail-media { grid-column: 1 / 6; }
.service-detail-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.service-detail-body { grid-column: 7 / 12; align-self: center; }
.service-detail-title { margin-top: 1rem; font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: 1; }
.service-detail-summary { margin: 1.25rem 0 2.25rem; font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.5; max-width: 32rem; }
.included { border-top: 1px solid var(--rule); margin-bottom: 1.75rem; }
.included li { padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: .9875rem; }
.service-note { color: var(--ink-soft); font-size: .9375rem; margin-bottom: 1.25rem; max-width: 30rem; }
@media (max-width: 900px) {
  .service-detail-media, .service-detail-body { grid-column: 1 / -1; }
  .service-detail-media img { aspect-ratio: 4 / 3; }
}

/* ---------- areas page */
.zip-check { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); row-gap: 1rem; align-items: end; padding-block: clamp(2rem, 4vw, 3rem) !important; border-block: 1px solid var(--rule); }
.zip-title { grid-column: 1 / 5; font-size: clamp(1.75rem, 2.6vw, 2.4rem); line-height: 1.1; }
.zip-form { grid-column: 5 / 10; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; }
.zip-result { grid-column: 5 / 13; min-height: 1.6rem; font-weight: 600; }
.zip-result.is-yes { color: var(--moss); }
.zip-result.is-no { color: var(--accent); }
.county-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.25rem, 2.4vw, 2.5rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.county-name { font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.county li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.town { font-size: clamp(1.6rem, 2.3vw, 2.15rem); line-height: 1.1; }
.zips { font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; text-align: right; }
.areas-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.areas-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.areas-note p { font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.25 var(--serif); max-width: 34ch; }
@media (max-width: 900px) {
  .zip-title, .zip-form, .zip-result { grid-column: 1 / -1; }
  .county-list { grid-template-columns: 1fr; }
  .areas-figure img { aspect-ratio: 4 / 3; }
}

/* ---------- estimate page */
.estimate-layout {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem);
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(4rem, 8vw, 7rem);
}
.estimate-main { grid-column: 1 / 8; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.estimate-main .page-title { font-size: clamp(2.75rem, 5.6vw, 5.25rem); margin-top: 1.25rem; }
.estimate-main .page-lede { margin-top: 1.25rem; }
.estimate-aside { grid-column: 9 / 13; align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.estimate-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.aside-title { margin-top: 2rem; font-size: 1.75rem; line-height: 1.1; }
.next-steps { margin-top: 1rem; border-top: 1px solid var(--rule); }
.next-steps li { display: grid; grid-template-columns: 2.5rem 1fr; padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.next-steps .num { padding-top: .2rem; }
.aside-contact { margin-top: 2rem; display: grid; gap: .1rem; font-size: .9375rem; }
.aside-contact a { font-weight: 600; text-decoration: none; min-height: 2.25rem; display: inline-flex; align-items: center; }
.aside-contact a:hover { text-decoration: underline; }
.aside-contact p:last-child { color: var(--ink-soft); margin-top: .35rem; }
@media (max-width: 1000px) {
  .estimate-main, .estimate-aside { grid-column: 1 / -1; }
  .estimate-aside { position: static; margin-top: 4rem; }
  .estimate-figure { display: none; }
  .aside-title { margin-top: 0; }
}

.estimate-form { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.form-noscript { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); background: var(--paper-deep); }
.steps { display: none; gap: 1.5rem; margin-bottom: 2rem; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.js .steps { display: flex; }
.step-dot { padding-bottom: .6rem; border-bottom: 2px solid var(--rule); flex: 1; }
.step-dot.is-current, .step-dot.is-done { color: var(--ink); border-color: var(--ink); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-step { display: grid; gap: 1.75rem; }
.form-step + .form-step { margin-top: 3rem; }
.js .form-step + .form-step { margin-top: 0; }
.form-step[hidden] { display: none; }
.step-legend { display: block; padding: 0; margin-bottom: .25rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; }
.step-count { display: block; margin-bottom: .6rem; font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.group legend { margin-bottom: .75rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { display: flex; align-items: center; gap: .75rem; min-height: 3rem; padding: .65rem 1rem; border: 1px solid var(--rule-strong); cursor: pointer; font-size: .9375rem; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, #fff 55%, var(--paper)); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--moss); flex: none; }
.group[aria-invalid="true"] .choice { border-color: var(--error); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
@media (max-width: 640px) { .field-row, .choices-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: .5rem; }
.form-status { font-size: .9375rem; font-weight: 600; min-height: 1.5rem; }
.form-status.is-error { color: var(--error); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--error); background: color-mix(in srgb, var(--error) 8%, var(--paper)); }
.error-summary h2 { font: 700 1rem/1.3 var(--sans); color: var(--error); }
.error-summary ul { margin-top: .6rem; display: grid; gap: .25rem; }
.error-summary a { color: var(--error); font-weight: 600; }
.confirm { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2.5rem; border-top: 1px solid var(--ink); display: grid; gap: 1.25rem; max-width: 40rem; outline: none; }
.confirm-title { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; }
.confirm .link-arrow { justify-self: start; }
.confirm-ref { font-size: 1.125rem; }
.confirm-ref strong { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.confirm-demo { font-size: .875rem; color: var(--ink-soft); padding-left: 1rem; border-left: 2px solid var(--accent); }
code { font-size: .9em; background: var(--paper-deep); padding: .05em .3em; }

/* ---------- 404 */
.not-found { padding-top: calc(var(--header-h) + clamp(4rem, 12vw, 10rem)); padding-bottom: clamp(5rem, 10vw, 9rem); display: grid; gap: 1.5rem; }
.not-found .page-title { max-width: 14ch; }
.not-found-links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 1rem; }

/* ---------- scroll reveals (enabled only when JS has attached the observer) */
/* The observed element stays unclipped (IntersectionObserver ignores fully clipped targets); only its image is wiped in. */
.reveal-ready .reveal { overflow: hidden; }
.reveal-ready .reveal > img { clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1.25s var(--ease), transform 1.8s var(--ease); }
.reveal-ready .reveal.is-in > img { clip-path: inset(0 0 0 0); transform: scale(1); }

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

@media print {
  .site-header, .menu, .starter, .compare-controls, .lightbox, .skip { display: none !important; }
  .hero { height: auto; min-height: 0; color: var(--ink); }
  .hero-scrim { display: none; }
}
