/* Tussock & Stone: lichen ground, podocarp ink, one kōwhai CTA. */
@font-face { font-family: "Boska"; src: url(fonts/Boska-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Boska"; src: url(fonts/Boska-500i.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(fonts/Switzer-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(fonts/Switzer-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(fonts/Switzer-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --lichen: #DDE3D3;
  --lichen-2: #D1D9C6;
  --moss: #4A5A4E;
  --pod: #15241B;
  --pod-2: #1E3326;
  --pod-3: #2B4434;
  --on-pod: #DDE3D3;
  --on-pod-2: #A6B4A2;
  --kowhai: #E7B422;
  --kowhai-h: #F2C43F;
  --line: rgba(21, 36, 27, .16);
  --line-d: rgba(221, 227, 211, .16);

  --serif: "Boska", "Iowan Old Style", Georgia, serif;
  --sans: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --m: clamp(20px, 4.1vw + 4px, 64px);
  --g: clamp(14px, .75vw + 12px, 24px);
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-ui: cubic-bezier(.23, 1, .32, 1);
  --t1: 140ms; --t2: 220ms;
  --r: 999px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--lichen); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--pod); background: var(--lichen); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button, a, summary, [role=tab] { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--pod); color: var(--lichen); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--pod); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--kowhai); }
::selection { background: var(--pod); color: var(--lichen); }
.wrap { padding-inline: var(--m); max-width: 1600px; margin-inline: auto; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.touch-only { display: none; }
@media (hover: none), (pointer: coarse) { .touch-only { display: inline; } .fine-only { display: none; } }

.d2 { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 5vw + 14px, 104px); line-height: .92; letter-spacing: -.03em; }

