/* ==========================================================================
   Katama Bay — site system (Oct 2026 rebuild)

   Built on design-system/tokens.css (colour, radius, shadow, gutter, type
   families). This file owns everything else: type scale, spacing, layout,
   components and responsive rules. It replaces design-system/components.css
   for this build. Never hard-code a colour, radius or shadow here — use the
   tokens. Every text pairing used below is listed as passing in
   design-system/accessibility.md.

   Direction: an editorial work order. Wide Archivo headings, Source Serif
   running text, generous space, fine rules and dotted leaders, one dark
   navy plate for the decisive moment. Motion: none.
   ========================================================================== */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-grot);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem); letter-spacing: -0.034em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.3vw, 3rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.32rem); font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.18; }

p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 3px; }

.lede { font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.48; }
.note { font-size: 0.95rem; color: var(--ink-2); }

.eyebrow {
  display: block;
  font-family: var(--font-grot);
  font-size: 0.8125rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink-2);
  margin: 0 0 1.1rem;
}

.mark { background: var(--sky); color: var(--ink); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--ground);
  padding: 0.7rem 1rem; border-radius: var(--r-sm);
  font-family: var(--font-grot); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--gutter); }

.band { padding-block: var(--sec-pad); }
.band-ground { background: var(--ground); }
.band-sheet  { background: var(--sheet); }
.band-tight  { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Two adjacent ground bands read as one; a hairline keeps them apart. */
.band-ground + .band-ground { border-top: 1px solid var(--hair); }

/* Section head: left aligned, editorial. */
.head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.head h2 + p, .head h2 + .lede { margin-top: 1.1rem; }
.head-center { margin-inline: auto; text-align: center; }
.head-center p { margin-inline: auto; }

/* Editorial split: a heading column and a content column. */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 60rem) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
  .split-even { grid-template-columns: 1fr 1fr; }
  .split-center { align-items: center; }
  .split .sticky { position: sticky; top: 6.5rem; }
}
.split .head { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem;
  padding: 0.8rem 1.45rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-grot);
  font-size: 1rem;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--deep); border-color: var(--deep); color: var(--ground); }
.btn-sm { min-height: 2.6rem; padding: 0.55rem 1.1rem; font-size: 0.93rem; }

/* Text link with an arrow: secondary actions. */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.75rem;
  font-family: var(--font-grot); font-weight: 700; font-stretch: 110%;
  font-size: 1rem; letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em;
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { text-decoration-thickness: 2px; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: var(--space-actions); }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 4.5rem;
}
.brand { display: inline-flex; align-items: center; flex: none; padding-block: 0.4rem; }
.brand img { height: 1.9rem; width: auto; }

.nav { display: flex; align-items: center; gap: 0.25rem 1.75rem; }
.nav a:not(.btn) {
  font-family: var(--font-grot); font-size: 0.95rem; font-weight: 600; font-stretch: 105%;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--accent-ink); }

.menu-toggle {
  display: none;
  align-items: center; gap: 0.55rem;
  min-height: 2.75rem; padding: 0.5rem 0.95rem;
  border: 2px solid var(--border); border-radius: var(--r-pill);
  background: var(--ground); color: var(--ink);
  font-family: var(--font-grot); font-size: 0.93rem; font-weight: 700; font-stretch: 110%;
  cursor: pointer;
}
.menu-toggle .bars { display: grid; gap: 4px; width: 18px; }
.menu-toggle .bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }

@media (max-width: 71rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .js .nav.is-open { display: flex; }
  .js .nav a:not(.btn) {
    display: flex; align-items: center; min-height: 3.25rem;
    font-size: 1.08rem; border-bottom: 1px solid var(--hair);
  }
  .js .nav a:not(.btn):hover { border-bottom-color: var(--hair); text-decoration: underline; }
  .js .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--hair); box-shadow: inset 4px 0 0 var(--accent-ink); padding-left: 0.85rem; }
  /* Without JS the links wrap under the logo. */
  html:not(.js) .masthead .wrap { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .nav { flex-wrap: wrap; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero .eyebrow { max-width: 36rem; line-height: 1.5; }
.hero h1 { margin-bottom: 1.4rem; font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.1rem); }
.hero .lede { max-width: 36rem; }
.hero .reassure { margin-top: 1.4rem; max-width: 31rem; }

/* Proof stack: three real screenshots of one client on a navy plate, in the
   order a customer meets them. Google behind, the site in front, monitoring
   pinned bottom left. Phones show the site alone. */
.proof {
  margin: 0;
  background:
    repeating-linear-gradient(to bottom, transparent 0 27px, var(--chart-line) 27px 28px),
    var(--deep);
  border-radius: var(--r);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
}
.proof-stack { position: relative; aspect-ratio: 100 / 76; }
.proof-item { position: absolute; }
.proof-google { left: 0; bottom: 0; width: 78%; z-index: 2; }
.proof-site { right: 0; top: 3%; width: 62%; z-index: 1; }
.proof-card {
  width: 100%;
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  padding: 0.4rem;
}
.proof-tag {
  position: absolute; left: 0.85rem; top: -0.8rem; z-index: 1;
  background: var(--accent); color: var(--ink);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.7rem;
  font-family: var(--font-grot); font-size: 0.8125rem; font-weight: 700; font-stretch: 110%;
  line-height: 1.2; white-space: nowrap;
}
.proof figcaption {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--on-deep);
  font-size: 0.95rem;
}
.proof figcaption a { color: var(--on-deep); }
@media (max-width: 39.99rem) {
  .proof { padding-top: clamp(1.25rem, 3vw, 2rem); }
  .proof-stack { aspect-ratio: auto; }
  .proof-site, .proof-google .proof-tag { display: none; }
  .proof-google { position: static; width: 100%; }
}

/* Browser frame: a client site with the real domain in the bar. Grey dots,
   never traffic lights. The shot crops to 16:10 from the top. */
.browser {
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: clip;
}
.browser-bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.7rem;
  background: var(--sheet);
  border-bottom: 1px solid var(--hair);
}
.browser-dots { display: flex; gap: 0.33rem; flex: none; }
.browser-dots span { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--rule); }
.browser-url {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-grot); font-size: 0.8125rem; font-weight: 500;
  color: var(--ink-2); text-align: center;
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  padding: 0.15rem 0.75rem;
}
.browser-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: var(--sheet); }

/* Inner-page hero: text only. */
.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--hair); }
.page-hero h1 { max-width: 17ch; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.25rem); }
.page-hero .lede { margin-top: 1.4rem; max-width: 44rem; }

/* In-page jump links under a page hero. */
.jump { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.jump a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.45rem 1rem;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  font-family: var(--font-grot); font-size: 0.93rem; font-weight: 600; font-stretch: 105%;
  text-decoration: none; color: var(--ink); background: var(--ground);
}
.jump a:hover { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* Price line in a hero or panel. */
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.85rem; margin-top: 1.75rem; }
.price {
  font-family: var(--font-grot); font-weight: 800; font-stretch: 114%;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.05;
}
.price-line .note { max-width: 34rem; }

/* ---------- fit strip ---------- */
.trades {
  margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-grot); font-size: 0.95rem; font-weight: 600; font-stretch: 108%;
  color: var(--ink-2); line-height: 1.7;
}

