/* Basin & Range Marketing — dusk over the Great Basin.
   Bone paper, coffee ink, rust, sage, dusk blue. Wood-type numerals, slab headings. */

/* Self-hosted fonts (SIL Open Font License) — no requests to Google */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700 800; font-display: swap; src: url(fonts/big-shoulders.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/source-sans-3.woff2) format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/zilla-500.woff2) format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/zilla-600.woff2) format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/zilla-700.woff2) format("woff2"); }

:root {
  --bone: #F4ECDF;
  --paper: #C9BA9C;      /* dusty saddle tan */
  --sage-g: #B7BE9F;     /* deeper sage */
  --ground: #CACDB3;     /* dull sage, main page ground */
  --card: #DFDDC9;       /* sage-cream cards */
  --field: #ECE9D9;      /* form fields */
  --ink: #2A2019;
  --ink-2: #4A3C30;
  --rust: #A9471F;
  --rust-deep: #8A3816;
  --sage: #5F6E4D;
  --dusk: #1E2836;
  --dusk-2: #2E3A4C;
  --gold: #E0AA4E;
  --coffee: #2A2019;
  --river: #4F6B80;

  --f-display: "Zilla Slab", Georgia, serif;
  --f-wood: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Source Sans 3", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* paper tooth: barely-there grain so the bone reads as stock, not screen */
/* paper tooth: tiny noise tile under the content (not an overlay, so animations never repaint through it) */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .065 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body { background-image: var(--grain); }

::selection { background: var(--rust); color: var(--bone); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 3px; }
html { scrollbar-color: var(--ink-2) var(--ground); }

img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bone); padding: 10px 16px; border-radius: var(--r); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  font: 800 1.05rem/1 var(--f-wood); letter-spacing: .06em; text-transform: uppercase;
  color: var(--bone); background: var(--rust); border: 0; border-radius: var(--r);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px -8px rgba(90,30,10,.55);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1.5px rgba(244,236,223,.55); }
.btn-wide { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--rust-deep); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px -10px rgba(90,30,10,.7); }
  .btn-ghost:hover { background: rgba(244,236,223,.1); box-shadow: inset 0 0 0 1.5px var(--bone); }
  .btn:active { transform: scale(0.97); }
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--bone); transition: background-color 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.nav-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav.is-solid { background: rgba(202,205,179,.97); color: var(--ink); box-shadow: 0 1px 0 rgba(42,32,25,.12); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; color: var(--gold); transition: transform 600ms var(--ease-out); }
.nav.is-solid .brand-mark { color: var(--rust); }
.brand-word { font: 800 1.45rem/1 var(--f-wood); letter-spacing: .04em; text-transform: uppercase; }
.brand-word i { font-family: var(--f-display); font-style: italic; font-weight: 500; text-transform: none; color: var(--gold); padding: 0 .05em; }
.nav.is-solid .brand-word i { color: var(--rust); }
@media (hover: hover) and (pointer: fine) { .brand:hover .brand-mark { transform: rotate(-12deg); } }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 600; font-size: .98rem; text-decoration: none; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.menu-btn { display: none; }
.menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-row > .btn-sm { display: none; }
  .menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: inherit; cursor: pointer; margin-right: -10px; }
  .menu-lines, .menu-lines::before { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform 260ms var(--ease-out); }
  .menu-lines::before { content: ""; position: absolute; top: 7px; }
  .menu-lines { transform: translateY(-3.5px); }
  .menu-btn[aria-expanded="true"] .menu-lines { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(-7px) rotate(-90deg); }
  .menu { display: grid; position: fixed; inset: 72px 0 0; background: var(--dusk); color: var(--bone); padding: 24px var(--gutter); align-content: start; gap: 4px;
    clip-path: inset(0 0 100% 0); transition: clip-path 420ms var(--ease-io); }
  .menu[hidden] { display: grid; visibility: hidden; }
  .menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .menu a { font: 800 2.2rem/1.1 var(--f-wood); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(244,236,223,.14); }
  .menu a:last-child { color: var(--gold); border: 0; }
  .nav.is-open { background: var(--dusk); color: var(--bone); box-shadow: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--bone); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #172030 0%, #26324A 34%, #5B4A57 58%, #A8603E 76%, #D99A52 88%, #E7B66A 100%);
  padding: 120px 0 clamp(160px, 22vw, 260px);
}
.sky { position: absolute; inset: 0; z-index: -1; }
.stars { position: absolute; inset: 0 0 45% 0; opacity: .6;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 73% 28%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 86% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 33%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 4%, #fff 50%, transparent 51%);
  animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .35; } }
