/* Intrepid Signature Landscape - "The Plan Sheet"
   Paper + ink, hairline rules, plan callouts, sheet codes, contour lines. */

/* fonts */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-roman.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* metric-matched fallbacks keep layout shift small while web fonts load */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 104%; ascent-override: 93%; descent-override: 24%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 98%; }

/* tokens */
:root {
  --forest: #1E3326;
  --forest-2: #2B4535;
  --forest-3: #3A5A45;
  --vellum: #F3EFE4;
  --paper: #E9E3D3;
  --paper-2: #DDD5C1;
  --sage: #8FA58A;
  --sage-light: #C9D3BE;
  --clay: #C0603A;        /* fills, dots, nodes (non-text) */
  --clay-ink: #9E4524;    /* clay for text / button fills: 5.5:1 on vellum, 4.9:1 on paper */
  --clay-light: #E39A73;  /* clay on forest: 5.9:1 */
  --ochre: #D9A441;
  --ink: var(--forest);
  --muted: #4A5A4F;       /* 6.4:1 on vellum */
  --rule: rgba(30, 51, 38, .16);
  --rule-2: rgba(30, 51, 38, .32);
  --grid: rgba(30, 51, 38, .055);

  --f-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --f-text: "Instrument Sans", "Instrument Fallback", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.18rem, 1.08rem + .4vw, 1.38rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.45rem + 1.9vw, 2.95rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 4rem);
  --step-5: clamp(2.45rem, 1.45rem + 4.3vw, 5.1rem);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --space: clamp(64px, 8.5vw, 124px);
  --hh: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--vellum);
  /* vellum grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .2 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 var(--step-0)/1.62 var(--f-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--clay); }
p, ul, ol, dl, dd, figure, address, blockquote { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; font-optical-sizing: auto; line-height: 1.06; letter-spacing: -.018em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 350; color: var(--clay-ink); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; letter-spacing: -.01em; }
strong { font-weight: 600; }
::selection { background: var(--sage-light); color: var(--forest); }
:focus-visible { outline: 2px solid var(--clay-ink); outline-offset: 3px; border-radius: 1px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--forest); color: var(--vellum); padding: 12px 18px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; } .mt-xl { margin-top: clamp(48px, 6vw, 80px); }

/* shared atoms */
.kicker { display: inline-block; font: 500 .74rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.kicker--leader {
  padding-left: 46px;
  background:
    radial-gradient(circle, var(--clay) 3.5px, transparent 4px) 0 50% / 8px 8px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 50% / 30px 1px no-repeat;
}
.sheet { display: inline-flex; align-items: stretch; margin: 0 0 22px; border: 1px solid currentColor; font: 500 .7rem/1 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; }
.sheet__code { background: var(--ink); color: var(--vellum); padding: 7px 9px 6px; }
.sheet__name { padding: 7px 11px 6px; }
.section--forest .sheet__code, .cta-band .sheet__code { background: var(--vellum); color: var(--forest); }

.lede { font-size: var(--step-1); line-height: 1.55; max-width: 38em; }
.muted { color: var(--muted); }
.prose p + p { margin-top: 1em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 50px; padding: .85em 1.35em;
  border: 1px solid transparent; border-radius: 2px;
  font: 600 1rem/1.1 var(--f-text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay-ink); color: #FBF8F1; }
.btn--primary:hover { background: var(--forest); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--vellum); }
.btn--light { background: var(--vellum); color: var(--forest); }
.btn--light:hover { background: var(--ochre); }
.btn--ghost-light { border-color: rgba(243, 239, 228, .7); color: var(--vellum); }
.btn--ghost-light:hover { background: var(--vellum); color: var(--forest); }
.btn--sm { min-height: 44px; padding: .7em 1.1em; font-size: .94rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px; min-height: auto; line-height: 1.5;
}
.link-arrow::before { content: ""; position: absolute; inset: -12px -6px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--clay-ink); }
.section--forest .link-arrow:hover, .cta-band .link-arrow:hover { color: var(--ochre); }

/* texture layers */
.topo { position: relative; isolation: isolate; }
.topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: currentColor;
  -webkit-mask: url("/assets/img/topo.svg") 0 0 / 1100px auto repeat;
  mask: url("/assets/img/topo.svg") 0 0 / 1100px auto repeat;
  opacity: .075;
}
.topo--hero::before {
  -webkit-mask-image: url("/assets/img/topo.svg"), linear-gradient(100deg, transparent 15%, #000 70%);
  mask-image: url("/assets/img/topo.svg"), linear-gradient(100deg, transparent 15%, #000 70%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  -webkit-mask-size: 1100px auto, 100% 100%; mask-size: 1100px auto, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat;
  opacity: .1;
}
.topo--dark::before { opacity: .06; }
.topo--faint::before { opacity: .06; }
.grid-paper { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }

/* demo banner */
.demo-banner {
  background: var(--forest); color: var(--sage-light);
  font: 500 .7rem/1.45 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 8px var(--gutter);
}
.demo-banner strong { color: var(--ochre); font-weight: 500; }
@media (max-width: 479.98px) {
  .demo-banner { font-size: 0; padding-block: 7px; }
  .demo-banner strong { font-size: .68rem; }
  .demo-banner::after { content: " \2014  not the live site"; content: " \2014  not the live site" / ""; font-size: .68rem; }
}

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--vellum); border-bottom: 1px solid var(--rule-2); transition: box-shadow .25s; }
.site-header.is-condensed { box-shadow: 0 10px 30px -22px rgba(30, 51, 38, .55); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--hh); transition: min-height .25s var(--ease); }
.site-header.is-condensed .site-header__inner { min-height: 62px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--forest); text-decoration: none; flex: none; min-height: 44px; }
.brand__mark { height: 40px; width: auto; transition: height .25s var(--ease); }
.site-header.is-condensed .brand__mark { height: 34px; }
.brand__name { display: none; padding-left: 14px; border-left: 1px solid var(--rule-2); font: 600 .7rem/1.25 var(--f-text); letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 420px) { .brand__name { display: block; } }

