/* ==========================================================================
   Indradyumna Swami's Kartik Parikrama — design system
   1. Tokens   2. Base   3. Layout   4. Header & nav   5. Heroes
   6. Components   7. Home   8. Page-specific   9. Footer   10. Utilities
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --ivory: #fbf7ef;
  --paper: #f4ecdd;
  --sandal: #ead9bd;
  --line: #e2d3b8;
  --line-strong: #cdb690;
  --saffron: #c8711d;
  --saffron-deep: #9e520e;   /* text-safe saffron (AA on ivory) */
  --gold: #b4914a;
  --gold-soft: #d9bd7f;
  --terracotta: #9a4a2e;
  --forest: #1f3a2e;
  --forest-deep: #152a21;
  --ink: #2a211b;
  --ink-soft: #4a3d33;
  --muted: #6b5a4b;
  --white: #fffdf8;

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1.03rem, 1rem + 0.15vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.45rem);
  --step-2: clamp(1.55rem, 1.4rem + 0.75vw, 2rem);
  --step-3: clamp(1.95rem, 1.65rem + 1.5vw, 2.85rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.6vw, 4rem);
  --step-5: clamp(2.8rem, 2rem + 4.2vw, 5.6rem);

  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: clamp(4rem, 3rem + 5vw, 7.5rem);
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);

  --container: 1200px;
  --measure: 68ch;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --header-h: 76px;
  --radius: 3px;
  --arch: 999px 999px var(--radius) var(--radius);
  --shadow: 0 1px 2px rgba(42, 33, 27, .06), 0 12px 32px -12px rgba(42, 33, 27, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--saffron-deep); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s var(--ease); }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 2px; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* 3. Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--paper { background: var(--paper); }
.section--forest { background: var(--forest); color: #efe6d4; }
.section--forest h2, .section--forest h3 { color: var(--white); }
.stack > * + * { margin-top: var(--space-m); }
.prose { max-width: var(--measure); }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.split { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 6vw, 6rem); }
  .split--reverse > :first-child { order: 2; }
}

/* Section heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--saffron-deep);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section--forest .eyebrow { color: var(--gold-soft); }
.section-head { margin-bottom: var(--space-xl); max-width: 46rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.55; margin: 0; }
.section--forest .section-head p { color: #d8cdb8; }
.ornament { color: var(--gold); width: 200px; height: 20px; margin: 0 auto var(--space-m); }

/* 4. Header & nav ------------------------------------------------------------ */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--forest); color: var(--white); padding: .7rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42, 33, 27, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 52px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.brand__line { font-size: .92rem; font-style: italic; color: var(--muted); font-weight: 500; }
.brand__name { font-size: 1.32rem; font-weight: 700; letter-spacing: .01em; }

/* Transparent header over the home hero */
.home .site-header:not(.is-scrolled):not(.is-open) { background: transparent; }
.home .site-header:not(.is-scrolled):not(.is-open) .brand,
.home .site-header:not(.is-scrolled):not(.is-open) .brand__line { color: var(--white); }
.home .site-header:not(.is-scrolled):not(.is-open) .brand__logo { background: rgba(255, 253, 248, .92); border-radius: 50%; padding: 2px; }
.home .site-header { position: fixed; inset: 0 0 auto; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav a, .nav__sub-toggle { font: 600 .98rem/1 var(--font-body); color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; }

@media (min-width: 1100px) {
  .nav { display: flex; align-items: center; gap: var(--space-l); }
  .nav__list { display: flex; align-items: center; gap: .25rem; }
  .nav__list > li > a, .nav__sub-toggle {
    display: inline-flex; align-items: center; gap: .4rem; padding: .8rem .8rem; position: relative;
    background: none; border: 0; cursor: pointer;
  }
  .nav__list > li > a::after, .nav__sub-toggle::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .45rem; height: 1px;
    background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav__list > li > a:hover::after, .nav__list > li > a[aria-current="page"]::after,
  .nav__sub-toggle:hover::after, .has-sub.is-active > .nav__sub-toggle::after { transform: scaleX(1); }
  .nav__list > li > a[aria-current="page"], .has-sub.is-active > .nav__sub-toggle { color: var(--saffron-deep); }
  .home .site-header:not(.is-scrolled) .nav__list > li > a,
  .home .site-header:not(.is-scrolled) .nav__sub-toggle { color: var(--white); }
  .home .site-header:not(.is-scrolled) .nav__list > li > a[aria-current="page"] { color: var(--gold-soft); }
  .home .site-header:not(.is-scrolled) .nav__contact { color: var(--white); border-color: rgba(255, 253, 248, .6); }
  .home .site-header:not(.is-scrolled) .lang__item { color: rgba(255, 253, 248, .8); }
  .home .site-header:not(.is-scrolled) .lang__item[aria-current] { color: var(--white); }
  .nav__sub-toggle svg { transition: transform .25s var(--ease); }
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .has-sub { position: relative; }
  .nav__sub {
    position: absolute; top: calc(100% + 4px); left: 50%; min-width: 260px;
    list-style: none; margin: 0; padding: .6rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav__sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
  .nav__sub-toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__sub a { display: block; padding: .7rem .9rem; border-radius: 2px; font-weight: 500; color: var(--ink); }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--paper); color: var(--saffron-deep); }
  .nav__aside { display: flex; align-items: center; gap: var(--space-m); }
}

