/* Layout concept: an expedition field ledger — night-forest ground, brass ink, cream paper notes,
   stencil crate lettering for the loud words, italic serif for the witty half. One loud moment per section. */
:root {
  --ink: #12110d;        /* page ground: warm forest-night */
  --char: #1b1a14;       /* raised panels */
  --char-2: #25231b;     /* deeper cards / hover */
  --cream: #efe4cb;      /* primary text */
  --cream-dim: #b8ad94;  /* secondary text */
  --brass: #d4a853;      /* accent: brass compass */
  --brass-deep: #9c7a36;
  --moss: #8b9a5b;       /* trail green, used sparingly */
  --ember: #d06a3f;      /* the X on the map, alerts */
  --paper: #e9dcbc;      /* light parchment panels */
  --paper-ink: #2a2116;
  --line: rgba(239, 228, 203, .14);
  --line-strong: rgba(239, 228, 203, .28);

  --f-stencil: "Big Shoulders Stencil Display", "Big Shoulders Stencil", "Oswald", Impact, "Arial Narrow", sans-serif;
  --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(.82rem, .79rem + .12vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + .5vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
  --step-4: clamp(2.9rem, 2.1rem + 4vw, 5.6rem);
  --step-5: clamp(3.4rem, 2.2rem + 6.2vw, 8.4rem);

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1240px;
  --radius: 6px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; 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: 12px; top: -60px; background: var(--brass); color: var(--ink); padding: 10px 14px; z-index: 100; font-weight: 600; border-radius: var(--radius); }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }

@view-transition { navigation: auto; }

/* ---------- type atoms ---------- */
.stencil { font-family: var(--f-stencil); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: .88; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; word-spacing: .12em; }
.mono, .eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--brass); display: inline-flex; gap: .7em; align-items: center; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: var(--step-1); color: var(--cream); max-width: 34ch; line-height: 1.4; }
.muted { color: var(--cream-dim); }
.prose { max-width: 66ch; display: grid; gap: 1em; color: var(--cream-dim); }
.prose strong { color: var(--cream); font-weight: 600; }
.prose ul { padding-left: 1.1em; display: grid; gap: .4em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 96px); margin: 0 auto; padding-left: max(var(--gutter), clamp(16px, 4vw, 48px)); padding-right: max(var(--gutter-r), clamp(16px, 4vw, 48px)); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 860px; }
.section-head h2 { font-size: var(--step-4); }
.section-head h2 .serif { display: block; font-size: .62em; color: var(--brass); text-transform: none; line-height: 1; margin-bottom: .1em; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.split { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split.rev > :first-child { order: 2; } }
.split > * { min-width: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); flex-shrink: 0; }
.brand img { width: 74px; height: auto; }
.brand span { font-family: var(--f-stencil); font-weight: 900; text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; line-height: .9; }
.brand small { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .18em; color: var(--brass); font-weight: 400; }
.nav-links { display: none; gap: 4px; list-style: none; align-items: center; }
.nav-links a { color: var(--cream-dim); text-decoration: none; font-size: .95rem; padding: 8px 10px; border-radius: var(--radius); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); background: var(--char-2); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-strong); color: var(--cream); border-radius: var(--radius); padding: 9px 12px; font: 500 .9rem var(--f-body); cursor: pointer; }
.menu-btn svg { width: 18px; height: 18px; }
@media (min-width: 1080px) { .nav-links { display: flex; } .menu-btn { display: none; } }
.drawer { border-top: 1px solid var(--line); padding-block: 12px 20px; }
.drawer ul { list-style: none; display: grid; gap: 2px; }
.drawer a { display: block; padding: 12px 4px; color: var(--cream); text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid var(--line); }


