@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/archivo-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/martian-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/martian-mono-latin-600-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #e8e3db;
  --fg-light-base-body: #1f1915;
  --fg-light-base-heading: #1f1915;
  --fg-light-base-muted: #4f453c;
  --fg-light-base-link: #3d4c20;
  --fg-light-base-inverse: #1f1915;
  --bg-light-card: #d9d1c5;
  --fg-light-card-body: #1f1915;
  --fg-light-card-heading: #1f1915;
  --fg-light-card-muted: #4f453c;
  --fg-light-card-link: #3d4c20;
  --fg-light-card-inverse: #1f1915;
  --bg-light-elevated: #c9bdae;
  --fg-light-elevated-body: #1f1915;
  --fg-light-elevated-heading: #1f1915;
  --fg-light-elevated-muted: #4f453c;
  --fg-light-elevated-link: #2b3615;
  --fg-light-elevated-inverse: #1f1915;
  --brand-light-accent: #3d4c20;
  --brand-light-accent-hover: #2b3615;
  --brand-light-on-accent: #f3eee7;
  --focus-light-ring: #3d4c20;
  --border-light-default: #6f6256;
  --border-light-subtle: #bdb1a2;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Dermal-texture craft: stone ground, terracotta marks, moss links, heavy grotesque over mono numerals. */
:root {
  --font-grotesk: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --font-mono: 'Martian Mono', 'Courier New', monospace;
  --stone: var(--bg-light-base);
  --stone-mid: var(--bg-light-card);
  --stone-deep: var(--bg-light-elevated);
  --stone-band: #d1c8bb;
  --terracotta: #8a391b;
  --terracotta-dot: #b45a35;
  --moss: var(--brand-light-accent);
  --moss-deep: var(--brand-light-accent-hover);
  --moss-dot: #7d8f4e;
  --on-moss: var(--brand-light-on-accent);
  --line: var(--border-light-default);
  --line-soft: var(--border-light-subtle);
  --gutter: clamp(1rem, 4vw, 3rem);
  --frame: 74rem;
  --measure: 36rem;
  --header-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-grotesk);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

/* paper grain: two offset fields of very faint specks */
body.bg-surface-base {
  background-image:
    radial-gradient(circle at 30% 40%, rgba(70, 52, 38, 0.07) 0.6px, transparent 1px),
    radial-gradient(circle at 70% 70%, rgba(70, 52, 38, 0.05) 0.5px, transparent 0.9px);
  background-size: 5px 5px, 7px 7px;
}

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

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 60; padding: 0.55rem 1rem; background: var(--stone); border: 2px solid var(--moss); }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-grotesk);
  font-weight: 800;
  color: var(--fg-heading);
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { margin: 0; font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 2.4rem 0 0.8rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 0.5rem; }

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

/* ---------- Header: sticky stone bar, mark-and-wordmark left, numbered inline bar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line-soft);
}

.header-row {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
}

.brand { display: block; line-height: 0; text-decoration: none; }
.brand .site-logo { width: clamp(12.5rem, 30vw, 16.5rem); height: auto; }

.bar-nav { display: none; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; margin: 0; padding: 0; list-style: none; counter-reset: navnum; }
.site-nav > ul > li { counter-increment: navnum; }
.site-nav > ul > li > a,
.site-nav summary {
  display: block;
  padding: 0.3rem 0;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
}
.site-nav > ul > li > a::before,
.site-nav > ul > li > details > summary::before {
  content: counter(navnum, decimal-leading-zero);
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--terracotta);
}
.site-nav > ul > li > a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
.site-nav-group { position: relative; }
.site-nav-group > summary { cursor: pointer; list-style: none; }
.site-nav-group > summary::-webkit-details-marker { display: none; }
.site-nav-group > ul { position: absolute; top: 100%; left: 0; z-index: 45; display: grid; gap: 0.2rem; min-width: 15rem; padding: 0.8rem 1rem; background: var(--stone); border: 1px solid var(--line); }

.toggle-nav { position: relative; }
.site-menu > summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.menu-icon {
  width: 1.05rem;
  height: 1.05rem;
  background-image: radial-gradient(circle, currentColor 1.6px, transparent 2px);
  background-size: 0.35rem 0.35rem;
}
.site-menu > summary:hover .menu-label { text-decoration: underline; text-underline-offset: 0.22em; }
.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 45;
  width: min(20rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.6rem 1.2rem 1rem;
  list-style: none;
  background: var(--stone-mid);
  border: 1px solid var(--line);
  counter-reset: menunum;
}
.site-menu > ul > li { counter-increment: menunum; border-bottom: 1px solid var(--line-soft); }
.site-menu > ul > li:last-child { border-bottom: 0; }
.site-menu > ul a { display: flex; gap: 0.8rem; align-items: baseline; padding: 0.75rem 0; font-weight: 700; text-decoration: none; }
.site-menu > ul > li > a::before { content: counter(menunum, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400; color: var(--terracotta); }
.site-menu > ul ul { list-style: none; margin: 0 0 0.6rem; padding: 0 0 0 2rem; }
.site-menu > ul ul a { padding: 0.35rem 0; font-weight: 400; }

@media (min-width: 64rem) {
  .bar-nav { display: block; flex: 1 0 100%; padding-top: 0.55rem; border-top: 1px solid var(--line-soft); }
  .toggle-nav { display: none; }
}

@media (min-width: 92rem) {
  .bar-nav { flex: 0 1 auto; padding-top: 0; border-top: 0; }
}

/* ---------- Page frame and breadcrumbs ---------- */

