/* Sidheswar — natural stone.
   Palette taken from the stones themselves: pale coral limestone, basalt, Galana grey,
   Tanga ochre, and the deep creek water of the coast. One family: Bricolage Grotesque. */

:root {
  --limestone: #e6e7e1;   /* page */
  --paper: #f4f4f0;       /* raised surfaces */
  --grout: #c9c7bd;       /* lines between tiles */
  --basalt: #252927;      /* text */
  --galana: #6c706a;      /* secondary text */
  --tanga: #b68a2e;       /* accent, buttons */
  --tanga-ink: #2a2006;
  --creek: #1e4547;       /* deep blocks */
  --creek-ink: #e9efe9;
  --coral: #9e5644;
  --radius-s: 3px;
  --radius-m: 10px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --step--1: clamp(.83rem, .8rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.8vw, 5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--limestone); color: var(--basalt);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: var(--step-0); line-height: 1.55; font-variation-settings: "opsz" 14;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; font-variation-settings: "opsz" 72, "wdth" 85; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-variation-settings: "opsz" 24, "wdth" 95; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--basalt); max-width: 58ch; }
:focus-visible { outline: 3px solid var(--tanga); outline-offset: 2px; }
.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: -999px; top: 8px; background: var(--basalt); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.band { padding-block: clamp(56px, 8vw, 112px); }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.band-head h2 { margin: 0; }
.textlink { background: none; border: 0; padding: 0; font: inherit; color: var(--creek); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- buttons & chips ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  background: var(--tanga); color: var(--tanga-ink); border: 2px solid var(--tanga); border-radius: var(--radius-s);
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #c79a3a; border-color: #c79a3a; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(0,0,0,.05); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: var(--step--1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .chip-check > span, .chip-radio > span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1.5px solid var(--grout); background: var(--paper); border-radius: 999px; font: inherit; font-size: var(--step--1);
  color: var(--basalt); cursor: pointer;
}
.chip[aria-pressed="true"], .chip-check input:checked + span, .chip-radio input:checked + span { background: var(--basalt); border-color: var(--basalt); color: var(--paper); }
.chip-check, .chip-radio { position: relative; }
.chip-check input, .chip-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-check input:focus-visible + span, .chip-radio input:focus-visible + span { outline: 3px solid var(--tanga); outline-offset: 2px; }
.swatch { width: 14px; height: 14px; border-radius: 2px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.t-light { background: #ebe3d3; } .t-warm { background: #c9933f; } .t-grey { background: #8b8f8a; }
.t-dark { background: #34302f; } .t-mixed { background: linear-gradient(135deg, #c9933f 0 33%, #8b8f8a 33% 66%, #6c4a3e 66%); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--limestone) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--grout); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-word { display: none; font-weight: 750; font-size: 1.15rem; line-height: 1; font-variation-settings: "opsz" 48, "wdth" 80; }
.brand-word small { display: block; font-weight: 400; font-size: .72rem; color: var(--galana); margin-top: 3px; font-variation-settings: "opsz" 12, "wdth" 100; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 10px 12px; text-decoration: none; border-radius: var(--radius-s); font-size: .97rem; }
.site-nav a:hover { background: rgba(0,0,0,.05); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.nav-quote { border: 1.5px solid var(--basalt); margin-left: 8px; display: inline-flex; gap: 8px; align-items: center; }
.q-count { background: var(--tanga); color: var(--tanga-ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .78rem; font-weight: 700; padding: 0 6px; }
.nav-toggle { display: none; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--basalt); background: none; font: inherit; border-radius: var(--radius-s); }
  .site-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--limestone); padding: 12px var(--gut) 24px; border-bottom: 1px solid var(--grout); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--grout); border-radius: 0; }
  .nav-quote { margin: 12px 0 0; justify-content: center; border-radius: var(--radius-s) !important; }
}
@media (min-width: 560px) { .brand-word { display: block; } }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: var(--step--1); color: var(--galana); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--grout); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.flash { margin: 16px 0 0; padding: 14px 18px; border-radius: var(--radius-s); max-width: none; }
.flash.ok { background: #d6e4d6; } .flash.err { background: #f0d6cf; }

/* ---------- hero: a running-bond tile wall made from the real stone ---------- */
.hero { position: relative; overflow: hidden; background: var(--grout); min-height: min(86vh, 760px); display: grid; align-items: end; }
.tilewall { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.tilerow { --tw: clamp(150px, 17vw, 260px); display: flex; gap: 4px; width: max-content; animation: drift 120s linear infinite; }
.tilerow.offset { margin-left: calc(var(--tw) / -2); animation-duration: 150s; animation-direction: reverse; }
@keyframes drift { to { transform: translateX(-50%); } }
.tile { position: relative; flex: none; width: var(--tw); aspect-ratio: 2 / 1; overflow: hidden; background: var(--galana); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: .8rem; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: opacity .2s; }
.tile:hover .tile-name, .tile:focus-visible .tile-name { opacity: 1; }
.hero:hover .tilerow { animation-play-state: paused; }
.hero-slab {
  position: relative; z-index: 2; margin: 0 var(--gut) var(--gut); max-width: 640px;
  background: var(--paper); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-s);
  box-shadow: 0 0 0 4px var(--grout);
}
.hero-slab h1 { font-size: var(--step-4); margin-bottom: .35em; }
.hero-slab p { font-size: var(--step-1); line-height: 1.4; color: var(--basalt); }
@media (min-width: 1100px) { .hero-slab { margin-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); } }
@media (prefers-reduced-motion: reduce) { .tilerow { animation: none; } }

