/* Houma House Elevation: "The place carries it", walnut and tan.
   Tokens first; every rule below reads tokens only. See DESIGN.md. */

/* ---------- Tokens ---------- */
:root {
  /* colour: walnut opens and closes, paper and tan carry the middle */
  --walnut: #2b2216;
  --walnut-2: #382d1e;        /* one tone step up on walnut */
  --bone: #ece7dc;            /* ink on walnut */
  --bone-muted: #b9af9d;      /* secondary ink on walnut (6.9:1) */
  --paper: #efebe3;           /* reading ground */
  --paper-2: #e3ddd1;         /* one tone step down on paper */
  --ink: #241c12;             /* ink on paper and tan */
  --ink-muted: #5a5043;       /* secondary ink on paper (6.6:1) */
  --tan: #c9ae8f;             /* the field, and the button on walnut */
  --tan-ink: #1c150d;
  --tan-muted: #3e3124;       /* secondary ink on tan (6.2:1) */
  --water: #5d6b63;           /* bayou water, used only in the gauge drawing */
  --gauge-red: #9a3b2a;       /* staff-gauge marks, drawing only */

  /* type: Archivo, one family; condensed heavy caps for display */
  --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);   /* 13-14 */
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);     /* 17-19 */
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);       /* 20-26 */
  --step-title: clamp(2.25rem, 1.3rem + 3.4vw, 4.25rem);       /* 36-68 */
  --step-head: clamp(2.75rem, 1rem + 6.4vw, 7.5rem);           /* 44-120 */

  /* space and frame */
  --m: clamp(16px, 2.2vw, 32px);           /* the one pair of outer margins */
  --gap: clamp(16px, 2vw, 32px);           /* grid gutter */
  --section: clamp(88px, 11vw, 200px);     /* between sections */
  --radius: 0;                              /* square corners everywhere */
  --header-h: 68px;

  /* motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur: .6s;

  /* lead form engine */
  --lead-accent: var(--walnut);
  --lead-accent-ink: var(--bone);
  --lead-fg: var(--ink);
  --lead-muted: var(--ink-muted);
  --lead-border: #9d927f;
  --lead-surface: transparent;
  --lead-field-bg: #f8f6f1;
  --lead-error: #a3271b;
  --lead-radius: 0;
  --lead-gap: 1rem;
  --lead-wa: #167a3e;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--walnut); color: var(--bone);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-weight: 400;
  font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .9; letter-spacing: -0.01em; text-wrap: balance; }
h1, h2 { font-size: var(--step-title); }
h3 { font-size: var(--step-lead); line-height: 1; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--tan); color: var(--tan-ink); }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; }
.on-paper :focus-visible, .on-tan :focus-visible { outline-color: var(--walnut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: var(--m); top: -100px; z-index: 100; background: var(--tan); color: var(--tan-ink); padding: .75rem 1rem; font-weight: 600; }
.skip:focus { top: 8px; }

/* grounds */
.on-walnut { background: var(--walnut); color: var(--bone); }
.on-paper { background: var(--paper); color: var(--ink); }
.on-tan { background: var(--tan); color: var(--tan-ink); }
.on-paper .muted { color: var(--ink-muted); }
.on-tan .muted { color: var(--tan-muted); }
.on-walnut .muted { color: var(--bone-muted); }

/* the frame: one grid, one pair of margins */
.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }
.measure { max-width: 60ch; }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.small { font-size: var(--step-small); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .8rem 1.5rem; border: 0; border-radius: var(--radius);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--walnut); color: var(--bone);
  transition: transform .18s var(--ease-out), background-color .18s;
}
.btn:hover { background: #3e3120; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.on-walnut .btn, .btn--tan { background: var(--tan); color: var(--tan-ink); }
.on-walnut .btn:hover, .btn--tan:hover { background: #d8c0a4; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn.lead-wa-btn { background: var(--lead-wa); color: #fff; }
.btn.lead-wa-btn:hover { background: #10602f; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-thickness: 4px; }
.arrow::after { content: " \2192"; display: inline-block; transition: transform .18s var(--ease-out); }
a:hover > .arrow::after, .arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--walnut); color: var(--bone); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); padding-inline: var(--m); }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: 0; }
.wordmark svg { width: 30px; height: 30px; flex: none; }
.nav-toggle { display: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; padding-block: .6rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .btn { min-height: 44px; padding: .55rem 1.1rem; }
@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25rem; background: none; border: 0;
    color: inherit; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; cursor: pointer;
  }
  .js .nav { display: none; }
  .js .site-header.is-open .nav {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--m) 1.5rem; background: var(--walnut-2); box-shadow: 0 18px 30px rgb(0 0 0 / .35); /* taste-skill-ignore: open menu overlay */
  }
  .js .site-header.is-open .nav a:not(.btn) { padding-block: .9rem; font-size: 1.125rem; }
  .js .site-header.is-open .nav .btn { margin-top: .75rem; }
  .nav { flex-wrap: wrap; gap: .25rem 1rem; }
  .site-header .bar { flex-wrap: wrap; }
}