.page-frame { flex: 1 0 auto; width: 100%; max-width: var(--frame); margin: 0 auto; padding: 0 var(--gutter) 4.5rem; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem 0.7rem; margin: 1.4rem 0 0; padding: 0; list-style: none; font-family: var(--font-mono); font-size: 0.74rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.7rem; color: var(--fg-muted); }

/* ---------- Prose shared by every body ---------- */

.prose { max-width: var(--measure); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose ul > li::marker { color: var(--terracotta); }
.prose ol > li::marker { font-family: var(--font-mono); font-size: 0.85em; color: var(--terracotta); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 1.4rem 0; padding: 0.4rem 0 0.4rem 1.2rem; border-left: 4px solid var(--terracotta); }
.prose figure { margin: 0 0 2rem; }
.prose figure img { display: block; width: 100%; height: auto; }
.prose figcaption { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--fg-muted); }
.prose .photo-hero img { aspect-ratio: 16 / 7; object-fit: cover; }
.prose section[data-section][style] { margin: 2rem 0; }

/* ---------- Home: heavy question stack beside a needle-field panel, then a numbered strip ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: stretch;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
}
.hero-stack { display: flex; flex-direction: column; justify-content: center; gap: 1.8rem; }
.hero-title h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 11ch; }
.hero-lines { display: grid; gap: 0; max-width: 34rem; border-top: 3px solid var(--fg-heading); }
.hero-lines .display-line { margin: 0; padding: 0.8rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.hero-lines .display-line + .display-line { font-weight: 400; color: var(--fg-muted); }

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20rem;
  padding: 2rem;
  color: var(--terracotta-dot);
  background-image: radial-gradient(circle, rgba(61, 76, 32, 0.22) 1px, transparent 1.4px);
  background-size: 10px 10px;
}
.needle-field { display: block; width: min(100%, 17rem); height: auto; }
.needle-marks { color: var(--moss); }

.faq-strip {
  display: grid;
  grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 5vw, 4rem);
  max-width: none;
  counter-reset: faq;
}
.faq-strip > * { grid-column: 1 / -1; max-width: var(--measure); }
.faq-strip > .photo-hero { max-width: none; }
.faq-strip > h2 {
  grid-column: 1;
  grid-row: span 2;
  counter-increment: faq;
  margin: 0;
  padding: 1.4rem 0 1.6rem;
  border-top: 3px solid var(--fg-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}
.faq-strip > h2::before {
  content: counter(faq, decimal-leading-zero);
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--terracotta);
}
.faq-strip > h2 ~ *:not(h2) { grid-column: 2; }
.faq-strip > h2 + * { margin-top: 0; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); }
.faq-strip > h2 ~ ul { list-style: none; padding-left: 0; }
.faq-strip > h2 ~ ul > li { position: relative; padding-left: 1.4rem; }
.faq-strip > h2 ~ ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--terracotta-dot);
}

/* ---------- Question detail: answer beside a sticky rail ---------- */