/* ---------- home ---------- */
.intro { display: grid; gap: 40px; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--basalt); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--grout); display: flex; flex-direction: column-reverse; }
.facts div:nth-child(odd) { padding-right: 16px; }
.facts dd { margin: 0; font-size: var(--step-3); font-weight: 750; line-height: 1; font-variation-settings: "opsz" 96, "wdth" 75; }
.facts dt { color: var(--galana); font-size: var(--step--1); margin-top: 6px; }

.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); background: var(--grout); border: 4px solid var(--grout); }
.cat { display: block; background: var(--paper); text-decoration: none; height: 100%; }
.cat-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-body { display: block; padding: 18px 18px 22px; }
.cat-name { display: block; font-size: var(--step-1); font-weight: 700; font-variation-settings: "opsz" 32, "wdth" 88; }
.cat-origin { display: flex; justify-content: space-between; gap: 8px; color: var(--galana); font-size: var(--step--1); margin: 2px 0 10px; }
.cat-sum { display: block; font-size: .95rem; }
.cat:hover .cat-name { text-decoration: underline; }

.finder-band { background: var(--creek); color: var(--creek-ink); }
.finder-band-inner { padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 28px; }
@media (min-width: 900px) { .finder-band-inner { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.finder-band p { color: #c9d6d0; font-size: var(--step-1); }
.qf-label { font-weight: 600; margin-bottom: 12px; color: var(--creek-ink) !important; font-size: var(--step-0) !important; }
.finder-band .chip { background: transparent; color: var(--creek-ink); border-color: #4d7273; min-height: 52px; font-size: 1rem; }
.finder-band .chip:hover { background: var(--creek-ink); color: var(--creek); }

.proj-strip { display: grid; gap: 4px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .proj-strip { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; } .proj-strip .big { grid-row: span 2; } .proj-strip.small { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.proj { position: relative; display: block; overflow: hidden; background: var(--galana); min-height: 240px; text-decoration: none; }
.proj img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.proj-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 650; background: linear-gradient(transparent, rgba(0,0,0,.7)); text-align: left; }
.proj-cap small { display: block; font-weight: 400; opacity: .85; }

.cta-band { display: grid; gap: 24px; border-top: 1px solid var(--basalt); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.5fr 1fr; align-items: end; } }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 18ch; }
.origin-note { color: var(--galana); }

/* ---------- catalogue ---------- */
.cat-tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.cat-tabs a { flex: none; padding: 10px 14px; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.cat-tabs a[aria-current="page"] { border-color: var(--basalt); font-weight: 650; }
.filters { display: grid; gap: 16px; padding: 20px; background: var(--paper); border-radius: var(--radius-m); margin-bottom: 18px; }
@media (min-width: 900px) { .filters { grid-template-columns: auto 1fr 240px; align-items: start; } }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters legend { font-weight: 650; font-size: var(--step--1); margin-bottom: 8px; width: 100%; }
.search input { width: 100%; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--grout); border-radius: var(--radius-s); font: inherit; background: #fff; }
.result-count { color: var(--galana); font-size: var(--step--1); }

.swatch-grid { list-style: none; padding: 0; margin: 0 0 64px; display: grid; gap: 28px 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.swatch-grid.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch-card { display: flex; flex-direction: column; }
.swatch-card[hidden] { display: none; }
.swatch-link { text-decoration: none; display: block; }
.swatch-link img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-s); background: var(--grout); box-shadow: 0 0 0 4px var(--grout); }
.swatch-name { display: block; margin-top: 12px; font-weight: 650; line-height: 1.25; }
.swatch-link:hover .swatch-name { text-decoration: underline; }
.swatch-meta { color: var(--galana); font-size: var(--step--1); margin: 2px 0 8px; }
.add-quote { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 6px 0; font: inherit; font-size: var(--step--1); color: var(--creek); font-weight: 650; text-decoration: underline; cursor: pointer; }
.add-quote.added { color: var(--galana); text-decoration: none; }
.empty { color: var(--galana); }

/* ---------- product ---------- */
.product { display: grid; gap: clamp(28px, 5vw, 64px); padding-block: 28px 40px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; align-items: start; } .gallery { position: sticky; top: 96px; } }
.gallery-main { margin: 0; background: var(--grout); padding: 4px; border-radius: var(--radius-s); }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: none; width: 72px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; border-radius: var(--radius-s); }
.thumb[aria-current="true"] { border-color: var(--basalt); }
.thumb img { aspect-ratio: 1; object-fit: cover; }
.family { color: var(--galana); margin-bottom: 8px; }
.product h1 { font-size: var(--step-3); }
.spec { display: grid; margin: 24px 0; border-top: 1px solid var(--basalt); }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--grout); }
.spec dt { color: var(--galana); } .spec dd { margin: 0; }
.size-pick fieldset { border: 0; padding: 0; margin: 0 0 6px; }
.size-pick legend { font-weight: 650; margin-bottom: 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: block; padding: 8px 12px; border: 1.5px solid var(--grout); background: var(--paper); border-radius: var(--radius-s); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.size input:checked + span { border-color: var(--basalt); background: var(--basalt); color: var(--paper); }
.size input:focus-visible + span { outline: 3px solid var(--tanga); outline-offset: 2px; }
.hint { color: var(--galana); font-size: var(--step--1); }
.area-field { display: block; font-weight: 650; margin: 18px 0 6px; }
.unit-input { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-top: 6px; }
.unit-input input { width: 140px; }
.estimate { font-weight: 600; min-height: 1.5em; color: var(--creek); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form label, .add-line label { display: grid; gap: 6px; font-weight: 600; font-size: var(--step--1); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--basalt); }
.form input, .form select, .form textarea, .add-line input, .add-line select, .unit-input input {
  min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--grout); border-radius: var(--radius-s); background: #fff; font-weight: 400; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus, .add-line input:focus, .add-line select:focus { border-color: var(--basalt); outline: none; box-shadow: 0 0 0 3px rgba(182,138,46,.35); }

/* ---------- quote ---------- */
.quote { display: grid; gap: 40px; padding-bottom: 80px; }
@media (min-width: 1000px) { .quote { grid-template-columns: 1.5fr 1fr; align-items: start; } .send { position: sticky; top: 96px; } }
.planner, .send { background: var(--paper); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-m); }
.planner h2, .send h2 { font-size: var(--step-2); }
.add-line { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 640px) { .add-line { grid-template-columns: 2fr 1.2fr 1fr auto; align-items: end; } }
.lines-wrap { overflow-x: auto; }
.lines { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lines th { text-align: left; font-weight: 600; color: var(--galana); font-size: var(--step--1); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--basalt); }
.lines td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--grout); vertical-align: middle; }
.lines td input { width: 90px; min-height: 38px; padding: 4px 8px; border: 1.5px solid var(--grout); border-radius: var(--radius-s); }
.lines .num { font-variant-numeric: tabular-nums; font-weight: 650; }
.lines .rm { background: none; border: 0; color: var(--coral); text-decoration: underline; cursor: pointer; font: inherit; font-size: var(--step--1); }

