/* The Sanctuary — walk-in page.
   Tokens (PROPOSED register, from the house itself). */
:root {
  --bone: #f7f2e8;
  --sand: #e9e0cc;
  --sand-deep: #d5c8a8;
  --timber: #8a5a33;
  --palm: #2c4a36;
  --ink: #26221b;
  --ink-soft: #5c5546;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Karla", "Avenir Next", "Segoe UI", sans-serif;

  --ease-drift: cubic-bezier(0.22, 0.61, 0.21, 1);
  --dur-slow: 1.4s;
  --dur-med: 0.9s;

  --gutter: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone);
  padding: 0.6rem 1rem; z-index: 50; font-family: var(--sans);
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

a { color: var(--palm); }
:focus-visible { outline: 2px solid var(--palm); outline-offset: 3px; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--timber);
  margin: 0 0 1rem;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}
.support {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--ink-soft);
  margin: 1.25rem 0 0;
  max-width: 26em;
}

/* word-by-word drift: soft fade + blur, no clipping edge anywhere */
.line { display: block; }
.line .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(7px);
  transition:
    opacity var(--dur-slow) ease,
    transform var(--dur-slow) var(--ease-drift),
    filter var(--dur-slow) ease;
}
.in .line .w, .loaded .line .w { opacity: 1; transform: translateY(0); filter: blur(0); }
.line .w:nth-child(2) { transition-delay: 0.09s; }
.line .w:nth-child(3) { transition-delay: 0.18s; }
.line .w:nth-child(4) { transition-delay: 0.27s; }
.line + .line .w { transition-delay: 0.22s; }
.line + .line .w:nth-child(2) { transition-delay: 0.31s; }
.line + .line .w:nth-child(3) { transition-delay: 0.4s; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem var(--gutter);
  background: rgba(247, 242, 232, 0.92);
  border-bottom: 1px solid rgba(38, 34, 27, 0.07);
  transform: translateY(-110%);
  transition: transform 0.5s var(--ease-drift),
    background 0.5s ease, border-color 0.5s ease;
}
.topbar.show { transform: translateY(0); }
/* over the hero: no bar, just quiet bone type on the image */
.topbar--clear { background: transparent; border-bottom-color: transparent; }
.topbar--clear .topbar-mark,
.topbar--clear .topbar-nav a:not(.topbar-cta) {
  color: var(--bone);
  text-shadow: 0 1px 14px rgba(20, 24, 16, 0.5);
}
.topbar--clear .topbar-nav a:not(.topbar-cta):hover { color: var(--sand); }
.topbar-mark { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: 0.02em; }
.topbar-cta {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bone); background: var(--palm);
  padding: 0.55rem 1.1rem; border-radius: 999px; text-decoration: none;
  transition: background 0.3s ease, transform 0.3s var(--ease-drift);
}
.topbar-cta:hover { background: #223a2a; transform: translateY(-1px); }

/* ---------- hero: a fixed backdrop the walk rises over ---------- */
.hero {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100svh;
  z-index: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-spacer { height: 100svh; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background: var(--bone);
  opacity: 0;
  pointer-events: none;
}
.hero-img-wrap { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
  opacity: 0;
  transition: opacity 1.8s ease, transform 7s var(--ease-drift);
}
.loaded .hero-img { opacity: 1; transform: scale(1.02); }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 24, 16, 0.25), rgba(20, 24, 16, 0) 35%),
    linear-gradient(to top, rgba(20, 24, 16, 0.55), rgba(20, 24, 16, 0) 55%);
}
.hero-words {
  position: relative; z-index: 2;
  text-align: center; color: var(--bone);
  padding: 0 var(--gutter);
  text-shadow: 0 1px 22px rgba(20, 24, 16, 0.55);
}
.hero-eyebrow {
  color: var(--sand);
  opacity: 0;
  transition: opacity 1.2s ease 1s;
}
.loaded .hero-eyebrow { opacity: 1; }
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.01em;
}
.hero-title .w { transition-duration: 1.8s; }
.hero-title .w:nth-child(2) { transition-delay: 0.22s; }
.hero-sub {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin: 1.2rem 0 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity 1.4s ease 1.3s, transform 1.4s var(--ease-drift) 1.3s;
}
.loaded .hero-sub { opacity: 1; transform: none; }
.hero-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; text-decoration: none; color: var(--bone);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0; transition: opacity 1.2s ease 2s;
}
.loaded .hero-cue { opacity: 1; }
.cue-text {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
}
.cue-line {
  width: 1px; height: 3rem; background: var(--bone); transform-origin: top;
  animation: cue 2.6s var(--ease-drift) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 0.9; }
  100% { transform: scaleY(1) translateY(1.5rem); opacity: 0; }
}

