/* ==========================================================================
   Samya Retreats
   Palette drawn from the kasavu mundu (unbleached cotton with a gold zari
   border) and the tea hills of Munnar.
   ========================================================================== */

:root {
  --kasavu: #F1EBDD;      /* page: unbleached cotton */
  --kasavu-deep: #E8DFCB; /* quiet alternate surface */
  --ivory: #FBF7EE;       /* type on photographs, raised surfaces */
  --mist: #E2E6DA;        /* Munnar */
  --sand: #F0E3CC;        /* Fort Kochi */
  --tea: #23392B;         /* headings, primary actions */
  --tea-soft: #2F4A38;
  --ink: #2A2F29;         /* body copy */
  --ink-soft: #585C52;    /* secondary copy */
  --gold: #B08A3E;        /* zari: rules, borders, icons */
  --gold-ink: #7E6128;    /* gold that must be read */
  --error: #9A3B2A;
  --line: rgba(35, 57, 43, 0.16);

  --f-display: "Marcellus", "Times New Roman", Georgia, serif;
  --f-body: "Anek Latin", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 72px;
  --section: clamp(96px, 12vw, 176px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Base ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--kasavu);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--tea);
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.012em; }
h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gold); }

.lead { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  vertical-align: -0.25em;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus { outline: none; }

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--tea);
  color: var(--ivory);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip:focus { transform: none; }

/* Kasavu border: the gold zari band at the edge of a mundu --------------- */

.kasavu {
  height: 15px;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 1px / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(251, 247, 238, 0.22) 0 2px, transparent 2px 6px) 0 5px / 100% 5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 5px / 100% 5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 13px / 100% 1px no-repeat;
  opacity: 0.85;
}

/* Section heading row: title on the left, supporting copy or link on the right */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head h2 { max-width: 14em; }
.section-head p { max-width: 32em; color: var(--ink-soft); }

/* A quiet list with zari diamonds */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 20px;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* Buttons & links ------------------------------------------------------- */

.btn {
  --btn-bg: var(--tea);
  --btn-fg: var(--ivory);
  --btn-border: var(--tea);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 500 16px/1.2 var(--f-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { --btn-bg: var(--tea-soft); --btn-border: var(--tea-soft); }
.btn:active { transform: scale(0.98); }

.btn--quiet { --btn-bg: transparent; --btn-fg: var(--tea); --btn-border: var(--tea); }
.btn--quiet:hover { --btn-bg: var(--tea); --btn-fg: var(--ivory); }

.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--tea); --btn-border: var(--ivory); }
.btn--light:hover { --btn-bg: var(--kasavu); --btn-border: var(--kasavu); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-border: rgba(251, 247, 238, 0.7); }
.btn--outline-light:hover { --btn-bg: rgba(251, 247, 238, 0.14); --btn-border: var(--ivory); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tea);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

/* Split-text masks (created by JS) --------------------------------------- */

.split__mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.split__word { display: inline-block; will-change: transform; }

/* Navigation ------------------------------------------------------------ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  color: var(--ivory);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.nav.is-solid {
  background: rgba(241, 235, 221, 0.96);
  color: var(--tea);
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 36px);
  padding-inline: var(--gutter);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.nav__logo {
  width: 46px;
  height: 46px;
  flex: none;
  transition: filter 0.45s var(--ease);
}
.nav__name {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* Over the home photograph the gold mark turns ivory, like the text beside it */
.nav:not(.is-solid) .nav__logo { filter: brightness(0) invert(0.97); }

