/* =========================================================================
   Go Sikkim Tours · site.css
   One stylesheet for the whole site. Mobile first.

   Region colours: base.html writes a rule per land, [data-land="slug"] { --malachite …
   --foil-deep }, so any element (body, a card, a badge) can carry a land's palette.
   The :root values below are the site-wide defaults: Himalayan pine ground and
   prayer-flag saffron brass.

   Contents
   01 Tokens            09 Cards and grids       17 Days, ribbon, inc
   02 Base and reset    10 Photos and gallery    18 Tables, links, CTAs
   03 Type              11 Chips, ledger, panel  19 Filters, pager, crumbs
   04 Layout            12 Seasons: almanac/mbar 20 Forms, wizard
   05 Buttons           13 Atlas map             21 Footer
   06 Masthead and nav  14 Page heads, answer    22 Floating: fab, dock, buybar, nudge
   07 Sheet and search  15 Prose, tips, faq      23 New editorial blocks
   08 Home: hero, fan,  16 Lists: hl, reach,     24 Motion and accessibility
      toc, marquee, seal   toc-side, tool output
   ========================================================================= */

/* 01 · Tokens ------------------------------------------------------------- */
:root {
  /* region palette (overridden per land by [data-land]) */
  --malachite: #0F2A26;
  --malachite-2: #1A3F38;
  --brass: #E3A54A;
  --brass-ink: #94560F;
  --tint: #F4E9D6;
  --deep: #7C4A0E;
  --grad: linear-gradient(135deg, #0F2A26 0%, #173D36 55%, #22574C 100%);
  --foil: linear-gradient(115deg, #F7DDA0 0%, #E0A341 42%, #A8681C 78%, #E0A341 100%);
  --foil-deep: #6E430E;

  /* neutrals */
  --paper: #FAF6EE;
  --paper-2: #F2EADB;
  --card: #FFFDF8;
  --ink: #17150F;
  --ink-2: #3B372E;
  --muted: #6B6558;
  --line: rgba(23, 21, 15, .13);
  --line-2: rgba(23, 21, 15, .24);
  --mist: #F5F0E6;
  --mist-2: rgba(245, 240, 230, .80);
  --mist-3: rgba(245, 240, 230, .62);
  --mist-line: rgba(245, 240, 230, .18);
  --ok: #2E6A4E;
  --err: #A3321F;

  /* type */
  --display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* shape */
  --r-xs: 6px;
  --r-s: 10px;
  --r: 14px;
  --r-l: 22px;
  --r-pill: 999px;
  --arch: 50% 50% var(--r-s) var(--r-s) / 38% 38% var(--r-s) var(--r-s);
  --sh-1: 0 1px 2px rgba(15, 42, 38, .06), 0 6px 18px rgba(15, 42, 38, .06);
  --sh-2: 0 24px 60px -18px rgba(15, 42, 38, .34);
  --sh-3: 0 30px 80px -20px rgba(10, 25, 22, .5);

  /* layout */
  --wrap: 1240px;
  --narrow: 820px;
  --gutter: clamp(16px, 4vw, 40px);
  --mast-h: 68px;
  --sec: clamp(64px, 9vw, 120px);
  --sec-tight: clamp(40px, 5vw, 64px);
  --dock-h: 0px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
@media (min-width: 900px) { :root { --mast-h: 78px; } }
@media (max-width: 899.98px) { :root { --dock-h: 62px; } }

/* 02 · Base and reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--mast-h) + 24px);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: var(--dock-h);
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ol, ul, fieldset, legend { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; color: inherit; overflow-wrap: break-word; }
ul, ol { padding: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
svg { overflow: visible; }
a { color: inherit; text-decoration: none; }
p a, .tips a, .inc a, .sources a, figcaption a, td a, dd a, .prose a, .answer a, .faq a, .small a, .muted a, .qform__fine a, .lede a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color .2s, color .2s;
}
p a:hover, td a:hover, .prose a:hover, .answer a:hover, .faq a:hover { text-decoration-color: currentColor; color: var(--brass-ink); }
.dark p a:hover, .panel--dark p a:hover, .foot p a:hover { color: var(--brass); }
/* lists that are navigation, not prose */
.foot ul a, .mlist a, .mcard__places a, .sheet a, .search a, .crumbs a, .toc-side a, .atlas a, .grid li a { text-decoration: none; }
.grid.small li a:hover, .foot ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
b, strong { font-weight: 650; }
small { font-size: .82em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
::selection { background: var(--brass); color: var(--malachite); }
abbr[title] { text-decoration: underline dotted; }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }
.icon--lg { width: 2em; height: 2em; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--malachite); color: var(--mist);
  padding: 12px 18px; border-radius: var(--r-s); font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* Lenis smooth scroll (recommended base styles) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }

/* 03 · Type --------------------------------------------------------------- */
.h-hero, .h-xl, .h-l, .h-m, .h-s, .wordmark, .foot__big, .mega__title, .card__title, .toc__name b,
.day__n, .tier__price, .localword__word, .tool-out, .qform__title, .nudge__title, .marquee span {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -.012em;
}
.h-hero { font-size: clamp(44px, 8.2vw, 116px); line-height: .96; letter-spacing: -.028em; }
.h-xl { font-size: clamp(36px, 5.6vw, 76px); line-height: 1; letter-spacing: -.022em; }
.h-l { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -.018em; }
.h-m { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.15; }
.h-s { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.22; }
.h-l .lbadge, .h-m .lbadge { vertical-align: middle; margin-right: .2em; }
.h-icon .icon { width: .72em; height: .72em; vertical-align: -.02em; margin-right: .12em; color: var(--brass-ink); stroke-width: 1.2; }

.accent { font-style: italic; color: var(--brass-ink); }
.dark .accent, .panel--dark .accent, .mpromise .accent, .foot .accent, .tier--mid .accent {
  color: var(--brass);
  background: var(--foil);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .06em; /* italic overhang */
}

.eyebrow {
  display: block;
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--brass-ink);
}
.eyebrow .icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.eyebrow--icon { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow--icon .icon { width: 22px; height: 22px; }
.dark .eyebrow, .panel--dark .eyebrow, .foot .eyebrow, .mpromise .eyebrow, .tier--mid .eyebrow { color: var(--brass); }

.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.dark .lede, .panel--dark .lede { color: var(--mist-2); }
.muted { color: var(--muted); }
.dark .muted, .panel--dark .muted { color: var(--mist-3); }
.small { font-size: 13.5px; line-height: 1.55; }

/* 04 · Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow, .wrap.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: var(--sec-tight); }
.paper { background: var(--paper-2); }
.dark {
  position: relative;
  background-color: var(--malachite);
  background-image:
    radial-gradient(120% 80% at 88% -10%, color-mix(in srgb, var(--brass) 16%, transparent), transparent 60%),
    var(--grad);
  color: var(--mist);
}
.dark :focus-visible { outline-color: var(--brass); }

.block > * + * { margin-top: 20px; }
.block > .eyebrow + * { margin-top: 0; }
.block > .h-l + *, .block > .h-m + * { margin-top: 24px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px);
}
.sec-head > div:first-child { max-width: 720px; }
.sec-head p.muted { margin-top: 12px; }

.split { display: flex; flex-direction: column; gap: 48px; }
.split__main { min-width: 0; display: flex; flex-direction: column; gap: clamp(44px, 6vw, 72px); }
.split__aside { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split__aside > .link-arrow { align-self: flex-start; }
@media (min-width: 1000px) {
  .split { flex-direction: row; align-items: flex-start; gap: clamp(48px, 6vw, 88px); }
  .split__main { flex: 1 1 0; }
  .split__aside { flex: 0 0 clamp(300px, 30%, 380px); align-self: flex-start; }
  .split > .split__aside:first-child { flex-basis: clamp(300px, 34%, 420px); }
}

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
ul.grid, ol.grid { list-style: none; padding: 0; }
.grid.small { gap: 12px 24px; }
.grid.small ul { list-style: none; padding: 0; margin: 0 0 18px; }
.grid.small ul ul { padding-left: 14px; margin: 4px 0 8px; border-left: 1px solid var(--line); }
.grid.small li { padding: 3px 0; }
@media (min-width: 600px) {
  .grid--2, .grid--3, .storygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 820px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .grid--3, .storygrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* inside a split column the main area is narrower: keep cards readable */
  .split__main .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__main .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1240px) { .split__main .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.storygrid { display: grid; gap: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px); }

/* 05 · Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: 14.5px; font-weight: 650; letter-spacing: .015em; line-height: 1.2;
  text-align: center; text-decoration: none; white-space: normal;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--brass {
  --btn-bg: var(--brass); --btn-fg: var(--malachite);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 22px -10px color-mix(in srgb, var(--brass) 80%, black);
}
.btn--brass:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 14px 30px -12px color-mix(in srgb, var(--brass) 80%, black); }
.btn--dark { --btn-bg: var(--malachite); --btn-fg: var(--mist); }
.btn--dark:hover { --btn-bg: var(--malachite-2); box-shadow: var(--sh-1); }
.btn--ghost { --btn-bd: var(--line-2); --btn-fg: var(--ink); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.dark .btn--ghost, .panel--dark .btn--ghost, .sheet .btn--ghost, .foot .btn--ghost { --btn-bd: var(--mist-line); --btn-fg: var(--mist); }
.dark .btn--ghost:hover, .panel--dark .btn--ghost:hover, .sheet .btn--ghost:hover { --btn-bd: var(--mist); }
.dark .btn--dark, .panel--dark .btn--dark { --btn-bg: var(--mist); --btn-fg: var(--malachite); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: inherit; transition: background-color .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--line); }
.mast--dark .icon-btn:hover { background: var(--mist-line); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 650; letter-spacing: .02em;
  color: var(--brass-ink);
  padding-bottom: 3px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  transition: border-color .2s, gap .2s;
}
.link-arrow:hover { border-color: currentColor; gap: 10px; }
.dark .link-arrow, .panel--dark .link-arrow { color: var(--brass); }

/* 06 · Masthead and nav --------------------------------------------------- */
.util { background: var(--malachite); color: var(--mist-2); font-size: 12.5px; display: none; }
@media (min-width: 900px) { .util { display: block; } }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 36px; }
.util__note { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.util__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--brass) 60%, transparent); animation: pulse 2.6s infinite; }
.util__links { display: flex; gap: 20px; flex-wrap: nowrap; }
.util__links a { color: var(--mist-2); white-space: nowrap; transition: color .2s; }
.util__links a:hover { color: var(--brass); }
@media (max-width: 1100px) { .util__links a:nth-child(n+4) { display: none; } }

