/* Elven Earth design system: locked tokens (DECISIONS.md 1–3) + block styles for step 4 layouts. Read by build-blocks.mjs. */
:root {
  /* colour: Utópico */
  --bg:#fff8e7; --surface:#fffdf6; --text:#1b3a2e; --muted:#4d6358; --line:#ece2c8; --primary:#2d6a4f; --btn:#ffb703; --on-btn:#1b3a2e;
  --sky:#219ebc; --moss:#52b788; --tint:#e6f1e4; --ok:#2d6a4f; --no:#c1440e; --ask:#a5720a; --paper:#ffffff; --scrim:27,58,46; --on-photo:#fff8e7;
  /* type: Nunito + JetBrains Mono */
  --f:Nunito,system-ui,sans-serif; --mono:"JetBrains Mono",ui-monospace,monospace;
  /* elements: Valley */
  --r-card:32px 32px 32px 8px; --r-img:32px 8px 32px 32px; --r-pill:99px; --shadow:0 8px 24px rgba(45,106,79,.12); --shadow-hover:0 14px 32px rgba(45,106,79,.2);
  --sec:clamp(64px,9vw,128px);
  /* surfaces that were hard-coded (light values = the old literals) */
  --on-primary:#fff8e7; --panel:#1b3a2e; --glass:255,248,231; --glass-2:255,253,246; --fade:255,255,255; --scrub-bg:#fff; --tint-2:#d7eadb;
  --g-ok:#e6f1e4; --g-no:#f9e3d9; --g-ask:#f8edcf;
  color-scheme: light;
}
/* dark mode (default): black and dark-grey ground, cream text, gold accents, green buttons, sun-yellow CTA kept.
   Light = html[data-theme=light], set by the nav switch (localStorage "theme"). */
:root:not([data-theme=light]) {
  --bg:#111111; --surface:#1a1a1a; --paper:#212121; --tint:#262626; --tint-2:#303030; --line:#333333;
  --text:#f4ecd6; --muted:#b5b2a8; --primary:#ffb703; --on-primary:#111111; --moss:#2d6a4f; --sky:#5cc3df;
  --ok:#52b788; --no:#f2905f; --ask:#e8b84a; --panel:#0a0a0a;
  --glass:17,17,17; --glass-2:26,26,26; --fade:17,17,17; --scrub-bg:#111111;
  --g-ok:#2a2a2a; --g-no:#2a2a2a; --g-ask:#2a2a2a;
  --fill:#2d6a4f; --on-fill:#fff8e7; --fill-line:#2d6a4f;
  --shadow:0 8px 24px rgba(0,0,0,.4); --shadow-hover:0 14px 32px rgba(0,0,0,.55);
  color-scheme: dark;
}
/* dark (2026-11-19, trial B): black/grey ground, gold words, verdant green buttons and badges. No mint. */
:root:not([data-theme=light]) :is(.btn-sec, .chip.on, .tl-c .n, .attach.has, .gt .fast, .key b.fast) { background: var(--fill); color: var(--on-fill); }
:root:not([data-theme=light]) .plus::before, :root:not([data-theme=light]) .plus::after { background: var(--fill); }
:root:not([data-theme=light]) .btn-ghost { border-color: var(--fill-line); }
:root:not([data-theme=light]) :is(.chip.tag, .bub, .stepper .n) { color: #f4ecd6; background: #1b3a2e; }
:root:not([data-theme=light]) .total .lbl { color: var(--btn); }
:root:not([data-theme=light]) img { filter: brightness(.94); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f); }
a { color: var(--primary); }
img { max-width: 100%; }
.wrap { max-width: 84rem; margin: 0 auto; padding-inline: max(16px, 3vw); }
.mock-note { background: var(--panel); color: var(--on-photo); font-size: 13px; padding-block: 10px; }
.mock-note .others { opacity: .65; margin-left: 8px; }