/* ---------- Home hero: the house-shaped window that opens ---------- */
.hero { position: relative; background: var(--walnut); color: var(--bone); }
.hero-stage { position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
.hero-side p { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; }
.hero-note { font-size: var(--step-small); color: var(--bone-muted); margin-top: 1rem !important; }

/* phone and tablet: its own stacked composition */
@media (max-width: 899px) {
  .hero-stage { display: flex; flex-direction: column; padding: 20px var(--m) 48px; gap: 24px; }
  .hero h1 { order: 1; }
  .hero-photo { order: 2; margin-inline: calc(var(--m) * -1); aspect-ratio: 4 / 4.2; max-height: 62svh;
    clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); }
  .hero-side { order: 3; }
  .hero-actions .btn { width: 100%; }
}

/* desktop: first frame of the window, which is also the no-motion version */
@media (min-width: 900px) {
  .hero-stage { --wh: min(45vw, calc(100svh - var(--header-h) - 9rem)); --ww: calc(var(--wh) * .8);
    height: calc(100svh - var(--header-h)); min-height: 560px; overflow: hidden; }
  .hero-photo { position: absolute; inset: 0;
    clip-path: polygon(50% calc(50% - var(--wh) / 2), calc(50% + var(--ww) / 2) calc(50% - var(--wh) * .32),
      calc(50% + var(--ww) / 2) calc(50% + var(--wh) / 2), calc(50% - var(--ww) / 2) calc(50% + var(--wh) / 2),
      calc(50% - var(--ww) / 2) calc(50% - var(--wh) * .32)); }
  .hero h1, .hero-side { position: absolute; bottom: calc(50% - var(--wh) / 2); width: calc(50% - var(--ww) / 2 - var(--m) - 40px); }
  .hero h1 { left: var(--m); font-size: min(4rem, calc((50vw - 8px - var(--ww) / 2 - var(--m) - 40px) / 6.8)); }
  .hero-side { right: var(--m); max-width: 34ch; font-size: 1.125rem; }
}
/* the scroll-linked opening, only where the browser supports it and motion is welcome */
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .hero { height: calc(210svh - var(--header-h)); view-timeline: --hero block; }
    .hero-stage { position: sticky; top: 0; height: 100svh; }
    .hero-photo { animation: hero-open linear both; animation-timeline: --hero; animation-range: contain 0% contain 70%; }
    .hero h1, .hero-side { animation: hero-text-out linear both; animation-timeline: --hero; animation-range: contain 0% contain 28%; }
    .hero-photo img { animation: hero-drift linear both; animation-timeline: --hero; animation-range: contain 0% contain 100%; }
  }
}
@keyframes hero-open { to { clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%, 0 0); } }
@keyframes hero-text-out { to { opacity: 0; transform: translateY(-48px); } }
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Page hero (service and inner pages) ---------- */
.page-hero { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 120px); }
.page-hero .grid { align-items: end; row-gap: 32px; }
.page-hero-text { grid-column: 1 / span 5; }
.page-hero-text h1 { font-size: var(--step-title); }
.page-hero-text .lead { margin-top: 32px; }
.page-hero-photo { grid-column: 7 / -1; margin-right: calc(var(--m) * -1); }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero-photo figcaption { font-size: var(--step-small); color: var(--bone-muted); margin-top: .6rem; }
.crumbs { font-size: var(--step-small); margin-bottom: clamp(24px, 4vw, 48px); color: var(--bone-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
@media (max-width: 899px) {
  .page-hero-text, .page-hero-photo { grid-column: 1 / -1; }
  .page-hero-photo { margin-inline: calc(var(--m) * -1); }
}

/* ---------- Services: one scene, stepping statements ---------- */
.scene { position: relative; background: var(--walnut); color: var(--bone); }
.scene-sticky { position: relative; min-height: 100svh; display: grid; }
.scene-photo { position: absolute; inset: 0; }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; }
.scene-photo::after { content: ""; position: absolute; inset: 0; background: rgb(20 15 9 / .62); }
.scene-copy { position: relative; z-index: 1; align-self: center; padding: var(--section) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.scene-copy h2 { grid-column: 1 / span 5; margin-bottom: 40px; }
.scene-copy .scene-intro { grid-column: 7 / span 5; font-size: var(--step-lead); line-height: 1.35; margin: 0 0 40px; }
.scene-list { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); }
.scene-list a { display: block; text-decoration: none; padding: 20px 0; }
.scene-list .t { display: block; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; }
.scene-list .d { display: block; margin-top: .5rem; color: var(--bone); max-width: 46ch; }
.scene-list .more { display: inline-block; margin-top: .5rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; font-size: var(--step-small); }
.scene-list a:hover .t { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* stepping version (script on, motion welcome, wide screen) */
@media (min-width: 900px) {
  .js-scene .scene { height: calc(100svh + var(--steps, 6) * 55svh); }
  .js-scene .scene-sticky { position: sticky; top: 0; height: 100svh; min-height: 0; }
  .js-scene .scene-copy { padding-block: 0; }
  .js-scene .scene-list { grid-column: 1 / span 6; grid-template-columns: 1fr; gap: 6px; }
  .js-scene .scene-list a { padding: 8px 0; }
  .js-scene .scene-list .t { color: var(--bone-muted); transition: color .3s, transform .4s var(--ease-out); }
  .js-scene .scene-list .d, .js-scene .scene-list .more { display: none; }
  .js-scene .scene-list li.is-active .t { color: var(--bone); transform: translateX(12px); }
  .js-scene .scene-list li.is-active .d, .js-scene .scene-list li.is-active .more { display: block; }
  .js-scene .scene-list li.is-active .more { display: inline-block; }
  .js-scene .scene-list a:focus-visible .d { display: block; }
  .js-scene .scene-aside { grid-column: 8 / span 5; align-self: end; }
  .scene-markers { position: absolute; inset: 50svh 0 0 0; pointer-events: none; }
  .scene-markers span { display: block; height: 55svh; }
}
.scene-aside { display: none; }
.js-scene .scene-aside { display: block; }
.scene-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scene-aside p { font-size: var(--step-small); color: var(--bone-muted); margin-top: .6rem; }
@media (max-width: 899px) {
  .scene-copy h2, .scene-copy .scene-intro { grid-column: 1 / -1; }
  .scene-list { grid-template-columns: 1fr; gap: 8px; }
  .scene-aside, .js-scene .scene-aside { display: none; }
}

/* ---------- How it works: lines that step across ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; }
.steps li { grid-column: var(--start, 1) / -1; }
.steps li:nth-child(1) { --start: 1; } .steps li:nth-child(2) { --start: 3; } .steps li:nth-child(3) { --start: 5; } .steps li:nth-child(4) { --start: 7; }
.steps .line { display: block; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.25rem, 1rem + 4.2vw, 4.75rem); line-height: 1; letter-spacing: -0.01em; }
.steps p { margin: 12px 0 0; max-width: 40ch; }
.steps li:last-child .line { color: var(--walnut); }
.steps-foot { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
@media (max-width: 899px) {
  .steps { row-gap: 40px; }
  .steps li { grid-column: 1 / -1; padding-left: calc((var(--start, 1) - 1) * 3vw); }
  .steps .line { font-size: 8.4vw; }
}

/* ---------- Height calculator (the live thing) ---------- */
.calc .grid { row-gap: 48px; align-items: start; }
.calc-copy { grid-column: 1 / span 6; }
.calc-copy h2 { margin-bottom: 32px; }
.calc-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.calc-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .95rem; }
.calc-form input, .calc-form select {
  font: inherit; font-size: 1.25rem; font-weight: 600; min-height: 52px; padding: .5rem .75rem; width: 100%;
  border: 2px solid var(--tan-ink); border-radius: var(--radius); background: #f3ebdf; color: var(--tan-ink);
  font-variant-numeric: tabular-nums;
}
.calc-out { margin-top: 32px; font-size: var(--step-lead); line-height: 1.35; min-height: 3.5em; }
.calc-out strong { font-weight: 800; }
.calc-fine { font-size: var(--step-small); color: var(--tan-muted); margin-top: 16px; max-width: 60ch; }
.calc-figure { grid-column: 8 / -1; }
.calc-figure svg { width: 100%; height: auto; max-height: 78svh; }
.gauge-house { transition: transform .7s var(--ease-out); }
@media (max-width: 899px) {
  .calc-copy, .calc-figure { grid-column: 1 / -1; }
  .calc-form { grid-template-columns: 1fr 1fr; }
  .calc-form label:last-child { grid-column: 1 / -1; }
  .calc-figure svg { max-height: 60svh; margin-inline: auto; }
}

/* ---------- Heading captions a panorama ---------- */
.pano { min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--section); }
.pano h2 { font-size: var(--step-head); line-height: .88; }
.pano-caps { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 28px; }
.pano-caps p { width: 30ch; margin: 0; font-size: var(--step-small); }
.pano-img { margin-top: 40px; flex: 1; min-height: 55svh; }
.pano-img img { width: 100%; height: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 899px) {
  .pano h2 { font-size: 12vw; }
  .pano-caps p { width: auto; font-size: .9375rem; }
  .pano-img img { aspect-ratio: 4 / 5; }
}