.brand, .nav-toggle { position: relative; z-index: 45; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; min-width: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; color: var(--forest); cursor: pointer;
  font: 500 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.nav-toggle__icon { position: relative; width: 22px; height: 14px; }
.nav-toggle__icon::before, .nav-toggle__icon::after, .nav-toggle__icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__icon::before { top: 0; }
.nav-toggle__icon span { top: 6.25px; }
.nav-toggle__icon::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6.25px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span { opacity: 0; }

.site-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; }
.site-nav__link[aria-current="page"], .site-nav__link[data-current="section"] { color: var(--clay-ink); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font: 500 .9rem/1 var(--f-mono); letter-spacing: .02em; }
.nav-phone:hover span { text-decoration: underline; text-decoration-color: var(--clay); }
.sub-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.sub-toggle svg { transition: transform .2s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.subnav a { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.subnav__code { white-space: nowrap; font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; color: var(--clay-ink); }
.subnav a[aria-current="page"] .subnav__name { text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .25em; }

/* mobile menu */
@media (max-width: 959.98px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 40;
    padding: calc(var(--menu-top, 96px) + 12px) var(--gutter) 40px;
    background: var(--vellum);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-open, .nav-open body { overflow: hidden; }
  .site-nav__list > li { border-bottom: 1px solid var(--rule); }
  .site-nav__link { font: 400 1.9rem/1.1 var(--f-display); padding: 14px 0; width: 100%; }
  .subnav { padding: 0 0 16px; }
  .subnav a { font-size: 1.05rem; }
  .site-nav__actions { display: grid; gap: 12px; margin-top: 28px; }
  .site-nav__actions .btn { width: 100%; min-height: 54px; }
  .nav-phone { font-size: 1.1rem; }
}

/* desktop nav */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
  .site-nav__list { display: flex; align-items: center; gap: clamp(4px, 1vw, 14px); }
  .site-nav__item { position: relative; display: flex; align-items: center; }
  .site-nav__link { padding: 0 8px; }
  .site-nav__link::after {
    content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 1.5px;
    background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after, .site-nav__link[data-current="section"]::after { transform: scaleX(1); }
  .site-nav__item--sub .site-nav__link { padding-right: 2px; }
  .sub-toggle { display: inline-flex; }
  .subnav {
    position: absolute; top: calc(100% + 10px); left: -12px; z-index: 5;
    width: 330px; padding: 8px;
    background: var(--vellum); border: 1px solid var(--forest);
    box-shadow: 8px 8px 0 -1px var(--paper-2);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s, transform .22s var(--ease), visibility 0s .22s;
  }
  .subnav::before {
    content: "Index of services"; display: block; padding: 8px 10px 10px; margin-bottom: 4px;
    border-bottom: 1px solid var(--rule); color: var(--muted);
    font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  }
  .is-open > .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .subnav a { padding: 6px 10px; font-size: .97rem; }
  .subnav a:hover { background: var(--paper); }
  .site-nav__actions { display: flex; align-items: center; gap: 18px; }
  .nav-phone { display: none; }
}
@media (min-width: 1100px) { .nav-phone { display: inline-flex; } }
@media (max-width: 1239.98px) and (min-width: 960px) { .brand__name { display: none; } }

/* breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: var(--sage); }
.breadcrumbs a { display: inline-block; text-decoration: none; padding-block: 14px; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }

/* sections */
.section { padding-block: var(--space); position: relative; }
.section--paper { background-color: var(--paper); }
.section--forest { background-color: var(--forest); color: var(--vellum); }
.section--forest h2 em, .section--forest h3 em, .cta-band h2 em { color: var(--clay-light); }
.section--forest :focus-visible, .cta-band :focus-visible, .mobile-bar :focus-visible, .demo-banner :focus-visible { outline-color: var(--ochre); }
.section--tight { padding-block: calc(var(--space) * .6); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section-head .sheet { margin-bottom: 4px; justify-self: start; }
.section-head p:not(.sheet) { color: var(--muted); font-size: var(--step-1); max-width: 40em; }
.section--forest .section-head p:not(.sheet) { color: var(--sage-light); }
@media (min-width: 960px) {
  .section-head--split { display: grid; grid-template-columns: 5fr 6fr; gap: 24px 64px; max-width: none; align-items: end; }
  .section-head--split .sheet { grid-column: 1 / -1; }
}

/* home hero */
.hero { padding-block: clamp(36px, 6vw, 72px) 0; color: var(--ink); }
.hero__grid { display: grid; gap: 28px; }
.hero__title { font-size: var(--step-5); line-height: 1; letter-spacing: -.025em; max-width: 15.5em; margin-top: 18px; font-variation-settings: "opsz" 144; }
.hero__slogan { font: italic 400 var(--step-2)/1.2 var(--f-display); color: var(--forest-3); }
.hero__lede { margin-top: 14px; font-size: var(--step-1); line-height: 1.55; max-width: 30em; }
.hero__copy .ctas { margin-top: 26px; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 40px; }
  .hero__head { grid-column: 1 / -1; }
  .hero__copy { grid-column: 1 / span 4; align-self: start; padding-top: 6px; border-top: 1px solid var(--rule-2); padding-top: 26px; }
  .hero__figure { grid-column: 5 / -1; }
  .hero__copy .ctas { flex-direction: column; align-items: stretch; }
}

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--forest); border-bottom: 1px solid var(--rule-2); }
.facts li { padding: 20px 16px 22px 0; display: grid; gap: 6px; align-content: start; }
.facts li:nth-child(odd) { border-right: 1px solid var(--rule-2); }
.facts li:nth-child(even) { padding-left: 16px; }
.facts li:nth-child(-n+2) { border-bottom: 1px solid var(--rule-2); }
.facts__key { font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); }
.facts__val { font: 400 var(--step-1)/1.2 var(--f-display); letter-spacing: -.01em; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li, .facts li:nth-child(even) { padding: 24px 22px 26px; border-right: 1px solid var(--rule-2); border-bottom: 0 !important; }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
}

