/* Alexander's: layout and components. Tokens live in tokens.css (see DESIGN.md). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font-family: var(--body); font-size: var(--step-0); line-height: 1.6;
  background: radial-gradient(120% 60% at 50% 0%, var(--royal-deep), var(--night) 70%) fixed, var(--night);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 0.45em; letter-spacing: 0.02em; }
h2 { font-size: var(--step-3); color: var(--text); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--text); }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }
/* on parchment the gold ring would vanish: use royal purple there */
.scroll-card :focus-visible, .jcard :focus-visible, .cookie-dialog :focus-visible, .chapter__card :focus-visible { outline-color: var(--royal); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter-r) 0 var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--salt); margin: 0 0 1em; }
.eyebrow--light { color: var(--salt); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.meander { height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.9; }

/* the brand wordmark: carved gold capitals, after the pouch lettering */
.wordmark {
  font-family: var(--wordmark); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95;
  background: linear-gradient(180deg, #fff3c4 0%, #f5cf6a 28%, #d99a2b 52%, #a86a14 64%, #f1c35c 80%, #fbe2a0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #5a3208) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 48px;
  font-family: var(--display); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--salt); border: 1px solid var(--salt);
  padding: 0.8em 1.6em; border-radius: 999px; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: #f8c2bb; box-shadow: 0 10px 30px -8px rgba(244, 167, 160, 0.45); }
.btn--gold { background: transparent; color: var(--text); border-color: rgba(244, 230, 205, 0.45); }
.btn--gold:hover { background: rgba(244, 230, 205, 0.08); border-color: var(--salt); box-shadow: none; }
.btn--small { min-height: 40px; padding: 0.55em 1.1em; font-size: 0.72rem; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: max(10px, env(safe-area-inset-top, 0px)) var(--gutter-r) 10px var(--gutter);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-solid { background: rgba(28, 10, 34, 0.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__brand img { width: 40px; height: auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); }
.nav__brand span { font-family: var(--wordmark); font-weight: 900; font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- opener: the map on the desk ---------- */
.opener { position: relative; height: 220vh; }
.opener__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #241109; }
.opener__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform-origin: 13% 39%; }
.opener__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s; }
.opener.has-3d .opener__canvas { opacity: 1; }
.opener.has-3d .opener__fallback { visibility: hidden; }
.opener__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(28, 10, 34, 0.75) 100%); }
.opener__title { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 90px var(--gutter-r) 120px var(--gutter); will-change: opacity, transform; }
.opener__title::before { content: ""; position: absolute; inset: 18% 8%; z-index: -1; background: radial-gradient(closest-side, rgba(28, 10, 34, 0.8), transparent); }
.opener__badge { width: clamp(84px, 12vw, 130px); height: auto; margin-bottom: 8px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6)); }
.opener h1 { margin: 0; display: grid; justify-items: center; }
.opener__brand { font-size: var(--step-4); }
.opener__brand { font-family: var(--wordmark); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95;
  background: linear-gradient(180deg, #fff3c4 0%, #f5cf6a 28%, #d99a2b 52%, #a86a14 64%, #f1c35c 80%, #fbe2a0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #5a3208) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7)); }
.opener__script { font-family: var(--script); font-style: italic; font-weight: 600; font-size: var(--step-2); color: var(--parchment); margin-top: 0.2em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
.opener__line { margin: 1.2em 0 0; font-family: var(--display); font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold-soft); text-shadow: 0 2px 10px #000; }
.opener__line::before, .opener__line::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 14px; }
.opener__plain { margin: 1em auto 0; max-width: 34ch; font-size: var(--step-0); line-height: 1.45; color: var(--parchment); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
.opener__begin { position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); text-align: center; opacity: 0; pointer-events: none; width: min(90vw, 560px); }
.opener__begin p:last-child { font-family: var(--display); font-weight: 700; font-size: var(--step-2); color: var(--parchment); text-shadow: 0 2px 18px #000; margin: 0 auto; }
.opener__scroll { position: absolute; bottom: max(22px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--parchment); text-decoration: none; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; text-shadow: 0 1px 6px #000; }
.opener__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--gold-soft), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- the film ---------- */
.film { position: relative; background: var(--night); }
.chapter { position: relative; }
.chapter__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.frame { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.frame img, .frame canvas { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); }
.frame__todo { position: absolute; top: 84px; right: var(--gutter-r); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(28, 10, 34, 0.75); color: var(--gold-soft); border: 1px dashed var(--gold); padding: 4px 10px; border-radius: 999px; }
.chapter__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(28, 10, 34, 0.45) 0%, transparent 18%, transparent 62%, rgba(28, 10, 34, 0.7) 100%);
  transition: background 0.6s var(--ease); }
.chapter__stage.is-intro::after { background: rgba(28, 10, 34, 0.62); }

.chapter__card { position: absolute; z-index: 3; left: 50%; top: 50%; width: min(88vw, 560px); transform: translate(-50%, -46%) scale(0.96); opacity: 0; pointer-events: none;
  text-align: center; color: var(--ink); padding: 34px 28px 30px; border-radius: 6px;
  background: linear-gradient(180deg, #fbf2dc, var(--parchment) 40%, var(--parchment-2));
  box-shadow: var(--shadow), inset 0 0 0 2px var(--gold), inset 0 0 0 7px var(--parchment), inset 0 0 0 8px var(--gold-deep);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.chapter__card.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.chapter__act { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); margin: 0 auto 6px; }
.chapter__num { width: 64px; height: 64px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fbe39b, var(--gold) 55%, #9a6a18); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35), 0 4px 10px rgba(0, 0, 0, 0.3); }
.chapter__title { font-family: var(--wordmark); font-weight: 900; font-size: var(--step-3); color: var(--royal); margin: 0 0 4px; text-transform: uppercase; letter-spacing: 0.01em; }
.chapter__year { font-family: var(--display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin: 0 auto 14px; }
.chapter__intro { font-family: var(--script); font-style: italic; font-size: var(--step-1); color: var(--ink); margin: 0 auto; max-width: 26ch; line-height: 1.35; }

.narration { position: absolute; z-index: 3; left: 50%; bottom: max(7vh, calc(env(safe-area-inset-bottom, 0px) + 28px)); width: min(calc(100vw - 32px), 720px);
  transform: translate(-50%, 16px); opacity: 0; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); pointer-events: none;
  background: linear-gradient(180deg, #fbf2dc, var(--parchment)); color: var(--ink); border-radius: 4px; padding: 16px 22px;
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.7), inset 0 0 0 1.5px var(--gold-deep); }
.narration::before, .narration::after { content: ""; position: absolute; top: -6px; bottom: -6px; width: 14px; border-radius: 6px; background: linear-gradient(90deg, #c9a66a, #f3e2bb 50%, #c9a66a); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.narration::before { left: -8px; } .narration::after { right: -8px; }
.narration.is-on { opacity: 1; transform: translate(-50%, 0); }
.narration__text { margin: 0 auto; max-width: none; font-family: var(--display); font-weight: 700; font-size: var(--step-1); line-height: 1.3; text-align: center; }
.chapter__progress { position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform-origin: left; transform: scaleX(0); }

/* chapter rail */
.film__rail { position: fixed; z-index: 30; right: max(14px, var(--gutter-r)); top: 50%; transform: translateY(-50%); display: grid; gap: 6px; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.film__rail.is-visible { opacity: 1; pointer-events: auto; }
.film__rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; color: var(--parchment); }
.film__rail b { order: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: 0.66rem; background: rgba(28, 10, 34, 0.7); border: 1px solid var(--gold); color: var(--gold-soft); transition: background 0.3s, color 0.3s, transform 0.3s; }
.film__rail span { font-family: var(--display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; text-shadow: 0 1px 6px #000; opacity: 0; transform: translateX(6px); transition: opacity 0.3s, transform 0.3s; }
.film__rail a:hover span, .film__rail a.is-on span { opacity: 1; transform: none; }
.film__rail a.is-past b { background: var(--gold-deep); color: var(--parchment); }
.film__rail a.is-on b { background: var(--gold); color: var(--ink); transform: scale(1.15); }
@media (max-width: 760px) { .film__rail { display: none; } }

/* map chapter */
.map__stage { background: #241109; }
.map__frame { position: absolute; left: 0; top: 0; width: max(100vw, calc(100svh * 1672 / 941)); aspect-ratio: 1672 / 941; transform-origin: 0 0; will-change: transform; }
.map__frame img { width: 100%; height: 100%; }
.map__frame svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__route-bg { fill: none; stroke: rgba(58, 34, 22, 0.45); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; }
.map__route { fill: none; stroke: #ffd36a; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255, 196, 70, 0.95)); }
.map__dot { fill: #fff3c4; filter: drop-shadow(0 0 12px #ffc446); }
.map__stop circle { fill: var(--ink); stroke: #ffd36a; stroke-width: 3; transition: fill 0.4s var(--ease); }
.map__stop text { font-family: var(--display); font-weight: 800; font-size: 26px; fill: var(--ink); paint-order: stroke; stroke: var(--parchment); stroke-width: 7px; opacity: 0; transition: opacity 0.5s var(--ease); }
.map__stop .yr { font-family: var(--mono); font-weight: 500; font-size: 17px; }
.map__stop.is-on circle { fill: #ffd36a; }
.map__stop.is-on text { opacity: 1; }
.map__stop.is-final.is-on circle { fill: var(--salt); stroke: #fff; }
.map__vignette { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at center, transparent 45%, rgba(28, 10, 34, 0.7) 100%); }

/* reduced motion: chapters become plain stacked pictures */
.film.is-static .chapter { height: auto !important; }
.film.is-static .chapter__stage { position: relative; height: auto; aspect-ratio: 16 / 9; }
.film.is-static .frame:first-of-type { opacity: 1; visibility: visible; }
.film.is-static .chapter__card { display: none; }
.film__fallback { padding: 100px var(--gutter-r) 60px var(--gutter); }

/* ---------- content sections ---------- */
section.salt, section.range, section.wholesale, section.contact { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
section.salt::before, section.range::before, section.contact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.3; }

.salt { background: radial-gradient(60% 70% at 15% 40%, rgba(244, 167, 160, 0.14), transparent 70%), var(--royal-deep); }
.salt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.salt__art { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow), 0 0 80px -20px rgba(244, 167, 160, 0.5); aspect-ratio: 470 / 530; }
.salt__art img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { padding: 16px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(74, 26, 90, 0.35); }
.facts b { display: block; font-family: var(--display); font-weight: 800; font-size: var(--step-1); color: var(--salt); }
.facts span { display: block; color: var(--text-dim); font-size: var(--step--1); line-height: 1.35; }
@media (max-width: 860px) { .salt__grid { grid-template-columns: 1fr; } .salt__art { aspect-ratio: 16 / 11; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }


.ticks { list-style: none; margin: 1.6em 0 2em; padding: 0; display: grid; gap: 16px; }
.ticks li { padding-left: 32px; position: relative; color: var(--text-dim); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 14px; transform: rotate(45deg); background: linear-gradient(135deg, var(--salt), var(--salt-deep)); box-shadow: 0 0 10px rgba(244, 167, 160, 0.5); }
.ticks b { display: block; color: var(--text); font-family: var(--display); font-weight: 700; letter-spacing: 0.03em; }

.range { background: var(--night); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.range__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font: 700 0.74rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; min-height: 40px; cursor: pointer; }
.chip.is-on, .chip:hover { background: var(--salt); color: var(--ink); border-color: var(--salt); }
.range__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pack { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, rgba(74, 26, 90, 0.55), rgba(42, 15, 51, 0.8)); border: 1px solid var(--line); transition: transform 0.35s var(--ease), border-color 0.35s; }
.pack[hidden] { display: none; }
.pack:hover { transform: translateY(-4px); border-color: rgba(244, 167, 160, 0.6); }
.pack__img { aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, rgba(244, 167, 160, 0.2), transparent 70%); overflow: hidden; }
.pack__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pack:hover .pack__img img { transform: scale(1.05); }
.pack__img { position: relative; }
.pack__tag { position: absolute; bottom: 12px; left: 12px; font: 500 0.62rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; background: rgba(28, 10, 34, 0.8); color: var(--gold-soft); border: 1px solid var(--gold); border-radius: 999px; padding: 3px 9px; }
.pack__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pack__form { font: 500 0.66rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--salt); margin: 0 0 4px; }
.pack h3 { color: var(--text); margin-bottom: 0.3em; }
.pack p { color: var(--text-dim); font-size: var(--step--1); line-height: 1.5; margin-bottom: 1em; }
.pack__sizes { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.pack__sizes span { font: 500 0.68rem var(--mono); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--text); }
.range__note { margin-top: 22px; font-size: var(--step--1); color: var(--text-dim); }

.wholesale { overflow: hidden; background: var(--royal-deep); }
.wholesale__bg { position: absolute; inset: 0; background: url("../assets/story/m04-sm.webp") center / cover; opacity: 0.22; filter: saturate(0.7); }
.wholesale__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--royal-deep) 20%, rgba(42, 15, 51, 0.6)); }
.wholesale__grid, .contact__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .wholesale__grid, .contact__grid { grid-template-columns: 1fr; } }

.contact { background: var(--night); }
.contact__direct { color: var(--text-dim); }
.scroll-card { background: linear-gradient(180deg, #fbf2dc, var(--parchment) 50%, var(--parchment-2)); color: var(--ink); border-radius: 6px; padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow), inset 0 0 0 2px var(--gold), inset 0 0 0 7px var(--parchment), inset 0 0 0 8px var(--gold-deep); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row { display: grid; gap: 6px; }
.form__row--wide, .form .btn, .form__status { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.form label { font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.form label span { text-transform: none; letter-spacing: 0; opacity: 0.85; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255, 255, 255, 0.55); border: 1px solid var(--parchment-3); border-radius: 8px; padding: 12px 14px; min-height: 48px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(217, 164, 58, 0.3); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--royal); outline-offset: 1px; }
.form [aria-invalid="true"] { border-color: var(--salt-deep); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { min-height: 1.5em; margin: 0; color: var(--ink-soft); }
.form__status.is-ok { color: #2f6b2a; }
.form__status.is-error { color: #a3302a; }
.form__status a { color: var(--royal); }

.footer { background: #13061a; padding: 0 0 max(18px, env(safe-area-inset-bottom, 0px)); font-size: 0.92rem; }
.footer .meander { margin-bottom: 34px; opacity: 0.55; }
.footer__grid { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 24px 32px; align-items: start; }
.footer__brand { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center; }
.footer__brand img { width: 56px; height: auto; grid-row: span 2; margin: 0; }
.footer__brand p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.4; }
.footer__brand p:last-child { grid-column: 1 / -1; margin-top: 10px; }
.footer__brand a { color: var(--salt); }
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__col h2 { font: 500 0.66rem var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--salt); margin: 0 0 4px; }
.footer__col a, .footer__col button { color: var(--text-dim); text-decoration: none; font: 500 0.92rem/1.35 var(--body); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; letter-spacing: 0; text-transform: none; }
.footer__col a:hover, .footer__col button:hover { color: var(--text); }
.footer__small { grid-column: 1 / -1; font: 500 0.68rem/1.5 var(--mono); color: var(--text-dim); opacity: 0.85; margin: 6px 0 0; max-width: none; border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .opener__scroll i { animation: none; }
}

/* text-only chapters */
.text__stage { display: grid; place-items: center; background:
  radial-gradient(60% 55% at 50% 60%, rgba(244, 167, 160, calc(0.12 + 0.3 * var(--glow))), transparent 70%),
  radial-gradient(120% 80% at 50% 120%, rgba(217, 101, 95, calc(0.25 * var(--glow))), transparent 60%), var(--night); }
.text__sparks { position: absolute; inset: 0; opacity: calc(0.3 + 0.7 * var(--glow)); background-image:
  radial-gradient(1.5px 1.5px at 20% 30%, #ffd9d3, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 85% 65%, #ffd9d3, transparent), radial-gradient(1px 1px at 35% 80%, #fff, transparent),
  radial-gradient(2px 2px at 55% 45%, #f4a7a0, transparent), radial-gradient(1px 1px at 10% 70%, #fff, transparent);
  background-size: 340px 340px; animation: drift 30s linear infinite; }
@keyframes drift { to { background-position: 0 -340px; } }
.text__lines { position: relative; z-index: 2; width: min(calc(100vw - 40px), 900px); display: grid; text-align: center; }
.text__lines p { grid-area: 1 / 1; margin: 0 auto; max-width: 22ch; font-family: var(--display); font-weight: 700; font-size: var(--step-3); line-height: 1.15; color: var(--text);
  opacity: 0; transform: translateY(24px); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); text-shadow: 0 0 40px rgba(244, 167, 160, 0.35); }
.text__lines p.is-on { opacity: 1; transform: none; filter: none; }
.film.is-static .text__lines p { opacity: 1; transform: none; filter: none; grid-area: auto; margin-bottom: 0.6em; }
.film.is-static .chapter--text .chapter__stage { aspect-ratio: auto; padding: 80px 0; }
@media (prefers-reduced-motion: reduce) { .text__sparks { animation: none; } }

/* range cards without a pack photo yet: typographic cards */
.pack--text .pack__body { padding: 26px 22px 22px; min-height: 260px; }
.pack--text .pack__body::before { content: ""; display: block; width: 44px; height: 44px; margin-bottom: 18px; background: var(--salt);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.pack--text h3 { font-size: var(--step-2); }
.pack[data-grain="coarse"], .pack[data-grain="bulk"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M8 30l6-9 8 3-2 10-9 1zM24 20l9-7 8 6-3 10-10 1zM20 38l4-8 9 1 2 8-8 3z'/%3E%3C/svg%3E"); }
.pack[data-grain="fine"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg%3E%3Cpath d='M10 14l3-3 3 2-1 4-4 0zM24 10l3-2 3 3-2 3-3-1zM36 16l3-2 2 3-2 3-3-1zM14 28l3-3 3 2-1 4-4 0zM28 24l3-2 3 3-2 3-3-1zM20 38l3-2 3 3-2 3-3-1zM34 36l3-3 3 2-1 4-4 0z'/%3E%3C/g%3E%3C/svg%3E"); }
.pack[data-grain="powder"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M4 40c6-14 14-22 20-22s14 8 20 22z'/%3E%3C/svg%3E"); }
.pack[data-grain="chunks"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M6 34l8-18 14-4 12 10 2 14-16 6z'/%3E%3C/svg%3E"); }
.pack[data-grain="slab"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M4 22l20-8 20 8-20 8zM4 26l20 8 20-8v6l-20 8-20-8z'/%3E%3C/svg%3E"); }

/* ---------- inner pages (our-story, the-salt, faq, wholesale, contact) ---------- */
.page-hero { position: relative; padding: clamp(120px, 16vw, 190px) 0 clamp(50px, 7vw, 90px); background: radial-gradient(70% 90% at 80% 0%, rgba(244, 167, 160, 0.14), transparent 70%), var(--royal-deep); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.3; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.page-hero--image { min-height: min(78vh, 720px); display: grid; align-items: end; }
.page-hero--image .wrap { position: relative; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--royal-deep) 0%, rgba(42, 15, 51, 0.75) 35%, rgba(42, 15, 51, 0.15) 75%), linear-gradient(90deg, rgba(28, 10, 34, 0.7), transparent 60%); }
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.page-hero--side .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.page-hero__copy { max-width: 720px; }
.page-hero h1 { font-family: var(--wordmark); font-weight: 900; font-size: var(--step-4); line-height: 1; color: var(--text); text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.page-hero__lede p { font-size: var(--step-1); line-height: 1.45; color: var(--text); }
.page-hero__lede .btn { margin: 0.4em 0.5em 0 0; }
.page-hero__lede p:has(.btn) { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero__side { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow), 0 0 80px -20px rgba(244, 167, 160, 0.45); }
@media (max-width: 760px) { .page-hero--side .page-hero__grid { grid-template-columns: 1fr; } .page-hero__side { max-width: 360px; } }

.prose-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); padding-block: clamp(50px, 7vw, 90px); align-items: start; }
.prose-layout:not(:has(.toc)) { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 90px; display: grid; gap: 2px; border-left: 1px solid var(--line); padding-left: 16px; }
.toc a { color: var(--text-dim); text-decoration: none; font-size: 0.95rem; padding: 5px 0; line-height: 1.3; }
.toc a:hover { color: var(--salt); }
@media (max-width: 900px) { .prose-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; border-left: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; } .toc .eyebrow { width: 100%; margin-bottom: 0; } .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; } }

.prose { max-width: 760px; min-width: 0; }
.prose-section { padding-bottom: clamp(36px, 5vw, 60px); margin-bottom: clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.prose-section:last-child { border-bottom: 0; }
.prose h2 { font-size: var(--step-3); color: var(--text); text-wrap: balance; }
.prose h3 { font-family: var(--display); font-size: var(--step-1); color: var(--salt); margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--salt); }
.prose a:not(.btn) { color: var(--salt); }
.prose .btn { margin: 0.2em 0.6em 0.2em 0; }
.prose__figure { margin: 1.4em 0 1.8em; }
.prose__figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose__figure figcaption { font: 500 0.7rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-top: 10px; }
.page--the-salt .prose__figure { max-width: 380px; }

.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font: 700 0.72rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--salt); background: rgba(74, 26, 90, 0.4); }
.prose tr:last-child td { border-bottom: 0; }

.faq { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: rgba(74, 26, 90, 0.22); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--salt); transition: transform 0.25s var(--ease); }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 18px 8px; }

.prose-band { margin: 10px 0 0; padding: clamp(28px, 5vw, 44px); border-radius: var(--radius); text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(244, 167, 160, 0.18), transparent 70%), var(--royal); }
.prose-band p { margin-left: auto; margin-right: auto; }
.prose-band p:first-child strong { display: block; font-family: var(--wordmark); font-weight: 900; font-size: var(--step-2); line-height: 1.1; color: var(--text); }

.form__note { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.page .scroll-card { margin-top: 20px; }

/* facts we still need from the business: highlighted until filled in */
mark.todo { background: rgba(244, 167, 160, 0.14); color: var(--salt); border: 1px dashed rgba(244, 167, 160, 0.6); border-radius: 4px; padding: 0 5px; font-size: 0.92em; }
.scroll-card mark.todo { color: #a3302a; }

.story-link { padding: clamp(60px, 9vw, 110px) 0; background: radial-gradient(60% 100% at 50% 100%, rgba(244, 167, 160, 0.16), transparent 70%), var(--night); text-align: center; }
.story-link__inner { display: grid; justify-items: center; gap: 6px; }
.story-link__line { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.2; max-width: 26ch; text-wrap: balance; margin-bottom: 0.8em; }
.salt .more { margin-top: 26px; }

/* ---------- cookie pop-up ---------- */
.consent { position: fixed; z-index: 80; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(360px, calc(100vw - 32px));
  background: rgba(42, 15, 51, 0.96); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(20px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.consent.is-in { transform: none; opacity: 1; }
.consent.is-out { transform: translateY(20px); opacity: 0; }
.consent p { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.4; color: var(--text); }
.consent a { color: var(--salt); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent__link { background: none; border: 0; color: var(--text-dim); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.9rem; padding: 4px; }
.cookie-dialog { max-width: min(520px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 0; color: var(--ink); background: linear-gradient(180deg, #fbf2dc, var(--parchment)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 2px var(--gold); }
.cookie-dialog::backdrop { background: rgba(28, 10, 34, 0.7); backdrop-filter: blur(4px); }
.cookie-dialog form { padding: 24px; }
.cookie-dialog h2 { font: 900 var(--step-1) var(--wordmark); color: var(--royal); margin: 0 0 8px; }
.cookie-dialog p { font-size: 0.98rem; color: var(--ink); }
.cookie-row { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line-ink); }
.cookie-row h3 { font: 700 0.95rem var(--display); color: var(--ink); margin: 0 0 4px; }
.cookie-row p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.cookie-always { font: 500 0.66rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); white-space: nowrap; padding-top: 4px; }
.cookie-links { margin: 10px 0 14px; font-size: 0.9rem; }
.cookie-links a { color: var(--royal); }
.cookie-dialog .btn--gold { color: var(--ink); border-color: rgba(58, 34, 22, 0.35); }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.switch span[aria-hidden] { position: absolute; inset: 0; border-radius: 999px; background: #cdb9a0; transition: background 0.25s; pointer-events: none; }
.switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.switch input:checked + span { background: var(--royal); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--royal); outline-offset: 2px; }

/* ---------- header and the full-screen menu ---------- */
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; position: relative; z-index: 60; }
.nav__toggle { display: inline-flex; align-items: center; gap: 10px; width: auto; height: 44px; padding: 0 16px 0 14px; border-radius: 999px; background: rgba(28, 10, 34, 0.6); border: 1px solid var(--line); color: var(--text); cursor: pointer; font: 700 0.74rem var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.nav__toggle:hover { border-color: var(--salt); }
.nav__toggle-icon { position: relative; width: 18px; height: 12px; }
.nav__toggle-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.nav__toggle-icon i:first-child { top: 2px; } .nav__toggle-icon i:last-child { top: 9px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:first-child { top: 5.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:last-child { top: 5.5px; transform: rotate(-45deg); }
.nav__brand { position: relative; z-index: 60; }
@media (max-width: 520px) { .nav__actions .btn { display: none; } }
body.menu-open { overflow: hidden; }
body.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

.menu { position: fixed; inset: 0; z-index: 55; overflow-y: auto; background: radial-gradient(80% 70% at 85% 10%, rgba(244, 167, 160, 0.16), transparent 60%), var(--night);
  clip-path: circle(0% at calc(100% - 70px) 34px); transition: clip-path 0.55s var(--ease); }
.menu.is-open { clip-path: circle(150% at calc(100% - 70px) 34px); }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.35; }
.menu__inner { min-height: 100%; max-width: var(--max); margin: 0 auto; padding: 110px var(--gutter-r) 50px var(--gutter); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.menu__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.menu__label { font: 500 0.7rem var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--salt); margin: 0 0 10px; }
.menu__nav a { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; color: var(--text); text-decoration: none; font: 700 clamp(1.5rem, 1rem + 2.2vw, 2.6rem)/1.15 var(--display);
  opacity: 0; transform: translateY(18px); transition: color 0.2s, opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: 0s, calc(0.15s + var(--i) * 0.035s), calc(0.15s + var(--i) * 0.035s); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu__nav a:hover, .menu__nav a[aria-current="page"] { color: var(--salt); }
.menu__num { font: 500 0.7rem var(--mono); color: var(--text-dim); min-width: 1.8em; }
.menu__aside { display: grid; gap: 14px; justify-items: start; opacity: 0; transition: opacity 0.6s 0.3s var(--ease); }
.menu.is-open .menu__aside { opacity: 1; }
.menu__aside img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
.menu__line { font-family: var(--script); font-style: italic; font-size: var(--step-1); line-height: 1.35; margin: 0; }
.menu__small { margin: 0; font-size: 0.92rem; color: var(--text-dim); }
.menu__small a, .menu__small button { color: var(--text-dim); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 860px) {
  .menu__inner { grid-template-columns: minmax(0, 1fr); padding-top: 96px; }
  .menu__nav { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .menu__aside img { display: none; }
}
@media (prefers-reduced-motion: reduce) { .menu, .menu__nav a, .menu__aside { transition: none; } }

/* "Keep reading": three related pages at the end of every inner page */
.related { padding: clamp(50px, 8vw, 90px) 0; border-top: 1px solid var(--line); }
.related__title { font-size: var(--step-2); margin-bottom: 0.8em; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 24px); }
.related__card { display: grid; align-content: start; gap: 6px; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(74, 26, 90, 0.3); text-decoration: none; color: var(--text); transition: border-color 0.3s, transform 0.3s var(--ease); }
.related__card:hover { border-color: rgba(244, 167, 160, 0.6); transform: translateY(-3px); }
.related__name { font: 700 var(--step-1)/1.15 var(--display); color: var(--text); }
.related__line { color: var(--text-dim); font-size: 1rem; line-height: 1.45; }
.related__go { margin-top: 4px; font: 700 0.74rem var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--salt); }
@media (max-width: 860px) { .related__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .related__card:hover { transform: none; } }

/* the legend as text (legend.html): shown without JavaScript, screen-reader text once the film runs */
.legend-text { padding: clamp(40px, 6vw, 70px) 0; }
.legend-text__inner { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 820px; }
.legend-text__chapter h2 { font-family: var(--wordmark); font-weight: 900; font-size: var(--step-3); margin-bottom: 0.4em; }
.legend-text__meta { font: 500 0.74rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--salt); margin-bottom: 0.6em; }
.legend-text__intro { font-family: var(--script); font-style: italic; font-size: var(--step-1); color: var(--parchment); }
.legend-text__pic { margin: 0 0 1.2em; }
.legend-text__pic img { width: 100%; border-radius: var(--radius); }
.legend-text__stops { padding-left: 1.3em; display: grid; gap: 6px; }

.story-link__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; }
.page-hero--legend { padding-bottom: 40px; }
body.menu-open .nav { z-index: 70; }

/* ---------- homepage story: the map journey ---------- */
.journey { position: relative; background: #241109; }
.journey__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1600px; background: #241109; }
.journey__map { position: absolute; left: 0; top: 0; width: max(100vw, calc(100svh * 1672 / 941)); aspect-ratio: 1672 / 941; transform-origin: 0 0; will-change: transform; }
.journey__map img { width: 100%; height: 100%; }
.journey__map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey__route-bg { fill: none; stroke: rgba(58, 34, 22, 0.45); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.journey__route { fill: none; stroke: #ffd36a; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255, 196, 70, 0.95)); }
.journey__dot { fill: #fff3c4; filter: drop-shadow(0 0 14px #ffc446); }
.journey__stop circle { fill: var(--ink); stroke: #ffd36a; stroke-width: 3; transition: fill 0.4s; }
.journey__stop.is-on circle { fill: #ffd36a; }
.journey__stop.is-final.is-on circle { fill: var(--salt); stroke: #fff; }
.journey__stop text { font: 800 27px var(--display); fill: var(--ink); paint-order: stroke; stroke: var(--parchment); stroke-width: 8px; opacity: 0; transition: opacity 0.4s; }
.journey__stop.is-here text { opacity: 1; }
.journey__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 35% 50%, transparent 38%, rgba(28, 10, 34, 0.78) 100%), linear-gradient(180deg, rgba(28,10,34,0.35), transparent 18%); }

.jcard { position: absolute; z-index: 5; right: max(4vw, var(--gutter-r)); top: 50%; width: min(500px, 40vw); max-height: calc(100svh - 150px); overflow: hidden; display: flex; flex-direction: column;
  color: var(--ink); background: #efdcb4 url("../assets/img/paper.webp") center / cover; border-radius: 6px; padding: 16px;
  box-shadow: 0 34px 70px -20px rgba(0, 0, 0, 0.85), inset 0 0 0 2px rgba(154, 106, 24, 0.8), inset 0 0 0 8px rgba(246, 234, 210, 0.4), inset 0 0 0 9px rgba(154, 106, 24, 0.5);
  transform-origin: 0% 50%; will-change: transform, opacity; opacity: 0; }
.jcard__pic { position: relative; flex: none; aspect-ratio: 16 / 10; border-radius: 2px; overflow: hidden; background: #2a0f33; transform: rotate(-0.6deg);
  box-shadow: 0 0 0 4px #f6ead2, 0 0 0 6px var(--gold-deep), 0 12px 22px -8px rgba(58, 34, 22, 0.6); }
.jcard__pic img { width: 100%; height: 100%; object-fit: cover; }
.jcard__pic--contain { background: radial-gradient(circle at 50% 45%, rgba(244, 167, 160, 0.45), #4a1a5a 75%); }
.jcard__pic--contain img { object-fit: contain; padding: 10px; }
.jcard__pic--map { background-size: 420% auto; background-repeat: no-repeat; filter: saturate(1.05); }
.jcard__pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #ffd36a; box-shadow: 0 0 0 3px var(--ink), 0 0 24px 6px rgba(255, 196, 70, 0.8); }
.jcard__body { position: relative; padding: 16px 8px 4px; overflow: auto; }
.jcard__meta { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font: 500 0.7rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.jcard__num { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font: 800 0.8rem var(--display); letter-spacing: 0; color: var(--ink); background: radial-gradient(circle at 35% 30%, #fbe39b, var(--gold) 55%, #9a6a18); }
.jcard__title { margin: 0 0 8px; font: 900 clamp(1.5rem, 1rem + 1.4vw, 2.3rem)/1 var(--wordmark); text-transform: uppercase; color: var(--royal); }
.jcard__text { margin: 0; font: 500 clamp(1.02rem, 0.92rem + 0.3vw, 1.2rem)/1.5 var(--body); color: var(--ink); max-width: none; }
.jcard__text::first-letter { float: left; font: 900 2.9em/0.86 var(--wordmark); color: var(--royal); margin: 0.05em 0.1em 0 0; padding: 0.05em 0.1em; background: radial-gradient(circle at 35% 30%, #fbe39b, var(--gold) 70%); border-radius: 4px; }
.jcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.btn--ink { background: transparent; color: var(--ink); border-color: rgba(58, 34, 22, 0.4); }
.btn--ink:hover { background: rgba(58, 34, 22, 0.08); box-shadow: none; }
.jcard__folio { position: absolute; right: 8px; top: 18px; margin: 0; font: 500 0.66rem var(--mono); color: var(--ink-soft); }

.journey__steps { position: absolute; z-index: 6; left: 50%; bottom: max(18px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.journey__steps button { width: 30px; height: 24px; padding: 10px 0; border: 0; background: none; cursor: pointer; }
.journey__steps button::before { content: ""; display: block; height: 4px; border-radius: 2px; background: rgba(244, 230, 205, 0.32); transition: background 0.3s; }
.journey__steps button.is-on::before { background: var(--salt); }
.journey__skip { position: absolute; z-index: 6; right: max(16px, var(--gutter-r)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); font: 700 0.7rem var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: rgba(28, 10, 34, 0.65); }

@media (max-width: 760px) {
  .jcard { left: 14px; right: 14px; width: auto; top: auto; bottom: 58px; padding: 12px; max-height: 66svh; transform-origin: 50% 100%; }
  .jcard__pic { aspect-ratio: 16 / 9; }
  .jcard__body { padding: 12px 4px 2px; }
  .jcard__text::first-letter { font-size: 2.4em; }
  .journey__skip { top: 76px; bottom: auto; }
  .journey__steps button { width: 22px; }
}
.journey--static { padding: 60px 0; background: var(--night); }
.journey__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.jcard.is-static { position: relative; inset: auto; width: auto; max-height: none; opacity: 1; transform: none; }

/* after the map journey: the full legend and our story */
.story-more { padding: clamp(60px, 9vw, 110px) 0; background: radial-gradient(70% 90% at 50% 0%, rgba(244, 167, 160, 0.14), transparent 70%), var(--royal-deep); position: relative; }
.story-more::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--meander) repeat-x center / auto 14px; opacity: 0.35; }
.story-more__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.story-more__head { align-self: center; }
.story-more__head h2 { font: 700 var(--step-2)/1.2 var(--display); margin: 0; text-wrap: balance; }
.story-more__card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #efdcb4 url("../assets/img/paper.webp") center / cover; border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.8), inset 0 0 0 2px rgba(154, 106, 24, 0.75); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.story-more__card:hover { transform: translateY(-5px) rotate(-0.4deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), inset 0 0 0 2px var(--gold); }
.story-more__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 12px 12px 0; }
.story-more__strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 2px #f6ead2, 0 0 0 3px var(--gold-deep); }
.story-more__strip--one { grid-template-columns: 1fr; }
.story-more__strip--one img { aspect-ratio: 16 / 9.4; }
.story-more__body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.story-more__kicker { font: 500 0.68rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
.story-more__title { font: 900 var(--step-2)/1 var(--wordmark); text-transform: uppercase; color: var(--royal); }
.story-more__text { font-size: 1rem; line-height: 1.45; }
.story-more__go { margin-top: 6px; font: 700 0.78rem var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--royal); }
@media (max-width: 900px) { .story-more__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404: off the map ---------- */
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 120px 0 80px; background: var(--night); }
.lost__map { position: absolute; inset: 0; }
.lost__map img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: 0.36; filter: sepia(0.3) saturate(0.8); }
.lost__map::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(28, 10, 34, 0.35), var(--night) 78%), linear-gradient(180deg, rgba(28, 10, 34, 0.6), transparent 30%, transparent 70%, var(--night)); }
.lost__route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.6; }
.lost__route path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 11; }
.lost__x path { stroke: var(--salt); stroke-width: 5; stroke-dasharray: none; }
.lost__inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; }
.lost h1 { font-family: var(--wordmark); font-weight: 900; font-size: var(--step-4); line-height: 1; max-width: 16ch; color: var(--text); text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6); }
.lost__line { font-family: var(--script); font-style: italic; font-size: var(--step-1); line-height: 1.4; max-width: 34ch; color: var(--text); margin: 0.4em auto 1.6em; }
.lost__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .lost__route > path { animation: wander 3.5s var(--ease) both; }
  .lost__x { animation: fade-in 0.6s 3s both; }
}
@keyframes wander { from { stroke-dashoffset: 400; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- reduce motion: no transitions, lifts or loops anywhere ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .btn:hover, .pack:hover, .story-more__card:hover, .pack:hover .pack__img img { transform: none; }
}
/* ---------- footer newsletter ---------- */
.newsletter { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 420px); gap: 6px 24px; align-items: center; padding: 16px 0 2px; border-top: 1px solid var(--line); }
.newsletter__line { margin: 0; font: 700 1.02rem/1.3 var(--display); letter-spacing: 0.03em; color: var(--gold-soft); }
.newsletter__row { display: flex; gap: 8px; min-width: 0; }
.newsletter__row input { flex: 1; min-width: 0; min-height: 40px; font: inherit; font-size: 1rem; color: var(--text); background: rgba(244, 230, 205, 0.06); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; }
.newsletter__row input::placeholder { color: var(--text-dim); opacity: 0.8; }
.newsletter__row input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 164, 58, 0.25); }
.newsletter__row input[aria-invalid="true"] { border-color: var(--salt-deep); }
.newsletter__row .btn { flex: none; }
.newsletter__note { grid-column: 1; margin: 0; font-size: 0.82rem; line-height: 1.4; color: var(--text-dim); }
.newsletter__note a { color: var(--salt); }
.newsletter__status { grid-column: 2; margin: 0; min-height: 1.3em; font-size: 0.88rem; color: var(--text-dim); }
.newsletter__status.is-ok { color: #9fd49a; }
.newsletter__status.is-error { color: var(--salt); }
@media (max-width: 760px) { .newsletter { grid-template-columns: minmax(0, 1fr); } .newsletter__note, .newsletter__status { grid-column: 1; } }

/* ---------- where to buy ---------- */
.page--where-to-buy .prose { max-width: none; }
.wholesale__find { margin: 18px 0 0; }
.wholesale__find a { color: var(--salt); font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; text-decoration: none; }
.wholesale__find a:hover { text-decoration: underline; }
.finder__map { position: relative; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.finder__map canvas { display: block; width: 100%; }
.finder__tip { position: absolute; z-index: 2; max-width: 220px; line-height: 1.35; font-size: 0.92rem; color: var(--ink); background: var(--parchment); border: 1px solid var(--gold-deep); border-radius: 6px; padding: 6px 10px; pointer-events: none; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); }
.finder__tools { display: grid; gap: 14px; margin: 26px 0 18px; }
.finder__tools[hidden] { display: none; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip__n { margin-left: 8px; font: 500 0.66rem var(--mono); opacity: 0.75; }
.finder__fields { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 10px; }
.finder__fields select, .finder__fields input { width: 100%; min-height: 46px; font: inherit; font-size: 1rem; color: var(--text); background: rgba(244, 230, 205, 0.06); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.finder__fields select option { color: var(--ink); background: var(--parchment); }
.finder__fields select:focus, .finder__fields input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 164, 58, 0.25); }
@media (max-width: 560px) { .finder__fields { grid-template-columns: minmax(0, 1fr); } }
.finder__count { margin: 0; font: 500 0.72rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.finder__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.stockist { color: var(--ink); background: #efdcb4 url("../assets/img/paper.webp") center / cover; border-radius: 8px; padding: 16px 18px 18px; scroll-margin-top: 110px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.8), inset 0 0 0 2px rgba(154, 106, 24, 0.75); transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.stockist.is-lit { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--gold-soft), 0 18px 40px -16px rgba(255, 196, 70, 0.6); }
.stockist p { margin: 0; color: var(--ink); }
.stockist__tag { display: inline-block; margin-bottom: 8px !important; font: 500 0.62rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--parchment) !important; background: var(--royal); border-radius: 999px; padding: 3px 10px; }
.stockist__tag--online { background: #2f5a6e; }
.stockist__tag--distributor { background: var(--gold-deep); }
.stockist__tag--restaurant { background: #7a2f3a; }
.prose .stockist__name { margin: 0 0 6px; font: 900 1.25rem/1.15 var(--wordmark); color: var(--royal); }
.stockist__where { font-weight: 600; }
.stockist__addr { font-size: 0.95rem; color: var(--ink-soft) !important; }
.stockist__link { margin-top: 8px !important; overflow-wrap: anywhere; }
.prose .stockist__link a { color: var(--royal); font-weight: 600; }
.finder__none, .finder__loading { margin: 22px 0 0; color: var(--text-dim); }
.finder__none { display: grid; justify-items: start; gap: 4px; }
.finder__empty { margin: 26px auto 0; max-width: 560px; text-align: center; display: grid; justify-items: center; }
.finder__empty .eyebrow { color: var(--gold-deep); }
.prose .finder__empty h3 { margin: 0 0 6px; font: 900 var(--step-2)/1.1 var(--wordmark); color: var(--royal); }
.prose .finder__empty p { color: var(--ink); }

/* ---------- newsletter band: "Letters from the salt hills" ---------- */
.nl-band { padding: clamp(40px, 7vw, 90px) 0; background: radial-gradient(60% 100% at 50% 0%, rgba(244, 167, 160, 0.12), transparent 70%), var(--night); }
.nl-band__card { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 44px); align-items: center; max-width: 980px; margin: 0 auto;
  color: var(--ink); background: #efdcb4 url("../assets/img/paper.webp") center / cover; border-radius: 8px; padding: clamp(18px, 3.5vw, 34px);
  box-shadow: var(--shadow), inset 0 0 0 2px var(--gold), inset 0 0 0 7px rgba(246, 234, 210, 0.6), inset 0 0 0 8px var(--gold-deep); }
.nl-band__art { margin: 0; }
.nl-band__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 3px #f6ead2, 0 0 0 4px var(--gold-deep), 0 14px 28px -14px rgba(58, 34, 22, 0.7); transform: rotate(-1.2deg); }
.nl-band__copy { min-width: 0; }
.nl-band .eyebrow { color: var(--gold-deep); margin-bottom: 0.5em; }
.nl-band h2 { font: 900 var(--step-2)/1.1 var(--wordmark); color: var(--royal); margin: 0 0 0.4em; text-wrap: balance; }
.nl-band__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.nl-band__list li { position: relative; padding-left: 26px; color: var(--ink); line-height: 1.4; }
.nl-band__list li::before { content: ""; position: absolute; left: 4px; top: 0.42em; width: 10px; height: 10px; transform: rotate(45deg); background: var(--salt); box-shadow: 0 0 0 1.5px var(--gold-deep); }
.nl-band__form { display: grid; gap: 8px; }
.nl-band__row { display: flex; gap: 10px; min-width: 0; }
.nl-band__row input { flex: 1; min-width: 0; min-height: 48px; font: inherit; font-size: 1rem; color: var(--ink); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--parchment-3); border-radius: 999px; padding: 8px 18px; }
.nl-band__row input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(217, 164, 58, 0.3); }
.nl-band__row input[aria-invalid="true"] { border-color: var(--salt-deep); }
.nl-band__row .btn { flex: none; }
.nl-band__note { margin: 0; font-size: 0.88rem; line-height: 1.4; color: var(--ink-soft); }
.nl-band__note a { color: var(--royal); }
.nl-band .newsletter__status { grid-column: auto; color: var(--ink-soft); }
.nl-band .newsletter__status.is-ok { color: #2f6b2a; }
.nl-band .newsletter__status.is-error { color: #a3302a; }
@media (max-width: 720px) { .nl-band__card { grid-template-columns: minmax(0, 1fr); } .nl-band__art { max-width: 340px; } }
@media (max-width: 420px) { .nl-band__row { flex-direction: column; } .nl-band__row .btn { align-self: start; } }