/* ---------- Statement, table pushed right ---------- */
.rules h2 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem); max-width: 18ch; }
.rules h2 .indent { padding-left: 3vw; }
.rules .grid { margin-top: 96px; row-gap: 40px; }
.rules-side { grid-column: 1 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.rules-side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rules-side figcaption { font-size: var(--step-small); color: var(--ink-muted); margin-top: .6rem; }
.rules-name { grid-column: 6 / span 1; font-size: var(--step-small); font-weight: 600; padding-top: 4px; }
.rules-table { grid-column: 7 / -1; }
table.rt { width: 100%; border-collapse: collapse; font-size: 1rem; }
.rt caption { text-align: left; }
.rt th, .rt td { text-align: left; vertical-align: top; padding: 13px 0; }
.rt th { font-weight: 600; width: 34%; padding-right: 1rem; }
.rt td:nth-child(2) { color: var(--ink-muted); width: 28%; padding-right: 1rem; }
.rt tr:nth-child(4n+1):not(:first-child) th, .rt tr:nth-child(4n+1):not(:first-child) td { padding-top: 44px; }
.rt a { font-weight: 600; }
@media (max-width: 899px) {
  .rules .grid { margin-top: 48px; }
  .rules-side, .rules-table { grid-column: 1 / -1; }
  .rules-name { display: none; }
  .rules-side { order: 2; }
  .rules-side figure { width: 70%; margin-left: auto; }
  .rt, .rt tbody, .rt tr, .rt th, .rt td { display: block; width: auto !important; }
  .rt tr { padding-block: 12px; }
  .rt th, .rt td { padding: 0 !important; }
  .rt td:nth-child(2) { font-size: var(--step-small); }
}

/* ---------- FAQ beside a tall photograph ---------- */
.faq { overflow: hidden; }
.faq .grid { row-gap: 48px; }
.faq-copy { grid-column: 1 / span 5; padding-block: var(--section); }
.faq-copy h2 { margin-bottom: 32px; }
.faq-facts { list-style: none; margin-bottom: 40px; }
.faq-facts li { font-size: 1.125rem; padding-block: 4px; }
.faq-facts b { font-weight: 600; }
.faq-list details { padding-block: 14px; }
.faq-list details + details { margin-top: 14px; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: start; min-height: 44px; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin: .35em 4px 0 0;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: .6em; }
.faq-list summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.faq-list .answer { padding-top: 10px; font-size: 1.0625rem; }
.faq-list .answer p:last-child { margin-bottom: 0; }
.faq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 48px; }
.faq-photos { grid-column: 7 / -1; position: relative; margin-right: calc(var(--m) * -1); padding-bottom: 80px; }
.faq-photos .tall { width: 100%; height: 100%; min-height: 70svh; object-fit: cover; }
.faq-photos .square { position: absolute; left: -40px; bottom: 40px; width: 34%; aspect-ratio: 1; object-fit: cover; border: 8px solid currentColor; }
.on-walnut .faq-photos .square { border-color: var(--walnut); }
.on-tan .faq-photos .square { border-color: var(--tan); }
.on-paper .faq-photos .square { border-color: var(--paper); }
@media (max-width: 899px) {
  .faq-copy, .faq-photos { grid-column: 1 / -1; }
  .faq-photos { order: -1; margin-inline: calc(var(--m) * -1); padding-bottom: 0; margin-top: 0; }
  .faq-photos .tall { aspect-ratio: 4 / 5; min-height: 0; height: auto; }
  .faq-photos .square { left: auto; right: var(--m); bottom: -32px; width: 38%; }
  .faq-copy { padding-block: 64px var(--section); }
  .faq-actions .btn { width: 100%; }
}