.mast {
  position: sticky; top: 0; z-index: 50;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background-color .3s;
}
.mast--light { border-bottom-color: var(--line); }
.mast--dark { color: var(--mist); background: var(--malachite); }
.mast.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15, 42, 38, .45); }
.mast--dark.is-scrolled { background: color-mix(in srgb, var(--malachite) 94%, transparent); border-bottom-color: var(--mist-line); }
.mast__in { display: flex; align-items: center; gap: 12px; min-height: var(--mast-h); }
.wordmark {
  font-size: clamp(22px, 2vw, 27px); line-height: 1; white-space: nowrap;
  letter-spacing: -.01em; color: inherit; flex: none;
}
.wordmark i { color: var(--brass-ink); font-style: italic; }
.mast--dark .wordmark i, .sheet .wordmark i, .foot .wordmark i { color: var(--brass); }
.mast__cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.mast__plan { display: none; min-height: 44px; padding: 10px 20px; font-size: 14px; }
@media (min-width: 640px) { .mast__plan { display: inline-flex; } }

.burger { position: relative; width: 44px; height: 44px; border-radius: 50%; color: inherit; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 12px; width: 20px; height: 1.6px; border-radius: 2px; background: currentColor; content: "";
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; width: 13px; }
.burger:hover { background: var(--line); }
.mast--dark .burger:hover { background: var(--mist-line); }

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
  .burger { display: none; }
}
.nav__drop > button, .nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em; color: inherit;
  transition: background-color .2s, color .2s;
}
.nav__drop > button:hover, .nav__link:hover, .nav__drop.is-open > button { background: var(--line); }
.mast--dark .nav__drop > button:hover, .mast--dark .nav__link:hover, .mast--dark .nav__drop.is-open > button { background: var(--mist-line); }
.chev { width: 11px; height: 11px; transition: transform .25s var(--ease); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 70px -30px rgba(15, 42, 38, .35);
  padding-block: 36px 44px;
  max-height: calc(100vh - var(--mast-h) - 24px);
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.nav__drop.is-open > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega .eyebrow { margin-bottom: 14px; }
.mega--lands { padding-block: 32px 40px; }
.mega__wrap { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: 44px; }
.mega__intro { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mega__title { font-size: 30px; line-height: 1.1; letter-spacing: -.015em; }
.mega__lede { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.mega__links { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 4px 0 8px; }
.mega__links a { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; font-weight: 600; }
.mega__links a .icon { color: var(--brass-ink); width: 18px; height: 18px; }
.mega__links a:hover { color: var(--brass-ink); }
.mega__cols { display: grid; grid-template-columns: 1.25fr 1fr 1.1fr; gap: 44px; }
.mega__cols--exp { grid-template-columns: 1.5fr 1fr; }
.mega__cols--plan { grid-template-columns: repeat(3, 1fr) 1.2fr; }

.mlands { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.mcard {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 210px; padding: 16px;
  border-radius: var(--r);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  color: var(--mist);
  background: var(--grad);
}
.mcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.mcard:hover > img { transform: scale(1.06); }
.mcard__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--malachite) 10%, transparent) 0%, color-mix(in srgb, var(--malachite) 55%, transparent) 45%, var(--malachite) 100%); }
.mcard .lbadge { position: absolute; top: 14px; left: 14px; }
.mcard__name { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.mcard__name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mcard__palette { font-size: 11.5px; color: var(--mist-3); letter-spacing: .04em; }
.mcard__places { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12.5px; margin-top: 4px; }
.mcard__places a { position: relative; z-index: 2; color: var(--mist-2); }
.mcard__places a:hover { color: var(--brass); text-decoration: underline; }
.mcard__go { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin-top: 6px; }
.mcard__go .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.mcard:hover .mcard__go .icon { transform: translateX(4px); }

.mlist { list-style: none; display: flex; flex-direction: column; }
.mlist--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.mlist a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; font-weight: 500; border-bottom: 1px solid transparent; transition: color .2s; }
.mlist a:hover { color: var(--brass-ink); }
.mlist a .icon { width: 18px; height: 18px; color: var(--brass-ink); }
.mlist__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; transition: transform .2s; }
.mlist a:hover .mlist__dot { transform: scale(1.6); }
.mpace { display: flex; flex-direction: column; gap: 6px; }
.mpace a { display: block; padding: 10px 14px; border-left: 2px solid var(--line); transition: border-color .2s, background-color .2s; }
.mpace a:hover { border-color: var(--brass); background: var(--tint); }
.mpace b { display: block; font-size: 14.5px; }
.mpace span { display: block; font-size: 13px; color: var(--muted); }
.mfeatured { display: flex; flex-direction: column; gap: 10px; }
.mfeat { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: var(--r); transition: background-color .2s; }
.mfeat:hover { background: var(--tint); }
.mfeat img { width: 76px; height: 92px; object-fit: cover; border-radius: var(--arch); }
.mfeat small { display: flex; align-items: center; gap: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--brass-ink); font-weight: 650; }
.mfeat small .icon { width: 15px; height: 15px; }
.mfeat b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.2; margin-top: 2px; }
.mkinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.mkinds a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .2s, transform .2s var(--ease); }
.mkinds a:hover { border-color: var(--brass); transform: translateY(-2px); }
.mkinds b { font-size: 14px; font-weight: 600; }
.mpromise { padding: 28px; border-radius: var(--r-l); background: var(--grad); color: var(--mist); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mpromise .mega__lede { color: var(--mist-2); }

/* 07 · Sheet (mobile menu) and search ------------------------------------ */
.sheet {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px var(--gutter) 0;
  background: var(--malachite); background-image: var(--grad);
  color: var(--mist);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; transform: translateX(100%);
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.sheet.is-open { visibility: visible; transform: none; transition-delay: 0s; }
.sheet :focus-visible { outline-color: var(--brass); }
.sheet__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.sheet__close {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 30px; line-height: 1; font-weight: 300; color: inherit;
  border: 1px solid var(--mist-line);
  transition: background-color .2s;
}
.sheet__close:hover { background: var(--mist-line); }
.sheet__search {
  display: flex; align-items: center; gap: 12px; width: 100%;
  min-height: 52px; padding: 12px 16px; margin: 8px 0 4px;
  border: 1px solid var(--mist-line); border-radius: var(--r-pill);
  color: var(--mist-2); text-align: left; font-size: 15px;
}
.sheet__search svg { width: 20px; height: 20px; flex: none; }
.acc { border-bottom: 1px solid var(--mist-line); }
.acc > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-family: var(--display); font-size: 26px; line-height: 1.1;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--brass); transition: transform .3s var(--ease); }
.acc[open] > summary::after { transform: rotate(45deg); }
.sheet__lands { display: grid; gap: 4px; padding-bottom: 18px; }
.sheet__lands a { display: flex; align-items: center; gap: 14px; padding: 10px 6px; border-radius: var(--r); }
.sheet__lands a:hover { background: var(--mist-line); }
.sheet__lands b { display: block; font-weight: 600; }
.sheet__lands small { display: block; color: var(--mist-3); font-size: 12.5px; }
.sheet__links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding-bottom: 18px; }
.sheet__links a { padding: 9px 0; color: var(--mist-2); font-size: 15px; }
.sheet__links a:hover { color: var(--brass); }
.sheet__cta {
  position: sticky; bottom: 0; margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--malachite) 30%);
}
.sheet__cta .btn--brass { flex: 1 1 100%; }
.sheet__cta .btn--ghost { flex: 1 1 0; }

.search {
  position: fixed; inset: 0; z-index: 90;
  background: color-mix(in srgb, var(--malachite) 94%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--mist);
  overflow-y: auto; overscroll-behavior: contain;
  animation: fade-in .25s var(--ease);
}
.search :focus-visible { outline-color: var(--brass); }
.search__box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center;
  max-width: calc(860px + 2 * var(--gutter));
  padding-top: clamp(28px, 12vh, 120px); padding-bottom: 64px;
}
.search__box input[type="search"] {
  width: 100%; min-height: 64px; padding: 8px 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--mist-3); border-radius: 0;
  color: var(--mist); font-family: var(--display); font-size: clamp(26px, 4vw, 42px);
  -webkit-appearance: none; appearance: none;
}
.search__box input[type="search"]::placeholder { color: var(--mist-3); }
.search__box input[type="search"]:focus { outline: none; border-bottom-color: var(--brass); }
.search__box input[type="search"]::-webkit-search-cancel-button { display: none; }
.search__results { grid-column: 1 / -1; list-style: none; display: grid; gap: 2px; }
.search__results a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r-s); transition: background-color .15s; }
.search__results a:hover, .search__results a:focus-visible { background: var(--mist-line); }
.search__results b { font-weight: 600; font-size: 17px; }
.search__results small { color: var(--mist-3); font-size: 12.5px; text-transform: capitalize; }
.search__results .muted { color: var(--mist-3); }
.search__hint { grid-column: 1 / -1; color: var(--mist-3); }

/* 08 · Home: hero, finder, fan, trust, marquee, toc, seal ----------------- */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__top { display: grid; gap: 28px; align-items: end; }
.hero__title .eyebrow { margin-bottom: 18px; }
.hero__side { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 980px) {
  .hero__top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; }
}

