/* Mandelkow Flooring — one hand-written stylesheet. "The floor beneath a family": warm, grounded, editorial.
   Palette and type from the build brief; the plank is the one motif. No framework. */

/* ---------- fonts ---------- */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/Fraunces-normal-300to900.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/Fraunces-italic-300to900.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-normal-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-italic-var.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --espresso: #2b1606; --walnut: #361b00; --saddle: #663300; --caramel: #a0622a; --honey: #c9955a;
  --sand: #e9dcc6; --cream: #f6f1ea; --paper: #fbf8f3; --ink: #241a12; --muted: #6e5b48;
  --rule: rgba(54, 27, 0, .12); --rule-strong: rgba(54, 27, 0, .22); --rule-light: rgba(246, 241, 234, .16);
  --error: #9b3a1b; --focus: #a0622a;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px; --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(54, 27, 0, .05), 0 14px 36px -16px rgba(54, 27, 0, .28);
  --shadow-lift: 0 2px 4px rgba(54, 27, 0, .06), 0 22px 44px -18px rgba(54, 27, 0, .34);
  --container: 1200px; --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 88px;
  --t: 500ms cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--saddle); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--walnut); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--walnut); color: var(--cream); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display, .display-2, .h1, .h2, .h3, .h4 { font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "SOFT" 40; color: var(--walnut); letter-spacing: -.01em; text-wrap: balance; }
.display { font-size: clamp(2.75rem, 1.5rem + 4.6vw, 4.6rem); line-height: 1.02; font-weight: 500; }
.display-2 { font-size: clamp(2.5rem, 1.4rem + 3.9vw, 4rem); line-height: 1.04; font-weight: 500; }
.h1 { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 3.75rem); line-height: 1.05; font-weight: 500; }
.h2 { font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.75rem); line-height: 1.12; font-weight: 500; }
.h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); line-height: 1.2; font-weight: 500; }
.h4 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.25; font-weight: 550; }
.display em, .display-2 em, .h1 em, .h2 em, .statement-text em { font-style: italic; font-weight: 450; font-variation-settings: "SOFT" 100; }
.label { font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--saddle); margin-bottom: 14px; }
.label-light { color: var(--honey); }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
p + p { margin-top: 1em; }
.prose p { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.h2 + .lede, .h1 + .lede { margin-top: 16px; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 720px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split-reverse > .frame { order: 2; }
.split-text .h2 { margin-bottom: 18px; }
.split-text p + p { margin-top: 1em; }
.split-text .hours { margin: 22px 0 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- motif: plank stripe, seal, frames ---------- */
.stripe { height: 6px; background: linear-gradient(90deg, var(--caramel) 0 34%, var(--honey) 34% 67%, var(--walnut) 67%); }
.plank-mark { display: block; width: 44px; height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--caramel) 0 40%, var(--honey) 40% 75%, var(--walnut) 75%); margin-bottom: 18px; }
.seal { display: inline-grid; place-items: center; align-content: center; width: 70px; height: 70px; border-radius: 50%; border: 1px solid currentColor; color: var(--saddle); font-family: var(--display); line-height: 1; flex: none; }
.seal-top { font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.seal-year { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.seal-cream { color: var(--cream); }
.seal-honey { color: var(--honey); }
.seal-saddle { color: var(--saddle); }
.frame { position: relative; border-radius: var(--radius); }
.frame picture { height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.frame-offset::before { content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); background: var(--sand); border-radius: var(--radius); z-index: 0; }
.frame-offset img { position: relative; z-index: 1; }
.frame-dark img { box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: var(--radius); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--saddle); color: var(--cream); border-color: var(--saddle); }
.btn-primary:hover { background: var(--walnut); border-color: var(--walnut); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--saddle); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--saddle); color: var(--walnut); }
.btn-light { background: var(--cream); color: var(--walnut); border-color: var(--cream); }
.btn-light:hover { background: #fff; color: var(--walnut); }
.btn-ghost-light { background: rgba(246, 241, 234, .06); color: var(--cream); border-color: rgba(246, 241, 234, .45); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(246, 241, 234, .12); color: var(--cream); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.arrow-link { font-weight: 600; text-decoration: none; color: var(--saddle); }
.arrow-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); transition: background-color .25s, box-shadow .25s; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); opacity: 0; transition: opacity .25s; }
.site-header.is-compact { background: rgba(246, 241, 234, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.site-header.is-compact::after { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .25s; }
.is-compact .header-inner { min-height: 68px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 210px; height: auto; transition: width .25s; }
.is-compact .brand img { width: 176px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: inline-block; padding: 10px 12px; font-weight: 500; font-size: 15px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--saddle); }
.nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.sub-toggle { display: inline-grid; place-items: center; width: 24px; height: 32px; margin-left: -8px; color: var(--muted); border-radius: var(--radius-sm); }
.sub-toggle svg { transition: transform .2s; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.sub li a { display: block; padding: 9px 12px; font-size: 14.5px; }
.sub li:last-child a { border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 12px; color: var(--muted); }
.has-sub:hover .sub, html:not(.js) .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.nav-extra { display: flex; align-items: center; }
@media (min-width: 1024px) { .site-nav { display: flex; align-items: center; gap: 14px; } }
.nav-phone { padding: 11px 16px; }
.nav-hours { display: none; }
.menu-btn { display: none; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 600; font-size: 15px; border-radius: var(--radius-sm); color: var(--walnut); }
.menu-bars { display: grid; gap: 4px; width: 20px; }
.menu-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .menu-btn { display: inline-flex; }
  .brand img { width: 184px; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); overflow-y: auto; padding: 16px var(--gutter) 40px; display: none; flex-direction: column; border-top: 1px solid var(--rule); }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--rule); }
  .nav-list a { padding: 16px 0; font-family: var(--display); font-size: 1.6rem; font-weight: 500; color: var(--walnut); }
  .nav-list a[aria-current="page"] { text-decoration: none; color: var(--saddle); }
  .sub-toggle { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .sub li a, .sub li:last-child a { font-family: var(--sans); font-size: 15.5px; font-weight: 500; padding: 8px 0; border: 0; margin: 0; color: var(--ink); }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 24px; margin-top: 28px; }
  .nav-phone { justify-content: center; padding: 16px; font-size: 17px; background: var(--saddle); color: var(--cream); border-color: var(--saddle); }
  .nav-hours { display: block; }
  .nav-address { color: var(--muted); margin-top: 12px; font-size: 15px; }
  .nav-hours .label { margin-bottom: 8px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand img { width: 160px; } .menu-text { display: none; } }