/* buttons: pill, kōwhai fill, ink text */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 26px; border: 0; border-radius: var(--r); font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--t1) var(--e-ui), background-color var(--t2) ease, color var(--t2) ease, box-shadow var(--t2) ease; }
.btn:active { transform: scale(.97); }
.btn-k { background: var(--kowhai); color: var(--pod); }
.btn-sub { font-weight: 500; opacity: .72; padding-left: 12px; border-left: 1px solid rgba(21,36,27,.3); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
@media (hover: hover) and (pointer: fine) { .btn-k:hover { background: var(--kowhai-h); } .btn-line:hover { box-shadow: inset 0 0 0 2px currentColor; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--m); color: var(--pod); transition: color var(--t2) ease, background-color 300ms ease; }
.nav.is-dark { color: var(--on-pod); }
.nav.is-solid { background: rgba(221,227,211,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav.is-dark.is-solid { background: rgba(21,36,27,.9); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: -.02em;  white-space: nowrap; }
@media (max-width: 479px) { .logo { font-size: 20px; } }
.logo-mark { width: 26px; height: 26px; margin-top: -4px; }
.nav-links { display: none; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding: 4px 0; transition: background-size 300ms var(--e-out); }
@media (hover: hover) { .nav-links a:hover { background-size: 100% 1px; } }
@media (min-width: 1000px) { .nav-links { display: flex; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 200vh; height: 200svh; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--lichen); }
.grass { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; }
.grass-back { z-index: 1; }
.grass-front { z-index: 3; }
.hero-top { position: absolute; z-index: 4; left: var(--m); right: var(--m); top: calc(var(--nav-h) + 12px); display: flex; justify-content: space-between; gap: 20px; }
.hero-intro { max-width: 30ch; font-size: clamp(15px, .35vw + 14px, 18px); line-height: 1.45; }
.hero-where { display: none; text-align: right; font-size: 14px; line-height: 1.4; color: var(--moss); }
@media (min-width: 720px) { .hero-where { display: block; } }
.hero-h { position: absolute; z-index: 2; left: var(--m); right: var(--m); top: 52%; transform: translateY(-50%); font-family: var(--serif); font-weight: 700; letter-spacing: -.045em; line-height: .84; font-size: var(--hero-fs, 33vw); }
.hero-h span { display: block; white-space: nowrap; }
.hero-h .l2 { text-align: right; margin-right: -.02em; }
@media (min-width: 720px) { .hero-h { font-size: var(--hero-fs, 20vw); top: 57%; } }
.hero-foot { position: absolute; z-index: 4; left: var(--m); right: var(--m); bottom: clamp(22px, 5vh, 56px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; }
@media (max-width: 719px) { .hero-foot { bottom: 64px; } }
.hero-from { font-size: 14px; color: var(--pod); text-align: right; line-height: 1.5; background: rgba(221,227,211,.82); padding: 8px 12px; border-radius: 10px; }
.hero-from b { font-weight: 600; }
.hero-from .hint { color: var(--moss); }
@media (max-width: 559px) { .hero-from { display: none; } }
.hero-foot .btn { box-shadow: 0 10px 30px -12px rgba(21,36,27,.5); }
html.rm .hero, html:not(.js) .hero { height: auto; }
html.rm .hero-pin, html:not(.js) .hero-pin { position: relative; }

/* ---------- thesis ---------- */
.thesis { padding: clamp(72px, 9vw, 160px) 0 clamp(96px, 11vw, 200px); }
.thesis-in { display: grid; gap: 48px; }
.thesis-p { font-family: var(--sans); font-weight: 500; font-size: clamp(24px, 2.2vw + 12px, 46px); line-height: 1.18; letter-spacing: -.02em; max-width: 30ch; }
.thesis-p .w { opacity: .18; transition: opacity 300ms ease; }
.thesis-p .w.on { opacity: 1; }
html.rm .thesis-p .w { opacity: 1; }
.thesis-facts { margin: 0; display: grid; gap: 0; align-self: end; border-top: 1px solid var(--line); }
.thesis-facts div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.thesis-facts dt { color: var(--moss); }
.thesis-facts dd { margin: 0; font-weight: 500; }
@media (min-width: 1000px) { .thesis-in { grid-template-columns: 8fr 4fr; gap: var(--g); } }

/* ---------- dark bands ---------- */
.dark { background: var(--pod); color: var(--on-pod); }

/* ---------- before / after ---------- */
.work { padding: clamp(72px, 8vw, 140px) 0 clamp(64px, 7vw, 120px); }
.work-head { display: grid; gap: 28px; margin-bottom: clamp(28px, 3vw, 48px); }
@media (min-width: 1000px) { .work-head { grid-template-columns: 7fr 5fr; align-items: end; } .work-head h2 { max-width: 10ch; } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
@media (min-width: 1000px) { .tabs { justify-content: flex-end; } }
.tab { height: 42px; padding: 0 18px; border-radius: var(--r); border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line-d); color: var(--on-pod-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color var(--t2) ease, color var(--t2) ease, box-shadow var(--t2) ease; }
.tab[aria-selected="true"] { background: var(--on-pod); color: var(--pod); box-shadow: none; }
@media (hover: hover) { .tab:not([aria-selected="true"]):hover { color: var(--on-pod); box-shadow: inset 0 0 0 1px var(--on-pod-2); } }
.ba-wrap { padding-inline: var(--m); max-width: 1600px; margin-inline: auto; }
.ba { position: relative; aspect-ratio: 3 / 2; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: var(--pod-2); }
@media (max-width: 719px) { .ba-wrap { padding-inline: 0; } .ba { aspect-ratio: 4 / 5; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-notes { position: absolute; inset: 0; pointer-events: none; }
.note { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-6px, -50%); font: 600 12.5px/1.25 var(--sans); color: var(--pod); white-space: nowrap; }
.note::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--pod); background: var(--lichen); flex: none; }
.note span { background: rgba(221,227,211,.86); padding: 3px 7px; border-radius: 4px; }
.note.r { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
@media (max-width: 719px) { .note { font-size: 11px; } .note.hide-sm { display: none; } }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--lichen); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--lichen); color: var(--pod); display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transition: transform 200ms var(--e-ui); }
.ba.dragging .ba-knob { transform: scale(.92); }
.ba-lab { position: absolute; top: 16px; padding: 6px 12px; border-radius: var(--r); font-size: 13px; font-weight: 600; pointer-events: none; }
.ba-lab-l { left: 16px; background: var(--pod); color: var(--lichen); }
.ba-lab-r { right: 16px; background: var(--lichen); color: var(--pod); }
.ba-range { position: absolute; inset: auto 0 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.ba-range:focus-visible ~ .ba-handle .ba-knob, .ba:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--kowhai); outline-offset: 3px; }
.ba-facts { display: flex; flex-wrap: wrap; gap: 10px 40px; padding-top: 22px; font-size: 15px; color: var(--on-pod-2); }
.ba-facts b { color: var(--on-pod); font-weight: 600; }
.ba-facts .ba-name { font-family: var(--serif); font-size: 24px; color: var(--on-pod); letter-spacing: -.02em; margin-right: auto; line-height: 1.1; }
.ba-facts .fine { width: 100%; font-size: 12.5px; }

/* ---------- how we build ---------- */
.how { position: relative; padding: clamp(96px, 11vw, 200px) 0 clamp(80px, 8vw, 140px); }
.how-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); } .how-l { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; } }
.how-l h2 { max-width: 11ch; }
.how-ph { margin: 0; }
.how-ph img { width: 100%; object-fit: cover; }
.how-ph figcaption { font-size: 13px; color: var(--moss); padding-top: 10px; }
.how-ph-a { margin-top: 40px; max-width: 360px; }
.how-ph-a img { aspect-ratio: 4 / 5; border-radius: 180px 180px 0 0; }
.how-ph-b { display: none; }
@media (min-width: 1000px) { .how-ph-b { display: block; position: absolute; right: var(--m); bottom: -140px; width: 22vw; max-width: 340px; z-index: 2; } .how-ph-b img { aspect-ratio: 2 / 3; } }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: clamp(64px, 7vw, 120px) 1fr; gap: 16px; padding: clamp(22px, 2.4vw, 36px) 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.st-n { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 3.4vw + 10px, 72px); line-height: .85; letter-spacing: -.03em; color: var(--pod); }
.steps h3 { font-family: var(--serif); font-size: clamp(24px, 1.2vw + 18px, 36px); letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.steps p { color: var(--moss); max-width: 48ch; }
@media (min-width: 1000px) { .steps { padding-bottom: 120px; } }

/* ---------- material band ---------- */
.band { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--g); padding: clamp(80px, 10vw, 200px) var(--m) clamp(80px, 9vw, 160px); max-width: 1600px; margin: 0 auto; align-items: start; }
.band figure { margin: 0; }
.band img { width: 100%; object-fit: cover; }
.band figcaption { font-size: 14px; color: var(--moss); padding-top: 12px; max-width: 34ch; }
.band-a { grid-column: 1 / -1; } .band-a img { aspect-ratio: 3 / 2; }
.band-b { grid-column: 4 / -1; margin-top: 8px !important; } .band-b img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .band-a { grid-column: 1 / 9; } .band-b { grid-column: 9 / -1; margin-top: 24vh !important; }
}