.finder {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px;
  padding: 12px; border-radius: var(--r-l);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--mist-line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.finder label {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 14px; border-radius: var(--r);
  background: rgba(0, 0, 0, .14);
}
.finder label > span { font-size: 10.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.finder select {
  width: 100%; min-height: 32px; padding: 0 24px 0 0;
  border: 0; background-color: transparent; color: var(--mist); font-size: 15.5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23F5F0E6' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 2px center; background-size: 12px; background-repeat: no-repeat;
}
.finder select option { color: var(--ink); background: var(--paper); }
.finder select:focus { outline: none; }
.finder label:focus-within { box-shadow: 0 0 0 2px var(--brass); }
@media (min-width: 560px) {
  .finder { grid-template-columns: 1fr 1fr; }
  .finder .btn { grid-column: 1 / -1; }
}

.fan {
  display: flex; gap: 12px;
  margin-top: clamp(36px, 5vw, 64px);
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.fan::-webkit-scrollbar { display: none; }
.fan__item {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 0 0 min(74vw, 320px); height: clamp(380px, 110vw, 460px);
  scroll-snap-align: start;
  border-radius: 999px 999px var(--r) var(--r);
  background: var(--grad);
  color: var(--mist);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.fan__item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; }
.fan__item::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--malachite) 70%, transparent) 70%, var(--malachite) 100%);
}
.fan__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fan__cap > b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; }
.fan__more { display: flex; flex-direction: column; gap: 8px; }
.fan__more p { font-size: 14px; line-height: 1.5; color: var(--mist-2); max-width: 36ch; }
.fan__go { font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.fan__go::after { content: " →"; }
.fan__more small { font-size: 10.5px; color: var(--mist-3); }
.fan__item:hover > img { transform: scale(1.04); }
@media (min-width: 760px) {
  .fan { overflow: visible; margin-inline: 0; padding-inline: 0; height: clamp(440px, 46vw, 580px); gap: 10px; }
  .fan__item { flex: 1 1 0; min-width: 0; height: 100%; transition: flex-grow .7s var(--ease); }
  .fan__item.is-active { flex-grow: 4.2; }
  .fan__item:not(.is-active) > img { filter: saturate(.75) brightness(.85); }
  .fan__item .fan__more { display: none; }
  .fan__item.is-active .fan__more { display: flex; animation: rise .6s var(--ease) both .15s; }
  .fan__item:not(.is-active) .fan__cap { align-items: center; padding-inline: 8px; }
  .fan__item:not(.is-active) .fan__cap > b {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 21px; white-space: nowrap; max-height: 260px; overflow: hidden; text-overflow: ellipsis;
  }
}

.trustband { background: var(--paper-2); border-bottom: 1px solid var(--line); padding-block: 26px; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px 28px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.trust svg { width: 26px; height: 26px; flex: none; color: var(--brass-ink); margin-top: 1px; }
.trust b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 650; }
.split__aside .trust, .panel .trust { grid-template-columns: minmax(0, 1fr); }
.trust--dark li, .dark .trust li, .panel--dark .trust li { color: var(--mist-3); }
.trust--dark b, .dark .trust b, .panel--dark .trust b { color: var(--mist); }
.trust--dark svg, .dark .trust svg, .panel--dark .trust svg { color: var(--brass); }
.phead__text .trust { margin-top: 8px; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(14px, 2vw, 22px); background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-style: italic; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.1; color: var(--ink);
  padding-right: clamp(28px, 4vw, 56px);
}
.marquee span::after { content: "✦"; font-style: normal; font-size: .4em; color: var(--brass); margin-left: clamp(28px, 4vw, 56px); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--brass-ink); }

.seal { width: 132px; height: 132px; margin-top: 28px; animation: spin 36s linear infinite; }
.seal text { font-family: var(--display); font-style: italic; font-size: 13px; letter-spacing: .12em; fill: var(--brass-ink); }
@media (max-width: 999.98px) { .seal { display: none; } }

.toc { border-top: 1px solid var(--line-2); }
.toc__row {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 16px;
  padding: 18px 8px; border-bottom: 1px solid var(--line);
  transition: background-color .3s, padding .4s var(--ease);
}
.toc__row:hover { background: var(--tint); padding-inline: 18px 14px; }
.toc__row > .lbadge, .toc__row > .num { grid-row: span 2; align-self: start; }
.toc__name b { display: block; font-weight: 400; font-size: clamp(24px, 3vw, 38px); line-height: 1.08; }
.toc__name > span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.toc__when { grid-column: 2; font-size: 11.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.toc__when:empty { display: none; }
.toc__arrow { grid-column: 3; grid-row: 1 / span 2; font-size: 22px; color: var(--brass-ink); transition: transform .3s var(--ease); }
.toc__row:hover .toc__arrow { transform: translateX(6px); }
.toc .num { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1; color: var(--brass-ink); min-width: 1.6em; padding-top: 6px; }
@media (min-width: 760px) {
  .toc__row { grid-template-columns: auto minmax(0, 1fr) minmax(120px, auto) 32px; padding-block: 22px; gap: 24px; }
  .toc__row > .lbadge, .toc__row > .num { grid-row: auto; align-self: center; }
  .toc__when { grid-column: auto; text-align: right; }
  .toc__when:empty { display: block; }
  .toc__arrow { grid-column: auto; grid-row: auto; }
}
.toc__peek {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: 230px; height: 300px; overflow: hidden;
  border-radius: 999px 999px var(--r) var(--r);
  box-shadow: var(--sh-3);
  opacity: 0; transform: translate(-50%, -50%) scale(.86) rotate(-3deg);
  transition: opacity .3s, transform .45s var(--ease);
}
.toc__peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.toc__peek img { width: 100%; height: 100%; object-fit: cover; }
.toc__peek img:not([src]) { visibility: hidden; }
@media (hover: none), (max-width: 999.98px) { .toc__peek { display: none; } }

/* 09 · Cards and grids ---------------------------------------------------- */
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  min-width: 0; color: inherit;
}
.card > * { max-width: 100%; }
.card > .photo { align-self: stretch; margin-bottom: 6px; }
.card .photo__frame img { transition: transform 1.1s var(--ease); }
.card:hover .photo__frame img { transform: scale(1.045); }
.card--wide > .photo .photo__frame { aspect-ratio: 3 / 2; }
.card__title { display: block; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.14; transition: color .2s; }
.card__title--s { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.2; }
.card:hover .card__title { color: var(--brass-ink); }
.dark .card:hover .card__title { color: var(--brass); }
.card__meta { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
.card > p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.card > .ledger__row { align-self: stretch; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.dark .card { color: var(--mist); }
.dark .card > p { color: var(--mist-2); }
.dark .card__meta { color: var(--mist-3); }
.dark .card > .ledger__row { border-top-color: var(--mist-line); }
/* a panel used as a card (month tiles, contact cards) */
.panel.card { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.panel.card:hover { transform: translateY(-3px); box-shadow: var(--sh-1); border-color: var(--brass); }

.card-fill {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px;
  min-height: 260px; padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-l);
  border: 1px dashed color-mix(in srgb, var(--brass-ink) 45%, transparent);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--brass) 20%, transparent), transparent 55%),
    var(--tint);
  color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card-fill:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-style: solid; }
.card-fill__title { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.12; }
.card-fill__text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.card-fill__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-ink); }
.card-fill__go .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.card-fill:hover .card-fill__go .icon { transform: translateX(5px); }
.dark .card-fill { background: color-mix(in srgb, var(--malachite-2) 80%, transparent); border-color: var(--mist-line); color: var(--mist); }
.dark .card-fill__text { color: var(--mist-2); }
.dark .card-fill__go { color: var(--brass); }

/* 10 · Photos and gallery ------------------------------------------------- */
.photo { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.photo__frame {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  background: var(--tint);
}
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { margin-top: 8px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.photo figcaption a { color: inherit; }
.dark .photo figcaption { color: var(--mist-3); }
.photo.arch .photo__frame { aspect-ratio: 4 / 5; border-radius: var(--arch); }
.photo.ratio-hero .photo__frame { aspect-ratio: 4 / 5; }
.photo.ratio-wide .photo__frame { aspect-ratio: 16 / 10; }
.photo.ratio-pano .photo__frame { aspect-ratio: 16 / 9; }
@media (min-width: 760px) { .photo.ratio-pano .photo__frame { aspect-ratio: 21 / 9; } }
.photo.arch.ratio-wide .photo__frame { border-radius: 50% 50% var(--r-s) var(--r-s) / 58% 58% var(--r-s) var(--r-s); }
.phead .photo.ratio-hero { max-width: 520px; width: 100%; justify-self: end; }
@media (max-width: 899.98px) { .phead .photo.ratio-hero .photo__frame { aspect-ratio: 5 / 4; } .phead .photo.ratio-hero { justify-self: stretch; max-width: none; } }
.noimg {
  display: grid; place-items: center; height: 100%; min-height: 160px; padding: 20px;
  text-align: center; font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.3;
  color: var(--deep);
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--deep) 7%, transparent) 12px 13px),
    var(--tint);
}

.gallery {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 30vw, 220px);
}
.gallery .photo { min-height: 0; }
.gallery .photo__frame { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; height: 100%; }
.gallery .photo figcaption { margin-top: 4px; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery > .photo:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 240px); }
  .gallery > .photo:first-child .photo__frame { border-radius: var(--arch); }
}
.split__main .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
section.wrap > .gallery { margin-bottom: var(--sec-tight); }