/* ---------- the journey ---------- */
/* the ground warms as you walk deeper, arriving at the sand of Stay */
.journey {
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, var(--bone) 0%, var(--bone) 55%, var(--sand) 100%);
  /* the curtain's arched leading edge, rising over the hero */
  margin-top: -84px;
  border-radius: 50% 50% 0 0 / 84px 84px 0 0;
  box-shadow: 0 -26px 60px -20px rgba(20, 24, 16, 0.35);
}
.walk { position: relative; }
.path {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.path #trail {
  fill: none;
  stroke: var(--timber);
  stroke-opacity: 0.34;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.path .stones ellipse {
  fill: var(--timber);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.path .stones ellipse.set { animation: stone-settle 1.1s var(--ease-drift) forwards; }
@keyframes stone-settle {
  0% { opacity: 0; transform: scale(0.3) translateY(4px); }
  60% { opacity: 0.34; transform: scale(1.12) translateY(0); }
  100% { opacity: 0.28; transform: scale(1); }
}

/* ---------- scenes ---------- */
.scene {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 1rem;
  padding: clamp(6rem, 14vh, 10rem) var(--gutter);
  max-width: 82rem;
  margin: 0 auto;
}
.scene-words { grid-row: 1; }
.scene--left .scene-words  { grid-column: 1 / 6; }
.scene--left .scene-figure { grid-column: 7 / 13; }
.scene--right .scene-words  { grid-column: 8 / 13; grid-row: 1; }
.scene--right .scene-figure { grid-column: 1 / 7; grid-row: 1; }

.scene-figure { margin: 0; }
.frame {
  overflow: hidden;
  border-radius: 2px;
}
/* the walk's images wear the house's own silhouette: a soft arch */
.scene > .scene-figure .frame { border-radius: 999px 999px 2px 2px; }
/* images settle into place: fade + rise + a slow easing of the zoom, no wipe edge */
.scene-figure.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.1s ease var(--d, 0s),
    transform 1.4s var(--ease-drift) var(--d, 0s);
}
.scene-figure.reveal.in { opacity: 1; transform: translateY(0); }
.frame .plx { will-change: transform; }
.frame img {
  aspect-ratio: 3 / 4;
  width: 100%; height: auto; object-fit: cover;
  transform: scale(1.24);
  transition: transform 2.2s var(--ease-drift) var(--d, 0s);
}
.scene-figure.in .frame img { transform: scale(1.14); }
.frame--dim img { filter: saturate(0.72) brightness(0.96); }

/* reveal blocks (words) */
.reveal .eyebrow, .reveal .support, .reveal .facts {
  opacity: 0; transform: translateY(14px);
  filter: blur(5px);
  transition:
    opacity 0.9s ease, transform 0.9s var(--ease-drift), filter 0.9s ease;
}
.reveal .support { transition-delay: 0.3s; }
.reveal.in .eyebrow, .reveal.in .support, .reveal.in .facts {
  opacity: 1; transform: none; filter: blur(0);
}

/* inside: diptych + small detail */
.scene--inside { display: block; max-width: 82rem; }
.scene--inside .scene-words { max-width: 34rem; margin-bottom: 3rem; }
.inside-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}
.inside-grid .scene-figure:nth-child(1) { grid-column: 1 / 6; }
.inside-grid .scene-figure:nth-child(2) { grid-column: 6 / 10; margin-top: clamp(2rem, 8vh, 5rem); }
.inside-grid .scene-figure--small { grid-column: 10 / 13; margin-top: clamp(4rem, 14vh, 9rem); }
.inside-grid .scene-figure--small img { aspect-ratio: 3 / 4; }

/* gym scene tint */
.scene--gym .eyebrow { color: var(--palm); }

/* ---------- stay ---------- */
.stay {
  position: relative;
  background: var(--sand);
  padding: clamp(6rem, 14vh, 10rem) var(--gutter) clamp(5rem, 10vh, 8rem);
}
.stay-inner {
  position: relative; z-index: 3;
  max-width: 72rem; margin: 0 auto;
}
.stay-head { max-width: 44rem; margin: 0 auto; text-align: center; }
.facts {
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 1.75rem auto 0;
  max-width: 36em;
  line-height: 2;
}
.book { margin: 2.25rem 0 0; }

