/* Stonevanta Construction — Portland stone, vanta shadow, one lichen-green string line. */

@font-face { font-family: "Castoro Titling"; src: url("../fonts/castoro-titling-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Castoro"; src: url("../fonts/castoro-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Castoro"; src: url("../fonts/castoro-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("../fonts/geologica-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Azeret Mono"; src: url("../fonts/azeret-mono-latin.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

:root {
  --stone: #E7E0D2;      /* Portland whitbed */
  --stone-2: #DCD3C2;
  --stone-3: #C4B9A4;    /* roach */
  --paper: #F1EDE4;
  --ink: #1A1916;
  --ink-2: #3B3833;
  --muted: #6C655A;
  --line: rgba(26, 25, 22, .14);
  --line-2: rgba(26, 25, 22, .26);
  --vanta: #0F0E0C;
  --vanta-2: #191815;
  --vline: rgba(231, 224, 210, .14);
  --lichen: #C9D63C;     /* builder's string line */
  --lichen-ink: #5F6C0C;
  --err: #B0432A;
  --f-title: "Castoro Titling", "Castoro", Georgia, serif;
  --f-serif: "Castoro", Georgia, "Times New Roman", serif;
  --f-sans: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --wrap: min(1320px, calc(100% - 2 * var(--gut)));
  --hh: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.62 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lichen); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lichen-ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--lichen-ink); }
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; }
em { font-family: var(--f-serif); font-style: italic; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 6px 6px 22px; background: var(--bg); color: var(--fg); border: 1px solid var(--bg); text-decoration: none; font: 500 15px/1.2 var(--f-sans); letter-spacing: .01em; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); cursor: pointer; }
.btn__ico { display: grid; place-items: center; width: 40px; height: 40px; background: var(--lichen); color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease); }
.btn__ico svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover { --bg: var(--lichen); --fg: var(--ink); }
.btn:hover .btn__ico { background: var(--ink); color: var(--lichen); }
.btn:hover .btn__ico svg { transform: translate(2px, -2px); }
.btn--ghost, .btn--ghost-light { clip-path: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); border-color: var(--ink); }
.btn--ghost:hover .btn__ico { background: var(--lichen); color: var(--ink); }
.btn--light { --bg: var(--stone); --fg: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--stone); border-color: rgba(231, 224, 210, .4); }
.btn--ghost-light:hover { --bg: var(--stone); --fg: var(--ink); border-color: var(--stone); }
.btn--sm { min-height: 42px; padding: 4px 4px 4px 16px; font-size: 14px; gap: 10px; }
.btn--sm .btn__ico { width: 32px; height: 32px; }
.btn--sm .btn__ico svg { width: 15px; height: 15px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .5s var(--ease), background .35s, border-color .35s, backdrop-filter .35s; background: rgba(241, 237, 228, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.site-header.is-top { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { width: var(--wrap); margin-inline: auto; height: var(--hh); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 400 21px/1 var(--f-title); letter-spacing: .08em; text-transform: uppercase; }
.brand__sub { margin-top: 5px; font: 400 10px/1 var(--f-mono); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav__link { position: relative; padding: 10px 14px; text-decoration: none; font-size: 15px; font-weight: 400; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: var(--lichen-ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.header-call { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); background: transparent; position: relative; cursor: pointer; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--vanta); color: var(--stone); padding: calc(var(--hh) + 6vh) var(--gut) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu-open .site-header { background: var(--vanta); border-color: var(--vline); }
.menu-open .site-header .brand, .menu-open .nav-toggle { color: var(--stone); }
.menu-open .brand__sub { color: rgba(231, 224, 210, .6); }
.menu-open .nav-toggle { border-color: var(--vline); }
.menu-open .nav-toggle span:not(.sr-only) { background: var(--stone); }
.menu__links a { display: block; overflow: hidden; text-decoration: none; font: 400 clamp(40px, 11vw, 64px)/1.08 var(--f-serif); border-bottom: 1px solid var(--vline); padding: 6px 0; }
.menu__links a span { display: block; }
.menu__links a[aria-current="page"] span::after { content: " ·"; color: var(--lichen); }
.menu__foot { display: grid; gap: 6px; font-size: 18px; }
.menu__foot .mono { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: rgba(231, 224, 210, .6); margin-bottom: 8px; }
.menu__foot a { text-decoration: none; }

/* ---------- the plumb line ---------- */
.plumb { position: fixed; top: calc(var(--hh) + 18px); right: 18px; bottom: 60px; width: 30px; z-index: 50; pointer-events: none; transform-origin: 50% 0; transform: rotate(var(--swing, 0deg)); display: none; mix-blend-mode: difference; }
.plumb__line { position: absolute; left: 50%; top: 0; width: 1px; height: calc(100% - 22px); background: #E7E0D2; transform-origin: 50% 0; transform: scaleY(0); }
.plumb__bob { position: absolute; left: 50%; top: calc((100% - 22px) * var(--p, 0)); width: 12px; height: 20px; margin-left: -6px; background: #E7E0D2; clip-path: polygon(50% 100%, 0 30%, 25% 0, 75% 0, 100% 30%); }
.plumb::before { content: ""; position: absolute; left: 50%; top: -6px; width: 9px; height: 9px; margin-left: -4.5px; border: 1.5px solid #E7E0D2; border-radius: 50%; }
@media (min-width: 1240px) { .plumb { display: block; } }
.menu-open .plumb { opacity: 0; }

/* ---------- hero: the foundation stone ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; background-color: #DDD5C5; background-image: radial-gradient(120% 90% at 20% 15%, rgba(255, 252, 244, .55), transparent 60%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .31 0 0 0 0 .26 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); touch-action: pan-y; }
.slab { position: absolute; inset: 0; }
.slab__gl, .slab__chips { position: absolute; inset: 0; width: 100%; height: 100%; }
.slab__chips { pointer-events: none; }
.hero__inner { position: relative; flex: 1; display: grid; grid-template-columns: 1fr minmax(300px, 380px); grid-template-rows: auto 1fr; column-gap: 48px; padding-top: calc(var(--hh) + clamp(18px, 4vh, 48px)); }
.hero__kicker { grid-column: 1 / -1; margin: 0 0 clamp(8px, 2vh, 24px); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--ink); }
.hero__kicker span { color: var(--lichen-ink); }
.carved { grid-column: 1; align-self: start; font: 400 clamp(56px, min(12.6vw, 22vh), 200px)/.94 var(--f-title); letter-spacing: .02em; text-transform: uppercase; color: #2E2A25; text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 -1px 0 rgba(0, 0, 0, .22); margin: 0; }
.carved__ln { display: block; white-space: nowrap; }
.carve-on .carved { color: transparent; text-shadow: none; }
.carve-on .carved ::selection { color: var(--ink); }
.hero__aside { grid-column: 2; align-self: end; padding-bottom: clamp(20px, 5vh, 56px); }
.hero__lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin-bottom: 26px; font-weight: 350; }
.carve-on .hero__lead { text-shadow: 0 0 18px rgba(231, 224, 210, .9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0 22px; border-top: 1px solid var(--line); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 34px; font-size: 12px; color: var(--ink); }
.hero__facts b { font-weight: 500; color: var(--ink-2); margin-right: 6px; text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; }
.hero__hint { margin: 0; font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .12em; display: none; align-items: center; gap: 10px; }
.carve-on .hero__hint { display: inline-flex; }
.hero__hint::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle, #fff6dc 0 35%, rgba(255, 238, 190, 0) 70%); box-shadow: 0 0 10px 3px rgba(255, 236, 180, .9); }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
html.intro-on .hero [data-hero-rise], html.intro-on .site-header { opacity: 0; animation: intro-safety 0s 5s forwards; }
@keyframes intro-safety { to { opacity: 1; } }

/* ---------- stone names ---------- */
.courses { background: var(--vanta); color: var(--stone); overflow: clip; border-block: 1px solid #000; }
.courses__track { display: flex; width: max-content; will-change: transform; }
.courses__track span { display: inline-flex; align-items: center; gap: 30px; padding: 20px 30px 20px 0; font: italic 400 clamp(22px, 2.6vw, 34px)/1 var(--f-serif); white-space: nowrap; }
.courses__track span::after { content: ""; width: 12px; height: 12px; background: var(--lichen); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- sections ---------- */
.sec { padding: clamp(84px, 12vw, 168px) 0; position: relative; }
.sec-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head--wide { max-width: 980px; }
.sec-title, .statement { font: 400 clamp(42px, 6.4vw, 96px)/.98 var(--f-serif); letter-spacing: -.02em; }
.statement { font-size: clamp(40px, 5.3vw, 82px); }
.sec-lead { margin-top: 26px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 640px; }
.photo { position: relative; margin: 0; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 44px 18px 14px; font-size: 11.5px; color: var(--stone); background: linear-gradient(transparent, rgba(15, 14, 12, .72)); }
.courses-cover { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.courses-cover i { position: absolute; left: 0; right: 0; background: var(--stone-2); box-shadow: inset 0 -1px 0 rgba(26, 25, 22, .12); }
.courses-cover i:nth-child(even) { background: var(--stone); }

/* about */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__body { margin-top: 36px; max-width: 600px; color: var(--ink-2); }
.principles { margin-top: 44px; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 54px 200px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.principles__n { font: 400 22px/1 var(--f-title); color: var(--lichen-ink); }
.principles b { font: 400 22px/1.2 var(--f-serif); }
.principles li > span:last-child { color: var(--ink-2); font-size: 16px; }
.about__photo { aspect-ratio: 4 / 5; margin-top: 12px; }

/* services list + frame */
.services { background: var(--stone); }
.svc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc__list { border-top: 1px solid var(--line-2); }
.svc__item { border-bottom: 1px solid var(--line-2); }
.svc__item a { display: grid; grid-template-columns: 64px 1fr 48px; gap: 18px; padding: 30px 0; text-decoration: none; align-items: start; }
.svc__n { font: 400 26px/1.1 var(--f-title); color: var(--muted); transition: color .4s; }
.svc__t { display: block; font: 400 clamp(28px, 3vw, 42px)/1.05 var(--f-serif); transition: transform .5s var(--ease); }
.svc__d { display: block; margin-top: 12px; color: var(--ink-2); font-size: 16px; max-width: 520px; }
.svc__m { display: block; margin-top: 14px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.svc__go { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .35s, border-color .35s, transform .5s var(--ease); }
.svc__go svg { width: 18px; height: 18px; }
.svc__item.is-active .svc__n { color: var(--lichen-ink); }
.svc__item.is-active .svc__t { transform: translateX(8px); }
.svc__item.is-active .svc__go, .svc__item a:hover .svc__go { background: var(--lichen); border-color: var(--lichen); }
.svc__inline { display: none; }
.svc__frame { position: sticky; top: calc(var(--hh) + 32px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); }
.svc__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.svc__frame img.is-on { opacity: 1; }
.svc__cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 50px 18px 14px; font-size: 11.5px; color: var(--stone); background: linear-gradient(transparent, rgba(15, 14, 12, .75)); text-transform: uppercase; letter-spacing: .1em; }

/* method: the drawing board */
.method { background: var(--paper); padding-bottom: clamp(60px, 8vw, 120px); overflow-x: clip; }
.method__grid { display: grid; grid-template-columns: minmax(300px, .78fr) 1.5fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.sheet { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--hh) + 3vh); height: calc(100vh - var(--hh) - 7vh); min-height: 460px; display: flex; flex-direction: column; background: #F5F2EA; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -40px rgba(26, 25, 22, .45); }
.sheet__paper { flex: 1; min-height: 0; padding: 10px; }
.plan { width: 100%; height: 100%; max-width: none; }
.sheet__block { display: grid; grid-template-columns: auto auto auto 1fr; border-top: 1px solid var(--line-2); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; }
.sheet__block > span { padding: 10px 12px; border-right: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__block > span:last-child { border-right: 0; }
.sheet__co { font-family: var(--f-title); font-size: 12px; letter-spacing: .1em; }
.sheet__rev b { font-weight: 500; color: var(--lichen-ink); }
.sheet__rev i { font-style: normal; }
.steps { grid-column: 1; grid-row: 1; padding: 18vh 0 24vh; }
.step { min-height: 64vh; padding: 26px 0 26px 22px; border-left: 1.5px solid var(--line); opacity: .32; transition: opacity .5s, border-color .5s; }
.step.is-active { opacity: 1; border-color: var(--lichen-ink); }
.step.is-done { opacity: .5; }
.step__n { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 12px; }
.step h3 { font: 400 clamp(30px, 3vw, 44px)/1.05 var(--f-serif); margin-bottom: 14px; }
.step p { color: var(--ink-2); max-width: 420px; }
.step img { margin-top: 18px; width: min(100%, 380px); aspect-ratio: 3 / 2; object-fit: cover; }
.method__note { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); margin: 0; border-top: 1px solid var(--line); padding-top: 16px; }
html:not(.js) .step, .is-static .step, .reduce .step { opacity: 1; }

/* plan drawing */
.pl-paper { fill: #F5F2EA; }
.plan:not(.is-live) .pl-diag, .plan:not(.is-live) .pl-check { display: none; }
.plan:not(.is-live) .pl-string, .plan:not(.is-live) .pl-board, .plan:not(.is-live) .pl-peg { opacity: .18; }
.plan:not(.is-live) .pl-contour { opacity: .35; }
.pl-grid line { stroke: rgba(26, 25, 22, .045); stroke-width: 1; }
.plan text { font-family: var(--f-mono); fill: var(--ink); }
.pl-plot { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 18 5 3 5; }
.pl-plot.pl-draw { stroke-dasharray: 1; }
.pl-contour { fill: none; stroke: #9B9283; stroke-width: 1; }
.pl-tree { fill: rgba(122, 132, 84, .18); stroke: #6F7A4A; stroke-width: 1.4; }
.pl-rpa { fill: none; stroke: #6F7A4A; stroke-width: 1; stroke-dasharray: 4 4; }
.pl-ink { stroke: var(--ink); fill: none; }
.pl-ink-fill { fill: var(--ink); }
.pl-hair { stroke-width: 1; }
.pl-thin { stroke-width: 1.3; }
.pl-tiny { font-size: 12px; fill: #5B554B !important; }
.pl-dim { font-size: 14px; letter-spacing: .04em; }
.pl-road { font-size: 15px; letter-spacing: .3em; fill: #5B554B !important; }
.pl-kerb { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.pl-sewer { fill: none; stroke: #8B8476; stroke-width: 2; stroke-dasharray: 10 6; }
.pl-north circle { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.pl-north path { fill: var(--ink); }
.pl-north text { font-size: 13px; }
.pl-string { fill: none; stroke: #8FA314; stroke-width: 1.6; }
.pl-board { stroke: var(--ink); stroke-width: 4; }
.pl-peg { stroke: var(--ink); stroke-width: 2; fill: none; }
.pl-diag { fill: none; stroke: #8FA314; stroke-width: 1.4; stroke-dasharray: 1; }
.pl-check rect { fill: var(--ink); }
.pl-check text { fill: var(--lichen); font-size: 13px; }
.pl-dig { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 1; }
.pl-conc { fill: url(#pl-concpat); stroke: #7D7567; stroke-width: 1; }
.pl-drain { fill: none; stroke: #6E6859; stroke-width: 2; stroke-dasharray: 1; }
.pl-rain { fill: none; stroke: #6E6859; stroke-width: 1.4; stroke-dasharray: 1; }
.pl-mh { fill: #F5F2EA; stroke: var(--ink); stroke-width: 1.4; }
.pl-stamp circle { fill: rgba(245, 242, 234, .9); stroke: var(--ink); stroke-width: 1.6; }
.pl-stamp .pl-stamp__in { fill: none; stroke-width: .8; stroke-dasharray: 3 3; }
.pl-stamp text { font-size: 12.5px; font-weight: 500; letter-spacing: .06em; }
.pl-stamp .pl-stamp__s { font-size: 7.5px; letter-spacing: .08em; fill: #5B554B; }
.pl-wall { fill: var(--ink); }
.pl-wall-int { fill: #57524A; }
.pl-stairbox { fill: none; stroke: var(--ink); stroke-width: 1; }
.pl-eaves { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; }
.pl-ridge { fill: none; stroke: var(--ink); stroke-width: 2; }
.pl-tile { stroke: rgba(26, 25, 22, .28); stroke-width: 1; }
.pl-lantern { fill: rgba(170, 190, 200, .25); stroke: var(--ink); stroke-width: 1.2; }
.pl-roof { opacity: .1; }
.pl-glassbox { fill: #F5F2EA; stroke: var(--ink); stroke-width: 1; }
.pl-floor { stroke: rgba(26, 25, 22, .1); stroke-width: 1; }
.pl-furn { fill: #EAE4D7; stroke: #4F4A42; stroke-width: 1.2; }
.pl-furn-l { fill: none; stroke: #4F4A42; stroke-width: 1; }
.pl-room { font-size: 13.5px; letter-spacing: .08em; }
.pl-lawn { fill: none; stroke: #8C9658; stroke-width: 1.1; }
.pl-pave { fill: #E6DFD1; stroke: #B3A994; stroke-width: .8; }
.pl-pave--d { fill: #DDD5C5; }
.pl-sun { fill: #F3CF70; opacity: .6; mix-blend-mode: multiply; }
.pl-sun--lantern { fill: #F3CF70; stroke: none; }
.pl-dial circle { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
.pl-dial .pl-dial__sun { fill: #E9B53C; stroke: var(--ink); stroke-width: 1; stroke-dasharray: none; }
.pl-dial text { font-size: 12px; }

/* standards */
.standards { background: var(--vanta); color: var(--stone); }
.standards .eyebrow { color: rgba(231, 224, 210, .6); }
.standards .eyebrow::before { background: var(--lichen); }
.standards .sec-lead { color: rgba(231, 224, 210, .78); }
.standards em { color: var(--lichen); }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--vline); }
.tool { padding: 34px 28px 38px 0; border-right: 1px solid var(--vline); }
.tool + .tool { padding-left: 28px; }
.tool:last-child { border-right: 0; }
.tool__fig { width: 150px; height: 150px; margin-bottom: 24px; }
.tool__fig svg { width: 100%; height: 100%; overflow: visible; }
.tool__ln, .tool__string, .tool__ref { fill: none; stroke: var(--stone); stroke-width: 1.6; }
.tool__ref { stroke: rgba(231, 224, 210, .22); stroke-dasharray: 3 4; stroke-width: 1; }
.tool__solid { fill: var(--stone); }
.tool__body { fill: none; stroke: var(--stone); stroke-width: 1.6; }
.tool__vial { fill: rgba(201, 214, 60, .12); stroke: var(--lichen); stroke-width: 1.4; }
.tool__bubble { fill: var(--lichen); }
.tool__diag { fill: none; stroke: rgba(231, 224, 210, .5); stroke-width: 1.4; }
.is-true .tool__diag { stroke: var(--lichen); transition: stroke .5s; }
.tool__lab { font: 400 12px var(--f-mono); fill: var(--stone); }
.tool__drop { fill: var(--lichen); }
.tool h3 { font: 400 32px/1.1 var(--f-serif); margin-bottom: 12px; }
.tool p { font-size: 15.5px; color: rgba(231, 224, 210, .78); }
.tool__m { display: block; margin-top: 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--lichen); }
.ledger { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--vline); border-bottom: 1px solid var(--vline); }
.ledger div { padding: 22px 24px 24px 0; }
.ledger div + div { padding-left: 24px; border-left: 1px solid var(--vline); }
.ledger b { display: block; font: 400 12px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--lichen); margin-bottom: 8px; }
.ledger span { font-size: 15px; color: rgba(231, 224, 210, .8); }

/* foundation brief */
.brief { background: var(--stone); }
.brief__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.brief__photo { aspect-ratio: 4 / 5; }
.deliver { margin: 34px 0 22px; border-top: 1px solid var(--line-2); }
.deliver li { display: grid; grid-template-columns: 48px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 16.5px; }
.deliver .mono { font-size: 12px; color: var(--lichen-ink); padding-top: 4px; }
.brief__credit { font: italic 400 20px/1.4 var(--f-serif); margin: 0 0 28px; }

/* clients */
.clients { background: var(--paper); }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.client { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 26px 24px 24px; text-decoration: none; background: #F7F4ED; border: 1px solid var(--line); transition: transform .55s var(--ease), background .4s, border-color .4s; }
.client::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--lichen-ink); transform: scaleX(.12); transform-origin: left; transition: transform .6s var(--ease); }
.client:hover { transform: translateY(-6px); background: #fff; border-color: var(--line-2); }
.client:hover::before { transform: scaleX(1); }
.client__n { font-size: 12px; color: var(--muted); }
.client h3 { font: 400 28px/1.1 var(--f-serif); margin: 54px 0 14px; }
.client p { font-size: 15.5px; color: var(--ink-2); }
.client__go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; }
.client__go svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.client:hover .client__go svg { transform: translateX(5px); }

/* talk */
.talk { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: var(--stone); overflow: clip; background: var(--vanta); }
.talk__media { position: absolute; inset: -8% 0; }
.talk__media img { width: 100%; height: 100%; object-fit: cover; }
.talk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 14, 12, .25), rgba(15, 14, 12, .1) 30%, rgba(15, 14, 12, .82)); }
.talk__inner { position: relative; z-index: 1; padding: 20vh 0 clamp(60px, 9vw, 120px); }
.talk .eyebrow { color: rgba(231, 224, 210, .7); }
.talk .eyebrow::before { background: var(--lichen); }
.talk__title { font: 400 clamp(52px, 9vw, 150px)/.92 var(--f-serif); letter-spacing: -.02em; }
.talk__lead { margin: 28px 0 32px; max-width: 520px; font-size: 18px; color: rgba(231, 224, 210, .85); }
.talk__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { background: var(--vanta-2); color: var(--stone); }
.footstone { position: relative; height: clamp(230px, 27vw, 420px); overflow: hidden; background: #121211; border-bottom: 1px solid #000; }
.footstone__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.footstone__text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 20px); text-transform: uppercase; color: #8F877A; text-shadow: 0 -1px 0 #000, 0 1px 0 rgba(255, 255, 255, .08); user-select: none; }
.footstone__word { font: 400 clamp(52px, 13.2vw, 220px)/1 var(--f-title); letter-spacing: .03em; white-space: nowrap; }
.footstone__line { font: 400 clamp(11px, 1.45vw, 22px)/1 var(--f-title); letter-spacing: .32em; white-space: nowrap; }
.carve-on .footstone__text { color: transparent; text-shadow: none; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding: 64px 0 48px; }
.site-footer .brand { color: var(--stone); }
.site-footer .brand__sub { color: rgba(231, 224, 210, .55); }
.footer__about p { margin-top: 22px; max-width: 340px; font-size: 15px; color: rgba(231, 224, 210, .7); }
.site-footer h2 { font: 400 11px var(--f-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--lichen); margin-bottom: 18px; }
.site-footer li { margin-bottom: 9px; font-size: 15px; color: rgba(231, 224, 210, .8); }
.site-footer li a { text-decoration: none; background: linear-gradient(var(--lichen), var(--lichen)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.site-footer li a:hover { background-size: 100% 1px; color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0 30px; border-top: 1px solid var(--vline); font-size: 12.5px; color: rgba(231, 224, 210, .55); }
.footer__legal p { margin: 0; max-width: 820px; }
.footer__links { display: flex; gap: 22px; flex: none; }
.footer__links a { text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current="page"] { color: var(--lichen); }

/* page transition: a raking shadow */
.shade { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; overflow: hidden; }
.shade__p { position: absolute; top: 0; bottom: 0; left: -18vw; width: 136vw; transform: translateX(-112%); }
.shade__p::before { content: ""; position: absolute; inset: -10% 0; background: var(--vanta); transform: skewX(-12deg); }
.shade__p::after { content: ""; position: absolute; top: -10%; bottom: -10%; right: -6vw; width: 8vw; transform: skewX(-12deg); background: linear-gradient(90deg, rgba(15, 14, 12, 1), rgba(120, 104, 80, .5) 55%, rgba(255, 236, 196, 0)); }
.shade__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; color: var(--stone); font: 400 22px/1 var(--f-title); letter-spacing: .14em; text-transform: uppercase; opacity: 0; }
.shade__label svg { width: 44px; height: 44px; }
html.shade-in .shade { visibility: visible; animation: shade-safety 0s 2.6s forwards; }
html.shade-in .shade__p { transform: none; }
html.shade-in .shade__label { opacity: 1; }
@keyframes shade-safety { to { visibility: hidden; } }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: calc(var(--hh) + clamp(40px, 8vh, 96px)) 0 clamp(56px, 8vw, 110px); background: var(--stone); overflow: clip; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { font: 400 clamp(52px, 8vw, 128px)/.94 var(--f-serif); letter-spacing: -.025em; }
.page-hero__lead { margin: 30px 0 0; max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.page-hero__photo { aspect-ratio: 5 / 4; overflow: hidden; margin: 0; }
.page-hero__photo img { width: 100%; height: 118%; object-fit: cover; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

.subnav { position: sticky; top: 0; z-index: 40; background: rgba(241, 237, 228, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .5s var(--ease); }
html:not(.hdr-hidden) .subnav { top: var(--hh); }
.subnav__bar { width: var(--wrap); margin-inline: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__bar::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 16px 14px; text-decoration: none; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.subnav a.is-active, .subnav a:hover { color: var(--ink); border-color: var(--lichen-ink); }

.svc-sec { padding: clamp(80px, 10vw, 150px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.svc-sec:nth-of-type(even) { background: var(--stone); }
.svc-sec__head { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: baseline; margin-bottom: 44px; }
.svc-sec__n { font: 400 30px/1 var(--f-title); color: var(--lichen-ink); }
.svc-sec h2 { font: 400 clamp(44px, 6vw, 88px)/.98 var(--f-serif); letter-spacing: -.02em; }
.svc-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.svc-sec__photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: end; }
.svc-sec__photos .photo:first-child { aspect-ratio: 4 / 5; }
.svc-sec__photos .photo:last-child { aspect-ratio: 1; margin-bottom: 18%; }
.svc-sec__text > p:first-child { font-size: 19px; color: var(--ink); }
.svc-sec__text p { color: var(--ink-2); }
.incl { margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line-2); }
.incl li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; }
.incl li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1.5px; background: var(--lichen-ink); }
.prog { margin: 30px 0 0; }
.prog__label { display: flex; justify-content: space-between; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.prog__row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; padding: 6px 0; font-size: 13.5px; }
.prog__track { position: relative; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px) calc(100% / 12)); }
.prog__bar { position: absolute; top: 0; bottom: 0; background: var(--ink); transform-origin: left; }
.prog__bar.is-key { background: var(--lichen-ink); }
.note { margin-top: 26px; padding: 18px 20px; border-left: 3px solid var(--lichen-ink); background: rgba(255, 255, 255, .45); font-size: 15px; color: var(--ink-2); }
.note b { font-weight: 500; color: var(--ink); }

.matrix { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15.5px; }
.matrix th, .matrix td { padding: 18px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.matrix thead th { font: 400 11px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border-bottom-color: var(--ink); }
.matrix tbody th { font: 400 20px/1.2 var(--f-serif); width: 26%; }
.matrix td:not(:last-child) { width: 12%; text-align: center; }
.matrix td:last-child { color: var(--ink-2); }
.mx { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink); }
.mx--full { background: var(--ink); }
.mx--lead { background: var(--lichen); border-color: var(--lichen-ink); }

.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font: 400 clamp(20px, 2vw, 26px)/1.3 var(--f-serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 28px/1 var(--f-sans); color: var(--lichen-ink); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 760px; padding-bottom: 12px; }

.cta-band { background: var(--vanta); color: var(--stone); padding: clamp(80px, 10vw, 140px) 0; }
.cta-band h2 { font: 400 clamp(44px, 6.4vw, 100px)/.96 var(--f-serif); letter-spacing: -.02em; margin-bottom: 24px; }
.cta-band p { max-width: 560px; color: rgba(231, 224, 210, .8); font-size: 18px; margin-bottom: 30px; }
.cta-band .eyebrow { color: rgba(231, 224, 210, .6); }
.cta-band .eyebrow::before { background: var(--lichen); }

/* contact */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(44px, 6vw, 72px); }
.card { position: relative; padding: 24px 22px 22px; background: #F7F4ED; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 220px; }
.card__ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--lichen); margin-bottom: 30px; }
.card__ico svg { width: 18px; height: 18px; }
.card__k { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.card__v { display: block; margin-top: 6px; font: 400 22px/1.25 var(--f-serif); text-decoration: none; word-break: break-word; }
.card__s { margin-top: auto; padding-top: 14px; font-size: 13.5px; color: var(--muted); }
.copy { margin-top: 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line-2); background: transparent; font: 400 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; transition: background .3s, border-color .3s; }
.copy svg { width: 14px; height: 14px; }
.copy:hover { background: var(--lichen); border-color: var(--lichen); }

.brief-sec { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper); scroll-margin-top: 90px; }
.brief-sec__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.check), .field legend { font: 400 11px var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.field legend { margin-bottom: 10px; padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 14px; border: 1px solid var(--line-2); background: #FBF9F4; font: 300 16px/1.4 var(--f-sans); color: var(--ink); border-radius: 0; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 214, 60, .45); }
.field__err { display: none; font-size: 13px; color: var(--err); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--err); }
.field.is-invalid .field__err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); font-size: 14.5px; background: #FBF9F4; transition: background .3s, border-color .3s, color .3s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { content: "✓ "; color: var(--lichen); }
.chip input:focus-visible + span { outline: 2px solid var(--lichen-ink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: center; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.form__small { font-size: 13px; color: var(--muted); margin: 0; max-width: 460px; }
.form__status { grid-column: 1 / -1; display: none; padding: 16px 18px; background: var(--ink); color: var(--paper); font-size: 15px; }
.form__status.is-on { display: block; }
.aside-box { padding: 28px 26px; background: var(--stone); border: 1px solid var(--line); }
.aside-box + .aside-box { margin-top: 14px; }
.aside-box h3 { font: 400 26px/1.15 var(--f-serif); margin-bottom: 18px; }
.next li { display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.next .mono { color: var(--lichen-ink); font-size: 12px; padding-top: 3px; }
.ticks li { position: relative; padding: 8px 0 8px 24px; font-size: 15px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 5px; border-left: 1.5px solid var(--lichen-ink); border-bottom: 1.5px solid var(--lichen-ink); transform: rotate(-45deg); }

.visit { padding: clamp(80px, 10vw, 140px) 0; background: var(--stone); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.visit .sec-title { font-size: clamp(40px, 4.8vw, 76px); }
.reg { margin-top: 30px; border-top: 1px solid var(--line-2); }
.reg div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.reg dt { font: 400 11px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding-top: 4px; }
.reg dd { margin: 0; }
.area { position: relative; aspect-ratio: 5 / 4; margin: 0; background: var(--vanta); color: var(--stone); overflow: hidden; }
.area svg { width: 100%; height: 100%; }

/* legal */
.legal { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); background: var(--paper); }
.legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--hh) + 24px); font-size: 14px; }
.toc p { font: 400 11px var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 1.5px solid var(--line); text-decoration: none; color: var(--muted); transition: color .3s, border-color .3s; }
.toc a.is-active, .toc a:hover { color: var(--ink); border-color: var(--lichen-ink); }
.legal__body { max-width: 780px; }
.short { padding: 26px 28px; background: var(--stone); border-left: 3px solid var(--lichen-ink); margin-bottom: 48px; }
.short h2 { font: 400 26px/1.2 var(--f-serif); margin-bottom: 14px; }
.short li { position: relative; padding: 5px 0 5px 20px; font-size: 16px; }
.short li::before { content: ""; position: absolute; left: 0; top: 16px; width: 9px; height: 1.5px; background: var(--lichen-ink); }
.clause { padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.clause h2 { font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--f-serif); margin-bottom: 16px; display: flex; gap: 14px; align-items: baseline; }
.clause h2 .mono { font-size: 13px; color: var(--lichen-ink); }
.clause h3 { font: 500 16px/1.4 var(--f-sans); margin: 20px 0 8px; }
.clause p, .clause li { color: var(--ink-2); font-size: 16.5px; }
.clause ul { margin: 0 0 1em; }
.clause ul li { position: relative; padding: 3px 0 3px 20px; }
.clause ul li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 1.5px; background: var(--muted); }
.clause a { text-decoration-color: var(--lichen-ink); text-underline-offset: 3px; }
.dtable { width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 14.5px; }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--line); }
.dtable thead th { font: 400 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border-bottom-color: var(--ink); }
.dtable td:first-child { font-weight: 500; color: var(--ink); }
.legal__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* 404 */
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hh) + 30px) 0 60px; background-color: #DDD5C5; overflow: clip; }
.lost__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.lost__inner { position: relative; display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 40px; align-items: end; }
.lost__num { font: 400 clamp(130px, 30vw, 420px)/.8 var(--f-title); letter-spacing: .02em; color: #2E2A25; text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 -1px 0 rgba(0, 0, 0, .22); }
.carve-on .lost__num { color: transparent; text-shadow: none; }
.lost h1 { font: 400 clamp(36px, 4vw, 56px)/1.02 var(--f-serif); margin-bottom: 18px; }
.lost p { color: var(--ink-2); }
.lost .hero__cta { margin-top: 26px; }


/* where we build */
.area-tick { stroke: rgba(231, 224, 210, .3); stroke-width: 1; }
.area-cardinal { font: 500 13px var(--f-mono); fill: var(--stone); }
.area-ring { fill: none; stroke: rgba(231, 224, 210, .3); stroke-width: 1; }
.area-ring--main { stroke: var(--lichen); stroke-width: 1.4; }
.area-rl { font: 500 11px var(--f-mono); fill: rgba(231, 224, 210, .55); letter-spacing: .08em; }
.area-rl--river { fill: rgba(150, 180, 190, .7); letter-spacing: .3em; }
.area-river { fill: none; stroke: rgba(120, 160, 172, .55); stroke-width: 3; stroke-linecap: round; }
.area-dot { fill: var(--stone); }
.area-town text { font: 400 13px var(--f-sans); fill: rgba(231, 224, 210, .86); }
.area-home rect { fill: var(--lichen); }
.area-home text { font: 500 12px var(--f-mono); fill: var(--lichen); letter-spacing: .1em; }
.page-hero--legal { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero--legal h1 { font-size: clamp(48px, 7vw, 104px); }
.legal code { font: 500 .88em var(--f-mono); background: var(--stone); padding: 1px 5px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 0; }
  .nav__link { padding: 10px 10px; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .tool:nth-child(2) { border-right: 0; }
  .tool:nth-child(3) { padding-left: 0; }
  .tool:nth-child(n+3) { border-top: 1px solid var(--vline); }
  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger div:nth-child(n+3) { border-top: 1px solid var(--vline); }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .nav, .header-call { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 900px) {
  :root { --hh: 64px; }
  body { font-size: 16px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 18px; }
  .hero__inner { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .carved { font-size: clamp(56px, 19.4vw, 120px); line-height: .96; }
  .hero__aside { grid-column: 1; padding-bottom: 26px; align-self: end; }
  .hero__lead { font-size: 16.5px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 18px; }
  .hero__facts { gap: 4px 18px; font-size: 11px; }
  .about__grid, .brief__grid, .svc, .page-hero__grid, .svc-sec__grid, .brief-sec__grid, .visit__grid, .legal__grid { grid-template-columns: 1fr; }
  .principles li { grid-template-columns: 40px 1fr; }
  .principles li > span:last-child { grid-column: 2; }
  .about__photo { max-width: 520px; }
  .svc__frame { display: none; }
  .svc__inline { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 28px; }
  .svc__item a { grid-template-columns: 40px 1fr; gap: 12px; padding: 26px 0 20px; }
  .svc__go { display: none; }
  .svc__item.is-active .svc__t { transform: none; }
  .method__grid { grid-template-columns: 1fr; gap: 0; }
  .sheet { grid-column: 1; grid-row: 1; top: calc(var(--hh) + 6px); height: auto; min-height: 0; z-index: 3; box-shadow: 0 18px 30px -24px rgba(26, 25, 22, .5); }
  html.hdr-hidden .sheet { top: 8px; }
  .sheet__paper { padding: 4px; aspect-ratio: 960 / 840; max-height: 46vh; margin-inline: auto; width: 100%; }
  .sheet__block { grid-template-columns: auto 1fr; font-size: 9.5px; }
  .sheet__block > span:nth-child(1), .sheet__block > span:nth-child(3) { display: none; }
  .sheet::before { content: ""; position: absolute; left: -40px; right: -40px; bottom: 100%; height: 120px; background: var(--paper); }
  .steps { grid-row: 2; padding: 8vh 0 18vh; }
  .step { min-height: 52vh; padding-left: 16px; }
  .step img { width: 100%; }
  .tools { grid-template-columns: 1fr 1fr; }
  .tool { padding: 26px 16px 28px 0; }
  .tool + .tool { padding-left: 16px; }
  .tool:nth-child(3) { padding-left: 0; }
  .tool__fig { width: 110px; height: 110px; }
  .tool h3 { font-size: 26px; }
  .tool p { font-size: 14.5px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger div, .ledger div + div { padding: 18px 0; border-left: 0; }
  .ledger div + div { border-top: 1px solid var(--vline); }
  .clients__grid { grid-template-columns: 1fr; }
  .client { min-height: 0; }
  .client h3 { margin-top: 26px; }
  .talk { min-height: 78vh; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 36px; }
  .footer__legal { flex-direction: column; }
  .page-hero__photo { aspect-ratio: 4 / 3; }
  .svc-sec__head { grid-template-columns: 54px 1fr; }
  .incl { grid-template-columns: 1fr; }
  .prog__row { grid-template-columns: 100px 1fr; font-size: 12.5px; }
  .matrix thead { display: none; }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; width: 100% !important; }
  .matrix tr { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
  .matrix th, .matrix td { border: 0; padding: 4px 0; text-align: left !important; }
  .matrix td[data-k]::before { content: attr(data-k) " "; font: 400 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 8px; }
  .matrix td[data-k] { display: inline-flex; align-items: center; width: auto !important; margin-right: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .form { grid-template-columns: 1fr; }
  .toc { position: static; display: none; }
  .reg div { grid-template-columns: 1fr; gap: 2px; }
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; width: 100%; }
  .dtable tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .dtable td { border: 0; padding: 3px 0; }
  .dtable td[data-k]::before { content: attr(data-k); display: block; font: 400 10px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
  .lost__inner { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hero__cta .btn { flex: 1 1 auto; justify-content: space-between; }
  .tools { grid-template-columns: 1fr; }
  .tool, .tool + .tool, .tool:nth-child(3) { padding: 26px 0; border-right: 0; border-top: 1px solid var(--vline); }
}

/* reduced motion / static: everything in its final place */
.reduce *, .is-static * { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