/* 11 · Chips, badges, ledger, panels ------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--tint); color: var(--deep);
  border: 1px solid transparent;
  font-size: 11.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
a.chip:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--deep) 35%, transparent); }
.chip .icon { width: 16px; height: 16px; }
.chip--line { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
a.chip--line:hover { border-color: var(--ink); color: var(--ink); }
.chip--land { background: var(--malachite); color: var(--brass); }
a.chip--land:hover { border-color: var(--brass); }
.chip--on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .chip--line, .panel--dark .chip--line { color: var(--mist-2); border-color: var(--mist-line); }
.dark a.chip--line:hover { color: var(--mist); border-color: var(--mist); }
.dark .chip--land { background: var(--mist); color: var(--malachite); }

.lbadge {
  display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--tint); color: var(--brass-ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass-ink) 18%, transparent);
}
.lbadge .icon { width: 58%; height: 58%; }
.lbadge--foil {
  background: var(--foil); color: var(--malachite);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 4px 12px -6px var(--foil-deep);
}
.lbadge--lg { width: 56px; height: 56px; }
.lbadge--sm { width: 26px; height: 26px; }
.lbadge--sm .icon { width: 64%; height: 64%; }
.dark .lbadge:not(.lbadge--foil), .panel--dark .lbadge:not(.lbadge--foil) { background: color-mix(in srgb, var(--brass) 18%, transparent); color: var(--brass); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass) 35%, transparent); }
.fan__cap .lbadge { background: rgba(255, 255, 255, .14); color: var(--brass); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }

.ledger { display: flex; flex-direction: column; }
.ledger__row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; font-size: 14.5px; line-height: 1.45;
  color: inherit;
}
.ledger > .ledger__row + .ledger__row { border-top: 0; }
.ledger__row > span:first-child { color: var(--muted); flex: 0 1 auto; min-width: 0; }
.ledger__row > b { font-weight: 600; text-align: right; flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.ledger__dots { flex: 1 1 24px; min-width: 18px; border-bottom: 1.5px dotted var(--line-2); transform: translateY(-4px); }
a.ledger__row { transition: color .2s; }
a.ledger__row:hover { color: var(--brass-ink); }
a.ledger__row:hover .ledger__dots { border-color: currentColor; }
.dark .ledger__row > span:first-child, .panel--dark .ledger__row > span:first-child { color: var(--mist-3); }
.dark .ledger__dots, .panel--dark .ledger__dots { border-color: var(--mist-line); }
.panel--dark a.ledger__row:hover, .dark a.ledger__row:hover { color: var(--brass); }

.panel {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-l);
  min-width: 0;
}
.panel > .btn, .panel > .link-arrow { align-self: flex-start; }
.panel--dark {
  background-color: var(--malachite);
  background-image:
    radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--brass) 14%, transparent), transparent 60%),
    var(--grad);
  color: var(--mist);
  box-shadow: var(--sh-2);
}
.panel--dark :focus-visible { outline-color: var(--brass); }
.panel--dark a:not(.btn) { color: inherit; }
.panel--line { border: 1px solid var(--line-2); background: color-mix(in srgb, var(--card) 70%, transparent); }
.panel--paper { background: var(--paper-2); border: 1px solid var(--line); }
.paper .panel--paper { background: var(--card); }
.ccard { gap: 8px; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.ccard .eyebrow { margin: 0; }
.ccard > span:last-child { color: var(--muted); font-size: 14.5px; }
.panel--dark.ccard > span:last-child { color: var(--mist-2); }
.stats { display: grid; gap: 16px; }
.stats:empty { display: none; }

/* 12 · Seasons: almanac, key, month bar ---------------------------------- */
.almanac { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scrollbar-width: thin; }
.almanac__grid {
  display: grid; grid-template-columns: minmax(120px, 1.5fr) repeat(12, minmax(30px, 1fr));
  gap: 5px; align-items: center; min-width: 600px;
}
.almanac__grid .hd { font-size: 10.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--muted); padding-bottom: 4px; }
.almanac__name { font-family: var(--display); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.15; padding-right: 10px; transition: color .2s; }
.almanac__name:hover { color: var(--brass-ink); }
.almanac__cell {
  display: block; height: clamp(28px, 3vw, 38px); border-radius: var(--r-xs);
  background: color-mix(in srgb, currentColor 9%, transparent);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.almanac__cell.v1 { background: color-mix(in srgb, var(--brass) 45%, transparent); }
.almanac__cell.v2 { background: var(--brass); background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent); }
.almanac__cell:hover { transform: scale(1.12); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); position: relative; z-index: 1; }
.almanac__cell.is-now { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.dark .almanac__grid .hd { color: var(--mist-3); }
.dark .almanac__name:hover { color: var(--brass); }
.dark .almanac__cell { background-color: rgba(255, 255, 255, .07); }
.dark .almanac__cell.v1 { background-color: color-mix(in srgb, var(--brass) 42%, transparent); }
.dark .almanac__cell.v2 { background-color: var(--brass); }
.dark .almanac__cell.is-now { box-shadow: 0 0 0 2px var(--malachite), 0 0 0 4px var(--mist); }
.dark .almanac a:hover { text-decoration: none; }
.almanac + .small a, .dark .small a { color: var(--brass); }

.mkey { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--muted); align-items: center; }
.mkey span { display: inline-flex; align-items: center; gap: 8px; }
.mkey i { width: 14px; height: 14px; border-radius: 4px; background: color-mix(in srgb, currentColor 22%, transparent); }
.mkey i.v1 { background: color-mix(in srgb, var(--brass) 45%, transparent); }
.mkey i.v2 { background: var(--brass); }
.dark .mkey { color: var(--mist-3); }
.phead__text .mkey { margin-top: 8px; }

.mbar {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px;
  align-items: end; padding-top: 4px;
}
.mbar > span {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
  font-size: 10.5px; font-weight: 600; line-height: 1; color: var(--muted);
  height: 46px;
}
.mbar i { display: block; width: 100%; height: 6px; border-radius: 3px; background: color-mix(in srgb, currentColor 30%, transparent); transition: height .5s var(--ease); }
.mbar .v1 i { height: 16px; background: color-mix(in srgb, var(--brass) 55%, transparent); }
.mbar .v2 i { height: 28px; background: var(--brass); background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent); }
.mbar .v2 { color: var(--ink); }
.dark .mbar > span, .panel--dark .mbar > span { color: var(--mist-3); }
.dark .mbar .v2, .panel--dark .mbar .v2 { color: var(--mist); }
.dark .mbar i, .panel--dark .mbar i { background-color: rgba(255, 255, 255, .14); }
.dark .mbar .v1 i, .panel--dark .mbar .v1 i { background-color: color-mix(in srgb, var(--brass) 50%, transparent); }
.dark .mbar .v2 i, .panel--dark .mbar .v2 i { background-color: var(--brass); }

/* 13 · Atlas map (server-drawn SVG) -------------------------------------- */
.atlas { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.atlas__svg {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-l); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  font-family: var(--sans);
}
.atlas__sea { fill: color-mix(in srgb, #9FC3C8 32%, var(--paper)); }
.atlas__grat { stroke: color-mix(in srgb, var(--malachite) 14%, transparent); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.atlas__land { fill: var(--card); stroke: color-mix(in srgb, var(--ink) 38%, transparent); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.atlas__land--other { fill: color-mix(in srgb, var(--paper-2) 80%, #d9d2c3); stroke: color-mix(in srgb, var(--ink) 22%, transparent); }
.atlas__land--hl { fill: color-mix(in srgb, var(--brass) 16%, var(--card)); stroke: var(--brass-ink); stroke-width: 1.6; }
.atlas__state { fill: none; stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: .8; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.atlas__state--hl { fill: color-mix(in srgb, var(--brass) 14%, transparent); stroke: var(--brass-ink); stroke-width: 1.4; stroke-dasharray: none; }
.atlas__area { font-size: 15px; font-weight: 650; letter-spacing: .32em; fill: color-mix(in srgb, var(--ink) 40%, transparent); pointer-events: none; }
.atlas__route { fill: none; stroke: var(--brass-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 9; }
.atlas__route + .atlas__route { stroke-dasharray: none; stroke-width: 2; opacity: .45; }
.atlas__pin { cursor: pointer; }
.atlas__pin circle {
  fill: var(--malachite); stroke: var(--card); stroke-width: 3;
  transform-box: fill-box; transform-origin: center;
  transition: transform .25s var(--ease), fill .2s;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25));
}
.atlas__pin text { font-size: 15px; font-weight: 700; fill: var(--mist); pointer-events: none; }
.atlas__pin.is-main circle { fill: var(--brass); }
.atlas__pin.is-main text:not(.atlas__label) { fill: var(--malachite); }
.atlas__pin text.atlas__label {
  font-size: 19px; font-weight: 600; fill: var(--ink);
  paint-order: stroke; stroke: var(--card); stroke-width: 5px; stroke-linejoin: round;
}
.atlas__pin:hover circle, .atlas__pin:focus-visible circle, .atlas__pin.is-hot circle { fill: var(--brass); transform: scale(1.25); }
.atlas__pin:hover text:not(.atlas__label), .atlas__pin.is-hot text:not(.atlas__label) { fill: var(--malachite); }
.atlas__pin:hover .atlas__label, .atlas__pin.is-hot .atlas__label { fill: var(--brass-ink); }
.atlas__pin:focus { outline: none; }
.atlas__pin:focus-visible circle { stroke: var(--brass-ink); stroke-width: 4; }
.atlas__scale line { stroke: var(--ink); stroke-width: 2; }
.atlas__scale text { font-size: 14px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: 4px; }
.atlas__north path { fill: var(--malachite); }
.atlas__north text { font-size: 14px; font-weight: 700; fill: var(--ink); }
.atlas__legend {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 16px;
  font-size: 14px;
}
.atlas__legend a { display: flex; align-items: baseline; gap: 10px; padding: 6px 8px; border-radius: var(--r-s); transition: background-color .2s; }
.atlas__legend a > span {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--malachite); color: var(--mist);
  font-size: 11.5px; font-weight: 700; transform: translateY(5px);
}
.atlas__legend small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.atlas__legend li.is-hot a, .atlas__legend a:hover { background: var(--tint); }
.atlas__legend li.is-hot a > span, .atlas__legend a:hover > span { background: var(--brass); color: var(--malachite); }
.atlas figcaption { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.split__aside .atlas__legend { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: 13px; }
.split__aside .atlas__legend small { display: none; }

/* 14 · Page heads, spine, answer ----------------------------------------- */
.phead { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 5vw, 72px); position: relative; }
.phead--plain { padding-bottom: clamp(32px, 4vw, 56px); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: end; position: relative; z-index: 1; }
@media (min-width: 900px) {
  .phead__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 88px); }
}
.phead__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; max-width: 860px; }
.phead__text > .eyebrow { margin-bottom: -6px; }
.phead__text > .chip-row + h1 { margin-top: 4px; }
.phead__text > .small { margin-top: -6px; }
.phead > .phead__grid > .panel { align-self: end; }
.dark .phead { padding-top: clamp(16px, 2vw, 28px); }
.dark .phead .photo.arch .photo__frame { box-shadow: var(--sh-3); }

.spine { overflow: hidden; }
.spine__icon {
  position: absolute; z-index: 0; pointer-events: none;
  right: max(var(--gutter), 2%); top: -4%;
  width: clamp(220px, 34vw, 460px); aspect-ratio: 1;
  color: var(--brass-ink); opacity: .07;
}
.spine__icon .icon { width: 100%; height: 100%; stroke-width: .7; }
@media (min-width: 900px) { .spine__icon { right: auto; left: 36%; top: -8%; } }

.answer {
  position: relative;
  padding: 20px 22px 20px 24px;
  border-left: 3px solid var(--brass-ink);
  border-radius: 0 var(--r) var(--r) 0;
  background: linear-gradient(90deg, var(--tint), color-mix(in srgb, var(--tint) 45%, transparent));
  font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; color: var(--ink);
  max-width: 72ch;
}
.answer::before {
  content: var(--answer-label, "The short answer");
  display: block; margin-bottom: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-ink);
}
.split__main > .answer { max-width: none; }

/* 15 · Prose, tips, faq --------------------------------------------------- */
.prose { font-size: clamp(16.5px, 1.25vw, 18px); line-height: 1.75; color: var(--ink-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin-top: 1.6em; }
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--brass-ink); }
.prose ol li::marker { color: var(--brass-ink); font-weight: 650; }
.prose a { color: var(--ink); }
.prose blockquote { border-left: 2px solid var(--brass); padding-left: 1em; font-family: var(--display); font-style: italic; font-size: 1.2em; color: var(--ink); }
.prose:not(.prose--plain) > p:first-child { font-size: 1.08em; color: var(--ink); }
.prose:not(.prose--plain) > p:first-child::first-letter {
  float: left;
  font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: 4.4em; line-height: .82;
  padding: .08em .12em 0 0; margin-top: .02em;
  color: var(--brass-ink);
}
.dark .prose, .panel--dark .prose { color: var(--mist-2); }
.dark .prose a { color: var(--mist); }