/* at the door: welcome image + carved plaque beside the letter card */
.stay-grid {
  display: grid;
  /* the booking card holds the center; the plaque sits aside like a margin note */
  grid-template-columns: 1fr minmax(0, 36rem) 1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  margin-top: clamp(3rem, 7vh, 4.5rem);
  text-align: left;
}
.stay-side { grid-column: 1; justify-self: end; width: min(100%, 17.5rem); }
.stay-grid .inquire { grid-column: 2; }
.stay-side .plaque { padding: 1.2rem 1.3rem 1.4rem; }
.stay-side .plq-row { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.stay-side .plq-row dd { font-size: 0.98rem; }
/* plaque and letter card arrive one after the other */
.stay-grid > .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.3s ease, transform 1.3s var(--ease-drift);
}
.stay-grid > .reveal:nth-child(2) { transition-delay: 0.2s; }
.stay-grid > .reveal.in { opacity: 1; transform: none; }
.stay-fig { margin: 0 0 1.75rem; }
.stay-fig .frame { border-radius: 999px 999px 2px 2px; }
.stay-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.plaque {
  margin: 0;
  padding: 1.6rem 1.8rem 1.8rem;
  border-radius: 18px;
  color: var(--ink);
  background: #efe6d2;
  border: 1px solid rgba(138, 90, 51, 0.18);
}
.plq-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(38, 34, 27, 0.1);
}
.plq-row:last-child { border-bottom: 0; padding-bottom: 0; }
.plq-row dt {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--timber);
}
.plq-row dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; }
.book-note {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: var(--ink-soft); margin: 1rem 0 0;
}
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s var(--ease-drift);
}
.btn--airbnb, .btn--send { background: var(--palm); color: var(--bone); }
.btn--airbnb:hover, .btn--send:hover { background: #223a2a; transform: translateY(-2px); }
.btn--send:disabled { opacity: 0.55; cursor: default; transform: none; }

/* form: a letter card slipped under the door */
.inquire {
  text-align: left;
  background: var(--bone);
  border-radius: 26px 26px 2px 2px;
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.4rem, 3.5vw, 2.8rem) clamp(2rem, 4vw, 3.2rem);
  box-shadow: 0 30px 70px -38px rgba(38, 34, 27, 0.45);
}
.inquire-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.6rem; margin: 0 0 0.4rem; text-align: center;
}
.inquire-sub {
  font-family: var(--serif); font-style: italic;
  font-size: 1.02rem; color: var(--ink-soft);
  margin: 0 0 1.8rem; text-align: center;
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(38, 34, 27, 0.3);
  padding: 0.5rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--palm);
}
.field textarea { resize: vertical; }
.field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(38, 34, 27, 0.3);
  padding: 0.5rem 0.1rem; border-radius: 0;
}
.field select:focus { outline: none; border-bottom-color: var(--palm); }
.field-hint { font-size: 0.78rem; color: var(--ink-soft); margin: 0.4rem 0 0; }
.opt { font-weight: 400; letter-spacing: 0.08em; opacity: 0.7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* guests stepper */
.stepper { display: flex; align-items: center; gap: 0.4rem; }
.stepper input {
  width: 3rem !important; text-align: center; font-size: 1.1rem;
  border: 0 !important; background: transparent;
}
.step-btn {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid rgba(38, 34, 27, 0.3); background: transparent;
  font-size: 1.1rem; color: var(--ink); cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.step-btn:hover { border-color: var(--palm); background: rgba(44, 74, 54, 0.06); }

/* availability calendar */
.cal { margin-top: 0.4rem; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.cal-nav button {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  border: 1px solid rgba(38, 34, 27, 0.3); background: transparent;
  color: var(--ink); cursor: pointer; font-size: 1rem;
}
.cal-nav button:disabled { opacity: 0.3; cursor: default; }
.cal-label {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--ink-soft); margin: 0; text-align: center;
}
.cal-months {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  margin-top: 0.9rem;
}
.cal-mname {
  font-family: var(--serif); font-size: 1.05rem; margin: 0 0 0.5rem;
  text-align: center;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-wd {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--ink-soft); text-align: center; padding-bottom: 0.3rem;
}
.cal-day {
  aspect-ratio: 1; border: 0; border-radius: 50%;
  background: transparent; font-family: var(--sans); font-size: 0.82rem;
  color: var(--ink); cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.cal-day:hover:not(:disabled):not(.is-taken) { background: rgba(44, 74, 54, 0.1); }
.cal-day.is-past { color: rgba(38, 34, 27, 0.22); cursor: default; }
.cal-day.is-taken {
  color: rgba(38, 34, 27, 0.3); text-decoration: line-through;
  text-decoration-color: var(--timber); cursor: not-allowed;
}
.cal-day.is-in, .cal-day.is-out { background: var(--palm); color: var(--bone); }
.cal-day.is-range:not(.is-in) { background: rgba(44, 74, 54, 0.16); border-radius: 0; }
.cal-day.is-in { border-radius: 50% 0 0 50%; }
.cal-day.is-out { border-radius: 0 50% 50% 0; }
.cal-day.is-in:not(.is-range) { border-radius: 50%; }
.cal-legend {
  display: flex; align-items: center; gap: 0.5rem; justify-content: center;
  font-size: 0.75rem; color: var(--ink-soft); margin: 0.8rem 0 0;
}
.lg { width: 0.7rem; height: 0.7rem; border-radius: 50%; display: inline-block; }
.lg-free { border: 1px solid rgba(38, 34, 27, 0.4); }
.lg-taken { background: var(--sand-deep); }
@media (max-width: 560px) {
  .cal-months { grid-template-columns: 1fr; }
  .cal-months .cal-month:nth-child(2) { display: none; }
}
.hp { position: absolute; left: -9999px; }
.inquire .btn--send { display: block; margin: 2rem auto 0; }
.form-status {
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem;
  min-height: 1.6em;
  margin: 1rem 0 0;
}
.form-status.err { color: #7c2d12; }

/* ---------- subpages (gallery, getting here) ---------- */
.subpage { padding-top: 3.5rem; }
.subpage .topbar { transform: none; }
.topbar-nav { display: flex; align-items: center; gap: clamp(0.9rem, 3vw, 2rem); }
.topbar-nav a {
  position: relative;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: color 0.4s ease;
}
.topbar-nav a:not(.topbar-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-drift);
}
.topbar-nav a:not(.topbar-cta):hover::after,
.topbar-nav a[aria-current]::after { transform: scaleX(1); }
.topbar-nav a:hover { color: var(--palm); }
.topbar-nav a[aria-current="page"] { color: var(--timber); }
.topbar-nav .topbar-cta { color: var(--bone); }
.topbar-nav .topbar-cta:hover { color: var(--bone); }
a.topbar-mark { color: var(--ink); text-decoration: none; }

/* a carved-wood band: deep timber ground, faint plank grain, bone type */
.pagehead {
  text-align: center;
  padding: clamp(4.5rem, 10vh, 7.5rem) var(--gutter) clamp(3rem, 7vh, 4.5rem);
  color: var(--bone);
  background:
    repeating-linear-gradient(178deg,
      rgba(247, 242, 232, 0.03) 0 2px, transparent 2px 9px,
      rgba(15, 11, 6, 0.06) 9px 11px, transparent 11px 21px),
    radial-gradient(130% 100% at 50% -10%, #4c3a26 0%, #382b1c 62%, #2f2417 100%);
}
.pagehead-inner { max-width: 46rem; margin: 0 auto; }
.pagehead .display { color: var(--bone); }
.pagehead .eyebrow { color: var(--sand-deep); }
.pagehead .support { margin-left: auto; margin-right: auto; color: var(--sand); }

/* gallery */
.gallery {
  max-width: 82rem; margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) var(--gutter) 4rem;
}
.g-group { margin: 0 0 clamp(3.5rem, 8vh, 6rem); }
.g-title { margin: 0 0 2rem; border-bottom: 1px solid rgba(38, 34, 27, 0.12); padding-bottom: 0.8rem; }
.g-title .eyebrow { margin: 0; }
.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}
.g-item {
  margin: 0; overflow: hidden; border-radius: 2px; cursor: zoom-in;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.9s ease var(--d, 0s), transform 1.1s var(--ease-drift) var(--d, 0s);
}
.g-item.in { opacity: 1; transform: none; }
.g-item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block;
  transition: transform 1.6s var(--ease-drift);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); }