/* Mobile nav */
@media (max-width: 1099.98px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .home .site-header:not(.is-scrolled):not(.is-open) .nav-toggle { color: var(--white); }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 24px; height: 1.5px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-header.is-open { background: var(--ivory); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    background: var(--ivory); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--space-m) var(--gutter) calc(var(--space-xl) + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: var(--space-l);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li > a, .nav__sub-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 1.05rem 0; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
    background: none; border: 0; cursor: pointer; text-align: left;
  }
  .nav__list > li > a[aria-current="page"] { color: var(--saffron-deep); }
  .nav__sub-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__sub { list-style: none; margin: 0; padding: 0 0 1rem .25rem; display: none; }
  .nav__sub-toggle[aria-expanded="true"] + .nav__sub { display: block; }
  .nav__sub a { display: block; padding: .7rem 0; font-size: 1.05rem; color: var(--ink-soft); }
  .nav__sub a[aria-current="page"] { color: var(--saffron-deep); }
  .nav__aside { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); }
  .nav__contact { flex: 1; }
}
@media (max-width: 420px) {
  .brand__logo { width: 44px; }
  .brand__line { font-size: .8rem; }
  .brand__name { font-size: 1.12rem; }
}

.lang { display: inline-flex; align-items: center; gap: .15rem; font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; }
.lang__item { padding: .55rem .5rem; color: var(--muted); text-decoration: none; min-width: 44px; text-align: center; }
.lang__item[aria-current] { color: var(--ink); }
.lang__item + .lang__item { border-left: 1px solid var(--line-strong); }

/* 5. Heroes ------------------------------------------------------------------ */
.page-hero { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero__inner { position: relative; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero__title { font-size: var(--step-5); margin: 0; max-width: 18ch; }
.page-hero__lead { margin: var(--space-m) 0 0; max-width: 46rem; font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.page-hero--photo { background: var(--forest-deep); color: var(--white); min-height: clamp(320px, 46vh, 520px); display: flex; align-items: flex-end; border: 0; overflow: hidden; }
.page-hero--photo .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(21, 42, 33, .25) 0%, rgba(21, 42, 33, 0) 35%),
    linear-gradient(0deg, rgba(26, 18, 12, .86) 0%, rgba(26, 18, 12, .45) 45%, rgba(26, 18, 12, .05) 85%);
}
.page-hero--photo .page-hero__inner { z-index: 2; }
.page-hero--photo .page-hero__title { color: var(--white); }
.page-hero--photo .page-hero__lead { color: #efe6d4; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.crumbs li + li::before { content: "·"; margin-right: .4rem; color: var(--gold); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--saffron-deep); text-decoration: underline; }
.page-hero--photo .crumbs { color: var(--gold-soft); }
.page-hero--photo .crumbs a:hover { color: var(--white); }

/* 6. Components -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--saffron-deep); --btn-fg: var(--white); --btn-bd: var(--saffron-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd); border-radius: var(--radius);
  font: 700 .86rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --btn-bg: var(--terracotta); --btn-bd: var(--terracotta); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--small { min-height: 42px; padding: .55rem 1.1rem; font-size: .76rem; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--forest); --btn-bd: var(--forest); --btn-fg: var(--white); color: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--gold-soft); --btn-bd: var(--gold-soft); color: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 253, 248, .55); }
.btn--ghost-light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .86rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--saffron-deep);
}
.text-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* Callout */
.callout {
  position: relative; padding: var(--space-m) var(--space-m) var(--space-m) calc(var(--space-m) + 6px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.callout::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--saffron); border-radius: var(--radius) 0 0 var(--radius); }
.callout > :last-child { margin-bottom: 0; }
.callout--forest::before { background: var(--forest); }
.callout__title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; margin: 0 0 .35rem; }

/* Info grid (Registration / Accommodation / Transportation / Prasadam) */
.info-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info { background: var(--white); padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); }
.info__head { display: flex; align-items: center; gap: .85rem; margin-bottom: .9rem; }
.info__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--saffron-deep); }
.info__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.info h3 { font-size: var(--step-2); margin: 0; }
.info p:last-child { margin-bottom: 0; }