.nav__links { margin-left: auto; display: flex; gap: clamp(18px, 2vw, 30px); }
.nav__links a {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  text-decoration: none;
  color: inherit;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.btn--nav { min-height: 42px; padding: 8px 20px; font-size: 15px; --btn-bg: var(--ivory); --btn-fg: var(--tea); --btn-border: var(--ivory); }
.btn--nav:hover { --btn-bg: var(--kasavu); --btn-border: var(--kasavu); }
.nav.is-solid .btn--nav { --btn-bg: var(--tea); --btn-fg: var(--ivory); --btn-border: var(--tea); }
.nav.is-solid .btn--nav:hover { --btn-bg: var(--tea-soft); }

.nav:not(.is-solid) :focus-visible { outline-color: var(--ivory); }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border: 0; border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 26px;
  cursor: pointer;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 12px var(--gutter) 32px;
  background: var(--kasavu);
  color: var(--tea);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.menu__close { width: 48px; height: 48px; border: 0; background: transparent; color: var(--tea); font-size: 28px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.menu__links { display: grid; gap: 4px; }
.menu__links a { font-family: var(--f-display); font-size: clamp(34px, 9vw, 48px); line-height: 1.25; text-decoration: none; }
.menu__links a[aria-current="page"] { color: var(--gold-ink); }
.menu__contact { display: grid; gap: 8px; color: var(--ink-soft); }

@media (max-width: 1020px) {
  .nav__links, .btn--nav { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* Home hero ------------------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  color: var(--ivory);
  isolation: isolate;
}

.hero__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #6f7a64;
  z-index: -1;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__img {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
  transition: translate 1.4s var(--ease);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 34, 26, 0.42) 0%, rgba(22, 34, 26, 0) 20%),
    linear-gradient(0deg, rgba(22, 34, 26, 0.72) 0%, rgba(22, 34, 26, 0.3) 38%, rgba(22, 34, 26, 0) 62%);
}
.hero__mist {
  position: absolute;
  left: -10%; right: -10%;
  top: 14%; height: 52%;
  background: radial-gradient(60% 50% at 50% 55%, rgba(241, 235, 221, 0.95), rgba(241, 235, 221, 0.7) 45%, rgba(241, 235, 221, 0) 75%);
  opacity: 0;
  pointer-events: none;
}
.motion .hero__mist { opacity: 1; }
.motion .hero__word { visibility: hidden; }

.hero__content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
}

.hero__title {
  color: var(--ivory);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.4em;
  line-height: 0.84;
  margin-bottom: clamp(20px, 3vh, 36px);
  text-wrap: nowrap;
}
.hero__word {
  font-size: clamp(96px, 18vw, 290px);
  letter-spacing: -0.02em;
  display: inline-block;
}
.hero__word .split__mask { padding-bottom: 0.2em; margin-bottom: -0.2em; }
.hero__sub {
  font-size: clamp(24px, 2.8vw, 44px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid rgba(251, 247, 238, 0.4);
}
.hero__lede { max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }

.hero__caption {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--nav-h) + clamp(16px, 5vh, 56px));
  font-size: 14px;
  opacity: 0.85;
}

.hero :focus-visible { outline-color: var(--ivory); }

@media (max-width: 700px) {
  .hero { min-height: 600px; }
  .hero__img { object-position: 76% 50%; }
  .hero__caption { display: none; }
  .hero .actions { width: 100%; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(22, 34, 26, 0.45) 0%, rgba(22, 34, 26, 0) 22%),
      linear-gradient(0deg, rgba(22, 34, 26, 0.82) 0%, rgba(22, 34, 26, 0.45) 50%, rgba(22, 34, 26, 0) 75%);
  }
}

/* Inner page hero ------------------------------------------------------- */

.page-hero { padding: calc(var(--nav-h) + clamp(40px, 7vw, 104px)) 0 clamp(64px, 8vw, 120px); }

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.page-hero--text .page-hero__grid { grid-template-columns: minmax(0, 1fr); }

.page-hero__title {
  font-size: clamp(64px, 10vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.page-hero__title .split__mask { padding-bottom: 0.18em; margin-bottom: -0.18em; }
.page-hero__lede { margin-top: clamp(20px, 3vw, 32px); max-width: 32em; }
.page-hero .actions { margin-top: 32px; }

.page-hero__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  max-height: 74vh;
  overflow: hidden;
  border-radius: 999px 999px 4px 4px;
  background: var(--kasavu-deep);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 10px var(--kasavu), 0 0 0 11px rgba(176, 138, 62, 0.5);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-height: none; width: min(100%, 460px); }
}