/* ---------- hours ---------- */
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding: 8px 0; max-width: 360px; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours div:last-child { border-bottom: 0; }
.hours div:last-child dt { color: var(--muted); font-weight: 400; font-style: italic; }
.hours-compact div { padding: 6px 0; }
.hours-big { margin: 24px 0 18px; }
.hours-big div { max-width: 440px; padding: 12px 0; }
.hours-big dt { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; color: inherit; }
.hours-big dd { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; color: inherit; }
.hours-big div:last-child dt { font-size: 1.05rem; font-family: var(--sans); }
.band-dark .hours div { border-color: var(--rule-light); }
.band-dark .hours dd, .band-dark .hours div:last-child dt { color: var(--sand); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; color: var(--cream); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; animation: kenburns 15s ease-out both; transform-origin: 55% 70%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43, 22, 6, .82) 0%, rgba(43, 22, 6, .55) 40%, rgba(43, 22, 6, .12) 100%), linear-gradient(0deg, rgba(43, 22, 6, .72) 0%, rgba(43, 22, 6, .15) 50%, rgba(43, 22, 6, .25) 100%); }
.hero-content { padding: clamp(110px, 14vh, 150px) 0 clamp(56px, 8vh, 88px); max-width: 760px; margin-inline: auto; width: min(100% - 2 * var(--gutter), var(--container)); }
.hero-content { margin-left: max(var(--gutter), (100% - var(--container)) / 2); }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--sand); margin-bottom: 28px; }
.hero .display { color: var(--cream); max-width: 11ch; }
.hero .display em { color: var(--honey); }
.hero-sub { margin-top: 22px; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; max-width: 40ch; color: rgba(246, 241, 234, .9); text-wrap: pretty; }