.answer {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
  padding-top: clamp(1.8rem, 5vw, 3.5rem);
}
.answer-rail {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.6rem 1.4rem 1.4rem;
  border-top: 4px solid var(--terracotta);
}
.answer-title h1 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); line-height: 1.08; }
.depth-gauge { display: block; width: 100%; height: auto; margin-top: 1.6rem; color: var(--terracotta); }
.answer-body { max-width: var(--measure); }
.answer-body > p:first-of-type { font-size: 1.2rem; line-height: 1.5; font-weight: 700; }
.answer-body > h2 { padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.answer-body > h2:first-child { margin-top: 0; }

/* ---------- Topic cluster: stepped bands, each a darker stone ---------- */

.steps { padding-top: clamp(2rem, 6vw, 4rem); }
.steps-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6rem, 14rem); gap: 1.5rem; align-items: end; }
.steps-title h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; }
.steps-dots {
  height: 4.5rem;
  background-image: radial-gradient(circle, var(--terracotta-dot) 1.5px, transparent 2px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.steps-body { max-width: 52rem; margin-top: 2rem; counter-reset: step; }
.steps-body > * { margin: 0; padding: 0 clamp(1rem, 3.5vw, 2.2rem) 1.05rem; }
.steps-body > * > :last-child { margin-bottom: 0; }
.steps-body > p:not(h2 ~ p) { max-width: var(--measure); padding-left: 0; padding-right: 0; }
.steps-body > h2 {
  counter-increment: step;
  margin-top: 1.4rem;
  padding-top: 1.6rem;
  padding-bottom: 0.9rem;
}
.steps-body > h2::before {
  content: "Step " counter(step);
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--terracotta);
}
.steps-body > h2 ~ * { margin-top: 0; margin-bottom: 0; padding-bottom: 1.05rem; }
.steps-body > h2:nth-of-type(1), .steps-body > h2:nth-of-type(1) ~ * { background: var(--stone-mid); margin-left: 0; }
.steps-body > h2:nth-of-type(2), .steps-body > h2:nth-of-type(2) ~ * { background: var(--stone-band); margin-left: clamp(0.5rem, 4vw, 3rem); }
.steps-body > h2:nth-of-type(3), .steps-body > h2:nth-of-type(3) ~ * { background: var(--stone-deep); margin-left: clamp(1rem, 8vw, 6rem); }
.steps-body > h2:nth-of-type(n + 2) { margin-top: 1rem; }
.steps-body > h2 ~ p:last-child, .steps-body > h2 ~ ul:last-child { padding-bottom: 1.8rem; }
.steps-body > h2 ~ ul { list-style: none; padding-left: clamp(1rem, 3.5vw, 2.2rem); counter-reset: q; }
.steps-body > h2 ~ ul > li {
  counter-increment: q;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  margin: 0;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line-soft);
}
.steps-body > h2 ~ ul > li::before { content: counter(q, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.74rem; line-height: 2; color: var(--terracotta); }
.steps-body > h2 ~ ul a { font-weight: 700; }

/* ---------- Geo cluster: grid of tiles under dot-texture headers ---------- */

.towns { padding-top: clamp(2rem, 6vw, 4rem); }
.towns-title h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; }
.towns-head { padding-bottom: 1.4rem; border-bottom: 3px solid var(--fg-heading); }
.towns-body { max-width: none; margin-top: 2rem; }
.towns-body > :not(ul) { max-width: var(--measure); }
.towns-body > ul,
.towns-items ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  list-style: none;
  counter-reset: tile;
}
.towns-items ul:empty { display: none; }
.towns-body > ul > li,
.towns-items li {
  counter-increment: tile;
  position: relative;
  margin: 0;
  padding: 3.4rem 1.1rem 1.2rem;
  background: var(--stone-mid);
  border-bottom: 3px solid var(--terracotta);
}
.towns-body > ul > li::before,
.towns-items li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2.4rem;
  background-image: radial-gradient(circle, var(--terracotta-dot) 1.3px, transparent 1.8px);
  background-size: 8px 8px;
  background-color: var(--stone-deep);
}
.towns-body > ul > li::after,
.towns-items li::after {
  content: "Q" counter(tile);
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  padding: 0.1rem 0.4rem;
  background: var(--stone-mid);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-heading);
}
.towns-items a { font-weight: 700; }