/* ---------- Areas (map beside the town list) ---------- */
.areas .grid { row-gap: 40px; align-items: start; }
.areas-map { grid-column: 1 / span 5; }
.areas-map img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.areas-map figcaption { font-size: var(--step-small); margin-top: .6rem; }
.areas-copy { grid-column: 7 / -1; }
.areas-copy h2 { margin-bottom: 32px; }
.towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gap); margin-block: 40px; }
.towns h3 { margin-bottom: 12px; }
.towns ul { list-style: none; columns: 2; column-gap: var(--gap); }
.towns li { padding-block: 3px; break-inside: avoid; }
@media (max-width: 899px) {
  .areas-map, .areas-copy { grid-column: 1 / -1; }
  .towns { grid-template-columns: 1fr; }
}

/* ---------- Content blocks on inner pages ---------- */
.prose h2 { margin-bottom: 32px; }
.prose h3 { margin: 40px 0 12px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: currentColor; }
.split { row-gap: 40px; }
.split > .split-head { grid-column: 1 / span 4; }
.split > .split-body { grid-column: 6 / -1; max-width: 68ch; }
.split-head .small { margin-top: 20px; }
@media (max-width: 899px) { .split > .split-head, .split > .split-body { grid-column: 1 / -1; } }

/* stages of a lift: ordered sentences beside one photo */
.stages .grid { row-gap: 40px; }
.stages-photo { grid-column: 1 / span 5; position: sticky; top: 24px; align-self: start; }
.stages-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stages-photo figcaption { font-size: var(--step-small); margin-top: .6rem; }
.stages-list { grid-column: 7 / -1; }
.stages-list h2 { margin-bottom: 40px; }
.stages-list ol { list-style: none; counter-reset: none; }
.stages-list li { padding-block: 18px; }
.stages-list li b { display: block; font-size: var(--step-lead); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
@media (max-width: 899px) { .stages-photo, .stages-list { grid-column: 1 / -1; position: static; } }

/* checklist on a tone step */
.ready { background: var(--paper-2); }
.ready ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); padding: 0; }
.ready li { padding-left: 1.6em; position: relative; margin: 0; }
.ready li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7em; height: .7em; background: var(--walnut); }
@media (max-width: 899px) { .ready ul { grid-template-columns: 1fr; } }

