/* Royal River Web Studio: one stylesheet, mobile first, no framework.
   Type: Fraunces (display serif) + Hanken Grotesk (text), from Google Fonts.
   Palette (text pairs checked for WCAG AA, see README):
   paper #f5f0e6, paper-2 #ece4d3, ink #142220, muted #4a5653, river #123f3c, deep #0c2b29,
   river-2 #1d5a55, maple #a3401b (links/buttons on paper), amber #e9a15f (accents on deep), mist #c9dcd6.
   Motion respects prefers-reduced-motion (see the end of the file). */

:root {
  --paper: #f5f0e6;
  --paper-2: #ece4d3;
  --card: #fbf8f2;
  --ink: #142220;
  --muted: #4a5653;
  --river: #123f3c;
  --deep: #0c2b29;
  --river-2: #1d5a55;
  --maple: #a3401b;
  --maple-2: #8a3415;
  --amber: #e9a15f;
  --mist: #c9dcd6;
  --on-deep: #f5f0e6;
  --on-deep-muted: #bfd1cb;
  --line: rgba(20, 34, 32, 0.13);
  --line-deep: rgba(201, 220, 214, 0.18);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 7rem;
  --shadow: 0 1px 2px rgba(12, 43, 41, 0.06), 0 8px 24px -8px rgba(12, 43, 41, 0.18);
  --shadow-lg: 0 2px 4px rgba(12, 43, 41, 0.06), 0 30px 60px -20px rgba(12, 43, 41, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  color: var(--river);
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-variation-settings: "opsz" 120;
}
h1 { font-size: clamp(2.5rem, 7.2vw, 5.4rem); font-weight: 450; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-variation-settings: "opsz" 36; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 1.4em 0 0.6em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--maple); }
p { margin: 0 0 1em; }
p, li { max-width: 66ch; }
strong, b { font-weight: 650; }

a { color: var(--maple); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--maple-2); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--maple); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: var(--amber); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 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 {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--deep); color: var(--on-deep); padding: 0.7rem 1rem; border-radius: var(--r-sm);
  font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: 1rem; color: var(--on-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 230, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(12, 43, 41, 0.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--river); }