/* Tables */
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 2px; }
.table { font-size: .98rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; padding: 1rem 1.25rem 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.table th, .table td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th {
  background: var(--forest); color: #f3ead8; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; vertical-align: bottom;
  border-bottom: 0; white-space: nowrap;
}
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:nth-child(even) > * { background: rgba(244, 236, 221, .45); }
.table tbody th { font-weight: 600; }
.table .num { text-align: right; white-space: nowrap; }
.table--wide { min-width: 760px; }
.table-note { font-size: .92rem; color: var(--muted); margin: .8rem 0 0; }
.table-hint { display: none; }

/* Stacked tables on small screens: every cell carries data-label */
@media (max-width: 719.98px) {
  .table-wrap:has(.stack) { overflow: visible; border: 0; background: transparent; }
  .table.stack, .table.stack tbody, .table.stack tr, .table.stack td, .table.stack tbody th { display: block; }
  .table.stack { min-width: 0; }
  .table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table.stack tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; padding: .35rem 0; }
  .table.stack tbody tr:nth-child(even) > * { background: transparent; }
  .table.stack td, .table.stack tbody th { display: grid; grid-template-columns: minmax(7.5rem, 40%) 1fr; gap: .75rem; border: 0; padding: .45rem 1rem; text-align: left; }
  .table.stack td::before, .table.stack tbody th::before {
    content: attr(data-label); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2em;
  }
  .table.stack td:first-child, .table.stack tbody th:first-child { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
  .table.stack .num { text-align: left; white-space: normal; }
  .table-hint { display: block; font-size: .85rem; color: var(--muted); margin: 0 0 .6rem; }
  .table-wrap:has(.stack) + .table-hint, .table-wrap:has(.stack) ~ .table-hint { display: none; }
}

/* Gallery */
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 12px; }
.gallery > li { break-inside: avoid; margin-bottom: 12px; }
.gallery__item { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sandal); }
.gallery__item img { width: 100%; transition: transform .8s var(--ease), filter .4s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26, 18, 12, .35), transparent 50%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery--grid { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery--grid > li { margin: 0; }
.gallery--grid .gallery__item { aspect-ratio: 3 / 2; }
.gallery--grid .gallery__item img { height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 13, 9, .94); color: var(--white); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; font-size: .9rem; letter-spacing: .1em; color: #cfc3ad; }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 0 clamp(.5rem, 4vw, 4.5rem); }
.lightbox__stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; border-radius: 2px; }
.lightbox__stage iframe { width: min(100%, 1100px); aspect-ratio: 16 / 9; height: auto; border: 0; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 253, 248, .25); border-radius: 50%; background: rgba(255, 253, 248, .06); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 253, 248, .16); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox__nav { display: flex; justify-content: center; gap: 1rem; padding: .75rem 1rem calc(1rem + env(safe-area-inset-bottom)); }

/* Embed */
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--forest-deep); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sub navigation (on-page jump links) */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.subnav ul { position: relative; list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 .9rem; white-space: nowrap; font-size: .9rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-current { color: var(--saffron-deep); border-bottom-color: var(--saffron); }

/* Steps (numbered blocks) */
.steps { display: grid; gap: var(--space-l); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: var(--space-xl); } }
.step { position: relative; padding-top: var(--space-l); border-top: 1px solid var(--line-strong); }
.step__num { font-family: var(--font-display); font-size: 4.5rem; line-height: .8; color: var(--gold); font-weight: 500; display: block; margin-bottom: 1rem; }
.step h2, .step h3 { font-size: var(--step-2); }