/* plan figure (annotated photo) */
.frame { position: relative; }
.frame__img { position: relative; aspect-ratio: 3 / 2; background: var(--paper-2); }
.frame__img > picture { position: absolute; inset: 0; overflow: hidden; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; }
.frame__img::before, .frame__img::after {          /* crop marks */
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none;
  border: 0 solid var(--forest);
}
.frame__img::before { top: -9px; left: -9px; border-top-width: 1px; border-left-width: 1px; }
.frame__img::after { bottom: -9px; right: -9px; border-bottom-width: 1px; border-right-width: 1px; }
.frame figcaption, .fig-cap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule-2);
  font: 500 .7rem/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.plan .frame__img { aspect-ratio: 3 / 2; }
.plan__leaders { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.plan__leaders path { fill: none; stroke: #FBF8F1; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.plan__leaders .halo { stroke: rgba(30, 51, 38, .55); stroke-width: 3; }
.plan__marks { position: absolute; inset: 0; z-index: 2; }
.plan__dot {
  position: absolute; left: var(--x); top: var(--y);
  width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--clay-ink); color: #fff; border: 2px solid #FBF8F1;
  font: 500 .66rem/1 var(--f-mono);
  box-shadow: 0 0 0 1px rgba(30, 51, 38, .35), 0 4px 10px rgba(0, 0, 0, .25);
}
.plan__chip {
  position: absolute; left: var(--cx); top: var(--cy);
  display: none; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 10px 6px;
  background: var(--vellum); color: var(--forest); border: 1px solid var(--forest);
  font: 500 .68rem/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(30, 51, 38, .28);
}
.plan__chip b { font-weight: 500; color: var(--clay-ink); }
.plan__chip--r { transform: translateX(-100%); }
.plan__legend { display: grid; gap: 0; margin-top: 14px; counter-reset: legend; }
.plan__legend li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.plan__legend li::before { counter-increment: legend; content: counter(legend, decimal-leading-zero); font: 500 .7rem/1 var(--f-mono); color: var(--clay-ink); letter-spacing: .08em; }
.plan__legend strong { font-weight: 600; }
.plan__ornament { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); }
.plan__ornament .north { width: 16px; }
.plan__ornament .scalebar span { width: 16px; }
.plan__leaders { display: none; }
.plan { container-type: inline-size; }
@container (min-width: 700px) {
  .plan__chip { display: inline-flex; }
  .plan__leaders { display: block; }
  .plan__legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .plan__leaders [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) forwards; }
  .plan__leaders .halo { opacity: 0; animation: pop .6s var(--ease) .6s forwards; }
  .plan__leaders .l2 { animation-delay: .25s; } .plan__leaders .l3 { animation-delay: .4s; } .plan__leaders .l4 { animation-delay: .55s; }
  .plan__chip, .plan__dot { opacity: 0; animation: pop .5s var(--ease) forwards; animation-delay: .5s; }
  .plan__marks > :nth-child(n+3) { animation-delay: .7s; }
  .plan__marks > :nth-child(n+5) { animation-delay: .85s; }
  .plan__marks > :nth-child(n+7) { animation-delay: 1s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }

/* north arrow + scale bar */
.north { width: 26px; height: auto; color: var(--forest); }
.scalebar { display: inline-flex; height: 7px; border: 1px solid currentColor; }
.scalebar span { width: 26px; }
.scalebar span:nth-child(odd) { background: currentColor; }