/* ---------- finder ---------- */
.finder-q { display: grid; gap: 24px; background: var(--paper); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-m); margin-bottom: 40px; }
.finder-q fieldset { border: 0; padding: 0; margin: 0; }
.finder-q legend { font-size: var(--step-1); font-weight: 700; margin-bottom: 12px; }
.finder-title { font-size: var(--step-2); }

/* ---------- projects ---------- */
.proj-filter { margin-bottom: 20px; }
.masonry { list-style: none; padding: 0; margin: 0 0 80px; columns: 1; column-gap: 4px; background: var(--grout); border: 4px solid var(--grout); }
@media (min-width: 640px) { .masonry { columns: 2; } } @media (min-width: 1000px) { .masonry { columns: 3; } }
.masonry li { break-inside: avoid; margin-bottom: 4px; }
.masonry li[hidden] { display: none; }
.proj-open { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--galana); font: inherit; }
.proj-open img { width: 100%; height: auto; }
.lightbox { border: 0; padding: 0; max-width: min(1100px, 94vw); max-height: 92vh; background: var(--paper); border-radius: var(--radius-m); overflow: auto; }
.lightbox::backdrop { background: rgba(20,24,22,.85); }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: var(--basalt); }
.lb-info { padding: 20px 24px 28px; }
.lb-info h2 { font-size: var(--step-2); margin-bottom: .2em; }
.lb-loc { color: var(--galana); }
.lb-used a { display: inline-block; margin: 0 8px 8px 0; }
.lb-close { position: sticky; top: 0; float: right; margin: 10px; min-height: 40px; padding: 0 14px; border: 0; background: var(--basalt); color: #fff; border-radius: var(--radius-s); font: inherit; cursor: pointer; z-index: 2; }

/* ---------- contact ---------- */
.contact { display: grid; gap: 40px; padding-bottom: 80px; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.branches { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; background: var(--grout); border: 4px solid var(--grout); }
@media (min-width: 700px) { .branches { grid-template-columns: 1fr 1fr; } }
.branch { background: var(--paper); padding: 24px; }
.branch h2 { font-size: var(--step-1); }
.branch .addr { font-size: 1.05rem; }
.hours { color: var(--galana); font-size: var(--step--1); }
.phones a { display: block; font-weight: 650; font-variant-numeric: tabular-nums; }

/* ---------- prose / about / guide ---------- */
.prose-page { padding-bottom: 80px; }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose p, .prose li { line-height: 1.65; }
.about { padding-bottom: 80px; }
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; } }
.about-img { margin: 0; background: var(--grout); padding: 4px; }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.process { margin-top: 72px; }
.process ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 4px; background: var(--grout); border: 4px solid var(--grout); }
@media (min-width: 800px) { .process ol { grid-template-columns: repeat(4, 1fr); } }
.process li { counter-increment: s; background: var(--paper); padding: 24px; }
.process li::before { content: counter(s); display: block; font-size: var(--step-3); font-weight: 750; color: var(--tanga); line-height: 1; margin-bottom: 14px; font-variation-settings: "opsz" 96, "wdth" 75; }
.faq { margin-top: 64px; max-width: 76ch; }
.faq details { border-bottom: 1px solid var(--grout); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 650; font-size: 1.08rem; list-style-position: outside; }
.faq details p { padding-bottom: 16px; }
.notfound { min-height: 50vh; }