/* ---------- statement ---------- */
.statement { padding-block: clamp(56px, 8vw, 104px); }
.statement-text { font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "SOFT" 40; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); line-height: 1.18; font-weight: 450; color: var(--walnut); max-width: 24ch; margin-inline: auto; text-align: center; text-wrap: balance; }
.statement-text em { color: var(--saddle); }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform var(--t), box-shadow var(--t), border-color .25s; container-type: inline-size; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--rule-strong); color: var(--ink); }
.card-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.card-media picture { height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.card-body .h4, .card-body .h3 { color: var(--walnut); }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-body .arrow-link { margin-top: 4px; font-size: 14.5px; }
/* Featured (Tile & Custom Showers) and wide (Carpet Cleaning) cards lay the photo beside the text. */
@media (min-width: 600px) {
  .card-featured, .card-wide { flex-direction: row; }
  /* The photo fills whatever height the text (or the grid row) gives the card; it never sets the height itself. */
  .card-featured .card-media, .card-wide .card-media { aspect-ratio: auto; position: relative; min-height: 0; }
  .card-featured .card-media img, .card-wide .card-media img { position: absolute; inset: 0; }
  .card-featured .card-media { flex: 0 0 50%; }
  .card-wide .card-media { flex: 0 0 38%; }
  .card-featured .card-body, .card-wide .card-body { align-content: center; padding: 32px 36px; }
  .card-featured .card-body p { font-size: 1.05rem; }
  .card-featured { min-height: 420px; }
  .card-wide { min-height: 300px; }
  .card-wide .card-body { max-width: 62ch; }
}
@media (min-width: 900px) {
  .card-featured { grid-column: span 2; }
  .card-wide { grid-column: span 3; }
}
@media (max-width: 899px) { .card-featured, .card-wide { grid-column: 1 / -1; } }
@media (max-width: 599px) { .card-featured .card-media { aspect-ratio: 4 / 5; } .card-wide .card-media { aspect-ratio: 4 / 3; } }

/* ---------- promise / feature items ---------- */
.promise-item, .feature { padding: 28px 28px 30px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.section-sand .promise-item, .section-sand .feature { background: rgba(251, 248, 243, .7); border-color: rgba(54, 27, 0, .08); }
.promise-item .h4, .feature .h4 { margin-bottom: 10px; }
.promise-item p, .feature p { color: var(--muted); }
.feature-grid { gap: 20px; }

/* ---------- plank grid (galleries) ---------- */
/* The project photos are almost all portrait 3:4. Tiles are 4:5 (`--tile` = height/width), `cols` per row on
   desktop and two per row below 900px. Rows are sized from the container width so wide (2 cols) and tall
   (2 cols × 2 rows, ~4:5) tiles pack cleanly with dense flow; without container units the aspect-ratios below
   do the same job for single-row tiles. The frame crops (object-position from the slot); the lightbox shows
   the whole photo. */
.plank-wrap { container-type: inline-size; }
.plank-grid { --cols: var(--cols-lg, 4); --gap: 14px; --tile: 1.25; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--gap); }
.plank-grid-square { --tile: 1; }
.plank { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 1 / var(--tile); }
.plank-wide { grid-column: span 2; aspect-ratio: 2 / var(--tile); }
.plank-tall { grid-column: span 2; grid-row: span 2; aspect-ratio: 2 / calc(2 * var(--tile)); }
@supports (height: 1cqw) {
  .plank-grid { grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * var(--tile)); }
  .plank, .plank-wide, .plank-tall { aspect-ratio: auto; }
}
.plank picture, .plank img { width: 100%; height: 100%; object-fit: cover; }
.plank-btn { display: block; width: 100%; height: 100%; }
.plank img { transition: transform 1.2s ease; }
.plank:hover img { transform: scale(1.03); }
.plank-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 13px; font-weight: 500; color: var(--cream); background: linear-gradient(0deg, rgba(43, 22, 6, .72), rgba(43, 22, 6, 0)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.plank:hover .plank-cap, .plank:focus-within .plank-cap { opacity: 1; }
.plank[hidden] { display: none; }
.placeholder-note { margin-top: 10px; font-size: 14px; color: var(--muted); font-style: italic; }
.gallery-empty { margin-top: 24px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule-strong); font-weight: 500; font-size: 14.5px; color: var(--ink); background: transparent; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--saddle); }
.chip[aria-pressed="true"] { background: var(--walnut); color: var(--cream); border-color: var(--walnut); }

/* ---------- testimonials ---------- */
.quote-card { padding: 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); font-family: var(--display); font-size: 1.15rem; line-height: 1.5; color: var(--walnut); }
.quote-card footer { margin-top: 16px; font-family: var(--sans); font-size: 14px; color: var(--muted); }