/* index of sheets */
.sheet-index { border-top: 1px solid var(--forest); counter-reset: sheet; }
.sheet-row { position: relative; display: grid; gap: 14px; padding: 22px 0 26px; border-bottom: 1px solid var(--rule-2); transition: background-color .25s; }
.sheet-row__code { white-space: nowrap; font: 500 .74rem/1 var(--f-mono); letter-spacing: .14em; color: var(--clay-ink); }
.sheet-row__title { font-size: var(--step-3); line-height: 1.02; }
.sheet-row__title a { text-decoration: none; }
.sheet-row__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.sheet-row__text { color: var(--muted); max-width: 34em; }
.sheet-row__img { order: -1; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); }
.sheet-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.sheet-row__go { display: inline-flex; align-items: center; gap: 8px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.sheet-row__go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sheet-row:hover .sheet-row__img img { transform: scale(1.04); }
.sheet-row:hover .sheet-row__go svg { transform: translateX(5px); }
.sheet-row:hover .sheet-row__title a { color: var(--clay-ink); }
.sheet-row:focus-within { outline: 2px solid var(--clay-ink); outline-offset: 4px; }
.sheet-row:focus-within a:focus-visible { outline: none; }
@media (min-width: 760px) {
  .sheet-row { grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.25fr) 230px; align-items: center; gap: 28px; padding: 26px 0; }
  .sheet-row__img { order: 0; aspect-ratio: 3 / 2; grid-row: 1 / span 2; grid-column: 4; }
  .sheet-row__code { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .sheet-row__title { grid-column: 2; grid-row: 1 / span 2; }
  .sheet-row__text { grid-column: 3; grid-row: 1; align-self: end; }
  .sheet-row__go { grid-column: 3; grid-row: 2; align-self: start; }
  .sheet-row:hover { background-color: rgba(233, 227, 211, .7); }
}
@media (min-width: 1100px) { .sheet-row { grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1.2fr) 270px; padding: 30px 0; } }

/* AB 1572 timeline */
.ab1572 { overflow: hidden; }
.ab1572__grid { display: grid; gap: 40px; }
.ab1572 h2 { color: var(--vellum); max-width: 16em; }
.ab1572__lede { color: var(--sage-light); font-size: var(--step-1); max-width: 36em; margin-top: 20px; }
.ab1572__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(36px, 5vw, 56px); }
.ab1572__cta .link-arrow { color: var(--vellum); }
.timeline { position: relative; display: grid; gap: 0; margin-top: clamp(40px, 6vw, 72px); }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--sage) 0 0) 0 0 / 1px 100%; }
.timeline__item { position: relative; padding: 0 0 34px 48px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node { position: absolute; left: 4px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--forest); border: 1.5px solid var(--sage-light); }
.timeline__date { font: 500 .78rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-light); }
.timeline__year { display: block; font: 400 var(--step-4)/1 var(--f-display); letter-spacing: -.03em; color: var(--vellum); margin: 6px 0 8px; font-variation-settings: "opsz" 144; }
.timeline__who { font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.timeline__note { color: var(--sage-light); margin-top: 6px; font-size: .97rem; max-width: 26em; }
.timeline__flag {
  display: inline-block; margin-bottom: 10px; padding: 5px 9px 4px;
  background: var(--clay-ink); color: #fff;
  font: 500 .66rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.timeline__item--you .timeline__node { background: var(--clay); border-color: #FBF8F1; width: 23px; height: 23px; left: 0; top: 0; box-shadow: 0 0 0 6px rgba(192, 96, 58, .25); }
.timeline__item--you .timeline__year { color: var(--clay-light); }
.timeline__count { display: inline-block; margin-top: 10px; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); }
.timeline--light .timeline__node { background: var(--vellum); border-color: var(--forest); }
.timeline--light::before { background: var(--sage); }
.timeline--light .timeline__date, .timeline--light .timeline__note { color: var(--muted); }
.timeline--light .timeline__year { color: var(--forest); }
.timeline--light .timeline__item--you .timeline__year { color: var(--clay-ink); }
.timeline--light .timeline__item--you .timeline__node { border-color: var(--vellum); background: var(--clay); }
.timeline--light .timeline__count { color: var(--clay-ink); }
@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px; padding-top: 52px; }
  .timeline::before { left: 0; right: 0; top: 63px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--sage) 0 70%, transparent) 0 0 / 100% 1px; }
  .timeline__item { padding: 44px 0 0; }
  .timeline__node { left: 0; top: 4px; }
  .timeline__item--you .timeline__node { top: 0; left: -4px; }
  .timeline__flag { position: absolute; top: -48px; left: -4px; margin: 0; }
  .timeline__flag::after { content: ""; position: absolute; left: 14px; top: 100%; width: 1px; height: 22px; background: var(--clay); }
}
@media (prefers-reduced-motion: no-preference) {
  .timeline__item--you .timeline__node { animation: pulse 2.6s ease-out infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(192, 96, 58, .55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(192, 96, 58, 0); } }

/* who we serve */
.serve__grid { display: grid; gap: 40px; }
.types { counter-reset: t; border-top: 1px solid var(--forest); }
.types li {
  counter-increment: t; display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--rule-2);
  font: 400 var(--step-2)/1.15 var(--f-display); letter-spacing: -.01em;
}
.types li::before { content: counter(t, decimal-leading-zero); font: 500 .72rem/1 var(--f-mono); letter-spacing: .1em; color: var(--clay-ink); }
@media (min-width: 960px) {
  .serve__grid { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .serve__intro { position: sticky; top: 110px; }
  .types { columns: 2; column-gap: 40px; border-top: 0; }
  .types li { break-inside: avoid; border-top: 0; }
  .types li:nth-child(1), .types li:nth-child(4) { border-top: 1px solid var(--forest); }
}

/* process steps */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 24px 0 28px 64px; border-top: 1px solid var(--rule-2); }
.step__no {
  position: absolute; left: 0; top: 22px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--forest); border-radius: 50%;
  font: 500 .76rem/1 var(--f-mono); letter-spacing: .06em; background: var(--vellum);
}
.section--paper .step__no { background: var(--paper); }
.step h3, .step h4 { font-size: var(--step-1); font-family: var(--f-text); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.step h4 { margin: 0; }
.step p { color: var(--muted); margin-top: 8px; font-size: .98rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 28px; }
  .step { padding: 70px 0 0; border-top: 0; }
  .step__no { top: 0; }
  .step::before { content: ""; position: absolute; left: 52px; right: -20px; top: 22px; height: 1px; background: var(--forest); }
  .step::after { content: ""; position: absolute; right: -20px; top: 18px; border: 4.5px solid transparent; border-left: 7px solid var(--forest); border-right: 0; }
  .step:last-child::before, .step:last-child::after { display: none; }
}