/* type */
.h1, .h2, .h3 { font-family: var(--f); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(40px, 6vw, 84px); }
.h1.xl { font-size: clamp(44px, 8vw, 120px); max-width: 14ch; }
.h2 { font-size: clamp(30px, 4vw, 56px); }
.h3 { font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -0.015em; line-height: 1.2; }
.duo { color: var(--primary); }
.kicker { font: 600 13px/1.3 var(--f); letter-spacing: .03em; color: var(--primary); }
.kicker.on-photo { color: var(--btn); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; max-width: 52ch; margin: 0; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.lbl { font: 600 13px/1.3 var(--f); letter-spacing: .03em; color: var(--primary); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.stack { display: grid; gap: 18px; align-content: start; min-width: 0; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* buttons, chips, icons */
.btn { font: 700 15px/1 var(--f); padding: 15px 22px; border-radius: var(--r-pill); border: 1.5px solid transparent; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; transition: transform .15s, filter .15s, box-shadow .15s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; }
.btn.sm { padding: 11px 16px; font-size: 14px; }
.btn-main { background: var(--btn); color: var(--on-btn); }
.btn-main:hover { filter: brightness(.95); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-sec { background: var(--primary); color: var(--on-primary); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-ghost:hover { background: var(--tint); }
.btn-ghost.light { border-color: rgba(255,248,231,.6); color: var(--on-photo); }
.btn-ghost.light:hover { background: rgba(255,248,231,.12); }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, button:focus-visible, label:focus-within { outline: 2px solid var(--sky); outline-offset: 2px; }
.chip { font: 600 13px/1 var(--f); padding: 7px 12px; border-radius: var(--r-pill); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.chip.mono { font: 500 12.5px/1 var(--mono); }
.chip.tag { background: var(--tint); color: var(--primary); }
.chip.tbd { border: 1.5px dashed var(--muted); color: var(--muted); }
.chip.on { background: var(--primary); color: var(--on-primary); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bub { width: 48px; height: 48px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.valley { display: block; width: 100%; height: 24px; fill: none; stroke: var(--moss); stroke-width: 2; stroke-linecap: round; }
.g { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; }
.g svg { width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.g.ok { background: var(--ok); } .g.no { background: var(--no); } .g.ask { background: var(--ask); }
.dial { flex: none; }
.dial-bg { fill: none; stroke: var(--tint); stroke-width: 10; }
.dial-fg { fill: none; stroke: var(--primary); stroke-width: 10; stroke-linecap: round; }
.dial-n { font: 500 30px/1 var(--mono); fill: var(--text); }
.dial-of { font: 600 11px/1 var(--f); fill: var(--muted); }

/* surfaces */
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: clamp(20px, 2.4vw, 28px); min-width: 0; display: grid; gap: 12px; align-content: start; }
.card p { margin: 0; }
.frame { position: relative; border-radius: var(--r-img); overflow: hidden; background: var(--tint) center/cover no-repeat; aspect-ratio: 4/3; max-width: 100%; box-shadow: var(--shadow); margin: 0; }
.frame.tall { aspect-ratio: 4/5; } .frame.wide { aspect-ratio: 16/10; } .frame.sq { aspect-ratio: 1; }
.cap { position: absolute; left: 14px; bottom: 14px; font: 600 12px/1 var(--f); background: rgba(var(--glass),.92); color: var(--text); padding: 6px 10px; border-radius: var(--r-pill); }
.cap.tr { left: auto; bottom: auto; right: max(16px, 3vw); top: 84px; z-index: 2; }

/* sections */
.sec { padding-block: var(--sec); }
.sec.tinted { background: var(--surface); }
.sec.hill { background: var(--tint); position: relative; overflow: hidden; }
.sec.hill::before { content: ""; position: absolute; inset: auto -10% -55% -10%; height: 110%; border-radius: 50% 50% 0 0 / 28% 28% 0 0; background: var(--moss); opacity: .16; }
.sec.hill > .wrap { position: relative; }
.shead { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 46rem; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } }

/* nav + sticky */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(var(--glass),.9); backdrop-filter: blur(10px); }
.nav.on-photo { position: absolute; top: auto; left: 0; right: 0; background: none; backdrop-filter: none; }
.navin { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 4px; font: 800 19px/1 var(--f); letter-spacing: -0.03em; color: var(--text); text-decoration: none; }
.logo svg { width: 26px; height: 13px; fill: none; stroke: var(--btn); stroke-width: 2.8; stroke-linecap: round; }
.on-photo .logo { color: var(--on-photo); }
.links { display: flex; gap: 22px; }
.links a { color: inherit; text-decoration: none; font-weight: 600; }
.on-photo .links a { color: var(--on-photo); }
@media (max-width: 760px) { .links { display: none; } }
.sticky { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; box-shadow: var(--shadow-hover); }
@media (max-width: 560px) { .sticky { left: 16px; justify-content: center; } }

/* shared: report sheet */
.paper { background: var(--paper); border-radius: 10px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; position: relative; min-width: 0; }
.paper .stamp { position: absolute; top: -12px; left: 22px; font: 600 11.5px/1 var(--f); background: var(--btn); color: var(--on-btn); padding: 6px 10px; border-radius: var(--r-pill); }
.paper .ph { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 8px; }
.paper .ph strong { display: block; font: 800 18px/1.25 var(--f); letter-spacing: -0.01em; margin-top: 4px; }
.tally { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.tally > span { display: inline-flex; gap: 6px; align-items: center; }
.rows .row { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.rows .note { font-size: 12px; color: var(--muted); }
.paper.big { padding: 30px; }

/* shared: forms */
.form { display: grid; gap: 14px; }
.form-card { gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font: 700 14px/1.2 var(--f); }
input[type=text] { font: 400 16px/1.2 var(--f); color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 13px 18px; width: 100%; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; background: var(--tint); border-radius: var(--r-pill); padding: 5px; }
.seg label { flex: 1 1 auto; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; font: 700 14px/1.2 var(--f); padding: 10px 14px; border-radius: var(--r-pill); color: var(--primary); }
.seg input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg.big { border-radius: 28px; margin-bottom: 24px; }
.seg.big span { border-radius: 22px; padding: 12px 16px; display: grid; gap: 2px; }
.seg.big em { font-style: normal; font-weight: 500; }
.sent { display: flex; gap: 10px; align-items: center; background: var(--tint); border-radius: 16px; padding: 12px 14px; font-size: 14px; }

/* shared: packages + total */
.pk-list { display: grid; gap: 10px; }
.pk { display: grid; grid-template-columns: auto 48px 1fr auto; gap: 14px; align-items: center; background: var(--paper); border-radius: 22px; padding: 12px 16px; cursor: pointer; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s, transform .2s; }
.pk:hover { box-shadow: var(--shadow); }
.pk input, .tile input, .prow input { width: 20px; height: 20px; accent-color: var(--primary); margin: 0; }
.pk-t { display: grid; gap: 2px; min-width: 0; }
.pk-f { text-align: right; font-size: 13px; }
@media (max-width: 560px) { .pk { grid-template-columns: auto 1fr; } .pk .bub { display: none; } .pk-f { grid-column: 2; text-align: left; } }
.total { background: var(--panel); color: var(--on-photo); border-radius: var(--r-card); padding: 28px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-hover); min-width: 0; }
.total .lbl { color: var(--moss); }
.total .small, .total .fine { color: rgba(255,248,231,.72); }
.tot { font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.total .split { height: 10px; border-radius: 99px; background: rgba(255,248,231,.14); box-shadow: inset 0 0 0 1px rgba(255,248,231,.22); display: flex; overflow: hidden; }
.total .split i { display: block; height: 100%; transition: width .3s; }
.total .split i:first-child, .k-fee { background: var(--btn); }
.k-track { background: rgba(255,248,231,.14); box-shadow: inset 0 0 0 1px rgba(255,248,231,.22); }
.legend { display: grid; gap: 4px; }
.legend b { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 7px; }
.total.stick { position: sticky; top: 88px; }
.total.bar { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px; margin-top: 20px; }
.total.bar .split, .total.bar .legend, .total.bar .fine { grid-column: 1 / -1; }
@media (max-width: 760px) { .total.bar { grid-template-columns: 1fr; } }
.bundle { background: var(--paper); border-radius: var(--r-card); padding: 20px 22px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.bl { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bl strong { font: 800 18px/1.2 var(--f); }
input[type=range] { width: 100%; accent-color: var(--primary); }
.stops { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }

/* shared: timeline */
.gantt { display: grid; gap: 14px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); overflow-x: auto; }
.gantt .axis { position: relative; height: 18px; margin-left: 240px; font-size: 12px; color: var(--muted); }
.gantt .axis span { position: absolute; transform: translateX(-50%); }
.gantt .axis span:last-child { transform: translateX(-100%); }
.gr { display: grid; grid-template-columns: 224px 1fr; gap: 16px; align-items: center; min-width: 560px; }
.gl { display: grid; gap: 2px; }
.gt { position: relative; height: 26px; border-radius: 99px; background: var(--bg); }
.gt i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.gt .slow, .key b.slow { background: repeating-linear-gradient(135deg, rgba(82,183,136,.55) 0 5px, rgba(82,183,136,.18) 5px 10px); }
.gt .fast, .key b.fast { background: var(--primary); }
.key { display: flex; gap: 18px; flex-wrap: wrap; margin-left: 240px; }
.key b { display: inline-block; width: 22px; height: 10px; border-radius: 99px; margin-right: 7px; vertical-align: 0; }
@media (max-width: 700px) { .gantt .axis, .key { margin-left: 0; } .gr { grid-template-columns: 1fr; min-width: 0; gap: 6px; } .gantt .axis { display: none; } }

/* shared: faq */
.faq { display: grid; gap: 10px; }
details { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 0 22px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font: 800 17px/1.3 var(--f); letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
.plus { width: 28px; height: 28px; border-radius: 50%; background: var(--tint); flex: none; position: relative; }
.plus::before, .plus::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .2s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }
.faq.grid2 { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 900px) { .faq.grid2 { grid-template-columns: 1fr; } }

/* footer */
.foot { padding-block: 24px 96px; background: var(--surface); }
.foot .valley.wide { margin-bottom: 36px; }
.foot .bigmark { font-size: 18.4cqw; white-space: nowrap; margin-bottom: 12px; }
.fin { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: end; margin-bottom: 24px; }
.foot .wrap { container-type: inline-size; }
.foot .fin > div:first-child { flex: 1 1 100%; }
.bigmark { font: 800 clamp(56px, 12vw, 190px)/.9 var(--f); letter-spacing: -0.05em; color: var(--text); }
.fl { display: grid; gap: 6px; }
.fl a { color: var(--text); font-weight: 600; text-decoration: none; }

/* ===== Layout 1: Story ===== */
.hero-a { position: relative; min-height: min(92vh, 860px); background: center/cover no-repeat; color: var(--on-photo); display: flex; align-items: flex-end; isolation: isolate; }
.hero-a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--scrim),.85), rgba(var(--scrim),.15) 70%), linear-gradient(0deg, rgba(var(--scrim),.85), transparent 55%); }
.hin { display: grid; gap: 20px; padding-block: 140px 96px; width: 100%; }
.hin .h1 { max-width: 13ch; }
.hin .duo, .hero-a .duo { color: var(--moss); }
.hin .lead { color: rgba(255,248,231,.88); }
.cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,248,231,.75); }
.beats-a { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 64px); }
.rail { position: sticky; top: 96px; align-self: start; display: grid; gap: 4px; }
.rail a { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: var(--r-pill); color: var(--muted); text-decoration: none; font-weight: 700; }
.rail a .mono { font-size: 12px; }
.rail a.on { background: var(--tint); color: var(--primary); }
.rail .fine { padding: 10px 14px; }
.beat-list { display: grid; gap: clamp(32px, 5vw, 64px); }
.beat { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.bt { display: grid; gap: 12px; justify-items: start; }
.bt p { margin: 0; }
@media (max-width: 900px) {
  .beats-a { grid-template-columns: 1fr; }
  .rail { top: 60px; z-index: 5; display: flex; overflow-x: auto; background: var(--bg); padding-block: 8px; }
  .rail a { flex: none; } .rail .fine { display: none; }
  .beat { grid-template-columns: 1fr; }
}
.checks { display: grid; gap: 14px; }
.checks > div { display: grid; gap: 6px; }
.cards5 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cards5 .card { grid-column: span 2; justify-items: start; }
.cards5 .card:nth-child(n+4) { grid-column: span 3; background: var(--tint); }
@media (max-width: 900px) { .cards5 { grid-template-columns: 1fr; } .cards5 .card, .cards5 .card:nth-child(n+4) { grid-column: auto; } }
.cfg-a { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .cfg-a { grid-template-columns: 1fr; } .total.stick { position: static; } }
.faq-a .shead { position: sticky; top: 96px; }
@media (max-width: 900px) { .faq-a .shead { position: static; } }

/* ===== Layout 2: Configurator ===== */
.hero-b { padding-block: 40px var(--sec); }
.hb { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hb-t .form-card { margin-top: 6px; }
.hb-i { position: relative; }
.float { position: absolute; left: -24px; bottom: 32px; justify-items: center; padding: 16px; }
@media (max-width: 900px) { .hb { grid-template-columns: 1fr; } .hb-i { order: -1; } .float { left: 12px; bottom: 12px; } .frame.tall { aspect-ratio: 4/3; } }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.swipe { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
.sw-card { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; justify-items: start; }
.sw-card .frame { width: 100%; }
.sw-card p { margin: 0; }
@media (max-width: 560px) { .swipe { grid-auto-columns: 82%; } }
.cfg-b { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .cfg-b { grid-template-columns: 1fr; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile { position: relative; display: grid; gap: 8px; align-content: start; background: var(--paper); border-radius: 24px; padding: 18px; cursor: pointer; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s, transform .2s; }
.tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tile input { position: absolute; top: 18px; right: 18px; }
.tile:has(input:checked) { box-shadow: inset 0 0 0 2px var(--primary), var(--shadow); }
.tile .pk-f { text-align: left; font-size: 12.5px; color: var(--primary); }
.score-b { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: stretch; }
.sb-main { justify-items: center; text-align: center; }
.sb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sb-cols ul { margin: 0; padding-left: 18px; color: var(--muted); }
@media (max-width: 900px) { .score-b, .sb-cols { grid-template-columns: 1fr; } }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.num-card { justify-items: start; }
.plain { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hilltile { grid-template-columns: 48px 1fr; gap: 16px; background: var(--tint); }
@media (max-width: 900px) { .nums, .plain { grid-template-columns: 1fr; } }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stepper li { display: grid; grid-template-columns: 48px 1fr 1.4fr; gap: 16px; align-items: center; background: var(--paper); border-radius: 24px; padding: 14px 18px; box-shadow: 0 1px 0 var(--line); }
.stepper li > div:not(.mini) { display: grid; }
.stepper .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--primary); font-size: 14px; }
.mini { position: relative; height: 12px; border-radius: 99px; background: var(--bg); }
.mini i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--moss); }
@media (max-width: 700px) { .stepper li { grid-template-columns: 44px 1fr; } .mini { grid-column: 1 / -1; } }
.narrow { max-width: 52rem; }
.twoforms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .twoforms { grid-template-columns: 1fr; } }

/* ===== Layout 3: Field guide ===== */
.hero-c { padding-block: clamp(40px, 6vw, 80px) var(--sec); }
.hero-c > .wrap { display: grid; gap: 22px; }
.hc { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 4vw, 56px); align-items: end; margin-top: 12px; }
.facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.facts div { display: grid; }
.facts strong { font-size: 26px; font-weight: 500; color: var(--primary); }
@media (max-width: 900px) { .hc { grid-template-columns: 1fr; } }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.path li { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; }
.path li.r .frame { order: 2; }
.path .pt { display: grid; gap: 12px; justify-items: start; max-width: 30rem; }
.path .pt p { margin: 0; }
.path-v { order: 3; grid-column: 1 / -1; height: 40px; opacity: .8; }
.path li.r .path-v { transform: scaleX(-1); }
@media (max-width: 900px) { .path li { grid-template-columns: 1fr; } .path li.r .frame { order: 0; } }
.doc-c { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.notes li { padding-left: 16px; border-left: 3px solid var(--moss); }
.notes .g { vertical-align: -3px; }
@media (max-width: 900px) { .doc-c { grid-template-columns: 1fr; } }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(180px, auto); gap: 16px; }
.bento .card { justify-items: start; }
.bento .b0 { grid-column: span 2; } .bento .b3 { grid-column: span 2; grid-row: span 2; background: var(--tint); }
.bento .b4 { grid-column: span 2; background: var(--tint); }
.bento .b5 { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento > * { grid-column: auto !important; grid-row: auto !important; } .bento .b5 { aspect-ratio: 16/10; } }
.bund-c { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.bc { text-align: left; font: inherit; color: inherit; border: 0; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.bc:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.bc.on { box-shadow: inset 0 0 0 2px var(--primary), var(--shadow); }
@media (max-width: 760px) { .bund-c { grid-template-columns: 1fr; } }
.ptable { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 8px 22px; }
.ph-row, .prow { display: grid; grid-template-columns: 1fr 190px 110px; gap: 16px; align-items: center; }
.ph-row { padding: 12px 0; font-weight: 700; }
.prow { padding: 13px 0; border-top: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.pn { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; }
.pn > span { display: grid; gap: 2px; }
.pn strong { font-size: 16px; }
@media (max-width: 700px) { .ph-row { display: none; } .prow { grid-template-columns: 1fr 1fr; } .pn { grid-column: 1 / -1; } }
.tl-c { position: relative; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); }
.tl-v { height: 40px; margin-bottom: 8px; }
.tl-c ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tl-c li { display: grid; gap: 8px; justify-items: start; align-content: start; }
.tl-c .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 13px; }
@media (max-width: 760px) { .tl-c ol { grid-template-columns: 1fr 1fr; } .tl-v { display: none; } }
.tl-c + .fine { margin-top: 14px; }
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.seasons figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 2px; background: rgba(var(--glass-2),.94); border-radius: 18px; padding: 10px 14px; }
.seasons figcaption strong { font-size: 15px; }
@media (max-width: 760px) { .seasons { grid-template-columns: 1fr 1fr; } }
.form-c { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .form-c { grid-template-columns: 1fr; } }

/* ===== Layout 4: final mix ===== */
.vh { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.msg { position: relative; }
textarea { font: 400 16px/1.5 var(--f); color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 22px 22px 22px 8px; padding: 13px 18px 52px; width: 100%; resize: vertical; }
textarea:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.attach { position: absolute; left: 10px; bottom: 12px; display: inline-flex; gap: 6px; align-items: center; font: 700 13px/1 var(--f); color: var(--primary); background: var(--tint); padding: 8px 12px; border-radius: var(--r-pill); cursor: pointer; }
.attach .ic { width: 16px; height: 16px; }
.attach:hover { background: var(--tint-2); }
.hint { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.hint em { font-style: normal; font-weight: 700; color: var(--text); }
.hero-d { align-items: center; }
.hd { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: 120px 80px; }
.hd-t { gap: 20px; justify-items: start; }
.hd-t .h1 { max-width: 13ch; }
.hd-t .lead { color: rgba(255,248,231,.88); }
.hd .form-card { color: var(--text); }
.hero-d .cap a { color: inherit; }
@media (max-width: 900px) { .hd { grid-template-columns: 1fr; padding-block: 96px 48px; } }
.scrub { height: 420vh; position: relative; background: var(--scrub-bg); }
.scrub-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; color: var(--text); display: flex; align-items: flex-end; isolation: isolate; }
.sf { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity .5s; z-index: -2; }
.sf.on { opacity: 1; }
.scrub-stick::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--fade),.92), rgba(var(--fade),.55) 30%, rgba(var(--fade),0) 55%); transition: opacity .4s; }
.scrub-stick:has(.scrub-head.gone)::before { opacity: 0; }
.scrub-ui { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-block: 48px; }
.scrub-ui .h2 { max-width: 15ch; }
.scrub-ui .duo { color: var(--primary); }
.scrub-head { transition: opacity .4s, transform .4s; }
.scrub-head.gone { opacity: 0; transform: translateY(12px); pointer-events: none; }
.scrub-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(var(--fade),.6); }
.scrub-bar i { display: block; height: 100%; background: var(--btn); transform-origin: left; transform: scaleX(0); }
.chip.ph { background: rgba(255,183,3,.18); color: var(--btn); border: 1.5px dashed var(--btn); }
.ticks { display: flex; gap: 6px; margin-top: 6px; }
.ticks i { width: 28px; height: 4px; border-radius: 99px; background: rgba(255,248,231,.25); }
.ticks i.on { background: var(--btn); }
.faq-d { align-items: start; }
.faq-d .shead { margin-bottom: 24px; }
.fd-r { position: sticky; top: 88px; scroll-margin-top: 88px; }
@media (max-width: 900px) { .fd-r { position: static; } }
.logos .shead { margin-bottom: 32px; }
.lg-grid { display: grid; gap: 20px; }
.lg { margin: 0; display: grid; gap: 12px; }
.lg figcaption { display: grid; gap: 2px; }
.lg-art { border-radius: var(--r-card); box-shadow: var(--shadow); min-height: clamp(200px, 26vw, 340px); display: grid; place-items: center; padding: 24px; overflow: hidden; position: relative; }
.lg1 .lg-art { background: var(--surface); }
.lg1 .bigmark { font-size: clamp(56px, 12vw, 190px); text-align: center; }
.lg2 .lg-art { background: var(--surface); }
.lw { display: inline-flex; align-items: center; gap: .08em; font: 800 clamp(48px, 11vw, 170px)/1 var(--f); letter-spacing: -0.05em; color: var(--text); }
.lw svg { width: 1.3em; height: .65em; fill: none; stroke: var(--btn); stroke-width: 3; stroke-linecap: round; }
.lg3 .lg-art { background: var(--tint); align-content: center; gap: 0; }
.lg3 .lg-art::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 110%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: var(--moss); opacity: .2; }
.l3a, .l3b { position: relative; font: 800 clamp(48px, 10vw, 150px)/.9 var(--f); letter-spacing: -0.05em; color: var(--text); }
.l3a { justify-self: start; } .l3b { justify-self: end; color: var(--primary); }
.l3v { position: relative; width: min(100%, 60rem); height: clamp(30px, 5vw, 60px); fill: none; stroke: var(--btn); stroke-width: 3; stroke-linecap: round; }