/* ---------- About: stepped story with large terracotta numerals ---------- */

.story { padding-top: clamp(2rem, 6vw, 4rem); }
.story-title h1 { max-width: 16ch; font-size: clamp(2.3rem, 5.6vw, 4.1rem); }
.story-body { max-width: 50rem; margin-top: 2rem; counter-reset: mile; }
.story-body > * { max-width: var(--measure); }
.story-body > p:first-child { font-size: 1.2rem; font-weight: 700; line-height: 1.45; }
.story-body > h2 { counter-increment: mile; position: relative; margin-top: 3rem; padding-top: 4.2rem; }
.story-body > h2::before {
  content: counter(mile, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--terracotta);
}
.story-body > h2:nth-of-type(2), .story-body > h2:nth-of-type(2) ~ * { margin-left: clamp(0.75rem, 5vw, 4rem); }
.story-body > h2:nth-of-type(3), .story-body > h2:nth-of-type(3) ~ * { margin-left: clamp(1.5rem, 10vw, 8rem); }
.story-body > h2:nth-of-type(4), .story-body > h2:nth-of-type(4) ~ * { margin-left: clamp(2.25rem, 15vw, 12rem); }

/* ---------- Contact: stone panel split beside the form ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: clamp(1.8rem, 5vw, 3rem);
}
.contact-panel { padding: clamp(1.6rem, 4vw, 3rem); }
.contact-title h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 0.98; letter-spacing: -0.035em; }
.contact-body { margin-top: 1.6rem; }
.contact-form {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--line-soft);
  border-left: 0;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-family: var(--font-mono); font-size: 0.8rem; }
.field input,
.field textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--stone);
  color: var(--fg-body);
  font: inherit;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.contact-button {
  justify-self: start;
  min-height: 2.9rem;
  padding: 0.7rem 1.5rem;
  border: 0;
  background: var(--moss);
  color: var(--on-moss);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.contact-button:hover { background: var(--moss-deep); }

/* ---------- Thank you: one column under a fading moss dot field ---------- */

.thanks { max-width: 42rem; padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.thanks-dots {
  height: clamp(5rem, 14vw, 8rem);
  background-image: radial-gradient(circle, var(--moss-dot) 2px, transparent 2.6px);
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent);
  mask-image: linear-gradient(180deg, #000 10%, transparent);
}
.thanks-title h1 { margin-top: 0.4rem; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 0.98; letter-spacing: -0.035em; }
.thanks-body { margin-top: 1.6rem; }

/* ---------- Footer ---------- */

.site-footer { position: relative; margin-top: 2rem; }
.footer-grain {
  height: 0.9rem;
  background-image: radial-gradient(circle, var(--terracotta-dot) 1.2px, transparent 1.7px);
  background-size: 7px 7px;
}
.footer-row {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 2.4rem var(--gutter) 2.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.6rem 3rem;
  align-items: start;
}
.footer-name { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.footer-name a { text-decoration: none; }
.footer-name a:hover { text-decoration: underline; }
.footer-line { margin: 0.5rem 0 0; }
.footer-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.4rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.footer-index a { display: inline-block; padding: 0.25rem 0; font-weight: 700; }

/* ---------- Narrow screens ---------- */

@media (max-width: 52rem) {
  .hero, .answer, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-panel { min-height: 12rem; }
  .needle-field { width: min(100%, 11rem); }
  .answer-rail { position: static; }
  .faq-strip { grid-template-columns: minmax(0, 1fr); }
  .faq-strip > h2, .faq-strip > h2 ~ *:not(h2) { grid-column: 1; }
  .faq-strip > h2 { grid-row: auto; padding-bottom: 0.4rem; }
  .faq-strip > h2 + * { padding-top: 0.4rem; border-top: 0; }
  .contact-form { border-left: 1px solid var(--line-soft); border-top: 0; }
  .steps-head { grid-template-columns: minmax(0, 1fr); }
  .steps-dots { height: 2.5rem; }
  .footer-row { grid-template-columns: minmax(0, 1fr); }
}