/* split media blocks */
.split { display: grid; gap: 36px; align-items: center; }
.split__media .frame__img { aspect-ratio: 4 / 3; }
.split--text { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); }
}
.signature {
  display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule-2);
  font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.signature .emblem { width: 38px; height: 38px; color: var(--forest); flex: none; }

/* service area / key plan */
.area__grid { display: grid; gap: 40px; }
.keyplan { position: relative; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--forest); background-color: rgba(243, 239, 228, .6); }
.keyplan__label { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.cities li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
.cities li::before { content: ""; width: 9px; height: 9px; flex: none; background: linear-gradient(var(--clay) 0 0) 50% / 100% 1.5px no-repeat, linear-gradient(var(--clay) 0 0) 50% / 1.5px 100% no-repeat; }
.counties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.counties span { padding: 6px 10px; border: 1px solid var(--forest); font: 500 .7rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 640px) { .cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .area__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }

/* FAQ (markup generated by build.py) */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; } .faq-wrap > header { position: sticky; top: 110px; } }
.faq { border-top: 1px solid var(--forest); }
.faq__item { border-bottom: 1px solid var(--rule-2); }
.faq__q { position: relative; display: block; cursor: pointer; list-style: none; padding: 22px 52px 22px 0; min-height: 44px; font: 400 var(--step-1)/1.3 var(--f-display); letter-spacing: -.005em; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border: 1px solid var(--forest); border-radius: 50%;
  background:
    linear-gradient(var(--forest) 0 0) 50% / 11px 1.5px no-repeat,
    linear-gradient(var(--forest) 0 0) 50% / 1.5px 11px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.faq__item[open] > .faq__q::after { transform: rotate(45deg); background-color: var(--sage-light); }
.faq__q:hover { color: var(--clay-ink); }
.faq__a { padding: 0 52px 24px 0; color: var(--muted); max-width: 44em; }
.faq__a a { color: var(--forest); font-weight: 500; }

/* CTA band */
.cta-band { background-color: var(--forest); color: var(--vellum); padding-block: clamp(64px, 8vw, 112px); }
.cta-band__grid { display: grid; gap: 32px; align-items: end; }
.cta-band h2 { font-size: var(--step-4); color: var(--vellum); max-width: 13em; }
.cta-band__lede { color: var(--sage-light); font-size: var(--step-1); max-width: 32em; margin-top: 18px; }
.cta-band .ctas { margin-top: 0; }
.cta-band__contact { display: grid; gap: 0; margin-top: 14px; font: 500 .82rem/1.6 var(--f-mono); letter-spacing: .04em; }
.cta-band__contact a { display: inline-block; padding-block: 12px; color: var(--vellum); text-decoration-color: rgba(243, 239, 228, .4); }
@media (min-width: 960px) { .cta-band__grid { grid-template-columns: 7fr 5fr; gap: 64px; } .cta-band .ctas { justify-content: flex-end; } .cta-band__side { justify-self: end; text-align: right; } .cta-band__contact { justify-items: end; } }

/* inner page head */
.page-head { padding-block: clamp(12px, 2vw, 20px) clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--rule-2); }
.page-head__grid { display: grid; gap: 40px; margin-top: clamp(20px, 3vw, 40px); }
.page-head h1 { font-size: var(--step-4); line-height: 1.02; letter-spacing: -.025em; font-variation-settings: "opsz" 144; }
.page-head--text h1 { font-size: var(--step-5); line-height: 1; }
.page-head .lede { margin-top: 24px; }
.page-head__figure .frame__img { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .page-head__grid { grid-template-columns: 6fr 5fr; gap: 64px; align-items: end; }
  .page-head--text .page-head__grid { grid-template-columns: 8fr 4fr; }
  .page-head .lede { font-size: var(--step-1); }
}
.page-head--text h1 { max-width: 14em; }
.page-head__aside { font: 500 .72rem/1.7 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--rule-2); padding-left: 18px; }
.page-head__aside p + p { margin-top: 10px; color: var(--ink); }
@media (max-width: 959.98px) { .page-head__aside { display: none; } }