/* ---------- buttons ---------- */
.btn { --b: var(--brass); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 0 20px; border-radius: var(--radius); font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer; border: 1px solid var(--b); transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s; white-space: nowrap; }
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); transform: translateY(-2px) rotate(-1deg); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); transform: translateY(-2px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-map { position: absolute; inset: 0; z-index: -1; }
@media (max-width: 699px) { .hero-map { opacity: .55; } }
.hero-map canvas { width: 100%; height: 100%; display: block; }
.hero-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 70%, transparent) 38%, transparent 70%), linear-gradient(0deg, var(--ink) 0%, transparent 30%); pointer-events: none; }
.hero-inner { display: grid; gap: clamp(28px, 4vw, 44px); padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); position: relative; }
.hero h1 { display: grid; gap: .12em; max-width: 900px; }
.hero h1 .stencil { max-width: 9.5em; }
.hero h1 .serif { font-size: var(--step-4); color: var(--brass); line-height: .95; }
.hero h1 .stencil { font-size: var(--step-5); }
.hero h1 .seo { font-family: var(--f-body); font-size: var(--step-1); font-weight: 500; text-transform: none; line-height: 1.3; color: var(--cream); margin-top: .7em; max-width: 30ch; letter-spacing: 0; }
.hero-coords { position: absolute; right: max(var(--gutter-r), clamp(16px, 4vw, 48px)); bottom: 22px; text-align: right; color: var(--cream-dim); display: none; gap: 4px; }
@media (min-width: 900px) { .hero-coords { display: grid; } }
.hero-coords b { color: var(--ember); font-weight: 500; }
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 760px; }
@media (min-width: 720px) { .ledger { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ledger div { background: color-mix(in srgb, var(--ink) 88%, transparent); padding: 14px 16px; display: grid; gap: 2px; }
.ledger b { font-family: var(--f-stencil); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--cream); }
.ledger span { font-size: .85rem; color: var(--cream-dim); line-height: 1.3; }

/* inner page hero */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: saturate(.85) contrast(1.05); }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, color-mix(in srgb, var(--ink) 55%, transparent) 70%, color-mix(in srgb, var(--ink) 35%, transparent)), linear-gradient(0deg, var(--ink), transparent 45%); }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 72px); display: grid; gap: 22px; }
.page-hero h1 { font-size: var(--step-4); max-width: 16ch; display: grid; gap: .08em; }
.page-hero h1 .serif { color: var(--brass); font-size: .7em; text-transform: none; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; color: var(--cream-dim); }
.crumbs a { color: var(--cream-dim); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--brass-deep); }