/* Journey (three parts of the parikrama) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.journey li { position: relative; padding: 0 0 var(--space-m) 2.25rem; }
.journey li::before { content: ""; position: absolute; left: 6px; top: .55rem; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--saffron); z-index: 1; }
.journey li::after { content: ""; position: absolute; left: 11px; top: 1.1rem; bottom: -.4rem; width: 1px; background: var(--line-strong); }
.journey li:last-child::after { display: none; }
.journey__part { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron-deep); }
.journey__place { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.15; color: var(--ink); }
.journey__dates { display: block; color: var(--muted); font-size: .98rem; }
@media (min-width: 640px) {
  .journey--row { grid-template-columns: repeat(3, 1fr); }
  .journey--row li { padding: 2.1rem 1.5rem 0 0; }
  .journey--row li::before { left: 0; top: 0; }
  .journey--row li::after { left: 15px; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .journey--row li:last-child::after { display: block; right: 50%; background: linear-gradient(90deg, var(--line-strong), transparent); }
}

.journey-panel { margin-bottom: var(--space-xl); padding-bottom: var(--space-l); }
.journey-panel__lead { text-align: center; font-family: var(--font-display); font-style: italic; font-size: var(--step-1); color: var(--ink-soft); margin-bottom: var(--space-l); }
@media (min-width: 640px) { .journey-panel .journey--row li { text-align: center; padding-right: 0; } .journey-panel .journey--row li::before { left: calc(50% - 7px); } .journey-panel .journey--row li::after { left: calc(50% + 10px); right: calc(-50% + 10px); } .journey-panel .journey--row li:last-child::after { display: none; } }

/* Day list (schedule) */
.days { display: grid; gap: var(--space-xl); }
.day-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); margin-bottom: 0; }
.day-group__head h2 { margin: 0; font-size: var(--step-3); }
.day-group__meta { color: var(--muted); font-size: .95rem; letter-spacing: .04em; }
.day-table { width: 100%; }
.day-table th, .day-table td { padding: 1.05rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.day-table thead th { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-block: .9rem; }
.day-table tbody tr { transition: background-color .2s var(--ease); }
.day-table tbody tr:hover { background: rgba(244, 236, 221, .55); }
.day-date { white-space: nowrap; width: 1%; }
.day-date__d { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; display: inline-block; min-width: 2.1ch; }
.day-date__m { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-deep); margin-left: .35rem; }
.day-weekday { color: var(--muted); width: 1%; white-space: nowrap; }
.day-place { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; line-height: 1.25; }
.day-dist { text-align: right !important; white-space: nowrap; color: var(--ink-soft); width: 1%; }
.chip { display: inline-block; padding: .25rem .65rem; border: 1px solid var(--line-strong); border-radius: 99px; font-size: .82rem; line-height: 1.3; color: var(--ink-soft); background: var(--white); }
.chip--rest { border-color: transparent; background: var(--paper); color: var(--muted); }
.chip--price { border-color: var(--saffron); color: var(--saffron-deep); font-weight: 700; }
.row--rest .day-place { color: var(--muted); font-style: italic; font-weight: 500; }
@media (max-width: 719.98px) {
  .day-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .day-table, .day-table tbody { display: block; }
  .day-table tr { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1rem; row-gap: .3rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .day-table td { grid-column: 2; padding: 0; border: 0; width: auto; text-align: left !important; }
  .day-table .day-date { grid-column: 1; grid-row: 1 / span 6; display: flex; flex-direction: column; align-items: center; padding-top: .1rem; }
  .day-date__m { margin: .3rem 0 0; }
  .day-table .day-weekday { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .day-table .day-extra { font-size: .95rem; }
  .day-table td:empty { display: none; }
}
.day-extra { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.day-extra .note { display: block; margin-top: .35rem; color: var(--saffron-deep); font-weight: 600; }

/* Contact pairs */
.people { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--white); padding: 1.4rem 1.5rem; }
.person__city { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron-deep); margin: 0 0 .4rem; }
.person__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin: 0 0 .2rem; line-height: 1.2; }
.person a { font-weight: 600; text-decoration: none; }
.person a:hover { text-decoration: underline; }