/* sibling services */
.siblings ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px var(--gap); }
.siblings a { display: block; padding-block: 14px; text-decoration: none; font-weight: 800; font-stretch: 62%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1.05; }
.siblings a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.siblings a span { display: block; font-weight: 400; font-stretch: 100%; text-transform: none; font-size: 1rem; margin-top: 6px; }
@media (max-width: 899px) { .siblings ul { grid-template-columns: 1fr; } }

/* ---------- CTA: three photographs, then a field with the form ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip img { width: 100%; height: 40svh; min-height: 220px; object-fit: cover; }
.band .grid { row-gap: 48px; align-items: start; }
.band-copy { grid-column: 1 / span 5; }
.band-copy .statement { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.3; font-weight: 500; max-width: 26ch; }
.band-copy .statement a { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; font-weight: 700; }
.band-copy h2 { margin-bottom: 32px; }
.form-panel { grid-column: 7 / -1; background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 40px); }
@media (max-width: 899px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img { height: auto; aspect-ratio: 1; min-height: 0; }
  .strip img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .band-copy, .form-panel { grid-column: 1 / -1; }
  .form-panel { margin-inline: calc(var(--m) * -1); }
}

/* quote page: form front and centre */
.quote-page .grid { row-gap: 48px; align-items: start; }
.quote-page .form-panel { grid-column: 1 / span 7; }
.quote-aside { grid-column: 9 / -1; }
.quote-aside h2 { font-size: var(--step-lead); margin: 0 0 16px; line-height: 1; }
.quote-aside ol { padding-left: 1.2em; margin-bottom: 40px; }
.quote-aside li { margin-bottom: .75em; }
.quote-aside .btn { width: 100%; margin-bottom: 12px; }
.quote-aside .aside-gap { margin-top: 32px; }
.quote-hero { padding-bottom: clamp(40px, 5vw, 72px); }
.quote-hero-lead { grid-column: 7 / -1; margin: 0; }
@media (max-width: 899px) { .quote-page .form-panel, .quote-aside, .quote-hero-lead { grid-column: 1 / -1; } }

