/* Lintel & Lime: SAMPLE site by Godelic. Fictional business.
   Palette: Limewash #F3F1EC · Graphite #1C1F22 · Ochre #E0A526 (Graphite text only) · Slate #3D4A55 · Plaster #E4DFD5 · Pencil #5C6670
   Fonts: Bricolage Grotesque (headings) + Public Sans (body), self-hosted, OFL */
@font-face { font-family: "Bricolage Grotesque"; src: url("../../assets/fonts/bricolage-grotesque-var.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../../assets/fonts/public-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --bg: #F3F1EC; --fg: #1C1F22; --pri: #E0A526; --pri-fg: #1C1F22; --link: #1C1F22; --focus: #1C1F22;
  --panel: #E4DFD5; --line: #CFC8B9; --muted: #5C6670; --sec: #3D4A55;
  --foot-bg: #3D4A55; --foot-fg: #FFFFFF; --foot-muted: #D5DBE0; --foot-focus: #E0A526;
  --f-head: "Bricolage Grotesque", system-ui, sans-serif; --f-body: "Public Sans", system-ui, sans-serif;
  --r-btn: 4px; --r-card: 4px; --r-sim: 6px; --fs-body: 17px;
  --s-bg: #FFFFFF; --s-frame: #FFFFFF; --s-fg: #1C1F22; --s-acc: #E0A526; --s-acc-fg: #1C1F22; --s-line: #E4DFD5; --s-line-strong: #5C6670; --s-soft: #4D5761; --s-pill-bg: #1C1F22; --s-pill-fg: #FFFFFF; --s-radius: 4px;
}
/* ---- Godelic demo kit (shared by the four newer samples): ribbon, footer note, mobile bar, sim frame. Colours come from the :root variables of each demo. ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding: 40px 0 76px; overflow-x: hidden; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: var(--fs-body, 17px); line-height: 1.6; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 .5em; }
a { color: var(--link, var(--pri)); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus, var(--pri)); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tiny { font-size: 14px; line-height: 1.45; margin: 10px 0 0; color: var(--muted); max-width: 34em; }
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: block; }
html:not(.js) .sim { display: none; }
.js-only { display: none; }
.js .js-only { display: block; }

/* Ribbon, skip link (identical on every sample) */
.gd-ribbon { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 40px; display: flex; align-items: center; justify-content: center; background: #0A0714; color: #EEEAFB; border-bottom: 1px solid #2E2450; box-shadow: 0 1px 12px rgba(112, 48, 240, .35); font: 600 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.gd-ribbon a { display: inline-flex; align-items: center; color: #EEEAFB; padding: 8px 12px; text-decoration: underline; text-decoration-color: #9B6BFF; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gd-ribbon a:hover { color: #C9B8FF; }
.gd-ribbon a:focus-visible { outline: 3px solid #C9B8FF; outline-offset: -3px; }
.gd-ribbon picture { display: block; flex: none; margin-right: 8px; }
.gd-ribbon .gd-mark { display: block; width: auto; height: 20px; max-width: none; }
@media (max-width: 380px) { .gd-ribbon { font-size: 13px; } .gd-ribbon a { padding: 8px 6px; } .gd-ribbon .gd-mark { height: 16px; } }
.gd-skip { position: absolute; left: 12px; top: -80px; z-index: 1100; background: #0A0714; color: #EEEAFB; padding: 10px 14px; border-radius: 8px; font: 600 15px system-ui, sans-serif; }
.gd-skip:focus { top: 48px; outline: 3px solid #C9B8FF; outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 12px 24px; border-radius: var(--r-btn, 12px); border: 2px solid var(--pri); background: var(--pri); color: var(--pri-fg); font: 700 17px/1.2 var(--f-btn, var(--f-body)); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-alt { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } }
.link-ig { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }

/* Tags and map placeholder */
.map-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px; padding: 16px; border-radius: var(--r-card, 14px); background: var(--panel); border: 1px dashed var(--muted); color: var(--fg); text-align: center; font-weight: 600; }
.map-ph svg { width: 40px; height: 40px; }

/* Footer, disclaimer, credits */
.foot { background: var(--foot-bg); color: var(--foot-fg); padding: 40px 0 32px; }
.foot .brand { color: var(--foot-fg); font-size: 26px; display: block; margin: 0 0 6px; }
.foot a { color: var(--foot-fg); }
.foot :focus-visible { outline-color: var(--foot-focus, #fff); }
.gd-credits { margin: 12px 0 0; font-size: 14px; }
.gd-credits a { display: inline-block; padding: 8px 0; }
.gd-sample-note { border-top: 1px dashed currentColor; margin-top: 26px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.gd-sample-note p { margin: 0; }
.gd-disclaimer { flex: 1 1 100%; max-width: 46em; font-size: 13px; line-height: 1.5; color: var(--foot-muted); }
.gd-cta { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: #6D3FE0; color: #FFFFFF !important; font: 600 15px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; border: 1.5px solid #6D3FE0; box-shadow: 0 0 18px rgba(112, 48, 240, .4); }
.gd-cta:hover { background: #5A2FC8; border-color: #5A2FC8; }
.gd-cta:focus-visible { outline: 3px solid #C9B8FF; outline-offset: 3px; }
.own-photos { margin: 14px 0 0; font-size: 15px; color: var(--muted); }

/* Mobile action bar */
.m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
.m-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; border: 2px solid var(--fg); color: var(--fg); text-decoration: none; font-weight: 700; font-size: 15px; text-align: center; line-height: 1.15; padding: 4px 6px; }
.m-bar a.go { background: var(--pri); border-color: var(--pri); color: var(--pri-fg); }
@media (min-width: 768px) { .m-bar { display: none; } body { padding-bottom: 0; } }

/* Reveal + lightbox */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.lb { display: block; position: relative; overflow: hidden; border-radius: inherit; height: 100%; }
.lb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lb:hover img { transform: scale(1.04); }
.lbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; color: #fff; }
.lbox::backdrop { background: rgba(8, 6, 12, .9); }
.lbox figure { margin: 0; }
.lbox img { display: block; max-width: min(90vw, 1100px); max-height: 78vh; width: auto; height: auto; border-radius: 10px; }
.lbox figcaption { text-align: center; font: 600 14px/1.4 system-ui, sans-serif; padding: 10px 0 0; }
.lb-close, .lb-nav { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.6); color: #fff; font: 400 30px/1 system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 4px; }
.lb-close { top: 52px; right: 12px; }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Simulation frame */
.sim { position: relative; background: var(--s-frame, #fff); color: var(--s-fg); border: 2px solid var(--s-line-strong); border-radius: var(--r-sim, 20px); padding: 10px; font-size: 16px; line-height: 1.45; text-align: left; box-shadow: 0 18px 44px rgba(0, 0, 0, .14); }
.sim-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 4px 6px 10px; }
.sim-pill { margin: 0; background: var(--s-pill-bg); color: var(--s-pill-fg); font: 700 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; text-align: center; }
.sim-addon { margin: 0; font: 600 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--s-soft); border: 1.5px solid var(--s-soft); border-radius: 999px; padding: 4px 10px; text-align: center; }
.sim-screen { background: var(--s-bg); border-radius: calc(var(--r-sim, 20px) - 6px); padding: 18px 14px 20px; }
.sim-screen h3 { font-size: 22px; margin: 0 0 12px; }
.sim-screen h3:focus { outline: none; }
.sim-screen h3:focus-visible { outline: 2px dashed var(--s-acc); outline-offset: 4px; }
.sim-screen p { margin: 0 0 10px; }
.sim :focus-visible { outline: 3px solid var(--s-focus, var(--s-acc)); outline-offset: 2px; }
.sim-step { font-size: 14px; color: var(--s-soft); margin: 0 0 6px !important; font-weight: 600; }
.sim-btn { display: flex; width: 100%; align-items: center; justify-content: center; text-align: center; min-height: 48px; margin: 12px 0 0; padding: 10px 16px; border-radius: var(--s-radius, 12px); border: 2px solid var(--s-acc); background: var(--s-acc); color: var(--s-acc-fg); font-weight: 700; font-size: 16px; line-height: 1.2; font-family: inherit; cursor: pointer; }
.sim-btn:hover { filter: brightness(1.07); }
.sim-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.sim-link { display: block; margin: 10px auto 0; min-height: 48px; padding: 8px 12px; background: none; border: 0; color: var(--s-fg); font-weight: 600; font-size: 15px; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sim-cta { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; margin: 14px 0 0; padding: 10px 14px; border-radius: 999px; background: #6D3FE0; color: #fff; font: 700 15px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; }
.sim-cta:hover { background: #5A2FC8; }
.sim-disclaimer { font-size: 14px; color: var(--s-soft); border-top: 1px dashed var(--s-line-strong); padding-top: 10px; margin-top: 14px !important; }
.sim-label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.sim-input, .sim-select { width: 100%; min-height: 48px; font: inherit; font-size: 16px; color: var(--s-fg); background: #fff; border: 2px solid var(--s-line-strong); border-radius: 10px; padding: 8px 12px; }
.sim-hint { font-size: 14px; color: var(--s-soft); margin-top: 4px !important; }
.sim-note { border: 2px solid var(--s-line-strong); border-radius: 10px; padding: 10px 12px; margin: 12px 0 0 !important; font-weight: 600; }
.sim-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 17px; border-top: 2px solid var(--s-line); padding-top: 10px; margin-top: 12px !important; }
.sim-total strong { font-size: 22px; }
.sim-choices { display: grid; gap: 8px; margin: 0 0 4px; padding: 0; border: 0; }
.sim-choice { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border: 2px solid var(--s-line-strong); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; }
.sim-choice input { width: 22px; height: 22px; flex: none; accent-color: var(--s-acc); }
.sim-choice:has(input:checked) { border-color: var(--s-acc); background: var(--s-line); box-shadow: inset 0 0 0 1px var(--s-acc); }
.sim-choice small { display: block; font-weight: 400; color: var(--s-soft); font-size: 14px; }
.sim-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: 6px 0 12px; }
.sim-seg button { min-height: 48px; padding: 6px 10px; border: 2px solid var(--s-line-strong); background: #fff; color: var(--s-fg); border-radius: 10px; font-weight: 700; font-size: 15px; line-height: 1.2; font-family: inherit; cursor: pointer; }
.sim-seg button[aria-pressed="true"] { background: var(--s-acc); border-color: var(--s-acc); color: var(--s-acc-fg); }
.sim-stepper { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.sim-stepper button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--s-line-strong); background: #fff; color: var(--s-fg); font: 700 22px/1 system-ui, sans-serif; cursor: pointer; }
.sim-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.sim-stepper output { min-width: 2ch; text-align: center; font-weight: 700; font-size: 20px; }
.sim-lines { list-style: none; margin: 0 0 4px; padding: 0; }
.sim-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--s-line); font-size: 15px; }
.sim-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sim-ticket { margin: 10px 0; padding: 12px 14px; border: 2px dashed var(--s-line-strong); border-radius: 12px; background: #fff; }
.sim-ticket dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 15px; }
.sim-ticket dt { color: var(--s-soft); font-weight: 600; }
.sim-ticket dd { margin: 0; font-weight: 700; }
.sim-err { color: var(--s-err, #9B1C1C); font-weight: 700; margin: 8px 0 0 !important; font-size: 15px; }
.sim-err:empty { display: none; }
.sim-day { position: relative; min-height: 44px; padding: 0; border-radius: 8px; border: 2px solid transparent; background: #fff; color: var(--s-fg); font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer; }
.sim-day:disabled, .sim-slot:disabled { cursor: not-allowed; color: var(--s-soft); text-decoration: line-through; background: repeating-linear-gradient(45deg, transparent 0 4px, var(--s-line) 4px 6px); }
.sim-day[aria-pressed="true"], .sim-slot[aria-pressed="true"] { background: var(--s-acc); color: var(--s-acc-fg); border-color: var(--s-acc); text-decoration: none; }
.sim-day.in-range { background: var(--s-line); }
.sim-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--s-soft); margin: 0 0 8px; padding: 0; list-style: none; }
.sim-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--s-line-strong); vertical-align: -2px; margin-right: 5px; background: #fff; }
.sim-legend i.k-taken { background: repeating-linear-gradient(45deg, transparent 0 3px, var(--s-line-strong) 3px 4px); }
.sim-legend i.k-sel { background: var(--s-acc); border-color: var(--s-acc); }
@media (min-width: 640px) { .sim-screen { padding: 22px 22px 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } *, *::before, *::after { animation: none !important; transition: none !important; } .js .rv { opacity: 1; transform: none; } }


/* ---- Lintel & Lime v2: a set of drawings (sheets A1–A5, title block, floor plan, programme) ---- */
[hidden] { display: none !important; }
html { scroll-padding-top: 164px; }
body { padding-bottom: 84px; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 12vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
h2 { font-size: clamp(27px, 6vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; margin: 18px 0 6px; }
.sec { padding: 56px 0; position: relative; }
.sec-grid, .hero { background-color: var(--bg); background-image: linear-gradient(rgba(28, 31, 34, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 31, 34, .05) 1px, transparent 1px); background-size: 24px 24px; }
.sec-plaster { background: var(--panel); }
.sec + .sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--fg) 0 2px, transparent 2px 12px); opacity: .35; }
.lead { max-width: 36em; }
.top .brand { font-weight: 800; font-size: 21px; }
.btn-s { min-height: 48px; padding: 8px 16px; font-size: 15px; }
.top-act { display: none; }
@media (min-width: 768px) { .top-act { display: inline-flex; } }

/* drawn sheet number */
.sheet-t { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 13px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.sheetno { display: inline-grid; place-items: center; min-width: 46px; height: 36px; padding: 0 8px; border: 2px solid var(--fg); outline: 1px solid var(--fg); outline-offset: 3px; margin: 3px; background: #fff; color: var(--fg); font: 800 17px/1 var(--f-head); letter-spacing: .02em; }


/* ---- A1 · Hero before / after ---- */
.hero { padding: 0 0 40px; }
.hero-chips { padding-top: 14px; padding-bottom: 12px; }
.chips { flex-wrap: wrap; gap: 8px; margin: 0; }
.js .chips.js-only { display: flex; }
.chip { min-height: 48px; padding: 8px 20px; border: 2px solid var(--fg); border-radius: 4px; background: #fff; color: var(--fg); font: 700 16px/1.2 var(--f-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--pri); box-shadow: 3px 3px 0 var(--fg); }
html:not(.js) .hero-chips { display: none; }
.hero-stage { position: relative; max-width: 1440px; margin: 0 auto; }
.proj { position: relative; }
.proj[hidden] { display: none; }
.cmp { margin: 0; }
.cmp-stage { position: relative; --pos: 50%; display: grid; gap: 10px; background: var(--panel); touch-action: pan-y; }
.cmp-stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cmp-tag, .cmp-range, .cmp-handle { display: none; }
.nojs-cap { display: grid; grid-template-columns: 1fr 1fr; font-weight: 700; font-size: 14px; padding: 4px 20px 0; }
.ptags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 20px 0; }
.ptags span { border: 2px solid var(--fg); border-radius: 3px; padding: 2px 10px; font-size: 14px; font-weight: 600; background: #fff; }
.js .cmp-stage { display: block; overflow: hidden; aspect-ratio: 5 / 4; border-block: 2px solid var(--fg); cursor: ew-resize; }
.js .cmp-stage img { aspect-ratio: auto; }
.js .cmp-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.js .cmp-before img { width: 100%; height: 100%; object-fit: cover; }
.js .nojs-cap { display: none; }
.js .cmp-tag { display: block; position: absolute; top: 12px; padding: 4px 10px; background: var(--fg); color: #fff; font: 700 13px/1.2 var(--f-body); border-radius: 3px; pointer-events: none; z-index: 2; }
.js .cmp-tag-b { left: 12px; } .js .cmp-tag-a { right: 12px; }
.js .cmp-range { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; z-index: 3; }
/* the measuring-tape handle */
.js .cmp-handle { display: grid; place-items: center; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 14px; margin-left: -7px; background: repeating-linear-gradient(180deg, var(--fg) 0 2px, transparent 2px 10px), var(--pri); border-inline: 2px solid var(--fg); pointer-events: none; z-index: 2; }
.cmp-handle span { width: 54px; height: 44px; border-radius: 8px; background: var(--pri); border: 3px solid var(--fg); box-shadow: 3px 3px 0 var(--fg); display: grid; place-items: center; font: 800 16px/1 var(--f-body); white-space: nowrap; letter-spacing: -.1em; }
.cmp-range:focus-visible ~ .cmp-handle span { outline: 3px solid var(--fg); outline-offset: 4px; }
.cmp-hint { position: absolute; z-index: 4; top: 12px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 190px); margin: 0; padding: 6px 12px; background: rgba(28, 31, 34, .92); color: #fff; font: 600 13px/1.3 var(--f-body); text-align: center; border-radius: 3px; pointer-events: none; }
.js .ptags { position: absolute; z-index: 2; right: 12px; bottom: 12px; margin: 0; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.hero-wrap { position: relative; z-index: 5; }
.hero-panel { --focus: #fff; margin-top: 16px; padding: 22px 20px 26px; color: #fff; border: 2px solid var(--fg); box-shadow: 6px 6px 0 var(--fg); background-color: var(--sec); background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 24px 24px; }
.hero-panel h1 { color: #fff; margin-bottom: .25em; }
.hero-panel .sub { font-size: 18px; max-width: 28em; }
.hero-panel .tiny { color: var(--foot-muted); }
.hero-panel .sheet-t { color: #fff; }
.hero-panel .btn-alt { color: #fff; border-color: #fff; }
.hero-panel .btn:hover { filter: none; background: #fff; border-color: #fff; color: var(--fg); }
@media (min-width: 900px) {
  .hero { padding-bottom: 64px; }
  .js .cmp-stage { aspect-ratio: auto; height: clamp(420px, 44vw, 620px); }
  .hero-panel { max-width: 540px; margin-top: -150px; padding: 30px 32px 34px; }
  .cmp-hint { max-width: 320px; }
  .js .ptags { right: 112px; bottom: 20px; }
}

/* ---- A2 · Estimate ---- */
.est { display: none; gap: 24px; margin-top: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.js .est.js-only { display: grid; }
@media (min-width: 960px) { .js .est.js-only { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; } }
.plan-card, .pricebox { background: #fff; border: 2px solid var(--fg); padding: 14px; }
.plan-box { position: relative; max-width: 420px; margin: 0 auto; }
.plan { display: block; width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
.p-room { fill: rgba(224, 165, 38, .22); stroke: var(--fg); stroke-width: 4; }
.p-gap { stroke: #fff; stroke-width: 7; fill: none; }
.p-swing { stroke: var(--fg); stroke-width: 1.5; fill: none; stroke-dasharray: 3 3; }
.p-dim { stroke: var(--sec); stroke-width: 1.6; fill: none; }
.p-txt { font: 700 14px var(--f-body); fill: var(--fg); }
.p-handle { position: absolute; left: var(--hx, 35%); top: var(--hy, 35%); width: 56px; height: 56px; margin: -28px 0 0 -28px; display: grid; place-items: center; cursor: nwse-resize; touch-action: none; border-radius: 50%; }
.p-handle i { width: 26px; height: 26px; border-radius: 50%; background: var(--pri); border: 3px solid var(--fg); box-shadow: 0 0 0 4px rgba(224, 165, 38, .35); transition: transform .15s; }
.p-handle:hover i, .p-handle.drag i { transform: scale(1.25); }
.area { margin: 12px 0 4px; font: 800 24px/1.2 var(--f-head); font-variant-numeric: tabular-nums; }
.dim-ctl { display: grid; gap: 6px; margin-top: 6px; }
.dim-ctl label { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.dim-ctl output { font-variant-numeric: tabular-nums; }
.dim-ctl input[type=range] { display: block; width: 100%; height: 44px; margin: 0; accent-color: var(--fg); cursor: pointer; }
.rep-line { font-weight: 600; }
.rep-btns { display: grid; gap: 8px; }
@media (min-width: 560px) { .rep-btns { grid-template-columns: repeat(3, 1fr); } }
.rep-b { min-height: 52px; padding: 8px 12px; border: 2px solid var(--fg); background: #fff; color: var(--fg); font: 700 16px/1.2 var(--f-body); cursor: pointer; }
.rep-b[aria-pressed="true"] { background: var(--pri); box-shadow: 3px 3px 0 var(--fg); }
.ctl { margin: 0 0 18px; }
.ctl-h { margin: 0 0 8px; font: 700 13px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.jobs button { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border: 2px solid var(--fg); background: #fff; color: var(--fg); font: 700 16px/1.2 var(--f-body); text-align: left; cursor: pointer; }
.jobs button svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--fg); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.jobs button[aria-pressed="true"] { background: var(--pri); box-shadow: 3px 3px 0 var(--fg); }
.jobs .j-wide { grid-column: 1 / -1; }
@media (min-width: 960px) { .jobs { grid-template-columns: repeat(6, 1fr); } .jobs button { grid-column: span 2; flex-direction: column; justify-content: center; text-align: center; gap: 4px; } .jobs .j-wide { grid-column: 2 / span 4; flex-direction: row; } }
.fins { display: grid; gap: 8px; }
.fin { display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 64px; padding: 10px; border: 2px solid var(--fg); background: #fff; color: var(--fg); text-align: left; font: inherit; cursor: pointer; }
.fin svg { grid-row: 1 / 3; width: 84px; height: 52px; border: 1.5px solid var(--fg); }
.fin strong { font: 700 17px/1.2 var(--f-head); align-self: end; }
.fin span { font-size: 14px; line-height: 1.35; align-self: start; }
.fin[aria-pressed="true"] { background: var(--pri); box-shadow: 3px 3px 0 var(--fg); }
@media (min-width: 640px) { .fins { grid-template-columns: repeat(3, 1fr); } .fin { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 6px; } .fin svg { grid-row: auto; width: 100%; height: 56px; } .fin strong, .fin span { align-self: auto; } }
.pricebox .q-price { margin: 0 0 12px !important; font-size: clamp(24px, 6.4vw, 34px); }
.mark { position: absolute; z-index: 2; left: var(--pos, 50%); top: -4px; width: 4px; height: 24px; margin-left: -2px; background: var(--fg); transition: left .5s ease; }
.mark::after { content: ""; position: absolute; left: -5px; top: -6px; width: 14px; height: 14px; background: var(--fg); transform: rotate(45deg); }
.band { transition: left .5s ease, width .5s ease; }
.pricebox .ruler { margin-bottom: 6px; }
.r-ends { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 12px; font-size: 14px; color: var(--sec); font-variant-numeric: tabular-nums; }
.est-sum { margin: 0 0 10px; font-weight: 600; }
.pricebox .btn { width: 100%; margin-top: 14px; }
.guide-d { margin-top: 28px; background: #fff; border: 2px solid var(--fg); }
.guide-d summary { cursor: pointer; min-height: 52px; padding: 14px 16px; font-weight: 700; display: flex; align-items: center; }
.guide-d > :not(summary) { margin-inline: 16px; }
.guide-d > :last-child { margin-bottom: 14px; }
.guide { border-collapse: collapse; width: calc(100% - 32px); background: #fff; font-size: 14px; margin-top: 4px; margin-bottom: 8px; }
.guide caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.guide th, .guide td { border: 2px solid var(--fg); padding: 8px; text-align: left; }
.guide td { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .guide th, .guide td { padding: 6px 4px; font-size: 13px; } }
.q-price { font: 800 clamp(26px, 7vw, 40px)/1.1 var(--f-head); font-variant-numeric: tabular-nums; margin: 4px 0 12px !important; }
.ruler { position: relative; height: 30px; margin: 0 0 14px; background: repeating-linear-gradient(90deg, var(--fg) 0 2px, transparent 2px 20px) bottom / 100% 12px no-repeat; border-bottom: 2px solid var(--fg); }
.band { position: absolute; left: var(--l, 0%); width: var(--w, 10%); top: 2px; height: 14px; background: var(--pri); border: 2px solid var(--fg); border-radius: 2px; animation: grow .4s ease-out both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- A3 · Programme ---- */
.g-for { margin: 0 0 4px; }
.g-for a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.gantt { margin-top: 18px; }
.g-scale { display: none; }
.js .g-scale.js-only { display: grid; grid-template-columns: repeat(4, 1fr); font: 700 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--fg); }
.g-scale span { padding: 8px 6px; border-left: 2px solid var(--fg); }
.js .g-rows.js-only { display: block; list-style: none; margin: 0; padding: 0; }
.g-row { display: block; width: 100%; min-height: 56px; padding: 8px 0 10px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; font: inherit; color: var(--fg); cursor: pointer; }
.g-row:hover { background: rgba(224, 165, 38, .15); }
.g-name { display: block; margin-bottom: 4px; font-weight: 700; }
.g-name small { font-weight: 500; font-size: 14px; color: var(--sec); margin-left: 8px; }
.g-track { display: grid; grid-template-columns: repeat(8, 1fr); height: 24px; background: linear-gradient(90deg, rgba(28, 31, 34, .4) 2px, transparent 2px) 0 0 / 25% 100% repeat-x; }
.g-bar { grid-column: calc(var(--s) + 1) / span var(--l); background: var(--pri); border: 2px solid var(--fg); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), background-color .2s; }
.js .gantt:not(.in) .g-bar { transform: scaleX(0); }
.g-row[aria-pressed="true"] .g-bar { background: var(--fg); }
.g-row[aria-pressed="true"] .g-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 720px) {
  .js .g-scale.js-only { margin-left: 266px; }
  .g-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; align-items: center; }
  .g-name { margin: 0; }
  .g-name small { display: block; margin: 0; }
}
.js .g-card.js-only { margin-top: 20px; padding: 16px 18px 18px; background: #fff; border: 2px solid var(--fg); box-shadow: 5px 5px 0 var(--fg); max-width: 720px; }
.g-card h3 { margin: 0 0 10px; font-size: 22px; }
.g-card h3 small { display: block; margin-top: 4px; font: 600 14px/1.3 var(--f-body); color: var(--sec); }
.g-card dl { display: grid; gap: 10px; margin: 0; }
.g-card dt { font: 700 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--sec); margin-bottom: 2px; }
.g-card dd { margin: 0; }
.g-card.pop { animation: slidein .35s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dust { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 10px; }
.dust i { width: 22px; height: 14px; border: 2px solid var(--fg); background: #fff; }
.dust i.on { background: repeating-linear-gradient(45deg, var(--fg) 0 2px, #fff 2px 5px); }
.g-plain { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; max-width: 720px; }
.g-plain li { background: #fff; border: 2px solid var(--fg); padding: 14px 16px; }
.g-plain h3 { margin: 0 0 6px; } .g-plain small { font-weight: 500; font-size: 14px; }
.g-plain p { margin: 0; }

/* ---- A4 · Tidy promise ---- */
.tidy { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 30px 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .tidy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .tidy { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tcard { position: relative; background: #fff; border: 2px solid var(--fg); padding: 34px 18px 20px; box-shadow: 5px 5px 0 var(--fg); }
.tcard h3 { margin-bottom: 6px; padding-right: 40px; }
.tcard p { margin: 0; }
.stamp { position: absolute; top: -22px; right: 12px; width: 66px; height: 66px; color: var(--sec); transform: rotate(-10deg); }
.stamp svg { display: block; width: 100%; height: 100%; stroke: currentColor; }
.js .tcard:not(.in) .stamp { opacity: 0; }
.js .tcard.in .stamp { animation: land .55s cubic-bezier(.2, 1.3, .4, 1) .3s both; }
@keyframes land { from { opacity: 0; transform: scale(2.2) rotate(-35deg); } to { opacity: 1; transform: scale(1) rotate(-10deg); } }

/* ---- A5 · Request a visit ---- */
.visit-in { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .visit-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; } }
.visit-intro p { max-width: 32em; }
.q-pre { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 8px; padding: 10px 12px; border: 2px dashed var(--s-line-strong); background: #fff; font-size: 15px; }
.q-pre dt { color: var(--s-soft); font-weight: 600; }
.q-pre dd { margin: 0; font-weight: 700; }
.sim-screen { border: 1px solid var(--s-line); }
.tape-pull { height: 22px; margin: 0 0 12px; background: var(--panel); border: 2px solid var(--fg); border-radius: 2px; overflow: hidden; }
.tape-pull span { display: block; height: 100%; background: var(--pri); animation: pull .8s ease-out both; }
@keyframes pull { from { width: 0; } to { width: 100%; } }
.sim-ticket dt, .sim-ticket dd { animation: fillin .4s ease-out var(--d, 0ms) both; }
@keyframes fillin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.stamp-mark { display: block; width: max-content; margin: 14px 0 2px auto; padding: 6px 12px; border: 3px double var(--sec); border-radius: 4px; color: var(--sec); font: 800 15px/1.2 var(--f-head); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-8deg); animation: stampin .5s cubic-bezier(.2, 1.3, .4, 1) .75s both; }
@keyframes stampin { from { opacity: 0; transform: scale(1.6) rotate(-24deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
.faq { max-width: 760px; margin-top: 52px; }
.faq-h { font-size: 24px; }
.faq details { background: #fff; border: 2px solid var(--fg); border-radius: 4px; margin: 0 0 10px; }
.faq summary { cursor: pointer; min-height: 52px; padding: 14px 16px; font-weight: 700; display: flex; align-items: center; }
.faq details p { padding: 0 16px 14px; margin: 0; }
.t-strip { margin-top: 52px; border: 3px solid var(--fg); background: #fff; }
.t-cells { display: grid; grid-template-columns: minmax(0, 1fr); }
.t-cell { padding: 22px 20px 24px; }
.t-cell + .t-cell { border-top: 2px solid var(--fg); }
@media (min-width: 800px) { .t-cells { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .t-cell + .t-cell { border-top: 0; border-left: 2px solid var(--fg); } }
.hours { margin: 0; max-width: 360px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 2px solid var(--line); }
.hours dt { font-weight: 700; } .hours dd { margin: 0; }
.map-ph { margin-top: 20px; border-width: 2px; }
.t-bar { margin: 0; padding: 12px 20px; background: var(--fg); color: #fff; font: 700 14px/1.4 var(--f-body); letter-spacing: .05em; }

@media (prefers-reduced-motion: reduce) {
  .band, .tape-pull span, .reink, .g-card.pop, .stamp, .stamp-mark, .sim-ticket dt, .sim-ticket dd { animation: none !important; }
  .js .tcard .stamp { opacity: 1; transform: rotate(-10deg); }
  .js .gantt .g-bar { transform: none; }
  .js .tb, .js .tb-body, .mark, .g-bar { transition: none !important; }
}
.js .g-plain { display: none; }
@media (min-width: 960px) { .jobs { grid-template-columns: repeat(5, 1fr); } .jobs button, .jobs .j-wide { grid-column: auto; flex-direction: column; justify-content: center; text-align: center; gap: 4px; padding: 8px 4px; font-size: 15px; } }
.pricebox .q-price { margin-bottom: 20px !important; }
.sim-ticket { overflow: hidden; }
.top .brand, .gd-credits a { display: inline-flex; align-items: center; min-height: 44px; }

/* ======== Multi-page site layer (header, pages, footer) ======== */
html { scroll-padding-top: 150px; }
body { padding-bottom: 84px; }
.top { position: sticky; top: 40px; z-index: 50; background: var(--bg); border-bottom: 3px solid var(--fg); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 58px; }
.demo-row { background: var(--panel); border-top: 1px solid var(--line); padding: 4px 20px; text-align: center; }
.demo-row .sim-pill { display: inline-block; }
.menu-btn { display: none; min-height: 48px; padding: 6px 14px; align-items: center; gap: 8px; border: 2px solid var(--fg); background: #fff; color: var(--fg); font: 700 15px/1 var(--f-body); cursor: pointer; box-shadow: 3px 3px 0 var(--fg); }
.js .menu-btn { display: inline-flex; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a b { font: 800 13px/1 var(--f-head); border: 1.5px solid var(--fg); background: #fff; padding: 4px 5px; min-width: 30px; text-align: center; }
.nav a:hover { background: var(--panel); text-decoration: underline; }
.nav a[aria-current="page"] { background: var(--pri); }
html:not(.js) .nav { width: 100%; }
@media (max-width: 959px) {
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 3px solid var(--fg); box-shadow: 0 18px 30px rgba(0,0,0,.25); max-height: calc(100vh - 150px); overflow-y: auto; }
  .js .nav.open { display: block; }
  .js .nav ul { flex-direction: column; }
  .js .nav a { min-height: 54px; padding: 8px 20px; border-top: 1px solid var(--line); font-size: 17px; }
}
@media (min-width: 960px) { .menu-btn, .js .menu-btn { display: none; } .nav ul { flex-wrap: nowrap; } .nav a { padding: 6px 10px; font-size: 14.5px; } .nav a b { display: none; } .nav a[aria-current="page"] b { display: block; } }
.top-act { display: none; }

/* page heads */
.phead { padding: 36px 0 34px; border-bottom: 2px solid var(--fg); }
.phead h1 { font-size: clamp(34px, 9vw, 56px); margin-bottom: .25em; }
.phead .lead { margin: 0; font-size: 18px; }
.sec-tight { padding: 40px 0; }
.sec-head { max-width: 40em; margin-bottom: 26px; }
.more-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid.g2, .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--fg); box-shadow: 5px 5px 0 var(--fg); }
.card .ph { border-bottom: 2px solid var(--fg); aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph-draw { display: grid; place-items: center; color: var(--sec); background-color: var(--panel); background-image: linear-gradient(rgba(28,31,34,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(28,31,34,.07) 1px, transparent 1px); background-size: 20px 20px; }
.card .ph-draw svg { width: 84px; height: 84px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.card-b { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-b h2, .card-b h3 { margin: 0; }
.card-b p { margin: 0; }
.card-b .fromp { font: 700 15px/1.3 var(--f-body); }
.card-b .more-link { margin-top: auto; }
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps4 li { counter-increment: s; background: #fff; border: 2px solid var(--fg); padding: 16px 16px 18px; }
.steps4 li::before { content: "0" counter(s); display: block; font: 800 28px/1 var(--f-head); color: var(--sec); margin-bottom: 8px; }
.steps4 h3 { margin: 0 0 4px; font-size: 18px; }
.steps4 p { margin: 0; font-size: 15px; }
.band-cta { background: var(--fg); color: #fff; padding: 40px 0; --focus: #fff; }
.band-cta .wrap { display: grid; gap: 18px; align-items: center; }
@media (min-width: 800px) { .band-cta .wrap { grid-template-columns: minmax(0, 1fr) auto; } }
.band-cta h2 { color: #fff; margin: 0 0 .3em; }
.band-cta p { margin: 0; max-width: 36em; }
.band-cta .btn-alt { color: #fff; border-color: #fff; }
.band-cta .btn-alt:hover { background: #fff; color: var(--fg); filter: none; }
.two { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.two p { max-width: 38em; }
.facts { margin: 0; padding: 0; list-style: none; border: 2px solid var(--fg); background: #fff; }
.facts li { padding: 12px 16px; border-top: 2px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts strong { display: block; font: 700 17px/1.3 var(--f-head); }
.area-list { margin: 0; padding-left: 1.2em; }
.area-list li { margin: 0 0 6px; }

/* projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.proj-card { background: #fff; border: 2px solid var(--fg); box-shadow: 5px 5px 0 var(--fg); display: flex; flex-direction: column; }
.proj-card[hidden] { display: none; }
.js .proj-card .cmp-stage { aspect-ratio: 4 / 3; height: auto; border-inline: 0; border-top: 0; }
.proj-card .ptags, .js .proj-card .ptags { position: static; margin: 12px 18px 0; flex-direction: row; align-items: center; pointer-events: auto; }
.proj-card .card-b { padding-top: 12px; }
.proj-card .nojs-cap { padding: 4px 18px 0; }
.proj-note { font-size: 14px; color: var(--muted); }
.gallery-note { margin-top: 26px; padding: 16px 18px; border: 2px dashed var(--fg); background: #fff; }
.gallery-note p { margin: 0; }
.prog-link { margin: 16px 0 0; }

/* how I work */
.job-chips { display: none; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.js .job-chips { display: flex; }
.promise { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.promise-box { background: #fff; border: 2px solid var(--fg); padding: 18px; }
.promise-box h3 { margin-bottom: 8px; }
.promise-box ul { margin: 0; padding-left: 1.2em; }
.promise-box li { margin: 0 0 6px; }

/* contact form (simulation) */
.cform textarea.sim-input { min-height: 120px; resize: vertical; }
.sim-input[aria-invalid="true"], .sim-select[aria-invalid="true"] { border-color: var(--s-err, #9B1C1C); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.contact-btns .btn, .contact-btns button.btn { flex: 1 1 200px; }

/* footer grid, socials */
.foot-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1.2fr .9fr; } }
.foot h2 { font-size: 17px; margin: 0 0 10px; color: #fff; letter-spacing: .02em; }
.foot p { margin: 0 0 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 40px; }
.foot-hours { margin: 0; }
.foot-hours div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.25); max-width: 280px; }
.foot-hours dd { margin: 0; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #fff; color: #fff; }
.social a:hover { background: #fff; color: var(--fg); }
.social svg { width: 22px; height: 22px; }
.foot .btn { margin-top: 6px; border-color: #fff; background: transparent; color: #fff; min-height: 48px; font-size: 15px; }
.foot .btn:hover { background: #fff; color: var(--fg); filter: none; }
.m-bar button { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; border: 2px solid var(--fg); background: transparent; color: var(--fg); font: 700 15px/1.15 var(--f-body); cursor: pointer; padding: 4px 6px; }
.toast-host { position: fixed; left: 16px; right: 16px; bottom: 90px; z-index: 1100; pointer-events: none; display: flex; justify-content: center; }
.toast-host .sim-toast { max-width: 420px; margin: 0; padding: 12px 16px; background: var(--fg); color: #fff; border: 2px solid #fff; font: 600 15px/1.35 var(--f-body); text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.toast-host .sim-toast.show { opacity: 1; transform: none; }
@media (min-width: 768px) { .toast-host { bottom: 28px; } }

/* 404 */
.nf { padding: 70px 0 80px; }
.nf .big { font: 800 clamp(90px, 28vw, 220px)/.9 var(--f-head); margin: 0 0 12px; color: var(--sec); }
.js .filters.js-only { display: flex; }
.nf .sheet-t { margin-bottom: 8px; }
.cform .sim-err { margin: 4px 0 0 !important; }
.brand { font-family: var(--f-head); color: var(--fg); text-decoration: none; font-weight: 800; line-height: 1.1; }
.foot .brand { color: var(--foot-fg); }
.brand:hover { text-decoration: underline; }

/* Tap area: ribbon link is at least 44px tall without changing the 40px bar */
/* Tap area: the ribbon (fixed, 40px) is the containing block; the link's hit area covers it plus 4px, so 44px tall */
.gd-ribbon a { position: static; }
.gd-ribbon a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; }