/* Intro (home) ---------------------------------------------------------- */

.intro { padding: var(--section) 0 clamp(72px, 9vw, 128px); }

.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(20px, 2.5vw, 32px);
}

.intro__statement {
  grid-column: 1 / 11;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.06;
}

.intro__meaning {
  grid-column: 1 / 5;
  align-self: start;
  padding-top: 20px;
  border-top: 1px solid var(--gold);
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  color: var(--gold-ink);
}

.intro__body { grid-column: 6 / 12; display: grid; gap: 20px; align-self: start; max-width: 36em; }
.intro__body p:not(.lead) { color: var(--ink-soft); }

.glance {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(72px, 9vw, 120px) 0 0;
  border-top: 1px solid var(--gold);
}
.glance > div { padding: 20px 20px 0 0; }
.glance > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.glance dt { font-size: 14px; color: var(--ink-soft); }
.glance dd { margin: 4px 0 0; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; color: var(--tea); }

@media (max-width: 900px) {
  .intro__statement, .intro__meaning, .intro__body { grid-column: 1 / -1; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance > div { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); }
  .glance > div + div { padding-left: 0; border-left: 0; }
  .glance > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* Places (home) --------------------------------------------------------- */

.places { padding: var(--section) 0; background: var(--kasavu-deep); }

.places__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 6vw, 96px);
}

.place { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.place__media { margin: 0; }
.place__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.place__body { display: grid; gap: 14px; }
.place__length { color: var(--gold-ink); font-weight: 500; }
.place h3 { font-size: clamp(36px, 3.6vw, 56px); line-height: 1; }
.place__body > p { color: var(--ink-soft); }
.place .ticks { margin-top: 8px; font-size: 16px; }

.places__foot { margin-top: clamp(48px, 6vw, 80px); }

@media (max-width: 1080px) {
  .places__grid { grid-template-columns: 1fr; }
  .place { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
}
@media (max-width: 560px) {
  .place { grid-template-columns: 1fr; }
  .place__media img { aspect-ratio: 4 / 3; }
}

/* Dates ----------------------------------------------------------------- */

.dates { padding: var(--section) 0; }

.dates__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.dates__intro { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 5vh); }
.dates__intro p { color: var(--ink-soft); max-width: 30em; }

.date-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold); }
.date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 32px;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}
.date-row__when { font-family: var(--f-display); font-size: clamp(28px, 2.8vw, 42px); line-height: 1.05; color: var(--tea); white-space: nowrap; }
.date-row__detail { margin-top: 6px; font-size: 16px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .dates__grid { grid-template-columns: 1fr; }
  .dates__intro { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .date-row { grid-template-columns: 1fr; }
  .date-row .btn { justify-self: start; }
}

/* Journey --------------------------------------------------------------- */
/* Base layout is a vertical flow (mobile, reduced motion, no JS).
   .is-horizontal is added by JS on wide screens when motion is welcome. */

.journey {
  position: relative;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand) 42%, var(--mist) 56%, var(--mist) 100%);
}

.journey__pin { padding: clamp(72px, 10vw, 128px) var(--gutter); }

.journey__track {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 56px clamp(20px, 3vw, 40px);
  align-items: start;
}

.journey__intro, .chapter, .descent, .journey__end { grid-column: 1 / -1; }

.journey__intro { display: grid; gap: 24px; max-width: 40em; }
.journey__intro p { color: var(--ink-soft); }
.journey__hint { display: none; align-items: center; gap: 10px; font-size: 15px; color: var(--gold-ink); }

.chapter { padding-left: 24px; border-left: 1px solid var(--gold); }
.chapter__length { color: var(--gold-ink); font-weight: 500; }
.chapter__name { font-size: clamp(56px, 7vw, 104px); line-height: 0.95; }
.chapter__meta { margin-top: 10px; color: var(--ink-soft); font-size: 16px; max-width: 16em; }