/* ---------- steps (a real sequence) ---------- */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--ink); padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; align-content: start; counter-increment: s; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); color: var(--brass); font-size: .85rem; letter-spacing: .1em; }
.step h3 { font-family: var(--f-stencil); font-weight: 900; text-transform: uppercase; font-size: var(--step-2); }
.step p { color: var(--cream-dim); }
.step .tag { font-family: var(--f-mono); font-size: .75rem; color: var(--moss); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- expedition / service cards ---------- */
.cards { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { position: relative; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; transition: border-color .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.card:hover { border-color: var(--brass-deep); transform: translateY(-4px); color: inherit; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .stamp { position: absolute; top: 14px; left: 14px; }
.card-body { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 14px; align-content: start; }
.card-body h3 { font-size: var(--step-3); display: grid; gap: .05em; }
.card-body h3 .serif { font-size: .52em; color: var(--brass); text-transform: none; }
.card-body p { color: var(--cream-dim); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px dashed var(--line-strong); padding-top: 14px; gap: 12px; }
.specs div { display: grid; gap: 2px; min-width: 0; }
.specs dt { font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cream-dim); }
.specs dd { margin: 0; font-weight: 600; color: var(--cream); font-size: .98rem; line-height: 1.25; }
.price-tag { font-family: var(--f-stencil); font-weight: 900; font-size: 2rem; color: var(--brass); line-height: 1; }
.price-tag small { font-family: var(--f-body); font-weight: 500; font-size: .85rem; color: var(--cream-dim); margin-left: 4px; }
.stamp { display: inline-block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); border: 1.5px solid var(--ember); padding: 4px 8px; border-radius: 3px; transform: rotate(-4deg); background: color-mix(in srgb, var(--ink) 80%, transparent); }
.stamp.brass { color: var(--brass); border-color: var(--brass); }

/* ---------- trails ---------- */
.trails { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .trails { grid-template-columns: repeat(3, 1fr); } }
.split .trails { grid-template-columns: 1fr; }
.trail { background: var(--ink); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; }
.trail h3 { font-family: var(--f-stencil); font-weight: 900; text-transform: uppercase; font-size: var(--step-2); }
.trail .mono { color: var(--moss); }
.trail p { color: var(--cream-dim); }

/* ---------- photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 700px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mosaic figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--char); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s; filter: saturate(.92); }
.mosaic figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(10,9,6,.85)); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); transform: translateY(100%); transition: transform .3s; }
.mosaic figure:hover img { transform: scale(1.06) rotate(.6deg); filter: saturate(1.1); }
.mosaic figure:hover figcaption, .mosaic figure:focus-within figcaption { transform: none; }
@media (hover: none) { .mosaic figcaption { transform: none; } }

/* ---------- field reports (reviews) ---------- */
.reports { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .reports { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.report { background: var(--paper); color: var(--paper-ink); border-radius: 3px; padding: 28px 24px 22px; position: relative; display: grid; gap: 16px; align-content: space-between; box-shadow: 0 1px 0 rgba(0,0,0,.4), 0 18px 40px -24px rgba(0,0,0,.8); transform: rotate(var(--r, 0deg)); }
.report:nth-child(2) { --r: .8deg; } .report:nth-child(3) { --r: -.7deg; } .report:nth-child(1) { --r: -.4deg; }
.report blockquote { margin: 0; font-family: var(--f-serif); font-size: 1.32rem; line-height: 1.3; }
.report footer { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px dashed rgba(42,33,22,.35); padding-top: 12px; }
.report .stamp { position: absolute; top: -12px; right: 16px; background: var(--paper); }

/* ---------- quick whip ---------- */
.whip { background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; position: relative; }
@media (min-width: 860px) { .whip { grid-template-columns: 1.1fr .9fr; } }
.whip-copy { padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; align-content: center; }
.whip-copy h2 { font-size: var(--step-4); }
.whip-copy h2 .serif { display: block; color: var(--brass); font-size: .6em; text-transform: none; }
.whip-stage { position: relative; min-height: 320px; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, var(--char-2), var(--ink) 70%); overflow: hidden; }
.whip-stage img { width: min(250px, 60%); position: relative; z-index: 1; }
.whip-btn { position: absolute; inset: 0; z-index: 2; background: none; border: 0; cursor: pointer; color: transparent; }
.whip-btn:focus-visible { outline-offset: -6px; }
.whip-line { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.whip-line path { fill: none; stroke: var(--brass); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.whip.cracked .whip-line path { animation: crack .55s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes crack { 0% { stroke-dashoffset: 900; } 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }
.whip-deal { position: absolute; z-index: 3; top: 18px; right: 18px; font-family: var(--f-stencil); font-weight: 900; font-size: 4.2rem; line-height: .8; color: var(--ember); transform: rotate(8deg) scale(.4); opacity: 0; transition: transform .45s cubic-bezier(.34,1.56,.64,1) .25s, opacity .2s .25s; text-align: right; }
.whip-deal small { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--cream); letter-spacing: .1em; }
.whip.cracked .whip-deal { opacity: 1; transform: rotate(8deg) scale(1); }
.whip-hint { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; z-index: 1; color: var(--cream-dim); }
.whip.cracked .whip-hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .whip-deal { opacity: 1; transform: rotate(8deg); transition: none; } .whip-hint { display: none; } }

/* ---------- trials ---------- */
.trials { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 860px) { .trials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trial { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; align-content: start; background: linear-gradient(180deg, var(--char), var(--ink)); }
.trial .roman { font-family: var(--f-serif); font-style: italic; font-size: 3.4rem; line-height: .8; color: var(--brass); }
.trial h3 { font-family: var(--f-stencil); font-weight: 900; text-transform: uppercase; font-size: var(--step-2); }
.trial p { color: var(--cream-dim); }

/* ---------- pricing ---------- */
.plans { display: grid; gap: clamp(14px, 1.6vw, 20px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; align-content: start; position: relative; }
.plan.featured { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.plan-top { display: flex; gap: 14px; align-items: center; }
.plan-top img, .plan-top .glyph { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line-strong); }
.plan-top .glyph { display: grid; place-items: center; background: var(--char-2); color: var(--brass); }
.plan-top .glyph svg { width: 34px; height: 34px; }
.plan h3 { font-family: var(--f-stencil); font-weight: 900; text-transform: uppercase; font-size: 1.7rem; line-height: .95; }
.plan .freq { font-family: var(--f-mono); font-size: .75rem; color: var(--brass); letter-spacing: .06em; text-transform: uppercase; }
.plan .big { font-family: var(--f-stencil); font-weight: 900; font-size: 3rem; line-height: .9; }
.plan .big small { font: 500 .9rem var(--f-body); color: var(--cream-dim); margin-left: 6px; }
.plan ul { list-style: none; display: grid; gap: 8px; border-top: 1px dashed var(--line-strong); padding-top: 14px; font-size: .95rem; color: var(--cream-dim); }
.plan li { display: flex; justify-content: space-between; gap: 12px; }
.plan li b { color: var(--cream); font-weight: 600; text-align: right; }
.plan .badge { position: absolute; top: -11px; right: 16px; background: var(--brass); color: var(--ink); font: 600 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); font-weight: 500; background: var(--char); }
td:first-child { font-weight: 600; color: var(--cream); }
td { color: var(--cream-dim); }
tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: var(--step-1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); color: var(--brass); font-size: 1.5rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--cream-dim); max-width: 70ch; display: grid; gap: .7em; }
.faq .answer ul { padding-left: 1.1em; display: grid; gap: .3em; }
.faq-group + .faq-group { margin-top: clamp(40px, 6vw, 64px); }
.faq-group h2 { font-size: var(--step-3); margin-bottom: 18px; }

/* ---------- misc blocks ---------- */
.note { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 18px 20px; color: var(--cream-dim); display: grid; gap: 6px; }
.note b { color: var(--cream); }
.panel { background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.panel h3 { font-family: var(--f-stencil); font-weight: 900; text-transform: uppercase; font-size: var(--step-2); }
.panel p, .panel li { color: var(--cream-dim); }
.panel ul { padding-left: 1.1em; display: grid; gap: 6px; }
.two { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.three { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 12px; bottom: 12px; }
figure { margin: 0; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--cream-dim); }
.checklist li::before { content: ""; width: 14px; height: 14px; margin-top: .35em; border: 1.5px solid var(--brass); border-radius: 2px; background: linear-gradient(135deg, transparent 45%, var(--brass) 45% 55%, transparent 55%); }
.checklist b { color: var(--cream); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; font-size: .92rem; color: var(--cream); }
.badges { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.badges img { height: 112px; width: auto; border-radius: 4px; }
.copy-field { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy-field code { font-family: var(--f-mono); background: var(--char-2); border: 1px solid var(--line); padding: 10px 12px; border-radius: var(--radius); color: var(--cream); user-select: all; word-break: break-all; }
.dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; list-style: none; }
.dates li { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: grid; gap: 2px; background: var(--char); }
.dates li b { font-family: var(--f-stencil); font-weight: 900; font-size: 1.8rem; line-height: 1; color: var(--cream); }
.dates li span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); }
.dates li.next { border-color: var(--brass); }
.dates li.next span { color: var(--brass); }
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; list-style: none; }
.crew li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 2px; }
.crew b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.35rem; color: var(--cream); }
.crew span { font-size: .88rem; color: var(--cream-dim); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta-band .bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink), color-mix(in srgb, var(--ink) 40%, transparent)); }
.cta-band .wrap { padding-block: clamp(80px, 12vw, 160px); display: grid; gap: 24px; justify-items: start; }
.cta-band h2 { font-size: var(--step-5); max-width: 12ch; }
.cta-band h2 .serif { display: block; font-size: .5em; color: var(--brass); text-transform: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0d0c09; padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h2 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; font-weight: 500; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { color: var(--cream-dim); text-decoration: none; }
.foot-grid a:hover { color: var(--cream); }
.foot-grid address { font-style: normal; color: var(--cream-dim); display: grid; gap: 4px; }
.foot-brand img { width: 150px; margin-bottom: 14px; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--cream-dim); font-size: .85rem; }