/* ---------- journey (three gaps / the system) ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.journey > li { position: relative; counter-increment: step; }
.journey .num { display: flex; align-items: center; margin-bottom: 1.1rem; }
.journey .num::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-grot); font-weight: 800; font-stretch: 118%; font-size: 1.1rem;
}
.journey h3 { margin-bottom: 0.6rem; }
.journey p { font-size: 1rem; }

@media (min-width: 52rem) {
  .journey { grid-template-columns: repeat(var(--steps, 3), 1fr); gap: 2.25rem; }
  .journey > li:not(:last-child) .num::after {
    content: ""; flex: 1; height: 0;
    border-top: 2px dotted var(--border);
    margin: 0 -2.25rem 0 0.75rem;
  }
}
@media (max-width: 51.99rem) {
  .journey > li { padding-left: 3.75rem; }
  .journey .num { position: absolute; left: 0; top: -0.45rem; margin: 0; }
  .journey > li:not(:last-child)::before {
    content: ""; position: absolute; left: 1.33rem; top: 2.6rem; bottom: -1.75rem;
    border-left: 2px dotted var(--border);
  }
}
.journey-loop {
  margin: 2.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: 0.6rem; max-width: none;
  font-family: var(--font-grot); font-weight: 600; font-stretch: 108%; font-size: 0.95rem; color: var(--ink-2);
}
.journey-loop::before { content: "↻"; font-size: 1.25rem; color: var(--ink); }

/* ---------- capabilities (icon list) ---------- */
.caps { display: grid; }
@media (min-width: 40rem) { .caps { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.cap { padding-block: 1.6rem; border-top: 1px solid var(--rule); }
@media (min-width: 40rem) { .cap:nth-child(-n+2) { border-top: 0; padding-top: 0.25rem; } }
@media (max-width: 39.99rem) { .cap:first-child { border-top: 0; padding-top: 0.25rem; } }
.cap h3 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.65rem; }
.cap p { font-size: 1rem; }

.icon { width: 32px; height: 32px; flex: none; }

/* ---------- record (accountability work order) ---------- */
.record {
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.record .eyebrow { margin-bottom: 0.4rem; }
.record ol { list-style: none; margin: 0; padding: 0; counter-reset: rec; }
.record li {
  counter-increment: rec;
  display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.2rem 0.5rem;
  padding-block: 1rem; border-top: 1px dotted var(--rule);
}
.record li:first-child { border-top: 0; }
.record li::before {
  content: counter(rec, decimal-leading-zero);
  font-family: var(--font-grot); font-weight: 700; font-size: 0.86rem; color: var(--ink-2); padding-top: 0.15rem;
}
.record strong { font-family: var(--font-grot); font-weight: 700; font-stretch: 110%; font-size: 1.02rem; }
.record span { grid-column: 2; font-size: 0.95rem; color: var(--ink-2); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; }
.steps > li {
  counter-increment: s;
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 0 1rem; align-content: start;
  padding-block: 1.5rem; border-top: 1px solid var(--rule);
}
.steps > li:last-child { border-bottom: 1px solid var(--rule); }
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-grot); font-weight: 800; font-stretch: 118%;
  font-size: 1.9rem; line-height: 1; letter-spacing: -0.03em; color: var(--ink-2);
}
.steps h3 { margin-bottom: 0.45rem; }
.steps p { font-size: 1rem; }
@media (min-width: 60rem) {
  .steps-row { grid-template-columns: repeat(var(--steps, 3), 1fr); column-gap: 2.5rem; }
  .steps-row > li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
  .steps-row > li:last-child { border-bottom: 0; }
  .steps-row > li::before { margin-bottom: 1.1rem; }
}