.sun { position: absolute; width: clamp(140px, 16vw, 230px); aspect-ratio: 1; border-radius: 50%; right: 18%; bottom: clamp(150px, 20vw, 250px);
  background: radial-gradient(circle at 50% 45%, #FFE2A6 0%, #F2B861 55%, #E09A48 100%);
  box-shadow: 0 0 80px 30px rgba(242,184,97,.35); }

.hero-copy { max-width: calc(860px + var(--gutter) * 2); margin-left: max(0px, calc((100% - var(--max) - var(--gutter) * 2) / 2)); }
.hero-place { font: 700 1rem/1 var(--f-wood); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.4rem); letter-spacing: -0.02em; line-height: 1.02; text-shadow: 0 2px 24px rgba(15,20,30,.35); }
.hero-sub { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 40ch; margin-top: 22px; color: rgba(244,236,223,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.ridges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(220px, 34vw, 420px); z-index: -1; }
.r1 { fill: #6E5A66; opacity: .75; }
.r2 { fill: #4A3F4B; }
.r3 { fill: #3A3530; }
.r4 { fill: var(--ground); }
.ridges .r { will-change: transform; }

/* entrance: one authored moment on load, staggered, ease-out, with a little blur */
[data-enter] { animation: enter 900ms var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 120ms); }
@keyframes enter { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.ridges .r1 { animation: rise 1400ms var(--ease-out) both 100ms; }
.ridges .r2 { animation: rise 1400ms var(--ease-out) both 200ms; }
.ridges .r3 { animation: rise 1400ms var(--ease-out) both 300ms; }
@keyframes rise { from { transform: translateY(40px); } }

/* ---------- river (the scroll moment) ---------- */
#main { position: relative; }
.river-layer { position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.river { width: 100%; height: 100%; }
.river path { fill: none; stroke: var(--river); stroke-width: 2.5; stroke-linecap: round; opacity: .32; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(88px, 11vw, 150px) 0; }
.sec-bone { background: var(--grain), var(--ground); }
.sec-paper { background: var(--grain), var(--paper); }
.sec-sage { background: var(--grain), var(--sage-g); }
.sec-dark { background: var(--grain), var(--coffee); color: var(--bone); }
.edge { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 80px); bottom: calc(100% - 1px); }
.sec-bone .edge path { fill: var(--ground); }
.sec-paper .edge path { fill: var(--paper); }
.sec-sage .edge path { fill: var(--sage-g); }
.sec-dark .edge path { fill: var(--coffee); }
#problems { padding-top: clamp(56px, 7vw, 96px); }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); color: var(--ink-2); margin-top: 18px; max-width: 56ch; }

/* problems */
.problems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.problems li { position: relative; padding-top: 28px; border-top: 1.5px solid var(--ink); }
.problems li::before { content: ""; position: absolute; top: -1.5px; left: 0; width: 64px; height: 4px; background: var(--rust); }
.ico { width: 40px; height: 40px; margin-bottom: 18px; fill: none; stroke: var(--rust); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.problems h3 { margin-bottom: 10px; }
.problems p { color: var(--ink-2); }

.tally { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(20px, 4vw, 48px); margin-top: clamp(64px, 9vw, 110px); padding: clamp(28px, 4vw, 40px) 0; border-block: 1px dashed rgba(42,32,25,.35); }
.tally-num { font: 800 clamp(4.5rem, 2rem + 9vw, 9rem)/.85 var(--f-wood); color: var(--rust); letter-spacing: -.01em; white-space: nowrap; }
.tally-num i { font: italic 500 .35em/1 var(--f-display); color: var(--ink); letter-spacing: 0; vertical-align: .55em; padding: 0 .1em; }
.tally-text { font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.3 var(--f-display); max-width: 30ch; }

/* steps */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); position: relative; }
.steps-trail { position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 72px; overflow: visible; }
.steps-trail path { fill: none; stroke: var(--sage); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .7; }
.step-num { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--card); color: var(--rust);
  font: 800 2.6rem/1 var(--f-wood); margin-bottom: 26px;
  box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 7px var(--sage-g), 0 0 0 8px rgba(42,32,25,.25), 0 10px 20px -10px rgba(42,32,25,.5); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: end; }
.plan { position: relative; background: var(--card); border-radius: 0 0 var(--r) var(--r); padding: 28px 28px 32px; margin-top: 70px;
  box-shadow: 0 1px 0 rgba(42,32,25,.08), 0 18px 40px -24px rgba(42,32,25,.45);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.plan-peak { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: 70px; }
.plan-peak path { fill: var(--card); }
.plan::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(42,32,25,.22); border-radius: 4px; pointer-events: none; }
.plan-top { background: var(--dusk); color: var(--bone); }
.plan-top .plan-peak path { fill: var(--dusk); }
.plan-top::after { border-color: rgba(244,236,223,.22); }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(42,32,25,.08), 0 28px 50px -24px rgba(42,32,25,.55); } }
.plan h3 { font: 800 1.15rem/1 var(--f-wood); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-deep); }
.plan-top h3 { color: var(--gold); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.amt { font: 800 clamp(3.2rem, 2.4rem + 2vw, 4.2rem)/1 var(--f-wood); font-variant-numeric: lining-nums; }
.per { color: var(--ink-2); font-weight: 600; }
.plan-top .per { color: rgba(244,236,223,.75); }
.plan-pitch { font: 600 1.15rem/1.3 var(--f-display); margin-bottom: 20px; }
.ticks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(42,32,25,.15); display: grid; gap: 10px; }
.plan-top .ticks { border-color: rgba(244,236,223,.2); }
.ticks li { position: relative; padding-left: 26px; font-size: 1rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.plan-top .ticks li::before { border-color: var(--gold); }
.ticks .incl { font-weight: 700; }
.fine { margin-top: 28px; color: var(--ink-2); text-align: center; }

.notice { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(28px, 4vw, 44px); background: var(--rust); color: var(--bone); border-radius: var(--r); position: relative;
  box-shadow: 0 20px 44px -26px rgba(90,30,10,.8); }
.notice::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(244,236,223,.45); border-radius: 4px; pointer-events: none; }
.notice h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: 10px; }
.notice p { max-width: 54ch; color: var(--bone); }
.notice-side { display: grid; justify-items: center; gap: 14px; text-align: center; }
.spots { color: var(--bone); font: 700 1rem/1 var(--f-wood); letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.spots-num { font-size: 3.4rem; line-height: .8; color: var(--gold); }
.notice .btn { background: var(--bone); color: var(--rust-deep); }
@media (hover: hover) and (pointer: fine) { .notice .btn:hover { background: #fff; } }

/* who */
.who { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.who .sec-head { margin-bottom: 0; }
.trades { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.trades li { font: 700 1.15rem/1 var(--f-wood); letter-spacing: .08em; text-transform: uppercase; padding: 14px 18px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1.5px rgba(42,32,25,.75); transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .trades li:hover { background: var(--ink); color: var(--bone); transform: translateY(-2px); } }
.other-trade { display: grid; grid-template-columns: auto 1fr; gap: 18px; margin-top: 28px; padding-top: 26px; border-top: 1px dashed rgba(42,32,25,.4); }
.other-trade .ico { margin: 2px 0 0; }
.other-trade h3 { margin-bottom: 6px; }
.other-trade p { color: #3E3229; max-width: 52ch; }
.other-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 10px; }
.other-links a { font: 800 1.05rem/1 var(--f-wood); letter-spacing: .08em; text-transform: uppercase; color: #76300F; text-decoration: none; padding: 12px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 100% 2px no-repeat; transition: background-size 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .other-links a:hover { background-size: 0 2px; background-position: 100% calc(100% - 6px); } }
@media (max-width: 480px) { .other-trade { grid-template-columns: 1fr; gap: 10px; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.about h2 { color: var(--gold); margin-bottom: 24px; font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.2rem); }
.about-copy p { font-size: clamp(1.1rem, 1rem + .3vw, 1.25rem); color: rgba(244,236,223,.88); max-width: 56ch; }
.about-copy p + p { margin-top: 16px; }
.promises { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.promises li { position: relative; padding: 14px 0 14px 34px; border-top: 1px dashed rgba(244,236,223,.25); font-weight: 600; }
.promises li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
/* photo + map: one composed visual, not two boxes */
.about-visual { position: relative; justify-self: end; width: min(100%, 560px); padding: 0 0 16% 14%; }
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  /* top edge cut as a ridgeline, like every section edge on the site */
  clip-path: polygon(0 7%, 9% 3.5%, 17% 6%, 28% 0, 39% 5%, 50% 2%, 61% 6.5%, 72% 1.5%, 84% 5%, 92% 2.5%, 100% 5.5%, 100% 100%, 0 100%);
  /* bottom and left dissolve into the coffee ground */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to right, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to right, transparent 0%, #000 16%);
  mask-composite: intersect; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 20%;
  filter: sepia(.18) saturate(.88) contrast(1.04) brightness(.96);
  transition: transform 900ms var(--ease-out); }
/* warm dusk light washing in from the top-right, the sun's side of the hero */
.portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 90% 0%, rgba(224,170,78,.22), transparent 55%),
              linear-gradient(to bottom, rgba(42,32,25,0) 55%, rgba(42,32,25,.35) 100%);
  mix-blend-mode: soft-light; }
@media (hover: hover) and (pointer: fine) { .about-visual:hover .portrait img { transform: scale(1.025); } }
.about-visual .map { position: absolute; left: 0; bottom: 0; width: 32%; margin: 0;
  filter: drop-shadow(0 18px 28px rgba(10,8,6,.55)); }
.about-visual .map .nv-fill { fill: rgba(42,32,25,.9); }
.map { margin: 0; justify-self: center; width: min(100%, 340px); }
.map svg { width: 100%; height: auto; overflow: visible; }
.nv-fill { fill: #3A2E25; }
.contours path { fill: none; stroke: rgba(224,170,78,.28); stroke-width: 1; }
.nv-line { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linejoin: round; }
.town { fill: rgba(244,236,223,.6); }
.ely { fill: var(--rust); stroke: var(--bone); stroke-width: 1.5; }
.ely-ring { fill: none; stroke: var(--gold); stroke-width: 1; transform-origin: 164px 121px; animation: ping 2.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.ely-label { font: 800 13px var(--f-wood); letter-spacing: .14em; fill: var(--gold); }
.town-label { font: 600 9px var(--f-body); fill: rgba(244,236,223,.6); }

/* check */
.check { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact { margin: 36px 0 0; display: grid; gap: 18px; }
.contact div { display: grid; gap: 2px; }
.contact dt { font: 700 .95rem/1 var(--f-wood); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.contact dd { margin: 0; font: 600 clamp(1.2rem, 1rem + .7vw, 1.6rem)/1.3 var(--f-display); overflow-wrap: anywhere; }
.contact a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .contact a:hover { background-size: 100% 1.5px; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; background: var(--card); padding: clamp(24px, 4vw, 40px); border-radius: var(--r); position: relative;
  box-shadow: 0 1px 0 rgba(42,32,25,.08), 0 24px 50px -28px rgba(42,32,25,.5); }
.form::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(42,32,25,.2); border-radius: 4px; pointer-events: none; }
.field { display: grid; gap: 6px; position: relative; }
.field-wide, .form .btn, .form-note { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select { font: inherit; color: var(--ink); background: var(--field); border: 1.5px solid rgba(42,32,25,.35); border-radius: var(--r); min-height: 50px; padding: 0 14px; width: 100%;
  transition: border-color 200ms ease, box-shadow 200ms ease; caret-color: var(--rust); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232A2019' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(169,71,31,.18); }
.err { display: none; color: #9B2C10; font-size: .9rem; font-weight: 600; }
.field.has-err input { border-color: #9B2C10; }
.field.has-err .err { display: block; }
.form-note { font-size: .95rem; color: var(--ink-2); }
.form-note a { color: var(--rust-deep); font-weight: 700; }
.form-note.is-sent { color: var(--sage); font-weight: 600; }

/* footer */
.foot { position: relative; background: var(--dusk); color: rgba(244,236,223,.8); padding: 48px 0 40px; margin-top: 60px; }
.foot .edge path { fill: var(--dusk); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot .brand { color: var(--bone); }
.foot .brand-mark { color: var(--gold); }
.foot .brand-word i { color: var(--gold); }
.foot p { font-size: .95rem; }
.foot a { text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; }
.foot-links a, .foot-links button { font: 600 .95rem/1 var(--f-body); color: rgba(244,236,223,.8); background: none; border: 0; padding: 14px 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(244,236,223,.3); text-underline-offset: 4px; transition: color 200ms ease, text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover, .foot-links button:hover { color: var(--bone); text-decoration-color: var(--gold); } }
.foot-legal { width: 100%; font-size: .85rem !important; color: rgba(244,236,223,.55); }

/* ---------- legal pages ---------- */
.page-legal .nav { background: rgba(202,205,179,.97); color: var(--ink); box-shadow: 0 1px 0 rgba(42,32,25,.12); }
.page-legal .brand-mark { color: var(--rust); }
.page-legal .brand-word i { color: var(--rust); }
.page-legal .nav-links { display: flex; }
.legal-hero { position: relative; background: var(--dusk); color: var(--bone); padding: 150px 0 110px; overflow: hidden; }
.legal-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.legal-hero p { margin-top: 14px; color: rgba(244,236,223,.78); font-size: 1.1rem; }
.legal-hero .edge { top: auto; bottom: -1px; }
.legal-hero .edge path { fill: var(--ground); }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); padding-top: 64px; padding-bottom: 96px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .95rem; }
.toc h2 { font: 700 .95rem/1 var(--f-wood); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.toc ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 4px; color: var(--ink-2); }
.toc a { text-decoration: none; display: inline-block; padding: 4px 0; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--rust); } }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 56px 0 16px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.prose p, .prose li { color: #3E3229; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.prose a { color: var(--rust-deep); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .summary { background: var(--card); border-radius: var(--r); padding: 24px 28px; margin-bottom: 48px; box-shadow: 0 1px 0 rgba(42,32,25,.08), 0 14px 30px -22px rgba(42,32,25,.45); }
.prose .summary h2 { margin: 0 0 12px; font-size: 1.3rem; }
.prose .summary ul { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid rgba(42,32,25,.15); }
.prose th { font-weight: 700; color: var(--ink); }
.prose address { font-style: normal; background: var(--card); padding: 18px 22px; border-radius: var(--r); margin: 14px 0; line-height: 1.7; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; padding-top: 40px; }
  .toc { position: static; background: var(--card); padding: 20px 22px; border-radius: var(--r); }
  .page-legal .nav-links { display: none; }
  .page-legal .nav-row > .btn-sm { display: inline-flex; }
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { display: none; }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { font-weight: 700; color: var(--ink); padding-top: 14px; }
  .prose tr { border-bottom: 1px solid rgba(42,32,25,.15); padding-bottom: 12px; }
}

/* ---------- cookie banner ---------- */
.consent { position: fixed; z-index: 70; left: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px));
  background: var(--card); color: var(--ink); border-radius: 10px; padding: 22px 22px 20px;
  box-shadow: 0 0 0 1px rgba(42,32,25,.12), 0 24px 60px -20px rgba(10,14,22,.65), 0 2px 6px rgba(10,14,22,.25);
  transition: transform 420ms var(--ease-out), opacity 300ms ease; }
.consent[hidden] { display: none; }
.consent.is-leaving { transform: translateY(16px); opacity: 0; }
@starting-style { .consent { transform: translateY(24px); opacity: 0; } }
.consent h2 { font: 800 1.1rem/1 var(--f-wood); letter-spacing: .12em; text-transform: uppercase; color: var(--rust-deep); margin-bottom: 10px; }
.consent p { font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.consent p a { color: var(--rust-deep); font-weight: 600; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent-actions .btn { flex: 1 1 140px; min-height: 44px; font-size: .95rem; }
.consent .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(42,32,25,.45); }
@media (hover: hover) and (pointer: fine) { .consent .btn-ghost:hover { background: rgba(42,32,25,.06); box-shadow: inset 0 0 0 1.5px var(--ink); } }
@media (max-width: 480px) { .consent { left: 8px; right: 8px; bottom: 8px; width: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .who, .about, .check { grid-template-columns: 1fr; }
  .about-visual { justify-self: center; width: min(100%, 440px); }
}
@media (max-width: 760px) {
  .problems, .steps { grid-template-columns: 1fr; }
  .steps-trail { display: none; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; }
  .steps .step-num { width: 60px; height: 60px; font-size: 2rem; margin: 0; grid-row: span 2; }
  .tally { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; }
  .notice-side { justify-items: stretch; }
  .notice .btn { width: 100%; }
  .form { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sun { right: -36px; bottom: 96px; width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  [data-enter] { animation: none; }
  .ely-ring { display: none; }
}

/* ---------- 404 ---------- */
.lost { padding-bottom: 140px; }
.lost p { max-width: 52ch; }
.lost .hero-actions { margin-top: 28px; }
.lost-links { padding-top: 56px; padding-bottom: 96px; }
.lost-links h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 16px; }
.lost-links ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lost-links li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--card);
  box-shadow: inset 0 0 0 1.5px rgba(42,32,25,.6); font: 700 1.05rem/1 var(--f-wood); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lost-links li a:hover { background: var(--ink); color: var(--bone); transform: translateY(-2px); } }
.lost-links p a { color: var(--rust-deep); font-weight: 700; }

/* ---------- form additions ---------- */
.field textarea { font: inherit; color: var(--ink); background: var(--field); border: 1.5px solid rgba(42,32,25,.35); border-radius: var(--r); padding: 12px 14px; width: 100%; resize: vertical; min-height: 96px;
  transition: border-color 200ms ease, box-shadow 200ms ease; caret-color: var(--rust); }
.field textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(169,71,31,.18); }
.field.has-err .err:empty { display: none; }
.opt { font-weight: 400; color: var(--ink-2); }
.field-hint { margin: -8px 0 0; font-size: .92rem; color: var(--ink-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { cursor: progress; opacity: .85; }
.form-note.is-error { color: #8C2A0E; font-weight: 600; }
.form-done { background: var(--card); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); position: relative; outline: none;
  box-shadow: 0 1px 0 rgba(42,32,25,.08), 0 24px 50px -28px rgba(42,32,25,.5); }
.form-done::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(42,32,25,.2); border-radius: 4px; pointer-events: none; }
.form-done .ico { width: 48px; height: 48px; stroke: var(--sage); }
.form-done h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 10px; }
.form-done p { color: #3E3229; max-width: 46ch; }
.form-done p + p { margin-top: 12px; }
.form-done:not([hidden]) { animation: enter 600ms var(--ease-out) both; }
.notice.is-full .btn { display: none; }

/* ---------- results (hidden until there's a real result) ---------- */
.results { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.result-card { background: var(--card); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 0 rgba(42,32,25,.08), 0 24px 50px -28px rgba(42,32,25,.5); }
.result-nums { display: flex; flex-wrap: wrap; gap: 24px 48px; margin: 0 0 20px; }
.result-nums div { display: grid; gap: 4px; }
.result-nums dt { font: 700 .95rem/1 var(--f-wood); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.result-nums dd { margin: 0; font: 800 clamp(2.6rem, 2rem + 2vw, 3.6rem)/1 var(--f-wood); color: var(--rust-deep); }
.result-card blockquote { margin: 0; font: 600 1.2rem/1.45 var(--f-display); }
.result-card cite { display: block; margin-top: 10px; font: normal 600 .95rem var(--f-body); color: var(--ink-2); }
@media (max-width: 960px) { .results { grid-template-columns: 1fr; } }

/* ---------- slim cookie notice ---------- */
.consent { left: 50%; right: auto; bottom: 12px; width: min(760px, calc(100vw - 24px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px 20px; padding: 12px 12px 12px 20px; border-radius: 999px; }
.consent.is-leaving { transform: translate(-50%, 12px); }
@starting-style { .consent { transform: translate(-50%, 16px); opacity: 0; } }
.consent p { flex: 1; font-size: .95rem; line-height: 1.4; margin: 0; }
.consent-actions { flex: none; margin: 0; gap: 8px; flex-wrap: nowrap; }
.consent-actions .btn { flex: none; min-height: 44px; padding: 0 18px; font-size: .9rem; border-radius: 999px; }
@media (max-width: 640px) {
  .consent { flex-wrap: wrap; border-radius: 14px; padding: 12px 14px; bottom: 8px; left: 50%; right: auto; width: calc(100vw - 16px); }
  .consent p { flex-basis: 100%; font-size: .9rem; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}