.stop { display: grid; gap: 10px; align-content: start; }
.stop__media {
  overflow: hidden;
  border-radius: 3px;
  background: var(--kasavu-deep);
  aspect-ratio: var(--ar, 3 / 4);
}
.stop__media img { width: 100%; height: 100%; object-fit: cover; }
.stop--wide { --ar: 4 / 3; }
.stop--portrait { --ar: 9 / 14; }
.stop h4 { margin-top: 10px; font-size: clamp(24px, 2vw, 28px); line-height: 1.15; }
.stop p { color: var(--ink-soft); font-size: 16px; max-width: 30em; }

.stop__panel {
  display: grid;
  gap: 16px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: rgba(251, 247, 238, 0.7);
}
.stop__panel .icon { width: 40px; height: 40px; color: var(--gold); }
.stop__panel h4 { margin-top: 0; font-size: clamp(30px, 2.6vw, 40px); }

.descent { display: grid; gap: 12px; max-width: 32em; padding: 24px 0; }
.descent__title { font-family: var(--f-display); font-size: clamp(34px, 4vw, 56px); line-height: 1.05; color: var(--tea); }
.descent p:not(.descent__title) { color: var(--ink-soft); }
.descent__line { display: none; }

.journey__end { display: grid; gap: 16px; justify-items: start; max-width: 28em; }
.journey__end-title { font-family: var(--f-display); font-size: clamp(34px, 4vw, 56px); line-height: 1.05; color: var(--tea); }
.journey__end p:not(.journey__end-title) { color: var(--ink-soft); }

.altimeter, .journey__progress { display: none; }

/* Horizontal mode */
.journey.is-horizontal { background: var(--sand); }
.journey.is-horizontal .journey__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  padding: 0;
  overflow: hidden;
}
.journey.is-horizontal .journey__track {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(56px, 6vw, 112px);
  max-width: none;
  width: max-content;
  height: 100%;
  margin: 0;
  padding: calc(var(--nav-h) + 16px) 10vw 96px var(--gutter);
  will-change: transform;
}
.journey.is-horizontal .journey__intro { width: min(520px, 40vw); flex: none; }
.journey.is-horizontal .journey__hint { display: inline-flex; }
.journey.is-horizontal .chapter {
  flex: none;
  width: max-content;
  min-width: 240px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 32px;
}
.journey.is-horizontal .stop {
  flex: none;
  --h: calc(100svh - var(--nav-h) - 320px);
  width: calc(var(--h) * var(--ratio, 0.75));
  max-width: var(--max-w, 380px);
}
.journey.is-horizontal .stop--wide { --ratio: 1.333; --max-w: 560px; }
.journey.is-horizontal .stop--portrait { --ratio: 0.643; --max-w: 330px; }
.journey.is-horizontal .stop--text { width: clamp(300px, 26vw, 380px); max-width: none; }
.journey.is-horizontal .stop--high { transform: translateY(-3vh); }
.journey.is-horizontal .stop--low { transform: translateY(4vh); }
.journey.is-horizontal .stop__media img { width: 114%; max-width: none; margin-left: -7%; }

.journey.is-horizontal .descent {
  flex: none;
  width: clamp(320px, 30vw, 460px);
  position: relative;
  padding: 0;
}
.journey.is-horizontal .descent__line {
  display: block;
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--gold), rgba(176, 138, 62, 0));
}
.journey.is-horizontal .journey__end { flex: none; width: clamp(300px, 28vw, 420px); }

.journey.is-horizontal .altimeter {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.altimeter__track { position: relative; width: 1px; background: var(--gold); }
.altimeter__dot {
  position: absolute;
  left: -4px; bottom: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--tea);
}
.altimeter__read { font-family: var(--f-display); font-size: 26px; line-height: 1.1; color: var(--tea); font-variant-numeric: tabular-nums; }
.altimeter__place { font-size: 14px; color: var(--ink-soft); }