/* Where we work: landscape photo */
.place-photo { margin: 0 0 16px; border-radius: var(--r-img); overflow: hidden; box-shadow: var(--shadow); }
.place-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 700px) { .place-photo img { aspect-ratio: 4 / 3; object-position: 50% 50%; } }

/* Real photos: sample report + Fire/Water tiles */
.paper-photo { margin: 4px 0 8px; border-radius: 16px 4px 16px 16px; overflow: hidden; }
.paper-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.tile-photo { grid-column: 1 / -1; margin: calc(-1 * clamp(20px, 2.4vw, 28px)) calc(-1 * clamp(20px, 2.4vw, 28px)) 4px; border-radius: var(--r-card); border-bottom-left-radius: 0; border-bottom-right-radius: 0; overflow: hidden; }
.tile-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* dark mode: grey hill instead of moss */
:root:not([data-theme=light]) .sec.hill::before { background: #fff; opacity: .04; }
/* theme switch (nav, top right) */
.nav-r { display: flex; align-items: center; gap: 10px; }
.theme-t { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer; background: transparent; border: 1.5px solid var(--line); color: var(--text); transition: background .2s; }
.on-photo .theme-t { border-color: rgba(255,248,231,.6); color: var(--on-photo); }
.theme-t:hover { background: rgba(255,248,231,.12); }
.theme-t:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.theme-t .ic { width: 20px; height: 20px; }
.theme-t .i-moon, [data-theme=light] .theme-t .i-sun { display: none; }
[data-theme=light] .theme-t .i-moon { display: block; }
