/* Ndegwa wa Ndarugo Mawe — "Solid ground" design system.
   Basalt, limestone and laterite (Kenyan red soil). Big Shoulders Display for headlines, Instrument Sans for text,
   JetBrains Mono for prices. */
:root {
  --basalt: #100f0d;
  --basalt-2: #191714;
  --basalt-3: #24211d;
  --limestone: #ede7dc;
  --paper: #f7f4ee;
  --chalk: #fffdf9;
  --ink: #15130f;
  --text: #2a2620;
  --muted: #5e574d;
  --muted-light: #b3aa9c;
  --line: #ddd5c7;
  --line-dark: rgba(255, 255, 255, .12);
  --clay: #d4581f;
  --clay-hover: #e8682c;
  --clay-text: #a8410f;
  --sand: #c8a679;
  --ok: #3f7d3a;
  --err: #b3261e;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--text); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.05; font-weight: 700; }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; }
.h-xl { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(2.8rem, 7vw, 6.2rem); letter-spacing: -.005em; }
.h-lg { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .92; font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
.clay { color: var(--clay); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -80px; background: var(--clay); color: #fff; padding: 12px 18px; z-index: 300; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
::selection { background: var(--clay); color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .8em 1.5em; border: 1.5px solid transparent; border-radius: var(--r);
  font: 600 1rem/1.1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-hover); }
.btn--dark { background: var(--basalt); color: #fff; }
.btn--dark:hover { background: var(--basalt-3); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--line-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { min-height: 58px; padding: .9em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; text-decoration: none; color: inherit; position: relative; }
.link::after { content: ""; position: absolute; left: 0; right: 1.6em; bottom: 8px; height: 2px; background: var(--clay); transform-origin: left; transition: transform .35s var(--ease); }
.link:hover::after { transform: scaleX(.4); }
.link:hover .i { transform: translateX(4px); }
.link .i { transition: transform .3s var(--ease); color: var(--clay); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 500 .78rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--clay); flex: none; }
.on-dark .eyebrow, .sec--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow, .cta .eyebrow { color: var(--muted-light); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: transform .4s var(--ease); }
/* the blur lives on a pseudo-element: on the header itself it would trap the fixed mobile menu inside the header */
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(16,15,13,.88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); opacity: 0; transition: opacity .35s; border-bottom: 1px solid var(--line-dark); }
.site-header.is-scrolled::before, .page-contact .site-header::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-row { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: inherit; flex: none; position: relative; z-index: 2; }
.logo-img { height: 50px; width: auto; }
.logo-mark { width: 40px; height: 40px; fill: currentColor; }
.logo-mark__top { fill: var(--clay); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font: 900 1.45rem/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.logo-text small { font: 500 .66rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: .7; margin-top: 5px; }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav ul a { position: relative; display: block; padding: 12px 14px; text-decoration: none; font-weight: 500; font-size: .98rem; color: rgba(255,255,255,.82); transition: color .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: #fff; }
.nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-foot { display: none; }
.menu-btn { display: none; }
.header-cta { min-height: 44px; padding: .6em 1.2em; position: relative; z-index: 2; }

@media (max-width: 1020px) {
  :root { --header-h: 66px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2; }
  .bars { display: grid; gap: 7px; width: 26px; }
  .bars i { display: block; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .menu-btn[aria-expanded="true"] .bars i:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .bars i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 1; margin: 0; background: var(--basalt); flex-direction: column; align-items: stretch; justify-content: space-between;
    padding: calc(var(--header-h) + 24px) var(--gutter) calc(28px + env(safe-area-inset-bottom)); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility .55s; overflow-y: auto; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { font: 900 clamp(2.6rem, 11vw, 3.6rem)/1 var(--display); text-transform: uppercase; padding: 10px 0; color: #fff; border-bottom: 1px solid var(--line-dark); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--clay); }
  .nav-foot { display: grid; gap: 14px; margin-top: 32px; }
  .nav-phone { font: 700 1.6rem/1 var(--mono); color: #fff; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
  .header-cta { display: none; }
  .logo { margin-right: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header::before { opacity: 0; }
}
@media (max-width: 380px) { .logo-text strong { font-size: 1.2rem; } .logo-mark { width: 34px; height: 34px; } }

/* ---------- media and placeholders ---------- */
.media { margin: 0; position: relative; overflow: hidden; background: var(--basalt-2); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.ph { position: relative; display: flex; align-items: flex-end; width: 100%; aspect-ratio: 4 / 3; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, #3a342d 0%, #1d1a16 55%, #12110f 100%); }
.ph::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23ffffff' fill-opacity='.06'%3E%3Crect x='2' y='22' width='17' height='14'/%3E%3Crect x='21' y='22' width='17' height='14'/%3E%3Crect x='11.5' y='6' width='17' height='14'/%3E%3C/g%3E%3C/svg%3E"); background-size: 64px; }
.ph > span { position: relative; margin: 16px; font: 500 .74rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.sec--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sec--dark { background: var(--basalt); color: #d9d2c6; }
.sec--dark h2, .sec--dark h3, .sec--dark h4 { color: #fff; }
.sec--stone { background: var(--limestone); }
.sec--chalk { background: var(--chalk); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head p { color: var(--muted); font-size: 1.12rem; max-width: 520px; margin: 0; }
.sec--dark .sec-head p { color: var(--muted-light); }
.sec-head h2 { margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--basalt); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,15,13,.55) 0%, rgba(16,15,13,.25) 30%, rgba(16,15,13,.6) 70%, rgba(16,15,13,.95) 100%),
              linear-gradient(90deg, rgba(16,15,13,.85) 0%, rgba(16,15,13,.2) 70%); }
.hero__in { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 { color: #fff; font-size: clamp(4.2rem, 13.4vw, 13.5rem); margin: 0 0 .12em; max-width: 12ch; }
.hero h1 .line { display: block; }
.text-rock { color: #e9e2d6; background: url("/assets/stock/quarry-rocks-sm.jpg") center 35% / cover; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.5; color: #e4ddd1; max-width: 560px; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badge { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 40px); width: 132px; height: 132px; }
.hero__badge svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero__badge text { font: 600 10.5px var(--mono); letter-spacing: .26em; fill: #fff; text-transform: uppercase; }
.hero__badge b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 2.1rem/1 var(--display); color: var(--clay-hover); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .hero__row { grid-template-columns: minmax(0, 1fr); } .hero__badge { width: 96px; height: 96px; top: calc(var(--header-h) + 20px); } .hero__badge b { font-size: 1.5rem; } }
@media (max-width: 520px) { .hero__badge { display: none; } .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- price ticker ---------- */
.ticker { position: relative; display: flex; align-items: stretch; background: var(--clay); color: #fff; overflow: hidden; }
.ticker__label { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: var(--basalt); font: 700 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker__label small { font-weight: 500; opacity: .6; letter-spacing: .08em; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker__list a { display: flex; align-items: baseline; gap: 10px; padding: 18px 28px; text-decoration: none; white-space: nowrap; font: 500 .92rem/1 var(--mono); border-right: 1px solid rgba(255,255,255,.22); }
.ticker__list span { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.ticker__list b { font-weight: 700; font-size: 1rem; }
.ticker__list em { font-style: normal; font-size: .8rem; }
.ticker__list a:hover b { text-decoration: underline; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .ticker__label small { display: none; } .ticker__label { padding: 0 14px; } }

/* ---------- statement + facts ---------- */
.statement { font: 500 clamp(1.65rem, 3.7vw, 3.35rem)/1.14 var(--body); letter-spacing: -.025em; color: var(--ink); max-width: 30ch; margin: 0; }
.statement .hl { color: var(--clay-text); }
.statement .soft { color: #a59c8e; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong { display: block; font: 900 clamp(3rem, 6vw, 5.4rem)/.85 var(--display); color: var(--ink); }
.fact strong sup { font-size: .45em; vertical-align: top; color: var(--clay); margin-left: 2px; }
.fact > span { display: block; margin-top: 12px; color: var(--muted); font-size: .98rem; max-width: 22ch; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact { padding-bottom: 28px; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- materials index ---------- */
.mindex { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.mindex li { border-bottom: 1px solid var(--line-dark); }
.mindex a { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) auto 40px; gap: 24px; align-items: center; padding: 26px 0; text-decoration: none; color: inherit; isolation: isolate; }
.mindex a::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--clay); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.mindex a:hover::before, .mindex a:focus-visible::before { transform: scaleY(1); }
.mindex__n { font: 500 .85rem/1 var(--mono); color: var(--muted-light); }
.mindex__name { font: 900 clamp(2rem, 4.4vw, 3.6rem)/.9 var(--display); text-transform: uppercase; color: #fff; transition: transform .45s var(--ease); }
.mindex a:hover .mindex__name { transform: translateX(10px); }
.mindex__desc { color: var(--muted-light); font-size: .98rem; margin: 0; transition: color .3s; }
.mindex__price { font: 700 1rem/1.2 var(--mono); color: #fff; text-align: right; white-space: nowrap; }
.mindex__price small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted-light); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; transition: color .3s; }
.mindex__go { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); border-radius: 50%; color: #fff; transition: transform .45s var(--ease), background .3s; }
.mindex a:hover .mindex__go { transform: rotate(-45deg); background: #fff; color: var(--clay); }
.mindex a:hover .mindex__desc, .mindex a:hover .mindex__price small, .mindex a:hover .mindex__n { color: rgba(255,255,255,.9); }
.mindex__thumb { display: none; }
.mfloat { position: fixed; left: 0; top: 0; z-index: 40; width: 320px; aspect-ratio: 4 / 3; pointer-events: none; opacity: 0; overflow: hidden; transition: opacity .25s; }
.mfloat img { width: 100%; height: 100%; object-fit: cover; }
.mfloat.is-on { opacity: 1; }
@media (max-width: 900px) {
  .mindex a { grid-template-columns: 84px minmax(0, 1fr) 24px; gap: 4px 16px; padding: 16px 0; }
  .mindex__thumb { display: block; grid-row: 1 / span 2; width: 84px; height: 84px; overflow: hidden; }
  .mindex__thumb img, .mindex__thumb .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
  .mindex__n, .mindex__desc { display: none; }
  .mindex__name { font-size: 1.9rem; grid-column: 2; align-self: end; }
  .mindex__price { grid-column: 2; text-align: left; font-size: .92rem; align-self: start; }
  .mindex__price small { display: inline; margin-left: 6px; }
  .mindex__go { grid-column: 3; grid-row: 1 / span 2; border: 0; width: 24px; }
  .mfloat { display: none; }
}

/* ---------- estimator ---------- */
.est-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .est-wrap { grid-template-columns: minmax(0, 1fr); } }
.est-wrap .sec-copy p { color: var(--muted); font-size: 1.12rem; }
.est { background: var(--chalk); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(40, 25, 10, .25); }
.est__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.est__tabs button { min-height: 58px; padding: 14px 18px; background: none; border: 0; border-bottom: 3px solid transparent; font: 600 .98rem var(--body); color: var(--muted); cursor: pointer; text-align: left; }
.est__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--clay); background: var(--paper); }
.est__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.est__panel[hidden] { display: none; }
@media (max-width: 640px) { .est__panel { grid-template-columns: minmax(0, 1fr); } }
.est__inputs { padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; align-content: start; }
.est__inputs fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.est__inputs legend, .est__select, .est__range { font: 500 .76rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.est__inputs legend { margin-bottom: 12px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 8px; border: 1.5px solid var(--line); font: 600 .98rem var(--body); color: var(--ink); text-transform: none; letter-spacing: 0; transition: all .2s; }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.est__select select { display: block; width: 100%; margin-top: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line); background: #fff; font: 500 1rem var(--body); color: var(--ink); border-radius: 0; text-transform: none; letter-spacing: 0; }
.est__range { display: grid; gap: 14px; }
.est__range output { font: 900 3.4rem/.9 var(--display); color: var(--ink); letter-spacing: 0; }
.est__range input { width: 100%; accent-color: var(--clay); height: 28px; }
.est__out { padding: clamp(20px, 3vw, 32px); background: var(--basalt); color: #fff; display: grid; gap: 20px; align-content: start; }
.est__out span { display: block; font: 500 .74rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }
.est__out strong { display: block; font: 900 clamp(2.6rem, 5vw, 3.8rem)/.9 var(--display); color: #fff; }
.est__out strong.clay { color: var(--clay-hover); }
.est__note { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.45; }
.est__out .est__note { color: var(--muted-light); }

/* ---------- delivery map ---------- */
.mapwrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .mapwrap { grid-template-columns: minmax(0, 1fr); } }
.map { position: relative; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .contour { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1.2; }
.map .route { fill: none; stroke: rgba(212,88,31,.4); stroke-width: 1.5; stroke-dasharray: 4 6; transition: stroke .3s; }
.map .route.is-on { stroke: var(--clay-hover); stroke-width: 3; stroke-dasharray: none; }
.map .town { cursor: pointer; outline: none; }
.map .town circle { fill: var(--basalt); stroke: #fff; stroke-width: 2.5; transition: fill .25s, stroke .25s; }
.map .town text { fill: #d9d2c6; font: 600 21px var(--body); transition: fill .2s; paint-order: stroke; stroke: var(--basalt); stroke-width: 6px; stroke-linejoin: round; }
.map .town:hover circle, .map .town.is-on circle, .map .town:focus-visible circle { fill: var(--clay-hover); stroke: var(--clay-hover); }
.map .town:hover text, .map .town.is-on text, .map .town:focus-visible text { fill: #fff; }
.map .town:focus-visible text { text-decoration: underline; }
.map .yard > circle { fill: var(--clay); stroke: #fff; }
.map .yard-ring { fill: none; stroke: var(--clay); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.map .peak path { fill: #2c2824; stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.map .peak .snow { fill: #e9e2d6; stroke: none; }
.map .peak text { fill: var(--muted-light); font: 500 16px var(--mono); letter-spacing: .14em; }
.map__note { font: 500 .72rem var(--mono); color: var(--muted-light); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.mapcard { border: 1px solid var(--line-dark); padding: clamp(24px, 3vw, 36px); background: var(--basalt-2); }
.mapcard__label { font: 500 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin: 0 0 10px; }
.mapcard__town { font: 900 clamp(3rem, 6vw, 4.6rem)/.88 var(--display); text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.mapcard__price { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1 var(--mono); color: var(--clay-hover); margin: 0 0 8px; }
.mapcard__unit { color: var(--muted-light); font-size: .95rem; margin-bottom: 24px; }
.towns { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 24px 0 0; }
.towns button { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-dark); background: none; color: #d9d2c6; font: 500 .88rem var(--body); cursor: pointer; }
.towns button[aria-pressed="true"], .towns button:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { padding: 0 clamp(20px, 3vw, 40px) 0 0; position: relative; }
.steps li + li { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font: 900 clamp(5rem, 10vw, 8.5rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--clay); margin-bottom: 26px; }
.steps h3 { font-size: 1.55rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; } .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; } }

/* ---------- bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(280px, auto); gap: 12px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2.6vw, 32px); color: #fff; text-decoration: none; background: var(--basalt-2); isolation: isolate; min-height: 300px; }
.tile .media { position: absolute; inset: 0; z-index: -2; }
.tile .media img, .tile .media .ph { height: 100%; aspect-ratio: auto; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,15,13,.1) 20%, rgba(16,15,13,.9) 100%); }
.tile:hover .media img { transform: scale(1.06); }
.tile h3 { color: #fff; font: 900 clamp(2rem, 3.4vw, 3rem)/.9 var(--display); text-transform: uppercase; margin: 0 0 10px; }
.tile p { margin: 0; max-width: 40ch; color: #e4ddd1; }
.tile__tag { position: absolute; top: clamp(20px, 2.6vw, 32px); left: clamp(20px, 2.6vw, 32px); font: 500 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.tile__go { position: absolute; top: clamp(16px, 2.2vw, 28px); right: clamp(16px, 2.2vw, 28px); width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .45s var(--ease), background .3s; }
.tile:hover .tile__go { transform: rotate(-45deg); background: var(--clay); color: #fff; }
.tile--a { grid-column: span 7; grid-row: span 2; }
.tile--b { grid-column: span 5; }
.tile--c { grid-column: span 5; }
.tile--d { grid-column: span 12; min-height: 260px; }
@media (max-width: 860px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile--a, .tile--b, .tile--c, .tile--d { grid-column: auto; grid-row: auto; } .tile--a { min-height: 420px; } }

/* ---------- projects strip ---------- */
.pstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 34%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--clay) transparent; }
@media (max-width: 760px) { .pstrip { grid-auto-columns: 82%; } }
.pcard { scroll-snap-align: start; text-decoration: none; color: inherit; display: block; position: relative; }
.pcard .media { aspect-ratio: 4 / 5; }
.pcard .media img, .pcard .media .ph { height: 100%; aspect-ratio: auto; transition: transform 1s var(--ease); }
.pcard:hover .media img { transform: scale(1.05); }
.pcard__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font: 500 .76rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font: 800 1.9rem/.95 var(--display); text-transform: uppercase; margin: 10px 0 0; }

/* ---------- quote ---------- */
.bigquote { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; }
.bigquote::before { content: "“"; font: 900 12rem/.7 var(--display); color: var(--clay); }
.bigquote blockquote { margin: 0; font: 500 clamp(1.5rem, 3vw, 2.6rem)/1.22 var(--body); letter-spacing: -.02em; color: var(--ink); }
.bigquote figcaption { margin-top: 28px; font: 500 .8rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bigquote figcaption strong { color: var(--ink); display: block; margin-bottom: 4px; }
.bigquote[hidden] { display: none; }
.quotes-nav { display: flex; gap: 8px; margin-top: 32px; }
.quotes-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.quotes-nav button:hover { background: var(--ink); color: #fff; }
@media (max-width: 700px) { .bigquote { grid-template-columns: minmax(0, 1fr); gap: 0; } .bigquote::before { font-size: 8rem; height: 70px; } }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--basalt); color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(.4); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(16,15,13,.55), rgba(16,15,13,.95)); }
.cta__in { padding: clamp(96px, 13vw, 180px) var(--gutter); }
.cta .eyebrow { justify-content: center; }
.cta__phone { display: block; color: #fff; text-decoration: none; font-size: clamp(3.6rem, 13vw, 12rem); margin: 0 0 .2em; transition: color .3s; }
.cta__phone:hover { color: var(--clay-hover); }
.cta__text { max-width: 560px; margin: 0 auto 36px; color: #d9d2c6; font-size: 1.15rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; background: var(--basalt); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img, .page-hero__bg .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transform: scale(1.08); }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,15,13,.6) 0%, rgba(16,15,13,.35) 40%, rgba(16,15,13,.92) 100%); }
.page-hero__in { width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero h1 { color: #fff; font-size: clamp(3.6rem, 11vw, 10rem); margin: 0 0 .18em; max-width: 14ch; }
.page-hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: #e4ddd1; max-width: 600px; margin: 0; }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } }
.story__text p { font-size: 1.12rem; color: var(--text); }
.story__text .lead { font: 500 clamp(1.4rem, 2.4vw, 1.9rem)/1.3 var(--body); letter-spacing: -.015em; color: var(--ink); }
.story__text .lead::first-letter { float: left; font: 900 5.6rem/.78 var(--display); color: var(--clay); margin: 6px 12px 0 0; }
.story .media { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .story .media { position: relative; top: 0; aspect-ratio: 4 / 3; } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.value { background: var(--basalt); padding: clamp(28px, 3.4vw, 44px); }
.value__n { font: 500 .78rem var(--mono); color: var(--clay-hover); letter-spacing: .14em; }
.value h3 { font: 900 2.4rem/.9 var(--display); text-transform: uppercase; margin: 22px 0 14px; }
.value p { color: var(--muted-light); margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } }
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); } }
.founder .media { aspect-ratio: 4 / 5; }
.founder .media img { height: 100%; }
.founder .ph { height: 100%; aspect-ratio: auto; align-items: center; justify-content: center; }
.founder .ph > span { font: 900 7rem/1 var(--display); color: rgba(255,255,255,.2); letter-spacing: 0; }
.founder__quote { font: 500 clamp(1.4rem, 2.6vw, 2.2rem)/1.25 var(--body); letter-spacing: -.02em; color: var(--ink); margin: 0 0 28px; }
.founder__name { font: 900 2.6rem/.9 var(--display); text-transform: uppercase; margin: 0; }
.founder__role { font: 500 .8rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 0 28px; }

/* ---------- services page ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { aspect-ratio: 5 / 4; }
.svc__media .media { height: 100%; }
.svc__media img, .svc__media .ph, .svc__media video { height: 100%; aspect-ratio: auto; }
.svc__n { font: 500 .8rem var(--mono); color: var(--clay-text); letter-spacing: .14em; }
.svc h2 { font: 900 clamp(2.6rem, 5vw, 4.4rem)/.9 var(--display); text-transform: uppercase; margin: 16px 0 20px; }
.svc__text { font-size: 1.14rem; color: var(--text); }
@media (max-width: 860px) { .svc { grid-template-columns: minmax(0, 1fr); } .svc:nth-child(even) .svc__media { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; width: 8px; height: 8px; background: var(--clay); flex: none; transform: translateY(-2px); }
.sec--dark .ticks, .sec--dark .ticks li { border-color: var(--line-dark); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; transition: all .2s; }
.chip:hover { background: #fff; color: var(--ink); }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.why div { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line-dark); }
.why div:nth-child(3n+2), .why div:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.why h3 { font: 800 1.9rem/.95 var(--display); text-transform: uppercase; }
.why p { color: var(--muted-light); margin: 0; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } .why div:nth-child(n) { padding-left: 0; border-left: 0; } }

/* ---------- projects page ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(16px, 2.5vw, 32px); }
.pgrid .pcard:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
@media (max-width: 760px) { .pgrid { grid-template-columns: minmax(0, 1fr); } .pgrid .pcard:nth-child(even) { margin-top: 0; } }
.pgrid .pcard .media { aspect-ratio: 4 / 3; }
.pcard__btn { all: unset; display: block; width: 100%; cursor: pointer; position: relative; }
.pcard__btn:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.pcard__count { position: absolute; right: 16px; bottom: 16px; padding: 6px 12px; background: rgba(16,15,13,.78); color: #fff; font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pcard p { color: var(--muted); margin: 10px 0 0; }
.statsrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line-dark); }
.statsrow div { padding: 28px 24px 0 0; }
.statsrow strong { display: block; font: 900 clamp(3.4rem, 7vw, 6rem)/.85 var(--display); color: #fff; }
.statsrow strong sup { font-size: .45em; vertical-align: top; color: var(--clay-hover); }
.statsrow div > span { display: block; margin-top: 12px; color: var(--muted-light); }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10,9,8,.96); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); width: 100%; text-align: center; }
.lightbox img, .lightbox .ph { max-height: 76vh; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox .ph { width: min(860px, 100%); }
.lightbox figcaption { color: #e7e5e4; margin-top: 16px; font-size: 1.05rem; }
.lightbox figcaption small { display: block; color: var(--muted-light); font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- pricing ---------- */
.pricing-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pindex { position: sticky; top: calc(var(--header-h) + 28px); }
.pindex ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pindex ul a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s, padding .3s var(--ease); }
.pindex ul a span { font: 500 .72rem var(--mono); color: #a59c8e; }
.pindex ul a:hover, .pindex ul a.is-active { color: var(--ink); padding-left: 10px; }
.pindex ul a.is-active { box-shadow: inset 3px 0 0 var(--clay); }
.pindex__notes { margin-top: 28px; display: grid; gap: 14px; font-size: .92rem; color: var(--muted); }
.pindex__notes strong { display: block; color: var(--ink); }
@media (max-width: 960px) {
  .pricing-layout { grid-template-columns: minmax(0, 1fr); }
  .pindex { position: sticky; top: var(--header-h); z-index: 20; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(247,244,238,.97); border-bottom: 1px solid var(--line); }
  .pindex ul { display: flex; gap: 6px; overflow-x: auto; border: 0; scrollbar-width: none; }
  .pindex ul::-webkit-scrollbar { display: none; }
  .pindex ul a { border: 1px solid var(--line); padding: 6px 14px; white-space: nowrap; min-height: 40px; }
  .pindex ul a span, .pindex__notes { display: none; }
  .pindex ul a:hover, .pindex ul a.is-active { padding-left: 14px; box-shadow: none; background: var(--ink); color: #fff; border-color: var(--ink); }
}
.notes3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--chalk); }
.notes3 div { padding: 22px 24px; }
.notes3 div + div { border-left: 1px solid var(--line); }
.notes3 strong { display: block; font: 800 1.5rem/1 var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.notes3 p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .notes3 { grid-template-columns: minmax(0, 1fr); } .notes3 div + div { border-left: 0; border-top: 1px solid var(--line); } }
.mat { padding: clamp(48px, 7vw, 88px) 0 0; scroll-margin-top: calc(var(--header-h) + 72px); }
.mat__head { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: end; margin-bottom: 28px; }
.mat__head .media { aspect-ratio: 4 / 3; }
.mat__head .media img, .mat__head .ph { height: 100%; aspect-ratio: auto; }
@media (max-width: 700px) { .mat__head { grid-template-columns: minmax(0, 1fr); } .mat__head .media { order: -1; aspect-ratio: 16 / 9; } }
.mat__n { font: 500 .78rem var(--mono); color: var(--clay-text); letter-spacing: .14em; }
.mat h2 { font: 900 clamp(2.8rem, 6vw, 5rem)/.88 var(--display); text-transform: uppercase; margin: 12px 0 16px; }
.mat__intro { color: var(--muted); margin: 0; max-width: 60ch; }
.board { margin: 0 0 26px; }
.board h3 { font: 500 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.board__row { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.board__item { font-weight: 600; color: var(--ink); }
.board__item small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; }
.board__dots { flex: 1; border-bottom: 2px dotted #c9bfae; transform: translateY(-5px); min-width: 20px; }
.board__price { font: 700 1.12rem/1 var(--mono); color: var(--ink); white-space: nowrap; text-align: right; }
.board__price small { display: block; font: 500 .72rem var(--mono); color: var(--muted); letter-spacing: .06em; margin-top: 5px; }
.board__price.on-request { color: var(--clay-text); }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 30px; }
@media (max-width: 560px) { .sizes { grid-template-columns: minmax(0, 1fr); } }
.size { padding: 18px; background: var(--chalk); border: 1px solid var(--line); }
.size strong { display: block; font: 900 2.4rem/.9 var(--display); color: var(--ink); }
.size span { font-size: .88rem; color: var(--muted); }
.mat__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.small { font-size: .9rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); min-height: 100svh; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact__side { position: relative; background: var(--basalt); color: #d9d2c6; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) clamp(20px, 5vw, 72px) clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.contact__side .media { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.contact__side .media img { height: 100%; }
.contact__side h1 { color: #fff; font-size: clamp(3.4rem, 8vw, 7rem); margin: 0 0 24px; }
.contact__phone { display: inline-block; font: 900 clamp(2.6rem, 5.4vw, 4.4rem)/.95 var(--display); color: var(--clay-hover); text-decoration: none; margin: 8px 0 32px; }
.contact__phone:hover { color: #fff; }
.clist { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.clist li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.clist span { font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); padding-top: 4px; }
.clist a { color: #fff; text-decoration: none; word-break: break-word; }
.clist a:hover { color: var(--clay-hover); }
.contact__main { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) clamp(20px, 5vw, 80px) clamp(48px, 6vw, 80px); background: var(--paper); }
@media (max-width: 960px) { .contact__main { padding-top: clamp(48px, 8vw, 72px); } }
.contact__main h2 { font: 900 clamp(2.4rem, 4.6vw, 3.8rem)/.9 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.form { display: grid; gap: 26px; margin-top: 32px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { position: relative; }
.field label { display: block; font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field .opt { text-transform: none; letter-spacing: 0; color: #8a8174; font-family: var(--body); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 0; border: 0; border-bottom: 1.5px solid #c9bfae; border-radius: 0; background: transparent; font: 500 1.1rem/1.4 var(--body); color: var(--ink); transition: border-color .2s; }
.field select { padding-right: 24px; cursor: pointer; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9b9284; font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--clay); box-shadow: 0 1.5px 0 var(--clay); }
.field .hint { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.field .error { font-size: .88rem; color: var(--err); margin: 6px 0 0; font-weight: 500; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-bottom-color: var(--err); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; font-weight: 500; }
.alert--err { background: #fbeae7; color: var(--err); border-left: 3px solid var(--err); }
.prefill { padding: 14px 18px; background: var(--limestone); border-left: 3px solid var(--clay); font-size: .95rem; margin-top: 24px; }
.success { padding: 24px 0; }
.success__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--clay); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.success__icon .i { width: 36px; height: 36px; }
.success h2 { font: 900 clamp(2.6rem, 5vw, 4rem)/.9 var(--display); text-transform: uppercase; }
.success .ref { display: inline-block; font: 700 1.1rem var(--mono); background: var(--limestone); padding: 8px 14px; margin: 6px 0 20px; letter-spacing: .06em; }
.success__wa { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: var(--basalt); color: var(--muted-light); padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-lead { font: 500 clamp(1.3rem, 2.4vw, 2rem)/1.25 var(--body); color: #fff; max-width: 26ch; margin: 0; letter-spacing: -.015em; }
.footer-phone { font: 900 clamp(2.4rem, 5vw, 4.2rem)/.9 var(--display); color: var(--clay-hover); text-decoration: none; }
.footer-phone:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr; gap: 36px; padding: 48px 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-grid p { margin: 0 0 12px; }
.footer-grid a { color: #e4ddd1; text-decoration: none; }
.footer-grid a:hover { color: var(--clay-hover); }
.footer-grid p a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-h { font: 500 .74rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.footer-hours { font-size: .95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; }
.footer-links--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; word-break: break-word; }
.social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); color: #fff !important; }
.social a:hover { background: var(--clay); border-color: var(--clay); }
.footer-word { line-height: .78; white-space: nowrap; text-align: center; user-select: none; overflow: hidden; }
.footer-word span { display: block; font: 900 23.4vw/.78 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); letter-spacing: -.01em; transform: translateY(8%); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid var(--line-dark); font-size: .88rem; position: relative; background: var(--basalt); }
.footer-base p { margin: 0; }
.to-top { color: #e4ddd1; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--basalt); border-top: 1px solid var(--line-dark);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px; transition: transform .4s var(--ease); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; text-decoration: none; font-weight: 600; font-size: .95rem; color: #fff; border: 1px solid var(--line-dark); }
  .action-bar a.is-accent { background: var(--clay); border-color: var(--clay); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.nav-open .action-bar { display: none; }
}

/* 404 */
.notfound { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; background: var(--basalt); color: #d9d2c6; }
.notfound h1 { color: #fff; font-size: clamp(5rem, 22vw, 18rem); margin: 0; }
.notfound .btn { margin: 6px 6px 0 0; }

/* ---------- motion (only when JS and the animation library are running) ---------- */
html.anim [data-reveal] { opacity: 0; transform: translateY(32px); }
html.anim [data-split] .line > span { display: inline-block; transform: translateY(108%); }
[data-split] .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker__track { animation: none; }
}
@media print { .site-header, .action-bar, .site-footer, .cta, .ticker { display: none !important; } body { padding: 0; } }
@media (max-width: 600px) {
  .map .town text { font-size: 34px; opacity: 0; transition: opacity .2s; }
  .map .town.is-on text { opacity: 1; }
  .map .town circle { stroke-width: 3; }
}

/* "From our sites" gallery */
.sitegrid { columns: 4 240px; column-gap: 12px; }
.site-tile { all: unset; position: relative; display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; overflow: hidden; cursor: zoom-in; background: var(--basalt-2); }
.site-tile img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.site-tile:hover img { transform: scale(1.05); }
.site-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(16,15,13,.85)); color: #fff; font-size: .88rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.site-tile:hover span, .site-tile:focus-visible span { opacity: 1; transform: none; }
.site-tile:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
@media (hover: none) { .site-tile span { opacity: 1; transform: none; } }

/* ---------- website assistant ---------- */
.chat { --chat-w: 400px; position: fixed; right: 20px; bottom: 20px; z-index: 95; font-family: var(--body); }
.chat-launch { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--clay); color: #fff;
  font: 700 1rem/1 var(--body); letter-spacing: .01em; cursor: pointer; box-shadow: 0 10px 30px rgba(16, 15, 13, .28), 0 2px 6px rgba(16, 15, 13, .2); transition: transform .3s var(--ease), background-color .25s; position: relative; }
.chat-launch:hover { background: var(--clay-hover); transform: translateY(-2px); }
.chat-launch .i { width: 22px; height: 22px; }
.chat-launch__dot { position: absolute; top: 9px; left: 36px; width: 10px; height: 10px; border-radius: 50%; background: #7bd26a; border: 2px solid var(--clay); }
.chat.is-open { z-index: 150; }
.chat.is-open .chat-launch { display: none; }
.chat-panel { position: absolute; right: 0; bottom: 0; width: var(--chat-w); height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(16, 15, 13, .32); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 14px 16px; background: var(--basalt); color: #fff; flex: none; }
.chat-head__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chat-head__mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--basalt-3); border-radius: 8px; }
.chat-head__mark svg { width: 24px; height: 24px; fill: var(--muted-light); }
.chat-head__mark rect:last-child { fill: var(--clay); }
.chat-head h2 { margin: 0; color: #fff; font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.chat-head p { margin: 4px 0 0; white-space: nowrap; font: 500 .7rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.chat-head__acts { display: flex; gap: 2px; flex: none; }
.chat-head__acts a, .chat-head__acts button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 6px; background: none; color: #fff; cursor: pointer; }
.chat-head__acts a:hover, .chat-head__acts button:hover { background: var(--basalt-3); }
.chat-head__acts .i { width: 20px; height: 20px; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; font-size: .98rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg p { margin: 0; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: .55em; }
.msg ul { margin: .3em 0 0; padding-left: 1.15em; }
.msg li + li { margin-top: .2em; }
.msg strong { font-family: var(--mono); font-weight: 700; font-size: .93em; }
.msg a { color: var(--clay-text); font-weight: 600; }
.msg--bot { align-self: flex-start; background: var(--chalk); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); }
.msg--me { align-self: flex-end; background: var(--basalt); color: #fff; border-bottom-right-radius: 4px; }
.msg--note { background: #fbeee6; border-color: #f0cdb8; }
.msg--wait { padding: 14px 16px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted-light); animation: chat-dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-hints { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chat-hints button { min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 .9rem/1.25 var(--body); text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.chat-hints button:hover { border-color: var(--clay); background: var(--chalk); }
.chat-sent { align-self: stretch; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: #e8f1e5; border: 1px solid #c3dbbd; color: #23421f; }
.chat-sent .i { width: 26px; height: 26px; flex: none; fill: var(--ok); }
.chat-sent strong { display: block; font-weight: 700; }
.chat-sent span { font: 500 .85rem/1.3 var(--mono); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 8px 8px 8px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--chalk); flex: none; transition: border-color .2s; }
.chat-form:focus-within { border-color: var(--clay); }
.chat-form textarea { flex: 1; min-width: 0; border: 0; background: none; resize: none; padding: 9px 0; font: 400 16px/1.4 var(--body); color: var(--ink); max-height: 132px; }
.chat-form textarea:focus { outline: none; }
.chat-form button { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--clay); color: #fff; cursor: pointer; }
.chat-form button:disabled { opacity: .5; cursor: wait; }
.chat-form button .i { width: 20px; height: 20px; }
.chat-foot { margin: 0; padding: 8px 14px 12px; font-size: .75rem; line-height: 1.35; color: var(--muted); text-align: center; flex: none; }
@media (max-width: 760px) {
  .chat { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .chat-launch { min-height: 52px; padding: 0 18px 0 15px; }
  .chat-launch__dot { left: 32px; top: 8px; }
  .chat.is-open { inset: 0; right: 0; bottom: 0; }
  .chat-panel { position: fixed; inset: 0; width: auto; height: 100%; border: 0; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); }
  .chat.kb .chat-panel { top: var(--vv-top, 0); bottom: auto; height: var(--vv-h, 100%); padding-bottom: 0; }
  .chat.kb .chat-foot { display: none; }
  html.chat-open, html.chat-open body { overflow: hidden; }
  body.nav-open .chat { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: .7; } .chat-launch { transition: none; } }
@media print { .chat { display: none !important; } }