/* ---------- footer ---------- */
.site-foot { background: var(--basalt); color: #d6d8d2; padding-top: 56px; margin-top: 0; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-bottom: 40px; }
.foot-brand { font-size: var(--step-2); font-weight: 750; color: #fff; font-variation-settings: "opsz" 72, "wdth" 80; margin-bottom: .3em; }
.foot-h { color: #fff; font-weight: 650; margin-bottom: 6px; }
.foot-branch p { margin-bottom: 8px; font-size: .95rem; }
.socials a { margin-right: 12px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #3c413e; padding-block: 18px 88px; font-size: var(--step--1); }
.foot-base a { margin-right: 14px; }

/* ---------- floating + toast ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; background: #1f7a4d; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 650; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float:hover { background: #18663f; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--basalt); color: #fff; padding: 12px 18px; border-radius: var(--radius-s); z-index: 60; max-width: calc(100vw - 32px); }
.toast a { color: #f0d48a; margin-left: 8px; }

@media print { .site-head, .site-foot, .wa-float, .hero .tilewall { display: none; } }

/* fixes after visual review */
.unit-input input { width: 160px; flex: none; }
.nav-toggle { align-items: center; }
@media (max-width: 700px) {
  .hero { min-height: 680px; }
  .tilerow { --tw: 210px; }
}