.journey.is-horizontal .journey__progress {
  position: absolute;
  display: block;
  left: calc(var(--gutter) + 200px);
  right: var(--gutter);
  bottom: 48px;
  height: 1px;
  background: var(--line);
}
.journey__progress span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

/* Practice (a day at the retreat) --------------------------------------- */

.practice { background: var(--kasavu); padding: var(--section) 0; }

.practice__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
}

.practice__visual {
  position: sticky;
  top: calc(var(--nav-h) + 5vh);
  align-self: start;
  height: calc(100svh - var(--nav-h) - 10vh);
  max-height: 820px;
}

/* An arched frame, like the windows of Kerala's old churches and temple halls */
.practice__arch {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 999px 999px 4px 4px;
  background: var(--kasavu-deep);
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 10px var(--kasavu), 0 0 0 11px rgba(176, 138, 62, 0.5);
}
.practice__arch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}
.practice__arch img.is-active { opacity: 1; transform: scale(1); }

.practice__content { display: grid; gap: 28px; align-content: start; }

.steps { list-style: none; margin: 24px 0 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 20px;
  row-gap: 8px;
  align-content: start;
  padding: clamp(40px, 12vh, 120px) 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.6s var(--ease);
}
.step__icon { grid-row: 1 / 3; width: 36px; height: 36px; color: var(--gold); }
.step h3 { font-size: clamp(28px, 2.6vw, 38px); }
.step p { grid-column: 2; color: var(--ink-soft); max-width: 32em; }
.practice.is-enhanced .step:not(.is-active) { opacity: 0.4; }

.note { font-size: 15px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 20px; }

@media (max-width: 900px) {
  .practice__grid { grid-template-columns: 1fr; }
  .practice__visual { position: relative; top: 0; height: min(78vw, 520px); }
  .practice__arch img:not(:first-child) { display: none; }
  .practice__arch img:first-child { opacity: 1; transform: none; }
  .practice.is-enhanced .step:not(.is-active) { opacity: 1; }
  .step { padding: 36px 0; }
}

/* Icon list (services) -------------------------------------------------- */

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}
.icon-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 16px;
  row-gap: 4px;
  align-content: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.icon-list .icon { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.icon-list h3 { font-size: 22px; }
.icon-list p { grid-column: 2; font-size: 16px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .icon-list { grid-template-columns: 1fr; }
}

/* Feature rows (services) ----------------------------------------------- */

.feature { padding: var(--section) 0; }
.feature--alt { background: var(--kasavu-deep); }

.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.feature__media { margin: 0; display: grid; gap: 10px; }
.feature__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.feature__media figcaption { font-size: 14px; color: var(--ink-soft); }
.feature__text { display: grid; gap: 24px; align-content: center; }
.feature__text > p { color: var(--ink-soft); max-width: 34em; }
.feature__text .lead { color: var(--ink); }

.included-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.included-grid__media { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: end; }
.included-grid__media figure { margin: 0; display: grid; gap: 10px; }
.included-grid__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }
.included-grid__media figure:last-child { margin-bottom: 18%; }
.included-grid__media figcaption { font-size: 14px; color: var(--ink-soft); }

.by-place { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 96px); }
.by-place__col { display: grid; gap: 20px; align-content: start; }
.by-place__col figure { margin: 0; }
.by-place__col img { width: 100%; object-fit: cover; border-radius: 3px; }
.by-place__col h3 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1; }
.by-place__col .ticks { font-size: 17px; }

.more-note {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 32px;
  border-top: 1px solid var(--gold);
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.3;
  color: var(--tea);
  max-width: 30em;
}

@media (max-width: 900px) {
  .feature__grid, .included-grid, .by-place { grid-template-columns: 1fr; }
  .feature__media { max-width: 520px; }
}

/* Guides ---------------------------------------------------------------- */

.guides { padding: var(--section) 0; background: var(--kasavu-deep); }

.guides__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}

.guides__photo { margin: 0; position: sticky; top: calc(var(--nav-h) + 4vh); display: grid; gap: 12px; }
.guides__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 3px; }
.guides__photo figcaption, .guides__inset figcaption { font-size: 14px; color: var(--ink-soft); }