/* service detail blocks */
.included { display: grid; gap: 0 40px; border-top: 1px solid var(--forest); }
.included li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--rule-2); }
.included li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border: 1px solid var(--forest); background: var(--clay); box-shadow: inset 0 0 0 3px var(--vellum); }
.included strong { display: block; font-weight: 600; }
.included span { color: var(--muted); font-size: .97rem; }
@media (min-width: 760px) { .included { grid-template-columns: 1fr 1fr; } }

.outcomes { display: grid; gap: 0; counter-reset: o; }
.outcome { padding: 26px 0; border-top: 1px solid var(--rule-2); }
.outcome__no { font: 400 var(--step-4)/1 var(--f-display); color: var(--clay-ink); font-style: italic; letter-spacing: -.03em; display: block; margin-bottom: 14px; }
.outcome h3 { font-size: var(--step-2); }
.outcome p { margin-top: 10px; color: var(--muted); }
.section--forest .outcome { border-color: rgba(201, 211, 190, .3); }
.section--forest .outcome__no { color: var(--clay-light); }
.section--forest .outcome p { color: var(--sage-light); }
@media (min-width: 900px) { .outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } .outcome { border-top: 1px solid var(--forest); } .section--forest .outcome { border-color: var(--sage); } }

.crosslink {
  position: relative; display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--forest); background-color: var(--vellum);
  box-shadow: 10px 10px 0 -1px var(--paper-2);
}
.crosslink__label { font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); }
.crosslink h2 { font-size: var(--step-3); }
.crosslink p { color: var(--muted); max-width: 40em; }
@media (min-width: 900px) { .crosslink { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; } .crosslink > :not(.crosslink__go) { grid-column: 1; } .crosslink__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; } }

.related { display: grid; gap: 0; border-top: 1px solid var(--forest); }
.related li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule-2); }
.related__img { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.related__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.related__code { white-space: nowrap; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; color: var(--clay-ink); }
.related h3 { font-size: var(--step-2); margin-top: 6px; }
.related h3 a { text-decoration: none; }
.related h3 a::after { content: ""; position: absolute; inset: 0; }
.related p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.related li:hover h3 a { color: var(--clay-ink); }
.related li:hover img { transform: scale(1.06); }
@media (min-width: 900px) {
  .related { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 0; }
  .related li { grid-template-columns: 1fr; align-items: start; border-top: 1px solid var(--forest); border-bottom: 0; padding-top: 20px; }
  .related__img { aspect-ratio: 3 / 2; order: 2; }
}

/* services hub entries */
.svc { display: grid; gap: 28px; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--forest); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc__media .frame__img { aspect-ratio: 3 / 2; }
.svc h2 { font-size: var(--step-4); margin-top: 4px; }
.svc h2 a { text-decoration: none; }
.svc h2 a:hover { color: var(--clay-ink); }
.svc__summary { font-size: var(--step-1); margin-top: 18px; max-width: 32em; }
.svc__list { margin-top: 22px; border-top: 1px solid var(--rule-2); }
.svc__list li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--rule); position: relative; }
.svc__list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 1px; background: var(--clay); }
.svc .ctas { margin-top: 26px; align-items: center; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
  .svc:nth-child(even) .svc__media { order: 2; }
}

.steps--stack { grid-template-columns: 1fr !important; gap: 0 !important; }
.steps--stack .step { padding: 22px 0 24px 64px; border-top: 1px solid var(--rule-2); }
.steps--stack .step__no { top: 20px; }
.steps--stack .step::before, .steps--stack .step::after { display: none; }

.season-block { margin-top: clamp(48px, 6vw, 80px); }
.season-intro { color: var(--muted); max-width: 46em; }
.seasons { display: grid; margin-top: 28px; border-top: 1px solid var(--forest); }
.seasons li { padding: 18px 0 20px; border-bottom: 1px solid var(--rule-2); }
.seasons__name { margin-bottom: 10px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); }
.seasons li p:last-child { color: var(--muted); font-size: .97rem; }
@media (min-width: 760px) { .seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; border-top: 0; } .seasons li { border-top: 1px solid var(--forest); border-bottom: 0; } }

/* AB 1572 explainer (water page) */
.defs { display: grid; gap: 20px; }
.def { padding: 24px; border: 1px solid var(--forest); background-color: var(--vellum); }
.def--no { background-color: var(--forest); color: var(--vellum); border-color: var(--forest); }
.def__tag { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); }
.def--no .def__tag { color: var(--clay-light); }
.def h3 { font-size: var(--step-2); margin: 10px 0 10px; }
.def p { color: var(--muted); }
.def--no p { color: var(--sage-light); }
@media (min-width: 860px) { .defs { grid-template-columns: 1fr 1fr; } }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 1.5px solid var(--forest); border-bottom: 1.5px solid var(--forest); transform: rotate(-45deg); }
.callout-note { display: grid; gap: 8px; padding: 22px 24px; margin-top: 32px; border-left: 3px solid var(--clay); background-color: var(--paper); }
.callout-note strong { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); line-height: 1.2; }
.disclaimer { margin-top: 28px; font-size: .9rem; color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--rule-2); max-width: 60em; }
.source-link { font-weight: 600; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }
.sub-h { font-size: var(--step-3); margin-bottom: 18px; }