/* ---------- motion (transform-only so content is always readable) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    @keyframes rise { from { transform: translateY(20px); } to { transform: none; } }
  }
  .hero h1 > * { animation: drop .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero h1 > :nth-child(2) { animation-delay: .12s; } .hero h1 > :nth-child(3) { animation-delay: .24s; }
  @keyframes drop { from { transform: translateY(24px); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 -20% 0); } }
}

/* paw trail (desktop pointer only) */
.paw { position: fixed; width: 18px; height: 18px; pointer-events: none; z-index: 70; color: var(--brass); opacity: .75; animation: pawfade 1.4s ease-out forwards; }
@keyframes pawfade { to { opacity: 0; transform: var(--t) scale(.6); } }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) { .hero, .page-hero { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24'%3E%3Cg fill='%23d4a853' stroke='%2312110d' stroke-width='.8'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Ccircle cx='6' cy='10' r='2.1'/%3E%3Ccircle cx='10' cy='6.5' r='2.1'/%3E%3Ccircle cx='14' cy='6.5' r='2.1'/%3E%3Ccircle cx='18' cy='10' r='2.1'/%3E%3C/g%3E%3C/svg%3E") 13 13, auto; } }

/* 404 */
.lost { min-height: 70vh; display: grid; align-content: center; gap: 22px; padding-block: 80px; }
.lost h1 { font-size: var(--step-5); }
.lost h1 .serif { display: block; font-size: .42em; color: var(--brass); text-transform: none; }

/* award seal */
.awards { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.award { display: grid; justify-items: center; gap: 4px; text-align: center; width: 168px; aspect-ratio: 1; border-radius: 50%; padding: 26px 18px; border: 1.5px solid var(--brass); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 7px var(--brass-deep); align-content: center; transform: rotate(-6deg); }
.award .mono { color: var(--brass); font-size: .66rem; letter-spacing: .2em; }
.award b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.25rem; line-height: 1.05; color: var(--cream); }
.award .yrs { font-family: var(--f-stencil); font-weight: 900; font-size: 1.35rem; color: var(--brass); letter-spacing: .04em; }

/* descriptions in a book serif; UI stays sans */
p, .prose, .faq .answer, .panel li, .checklist li, .trail p, .step p, .card-body p, .plan ul, .lede { font-family: var(--f-text); font-size: 1.12em; line-height: 1.5; }
.lede { font-size: var(--step-1); line-height: 1.38; }
.mono, .eyebrow, p.mono, .whip-hint, .hero-coords { font-family: var(--f-mono); font-size: var(--step--1); }
.plan ul { font-size: 1rem; }
.btn, .nav-links a, .ledger span, .specs, .chips, table, .crumbs { font-family: var(--f-body); }
.ledger span { font-size: .85rem; }

/* sound toggle */
.sound-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line-strong); color: var(--cream-dim); border-radius: 999px; padding: 7px 12px; font: 500 .85rem var(--f-body); cursor: pointer; }
.sound-btn svg { width: 16px; height: 16px; }
.sound-btn[aria-pressed="true"] { color: var(--ink); background: var(--brass); border-color: var(--brass); }
.sound-btn[aria-pressed="true"] svg path { animation: eq .9s ease-in-out infinite alternate; transform-origin: center; }
.sound-btn[aria-pressed="true"] svg path:nth-child(2) { animation-delay: .2s; } .sound-btn[aria-pressed="true"] svg path:nth-child(3) { animation-delay: .4s; } .sound-btn[aria-pressed="true"] svg path:nth-child(4) { animation-delay: .1s; }
@keyframes eq { to { transform: scaleY(.4); } }
@media (max-width: 520px) { .sound-btn .label { display: none; } .sound-btn { padding: 8px; } }