.tips { list-style: none; counter-reset: tip; display: flex; flex-direction: column; }
.tips > li {
  counter-increment: tip; position: relative;
  padding: 14px 0 14px 52px; border-top: 1px solid var(--line);
  font-size: 16px; line-height: 1.6;
}
.tips > li:last-child { border-bottom: 1px solid var(--line); }
.tips > li::before {
  content: counter(tip, decimal-leading-zero);
  position: absolute; left: 0; top: 12px;
  font-family: var(--display); font-style: italic; font-size: 24px; line-height: 1.1;
  color: var(--brass-ink);
}
.panel--dark .tips > li, .dark .tips > li { border-color: var(--mist-line); }
.panel--dark .tips > li::before, .dark .tips > li::before { color: var(--brass); }
.panel .tips > li { padding-left: 44px; font-size: 15px; }
.panel .tips > li:first-child { border-top: 0; }
.panel .tips > li:last-child { border-bottom: 0; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 48px 20px 0;
  font-family: var(--display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] > summary::after { transform: rotate(135deg); background-color: var(--tint); }
.faq summary:hover { color: var(--brass-ink); }
.faq summary > span { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.faq details > div { padding: 0 0 24px; max-width: 70ch; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.faq details > div > p + p { margin-top: .8em; }
.faq details[open] > div { animation: rise .35s var(--ease); }
.dark .faq, .dark .faq details { border-color: var(--mist-line); }
.dark .faq details > div { color: var(--mist-2); }

/* 16 · hl-list, reach, toc-side, tool output ----------------------------- */
.hl-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px 32px; }
.hl { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.hl > .lbadge { margin-bottom: 6px; }
.hl > b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; }
.hl > p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.dark .hl { border-color: var(--mist-line); }
.dark .hl > p { color: var(--mist-2); }

.reach { border-top: 1px solid var(--line-2); }
.reach__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.reach__row > b { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); line-height: 1.5; }
.reach__row > p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.fare { display: inline-block; padding: 1px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--deep); font-weight: 700; font-size: .92em; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .reach__row { grid-template-columns: 150px minmax(0, 1fr); } }
@media (max-width: 639.98px) { .reach__row[style] { grid-template-columns: minmax(0, 1fr) !important; } }

.toc-side { display: flex; flex-direction: column; }
.toc-side a {
  padding: 8px 0 8px 14px; border-left: 2px solid var(--line);
  font-size: 14.5px; line-height: 1.35; color: var(--ink-2);
  transition: color .2s, border-color .2s, padding .3s var(--ease);
}
.toc-side a:hover { color: var(--ink); border-color: var(--line-2); padding-left: 18px; }
.toc-side a.is-on { color: var(--ink); border-color: var(--brass-ink); font-weight: 600; }
@media (max-width: 999.98px) {
  /* on small screens the in-page contents read as a row of chips */
  .toc-side { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .toc-side a { border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 7px 14px; font-size: 13.5px; }
  .toc-side a:hover { padding-left: 14px; }
}

.tool-out { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 28px 0 22px; }
.panel .tool-out { margin: 0; color: var(--brass); }
.result {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.result:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--sh-1); }
.result > img, .result > span:first-child { width: 84px; height: 64px; object-fit: cover; border-radius: var(--r-s); background: var(--tint); }
.result b { font-family: var(--display); font-weight: 400; font-size: 19px; }

/* 17 · Days, ribbon, includes -------------------------------------------- */
.days { border-top: 1px solid var(--line-2); }
.day {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .day { grid-template-columns: 96px minmax(0, 1fr); gap: 28px; padding: 30px 0; } }
@media (max-width: 639.98px) { .day[style] { grid-template-columns: minmax(0, 1fr) !important; } }
.day__n { font-size: clamp(38px, 4vw, 52px); line-height: .95; color: var(--brass-ink); font-variant-numeric: lining-nums; }
.day__n small { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.day h3, .day h2.h-m { font-family: var(--display); font-size: clamp(21px, 1.9vw, 26px); line-height: 1.2; margin-bottom: 10px; }
.day p { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 68ch; }
.day__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.day__meta span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--tint); color: var(--deep); }
section.wrap > .day:first-child { border-top: 1px solid var(--line-2); }
.sec .wrap > .day:first-child { border-top: 1px solid var(--line-2); }

.ribbon {
  display: flex; overflow-x: auto; scrollbar-width: none;
  margin-top: 8px; padding: 4px 0 6px;
}
.ribbon::-webkit-scrollbar { display: none; }
.ribbon__stop { position: relative; flex: 1 0 112px; padding: 24px 14px 0 0; color: inherit; }
.ribbon__stop::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: currentColor; opacity: .3; }
.ribbon__stop:last-child::before { right: auto; width: 14px; }
.ribbon__dot {
  position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--brass); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brass) 22%, transparent);
  transition: transform .25s var(--ease);
}
.ribbon__stop:hover .ribbon__dot { transform: scale(1.3); }
.ribbon__stop b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.2; }
.ribbon__stop small { display: block; font-size: 12px; opacity: .7; margin-top: 2px; }
.ribbon__stop:hover b { color: var(--brass); }

.inc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) { .inc { grid-template-columns: 1fr 1fr; } }
.inc > .block { padding: 24px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--card); }
.inc > .block > * + * { margin-top: 0; }
.inc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.inc li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; }
.inc li::before {
  position: absolute; left: 0; top: 1px;
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-size: 12px; font-weight: 700; line-height: 1;
}
.inc .yes li::before { content: "✓"; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.inc .no li::before { content: "×"; font-size: 15px; background: color-mix(in srgb, var(--err) 10%, transparent); color: var(--err); }
.inc .no { background: transparent; border-style: dashed; }
.inc .no li { color: var(--ink-2); }

/* 18 · Tables, inline links, mid-article CTA, CTA band ------------------- */
.tbl-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card);
}
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th {
  position: sticky; top: 0;
  background: var(--paper-2);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:nth-child(even) { background: color-mix(in srgb, var(--paper-2) 45%, transparent); }
.tbl tbody tr:hover { background: var(--tint); }
.tbl td { min-width: 110px; }
.tbl td:first-child { min-width: 0; }
.tbl .num, .tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
/* fare board: route names sit in the first column (a link, often with rowspan) */
.fareboard thead th { background: var(--malachite); color: var(--brass); }
.fareboard tbody tr:nth-child(even) { background: transparent; }
.fareboard tbody tr { border-top: 1px solid var(--line); }
.fareboard td[rowspan], .fareboard tbody th, .fareboard tbody td:first-child:has(> a) {
  font-family: var(--display); font-size: 16.5px; line-height: 1.3; color: var(--ink);
  min-width: 170px; background: color-mix(in srgb, var(--paper-2) 55%, var(--card));
  border-right: 1px solid var(--line);
}
.fareboard td[rowspan] a, .fareboard tbody td:first-child > a { text-decoration: none; }
.fareboard td[rowspan] a:hover, .fareboard tbody td:first-child > a:hover { color: var(--brass-ink); text-decoration: underline; }
.fareboard td[rowspan] small { font-family: var(--sans); font-size: 12px; }
.fareboard td.num { font-weight: 650; color: var(--ink); }
@media (max-width: 599.98px) {
  .tbl { font-size: 13.5px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl td { min-width: 92px; }
  .fareboard td[rowspan], .fareboard tbody td:first-child:has(> a) { min-width: 128px; font-size: 15px; }
}
.fareboard tbody tr:hover { background: color-mix(in srgb, var(--tint) 60%, transparent); }
.block > .tbl-wrap { margin-top: 24px; }

.inlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.inlink {
  display: flex; align-items: center; gap: 14px; padding: 10px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  transition: border-color .2s, transform .25s var(--ease);
}
.inlink:hover { border-color: var(--brass); transform: translateY(-2px); }
.inlink img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-s); flex: none; }
.inlink small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.inlink b { display: block; font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.25; }

.midcta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l);
  background-color: var(--malachite); background-image: var(--grad); color: var(--mist);
  box-shadow: var(--sh-2);
}
.midcta > div { flex: 1 1 280px; }
.midcta b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; }
.midcta p { color: var(--mist-2); font-size: 15px; margin-top: 6px; }
.block > .midcta { margin-top: 36px; }

.takeaways { border-left: 3px solid var(--brass-ink); border-radius: 0 var(--r-l) var(--r-l) 0; }
.takeaways .eyebrow { margin: 0; }
.takeaways .tips > li { padding-block: 10px; font-size: 15.5px; }

.cta-band { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.cta-band > .block > .trust { margin-top: 32px; }
@media (min-width: 980px) { .cta-band { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 104px); } }