/* ---------- quiz ---------- */
.quiz { padding: clamp(80px, 9vw, 160px) 0 clamp(96px, 10vw, 180px); }
.quiz-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .quiz-grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); align-items: start; } .quiz-l { position: sticky; top: calc(var(--nav-h) + 24px); } }
.quiz-sub { margin-top: 20px; color: var(--on-pod-2); max-width: 36ch; font-size: clamp(16px, .3vw + 15px, 19px); }
.tufts { display: flex; gap: 6px; margin-top: 36px; height: 56px; align-items: flex-end; }
.tufts svg { width: 52px; height: 52px; color: var(--on-pod); transform-origin: 50% 100%; transform: scaleY(.18); opacity: .35; transition: transform 700ms var(--e-out), opacity 400ms ease; }
.tufts svg.on { transform: none; opacity: 1; }
.qz { min-height: 420px; }
.qz-step { font-size: 14px; color: var(--on-pod-2); display: flex; justify-content: space-between; align-items: center; }
.qz-q { font-family: var(--serif); font-size: clamp(30px, 2vw + 20px, 54px); line-height: 1; letter-spacing: -.025em; margin: 14px 0 28px; max-width: 16ch; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 68px; padding: 14px 22px; border: 0; border-radius: 16px; background: var(--pod-2); color: var(--on-pod); text-align: left; cursor: pointer; transition: background-color var(--t2) ease, transform var(--t1) var(--e-ui); }
.opt:active { transform: scale(.985); }
.opt b { font-weight: 500; font-size: 18px; }
.opt small { color: var(--on-pod-2); font-size: 14px; white-space: nowrap; }
.opt[aria-pressed="true"] { background: var(--on-pod); color: var(--pod); }
.opt[aria-pressed="true"] small { color: var(--moss); }
@media (hover: hover) { .opt:not([aria-pressed="true"]):hover { background: var(--pod-3); } }
.qz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.txt-btn { background: none; border: 0; padding: 8px 0; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--on-pod-2); cursor: pointer; }
.txt-btn:hover { color: var(--on-pod); }
.qz-in { animation: qin 500ms var(--e-out) both; }
@keyframes qin { from { opacity: 0; transform: translateY(14px); } }