/* expedition index: the big centred menu */
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.index { list-style: none; border-top: 1px solid var(--line); max-width: 1100px; margin: 0 auto; }
.index li { border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag thumb" "name thumb" "meta thumb"; align-items: center; gap: 2px 16px; padding: 18px 4px; text-decoration: none; color: var(--cream); position: relative; }
.i-tag { grid-area: tag; color: var(--brass); font-size: 1.05rem; }
.i-name { grid-area: name; font-size: clamp(2.3rem, 1.5rem + 3.8vw, 5.2rem); white-space: nowrap; line-height: .9; transition: transform .45s cubic-bezier(.2,.8,.2,1), color .3s, letter-spacing .45s; }
.i-meta { grid-area: meta; color: var(--cream-dim); }
.i-thumb { grid-area: thumb; width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
@media (min-width: 900px) and (hover: hover) {
  .index a { grid-template-columns: 220px 1fr 220px; grid-template-areas: "tag name meta"; text-align: center; padding: 14px 4px; }
  .i-tag { text-align: left; } .i-meta { text-align: right; }
  .i-thumb { display: none; }
  .index:hover a { color: color-mix(in srgb, var(--cream) 28%, transparent); }
  .index a:hover, .index a:focus-visible { color: var(--brass); }
  .index a:hover .i-name, .index a:focus-visible .i-name { transform: scale(1.04); letter-spacing: .03em; }
  .index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brass); transform: scaleX(0); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .index a:hover::after { transform: scaleX(1); }
}
.index-float { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4/5; pointer-events: none; z-index: 40; border-radius: 6px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.index-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.index-float img { width: 100%; height: 100%; object-fit: cover; }

/* whip canvas */
.whip-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.whip-deal { z-index: 4; }

/* the trail that walks down the page */
main { position: relative; }
.trail-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.trail-layer svg { position: absolute; left: 0; top: 0; }
main > section { position: relative; z-index: 1; }
main > .section, main > .cta-band { background: transparent; }

@media (max-width: 699px) { .trail-layer { opacity: .5; } .i-name { white-space: normal; } }

.card-media img.pos-top { object-position: 50% 12%; }

/* Quick Whip v2: real whip photo + crack */
.whip-stage { min-height: 380px; }
.whip-stage .whip-photo { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; z-index: 0; object-fit: cover; filter: saturate(.9) brightness(.72); transform-origin: 60% 85%; }
.whip-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, transparent 20%, rgba(12,11,8,.55) 75%); pointer-events: none; }
.whip-line { z-index: 2; }
.whip-line path { stroke: var(--cream); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(255,220,150,.6)); }
.whip-burst { position: absolute; z-index: 3; width: 150px; height: 150px; top: -10px; right: 12%; color: #ffe2a0; opacity: 0; transform: scale(.2); pointer-events: none; }
.whip-crack { position: absolute; z-index: 4; top: 26%; left: 50%; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); color: var(--cream); text-shadow: 0 4px 0 var(--ember), 0 0 30px rgba(208,106,63,.6); transform: translate(-50%, -50%) rotate(-9deg) scale(.2); opacity: 0; pointer-events: none; margin: 0; }
.whip-deal { top: auto; bottom: 46px; right: 22px; }
.whip-hint { z-index: 4; }
@media (prefers-reduced-motion: no-preference) {
  .whip.cracked .whip-photo { animation: wshake .5s cubic-bezier(.36,.07,.19,.97) .2s both; }
  .whip.cracked .whip-burst { animation: wburst .6s ease-out .26s both; }
  .whip.cracked .whip-crack { animation: wcrack 1.4s cubic-bezier(.34,1.56,.64,1) .26s both; }
}
@keyframes wshake { 10%,90% { transform: translate(-2px,1px) rotate(-.6deg) scale(1.03); } 20%,80% { transform: translate(4px,-2px) rotate(1deg) scale(1.04); } 30%,50%,70% { transform: translate(-6px,2px) rotate(-1.4deg) scale(1.05); } 40%,60% { transform: translate(6px,-1px) rotate(1.2deg) scale(1.05); } }
@keyframes wburst { 0% { opacity: 1; transform: scale(.2) rotate(0); } 60% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3) rotate(12deg); } }
@keyframes wcrack { 0% { opacity: 0; transform: translate(-50%,-50%) rotate(-9deg) scale(.2); } 18% { opacity: 1; transform: translate(-50%,-50%) rotate(-9deg) scale(1.15); } 30% { transform: translate(-50%,-50%) rotate(-9deg) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,-60%) rotate(-9deg) scale(1); } }
.whip-canvas { display: none; }