/* 19 · Filters, pager, breadcrumbs --------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.filters + .filters { margin-top: -6px; }
.filters + :not(.filters) { margin-top: 24px; }
.filters button {
  min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2);
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 6px 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--card);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.filters label select {
  min-height: 36px; width: auto; max-width: 200px; padding: 4px 30px 4px 6px;
  border: 0; background-color: transparent; box-shadow: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.filters label:focus-within { border-color: var(--brass-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 30%, transparent); }
.filters label select:focus { outline: none; }
@media (min-width: 1000px) { .filters label:first-of-type { margin-left: auto; } }

.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.pager a:hover { text-decoration: underline; text-underline-offset: 3px; }

.crumbs { padding-top: 16px; padding-bottom: 4px; font-size: 12.5px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .45; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--brass-ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs--dark, .dark .crumbs { color: var(--mist-3); }
.crumbs--dark [aria-current], .dark .crumbs [aria-current] { color: var(--mist); }
.crumbs--dark a:hover, .dark .crumbs a:hover { color: var(--brass); }

/* 20 · Forms: fields, quick form, plan wizard ---------------------------- */
/* :where() keeps specificity at zero so component rules (.letter, .finder, .filters) win */
:where(input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="range"], [type="search"], [type="submit"], [type="button"]), select, textarea) {
  width: 100%; min-height: 48px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  border-radius: var(--r-s);
  background-color: var(--card);
  color: var(--ink);
  font-size: 16px; line-height: 1.3;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
:where(textarea) { min-height: 128px; resize: vertical; line-height: 1.55; }
:where(select) {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2317150F' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
:where(select[multiple]) { background-image: none; padding-right: 14px; min-height: 120px; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
:where(input:not([type="checkbox"], [type="radio"], [type="search"]), select, textarea):hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
:where(input:not([type="checkbox"], [type="radio"], [type="search"]), select, textarea):focus { outline: none; border-color: var(--brass-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 32%, transparent); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--brass-ink); flex: none; cursor: pointer; }
input[type="number"] { -moz-appearance: textfield; }
input[aria-invalid="true"], .field:has(.errorlist) input, .form p:has(.errorlist) input { border-color: var(--err); }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span:first-child, .field > label, .field > legend, .field .label {
  font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--ink-2);
}
.field small { font-weight: 400; color: var(--muted); }
.field > legend { padding: 0; margin-bottom: 8px; }
.field > label:has(> input[type="checkbox"]) {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer;
}

.qform {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-l);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  color: var(--ink);
  min-width: 0;
}
.qform__title { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; }
.qform__sub { font-size: 14px; color: var(--muted); margin-top: -8px; }
.qform__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.qform > .btn { width: 100%; margin-top: 4px; }
.qform__fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.split__aside .qform { box-shadow: var(--sh-1); }
.paper .qform { background: var(--card); }

/* generic Django form output: <p><label/><input/></p>, <ul> for choices */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 20px; border: 0; padding: 0; margin: 0; min-width: 0; }
@media (min-width: 640px) { .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form .full { grid-column: 1 / -1; }
.form > legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; }
.form > p { display: flex; flex-direction: column; gap: 7px; }
.form > p > label { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.form > p.helptext, .form .helptext { font-size: 12.5px; color: var(--muted); }
.form ul:not(.errorlist), .checks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.form ul:not(.errorlist) label, .checks label {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--card);
  font-size: 14.5px; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.form ul:not(.errorlist) label:hover, .checks label:hover { border-color: var(--ink); }
.form ul:not(.errorlist) label:has(input:checked), .checks label:has(input:checked) {
  border-color: var(--brass-ink); background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--brass-ink);
}
.checks label:has(input:focus-visible) { outline: 2px solid var(--brass-ink); outline-offset: 2px; }
.checks--lands label { padding-right: 18px; }
.checks--lands label .lbadge { margin-left: -2px; }
.errorlist {
  list-style: none; padding: 0; margin: 0;
  color: var(--err); font-size: 13px; font-weight: 600;
}
div.errorlist, .errorlist.nonfield {
  padding: 14px 18px; border-radius: var(--r);
  background: color-mix(in srgb, var(--err) 8%, var(--card));
  border: 1px solid color-mix(in srgb, var(--err) 35%, transparent);
}

.wizard { display: flex; flex-direction: column; gap: 28px; }
.wizard__steps { list-style: none; counter-reset: step; display: flex; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--muted); }
.wizard__steps li { counter-increment: step; display: inline-flex; align-items: center; gap: 10px; transition: color .3s; }
.wizard__steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 700;
  transition: background-color .3s, color .3s, border-color .3s;
}
.wizard__steps li.is-on { color: var(--ink); }
.wizard__steps li.is-on::before { background: var(--malachite); border-color: var(--malachite); color: var(--brass); }
.wizard__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: -12px; }
.wizard__bar span { display: block; height: 100%; width: 0; background: var(--foil); background-color: var(--brass); transition: width .5s var(--ease); }
.wizard__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard[data-ready] .wizard__step:not(.is-on) { display: none; }
.wizard[data-ready] .wizard__step.is-on { animation: rise .45s var(--ease); }
.wizard__step + .wizard__step { padding-top: 28px; border-top: 1px solid var(--line); }
.wizard[data-ready] .wizard__step + .wizard__step { padding-top: 0; border-top: 0; }
.wizard__nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; padding-top: 8px; }
.wizard__nav .btn--ghost { margin-right: auto; }
/* without the script every step is visible, so the step buttons have nothing to do */
.wizard:not([data-ready]) .wizard__nav [data-next], .wizard:not([data-ready]) .wizard__nav [data-prev] { display: none; }
.wizard:not([data-ready]) .wizard__steps, .wizard:not([data-ready]) .wizard__bar { display: none; }

/* 21 · Footer ------------------------------------------------------------- */
.foot {
  position: relative;
  background-color: var(--malachite);
  background-image:
    radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, var(--brass) 10%, transparent), transparent 60%),
    linear-gradient(180deg, var(--malachite), color-mix(in srgb, var(--malachite) 82%, black));
  color: var(--mist-2);
  padding-top: clamp(64px, 8vw, 104px);
  font-size: 14.5px;
}
.foot :focus-visible { outline-color: var(--brass); }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: end; padding-bottom: 48px; }
@media (min-width: 960px) { .foot__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; } }
.foot__big { font-size: clamp(44px, 7vw, 96px); line-height: .95; letter-spacing: -.025em; color: var(--mist); }
.foot__big i { color: var(--brass); background: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.foot__contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 600px) { .foot__contact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fcard {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; border-radius: var(--r);
  border: 1px solid var(--mist-line); background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background-color .2s, transform .25s var(--ease);
}
.fcard:hover { border-color: var(--brass); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.fcard b { color: var(--mist); font-size: 15.5px; }
.fcard b::after { content: " →"; color: var(--brass); }
.fcard span { font-size: 13px; color: var(--mist-3); overflow-wrap: anywhere; }

.letter {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 48px; align-items: center;
  padding-block: 32px; border-top: 1px solid var(--mist-line); border-bottom: 1px solid var(--mist-line);
}
@media (min-width: 900px) { .letter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.letter h2 { color: var(--mist); margin-bottom: 6px; }
.letter p { font-size: 14px; color: var(--mist-3); max-width: 52ch; }
.letter__row { display: flex; flex-wrap: wrap; gap: 10px; }
.letter__row input[type="email"] {
  flex: 1 1 220px; width: auto;
  background: rgba(255, 255, 255, .06); border-color: var(--mist-line); color: var(--mist); border-radius: var(--r-pill); padding-inline: 20px;
}
.letter__row input[type="email"]::placeholder { color: var(--mist-3); }
.letter__row input[type="email"]:focus { border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 30%, transparent); }
.letter__row .btn { flex: 0 0 auto; }

.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-block: 48px; }
@media (min-width: 720px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot__cols { grid-template-columns: 1.2fr repeat(5, minmax(0, 1fr)); } }
.foot__cols h3 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.foot__cols ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot__cols a { color: var(--mist-2); transition: color .2s; }
.foot__cols a:hover { color: var(--mist); }
.foot__land { display: inline-flex; align-items: center; gap: 10px; }
.foot__trust {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-block: 20px; border-top: 1px solid var(--mist-line);
}
.foot__trust span { font-size: 12px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--mist-line); color: var(--mist-3); }
.foot__base {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px;
  padding-block: 22px 32px; border-top: 1px solid var(--mist-line);
  font-size: 12.5px; color: var(--mist-3);
}
.foot__top-link { margin-left: auto; color: var(--mist-2); font-weight: 600; }
.foot__top-link:hover { color: var(--brass); }

/* 22 · Floating: fab, dock, buybar, nudge -------------------------------- */
.fab { display: none; }
@media (min-width: 900px) {
  .fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 60;
    display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px;
    width: 320px; pointer-events: none;
    opacity: 0; transform: translateY(20px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), bottom .35s var(--ease);
  }
  .fab.is-on { opacity: 1; transform: none; }
  .fab.is-on > * { pointer-events: auto; }
  body.has-buybar .fab { bottom: 100px; }
}
.fab__panel {
  order: -1; width: 100%;
  display: flex; flex-direction: column;
  padding: 8px; border-radius: var(--r-l);
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  animation: rise .3s var(--ease);
}
.fab__title { padding: 12px 14px 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-ink); }
.fab__panel a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: var(--r); transition: background-color .15s; }
.fab__panel a:hover { background: var(--tint); }
.fab__panel b { font-size: 14.5px; font-weight: 650; }
.fab__panel span { font-size: 12.5px; color: var(--muted); }
.fab__toggle {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--card); color: var(--malachite); border: 1px solid var(--line);
  box-shadow: var(--sh-2); transition: transform .25s var(--ease), background-color .2s;
}
.fab__toggle svg { width: 22px; height: 22px; }
.fab__toggle:hover { transform: translateY(-2px); }
.fab__toggle[aria-expanded="true"] { background: var(--malachite); color: var(--brass); }
.fab__main {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  background: var(--malachite); background-image: var(--grad); color: var(--mist);
  font-size: 14.5px; font-weight: 650; box-shadow: var(--sh-2);
  transition: transform .25s var(--ease);
}
.fab__main::after { content: "→"; margin-left: 10px; color: var(--brass); transition: transform .25s var(--ease); }
.fab__main:hover { transform: translateY(-2px); }
.fab__main:hover::after { transform: translateX(3px); }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-auto-flow: column; grid-template-columns: auto auto minmax(0, 1fr); gap: 4px; align-items: center;
  min-height: var(--dock-h);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--malachite) 96%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--mist);
  border-top: 1px solid var(--mist-line);
}
.dock :focus-visible { outline-color: var(--brass); }
.dock > a:not(.dock__main) {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 64px; min-height: 46px; padding: 2px 8px; border-radius: var(--r-s);
  font-size: 11px; font-weight: 600; color: var(--mist-2);
}
.dock > a:not(.dock__main):hover { background: var(--mist-line); color: var(--mist); }
.dock svg { width: 20px; height: 20px; }
.dock__main {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--brass); color: var(--malachite);
  font-size: 14.5px; font-weight: 700; text-align: center;
}
@media (min-width: 900px) { .dock { display: none; } }