.brand:hover { color: var(--river); }
.brand svg { width: 2.4rem; height: 2.4rem; transition: transform 0.4s var(--ease); }
.brand:hover svg { transform: rotate(-6deg) scale(1.05); }
.brand-name { font-family: var(--display); font-size: 1.28rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0.25rem; align-items: center; }
.nav a {
  display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.35rem 0.75rem;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.95rem; border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.nav a:hover { background: rgba(18, 63, 60, 0.07); color: var(--river); }
.nav a[aria-current="page"] { color: var(--river); background: rgba(18, 63, 60, 0.09); }
.nav li:last-child a { background: var(--river); color: var(--on-deep); padding: 0.35rem 1.1rem; margin-left: 0.35rem; }
.nav li:last-child a:hover, .nav li:last-child a[aria-current="page"] { background: var(--maple); color: #fff; }
.nav-toggle {
  font: inherit; font-weight: 600; font-size: 0.95rem; min-height: 2.75rem; padding: 0.4rem 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--river); cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.nav-toggle::before { content: ""; width: 1rem; height: 0.6rem; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: transform 0.25s; }
.nav-toggle[aria-expanded="true"]::before { transform: scaleY(0.4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  background: var(--maple); color: #fff; border: 1.5px solid var(--maple); border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn::after { content: "\2192"; display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--maple-2); border-color: var(--maple-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(163, 64, 27, 0.7); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-quiet { background: transparent; color: var(--river); border-color: rgba(18, 63, 60, 0.35); }
.btn-quiet::after { content: none; }
.btn-quiet:hover { background: var(--river); border-color: var(--river); color: var(--on-deep); box-shadow: none; }
.on-dark .btn, .hero .btn { background: var(--amber); border-color: var(--amber); color: var(--deep); }
.on-dark .btn:hover, .hero .btn:hover { background: #f3b97f; border-color: #f3b97f; color: var(--deep); box-shadow: 0 10px 26px -12px rgba(233, 161, 95, 0.8); }
.on-dark .btn-quiet, .hero .btn-quiet { background: transparent; color: var(--on-deep); border-color: rgba(245, 240, 230, 0.4); }
.on-dark .btn-quiet:hover, .hero .btn-quiet:hover { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--s5); }

/* ---------- Sections and type helpers ---------- */
main { display: block; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-tight { padding: clamp(2.75rem, 6vw, 4.5rem) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--maple); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.h3-size { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; font-variation-settings: "opsz" 36; }
.nowrap { white-space: nowrap; }
.section-head { display: grid; gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; color: var(--muted); }

.band-birch { background: var(--paper-2); }
.on-dark { background: var(--deep); color: var(--on-deep); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-deep); }
.on-dark h2 em, .on-dark h1 em { color: var(--amber); }
.on-dark a { color: var(--amber); }
.on-dark a:hover { color: #f6c590; }
.on-dark .eyebrow { color: var(--amber); }
.on-dark .lead, .on-dark .muted { color: var(--on-deep-muted); }

/* Shared dark call-to-action band (every page) */
section.on-dark { overflow: hidden; isolation: isolate; }
section.on-dark::before {
  content: ""; position: absolute; inset: auto -10% -20% -10%; height: 120%; z-index: -1;
  background: url("/assets/img/river-line-dark.svg") center bottom / 100% auto no-repeat;
  opacity: 0.9;
}
section.on-dark h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); max-width: 16ch; }

/* ---------- Page heroes (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -6rem; top: -4rem;
  width: min(44rem, 70vw); aspect-ratio: 1;
  background: url("/assets/img/river-line.svg") center / contain no-repeat;
  opacity: 0.85;
}
.page-hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 6.4vw, 4.8rem); }
.page-hero .lead { margin-bottom: 0; }
.page-404 { border-bottom: 0; padding-bottom: clamp(4rem, 9vw, 7rem); }
.page-404 h1 { max-width: 13ch; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--deep); color: var(--on-deep);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero h1 { color: var(--on-deep); font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; max-width: 13ch; }
.hero h1 em { color: var(--amber); }
.hero .eyebrow { color: var(--amber); }
.hero .lead { color: var(--on-deep-muted); }
.hero-river { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-river .band { stroke: var(--mist); stroke-opacity: 0.07; }
.hero-river .bank { stroke: var(--mist); stroke-opacity: 0.32; }
.hero-river .flow { stroke: var(--amber); stroke-opacity: 0.75; stroke-dasharray: 3 16; animation: flow 3.2s linear infinite; }
.hero-river .flow-2 { stroke: var(--mist); stroke-opacity: 0.4; stroke-dasharray: 40 220; animation: flow 7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -260; } }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.hero-facts { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-facts li {
  font-size: 0.88rem; font-weight: 600; color: var(--on-deep); padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-deep); border-radius: 999px; background: rgba(245, 240, 230, 0.04);
}
.hero-facts li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--amber); margin-right: 0.5rem; vertical-align: 0.08em; }

.hero-stage { position: relative; padding: 0 0 4.5rem 0; max-width: 40rem; }
.hero-stage .frame { margin: 0; }
.hero-stage .frame-back { position: absolute; width: 74%; right: 0; top: -1.5rem; transform: rotate(3deg); opacity: 0.92; }
.hero-stage .frame-front { position: relative; width: 86%; margin-top: 3.5rem; transform: rotate(-1.5deg); }
.hero-stage .stage-tag {
  position: absolute; right: 2%; bottom: 0; z-index: 2; margin: 0;
  background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 0.7rem 1rem;
  box-shadow: var(--shadow-lg); font-size: 0.85rem; line-height: 1.35; max-width: 15rem;
}
.stage-tag strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--river); font-weight: 600; }

/* Browser frame used by the hero and the work cards */
.frame { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, 0.5); }
.frame-bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; background: #e7e0d2; border-bottom: 1px solid var(--line); }
.frame-bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #c9bfae; flex: none; }
.frame-bar span:first-child { background: #d98a6a; }
.frame-bar span:nth-child(2) { background: #e2bf73; }
.frame-bar span:nth-child(3) { background: #8fb59f; }
.frame-bar .frame-url {
  width: auto; height: auto; border-radius: 999px; background: var(--card); flex: 1; margin-left: 0.6rem;
  font-size: 0.7rem; color: var(--muted); padding: 0.15rem 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; background: var(--paper-2); }

/* Town ribbon */
.towns { background: var(--amber); color: var(--deep); overflow: hidden; border-block: 1px solid rgba(12, 43, 41, 0.15); }
.towns-track { display: flex; width: max-content; animation: drift 48s linear infinite; }
.towns-track ul { list-style: none; display: flex; margin: 0; padding: 0.95rem 0; }
.towns-track li { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 500; font-style: italic; white-space: nowrap; display: flex; align-items: center; max-width: none; }
.towns-track li::after { content: ""; width: 2.2rem; height: 0.7rem; margin: 0 1.4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14'%3E%3Cpath d='M1 7c5-6 9-6 14 0s9 6 14 0 9-6 14 0' fill='none' stroke='%230c2b29' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- Home: who it's for (bento) ---------- */
.bento { display: grid; gap: 1rem; }
.bento-intro { padding: 0.5rem 0 1rem; }
.bento-intro h2 { max-width: 14ch; }
.tile {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(18, 63, 60, 0.25); }
.tile-k { display: block; font-family: var(--display); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--maple); margin-bottom: 1.25rem; font-style: italic; }
.tile h3 { margin-bottom: 0.4em; }
.tile p { margin: 0; color: var(--muted); }
.tile-dark { background: var(--river); border-color: var(--river); }
.tile-dark h3 { color: var(--on-deep); }
.tile-dark p { color: var(--on-deep-muted); }
.tile-dark .tile-k { color: var(--amber); }

/* ---------- Home: work showcase ---------- */
.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.work-head h2 { margin: 0; max-width: 14ch; }
.work-head p { margin: 0; max-width: 40ch; color: var(--muted); }
.pill-note {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 650;
  padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--paper-2); color: var(--river); border: 1px solid var(--line);
}
.pill-note::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--maple); }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2rem, 5vw, 3rem); }
.work-card { position: relative; max-width: none; }
.work-card .frame { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.work-card .frame img { transition: transform 0.8s var(--ease); }
.work-card:hover .frame { transform: translateY(-6px) rotate(-0.4deg); box-shadow: 0 40px 70px -28px rgba(12, 43, 41, 0.5); }
.work-card:hover .frame img { transform: scale(1.03); }
.work-meta { padding: 1.25rem 0.25rem 0; display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: start; }
.work-trade { grid-column: 1 / -1; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.work-meta h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.work-link { color: var(--river); text-decoration: none; }
.work-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.work-link:hover { color: var(--river); }
.work-link:focus-visible { outline: none; }
.work-link:focus-visible::after { outline: 3px solid var(--maple); outline-offset: 6px; }
.work-arrow {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid rgba(18, 63, 60, 0.3);
  display: grid; place-items: center; color: var(--river); font-size: 1.1rem; grid-row: 2 / span 2; grid-column: 2;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease), border-color 0.3s;
}
.work-card:hover .work-arrow { background: var(--maple); border-color: var(--maple); color: #fff; transform: rotate(-45deg); }
.work-meta p { grid-column: 1; margin: 0.35rem 0 0; color: var(--muted); font-size: 0.98rem; }
.work-foot { margin-top: clamp(2.5rem, 6vw, 4rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.work-foot p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Home: free preview offer ---------- */
.offer-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--river); color: var(--on-deep); border-radius: clamp(18px, 3vw, 32px);
  padding: clamp(1.75rem, 5vw, 4rem); display: grid; gap: clamp(2rem, 5vw, 4rem);
}
.offer-panel::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: url("/assets/img/river-line-dark.svg") right bottom / 160% auto no-repeat;
}
.offer-panel h2 { color: var(--on-deep); font-size: clamp(2rem, 4.6vw, 3.4rem); }
.offer-panel h2 em { color: var(--amber); }
.offer-panel p { color: var(--on-deep-muted); }
.offer-panel a:not(.btn) { color: var(--amber); }
.offer-panel .btn { background: var(--amber); border-color: var(--amber); color: var(--deep); }
.offer-panel .btn:hover { background: #f3b97f; border-color: #f3b97f; color: var(--deep); }
.offer-panel :focus-visible { outline-color: var(--amber); }
.tag {
  display: inline-block; background: var(--amber); color: var(--deep); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0.75rem; }
.steps li {
  counter-increment: step; position: relative; max-width: none;
  background: rgba(12, 43, 41, 0.6); border: 1px solid var(--line-deep); border-radius: var(--r);
  padding: 1rem 1.1rem 1rem 3.9rem; color: var(--on-deep);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: 0.95rem;
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber); color: var(--deep); font-weight: 700; font-size: 0.95rem;
}

/* ---------- Process timeline (home "flow" + inner pages "path") ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: flow; position: relative; }
.flow li { counter-increment: flow; position: relative; padding: 0 0 2rem 3.75rem; max-width: none; }
.flow li::before {
  content: counter(flow, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--river); color: var(--river); font-weight: 700; font-size: 0.85rem; z-index: 1;
}
.flow li::after { content: ""; position: absolute; left: 1.25rem; top: 2.6rem; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--river-2) 0 6px, transparent 6px 12px); opacity: 0.45; }
.flow li:last-child::after { content: none; }
.flow h3 { margin: 0.35rem 0 0.4rem; }
.flow p { color: var(--muted); margin: 0; }
.link-list { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.link-list a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.45rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--river); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.link-list a::after { content: "\2197"; margin-left: 0.5rem; color: var(--maple); }
.link-list a:hover { border-color: var(--river); background: var(--river); color: var(--on-deep); }
.link-list a:hover::after { color: var(--amber); }

.path { list-style: none; margin: 0; padding: 0; counter-reset: path; display: grid; gap: 1rem; }
.path > li {
  counter-increment: path; position: relative; max-width: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem 1.5rem 1.5rem 5rem;
}
.band-birch .path > li { background: var(--paper); }
.path > li::before {
  content: counter(path, decimal-leading-zero); position: absolute; left: 1.4rem; top: 1.35rem;
  font-family: var(--display); font-size: 2rem; font-style: italic; font-weight: 300; line-height: 1; color: var(--maple);
}
.path > li::after { content: none; }
.path h2, .path h3 { margin: 0.1rem 0 0.5rem; }
.path p { margin: 0 0 0.6rem; color: var(--muted); }
.path p:last-child { margin-bottom: 0; }
.approval {
  display: inline-flex; gap: 0.5rem; align-items: baseline; color: var(--river) !important; font-weight: 600; font-size: 0.92rem;
  background: rgba(18, 63, 60, 0.07); border-radius: var(--r-sm); padding: 0.4rem 0.75rem;
}
.approval::before { content: "\2713"; color: var(--maple); font-weight: 700; }

/* ---------- Home: pricing strip ---------- */
.price-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.price-card {
  position: relative; max-width: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.3rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card h3 { margin: 0; font-size: 1.2rem; }
.price-card .amount { font-family: var(--display); font-size: clamp(2.3rem, 4vw, 2.9rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; margin: 0.4rem 0 0.2rem; }
.price-card .amount small { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-right: 0.25rem; }
.price-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.price-card.featured { background: var(--river); border-color: var(--river); }
.price-card.featured h3, .price-card.featured .amount { color: var(--on-deep); }
.price-card.featured p, .price-card.featured .amount small { color: var(--on-deep-muted); }
.price-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.price-foot p { margin: 0; color: var(--muted); }

/* ---------- Home: closing CTA ---------- */
.cta-contact { list-style: none; padding: 0; margin: var(--s6) 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.cta-contact a { font-family: var(--display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); text-decoration: none; color: var(--on-deep); border-bottom: 1px solid rgba(245, 240, 230, 0.35); padding-bottom: 0.15rem; }
.cta-contact a:hover { color: var(--amber); border-bottom-color: var(--amber); }
.cta-contact span { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 0.2rem; }

/* ---------- Plans (services) ---------- */
.plans { display: grid; gap: 1rem; margin-top: var(--s5); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem 1.5rem 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan h2, .plan h3 { margin: 0 0 0.25rem; font-size: 1.45rem; }
.price { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; margin: 0.3rem 0 0.8rem; }
.price span { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan .scope { color: var(--muted); font-size: 0.98rem; }
.plan .scope strong { color: var(--ink); }
.timeline { font-size: 0.92rem; font-weight: 600; color: var(--river); background: rgba(18, 63, 60, 0.07); border-radius: var(--r-sm); padding: 0.45rem 0.75rem; }
.timeline span { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; padding-inline: 0.9rem; font-size: 0.94rem; white-space: nowrap; }
.plan > ul:last-of-type { margin-bottom: 1.5rem; }
.plan.featured { background: var(--deep); border-color: var(--deep); color: var(--on-deep); box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price, .plan.featured .scope strong { color: var(--on-deep); }
.plan.featured .scope, .plan.featured .price span, .plan.featured h4 { color: var(--on-deep-muted); }
.plan.featured .timeline { background: rgba(245, 240, 230, 0.08); color: var(--on-deep); }
.plan.featured .timeline span { color: var(--on-deep-muted); }
.plan.featured .checks li::before { background: var(--amber); }
.plan.featured .nots li { color: var(--on-deep-muted); }
.plan.featured .nots li::before { background: var(--on-deep-muted); }
.plan.featured .btn { background: var(--amber); border-color: var(--amber); color: var(--deep); }
.plan.featured .btn:hover { background: #f3b97f; border-color: #f3b97f; }
.plan.featured :focus-visible { outline-color: var(--amber); }
.badge {
  position: absolute; top: -0.85rem; left: 1.5rem; margin: 0;
  background: var(--amber); color: var(--deep); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 999px;
}
.plan.care .price { font-size: 2.4rem; }

.checks, .nots { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.checks li, .nots li { position: relative; padding-left: 1.7rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 1rem; height: 0.55rem;
  background: var(--river-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 11'%3E%3Cpath d='M1 6c3-5 6-5 9 0s6 5 9 0' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 11'%3E%3Cpath d='M1 6c3-5 6-5 9 0s6 5 9 0' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nots li { color: var(--muted); }
.nots li::before { content: ""; position: absolute; left: 0.1rem; top: 0.75em; width: 0.8rem; height: 2px; background: var(--muted); border-radius: 2px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); margin-top: var(--s5); }
.band-birch .table-wrap { background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 40rem; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: rgba(18, 63, 60, 0.04); }
tbody th { font-weight: 650; color: var(--river); }
tbody tr { transition: background-color 0.2s; }
tbody tr:hover { background: rgba(233, 161, 95, 0.1); }

/* ---------- Layout helpers ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.split > div > h2:not(:first-child) { margin-top: 2rem; }



/* FAQ */
.faqs { display: grid; gap: 0.6rem; margin-top: var(--s5); max-width: 52rem; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.2s, box-shadow 0.2s; }
.faq[open] { border-color: rgba(18, 63, 60, 0.3); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 1.25rem; font-weight: 650; color: var(--river); min-height: 3rem; border-radius: var(--r);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(18, 63, 60, 0.3); font-size: 1.15rem; line-height: 1; transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--river); color: var(--on-deep); border-color: var(--river); }
.faq p { padding: 0 1.25rem 1.2rem; margin: 0; color: var(--muted); }

/* Design principles (bento) */
.principles { display: grid; gap: 1rem; }
.principles article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.principles article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principles .num { font-family: var(--display); font-size: 3rem; font-weight: 300; font-style: italic; line-height: 1; color: var(--maple); margin-bottom: 1rem; }
.principles article p:not(.num) { color: var(--muted); }
.principles article p:last-child { margin-bottom: 0; }
.principles article .muted { border-top: 1px solid var(--line); padding-top: 0.8rem; margin-top: 1rem; }
.principles article:first-child { background: var(--river); border-color: var(--river); }
.principles article:first-child h3 { color: var(--on-deep); }
.principles article:first-child p:not(.num) { color: var(--on-deep-muted); }
.principles article:first-child .num { color: var(--amber); }
.principles article:first-child .muted { border-top-color: var(--line-deep); }

/* Notices and checklists */
.notice {
  position: relative; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--maple);
  border-radius: var(--r); padding: 1.4rem 1.5rem;
}
.notice p:last-child { margin-bottom: 0; }
.needs { display: grid; gap: 1rem; margin-top: var(--s5); }
.need { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; transition: box-shadow 0.3s, border-color 0.3s; }
.need:hover, .need:target { border-color: rgba(18, 63, 60, 0.3); box-shadow: var(--shadow); }
.need h3 { margin-bottom: 0.8rem; }
.need p { font-size: 0.97rem; }
.need p:last-child { margin-bottom: 0; }
.ifnot { background: rgba(233, 161, 95, 0.14); border-radius: var(--r-sm); padding: 0.75rem 0.9rem; }

.tips { list-style: none; margin: 0; padding: 0; counter-reset: tip; display: grid; gap: 0.75rem; }
.tips li { counter-increment: tip; position: relative; padding: 1rem 1.1rem 1rem 3.6rem; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); max-width: none; }
.tips li::before { content: counter(tip); position: absolute; left: 1rem; top: 0.95rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--river); color: var(--on-deep); font-weight: 700; font-size: 0.85rem; }
.tags { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tags li { padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; color: var(--river); }

/* About */
.statement { font-family: var(--display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--river); font-variation-settings: "opsz" 48; max-width: 30ch; }
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; counter-reset: belief; }
.beliefs li {
  counter-increment: belief; position: relative; max-width: none; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.1rem 1.25rem 1.1rem 4rem; font-weight: 550; color: var(--ink);
}
.beliefs li::before { content: counter(belief, decimal-leading-zero); position: absolute; left: 1.2rem; top: 0.95rem; font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--maple); }
.area { display: grid; gap: 1.5rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.area h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.area p { margin: 0; color: var(--muted); }
.tags-lg { margin: 0; }
.tags-lg li { font-size: 1rem; padding: 0.45rem 1rem; background: var(--paper); }
@media (min-width: 60em) { .area { grid-template-columns: 1fr 1.3fr; gap: 3rem; } }

/* ---------- Contact form ---------- */
.contact-card {
  background: var(--river); color: var(--on-deep); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1.25rem;
  display: grid; gap: 0.15rem;
}
.contact-card p { margin: 0; }
.contact-card p:nth-child(odd) { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-muted); }
.contact-card p:nth-child(3) { margin-top: 1rem; }
.contact-card a { font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--on-deep); text-decoration: none; overflow-wrap: anywhere; display: inline-block; min-height: 1.5rem; }
.contact-card a:hover { color: var(--amber); }
.contact-card :focus-visible { outline-color: var(--amber); }

.form { display: grid; gap: 1.25rem; }
@media (min-width: 60em) { .contact-aside { position: sticky; top: 6rem; align-self: start; } }
.form fieldset { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.25rem 0.5rem; background: var(--card); min-width: 0; }
.form legend { font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--river); padding: 0 0.5rem; margin-left: -0.5rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 650; margin-bottom: 0.3rem; }
.field .hint, .form .hint { display: block; font-size: 0.9rem; color: var(--muted); margin: 0 0 0.45rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #8b9592; border-radius: var(--r-sm); padding: 0.7rem 0.85rem; min-height: 3rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:hover, .field textarea:hover { border-color: var(--river-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--river); box-shadow: 0 0 0 4px rgba(163, 64, 27, 0.25); }
.field textarea { min-height: 8rem; resize: vertical; }
.field textarea.short { min-height: 5rem; }
.req { color: var(--maple); font-weight: 700; }
.choices { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.choices.cols { grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.choice { position: relative; display: flex; }
.choice label { flex: 1; }
.choice input { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--river); }
.choice label {
  display: flex; align-items: center; min-height: 2.9rem; padding: 0.5rem 0.9rem 0.5rem 2.7rem; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color 0.2s, background-color 0.2s;
}
.choice label:hover { border-color: var(--river-2); }
.choice input:checked + label { border-color: var(--river); background: rgba(18, 63, 60, 0.07); font-weight: 600; }
.choice input:focus-visible + label { outline: 3px solid var(--maple); outline-offset: 2px; }
.form-note { font-size: 0.92rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 650; color: var(--river); margin: 0; min-height: 1.5em; }

/* ---------- Prose (privacy) ---------- */
.prose > * { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.6rem; }

/* ---------- Examples index (shared stylesheet; markup owned by examples/) ---------- */

.ex-list { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.ex-feature { display: grid; gap: 1.5rem; align-items: center; }
.ex-shot { display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); transition: transform 0.5s var(--ease); }
.ex-shot:hover { transform: translateY(-4px); }
.ex-feature img { width: 100%; }
.ex-feature h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-muted); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; border-top: 1px solid var(--line-deep); }
.site-footer a { color: var(--on-deep); text-decoration: none; display: inline-flex; align-items: center; min-height: 2rem; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.site-footer .wrap { display: grid; gap: 2.5rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin: 0 0 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.site-footer .foot-name { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; color: var(--on-deep); line-height: 1.05; margin-bottom: 0.8rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line-deep); padding-top: 1.5rem; margin: 0; font-size: 0.88rem; max-width: none; }
.site-footer :focus-visible { outline-color: var(--amber); }

/* ---------- Scroll reveal (only when JS has run and motion is allowed) ---------- */
.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ---------- Wider screens ---------- */
@media (min-width: 40em) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-intro { grid-column: 1 / -1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .needs { grid-template-columns: repeat(2, 1fr); }
  .plans-3 { grid-template-columns: repeat(3, 1fr); }
  .plans-4 { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }

  .site-footer .wrap { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
  .path > li { padding: 1.75rem 2rem 1.75rem 6rem; }
  .path > li::before { font-size: 2.6rem; left: 1.75rem; }
}

@media (min-width: 60em) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-stage { margin-left: auto; width: 100%; }
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .split { grid-template-columns: 1fr 1fr; }
  .split-wide { grid-template-columns: 0.8fr 1.2fr; }
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(12rem, auto); }
  .bento-intro { grid-column: 1 / span 4; grid-row: 1 / span 2; padding: 0 1.5rem 0 0; align-self: center; }
  .bento .tile:nth-of-type(odd) { grid-column: 5 / span 4; }
  .bento .tile:nth-of-type(even) { grid-column: 9 / span 4; }
  .work-grid { column-gap: clamp(2.5rem, 5vw, 4.5rem); row-gap: 4rem; }
  .work-grid > li:nth-child(even) { margin-top: 6rem; margin-bottom: -6rem; }
  .work-foot { margin-top: 8rem; }
  .offer-panel { grid-template-columns: 1fr 1fr; align-items: center; }
  .flow { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .flow li { padding: 4rem 0 0; }
  .flow li::after { left: 2.6rem; right: -1.5rem; top: 1.25rem; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--river-2) 0 6px, transparent 6px 12px); }
  .price-grid { grid-template-columns: repeat(4, 1fr); }
  .plans-4 { grid-template-columns: repeat(4, 1fr); }
  .principles { grid-template-columns: repeat(6, 1fr); }
  .principles article { grid-column: span 2; }
  .principles article:nth-child(1), .principles article:nth-child(5) { grid-column: span 4; }
  .principles article:nth-child(3), .principles article:nth-child(4) { grid-column: span 3; }
  .principles article:nth-child(7), .principles article:nth-child(8) { grid-column: span 3; }
  .needs { grid-template-columns: repeat(3, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); }
  .ex-feature { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .ex-feature:nth-child(even) > :first-child { order: 2; }
  .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: auto; }
}

/* Small screens: collapsible menu (nav.js adds .nav-js; without JS the full list shows) */
@media (max-width: 59.99em) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-js ul { display: none; }
  .nav-js.open ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 0.5rem);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0.6rem; box-shadow: var(--shadow-lg);
  }
  .nav-js ul a { display: flex; min-height: 3rem; font-size: 1.05rem; padding: 0.6rem 1rem; border-radius: var(--r-sm); }
  .nav-js ul li:last-child a { margin: 0.35rem 0 0; justify-content: center; border-radius: 999px; }
  .site-header { position: sticky; }
  .nav { position: static; }
  .hero-stage { margin-inline: auto; width: 100%; }
}
@media (min-width: 60em) { .nav-toggle { display: none !important; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
  .towns-track { width: auto; flex-wrap: wrap; }
  .towns-track ul { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .towns-track ul[aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .hero-river, .towns, section.on-dark::before { display: none; }
  .hero, .on-dark { background: #fff; color: #000; }
}