.res { background: var(--lichen); color: var(--pod); border-radius: 24px; padding: clamp(24px, 3vw, 44px); }
.res-k { font-size: 14px; color: var(--moss); }
.res-name { font-family: var(--serif); font-size: clamp(40px, 3vw + 24px, 76px); line-height: .9; letter-spacing: -.035em; margin: 10px 0 14px; }
.res-price { font-size: clamp(20px, .6vw + 17px, 26px); font-weight: 600; letter-spacing: -.01em; }
.res-why { color: var(--moss); margin: 12px 0 24px; max-width: 52ch; }
.res-cols { display: grid; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .res-cols { grid-template-columns: 1fr 1fr; } }
.res h3 { font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--moss); margin-bottom: 10px; }
.res ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15.5px; }
.res li em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 17px; }
.res li span { color: var(--moss); }
.res-act { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 24px; }
.res .txt-btn { color: var(--moss); }
.res .txt-btn:hover { color: var(--pod); }
.res-form { display: grid; gap: 12px; margin-top: 22px; grid-template-columns: 1fr 1fr; }
.res-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--moss); }
.res-form .wide, .res-form .btn, .res-err { grid-column: 1 / -1; }
@media (max-width: 519px) { .res-form label { grid-column: 1 / -1; } }
.res-form input { height: 52px; padding: 0 16px; border: 1px solid rgba(21,36,27,.28); border-radius: 12px; background: #EEF1E8; font-size: 16px; color: var(--pod); }
.res-form input[aria-invalid="true"] { border-color: #8A2B1D; }
.res-err { color: #8A2B1D; font-weight: 600; font-size: 14px; }
.res-err:empty { display: none; }
.res-done { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--pod); color: var(--on-pod); }
.res-done b { font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; display: block; margin-bottom: 4px; }
.res-fine { margin-top: 14px; font-size: 12.5px; color: var(--moss); }

/* ---------- footer ---------- */
.foot { padding-top: clamp(80px, 9vw, 150px); overflow: hidden; }
.foot-top { display: grid; gap: 28px; padding-bottom: clamp(48px, 6vw, 96px); }
.foot-line { font-family: var(--serif); font-size: clamp(34px, 3.6vw + 14px, 80px); line-height: .95; letter-spacing: -.03em; max-width: 17ch; }
@media (min-width: 1000px) { .foot-top { grid-template-columns: 8fr 4fr; align-items: end; } .foot-top .btn { justify-self: end; } }
.foot-grid { display: grid; gap: 24px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line-d); font-size: 14px; color: var(--on-pod-2); }
.foot-grid a { color: var(--on-pod); text-decoration: none; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.credits { font-size: 13px; line-height: 1.6; max-width: 64ch; }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 3fr 2fr 6fr; } }
.foot-field { position: relative; height: clamp(200px, 30vw, 460px); }
.foot-word { position: absolute; left: 0; right: 0; bottom: 4%; margin: 0; padding: 0 var(--m); font-family: var(--serif); font-weight: 700; line-height: .8; letter-spacing: -.045em; white-space: nowrap; color: var(--on-pod); font-size: 14vw; }
.foot-word span { display: inline-block; }
.grass-foot { z-index: 2; }

.concept-badge { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--r); background: var(--pod); color: var(--lichen); font: 500 12px/1.2 var(--sans); text-decoration: none; box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); transition: transform var(--t1) var(--e-ui); }
.concept-badge:hover { transform: translateY(-1px); }

/* heading reveal (headings only) */
html.js:not(.rm) .rv { clip-path: inset(0 0 100% 0); transform: translateY(.3em); transition: clip-path 1.05s var(--e-out), transform 1.05s var(--e-out); }
html.js:not(.rm) .rv.in { clip-path: inset(-20% -5% -25% -5%); transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