/* Reveal on scroll (only when JS has marked the page ready) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* 7. Home ---------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--forest-deep); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-drift 24s var(--ease) both; }
  @keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 13, 9, .55) 0%, rgba(18, 13, 9, 0) 28%),
    linear-gradient(0deg, rgba(22, 15, 10, .92) 0%, rgba(22, 15, 10, .62) 38%, rgba(22, 15, 10, .1) 75%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 2rem + 4vw, 5rem); }
.hero__tag { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; padding: .45rem .95rem; border: 1px solid rgba(217, 189, 127, .55); border-radius: 99px; color: var(--gold-soft); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px rgba(200, 113, 29, .25); }
.hero__title { color: var(--white); font-size: var(--step-5); font-weight: 600; max-width: 13ch; margin-bottom: 1.25rem; line-height: 1.02; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.hero__lead { max-width: 40rem; font-size: var(--step-1); line-height: 1.55; color: #f1e8d6; margin-bottom: 2rem; }
.hero__foot { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-end; }
.hero__note { margin: 0; max-width: 30rem; font-size: .95rem; line-height: 1.55; color: #d8ccb6; padding-left: 1rem; border-left: 1px solid rgba(217, 189, 127, .5); }
.hero__note a { color: var(--white); font-weight: 600; }
.hero__note a:hover { color: var(--gold-soft); }
.play { display: inline-flex; align-items: center; gap: .85rem; background: none; border: 0; padding: 0; color: var(--white); font: 600 .86rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.play__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 253, 248, .6); transition: background-color .25s var(--ease), transform .25s var(--ease); }
.play__icon svg { width: 16px; height: 16px; margin-left: 3px; fill: currentColor; }
.play:hover .play__icon { background: rgba(255, 253, 248, .14); transform: scale(1.05); }

/* Marquee of places */
.marquee { overflow: hidden; background: var(--forest); color: var(--gold-soft); border-block: 1px solid rgba(217, 189, 127, .25); padding-block: 1.1rem; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; flex-shrink: 0; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee__group li { display: flex; align-items: center; font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.3rem); font-style: italic; font-weight: 500; white-space: nowrap; }
.marquee__group li::after { content: ""; width: 7px; height: 7px; margin-inline: 2.2rem; background: var(--saffron); transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

.arch { border-radius: var(--arch); overflow: hidden; background: var(--sandal); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.intro__media { position: relative; max-width: 520px; margin-inline: auto; }
.intro__media .arch { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.intro__media::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); border-radius: var(--arch); z-index: -1; }
.intro__text h2 { font-size: var(--step-3); }
.intro__text p { font-size: 1.12rem; color: var(--ink-soft); }

.details { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .details { grid-template-columns: repeat(3, 1fr); } }
.detail { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); background: var(--white); color: var(--ink); text-decoration: none; transition: background-color .35s var(--ease); }
.detail:hover { background: var(--ivory); color: var(--ink); }
.detail__num { font-family: var(--font-display); font-size: 1rem; font-style: italic; color: var(--gold); }
.detail h3 { margin: 0; font-size: var(--step-2); }
.detail p { margin: 0; color: var(--muted); }
.detail .text-link { margin-top: auto; padding-top: 1rem; }
.detail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.detail:hover::after, .detail:focus-visible::after { transform: scaleX(1); }

.about-collage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: start; max-width: 560px; margin-inline: auto; }
.about-collage__main { grid-row: 1 / 3; aspect-ratio: 514 / 720; box-shadow: var(--shadow); }
.about-collage__a { aspect-ratio: 563 / 385; border-radius: var(--radius); overflow: hidden; margin-top: 18%; }
.about-collage__b { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; filter: sepia(.12); }
.about-collage__a img, .about-collage__b img { width: 100%; height: 100%; object-fit: cover; }
.about-collage__b img { object-position: 50% 20%; }