/* Quick Whip v3: Sam's whip-and-chalice art */
.whip-stage .whip-photo { object-position: 94% 35%; filter: saturate(1) brightness(.9); transform-origin: 75% 35%; }
.whip-stage::after { background: linear-gradient(90deg, rgba(12,11,8,.35), transparent 40%), linear-gradient(0deg, rgba(12,11,8,.55), transparent 45%); }
.whip-burst { top: 34%; left: 75%; right: auto; transform-origin: center; margin: -75px 0 0 -75px; }
.whip-crack { top: 24%; left: 34%; }
.whip-deal { bottom: 22px; right: auto; left: 22px; text-align: left; transform: rotate(-6deg) scale(.4); }
.whip.cracked .whip-deal { transform: rotate(-6deg) scale(1); }
.whip-hint { bottom: 14px; left: auto; right: 16px; text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .whip.cracked .whip-photo { animation: wshake .5s cubic-bezier(.36,.07,.19,.97) .2s both, wglow 1.2s ease-out .26s both; }
}
@keyframes wglow { 0% { filter: saturate(1) brightness(.9); } 20% { filter: saturate(1.25) brightness(1.35); } 100% { filter: saturate(1) brightness(.9); } }

/* ---------- expedition menu (horizontal run-through, after dottodot) ---------- */
.compass-btn { display: none; }
@media (min-width: 1080px) {
  .compass-btn { display: grid; place-items: center; position: fixed; z-index: 55; left: max(18px, env(safe-area-inset-left, 0px)); top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1.5px solid var(--brass); background: color-mix(in srgb, var(--ink) 70%, transparent); backdrop-filter: blur(6px); cursor: pointer; transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .2s; }
  .compass-btn:hover { transform: scale(1.08) rotate(45deg); background: var(--brass); }
  .compass-btn span, .compass-btn span::before, .compass-btn span::after { display: block; width: 20px; height: 2px; background: var(--brass); border-radius: 2px; position: relative; }
  .compass-btn span::before, .compass-btn span::after { content: ""; position: absolute; left: 0; }
  .compass-btn span::before { top: -6px; } .compass-btn span::after { top: 6px; }
  .compass-btn:hover span, .compass-btn:hover span::before, .compass-btn:hover span::after { background: var(--ink); }
}
.xmenu { position: fixed; inset: 0; z-index: 90; background: #0b0a07; color: var(--cream); overflow: hidden; clip-path: circle(0 at var(--cx, 40px) var(--cy, 50%)); transition: clip-path .75s cubic-bezier(.77,0,.18,1); touch-action: none; }
.xmenu.open { clip-path: circle(150% at var(--cx, 40px) var(--cy, 50%)); }
@media (prefers-reduced-motion: reduce) { .xmenu { transition: none; } }
.x-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.x-close { position: absolute; z-index: 3; left: max(18px, env(safe-area-inset-left, 0px)); top: 50%; margin-top: -28px; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--brass); background: transparent; color: var(--brass); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.x-close:hover { background: var(--brass); color: var(--ink); }
@media (max-width: 1079px) { .x-close { top: calc(18px + env(safe-area-inset-top, 0px)); left: auto; right: max(16px, env(safe-area-inset-right, 0px)); margin-top: 0; width: 48px; height: 48px; } }
.x-hint { position: absolute; z-index: 2; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; color: var(--cream-dim); }
.x-stage { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.x-track { list-style: none; position: absolute; left: 0; top: 50%; display: flex; gap: clamp(28px, 5vw, 90px); align-items: center; white-space: nowrap; will-change: transform; transform: translate3d(50vw, -50%, 0); margin: 0; padding: 0; }
.x-item { pointer-events: auto; display: grid; grid-template-columns: auto auto; align-items: start; gap: 10px; text-decoration: none; color: transparent; -webkit-text-stroke: 1.5px rgba(239,228,203,.75); transition: color .35s, -webkit-text-stroke-color .35s, opacity .35s; opacity: .55; }
.x-item .x-word { font-size: clamp(3rem, 1.2rem + 10vw, 12rem); line-height: .9; }
.x-item .x-num { -webkit-text-stroke: 0; color: var(--brass); font-size: .85rem; padding-top: .6em; position: relative; }
.x-item .x-num::after { content: ""; position: absolute; left: 50%; top: 2.2em; width: 1px; height: 46px; background: var(--brass); transform: rotate(14deg); transform-origin: top; }
.x-item.on { color: var(--cream); -webkit-text-stroke-color: var(--cream); opacity: 1; }
.x-item:focus-visible { outline: 2px solid var(--brass); outline-offset: 10px; }
body.x-lock { overflow: hidden; }

/* footer: logo centred on its own row, columns aligned beneath */
.foot-grid { grid-template-columns: 1fr; }
.foot-brand { display: grid; justify-items: center; text-align: center; gap: 14px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-brand img { width: 170px; margin: 0; }
.foot-brand p { max-width: 52ch; }
.foot-cols { display: grid; gap: 32px; grid-template-columns: 1fr; padding-top: 8px; }
@media (min-width: 720px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