.buybar {
  position: fixed; left: 0; right: 0; bottom: var(--dock-h); z-index: 55;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -18px rgba(15, 42, 38, .4);
  transform: translateY(calc(100% + var(--dock-h) + 8px));
  transition: transform .45s var(--ease);
}
.buybar.is-on { transform: none; }
.buybar__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px; padding-block: 10px; }
.buybar__t { min-width: 0; }
.buybar__t b { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__t small { display: block; font-size: 12.5px; color: var(--muted); }
.buybar .btn { flex: none; min-height: 44px; padding-inline: 18px; font-size: 14px; }
@media (max-width: 479.98px) { .buybar__t b { font-size: 16px; } .buybar .btn { padding-inline: 14px; font-size: 13px; } }
body.has-buybar { padding-bottom: calc(var(--dock-h) + 80px); }

.nudge {
  position: fixed; z-index: 58;
  left: 12px; right: 12px; bottom: calc(var(--dock-h) + 12px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 20px 22px; padding-right: 52px;
  border-radius: var(--r-l);
  background-color: var(--malachite); background-image: var(--grad); color: var(--mist);
  box-shadow: var(--sh-3);
  animation: rise .5s var(--ease);
}
@media (min-width: 900px) { .nudge { left: 24px; right: auto; bottom: 24px; width: 360px; } }
body.has-buybar .nudge { bottom: calc(var(--dock-h) + 92px); }
.nudge :focus-visible { outline-color: var(--brass); }
.nudge__x {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--mist-2);
}
.nudge__x:hover { background: var(--mist-line); color: var(--mist); }
.nudge__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.nudge__title { font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
.nudge .btn { min-height: 42px; padding-inline: 18px; font-size: 13.5px; }

/* 23 · Editorial blocks: tiers, profile, local word, sources, ladder ----- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; align-items: stretch; container-type: inline-size; }
.tier {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-l);
  border: 1px solid var(--line-2);
  background: var(--card);
  min-width: 0;
}
.tier__name { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); }
.tier__price { font-size: clamp(32px, 3.2vw, 46px); line-height: 1; overflow-wrap: anywhere; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.tier__price small { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); font-weight: 500; margin-left: 4px; }
.tier__rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tier__rows > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px dotted var(--line-2); font-size: 14px; line-height: 1.45; }
.tier__rows span { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tier__rows b { font-weight: 600; }
.tier__note { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.tier__note:last-child { margin-top: auto; }
.tier > .btn { margin-top: auto; align-self: stretch; }
.tier--mid .btn--ghost { --btn-bd: var(--mist-line); --btn-fg: var(--mist); }
.tier--mid {
  border-color: transparent;
  background-color: var(--malachite);
  background-image: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--brass) 20%, transparent), transparent 60%), var(--grad);
  color: var(--mist);
  box-shadow: var(--sh-3);
}
@container (min-width: 640px) { .tier--mid { transform: translateY(-10px); } }
.tier--mid::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--foil);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tier--mid .tier__name { color: var(--brass); }
.tier--mid .tier__rows { border-color: var(--mist-line); }
.tier--mid .tier__rows > div { border-color: var(--mist-line); }
.tier--mid .tier__rows span, .tier--mid .tier__note, .tier--mid .tier__price small { color: var(--mist-3); }

.profile { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.profile svg { width: 100%; height: auto; display: block; font-family: var(--sans); }
.profile__area { fill: color-mix(in srgb, var(--brass) 24%, transparent); stroke: none; }
.profile__line { fill: none; stroke: var(--brass-ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.profile__grid line { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.profile__grid text { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.profile__pt, .profile__pt circle, circle.profile__pt { fill: var(--card); stroke: var(--brass-ink); stroke-width: 2.5; transition: fill .2s; }
a.profile__pt, .profile a { cursor: pointer; }
.profile__pt:hover, .profile__pt:hover circle, .profile a:hover circle, .profile a:focus-visible circle { fill: var(--brass); }
.profile__lbl { font-size: 12px; font-weight: 600; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.profile figcaption { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.paper .profile__lbl { stroke: var(--paper-2); }
.dark .profile__line { stroke: var(--brass); }
.dark .profile__grid text, .dark .profile figcaption { fill: var(--mist-3); color: var(--mist-3); }
.dark .profile__lbl { fill: var(--mist); stroke: var(--malachite); }
.dark .profile__pt, .dark .profile__pt circle { fill: var(--malachite); stroke: var(--brass); }

.localword {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-l);
  border: 1px solid color-mix(in srgb, var(--brass-ink) 28%, transparent);
  background: var(--tint);
  max-width: 640px;
}
.localword::after {
  content: "\201C"; position: absolute; right: 18px; top: -18px;
  font-family: var(--display); font-size: 160px; line-height: 1; color: var(--brass-ink); opacity: .1; pointer-events: none;
}
.localword__lang { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-variant: small-caps; color: var(--brass-ink); }
.localword__word { font-style: italic; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; color: var(--ink); }
.localword p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.split__aside .localword .localword__word { font-size: 38px; }

.sources { font-size: 13px; line-height: 1.55; color: var(--muted); padding-left: 1.6em; display: flex; flex-direction: column; gap: 6px; max-width: 80ch; }
.sources li { overflow-wrap: anywhere; padding-left: 4px; }
.sources li::marker { color: var(--brass-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.sources a { color: var(--ink-2); }
.sources cite { font-style: italic; }

.ladder { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.ladder__row {
  display: grid; grid-template-columns: minmax(96px, 34%) minmax(0, 1fr) auto; align-items: center; gap: 8px 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: inherit;
}
@media (min-width: 640px) { .ladder__row { grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) 76px; gap: 20px; } }
a.ladder__row:hover .ladder__name { color: var(--brass-ink); }
.ladder__name { font-family: var(--display); font-size: 17px; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; transition: color .2s; }
.ladder__name b { font-weight: 500; }
.ladder__name small { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--muted); }
.ladder__bar { position: relative; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.ladder__bar i {
  display: block; height: 100%; max-width: 100%; border-radius: inherit;
  background: var(--brass-ink);
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--brass-ink) 70%, transparent), var(--brass-ink));
}
.ladder__m { font-size: 13.5px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ladder__row[data-land] .ladder__name small { color: var(--brass-ink); font-weight: 600; }
a.ladder__row:hover { background: color-mix(in srgb, var(--tint) 55%, transparent); }
.dark .ladder, .dark .ladder__row { border-color: var(--mist-line); }
.dark .ladder__bar { background: rgba(255, 255, 255, .1); }
.dark .ladder__bar i { background: var(--brass); }

/* journal lead and misc page bits */
.jlead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; color: inherit; }
@media (min-width: 900px) { .jlead { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 72px); } }
.jlead .photo.arch .photo__frame { aspect-ratio: 5 / 4; }
@media (min-width: 900px) { .jlead .photo.arch .photo__frame { aspect-ratio: 4 / 5; max-height: 640px; } }
.jlead .photo__frame img { transition: transform 1.2s var(--ease); }
.jlead:hover .photo__frame img { transform: scale(1.04); }
.jlead__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.jlead__text > span { display: block; }
.jlead__text > .chip { display: inline-flex; }
.jlead__text > .link-arrow { display: inline-flex; }
.jlead:hover .h-l { color: var(--brass-ink); }
.jlead .h-l { transition: color .2s; }

section.sec--tight[style*="--tint"] .phead__grid { align-items: center; }
section.sec--tight[style*="--tint"] .block > .lbadge { margin-bottom: -4px; }
section.sec--tight[style*="--tint"]:nth-of-type(even) .phead__grid > a { order: 2; }
@media (max-width: 899.98px) { section.sec--tight[style*="--tint"]:nth-of-type(even) .phead__grid > a { order: 0; } }

/* 24 · Motion and accessibility ------------------------------------------ */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .chip:focus-visible, .filters button:focus-visible { outline-offset: 3px; border-radius: var(--r-pill); }
.card:focus-visible, .card-fill:focus-visible, .panel:focus-visible, .mcard__name:focus-visible { outline-offset: 6px; border-radius: var(--r); }
.fan__item:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; border-radius: 999px 999px var(--r) var(--r); }
:where(input, select, textarea):focus-visible { outline: none; }
.finder select:focus-visible, .filters select:focus-visible { outline: none; }

/* Reveal: visible by default. hills.js tweens opacity/translate if GSAP loads, but
   nothing is hidden in CSS, so content never depends on a script running. */
.rv { opacity: 1; }
.rv-arch .photo__frame { will-change: clip-path; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brass) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .marquee__track, .seal, .util__dot { animation: none !important; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track span:nth-child(n+8) { display: none; }
  .rv { opacity: 1 !important; transform: none !important; }
  .card:hover .photo__frame img, .jlead:hover .photo__frame img, .mcard:hover > img, .fan__item:hover > img { transform: none; }
}

@media (forced-colors: active) {
  .btn, .chip, .filters button, .panel, .qform, .card-fill { border: 1px solid CanvasText; }
  .almanac__cell, .mbar i, .mkey i, .ladder__bar i { forced-color-adjust: none; }
}