/* ---------- Lead form restyle ---------- */
.lead-form .lead-step-title { font-size: var(--step-lead); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: 1; margin-bottom: .5rem; }
.lead-progress-track { height: 6px; border-radius: 0; background: var(--paper-2); }
.lead-progress-bar { background: var(--walnut); }
.lead-step-count { color: var(--ink-muted); }
.lead-label { font-size: .95rem; }
.lead-field input:not([type=radio]):not([type=checkbox]), .lead-field select, .lead-field textarea { border-width: 2px; font-size: 1rem; }
.lead-field input:focus-visible, .lead-field select:focus-visible, .lead-field textarea:focus-visible { outline: 3px solid var(--walnut); outline-offset: 1px; }
.lead-tile-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.lead-tile { border-width: 2px; background: var(--lead-field-bg); }
.lead-tile:hover { border-color: var(--walnut); }
.lead-tile-grid input:checked + .lead-tile { background: var(--walnut); color: var(--bone); border-color: var(--walnut); box-shadow: none; /* taste-skill-ignore: removes lead.css inset ring */ }
.lead-tile-grid input:checked + .lead-tile .lead-tile-hint { color: var(--bone-muted); }
.lead-tile-grid input:focus-visible + .lead-tile { outline: 3px solid var(--walnut); outline-offset: 2px; }
.lead-tile-hint { color: var(--ink-muted); font-size: .85rem; }
.lead-btn { border-radius: 0; min-height: 52px; border-width: 2px; border-color: var(--walnut); }
.lead-back { background: transparent; color: var(--ink); }
.lead-next, .lead-submit { background: var(--walnut); color: var(--bone); }
.lead-next:hover, .lead-submit:hover { background: #3e3120; }
.lead-wa-btn { border-color: var(--lead-wa); }
.lead-done-title { font-size: var(--step-title); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .9; }
.form-note { font-size: var(--step-small); color: var(--ink-muted); margin: 20px 0 0; }

/* ---------- Footer: the name, then the back of the card ---------- */
.site-footer { background: var(--walnut); color: var(--bone); padding: var(--section) var(--m) 32px; }
.footer-name { font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .82; letter-spacing: -0.01em;
  font-size: clamp(2.75rem, 9.2vw, 12rem); margin: 0 0 clamp(40px, 6vw, 96px); text-wrap: balance; }
.card { position: relative; margin: calc(var(--sc) / 2) auto 0; max-width: 1240px; background: var(--paper); color: var(--ink);
  padding: clamp(48px, 5vw, 80px) clamp(20px, 4vw, 64px) 28px; --sc: 52px; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--sc) / -2 + 1px); height: calc(var(--sc) / 2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50' preserveAspectRatio='none'%3E%3Ccircle cx='50' cy='50' r='50' fill='%23efebe3'/%3E%3C/svg%3E") 50% 100% / var(--sc) 100% repeat-x; }
@media (min-width: 900px) { .card { --sc: 100px; } }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(24px, 5vw, 80px); }
.card-sign h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); margin-bottom: 20px; }
.card-sign p { max-width: 46ch; font-size: 1rem; }
.card-sign .btn { margin: 8px 12px 0 0; }
.card-addr { position: relative; padding-top: 4px; }
.stamp { position: absolute; right: 0; top: -12px; width: 92px; background: var(--paper); padding: 6px; border: 2px dashed var(--ink-muted); }
.stamp img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.card-addr h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card-addr ul { list-style: none; margin-bottom: 28px; max-width: calc(100% - 110px); }
.card-addr li { padding-block: 5px; }
.card-addr a { text-decoration: none; font-size: 1.0625rem; }
.card-addr a:hover { text-decoration: underline; }
.imprint { grid-column: 1 / -1; text-align: center; font-size: var(--step-small); color: var(--ink-muted); margin: 8px 0 0; }
@media (max-width: 899px) {
  .card-grid { grid-template-columns: 1fr; }
  .stamp { width: 68px; top: -8px; }
  .card-sign .btn { width: 100%; margin-right: 0; }
}

/* ---------- Motion layer ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rise.is-in { opacity: 1; transform: none; }
  .pano-img img, .page-hero-photo img { animation: slow-drift 18s ease-in-out infinite alternate; }
}
@keyframes slow-drift { from { transform: scale(1); } to { transform: scale(1.05); } }
.pano-img, .page-hero-photo { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
}

/* 404 and short pages */
.short { min-height: 60svh; display: flex; flex-direction: column; justify-content: center; }