.guides__text { display: grid; gap: 28px; }
.guides__text > p:not(.lead) { color: var(--ink-soft); max-width: 36em; }
.guides__text .lead { font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); line-height: 1.45; color: var(--tea); max-width: 30em; }

.facts { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--gold); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.facts strong { font-weight: 500; color: var(--tea); }

.guides__inset { margin: 24px 0 0; width: min(62%, 340px); justify-self: end; display: grid; gap: 10px; }
.guides__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; }

@media (max-width: 900px) {
  .guides__grid { grid-template-columns: 1fr; }
  .guides__photo { position: relative; top: 0; }
  .guides__inset { width: 70%; }
}

/* Moments --------------------------------------------------------------- */

.moments { padding: var(--section) 0; overflow: hidden; }

.moments__rows {
  display: grid;
  gap: 14px;
  overflow-x: auto;
  padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.motion .moments__rows { overflow: visible; padding-inline: 0; }

.moments__row { display: flex; gap: 14px; width: max-content; }
.moments__row img {
  height: clamp(220px, 26vw, 380px);
  width: auto;
  object-fit: cover;
  border-radius: 3px;
  background: var(--kasavu-deep);
}

/* Pricing --------------------------------------------------------------- */

.pricing { background: var(--kasavu-deep); padding-bottom: var(--section); }
.pricing .kasavu { margin-bottom: var(--section); }

.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.pricing__intro { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 5vh); }
.pricing__intro > p:not(.lead) { color: var(--ink-soft); max-width: 30em; }
.pricing__intro .ticks { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }

.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "info price" "action action";
  gap: 20px 32px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--kasavu);
}
.offer--feature {
  background: var(--ivory);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 4px var(--ivory), inset 0 0 0 5px rgba(176, 138, 62, 0.45);
}
.offer__info { grid-area: info; display: grid; gap: 8px; }
.offer__info h3 { font-size: clamp(28px, 2.6vw, 36px); }
.offer__info p { color: var(--ink-soft); font-size: 16px; max-width: 26em; }
.offer__price { grid-area: price; text-align: right; }
.offer__amount { font-family: var(--f-display); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; color: var(--tea); font-variant-numeric: tabular-nums; }
.offer__per { font-family: var(--f-body); font-size: 16px; color: var(--ink-soft); }
.offer__was { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.offer__save { color: var(--gold-ink); font-weight: 500; margin-left: 6px; }
.offer .btn { grid-area: action; justify-self: start; }

@media (max-width: 900px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__intro { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .offer { grid-template-columns: 1fr; grid-template-areas: "info" "price" "action"; }
  .offer__price { text-align: left; }
  .offer .btn { justify-self: stretch; }
}

/* FAQ ------------------------------------------------------------------- */

.faq { padding: var(--section) 0; }

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__intro { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 5vh); }
.faq__intro p { color: var(--ink-soft); max-width: 24em; }

.faq__groups { display: grid; gap: clamp(48px, 6vw, 72px); }
.faq__group h3 { font-size: 15px; font-family: var(--f-body); font-weight: 500; color: var(--gold-ink); letter-spacing: 0.02em; margin-bottom: 8px; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  position: relative;
  display: block;
  padding: 20px 48px 20px 0;
  font-family: var(--f-display);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  color: var(--tea);
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before, summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 16px; height: 1px;
  background: var(--gold-ink);
  transition: transform 0.35s var(--ease);
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
summary:hover { color: var(--tea-soft); }
details p { padding: 0 48px 24px 0; color: var(--ink-soft); max-width: 40em; }

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: relative; top: 0; }
}

/* Contact / booking ----------------------------------------------------- */

.book { padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 var(--section); }