/* ---------- path cards ---------- */
.paths { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path {
  display: flex; flex-direction: column;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 0 clamp(1.25rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.25rem);
  overflow: hidden;
}
.path h3 { margin-bottom: 0.65rem; }
.path p { font-size: 1rem; }
.path .link-arrow { margin-top: auto; padding-top: 1rem; }

/* Spot illustrations: ground background only. The JPEG backgrounds sit a
   shade off ground, so darken + a feathered mask drops the box. */
.spot {
  display: block; width: min(100%, 300px); height: auto;
  mix-blend-mode: darken;
  -webkit-mask-image:
    linear-gradient(to right, transparent, black 7%, black 93%, transparent),
    linear-gradient(to bottom, transparent, black 7%, black 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, black 7%, black 93%, transparent),
    linear-gradient(to bottom, transparent, black 7%, black 93%, transparent);
  mask-composite: intersect;
}
.path .spot { width: min(100%, 260px); margin: 0.5rem auto 0.25rem; }
.spot-side { margin-inline: auto; }
@media (min-width: 60rem) { .spot-side { width: min(100%, 340px); } }

/* ---------- deep plate (audit panel, closing CTA) ---------- */
.plate {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 27px, var(--chart-line) 27px 28px),
    var(--deep);
  color: var(--on-deep);
  border-radius: var(--r);
  padding: clamp(2rem, 5vw, 4rem);
}
/* one thin sky compass ring, bottom right */
.plate::after {
  content: ""; position: absolute; right: -4.5rem; bottom: -4.5rem;
  width: 15rem; height: 15rem; border-radius: 50%;
  border: 1.5px solid var(--sky); opacity: 0.5;
  pointer-events: none;
}
.plate::before {
  content: ""; position: absolute; right: -2.75rem; bottom: -2.75rem;
  width: 11.5rem; height: 11.5rem; border-radius: 50%;
  border: 1px dashed var(--sky); opacity: 0.35;
  pointer-events: none;
}
.plate > * { position: relative; z-index: 1; }
.plate h2, .plate .lede { color: var(--ground); }
.plate .eyebrow, .plate .note, .plate p { color: var(--on-deep); }
.plate .price { color: var(--accent); }
.plate a:not(.btn) { color: var(--ground); }
.plate :focus-visible { outline-color: var(--ground); }
/* Same green button as on white; on navy the hover goes white with an ink label. */
.plate .btn:hover { background: var(--ground); border-color: var(--ground); color: var(--ink); }
.plate-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 56rem) { .plate-grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.plate-grid .lede { margin-top: 1.1rem; }
.plate .actions { margin-top: 1.5rem; }

/* Closing CTA: centred plate. */
.closing { text-align: center; }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing p { margin-inline: auto; }
.closing .lede { margin-top: 1.1rem; max-width: 38rem; color: var(--on-deep); }
.closing .actions { justify-content: center; margin-top: 2rem; }
.closing .note { margin-top: 1.1rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 3.5rem; padding-block: 1.15rem;
  font-family: var(--font-grot); font-weight: 700; font-stretch: 110%; font-size: 1.1rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: inline-grid; place-items: center; width: 2rem; height: 2rem;
  border: 1.5px solid var(--border); border-radius: 50%;
  font-size: 1.2rem; font-weight: 600; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.faq details > div { padding: 0 3.5rem 1.4rem 0; }
@media (max-width: 40rem) { .faq details > div { padding-right: 0; } }

/* ---------- plans ---------- */
.plans { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .plans { grid-template-columns: 1fr 1fr; } }

.plan {
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.25rem);
}
.plan-top { display: flex; align-items: baseline; gap: 0.5rem 0.75rem; flex-wrap: wrap; }
.plan-top h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; }
.plan-top .leader { flex: 1 1 1.5rem; border-bottom: 2px dotted var(--rule); min-width: 1.5rem; transform: translateY(-0.3rem); }
.plan-top .price { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); white-space: nowrap; }
.plan-top .per { font-family: var(--font-grot); font-weight: 600; font-stretch: 100%; font-size: 0.95rem; color: var(--ink-2); letter-spacing: 0; }
.plan .for { margin-top: 0.9rem; font-size: 1.08rem; }
.plan dl { margin: 1.4rem 0 0; }
.plan dt {
  font-family: var(--font-grot); font-size: 0.8125rem; font-weight: 700; font-stretch: 125%;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  padding-top: 1rem; border-top: 1px solid var(--hair); margin-top: 1rem;
}
.plan dt:first-child { margin-top: 0; }
.plan dd { margin: 0.4rem 0 0; font-size: 1rem; max-width: var(--measure); }

