/* Tales of Luxury · "The Folio" design system
   Bodoni Moda (voice) + Archivo (reading, labels at 125% width)
   Malachite / Marble / Ink / Brass / Sindoor + seven land pigments
   Motifs: jharokha arches, ledger rows, route ribbon, numbered tales */

:root {
  --malachite: #0F2A26;
  --malachite-2: #163A35;
  --marble: #EDEEE9;
  --marble-2: #E3E5DE;
  --paper: #F7F7F3;
  --ink: #17191C;
  --ink-2: #2B2F34;
  --muted: #4A4F55;
  --line: #C9CBC3;
  --brass: #C9A15A;
  --brass-ink: #8A6424;
  --sindoor: #A63B26;
  --mist: #E9E5D8;
  --mist-2: rgba(255, 255, 255, .78);
  --mist-3: rgba(255, 255, 255, .62);
  --dline: rgba(255, 255, 255, .14);
  --dline-2: rgba(255, 255, 255, .22);
  --dline-3: rgba(255, 255, 255, .36);
  --dgood: rgba(255, 255, 255, .4);
  --good: color-mix(in srgb, var(--malachite) 38%, #fff);
  --brass-hi: color-mix(in srgb, var(--brass) 80%, #fff);
  --pig: #C9A15A;
  --tint: #F1E8D6;
  --deep: #5E4318;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 3vw, 24px);
  --arch: 999px 999px 6px 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0; background: var(--marble); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  font-feature-settings: "kern", "liga"; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brass); color: var(--malachite); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans); font-stretch: 125%; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 600; color: var(--brass-ink); margin: 0;
}
.dark .eyebrow, .eyebrow--brass { color: var(--brass); }
h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; margin: 0; line-height: 1.02; text-wrap: balance; }
.h-hero { font-size: clamp(48px, 8.4vw, 136px); line-height: .92; letter-spacing: -.035em; }
.h-xl { font-size: clamp(40px, 6vw, 88px); line-height: .96; }
.h-l { font-size: clamp(34px, 4.4vw, 60px); }
.h-m { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.08; }
.h-s { font-size: 24px; line-height: 1.15; }
em, .it { font-style: italic; }
.accent { color: var(--brass-ink); font-style: italic; }
.dark .accent { color: var(--brass); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.dark .lede { color: var(--mist-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.num { font-family: var(--display); font-style: italic; color: var(--brass-ink); }
.dark .num { color: var(--brass); }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--brass { background: var(--brass); color: var(--malachite); font-weight: 700; }
.btn--brass:hover { background: var(--brass-hi); color: var(--malachite); }
.btn--dark { background: var(--malachite); color: var(--mist); }
.btn--dark:hover { background: var(--malachite-2); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.dark .btn--ghost { color: var(--mist); border-color: var(--dline-3); }
.btn--ghost:hover { color: var(--brass-ink); }
.dark .btn--ghost:hover { color: var(--brass); border-color: var(--brass); }
.btn svg { width: 18px; height: 18px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-stretch: 125%; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: var(--tint); color: var(--deep); text-decoration: none; line-height: 1.3;
}
.chip--line { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
a.chip:hover { filter: brightness(.96); color: var(--deep); }

/* ---------- masthead ---------- */
.mast { position: sticky; top: 0; z-index: 50; transition: background .4s, box-shadow .4s, color .4s; }
.mast__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.mast--dark { background: var(--malachite); color: var(--mist); }
.mast--light { background: rgba(237, 238, 233, .92); color: var(--ink); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.mast.is-scrolled { box-shadow: 0 8px 30px rgba(15, 42, 38, .12); }
.mast.is-scrolled .mast__in { min-height: 64px; }
.mast--light.is-scrolled { border-bottom-color: var(--line); }
.wordmark { font-family: var(--display); font-size: 27px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; color: inherit; white-space: nowrap; }
.wordmark i { font-size: 17px; color: var(--brass); padding: 0 1px; }
.mast--light .wordmark i { color: var(--brass-ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav > .nav__drop > button {
  background: none; border: 0; padding: 10px 14px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: inherit;
  border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 44px;
}
.nav > a:hover, .nav > .nav__drop > button:hover, .nav > a[aria-current="page"] { background: rgba(201, 161, 90, .16); color: inherit; }
.nav__drop { position: relative; }
.nav__drop svg { width: 12px; height: 12px; transition: transform .3s; }
.nav__drop.is-open svg { transform: rotate(180deg); }
.drop {
  position: absolute; left: 50%; top: calc(100% + 12px); transform: translate(-50%, 8px); width: min(880px, 92vw);
  background: var(--malachite); color: var(--mist); border-radius: 8px; padding: 28px; display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 28px; opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}
.nav__drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
.drop__list a { display: flex; gap: 12px; align-items: baseline; padding: 10px 8px; border-radius: 6px; text-decoration: none; color: var(--mist); }
.drop__list a:hover { background: var(--malachite-2); color: #fff; }
.drop__list .num { font-size: 16px; }
.drop__list b { font-family: var(--display); font-weight: 500; font-size: 21px; }
.drop__aside { border-left: 1px solid var(--dline); padding-left: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.drop__aside a { color: var(--mist-2); text-decoration: none; }
.drop__aside a:hover { color: var(--brass); }
.mast__cta { display: flex; gap: 10px; align-items: center; }
.mast--dark .btn--ghost { color: var(--mist); border-color: var(--brass); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: none; cursor: pointer; align-items: center; justify-content: center; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.sheet {
  position: fixed; inset: 0; z-index: 80; background: var(--malachite); color: var(--mist); padding: 24px var(--gutter) 40px;
  overflow-y: auto; display: none; flex-direction: column; gap: 28px;
}
.sheet.is-open { display: flex; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; }
.sheet__close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--brass); background: none; color: var(--mist); font-size: 22px; cursor: pointer; }
.sheet__lands a { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--dline); text-decoration: none; color: var(--mist); }
.sheet__lands b { font-family: var(--display); font-weight: 500; font-size: 30px; }
.sheet__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.sheet__links a { color: var(--mist-2); text-decoration: none; padding: 8px 0; font-size: 17px; }
@media (max-width: 1080px) { .nav, .mast__cta .btn--ghost { display: none; } .burger { display: inline-flex; } }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.dark .crumbs, .crumbs--dark { color: var(--mist-3); }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--tight { padding-block: clamp(40px, 6vw, 72px); }
.dark { background: var(--malachite); color: var(--mist); }
.paper { background: var(--paper); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.rule { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.dark .rule { border-top-color: var(--dline); }

/* ---------- photo + arch ---------- */
.photo { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.photo__frame { position: relative; overflow: hidden; background: var(--marble-2); border-radius: 6px; }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo figcaption, .credit { font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.dark .photo figcaption, .dark .credit { color: var(--mist-3); }
.photo figcaption a, .credit a { color: inherit; }
.arch .photo__frame, .photo.arch .photo__frame { border-radius: var(--arch); }
.ratio-hero .photo__frame { aspect-ratio: 4 / 5; }
.ratio-tall .photo__frame { aspect-ratio: 3 / 4; }
.ratio-wide .photo__frame { aspect-ratio: 16 / 10; }
.ratio-pano .photo__frame { aspect-ratio: 21 / 9; }
.ratio-sq .photo__frame { aspect-ratio: 1; }
a:hover .photo__frame img { transform: scale(1.04); }
.noimg { display: grid; place-items: center; height: 100%; min-height: 200px; color: var(--muted); font-family: var(--display); font-style: italic; font-size: 22px; background: repeating-linear-gradient(45deg, var(--marble-2) 0 12px, var(--marble) 12px 24px); }

/* ---------- home hero: arch fan ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); }
.hero__top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.hero__title { flex: 999 1 620px; display: flex; flex-direction: column; gap: 20px; }
.hero__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 22px; padding-bottom: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.fan { display: flex; gap: 10px; height: clamp(420px, 56vw, 600px); margin-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.fan__item {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--arch); background: var(--malachite-2); color: var(--mist); text-decoration: none;
  transition: flex-grow .7s var(--ease);
}
.fan__item.is-active { flex-grow: 4.2; }
.fan__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform 1.4s var(--ease), filter .5s; }
.fan__item.is-active img { filter: none; }
.fan__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 42, 38, 0) 40%, rgba(15, 42, 38, .9) 100%); }
.fan__cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.fan__cap .num { font-size: 18px; }
.fan__cap b { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); line-height: 1.05; }
.fan__more { display: none; flex-direction: column; gap: 10px; max-width: 440px; }
.fan__item.is-active .fan__more { display: flex; }
.fan__more p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mist-2); }
.fan__more small { font-size: 11px; color: var(--mist-3); }
.fan__go { align-self: flex-start; font-weight: 600; font-size: 14px; color: var(--brass); border-bottom: 1px solid var(--brass); }
@media (max-width: 760px) {
  .fan { height: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .fan__item { height: 260px; }
  .fan__item:first-child { grid-column: 1 / -1; height: 340px; }
  .fan__more { display: none !important; }
}

/* ---------- index (table of contents) ---------- */
.toc { border-top: 1px solid var(--ink); }
.toc__row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 170px) 28px; gap: 18px; align-items: baseline;
  padding: 24px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .3s, padding .4s var(--ease);
}
.toc__row:hover { background: var(--marble-2); padding-left: 18px; color: var(--ink); }
.toc__row .num { font-size: 28px; }
.toc__name { display: flex; flex-direction: column; gap: 4px; }
.toc__name b { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.toc__name span { font-size: 15px; color: var(--muted); }
.toc__when { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.toc__arrow { font-size: 22px; color: var(--brass-ink); transition: transform .4s var(--ease); }
.toc__row:hover .toc__arrow { transform: translateX(6px); }
.toc__peek {
  position: fixed; left: 0; top: 0; width: 260px; height: 340px; border-radius: var(--arch); overflow: hidden;
  pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .3s;
}
.toc__peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.toc__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .toc__row { grid-template-columns: 44px minmax(0, 1fr); } .toc__when, .toc__arrow { display: none; } .toc__peek { display: none; } }
@media (hover: none) { .toc__peek { display: none; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.card:hover { color: var(--ink); }
.card .photo__frame { aspect-ratio: 4 / 5; }
.card--wide .photo__frame { aspect-ratio: 4 / 3; border-radius: 6px; }
.card__title { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; font-weight: 500; }
.card__title--s { font-size: 22px; }
.card__meta { font-size: 14px; color: var(--muted); }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.dark .card, .dark .card:hover { color: var(--mist); }
.dark .card p, .dark .card__meta { color: var(--mist-2); }

/* ---------- ledger ---------- */
.ledger { display: flex; flex-direction: column; gap: 14px; }
.ledger__row { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; }
.ledger__row span:first-child { flex-shrink: 0; }
.ledger__row::after { content: none; }
.ledger__dots { flex-grow: 1; border-bottom: 1px dotted #9AA09A; min-width: 20px; transform: translateY(-4px); }
.ledger__row b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ledger__row span:first-child { max-width: 55%; }
.dark .ledger__dots, .panel--dark .ledger__dots { border-bottom-color: var(--dline-3); }
.panel { border-radius: 8px; padding: clamp(24px, 3vw, 36px); }
.panel--dark { background: var(--malachite); color: var(--mist); }
.panel--line { border: 1px solid var(--line); }
.panel--paper { background: var(--paper); }
.panel h2, .panel h3 { margin-bottom: 18px; }
.panel--dark .h-s, .panel--dark h3 { color: var(--brass); font-style: italic; }

/* ---------- month bar ---------- */
.mbar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.mbar span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.mbar i { display: block; width: 100%; height: 22px; border-radius: 999px; border: 1px solid var(--line); }
.mbar .v1 i { background: var(--good); border-color: var(--good); }
.mbar .v2 i { background: var(--malachite); border-color: var(--malachite); }
.dark .mbar span, .panel--dark .mbar span { color: var(--mist-3); }
.dark .mbar i, .panel--dark .mbar i { border-color: var(--dline-2); }
.dark .mbar .v1 i, .panel--dark .mbar .v1 i { background: var(--dgood); border-color: var(--dgood); }
.dark .mbar .v2 i, .panel--dark .mbar .v2 i { background: var(--brass); border-color: var(--brass); }
.mkey { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.mkey span { display: inline-flex; gap: 8px; align-items: center; }
.mkey i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); }
.mkey .v1 { background: var(--good); border-color: var(--good); } .mkey .v2 { background: var(--malachite); border-color: var(--malachite); }
.dark .mkey { color: var(--mist-2); } .dark .mkey .v2 { background: var(--brass); border-color: var(--brass); } .dark .mkey .v1 { background: var(--dgood); border-color: var(--dgood); } .dark .mkey i { border-color: var(--dline-2); }

/* ---------- almanac ---------- */
.almanac { overflow-x: auto; }
.almanac__grid { min-width: 780px; display: grid; grid-template-columns: 170px repeat(12, minmax(0, 1fr)); gap: 6px; align-items: center; }
.almanac__grid .hd { font-size: 12px; font-weight: 600; color: var(--mist-3); text-align: center; }
.almanac__grid .hd a { text-decoration: none; }
.almanac__name { font-family: var(--display); font-size: 20px; text-decoration: none; color: inherit; }
.almanac__cell { display: block; height: 30px; border-radius: 999px; border: 1px solid var(--dline-2); transition: transform .3s var(--ease); }
a.almanac__cell:hover { transform: scaleY(1.25); }
.almanac__cell.v1 { background: var(--dgood); border-color: var(--dgood); }
.almanac__cell.v2 { background: var(--brass); border-color: var(--brass); }
.almanac--light .almanac__grid .hd { color: var(--muted); }
.almanac--light .almanac__cell { border-color: var(--line); }
.almanac--light .almanac__cell.v1 { background: var(--good); border-color: var(--good); }
.almanac--light .almanac__cell.v2 { background: var(--malachite); border-color: var(--malachite); }
.almanac__cell.is-now { outline: 2px solid var(--sindoor); outline-offset: 2px; }

/* ---------- route ribbon ---------- */
.ribbon { position: relative; display: flex; justify-content: space-between; gap: 8px; padding-top: 4px; overflow-x: auto; padding-bottom: 6px; }
.ribbon::before { content: ""; position: absolute; left: 24px; right: 24px; top: 13px; height: 2px; background: var(--brass); }
.ribbon__stop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 88px; text-align: center; text-decoration: none; color: inherit; }
.ribbon__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--marble); border: 3px solid var(--brass); }
.ribbon__stop:first-child .ribbon__dot, .ribbon__stop:last-child .ribbon__dot { background: var(--malachite); }
.dark .ribbon__dot, .panel--dark .ribbon__dot { background: var(--malachite); }
.dark .ribbon__stop:first-child .ribbon__dot, .dark .ribbon__stop:last-child .ribbon__dot { background: var(--brass); }
.ribbon__stop b { font-size: 14px; font-weight: 600; }
.ribbon__stop small { font-size: 12px; color: var(--muted); }
.dark .ribbon__stop small { color: var(--mist-3); }

/* ---------- page heads ---------- */
.phead { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.phead__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-top: clamp(20px, 3vw, 36px); }
.phead__text { display: flex; flex-direction: column; gap: 20px; }
.phead--plain .phead__text { max-width: 900px; }
@media (max-width: 900px) { .phead__grid { grid-template-columns: 1fr; } }
.spine { position: relative; }
.spine__num {
  position: absolute; right: 0; top: 0; writing-mode: vertical-rl; font-family: var(--display); font-style: italic;
  font-size: clamp(80px, 12vw, 200px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--brass); opacity: .55; pointer-events: none; user-select: none;
}
@media (max-width: 900px) { .spine__num { display: none; } }

/* ---------- two-column article layout ---------- */
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.split__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.split__aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
@media (max-width: 960px) { .split__aside { position: static; } }
.block { display: flex; flex-direction: column; gap: 18px; }
.prose p { margin: 0 0 1.1em; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose > p:first-of-type::first-letter { font-family: var(--display); font-size: 3.6em; float: left; line-height: .82; padding: 6px 10px 0 0; color: var(--brass-ink); }
.prose--plain > p:first-of-type::first-letter { all: unset; }
.answer { font-size: 19px; line-height: 1.6; border-left: 0; padding: 24px 28px; background: var(--paper); border-radius: 8px; position: relative; }
.answer::before { content: "In brief"; display: block; font-stretch: 125%; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--brass-ink); margin-bottom: 8px; }
.hl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.hl { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--ink); }
.hl b { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.15; }
.hl p { margin: 0; font-size: 15px; color: var(--ink-2); }
.dark .hl { border-top-color: var(--dline); } .dark .hl p { color: var(--mist-2); }
.tips { list-style: none; margin: 0; padding: 0; counter-reset: tip; display: flex; flex-direction: column; gap: 14px; }
.tips li { counter-increment: tip; display: grid; grid-template-columns: 40px 1fr; gap: 10px; }
.tips li::before { content: counter(tip, decimal-leading-zero); font-family: var(--display); font-style: italic; color: var(--brass-ink); font-size: 20px; line-height: 1.3; }
.reach { display: grid; gap: 12px; }
.reach__row { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.reach__row b { font-stretch: 125%; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); padding-top: 3px; }
.reach__row p { margin: 0; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.tbl th { text-align: left; font-stretch: 125%; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; background: var(--paper); padding: 12px 14px; }
.tbl td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }

/* ---------- itinerary ---------- */
.days { display: flex; flex-direction: column; }
.day { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.day__n { font-family: var(--display); font-style: italic; color: var(--brass-ink); font-size: 44px; line-height: 1; }
.day__n small { display: block; font-family: var(--sans); font-style: normal; font-stretch: 125%; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.day h3 { font-size: 26px; margin-bottom: 8px; }
.day__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.day p { margin: 0; max-width: 68ch; }
@media (max-width: 600px) { .day { grid-template-columns: 1fr; gap: 8px; } }
.inc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; }
.inc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.inc li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 15.5px; }
.inc .yes li::before { content: "+"; color: var(--brass-ink); font-weight: 700; }
.inc .no li::before { content: "–"; color: var(--sindoor); font-weight: 700; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 20px 4px; font-family: var(--display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; color: var(--brass-ink); text-align: center; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 22px; max-width: 72ch; color: var(--ink-2); }
.dark .faq { border-top-color: var(--mist-3); } .dark .faq details { border-bottom-color: var(--dline); } .dark .faq details > div { color: var(--mist-2); } .dark .faq summary::after { color: var(--brass); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery .photo:nth-child(1) { grid-column: span 7; } .gallery .photo:nth-child(2) { grid-column: span 5; }
.gallery .photo:nth-child(n+3) { grid-column: span 4; }
.gallery .photo__frame { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .gallery .photo { grid-column: 1 / -1 !important; } }

/* ---------- map ---------- */
.map { height: 420px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--marble-2); z-index: 1; }
.map--tall { height: 520px; }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--malachite); border: 3px solid var(--brass); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.pin--main { width: 24px; height: 24px; background: var(--brass); border-color: var(--malachite); }
.leaflet-popup-content-wrapper { border-radius: 8px !important; font-family: var(--sans) !important; }
.leaflet-popup-content a { font-family: var(--display); font-size: 18px; color: var(--ink); }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 0 16px; min-height: 40px; font-size: 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--malachite); color: var(--mist); border-color: var(--malachite); }
.filters label { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.filters select { min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); padding: 0 14px; font: inherit; font-size: 14px; }
[hidden] { display: none !important; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #9AA09A; border-radius: 6px; background: var(--paper); color: var(--ink); min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass-ink); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 500; cursor: pointer; min-height: 44px; }
.checks input { accent-color: var(--malachite); width: 18px; height: 18px; }
.errorlist { color: var(--sindoor); font-size: 14px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- cta band + footer ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
.foot { background: var(--malachite); color: var(--mist-2); padding-top: clamp(64px, 8vw, 110px); }
.foot a { color: var(--mist-2); text-decoration: none; }
.foot a:hover { color: var(--brass); }
.foot__big { font-family: var(--display); font-size: clamp(56px, 11vw, 180px); line-height: .9; letter-spacing: -.04em; color: var(--mist); margin: 0; }
.foot__big i { color: var(--brass); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; padding-block: 56px; border-top: 1px solid var(--dline); margin-top: 48px; }
.foot__cols h3 { font-family: var(--sans); font-stretch: 125%; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; font-weight: 600; }
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot__base { border-top: 1px solid var(--dline); padding-block: 24px 32px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--mist-3); }

/* ---------- misc ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(44px, 5vw, 72px); font-weight: 500; line-height: 1; font-style: italic; color: var(--brass-ink); }
.dark .stat b { color: var(--brass); }
.stat span { font-size: 14px; color: var(--muted); }
.dark .stat span { color: var(--mist-2); }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toc-side { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; border-left: 1px solid var(--line); }
.toc-side a { text-decoration: none; padding: 6px 14px; color: var(--muted); border-left: 2px solid transparent; margin-left: -1px; }
.toc-side a:hover, .toc-side a.is-on { color: var(--ink); border-left-color: var(--brass); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--malachite); color: var(--brass); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); border: 1px solid var(--brass); }
.wa-float svg { width: 26px; height: 26px; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 50s linear infinite; font-family: var(--display); font-size: clamp(28px, 3vw, 44px); font-style: italic; }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--brass-ink); margin-left: 48px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
.seal { width: 132px; height: 132px; animation: spin 30s linear infinite; }
.seal text { font-family: var(--sans); font-stretch: 125%; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; fill: currentColor; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.tool-out { font-family: var(--display); font-size: clamp(40px, 5vw, 64px); font-style: italic; color: var(--brass); }
.result-list { display: grid; gap: 10px; }
.result { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 8px; text-decoration: none; background: var(--paper); }
.result img { width: 64px; height: 64px; object-fit: cover; border-radius: 32px 32px 4px 4px; }
.result b { font-family: var(--display); font-weight: 500; font-size: 20px; }

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translateY(28px); }
.js .rv-arch .photo__frame { clip-path: inset(100% 0 0 0 round 999px 999px 6px 6px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .rv-arch .photo__frame { clip-path: none; }
}
@media print { .mast, .foot, .wa-float, .map, body::after { display: none !important; } }