.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.book__visual {
  position: sticky;
  top: calc(var(--nav-h) + 4vh);
  margin: 0;
  height: calc(100svh - var(--nav-h) - 8vh);
  max-height: 860px;
  min-height: 520px;
  overflow: hidden;
  border-radius: 999px 999px 4px 4px;
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 10px var(--kasavu), 0 0 0 11px rgba(176, 138, 62, 0.5);
}
.book__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }

.book__panel { display: grid; gap: 24px; align-content: start; }
.book__panel .page-hero__title { font-size: clamp(56px, 8vw, 120px); }

.form { display: grid; gap: 22px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field label { font-size: 15px; color: var(--ink-soft); }
.field__optional { color: var(--ink-soft); opacity: 0.8; font-size: 14px; margin-left: 6px; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(35, 57, 43, 0.4);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 18px/1.4 var(--f-body);
  transition: border-color 0.3s var(--ease);
  appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--tea) 50%), linear-gradient(135deg, var(--tea) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8a8c83; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--tea); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--gold-ink);
  box-shadow: 0 2px 0 0 var(--gold-ink);
}
.field [aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 2px 0 0 var(--error); }
.field__error { font-size: 15px; color: var(--error); }

.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__status { font-size: 15px; color: var(--tea); min-height: 1.5em; }

.contact {
  list-style: none;
  margin: 12px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--gold);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  font-size: 16px;
}
.contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.contact .icon { color: var(--gold); margin-top: 3px; }
.contact a { color: var(--tea); }

@media (max-width: 900px) {
  .book__grid { grid-template-columns: 1fr; }
  .book__visual { position: relative; top: 0; height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 520px; width: min(100%, 460px); }
}
@media (max-width: 560px) {
  .field-row, .contact { grid-template-columns: 1fr; }
  .form__actions .btn { flex: 1 1 100%; }
}

/* Gallery --------------------------------------------------------------- */

.gallery { padding: 0 0 var(--section); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 48px); }
.filter {
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid rgba(35, 57, 43, 0.3);
  border-radius: 999px;
  background: transparent;
  color: var(--tea);
  font: 500 15px/1.2 var(--f-body);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter:hover { border-color: var(--tea); }
.filter[aria-pressed="true"] { background: var(--tea); border-color: var(--tea); color: var(--ivory); }

.masonry { columns: 3 280px; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin: 0 0 16px; }
.masonry__item[hidden] { display: none; }
.masonry__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--kasavu-deep);
  cursor: zoom-in;
}
.masonry__btn img { width: 100%; height: auto; transition: transform 0.9s var(--ease); }
.masonry__btn:hover img { transform: scale(1.03); }
.gallery__count { margin-bottom: 16px; font-size: 15px; color: var(--ink-soft); }

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(23, 33, 26, 0.96);
  color: var(--ivory);
}
.lightbox::backdrop { background: rgba(23, 33, 26, 0.6); }
.lightbox__figure {
  margin: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  gap: 12px;
  padding: 72px clamp(16px, 8vw, 96px) 24px;
}
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.lightbox__caption { max-width: 60ch; text-align: center; font-size: 15px; color: rgba(251, 247, 238, 0.85); }
.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(251, 247, 238, 0.4);
  border-radius: 999px;
  background: rgba(23, 33, 26, 0.5);
  color: var(--ivory);
  font-size: 24px;
  cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--ivory); }
.lightbox :focus-visible { outline-color: var(--ivory); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
  .lightbox__figure { padding-bottom: 84px; }
}

/* Blog ------------------------------------------------------------------ */

.posts { list-style: none; margin: 0; padding: 0 0 var(--section); display: grid; gap: clamp(56px, 7vw, 96px); }
.post-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.post-row__media { margin: 0; overflow: hidden; border-radius: 3px; }
.post-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-row:hover .post-row__media img { transform: scale(1.03); }
.post-row__body { display: grid; gap: 16px; }
.post-row h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; }
.post-row h2 a { text-decoration: none; }
.post-row h2 a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.post-row__body > p { color: var(--ink-soft); max-width: 34em; }

.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--ink-soft); }
.post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta .icon { color: var(--gold); }