.g-coming {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.15rem; color: var(--ink-soft); max-width: 34em;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-drift);
}
.g-coming.in, .reveal.in .g-coming { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(38, 34, 27, 0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 3vh 3vw;
}
.lightbox img { max-width: 92vw; max-height: 90vh; width: auto; border-radius: 2px; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.4rem;
  font-size: 2.2rem; line-height: 1;
  background: none; border: 0; color: var(--bone); cursor: pointer;
}

/* getting here */
.journey-page { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.j-row {
  display: grid; grid-template-columns: repeat(12, 1fr);
  align-items: center; gap: 1rem;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
}
.j-row .j-words { grid-column: 1 / 6; grid-row: 1; }
.j-row .j-figure { grid-column: 7 / 13; grid-row: 1; }
.j-row--flip .j-words { grid-column: 8 / 13; }
.j-row--flip .j-figure { grid-column: 1 / 7; }
.j-display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12;
  margin: 0; text-wrap: balance;
}
.j-figure { margin: 0; }
.j-figure figcaption {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.7rem;
}
.j-row.reveal, .map-band.reveal, .facts-band.reveal, .g-title.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 1s ease, transform 1.1s var(--ease-drift);
}
.j-row.reveal.in, .map-band.reveal.in, .facts-band.reveal.in, .g-title.reveal.in {
  opacity: 1; transform: none;
}
.subpage .reveal .eyebrow, .subpage .reveal .support { opacity: 1; transform: none; filter: none; transition: none; }