/* Local Growth is featured: first, full width, a heavier edge. */
.plan-feature { border: 2px solid var(--ink); }
/* Website Support: quiet — dashed rule, no fill, no shadow. */
.plan-quiet { background: transparent; box-shadow: none; border: 1.5px dashed var(--border); }
@media (min-width: 60rem) {
  .plan-feature, .plan-quiet { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; column-gap: 3.5rem; align-items: start; }
  .plan-feature dl, .plan-quiet dl { margin-top: 0; }
  .plan-feature dt:first-child, .plan-quiet dt:first-child { border-top: 0; padding-top: 0; }
}
.plans-intro { display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 60rem) { .plans-intro { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: end; } }

/* ---------- lists and cards ---------- */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative; padding: 0.7rem 0 0.7rem 1.75rem;
  border-top: 1px dotted var(--rule);
  font-size: 1rem;
}
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1.28rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent-ink);
}
.checks-2 { columns: 2 17rem; column-gap: 2.5rem; }
.checks-2 li { break-inside: avoid; }
.checks-2 li:first-child { border-top: 1px dotted var(--rule); }

.card {
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.card > h3 { margin-bottom: 0.75rem; }
.band-ground .card { box-shadow: none; border-color: var(--rule); }
.cards-2 { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .cards-2 { grid-template-columns: 1fr 1fr; } }

.sub-pair { display: grid; gap: 1.75rem; margin-top: 2.25rem; }
@media (min-width: 40rem) { .sub-pair { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.sub-pair > div { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.sub-pair h4 { font-size: 1.08rem; font-weight: 700; font-stretch: 112%; margin-bottom: 0.5rem; letter-spacing: -0.01em; line-height: 1.25; }
.sub-pair p { font-size: 1rem; }

/* A single quiet boundary paragraph. */
.boundary {
  border-left: 3px solid var(--sky);
  padding: 0.2rem 0 0.2rem 1.25rem;
  margin-top: 2rem;
  max-width: var(--measure);
}
.boundary p { font-size: 1rem; }

/* Scope policy: one compact slab. */
.policy {
  display: grid; gap: 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--ground);
}
@media (min-width: 56rem) { .policy { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; } }
.policy h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); }

/* ---------- team ---------- */
.team { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .team { grid-template-columns: 1fr 1fr; } }
.person {
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.person h3 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.022em; }
.person .eyebrow { margin: 0.65rem 0 1.1rem; }
.person p { font-size: 1rem; }

/* Commitments: a numbered ledger. */
.ledger { list-style: none; margin: 0; padding: 0; counter-reset: l; border-top: 2px solid var(--ink); }
.ledger li {
  counter-increment: l;
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: baseline;
  padding-block: 1.05rem; border-bottom: 1px solid var(--rule);
  font-size: 1.08rem;
}
.ledger li::before {
  content: counter(l, decimal-leading-zero);
  font-family: var(--font-grot); font-weight: 800; font-stretch: 118%; font-size: 0.95rem; color: var(--ink-2);
}

/* ---------- form ---------- */
.form-wrap {
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}
.form-intro { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--hair); }
.form-intro h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.form-intro p { margin-top: 0.6rem; }
.topic-note { margin-top: 0.85rem; }

.field { margin-bottom: 1.35rem; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }

.field > label, fieldset legend {
  display: block; padding: 0;
  font-family: var(--font-grot); font-size: 0.95rem; font-weight: 700; font-stretch: 108%;
  margin-bottom: 0.4rem; color: var(--ink);
}
.opt { font-weight: 500; color: var(--ink-2); }
.hint { display: block; font-size: 0.95rem; color: var(--ink-2); margin: -0.15rem 0 0.5rem; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--ground);
  color: var(--ink);
  font: inherit; font-size: 1.0625rem;
}
textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
input:disabled { background: var(--sheet); color: var(--ink-2); }