.post-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(32px, 3vw, 40px); }
.post-card { display: grid; gap: 14px; align-content: start; }
.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.post-card h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); }

.journal { padding: var(--section) 0; background: var(--kasavu-deep); }

@media (max-width: 900px) {
  .post-row { grid-template-columns: 1fr; }
}

.article { padding: calc(var(--nav-h) + clamp(40px, 6vw, 88px)) 0 var(--section); }
.article__head { max-width: 860px; margin: 0 auto; display: grid; gap: 20px; }
.article__head h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.015em; }
.article__head .lead { color: var(--ink-soft); }
.article__figure { max-width: 1120px; margin: clamp(40px, 5vw, 64px) auto; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }

.prose { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 56px; font-size: clamp(30px, 3vw, 40px); line-height: 1.12; }
.prose h2 + * { margin-top: 16px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--tea); text-decoration-color: var(--gold); }
.prose strong { font-weight: 500; color: var(--tea); }

.article__cta {
  max-width: 680px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 16px;
  justify-items: start;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--ivory);
  box-shadow: inset 0 0 0 4px var(--ivory), inset 0 0 0 5px rgba(176, 138, 62, 0.35);
}
.article__cta h2 { font-size: clamp(30px, 3vw, 40px); }
.article__cta p { color: var(--ink-soft); }

.more-posts { max-width: 1120px; margin: var(--section) auto 0; }
.more-posts h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 32px; }

/* Call to action band --------------------------------------------------- */

.cta-band { padding: var(--section) 0; }
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: end;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--gold);
}
.cta-band h2 { font-size: clamp(44px, 6vw, 92px); line-height: 1; }
.cta-band__side { display: grid; gap: 24px; }
.cta-band__side p { color: var(--ink-soft); max-width: 30em; }

@media (max-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

/* Footer ---------------------------------------------------------------- */

.footer { background: var(--kasavu-deep); padding-bottom: 32px; }
.footer .kasavu { margin-bottom: clamp(56px, 7vw, 96px); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr));
  gap: 40px;
  align-items: start;
}
.footer__logo { width: min(100%, 300px); height: auto; margin-top: -12px; }
.footer__title { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.footer__nav { display: grid; gap: 6px; }
.footer__nav a, .footer__contact a { color: var(--tea); text-decoration: none; }
.footer__nav a:hover, .footer__contact a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.footer__dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--tea); }
.footer__contact { font-style: normal; color: var(--ink-soft); line-height: 1.8; }
.footer__sister { margin-top: 18px; max-width: 42ch; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.footer__sister a { color: var(--tea); text-decoration: none; }
.footer__sister a:hover { text-decoration: underline; text-decoration-color: var(--gold); }

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.footer__base a { color: var(--tea); }

@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Reduced motion -------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__img { translate: none !important; }
}

/* Additions for inner pages ---------------------------------------------- */

.motion [data-page-title] { visibility: hidden; }
.motion .page-hero__media img,
.motion .book__visual img { opacity: 0; }

.masonry { list-style: none; margin: 0; padding: 0; }
.post-row__media { display: block; }
.post-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.by-place__col img { aspect-ratio: 4 / 5; max-height: 720px; }

/* Legal pages and small print -------------------------------------------- */

.page-hero__title--compact { font-size: clamp(48px, 7vw, 104px); }
.page-hero .post-meta { margin-top: 20px; }
.legal { padding-bottom: var(--section); }
.prose--left { margin: 0; }

.form__note { font-size: 14px; color: var(--ink-soft); }
.form__note a { color: var(--tea); }

.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }

.date-row__offer { margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--gold-ink); }
.date-row__offer.is-ended { font-weight: 400; color: var(--ink-soft); }

@media (max-width: 420px) {
  .nav__logo { width: 40px; height: 40px; }
  .nav__name { font-size: 16px; letter-spacing: 0.1em; }
}

.prose ol { padding-left: 1.2em; }
.prose ol li::marker { color: var(--gold-ink); font-variant-numeric: tabular-nums; }