/* about page */
.meaning { display: grid; gap: 0; border-top: 1px solid var(--forest); }
.meaning__item { padding: 28px 0; border-bottom: 1px solid var(--rule-2); }
.meaning__word { font: italic 400 var(--step-4)/1 var(--f-display); letter-spacing: -.02em; }
.meaning__pron { font: 500 .74rem/1 var(--f-mono); letter-spacing: .1em; color: var(--clay-ink); margin: 10px 0 12px; text-transform: lowercase; }
.meaning__item p:last-child { color: var(--muted); max-width: 30em; }
@media (min-width: 900px) { .meaning { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.principles { display: grid; gap: 0; counter-reset: p; }
.principle { padding: 26px 0; border-top: 1px solid rgba(201, 211, 190, .35); }
.principle h3 { font-size: var(--step-2); color: var(--vellum); }
.principle h3::before { counter-increment: p; content: "P-0" counter(p); display: block; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; color: var(--clay-light); margin-bottom: 14px; }
.principle p { color: var(--sage-light); margin-top: 10px; }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* contact */
.contact__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 7fr 5fr; gap: 64px; } .contact-card { position: sticky; top: 100px; } }
.form { display: grid; gap: 22px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--forest); background-color: rgba(251, 248, 241, .7); }
.form__title { font: 400 var(--step-2)/1.1 var(--f-display); letter-spacing: -.01em; text-transform: none; color: var(--ink); }
.contact-card__title { font: inherit; letter-spacing: inherit; text-transform: inherit; }
.form__head { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--rule-2); font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--clay-ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--f-text); color: var(--ink);
  background: #FBF8F1; border: 1px solid var(--rule-2); border-bottom: 1.5px solid var(--forest); border-radius: 0;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none;
}
.textarea { min-height: 150px; resize: vertical; }
.select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5l4-4' fill='none' stroke='%231E3326' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--forest); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--forest); background-color: #fff; box-shadow: 0 0 0 3px rgba(158, 69, 36, .28); }
.input:user-invalid, .select:user-invalid, .textarea:user-invalid { border-color: #B3261E; border-bottom-color: #B3261E; background-color: #FDF3F1; }
.field__error { display: none; color: #9F2119; font-size: .88rem; font-weight: 500; }
.field:has(:user-invalid) .field__error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; gap: 8px; margin-top: 4px; }
.checks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-2); background: #FBF8F1; cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s; }
.check:hover { border-color: var(--forest); }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--clay-ink); flex: none; }
.check:has(input:checked) { border-color: var(--forest); background: var(--sage-light); }
.check:has(input:focus-visible) { outline: 2px solid var(--clay-ink); outline-offset: 2px; }
.check__code { white-space: nowrap; margin-left: auto; font: 500 .66rem/1 var(--f-mono); letter-spacing: .1em; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 6px; }
.form__note { font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form__status { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 18px 20px; background: var(--forest); color: var(--vellum); }
.form__status:focus { outline: 2px solid var(--clay-ink); outline-offset: 3px; }
.form__status svg { width: 26px; height: 26px; color: var(--ochre); margin-top: 2px; }
.form__status a { color: var(--vellum); font-weight: 600; }
.form__status p + p { margin-top: 6px; color: var(--sage-light); font-size: .95rem; }

.contact-card { border: 1px solid var(--forest); background-color: var(--vellum); }
.contact-card__block { padding: 22px 24px; border-bottom: 1px solid var(--rule-2); }
.contact-card__block:last-child { border-bottom: 0; }
.contact-card__label { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-card__big { font: 400 var(--step-2)/1.2 var(--f-display); letter-spacing: -.01em; }
.contact-card__big a { text-decoration: none; }
.contact-card__big a:hover { color: var(--clay-ink); }
.contact-card__email { display: inline-block; padding-block: 10px; font-weight: 600; word-break: break-word; }
.contact-card__head { background: var(--forest); color: var(--vellum); padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.next { counter-reset: n; display: grid; gap: 12px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: .97rem; }
.next li::before { content: counter(n, decimal-leading-zero); font: 500 .72rem/1.9 var(--f-mono); color: var(--clay-ink); }

/* prose (privacy) */
.prose-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .prose-wrap { grid-template-columns: 3fr 8fr; gap: 72px; } .prose-wrap aside { position: sticky; top: 110px; align-self: start; } }
.prose { max-width: 42em; }
.prose h2 { font-size: var(--step-3); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 12px 0; }
.prose ul li { position: relative; padding: 6px 0 6px 24px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 1px; background: var(--clay); }
.notice { padding: 18px 20px; border: 1px dashed var(--clay-ink); background-color: rgba(233, 227, 211, .6); font-size: .95rem; }
.notice strong { display: block; font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 6px; }

/* 404 */
.lost { padding-block: clamp(56px, 9vw, 120px); }
.lost__code { font: 400 clamp(5rem, 3rem + 12vw, 13rem)/.85 var(--f-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--forest); font-variation-settings: "opsz" 144; margin-bottom: 22px; }
.lost h1 { font-size: var(--step-4); margin-top: 18px; }
.lost__links { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--forest); max-width: 640px; }
.lost__links li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; border-bottom: 1px solid var(--rule-2); text-decoration: none; font: 400 var(--step-2)/1.2 var(--f-display); }
.lost__links li a:hover { color: var(--clay-ink); }
.lost__links span { white-space: nowrap; font: 500 .7rem/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* footer: drawing title block */
.site-footer { padding-block: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 48px); background-color: var(--paper); color: var(--forest); }
.site-footer__slogan { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 28px; }
.site-footer__slogan em { font: italic 400 var(--step-3)/1.1 var(--f-display); letter-spacing: -.02em; }
.titleblock { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--forest); background-color: var(--vellum); font-size: .95rem; }
.tb { padding: 14px 16px 16px; border-right: 1px solid var(--forest); border-bottom: 1px solid var(--forest); min-width: 0; }
.tb__label { font: 500 .62rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.tb__value { font-weight: 600; line-height: 1.4; }
.tb__meta { color: var(--muted); font-size: .9rem; margin-top: 4px; line-height: 1.5; }
.tb a { text-underline-offset: .2em; }
.tb a:hover { color: var(--clay-ink); }
.tb__list a { display: inline-block; padding: 10px 0; }
.tb__list { margin-top: -10px; }
.tb--brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: center; }
.tb__logo { width: 210px; height: auto; }
.tb__about { color: var(--muted); font-size: .92rem; max-width: 26em; }
.tb--services, .tb--notes, .tb--ornament { grid-column: 1 / -1; }
.tb--sheet .tb__value { font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; line-height: 1.25; }
.tb--ornament { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border-bottom: 0; }
.tb--ornament .north { flex: none; }
.tb--ornament .scalebar span { width: 20px; }
.tb__scale { font: 500 .62rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tb__ai { font-family: var(--f-mono); font-size: .8rem; }
.tb--contact a, .tb--notes a { display: inline-block; padding-block: 12px; }
.tb--contact .tb__value, .tb--contact .tb__meta { margin: -12px 0 0; }
@media (max-width: 759.98px) { .titleblock > .tb:nth-child(even) { border-right: 0; } }
@media (max-width: 759.98px) {
  .tb--brand, .tb--services, .tb--notes, .tb--ornament { border-right: 0; }
  .titleblock > .tb--firm { border-right: 1px solid var(--forest); }
  .titleblock > .tb--firm, .titleblock > .tb--contact, .titleblock > .tb--office, .titleblock > .tb--area { grid-column: 1 / -1; border-right: 0; }
  .titleblock > .tb--sheet { border-right: 1px solid var(--forest); }
  .titleblock > .tb--date { grid-column: 1 / -1; border-right: 0; }
  .titleblock > .tb--drawn, .titleblock > .tb--notes { border-right: 0; }
}
@media (min-width: 760px) {
  .titleblock {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
      "brand brand brand brand firm firm firm firm contact contact contact contact"
      "brand brand brand brand office office office office services services services services"
      "area area area area sheet sheet sheet sheet services services services services"
      "drawn drawn drawn date date date date date date orn orn orn"
      "notes notes notes notes notes notes notes notes notes notes notes notes";
  }
  .titleblock > .tb { border-right: 1px solid var(--forest); border-bottom: 1px solid var(--forest); }
  .titleblock > .tb--brand { grid-area: brand; padding: 22px; } .titleblock > .tb--firm { grid-area: firm; } .titleblock > .tb--contact { grid-area: contact; }
  .titleblock > .tb--office { grid-area: office; } .titleblock > .tb--services { grid-area: services; } .titleblock > .tb--area { grid-area: area; }
  .titleblock > .tb--sheet { grid-area: sheet; } .titleblock > .tb--drawn { grid-area: drawn; } .titleblock > .tb--date { grid-area: date; }
  .titleblock > .tb--notes { grid-area: notes; } .titleblock > .tb--ornament { grid-area: orn; justify-content: flex-end; }
  .titleblock > .tb--contact, .titleblock > .tb--services, .titleblock > .tb--ornament, .titleblock > .tb--notes { border-right: 0; }
  .titleblock > .tb--notes { border-bottom: 0; display: flex; align-items: baseline; gap: 18px; }
  .tb--notes .tb__label, .tb--notes .tb__meta { margin: 0; }
  .tb__logo { width: min(100%, 250px); }
}
@media (min-width: 1100px) {
  .titleblock {
    grid-template-areas:
      "brand brand brand firm firm firm contact contact contact services services services"
      "brand brand brand office office office area area area services services services"
      "brand brand brand sheet sheet sheet drawn drawn drawn date date date"
      "notes notes notes notes notes notes notes notes notes orn orn orn";
  }
  .titleblock > .tb--date { border-right: 0; }
  .titleblock > .tb--notes { border-right: 1px solid var(--forest); }
  .titleblock > .tb--ornament { border-bottom: 0; }
}

/* mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 959.98px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.5fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--forest); border-top: 1px solid rgba(243, 239, 228, .25);
    transition: transform .3s var(--ease);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; text-decoration: none; font-weight: 600; color: var(--vellum); }
  .mobile-bar__cta { background: var(--clay-ink); }
  .mobile-bar__call { border-right: 1px solid rgba(243, 239, 228, .2); }
  .nav-open .mobile-bar { transform: translateY(110%); }
}

/* reveal on scroll (JS adds .reveal only to off-screen blocks) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-bar { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