.map-band { text-align: center; padding: clamp(2.5rem, 7vh, 5rem) 0 1rem; }
.handmap { width: min(100%, 44rem); height: auto; }
.hm-road, .hm-walk {
  fill: none; stroke: var(--timber); stroke-opacity: 0.55;
  stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 7;
}
.hm-walk { stroke: var(--palm); stroke-opacity: 0.6; }
.hm-dot { fill: var(--timber); opacity: 0.55; }
.hm-dot--home { fill: var(--palm); opacity: 0.9; }
.hm-label {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-soft);
  text-anchor: middle;
}
.hm-label--home { fill: var(--palm); }
.map-note {
  font-family: var(--serif); font-style: italic; color: var(--ink-soft);
  margin: 0.8rem 0 0;
}
.facts-band { text-align: center; padding: 1.5rem 0 3.5rem; }
.facts-band .facts { margin-top: 0; }

.cta-band {
  background: var(--sand);
  text-align: center;
  padding: clamp(4rem, 9vh, 6.5rem) var(--gutter);
}
.cta-band .btn { margin-top: 2rem; display: inline-block; }

@media (max-width: 760px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .j-row { display: block; }
  .j-row .j-words { margin-bottom: 1.5rem; }
  .topbar-nav { gap: 0.8rem; }
  .topbar-nav a { font-size: 0.62rem; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .g-item, .g-coming, .j-row.reveal, .map-band.reveal, .facts-band.reveal, .g-title.reveal {
    transition: none !important; transform: none !important; opacity: 1 !important;
  }
}

/* ---------- footer ---------- */
/* page transitions: fade-through between pages.
   Opacity only — a transform on body would re-anchor the fixed hero/topbar. */
html.pt-ready body { animation: pt-in 0.7s ease; }
html.pt-out body { opacity: 0; transition: opacity 0.26s ease; }
@keyframes pt-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html.pt-ready body { animation: none; }
  html.pt-out body { opacity: 1; transition: none; }
}

.foot {
  position: relative; z-index: 1;
  background: var(--ink);
  color: var(--sand);
  text-align: center;
  padding: 3.5rem var(--gutter);
}
.foot-mark { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 0.4rem; }
.foot-line { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; opacity: 0.7; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .scene { display: block; padding-top: 5rem; padding-bottom: 5rem; }
  .scene-words { margin-bottom: 2rem; }
  .inside-grid { display: block; }
  .inside-grid .scene-figure { margin: 0 0 1.5rem; }
  .inside-grid .scene-figure:nth-child(2) { margin-top: 0; margin-left: 12%; }
  .inside-grid .scene-figure--small { max-width: 55%; margin-left: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stay-grid { display: grid; grid-template-columns: 1fr; }
  .stay-grid .inquire { grid-column: 1; order: 1; }
  .stay-side { grid-column: 1; order: 2; justify-self: stretch; width: 100%; margin-top: 2rem; }
  .path { opacity: 0.55; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line .w, .hero-img, .hero-sub, .hero-eyebrow, .hero-cue,
  .reveal .eyebrow, .reveal .support, .reveal .facts,
  .scene-figure.reveal, .frame img, .topbar {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .cue-line { animation: none; }
  .path #trail { stroke-dashoffset: 0 !important; stroke-dasharray: none !important; }
  .path .stones ellipse { animation: none !important; opacity: 0.28; }
  .stay-grid > .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero-veil { opacity: 0 !important; }
}