@media print {
  .util, .mast, .sheet, .search, .fab, .dock, .buybar, .nudge, .marquee, .toc__peek, .cta-band, .foot__cols, .letter { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .dark, .panel--dark { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* 23 · Theme: Himalayan night, dawn alpenglow, prayer flags, road milestones */
:root {
  --malachite: #0C2633;
  --malachite-2: #123A45;
  --brass: #F6AE3F;
  --brass-ink: #A44E0C;
  --tint: #FCEBD3;
  --deep: #A44E0C;
  --grad: linear-gradient(135deg, #0A1C36 0%, #0E3A48 52%, #135B4E 100%);
  --foil: linear-gradient(115deg, #FFE3A1 0%, #F6AE3F 38%, #F0743E 72%, #F6AE3F 100%);
  --foil-deep: #8E3A0C;
  --night: #0A1C36;
  --night-2: #13294A;
  --sunrise: linear-gradient(120deg, #FFC75F 0%, #F6923A 45%, #EC5A4B 100%);
  --sky: linear-gradient(120deg, #0A1C36 0%, #10305A 55%, #0E4450 100%);
  --flag-strip: linear-gradient(90deg, #2F6FDB 0 20%, #F5F0E6 20% 40%, #D9412B 40% 60%, #2E9E5B 60% 80%, #F2C230 80% 100%);
  --sign: "Barlow Condensed", "Archivo Narrow", "Arial Narrow", sans-serif;
}

.flags { height: 4px; background: var(--flag-strip); }
.flags--foot { height: 6px; }

/* utility bar + masthead: one night bar on every page */
.util { background: #081629; color: var(--mist-3); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.util__links a[data-cta="util-call"], .util__links a[data-cta="util-whatsapp"] { color: #FFD48A; font-weight: 650; }
.mast, .mast--dark, .mast--light {
  color: var(--mist);
  background: color-mix(in srgb, var(--night) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: none;
}
.mast.is-scrolled { box-shadow: 0 14px 34px -20px rgba(4, 12, 26, .9); }
.mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sunrise); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.mast.is-scrolled::after { transform: scaleX(1); }
.mast .icon-btn:hover, .mast .burger:hover { background: rgba(255, 255, 255, .1); }

.wordmark { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.wordmark i { color: #FFB867; font-style: italic; }
.wordmark__mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px;
  color: #3A1604; background: var(--sunrise);
  box-shadow: 0 8px 18px -8px rgba(236, 90, 75, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.wordmark__mark svg { width: 21px; height: 21px; }

.nav__drop > button, .nav__link { position: relative; color: var(--mist-2); }
.nav__drop > button:hover, .nav__link:hover, .nav__drop.is-open > button,
.mast--dark .nav__drop > button:hover, .mast--dark .nav__link:hover, .mast--dark .nav__drop.is-open > button { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__drop > button::after, .nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--sunrise); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__drop > button:hover::after, .nav__link:hover::after, .nav__drop.is-open > button::after { transform: scaleX(1); }

.btn--brass {
  --btn-bg: #F6AE3F; --btn-fg: #2A1204;
  background-image: var(--sunrise);
  box-shadow: 0 10px 24px -12px rgba(236, 90, 75, .85), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--brass:hover { box-shadow: 0 16px 32px -14px rgba(236, 90, 75, .95), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--dark { background-image: var(--grad); }

/* mega menus: paper panels hung from the night bar */
.mega { background: var(--paper); border-top: 0; padding-bottom: 0; box-shadow: 0 50px 80px -40px rgba(4, 12, 26, .55); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--flag-strip); }
.mega__title .accent { color: #D9632F; }
.mcard { box-shadow: 0 18px 36px -24px rgba(10, 28, 54, .8); transition: transform .3s var(--ease), box-shadow .3s; }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -24px rgba(10, 28, 54, .9); }
.mcard__veil { background: linear-gradient(180deg, rgba(10, 28, 54, .05) 0%, rgba(10, 28, 54, .55) 45%, rgba(10, 28, 54, .94) 100%); }
.mcard { min-height: 270px; padding-top: 70px; justify-content: flex-end; }
.mcard__veil { background: linear-gradient(180deg, rgba(10, 28, 54, .2) 0%, rgba(10, 28, 54, .72) 42%, rgba(10, 28, 54, .97) 100%) !important; }
.mcard__km { font-family: var(--sign); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brass); }
.mlist__dot { background: var(--sunrise); }
.mkinds a:hover, .mpace a:hover { border-color: #F6923A; }
.mpromise { background: radial-gradient(90% 70% at 100% 0%, rgba(246, 174, 63, .35), transparent 60%), var(--sky); }
.mega__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  margin-top: 30px; padding-block: 16px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.mega__foot span { margin-right: auto; }
.mega__foot a { font-weight: 650; color: var(--brass-ink); text-decoration: none; }
.mega__foot a:hover { color: #D9632F; text-decoration: underline; text-underline-offset: 3px; }
.mega__foot a[data-cta="mega-whatsapp"] { padding: 8px 16px; border-radius: var(--r-pill); color: #fff; background: linear-gradient(135deg, #2BB560, #128C4A); }
.mega__foot a[data-cta="mega-whatsapp"]:hover { color: #fff; text-decoration: none; filter: brightness(1.06); }

.sheet { background: radial-gradient(80% 45% at 100% 0%, rgba(246, 146, 58, .25), transparent 60%), var(--sky); }
.dock { background: color-mix(in srgb, var(--night) 95%, transparent); }
.dock__main { background-image: var(--sunrise) !important; color: #2A1204 !important; }

/* footer: dawn over Kanchenjunga, then the road */
.foot {
  background: var(--night);
  background-image: radial-gradient(70% 40% at 50% 0%, rgba(30, 58, 99, .7), transparent 70%), linear-gradient(180deg, var(--night) 0%, #071426 100%);
  padding-top: 0; color: var(--mist-2); overflow: hidden;
}
.foot__sky { position: relative; isolation: isolate; min-height: clamp(380px, 42vw, 560px); display: flex; align-items: flex-start; }
.hz { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hz__string { fill: none; stroke: rgba(245, 240, 230, .55); stroke-width: 1.2; }
.hz__flag { animation: flutter 3.2s ease-in-out infinite; opacity: .92; }
@keyframes flutter { 0%, 100% { transform: rotate(-5deg) skewY(2deg); } 50% { transform: rotate(6deg) skewY(-3deg); } }
.foot__hero { position: relative; padding-top: clamp(40px, 6vw, 84px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.foot__kicker { font-family: var(--sign); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #FFD9B0; }
.foot__big { font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.02em; color: #fff; text-shadow: 0 6px 30px rgba(10, 28, 54, .45); max-width: 14ch; }
.foot__big i { color: #FFD48A; background: none; -webkit-text-fill-color: currentColor; }

/* road milestones, one per destination */
.stones { margin-top: clamp(-70px, -5vw, -40px); position: relative; }
.stones__label { font-family: var(--sign); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mist-3); margin-bottom: 14px; }
.stones ul { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.stone {
  scroll-snap-align: start;
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 0 10px 14px; text-align: center; text-decoration: none; color: #18202B;
  background: linear-gradient(180deg, #FFFFFF, #ECE7DD);
  border-radius: 60px 60px 8px 8px / 54px 54px 8px 8px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .08), 0 18px 30px -18px rgba(0, 0, 0, .8);
  transition: transform .3s var(--ease);
  overflow: hidden;
}
.stone:hover { transform: translateY(-6px); }
.stone__cap { align-self: stretch; display: grid; place-items: center; height: 46px; margin: 0 -10px 8px; color: #fff; background: var(--brass); background-image: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(0, 0, 0, .08)); }
.stone__cap svg { width: 22px; height: 22px; color: var(--malachite); }
.stone__town { font-family: var(--sign); font-weight: 700; font-size: 19px; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; }
.stone__km { font-family: var(--sign); font-weight: 700; font-size: 34px; line-height: 1; color: #18202B; }
.stone__km small { font-size: 15px; margin-left: 2px; letter-spacing: .06em; text-transform: uppercase; }
.stone__land { font-size: 11px; line-height: 1.3; color: #5A5F66; margin-top: auto; padding-top: 4px; min-height: 2.6em; display: flex; align-items: flex-end; }
.stones li { display: flex; }
.stones li > .stone { flex: 1; }
.stone__km--go { font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: var(--brass-ink); padding-block: 5px; }

.foot__desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 44px 8px; }
@media (min-width: 960px) { .foot__desk { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.foot__h { font-family: var(--sign); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #FFB867; margin-bottom: 4px; }
.foot__reach { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; padding: 26px; border-radius: var(--r-l); background: linear-gradient(140deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.foot__reach .foot__h, .foot__note { flex-basis: 100%; }
.foot__note { font-size: 13px; color: var(--mist-3); margin-top: 4px; }
.reachbtn {
  flex: 1 1 220px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  color: #fff; text-decoration: none; font-weight: 650; font-size: 15px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .25s var(--ease), background-color .25s;
}
.reachbtn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .11); }
.reachbtn svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 12px; color: #2A1204; background: var(--sunrise); }
.reachbtn--wa { background: linear-gradient(135deg, rgba(43, 181, 96, .28), rgba(18, 140, 74, .18)); box-shadow: inset 0 0 0 1px rgba(80, 220, 130, .35); }
.reachbtn--wa svg { color: #fff; background: linear-gradient(135deg, #2BB560, #128C4A); }
.reachbtn small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--mist-3); }
.reachbtn span { min-width: 0; overflow-wrap: anywhere; }
.letter { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 0; margin: 0; border-radius: var(--r-l); background: radial-gradient(90% 120% at 100% 0%, rgba(246, 146, 58, .22), transparent 60%), rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.letter { text-align: left; align-items: stretch; }
.letter p { font-size: 14px; color: var(--mist-3); max-width: none; }
.letter .foot__h { color: #FFB867; }

.foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 44px; }
@media (min-width: 760px) { .foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot__cols { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); } }
.foot__cols h3 { font-family: var(--sign); font-size: 14px; font-weight: 600; letter-spacing: .16em; color: #FFB867; background: none; -webkit-text-fill-color: currentColor; }
.foot__cols a { color: var(--mist-2); }
.foot__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #F6923A; }
.foot__base { gap: 10px 26px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot__base a { color: var(--mist-2); }
.wordmark--foot { color: #fff; font-size: 21px; margin-right: 8px; }
.wordmark--foot .wordmark__mark { width: 30px; height: 30px; border-radius: 9px; }

@media (max-width: 640px) {
  .foot__sky { min-height: 440px; }
  .reachbtn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hz__flag { animation: none; }
  .mcard, .reachbtn, .stone, .mast::after { transition: none; }
}
@media (forced-colors: active) {
  .stone { border: 1px solid CanvasText; }
}

/* social icons */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.social a:hover { transform: translateY(-3px); color: #2A1204; background: var(--sunrise); box-shadow: none; }
.social a.social--wa:hover { color: #fff; background: linear-gradient(135deg, #2BB560, #128C4A); }
.social svg { width: 20px; height: 20px; }
.foot__social { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.foot__social .foot__note { margin: 0; flex-basis: auto; }
.social--sheet { padding: 8px 0 4px; }

/* a single planner card fills the gap at the end of a grid */
.card-fill--wide { border: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 22px; min-height: 0; padding: 28px 32px;
  background: radial-gradient(80% 140% at 100% 0%, rgba(246, 146, 58, .28), transparent 60%), var(--sky); color: #fff; }
.card-fill--wide .card-fill__title { flex: 1 1 260px; color: #fff; }
.card-fill--wide .card-fill__text { flex: 1 1 100%; order: 3; color: var(--mist-2); }
.card-fill--wide .card-fill__go { order: 2; padding: 10px 18px; border-radius: var(--r-pill); background: var(--sunrise); color: #2A1204; }

/* almanac and fare tables: room for long names and long fares */
.almanac__grid { grid-template-columns: minmax(150px, 190px) repeat(12, minmax(28px, 1fr)) !important; }
.almanac__name { line-height: 1.2; }
.fareboard { table-layout: auto; width: 100%; }
.fareboard td, .fareboard th { white-space: normal; vertical-align: top; }
.fareboard td.num, .fareboard th.num { text-align: left; min-width: 10ch; }
.fareboard td:first-child { min-width: 14ch; }