.cta-band { position: relative; overflow: hidden; color: var(--white); text-align: center; background: var(--forest-deep); }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.cta-band__inner { position: relative; padding-block: var(--section); }
.cta-band .cta-band__kicker { display: flex; max-width: none; color: var(--white); justify-content: center; flex-wrap: wrap; gap: .1em .4em; margin: 0 0 1.5rem; font-family: var(--font-display); font-size: var(--step-5); font-weight: 600; line-height: 1; }
.cta-band .cta-band__kicker span:nth-child(2) { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.cta-band .cta-band__kicker span:nth-child(3) { color: transparent; -webkit-text-stroke: 1px var(--gold-soft); }
.cta-band h2 { color: var(--white); font-size: var(--step-3); }
.cta-band p { color: #e6dcc8; font-size: var(--step-1); max-width: 36rem; margin: 0 auto 2rem; }
.cta-band .ornament { color: var(--gold-soft); }

/* 8. Page-specific ----------------------------------------------------------- */
.part { scroll-margin-top: calc(var(--header-h) + 64px); }
.part + .part { border-top: 1px solid var(--line); }
.part__head { display: grid; gap: .5rem; margin-bottom: var(--space-l); }
@media (min-width: 900px) { .part__head { grid-template-columns: auto 1fr; gap: 2rem; align-items: end; } }
.part__num { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: .8; color: var(--gold); font-weight: 500; }
.part__head h2 { margin: 0; }
.part__dates { display: block; margin-top: .4rem; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: var(--saffron-deep); }
.part__intro { max-width: var(--measure); margin-bottom: var(--space-l); }

.app-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.app-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 52px; padding: .6rem 1.2rem; border-radius: var(--radius); background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; }
.app-link:hover { background: var(--forest); color: var(--white); }
.app-link svg { width: 22px; height: 22px; fill: currentColor; }
.app-link small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .75; line-height: 1.1; }
.doc-links { display: flex; flex-wrap: wrap; gap: .5rem; }

.qr { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 760px) { .qr { grid-template-columns: 320px 1fr; } }
.qr img { border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }

.pricing-note { display: grid; gap: var(--space-m); margin-bottom: var(--space-l); }
@media (min-width: 900px) { .pricing-note { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* Guidelines */
.rules { counter-reset: rule; display: grid; gap: 0; }
.rule { display: grid; gap: .5rem 2.5rem; padding-block: var(--space-xl); border-top: 1px solid var(--line); }
.rule:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .rule { grid-template-columns: 15rem 1fr; } }
.rule h2 { font-size: var(--step-2); margin: 0; }
.rule ul { margin: 0 0 1.1em; padding: 0; list-style: none; }
.rule li { position: relative; padding: .35rem 0 .35rem 1.6rem; }
.rule li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid var(--saffron); }
.rule > div > :last-child { margin-bottom: 0; }

/* Long-form reading (about) */
.reading { font-size: clamp(1.06rem, 1rem + .25vw, 1.18rem); line-height: 1.8; }
.reading p { color: var(--ink-soft); }
.reading .dropcap::first-letter { float: left; font-family: var(--font-display); font-size: 4.6em; line-height: .82; padding: .08em .1em 0 0; color: var(--saffron-deep); font-weight: 600; }
.reading blockquote { margin: 2.25rem 0; padding: 1.75rem 0 1.75rem 1.75rem; border-left: 2px solid var(--gold); font-family: var(--font-display); font-size: 1.42em; line-height: 1.5; font-style: italic; color: var(--ink); }
.reading blockquote p { color: inherit; }
.reading .dialog { font-family: var(--font-display); font-size: 1.28em; font-style: italic; color: var(--ink); }
.essay-head { text-align: center; margin: var(--space-2xl) auto var(--space-l); }
.essay-head h2 { font-size: var(--step-4); margin-bottom: .25rem; font-style: italic; font-weight: 500; }
.essay-head p { font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--saffron-deep); margin: 0; }
.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }
.photo-strip .gallery__item { aspect-ratio: 4 / 3; }
.photo-strip .gallery__item img { height: 100%; object-fit: cover; }

/* Accommodation */
.rooms-nav { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.rooms-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line-strong); border-radius: 99px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: .92rem; background: var(--white); }
.rooms-nav a:hover { border-color: var(--saffron); color: var(--saffron-deep); }
.room { padding-block: var(--space-xl); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.room h2 { font-size: var(--step-3); }
.map-figure { margin: 0; max-width: 760px; }
.map-figure a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }

/* Announcements & post */
.post-card { display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
@media (min-width: 760px) { .post-card { grid-template-columns: 1fr 1.2fr; } }
.post-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sandal); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.post-card h2 { margin: 0; font-size: var(--step-3); }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.post-meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.post-meta dd { margin: 0; }
.post-meta a { color: var(--ink-soft); }
.tag { display: inline-block; align-self: flex-start; padding: .2rem .7rem; border-radius: 99px; background: var(--paper); color: var(--saffron-deep); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; }
.tag:hover { background: var(--sandal); }
.article-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); gap: 1rem 2.5rem; margin: 0 0 var(--space-xl); padding: 0 0 var(--space-m); border-bottom: 1px solid var(--line); }
.article-meta div { margin: 0; }
.article-meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.article-meta dd { margin: .15rem 0 0; font-weight: 600; }
.article-figure { margin: 2rem 0; }
.article-figure img { border-radius: var(--radius); }
.article-figure figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; word-break: break-all; }
.share { display: flex; align-items: center; gap: .6rem; margin-top: var(--space-xl); padding-top: var(--space-m); border-top: 1px solid var(--line); }
.share__label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: .5rem; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .form__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(200, 113, 29, .18); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--saffron-deep); }

/* Contact */
.contact-card { position: relative; text-align: center; padding: clamp(2.5rem, 2rem + 4vw, 5rem) var(--gutter); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h2 { font-size: var(--step-4); }
.contact-card__email { display: inline-block; margin-top: .5rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem); font-weight: 600; word-break: break-word; }

/* 9. Footer ----------------------------------------------------------------- */
.site-footer { background: var(--forest-deep); color: #cfc4af; padding-top: var(--space-2xl); font-size: .98rem; }
.site-footer__ornament { color: var(--gold); display: flex; justify-content: center; margin-bottom: var(--space-xl); opacity: .8; }
.site-footer__grid { display: grid; gap: var(--space-xl) var(--space-l); padding-bottom: var(--space-xl); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer__logo img { width: 88px; background: rgba(255, 253, 248, .95); border-radius: 50%; padding: 4px; }
.site-footer__tagline { margin: 1.25rem 0 1.5rem; max-width: 22rem; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; font-style: italic; color: #efe6d4; }
.site-footer__heading { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.1rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.site-footer__col a { display: inline-block; padding: .35rem 0; color: #e3d9c6; text-decoration: none; }
.site-footer__col a:hover { color: var(--gold-soft); text-decoration: underline; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(217, 189, 127, .35); color: #efe6d4; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.social a:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--forest-deep); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(217, 189, 127, .18); font-size: .88rem; color: #a99d86; }
.site-footer__base p { margin: 0; }
.lang--footer .lang__item { color: #a99d86; }
.lang--footer .lang__item[aria-current] { color: var(--white); }
.lang--footer .lang__item + .lang__item { border-color: rgba(217, 189, 127, .3); }
.site-footer .share a, .share a { color: inherit; }

/* 10. Utilities ------------------------------------------------------------ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.lang-ru { font-style: normal; }

@media print {
  .site-header, .site-footer, .subnav, .marquee, .hero__media, .cta-band__media { display: none !important; }
  .hero, .page-hero--photo { min-height: 0; color: var(--ink); background: none; }
  .hero__title, .page-hero--photo .page-hero__title { color: var(--ink); }
  body { background: #fff; }
}

/* Lining figures wherever numerals are set in the display face */
.step__num, .part__num, .day-date__d, .journey__dates, .cta-band__kicker, h1, h2, h3 { font-variant-numeric: lining-nums; }
.table--wide tbody th { min-width: 15rem; }

/* Lists */
.checklist, .numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid var(--saffron); }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 2.6rem; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: .1em; width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--paper); color: var(--saffron-deep); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; font-variant-numeric: lining-nums;
}
.social--light a { color: var(--ink-soft); border-color: var(--line-strong); }
.social--light a:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.reading .lede { font-family: var(--font-display); font-size: 1.55em; line-height: 1.4; color: var(--ink); }
.table td, .table th, .article-figure figcaption { overflow-wrap: anywhere; }
.table thead th { overflow-wrap: normal; }
@media (max-width: 719.98px) {
  .day-table--passes td.day-dist { display: flex; align-items: center; gap: .6rem; }
  .day-table--passes td.day-dist::before { content: attr(data-label); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 9.5rem; }
}