/* ---------- dark band (showroom) ---------- */
.band-dark { background: var(--espresso); color: var(--cream); padding-block: var(--section); }
.band-dark .h2, .band-dark .h3 { color: var(--cream); }
.band-dark .label { color: var(--honey); }
.band-dark .lede { color: var(--sand); }
.band-dark a { color: var(--honey); }
.band-dark a:hover { color: var(--cream); }
.band-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band-address { color: var(--sand); margin-top: 8px; }
.band-grid .frame { aspect-ratio: 4 / 5; max-width: 500px; margin-left: auto; }
.frame-portrait { aspect-ratio: 4 / 5; max-width: 520px; }
.media-cap { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- brands ---------- */
.brands { padding-block: 36px; }
.brands-line { display: flex; align-items: center; gap: 20px; color: var(--muted); font-weight: 500; font-size: 15px; letter-spacing: .02em; }
.brands-line::before, .brands-line::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--sand); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 640px; }
.cta-inner .lede { margin-top: 12px; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--espresso); color: var(--sand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: clamp(56px, 7vw, 88px) 0 48px; }
.footer-brand img { width: 200px; height: auto; }
.footer-tag { margin: 22px 0 24px; max-width: 34ch; color: rgba(233, 220, 198, .85); line-height: 1.55; }
.footer-address { line-height: 1.6; }
.footer-link, .footer-list a { color: var(--sand); text-decoration: none; }
.footer-link:hover, .footer-list a:hover { color: var(--honey); text-decoration: underline; }
.footer-link { display: inline-block; margin-top: 6px; font-weight: 500; }
.hours-footer { margin-top: 20px; }
.hours-footer div { border-color: var(--rule-light); max-width: 240px; }
.hours-footer dd, .hours-footer div:last-child dt { color: rgba(233, 220, 198, .75); }
.footer-list { display: grid; gap: 10px; }
.footer-sub { padding-left: 14px; font-size: 14.5px; }
.footer-sub a { color: rgba(233, 220, 198, .78); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 32px; border-top: 1px solid var(--rule-light); font-size: 13.5px; color: rgba(233, 220, 198, .7); }
.footer-bottom a { color: inherit; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-hero-text .lede { margin-top: 20px; }
.page-hero-media { aspect-ratio: 5 / 4; }
.page-hero-media img { height: 100%; }
.page-hero-media-portrait { aspect-ratio: 4 / 5; max-width: 540px; margin-left: auto; }
.page-hero-media-wide { aspect-ratio: 3 / 2; }
.page-hero-figure .media-cap { text-align: right; }
.page-hero-plain .lede { margin-top: 18px; }
.page-hero-plain .h1 { max-width: 16ch; }

/* ---------- type pages ---------- */
.type-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.type-main .h2 { margin-bottom: 20px; }
.type-main p { max-width: 62ch; font-size: 1.08rem; }
.type-aside { display: grid; gap: 18px; }
.aside-card { padding: 24px 26px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.aside-card-sand { background: var(--sand); border-color: transparent; }
.aside-card .label { margin-bottom: 12px; }
.aside-card p + p { margin-top: .6em; }
.check-list { display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 5px; border-radius: 2px; background: linear-gradient(90deg, var(--caramel), var(--honey)); }
.check-list-2 { grid-template-columns: 1fr 1fr; margin: 8px 0 20px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 18px 0; font-family: var(--display); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 500; color: var(--walnut); }
.faq-q button:hover { color: var(--saddle); }
.faq-icon { flex: none; color: var(--caramel); transition: transform .25s; }
.faq-q button[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.js .faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease; }
.js .faq-a[data-closed] { grid-template-rows: 0fr; }
.faq-a-inner { min-height: 0; }
.faq-a p { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }
.split .faq { margin-top: 8px; }

/* ---------- how it works (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { padding: 24px 22px 26px; background: rgba(251, 248, 243, .7); border: 1px solid rgba(54, 27, 0, .08); border-radius: var(--radius); }
.step .h4 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step-plank { display: block; height: 8px; width: 44px; border-radius: 2px; margin-bottom: 18px; background: var(--caramel); }
.step:nth-child(2) .step-plank { background: var(--honey); width: 56px; }
.step:nth-child(3) .step-plank { background: var(--walnut); width: 36px; }
.step:nth-child(4) .step-plank { background: var(--honey); width: 50px; }
.step:nth-child(5) .step-plank { background: var(--caramel); width: 64px; }

/* ---------- our story ---------- */
.story-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); }
.story-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-hero-text .lede { margin-top: 22px; }
.story-caption { margin-top: 28px; font-size: 14px; color: var(--muted); }
.story-hero-media { aspect-ratio: 4 / 5; max-width: 520px; }
.story-hero-media img { height: 100%; }
.timeline-section { padding-top: clamp(48px, 6vw, 80px); }
.timeline { display: grid; }
.chapter { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--rule); }
.chapter:last-child { border-bottom: 1px solid var(--rule); }
.chapter-year .year { display: block; font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "SOFT" 60; font-size: clamp(3rem, 2.2rem + 3vw, 4.75rem); line-height: 1; font-weight: 500; color: var(--caramel); letter-spacing: -.02em; }
.chapter:nth-child(2) .year { color: var(--honey); }
.chapter:nth-child(3) .year { color: var(--saddle); }
.chapter:nth-child(4) .year { color: var(--walnut); }
.chapter-body .h3 { margin-bottom: 12px; }
.chapter-body p { max-width: 62ch; font-size: 1.08rem; }
.atmosphere { position: relative; max-height: 520px; overflow: hidden; }
.atmosphere img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.atmosphere-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px var(--gutter) 18px; color: var(--cream); font-size: 14px; background: linear-gradient(0deg, rgba(43, 22, 6, .6), rgba(43, 22, 6, 0)); text-align: center; }
.pull-wrap { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 900px; }
.pull p { font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "SOFT" 40; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); line-height: 1.38; font-weight: 450; color: var(--walnut); text-wrap: pretty; }
.pull footer { margin-top: 20px; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--saddle); }