fieldset { border: 0; margin: 0 0 1.35rem; padding: 0; min-width: 0; }
.choices { display: grid; gap: 0.5rem; }
@media (min-width: 40rem) { .choices-2 { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; align-items: flex-start; gap: 0.7rem;
  min-height: 3rem; padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--ground);
  font-size: 1rem; line-height: 1.4; cursor: pointer;
}
.choice:hover { border-color: var(--ink); }
.choice input { width: 1.2rem; height: 1.2rem; margin: 0.1rem 0 0; flex: none; accent-color: var(--accent-ink); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choices-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choices-inline .choice { min-width: 8rem; }
.inline-check { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 0.5rem; min-height: 2.75rem; font-size: 1rem; cursor: pointer; }
.inline-check input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--accent-ink); }

.error {
  display: none; margin-top: 0.45rem;
  font-family: var(--font-grot); font-size: 0.93rem; font-weight: 700; color: var(--danger);
}
.is-invalid .error { display: block; }
.is-invalid input[type="text"], .is-invalid input[type="email"], .is-invalid input[type="tel"], .is-invalid textarea { border-color: var(--danger); border-width: 2px; }
.is-invalid .choice { border-color: var(--danger); }

/* Spam trap: off-screen for people, visible to naive bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.form-actions .btn { min-height: 3.25rem; padding-inline: 1.75rem; }
.form-actions .note { flex: 1 1 16rem; }
.btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }

.status {
  margin-bottom: 1.5rem; padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  border: 2px solid var(--ink);
  background: var(--sheet);
  font-size: 1rem;
}
.status[hidden] { display: none; }
.status strong { font-family: var(--font-grot); font-weight: 700; display: block; margin-bottom: 0.2rem; }
.status-error { border-color: var(--danger); background: var(--ground); }
.status ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.status a { font-weight: 600; }

.form-done h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 0.85rem; }
.form-done:focus { outline: none; }

/* ---------- footer ---------- */
.foot {
  background: var(--field);
  color: var(--ink);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.foot-grid { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.foot .brand img { height: 2.1rem; }
.foot .line { margin-top: 1.1rem; max-width: 26rem; font-size: 1rem; }
.foot .coords { margin: 1.25rem 0 0; color: var(--ink-2); }
.foot h2 {
  font-size: 0.8125rem; font-weight: 700; font-stretch: 125%; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 0.6rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a {
  display: inline-flex; align-items: center; min-height: 2.6rem;
  font-family: var(--font-grot); font-size: 0.95rem; font-weight: 600; font-stretch: 105%;
  text-decoration: none;
}
.foot li a:hover { text-decoration: underline; }
.foot-base {
  margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); max-width: none;
  font-size: 0.95rem; color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- additions: contact layout, card headings, small screens ---------- */
@media (min-width: 60rem) { .split-form { grid-template-columns: 7fr 5fr; } }
.side-h { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); margin-bottom: 1.25rem; }
.card > h3, .card-h { display: flex; align-items: center; gap: 0.75rem; }
.card-h { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); margin-bottom: 0.9rem; }
.mt-2 { margin-top: 2rem; }
@media (max-width: 30rem) {
  .masthead .brand img { height: 1.55rem; }
}

.field > label.inline-check { display: inline-flex; margin-bottom: 0; font-family: var(--font-serif); font-weight: 400; font-stretch: 100%; font-size: 1rem; }

/* ---------- funnel pass, November 2026 ---------- */
.nav { margin-left: auto; }
.masthead-cta { flex: none; white-space: nowrap; }
.cta-short { display: none; }
@media (max-width: 71rem) {
  .js .menu-toggle { margin-left: auto; order: 0; }
  .js .masthead .wrap { gap: 0.75rem; }
}
@media (max-width: 39.99rem) {
  .js .masthead-cta .cta-full { display: none; }
  .js .masthead-cta .cta-short { display: inline; }
  .js .masthead .wrap { gap: 0.5rem; }
  .js .masthead-cta { padding-inline: 0.7rem; font-size: 0.82rem; }
  .js .menu-toggle { padding-inline: 0.7rem; font-size: 0; gap: 0; }
  .js .masthead .brand { flex: 0 1 auto; min-width: 0; }
  .js .masthead .brand img { height: auto; width: min(165px, calc(100vw - 210px)); }
}
.case-card { display: flex; flex-direction: column; gap: 0.85rem; min-width: 0; }
.case-card .browser { min-width: 0; max-width: 100%; }
.case-card .browser-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.case-card > h3 { margin: 0.5rem 0 0; }
.case-card p { font-size: 1rem; }
.case-card .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.bonsai-form { display: block; width: 100%; height: 92rem; border: 0; }
@media (max-width: 39.99rem) { .bonsai-form { height: 108rem; } }
.estimate-embed { padding: 0; }
.estimate-embed .topic-note { margin: 0 0 1rem; }
.form-fallback { margin-top: 1rem; }
.story-shot { margin-bottom: 2.5rem; }
.story { max-width: 44rem; }
.story h2 { margin: 2.25rem 0 0.75rem; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }
.story h2:first-child { margin-top: 0; }
.story ul { padding-left: 1.2rem; }
.story li { margin-bottom: 0.4rem; }
.ph-label { font-family: var(--font-grot); font-weight: 700; color: var(--accent-ink); border: 2px dashed var(--accent-ink); border-radius: var(--r-sm); padding: 0.5rem 0.75rem; }

/* ---------- hero pathway, November 2026 ----------
   A drawn diagram, not a screenshot: Google listing, the website, the call.
   One inline SVG on the navy proof plate, so it scales as a single picture
   and every colour comes from the tokens. The business is an example, and
   the caption and description say so. */
.pathway-plate { padding: clamp(1.25rem, 3vw, 2rem); }
.pathway { display: block; width: 100%; height: auto; overflow: visible; }
.pathway .c-ground { fill: var(--ground); }
.pathway .c-sheet  { fill: var(--sheet); }
.pathway .c-ink    { fill: var(--ink); }
.pathway .c-ink2   { fill: var(--ink-2); }
.pathway .c-accent { fill: var(--accent); }
.pathway .c-rule   { fill: var(--rule); }
.pathway .c-sky    { fill: var(--sky); }
.pathway .s-hair   { stroke: var(--hair); stroke-width: 1; }
.pathway .s-border { stroke: var(--border); }
.pathway .s-ink    { stroke: var(--ink); }
.pathway .s-ink2   { stroke: var(--ink-2); }
.pathway .t-grot   { font-family: var(--font-grot); }
.pathway .t-serif  { font-family: var(--font-serif); }
.pathway .pw-name  { font-weight: 700; font-stretch: 112%; letter-spacing: -0.01em; }
.pathway .pw-head  { font-weight: 800; font-stretch: 118%; letter-spacing: -0.03em; }
.pathway .pw-tag   { font-weight: 700; font-stretch: 110%; }
.pathway .pw-eyebrow { font-weight: 700; font-stretch: 125%; letter-spacing: 0.16em; }
.pathway .pw-stroke { stroke-width: 2; stroke-linecap: round; }
.pathway .pw-btn   { fill: none; stroke-width: 1.5; }
.pathway .pw-stars use { stroke-width: 3; stroke-linejoin: round; }
.pathway .pw-underline { stroke-width: 1; }
.pathway .pw-link  { fill: none; stroke: var(--sky); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.pathway-plate figcaption { margin-top: clamp(1rem, 2vw, 1.5rem); }
.case-card .case-sub { font-family: var(--font-grot); font-weight: 700; font-size: 1.02rem; color: var(--ink); margin-top: -0.4rem; }
.story-figure { margin: 2rem 0 0; }
.story-figure figcaption { margin-top: 0.75rem; }