/* ---------- showroom ---------- */
.showroom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hours-card { padding: clamp(28px, 4vw, 44px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.hours-card .hours-big dd, .hours-card .hours-big dt { color: var(--walnut); }
.hours-card .hours-big div:last-child dt { color: var(--muted); }
.hours-foot { color: var(--muted); margin-bottom: 22px; max-width: 42ch; }
.big-address { font-family: var(--display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.3; color: var(--walnut); margin: 18px 0 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.contact-form .h3 { margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label, .radio-field legend { font-weight: 600; font-size: 14.5px; color: var(--walnut); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saddle); box-shadow: 0 0 0 3px rgba(102, 51, 0, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236e5b48' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.hint { font-size: 13.5px; color: var(--muted); }
.field-error { font-size: 13.5px; color: var(--error); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.radio-field { padding: 0; border: 0; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.radio { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--rule-strong); border-radius: 999px; cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s; }
.radio:has(input:checked) { background: var(--sand); border-color: var(--saddle); }
.radio input { accent-color: var(--saddle); margin: 0; }
.form-status { color: var(--error); font-weight: 500; margin-bottom: 12px; }
.form-status:empty { display: none; }
.contact-form .hint:last-child { margin-top: 14px; }
.form-success { padding: 8px 0; }
.form-success .h3 { margin-bottom: 10px; }
.contact-aside { display: grid; gap: 18px; }
.contact-big { font-family: var(--display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 500; }
.contact-big a { color: var(--walnut); text-decoration: none; }
.contact-big a:hover { color: var(--saddle); }
.contact-aside p + p { margin-top: .5em; }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; color: var(--cream); }
.lightbox::backdrop { background: rgba(36, 26, 18, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lb-figure { display: grid; justify-items: center; gap: 14px; max-width: min(92vw, 1400px); }
.lb-figure img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.lb-figure figcaption { font-size: 14px; color: var(--sand); }
.lb-close, .lb-nav { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(246, 241, 234, .1); color: var(--cream); transition: background-color .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(246, 241, 234, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: 50vh; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-reverse, .band-grid, .page-hero-grid, .story-hero-grid, .type-grid, .faq-wrap, .showroom-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse > .frame { order: 0; }
  .page-hero-grid .page-hero-media { max-width: 640px; margin-left: 0; }
  .page-hero-figure .media-cap { text-align: left; }
  .band-grid .frame, .frame-portrait { margin-left: 0; }
  .story-hero-media { max-width: 520px; }
  .hero { min-height: min(78vh, 720px); }
  .plank-grid { --cols: 2; --gap: 10px; }
  .chapter { grid-template-columns: 1fr; gap: 14px; }
  .pull-wrap { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 599px) {
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .plank-cap { opacity: 1; padding: 22px 10px 9px; font-size: 12px; }
  .cta-actions, .btn-row { width: 100%; }
  .cta-actions .btn, .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 auto; }
  .check-list-2 { grid-template-columns: 1fr; }
  .hero-content { padding-top: 96px; }
  .hero .display { max-width: none; }
  .section-head-row .btn { width: 100%; }
  .frame-offset::before { transform: translate(12px, 12px); }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
}
