/* ═══════════════════════════════════════════════════════════════════════════
   vE homepage sections (motion in /ve/home.js)
═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Hero ──────────────────────────────────────────────────────────── */
/* One message over the film: GALAHA along the foot, the line and the Sinhala name on the left above it,
   availability on the right. Everything sits on a low band of shade so the film stays clear above. */
.vh-hero { --vh-title: min(21.5vw, 33vh); position: relative; height: 100vh; height: 100svh; min-height: 620px; background: var(--ve-forest-deep); color: var(--ve-cream); overflow: hidden; }
.vh-hero__frame { position: absolute; inset: 0; will-change: clip-path; }
.vh-hero__media { position: absolute; inset: 0; overflow: hidden; background: #0e2016 url('/media/hero-estate-poster.webp') center / cover no-repeat; }
@media (max-aspect-ratio: 1/1) { .vh-hero__media { background-image: url('/media/hero-estate-poster-portrait.webp'); } }
/* Scaled a little past the frame so the pointer drift never shows an edge */
.vh-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
/* Exposure pull: the film is a little dim and muted through the preloader's arch and comes up to full light as the page arrives */
html.ve-motion .vh-hero__video { filter: brightness(.72) saturate(.8); transition: filter 2.6s cubic-bezier(.22, 1, .36, 1) .1s; }
html.ve-motion .vh-hero.is-in .vh-hero__video { filter: none; }
.vh-hero__shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4, 12, 8, .55) 0%, rgba(4, 12, 8, .05) 24%, rgba(4, 12, 8, 0) 46%, rgba(4, 12, 8, .5) 72%, rgba(4, 12, 8, .9) 100%), radial-gradient(120% 80% at 50% 40%, transparent 60%, rgba(4, 12, 8, .4) 100%); }
.vh-hero__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.vh-hero__ui a, .vh-hero__ui button { pointer-events: auto; }
.vh-hero__top { position: absolute; left: 0; right: 0; top: calc(var(--ve-header-h) + 16px); display: flex; justify-content: center; font-size: 12px; }
.vh-hero__top:empty { display: none; }
.vh-hero__top .ve-notice { max-width: min(640px, 100%); padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(7, 19, 14, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(245, 241, 233, .12); }
.vh-hero__top .ve-notice__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The foot sits just above GALAHA, whatever the screen's width */
.vh-hero__foot { position: absolute; left: 0; right: 0; bottom: calc(var(--vh-title) * .8 + clamp(22px, 3.4vh, 44px)); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.vh-hero__eyebrow { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; }
.vh-hero__eyebrow .ve-si { font-size: clamp(22px, 2vw, 30px); color: var(--ve-gold-light); }
.vh-hero__eyebrow .ve-label { font-size: 12px; opacity: .8; }
.vh-hero__now::before { content: '\00b7'; margin: 0 .7em; opacity: .7; }
.vh-hero__tagline { margin: 0; font-family: var(--ve-serif); font-style: italic; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.18; text-shadow: 0 2px 22px rgba(0, 0, 0, .35); }
.vh-line { display: block; overflow: hidden; padding: 0 .06em .1em 0; margin-bottom: -.1em; }
.vh-line > span { display: inline-block; }
.vh-hero__book { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }
.vh-hero__avail { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 18px; padding: 8px 8px 8px 26px; border-radius: 999px; background: rgba(245, 241, 233, .1); border: 1px solid rgba(245, 241, 233, .32); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .45s, border-color .45s, color .45s, gap .6s var(--ve-ease); }
.vh-hero__avail:hover, .vh-hero__avail:focus-visible { background: var(--ve-cream); border-color: var(--ve-cream); color: var(--ve-forest-deep); gap: 26px; }
.vh-hero__avail:focus-visible { outline: 2px solid var(--ve-gold); outline-offset: 3px; }
.vh-hero__avail .ve-label { font-size: 12px; }
.vh-hero__avail-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ve-gold); color: var(--ve-forest-deep); font-size: 15px; transition: transform .6s var(--ve-ease); }
.vh-hero__avail:hover .vh-hero__avail-arrow { transform: rotate(-45deg); }
.vh-hero__direct { max-width: 25em; margin: 0; text-align: right; font-family: var(--ve-serif); font-style: italic; font-size: 15px; line-height: 1.45; color: rgba(245, 241, 233, .86); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
/* Scroll cue on the right edge, halfway down */
.vh-hero__scroll { position: absolute; right: var(--ve-gutter); top: 34%; display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; opacity: .75; transform: translateY(-50%); transition: opacity .3s; }
.vh-hero__scroll:hover { opacity: 1; }
.vh-hero__scroll .ve-label { font-size: 11px; writing-mode: vertical-rl; letter-spacing: .3em; }
.vh-hero__scroll-line { position: relative; width: 1px; height: 64px; background: rgba(245, 241, 233, .25); overflow: hidden; }
.vh-hero__scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ve-gold-light); animation: vhScrollCue 2.2s var(--ve-ease-in-out) infinite; }
@keyframes vhScrollCue { to { top: 100%; } }
.vh-hero__title {
  position: absolute; left: 0; right: 0; bottom: clamp(10px, 2vh, 24px); z-index: 3; margin: 0; padding: 0 calc(var(--ve-gutter) * .6);
  display: flex; justify-content: space-between; font-family: var(--ve-display); font-weight: 400;
  font-size: var(--vh-title); line-height: .74; letter-spacing: 0; color: var(--ve-cream); pointer-events: none;
  text-shadow: 0 10px 60px rgba(0, 0, 0, .25);
}
/* Each letter rises inside its own mask */
.vh-hero__title span { display: inline-block; will-change: transform; }
html.ve-motion .vh-hero__title { -webkit-clip-path: inset(-30% -50% 0 -50%); clip-path: inset(-30% -50% 0 -50%); }
html.ve-motion .vh-hero__title span { transform: translateY(105%); }
html.ve-motion .vh-hero__top, html.ve-motion .vh-hero__eyebrow, html.ve-motion .vh-hero__book, html.ve-motion .vh-hero__scroll { opacity: 0; }
html.ve-motion .vh-line > span { transform: translateY(110%); }

/* Short screens: the cue would meet the foot */
@media (max-height: 720px) { .vh-hero__scroll { display: none; } }

@media (max-width: 760px) {
  .vh-hero__foot { flex-direction: column; align-items: flex-start; gap: 26px; bottom: calc(var(--vh-title) * .8 + 30px); }
  .vh-hero__tagline { font-size: clamp(21px, 5.9vw, 28px); }
  .vh-hero__now-where { display: none; }
  .vh-hero__book { align-items: flex-start; }
  .vh-hero__direct { text-align: left; font-size: 14px; }
  .vh-hero__scroll { display: none; }
  .vh-hero__top .ve-notice { display: none; }
}

/* ── 2. The estate statement ──────────────────────────────────────────── */
.vh-estate { position: relative; background: var(--ve-cream); padding: clamp(110px, 16vh, 200px) 0 0; }
.vh-estate__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.vh-estate__aside { color: var(--ve-forest); }
.vh-estate__photo { margin: 0; width: min(100%, 300px); aspect-ratio: 9 / 14; overflow: hidden; }
.vh-estate__photo img { width: 100%; height: 100%; object-fit: cover; }
.vh-estate__caption { margin: 14px 0 0; font-style: italic; font-size: 15px; color: var(--ve-muted); max-width: 16em; }
.vh-statement { margin: 0; font-family: var(--ve-serif); font-weight: 400; font-size: clamp(28px, 3.35vw, 54px); line-height: 1.22; letter-spacing: -.005em; color: var(--ve-forest-deep); }
.vh-statement .w { display: inline; }
html.ve-motion .vh-statement .w { opacity: .13; }
.vh-ring { position: relative; display: inline-block; color: var(--ve-gold-deep); font-style: italic; }
.vh-ring svg { position: absolute; left: -26%; top: -32%; width: 152%; height: 164%; overflow: visible; pointer-events: none; }
.vh-ring path { fill: none; stroke: var(--ve-gold); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.ve-motion .vh-ring path { stroke-dashoffset: 1; }
.vh-estate__sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 6vh, 70px); padding-top: 28px; border-top: 1px solid var(--ve-line); color: var(--ve-forest); }
.vh-estate__motto { margin: 0; font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--ve-gold-deep); }
.vh-estate__band { margin-top: clamp(90px, 13vh, 150px); opacity: .6; }
@media (max-width: 900px) {
  .vh-estate__grid { grid-template-columns: 1fr; }
  .vh-estate__photo { width: 58%; }
}

/* ── 3. Two ways to stay ──────────────────────────────────────────────── */
.vh-stay { background: var(--ve-forest-deep); color: var(--ve-cream); padding: clamp(100px, 15vh, 180px) 0 0; }
.vh-stay__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: clamp(44px, 7vh, 80px); }
.vh-stay__head .ve-kicker { color: var(--ve-gold); width: 100%; }
.vh-stay__head .ve-h2 em { color: var(--ve-gold-light); }
.vh-stay__panels { display: flex; height: clamp(560px, 88vh, 900px); gap: 2px; }
.vh-panel { position: relative; flex: 1 1 0; overflow: hidden; text-decoration: none; color: var(--ve-cream); transition: flex-grow 1.1s var(--ve-ease); isolation: isolate; }
.vh-stay__panels:hover .vh-panel { flex-grow: .75; }
.vh-stay__panels .vh-panel:hover { flex-grow: 1.45; }
.vh-panel__media { position: absolute; inset: 0; margin: 0; }
.vh-panel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ve-ease) !important; }
.vh-panel:hover .vh-panel__media img { transform: scale(1.04); }
/* The chamber photo: keep the four-poster's nets in frame, not just the guest */
.vh-panel__media--room img { object-position: 18% 50%; }
.vh-panel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 12, 8, .15) 0%, rgba(4, 12, 8, .2) 40%, rgba(4, 12, 8, .88) 100%); z-index: 1; }
.vh-panel__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(28px, 4vw, 64px); max-width: 640px; }
.vh-panel__body .ve-label { color: var(--ve-gold-light); margin-bottom: 14px; }
.vh-panel__title { margin: 0 0 14px; font-family: var(--ve-display); font-weight: 400; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.05; }
.vh-panel__text { margin: 0 0 18px; font-size: 17px; line-height: 1.55; color: rgba(245, 241, 233, .8); max-width: 30em; }
.vh-panel__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: rgba(245, 241, 233, .78);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ve-ease), opacity .6s ease, margin .8s var(--ve-ease); }
.vh-panel__list li::before { content: '—'; color: var(--ve-gold); margin-right: 10px; }
.vh-panel:hover .vh-panel__list, .vh-panel:focus-visible .vh-panel__list { max-height: 140px; opacity: 1; margin-bottom: 22px; }
.vh-panel .ve-link { color: var(--ve-gold-light); }
@media (max-width: 900px), (hover: none) {
  .vh-stay__panels { flex-direction: column; height: auto; }
  .vh-panel { min-height: 78vh; }
  .vh-stay__panels:hover .vh-panel, .vh-stay__panels .vh-panel:hover { flex-grow: 1; }
  .vh-panel__list { max-height: none; opacity: 1; margin-bottom: 22px; }
}

/* ── 4. Chambers gallery ──────────────────────────────────────────────── */
.vh-rooms { background: var(--ve-cream); color: var(--ve-forest-deep); }
.vh-rooms__pin { padding: clamp(100px, 14vh, 160px) 0 clamp(70px, 10vh, 120px); }
.vh-rooms__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-bottom: clamp(40px, 6vh, 64px); }
.vh-rooms__head .ve-kicker { color: var(--ve-forest); }
.vh-rooms__meta { display: grid; gap: 24px; justify-items: start; }
.vh-rooms__rail { width: 200px; height: 1px; background: var(--ve-line); position: relative; overflow: hidden; }
.vh-rooms__rail span { position: absolute; inset: 0; background: var(--ve-gold-deep); transform: scaleX(0); transform-origin: left; }
.vh-rooms__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--ve-gold-deep) transparent; }
.vh-room { scroll-snap-align: start; }
/* The pinned slide replaces native scrolling only when motion runs (reduced motion keeps a swipeable row) */
@media (min-width: 901px) { html.ve-motion .vh-rooms__viewport { overflow: hidden; scroll-snap-type: none; } }
.vh-rooms__track { list-style: none; margin: 0; padding: 0 var(--ve-gutter); display: flex; gap: clamp(20px, 2.4vw, 40px); width: max-content; }
.vh-room { width: clamp(260px, 26vw, 430px); flex: none; }
@media (min-width: 901px) {
  /* Pinned while the track slides: heading holds the left column, the chambers pass through the right */
  .vh-rooms__pin { box-sizing: border-box; height: 100vh; min-height: 620px; padding: calc(var(--ve-header-h) + 2vh) 0 3vh; display: grid; grid-template-columns: minmax(300px, 31vw) minmax(0, 1fr); align-items: center; }
  .vh-rooms__head { grid-template-columns: 1fr; gap: 34px; margin: 0; padding-right: clamp(24px, 3vw, 56px); max-width: none; }
  .vh-rooms__head .ve-h2 { font-size: clamp(34px, 3.5vw, 56px); }
  .vh-rooms__head .ve-lede { font-size: 17px; max-width: 22em; }
  /* Chambers fade out at the left edge as they slide past; the first one starts clear of the fade */
  .vh-rooms__viewport { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px); mask-image: linear-gradient(90deg, transparent 0, #000 40px); }
  .vh-rooms__track { padding: 0 var(--ve-gutter) 0 48px; }
  .vh-rooms__viewport { scroll-padding-left: 48px; }
  /* Width follows the screen height so photo plus caption always fit the pinned frame */
  .vh-room { width: clamp(230px, calc((100vh - 340px) * .8), 440px); }
  .vh-room--end { width: clamp(220px, calc((100vh - 340px) * .7), 360px); }
}
.vh-room a { display: block; text-decoration: none; color: inherit; }
.vh-room__media { margin: 0 0 20px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ve-paper); }
.vh-room__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.2s var(--ve-ease); }
.vh-room a:hover .vh-room__media img { transform: scale(1.06); }
.vh-room__name { margin: 8px 0 8px; font-family: var(--ve-display); font-weight: 400; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.15; }
.vh-room__text { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: var(--ve-muted); max-width: 24em; }
.vh-room__rate { margin: 0; font-family: var(--ve-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ve-gold-deep); }
.vh-room--end { display: flex; align-items: center; width: clamp(240px, 20vw, 320px); }
.vh-room__all { display: grid !important; gap: 14px; aspect-ratio: 4 / 5; width: 100%; place-content: center; border: 1px solid var(--ve-line); padding: 30px; transition: background-color .5s, color .5s; }
.vh-room__all:hover { background: var(--ve-forest-deep); color: var(--ve-cream); }
.vh-room__all-title { font-family: var(--ve-serif); font-style: italic; font-size: 28px; line-height: 1.2; }
@media (max-width: 900px) {
  .vh-rooms__head { grid-template-columns: 1fr; }
  .vh-rooms__viewport { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .vh-rooms__viewport::-webkit-scrollbar { display: none; }
  .vh-room { width: 76vw; scroll-snap-align: center; }
  .vh-room--end { width: 60vw; }
}

/* ── 5. Pekoe Trail: the walk ─────────────────────────────────────────────
   Static by default (reduced motion / no JS): heading, all four stages, the
   whole route drawn. With motion (html.ve-motion) the section pins, the land
   pans under a walker and one stage shows at a time (home.js). */
.vh-trail { position: relative; background: var(--ve-forest-deep); color: var(--ve-cream); }
.vh-trail__pin { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(100px, 15vh, 170px); --land-h: calc(100vw / 8.8889); }
.vh-trail__scenes { position: absolute; inset: 0; z-index: -2; }
.vh-trail__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.3s ease, transform 7s var(--ve-ease); }
.vh-trail__scene.is-on { opacity: 1; transform: scale(1.02); }
.vh-trail__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 12, 8, .9) 0%, rgba(4, 12, 8, .62) 36%, rgba(4, 12, 8, .38) 62%, rgba(4, 12, 8, .55) 100%), linear-gradient(90deg, rgba(4, 12, 8, .55), transparent 65%); }
.vh-trail__top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 30px 50px; align-items: start; }
.vh-trail__head .ve-kicker { color: var(--ve-gold); }
.vh-trail__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: clamp(18px, 3vh, 30px) 0 0; pointer-events: auto; }
.vh-trail__links .ve-link { color: var(--ve-gold-light); }
.vh-trail__credit { margin: 14px 0 0; font-size: 12px; letter-spacing: .04em; color: rgba(245, 241, 233, .55); }
.vh-trail__title { font-size: clamp(30px, 3.7vw, 58px); }
.vh-trail__line { display: block; transition: opacity .8s ease, transform .8s var(--ve-ease); }
em.vh-trail__line { color: var(--ve-gold-light); }
.vh-trail__hud { justify-self: end; width: min(100%, 400px); }
.vh-trail__odo { margin: 0 0 14px; display: flex; align-items: baseline; gap: 14px; }
.vh-trail__km { font-family: var(--ve-display); font-size: clamp(46px, 5.2vw, 80px); line-height: .9; color: var(--ve-gold-light); font-variant-numeric: tabular-nums; min-width: 3.3ch; }
.vh-trail__odo .ve-label { font-size: 12px; line-height: 1.7; max-width: 15em; color: rgba(245, 241, 233, .7); }
.vh-trail__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 24px; }
.vh-trail__bar i { position: relative; height: 2px; overflow: hidden; background: rgba(245, 241, 233, .18); }
.vh-trail__bar i::after { content: ''; position: absolute; inset: 0; background: var(--ve-gold); transform: scaleX(var(--f, 1)); transform-origin: left; }
.vh-trail__stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.vh-tstage .ve-num { margin: 0; color: var(--ve-gold-light); }
.vh-tstage h3 { margin: 6px 0 8px; font-family: var(--ve-display); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.15; }
.vh-tstage p:last-child { margin: 0; font-size: 16px; line-height: 1.5; color: rgba(245, 241, 233, .76); }
.vh-tstage--home h3 { color: var(--ve-gold-light); }

/* The land: three ridges in one 3600 × 405 drawing, each layer panned at its own speed */
.vh-walk { position: relative; z-index: 1; height: var(--land-h); margin-top: 40px; }
.vh-walk__layer { position: absolute; left: 0; bottom: 0; height: 100%; width: calc(var(--land-h) * 8.8889); }
.vh-walk__layer svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vh-walk__ridge-back { fill: url(#vhRidgeBack); stroke: rgba(236, 201, 140, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vh-walk__ridge-mid { fill: url(#vhRidgeMid); stroke: rgba(236, 201, 140, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vh-walk__trees { fill: #0b1e12; }
.vh-walk__ridge-front { fill: url(#vhRidgeFront); }
.vh-walk__rows path { fill: none; stroke: rgba(199, 168, 94, .16); stroke-width: 3; stroke-dasharray: 1.5 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.vh-walk__rows--mid path { stroke: rgba(199, 168, 94, .09); }
.vh-walk__rim { fill: none; stroke: rgba(236, 201, 140, .32); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.vh-walk__track { fill: none; stroke: rgba(245, 241, 233, .3); stroke-width: 1.4; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.vh-walk__trail { fill: none; stroke: var(--ve-gold-light); stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(223, 192, 128, .65)); }
.vh-walk__mist { position: absolute; left: -20%; width: 140%; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, rgba(226, 218, 200, .14), rgba(226, 218, 200, .05) 55%, transparent); animation: vhMist 22s ease-in-out infinite alternate; }
.vh-walk__mist--a { bottom: 46%; height: 55%; }
.vh-walk__mist--b { bottom: 14%; height: 40%; animation-duration: 28s; animation-direction: alternate-reverse; }
@keyframes vhMist { from { transform: translateX(-4%); } to { transform: translateX(5%); } }
@keyframes vhPulse { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }

.vh-walk__stop { position: absolute; z-index: 1; width: 0; height: 0; }
.vh-walk__stop i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ve-gold); background: var(--ve-forest-deep); transition: background-color .5s, box-shadow .5s, transform .6s var(--ve-ease); }
.vh-walk__stop b { position: absolute; left: 0; bottom: 16px; transform: translateX(-50%); white-space: nowrap; font-family: var(--ve-display); font-weight: 400; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(245, 241, 233, .72); transition: color .5s; }
.vh-walk__stop.is-reached i { background: var(--ve-gold); box-shadow: 0 0 0 6px rgba(199, 168, 94, .18); }
.vh-walk__stop.is-reached b { color: var(--ve-gold-light); }
.vh-walk__stop--home i { left: -17px; top: -17px; width: 34px; height: 34px; display: grid; place-items: center; }
.vh-walk__stop--home svg { width: 17px; height: 17px; fill: none; stroke: var(--ve-gold-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.vh-walk__stop--home b { bottom: 26px; font-size: 12px; color: var(--ve-gold-light); }
.vh-walk__stop--home.is-reached svg { stroke: var(--ve-forest-deep); }
.vh-walk__stop--home.is-here i::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--ve-gold); animation: vhPulse 2.2s ease-out infinite; }
.vh-walk__walker { display: none; position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; will-change: transform; }
.vh-walk__walker i { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, #fff7e0 0 28%, var(--ve-gold-light) 42%, rgba(223, 192, 128, 0) 72%); box-shadow: 0 0 26px 8px rgba(223, 192, 128, .42); }
.vh-walk__walker::after { content: ''; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(223, 192, 128, .7); animation: vhPulse 1.8s ease-out infinite; }

.vh-trail__after { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px 70px; align-items: start; padding-top: clamp(60px, 9vh, 100px); padding-bottom: clamp(90px, 13vh, 150px); }
.vh-trail__after .ve-lede { margin: 0; }
.vh-trail__hooks { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; color: rgba(245, 241, 233, .78); }
.vh-trail__hooks li { display: flex; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ve-line-light); }
.vh-trail__hooks li::before { content: ''; flex: none; width: 18px; height: 1px; background: var(--ve-gold); margin-top: .8em; }
.vh-trail__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.vh-trail__cta .ve-btn--gold { color: var(--ve-forest-deep); }
.vh-trail__cta .ve-link { color: var(--ve-gold-light); }

/* Motion: one screen, pinned; the walk plays out as you scroll */
html.ve-motion .vh-trail__pin { box-sizing: border-box; height: 100vh; height: 100svh; min-height: 600px; padding-top: calc(var(--ve-header-h) + 4vh); --land-h: min(28vw, 44vh); }
html.ve-motion .vh-walk { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
html.ve-motion .vh-walk__layer { will-change: transform; }
html.ve-motion .vh-walk__walker { display: block; }
html.ve-motion .vh-walk__trail { stroke-dashoffset: 1; }
html.ve-motion .vh-trail__line { opacity: .26; }
html.ve-motion .vh-trail__line.is-on { opacity: 1; }
html.ve-motion .vh-trail__bar i::after { transform: scaleX(var(--f, 0)); }
html.ve-motion .vh-trail__stages { gap: 0; }
html.ve-motion .vh-tstage { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .8s var(--ve-ease); }
html.ve-motion .vh-tstage.is-on { opacity: 1; transform: none; }
/* Without motion: heading, then all four stages across; no odometer */
html:not(.ve-motion) .vh-trail__top { grid-template-columns: 1fr; }
html:not(.ve-motion) .vh-trail__hud { justify-self: stretch; width: auto; }
html:not(.ve-motion) .vh-trail__odo, html:not(.ve-motion) .vh-trail__bar { display: none; }
html:not(.ve-motion) .vh-trail__stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 1100px) { html:not(.ve-motion) .vh-trail__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 900px) {
  .vh-trail__top { grid-template-columns: 1fr; gap: 18px; }
  .vh-trail__hud { justify-self: start; }
  .vh-trail__after { grid-template-columns: 1fr; }
  .vh-trail__hooks { grid-column: 1; grid-row: auto; }
  html:not(.ve-motion) .vh-trail__stages { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html.ve-motion .vh-trail__pin { --land-h: min(62vw, 30vh); padding-top: calc(var(--ve-header-h) + 2vh); }
  .vh-trail__title { font-size: clamp(26px, 7.4vw, 34px); }
  .vh-trail__odo { margin-bottom: 10px; }
  .vh-trail__km { font-size: 42px; }
  .vh-trail__bar { margin-bottom: 14px; }
  .vh-tstage h3 { font-size: 20px; margin: 4px 0 6px; }
  .vh-tstage p:last-child { font-size: 14.5px; }
  .vh-walk__stop b { font-size: 12px; letter-spacing: .16em; }
}

/* ── 6. Numbers ───────────────────────────────────────────────────────── */
.vh-numbers { position: relative; color: var(--ve-cream); padding: clamp(120px, 18vh, 220px) 0; overflow: hidden; isolation: isolate; }
.vh-numbers__bg { position: absolute; inset: 0; z-index: -1; }
.vh-numbers__bg img { width: 100%; height: 124%; object-fit: cover; margin-top: -12%; }
.vh-numbers__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 12, 8, .72), rgba(4, 12, 8, .86)); }
.vh-numbers__title { max-width: 12em; margin-bottom: clamp(60px, 9vh, 110px); }
.vh-numbers__title em { color: var(--ve-gold-light); }
.vh-numbers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 0; }
.vh-numbers__list > div { border-top: 1px solid rgba(199, 168, 94, .4); padding-top: 22px; }
.vh-numbers__list dt { font-family: var(--ve-display); font-size: clamp(52px, 6.4vw, 100px); line-height: 1; color: var(--ve-gold-light); font-variant-numeric: tabular-nums; }
.vh-numbers__list dt small { font-family: var(--ve-serif); font-style: italic; font-size: .38em; margin-right: .08em; }
.vh-numbers__list dd { margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: rgba(245, 241, 233, .75); max-width: 17em; }
@media (max-width: 900px) { .vh-numbers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 26px; } }

/* ── 7. Experiences hover list ────────────────────────────────────────── */
.vh-exp { position: relative; background: var(--ve-paper); color: var(--ve-forest-deep); padding: clamp(110px, 16vh, 190px) 0 clamp(90px, 13vh, 150px); }
.vh-exp__head { margin-bottom: clamp(40px, 6vh, 70px); }
.vh-exp__head .ve-kicker { color: var(--ve-forest); }
.vh-exp__list { list-style: none; margin: 0 0 44px; padding: 0; border-bottom: 1px solid var(--ve-line); }
.vh-exp__row a {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) auto 40px; align-items: center; gap: 20px;
  padding: clamp(20px, 3.2vh, 34px) 0; border-top: 1px solid var(--ve-line); text-decoration: none; color: inherit; position: relative;
}
.vh-exp__title { font-family: var(--ve-display); font-weight: 400; font-size: clamp(24px, 3vw, 46px); line-height: 1.1; transition: transform .7s var(--ve-ease), color .4s; }
.vh-exp__meta { font-style: italic; font-size: 16px; color: var(--ve-muted); text-align: right; }
.vh-exp__arrow { font-size: 22px; color: var(--ve-gold-deep); transform: translateX(-10px); opacity: 0; transition: transform .6s var(--ve-ease), opacity .4s; }
.vh-exp__row .vh-exp__thumb { display: none; }
.vh-exp__row a:hover .vh-exp__title { transform: translateX(20px); color: var(--ve-forest); }
.vh-exp__row a:hover .vh-exp__arrow { transform: none; opacity: 1; }
.vh-exp__list:hover .vh-exp__row a:not(:hover) .vh-exp__title { color: rgba(7, 19, 14, .35); }
/* Outer box is moved by GSAP (x/y); the figure inside owns the scale/fade so they never fight */
.vh-exp__float { position: fixed; left: 0; top: 0; z-index: 50; width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 5; pointer-events: none; }
.vh-exp__float figure { margin: 0; width: 100%; height: 100%; overflow: hidden; opacity: 0; transform: scale(.85); transition: opacity .45s ease, transform .6s var(--ve-ease); }
.vh-exp__float.is-on figure { opacity: 1; transform: none; }
.vh-exp__float img { width: 100%; height: 100%; object-fit: cover; }
.vh-exp__more { color: var(--ve-forest); }
@media (max-width: 760px), (hover: none) {
  .vh-exp__row a { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "thumb title" "thumb meta"; gap: 4px 18px; }
  .vh-exp__row .ve-num, .vh-exp__arrow { display: none; }
  .vh-exp__row .vh-exp__thumb { display: block; grid-area: thumb; width: 72px; height: 88px; object-fit: cover; }
  .vh-exp__title { grid-area: title; font-size: 22px; }
  .vh-exp__meta { grid-area: meta; text-align: left; font-size: 14px; }
  .vh-exp__float { display: none; }
}

/* ── 8. Stories (CMS) ─────────────────────────────────────────────────── */
.vh-stories { background: var(--ve-cream); color: var(--ve-forest-deep); padding: clamp(100px, 15vh, 180px) 0; }
.vh-stories__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(40px, 6vh, 64px); }
.vh-stories__head .ve-kicker { color: var(--ve-forest); width: 100%; }
.vh-stories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.vh-story { text-decoration: none; color: inherit; display: block; }
.vh-story:nth-child(2) { margin-top: clamp(40px, 8vh, 90px); }
.vh-story__media { margin: 0 0 22px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ve-paper); }
.vh-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ve-ease); }
.vh-story:hover .vh-story__media img { transform: scale(1.06); }
.vh-story__meta { font-family: var(--ve-display); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ve-gold-deep); margin: 0 0 10px; }
.vh-story__title { margin: 0 0 12px; font-family: var(--ve-display); font-weight: 400; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.2; }
.vh-story__text { margin: 0 0 16px; font-size: 16px; line-height: 1.55; color: var(--ve-muted); }
@media (max-width: 900px) {
  .vh-stories__grid { grid-template-columns: 1fr; }
  .vh-story:nth-child(2) { margin-top: 0; }
  .vh-story__media { aspect-ratio: 16 / 11; }
}

/* ── 9. Location: the flight in ─────────────────────────────────────────
   A chart of the island; with motion the coast draws, the road runs in from
   the airport and the camera (the SVG viewBox) zooms into the hills (home.js).
   Labels and pins live in .vh-chart__k groups that JS keeps at screen size. */
.vh-where { position: relative; overflow: hidden; background: var(--ve-forest); color: var(--ve-cream); }
.vh-where::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 75% 50%, rgba(199, 168, 94, .12), transparent 70%); }
.vh-where__pin { position: relative; padding: clamp(110px, 16vh, 190px) 0; }
.vh-where__grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 96px); align-items: center; width: 100%; }
.vh-where__copy .ve-kicker { color: var(--ve-gold-light); }
.vh-where__copy .ve-h2 em { color: var(--ve-gold-light); }
.vh-where__copy .ve-lede { margin: 28px 0; }
.vh-where__list { list-style: none; margin: 0 0 34px; padding: 0; font-size: 17px; }
.vh-where__list li { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 10px 0; transition: opacity .6s ease; }
.vh-where__list li::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted rgba(245, 241, 233, .3); }
.vh-where__list span { order: 0; }
.vh-where__list em { order: 2; font-family: var(--ve-display); font-style: normal; font-size: 12px; letter-spacing: .14em; color: var(--ve-gold-light); }
.vh-where__list li::before { content: ''; position: absolute; left: -18px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ve-gold); transform: scale(0); transition: transform .5s var(--ve-ease); }
.vh-where__copy .ve-link { color: var(--ve-gold-light); }

.vh-chart { margin: 0; justify-self: end; width: 100%; }
.vh-chart__frame {
  position: relative; width: min(100%, 560px); aspect-ratio: 4 / 5; margin-left: auto; overflow: hidden;
  border: 1px solid rgba(223, 192, 128, .24); background: radial-gradient(120% 90% at 55% 45%, #276039 0%, #1b442b 50%, #0f2819 100%);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, .35), 0 30px 80px rgba(0, 0, 0, .25);
}
.vh-chart__frame::before, .vh-chart__frame::after { content: ''; position: absolute; z-index: 2; width: 18px; height: 18px; border: 1px solid rgba(223, 192, 128, .6); pointer-events: none; }
.vh-chart__frame::before { left: 8px; top: 8px; border-right: 0; border-bottom: 0; }
.vh-chart__frame::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.vh-chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vh-chart__grat path { fill: none; stroke: rgba(223, 192, 128, .17); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
.vh-chart__grat--fine { opacity: 0; }
.vh-chart__grat--fine path { stroke: rgba(223, 192, 128, .22); stroke-dasharray: 1 4; }
.vh-chart__land { fill: rgba(245, 241, 233, .055); }
.vh-chart__topo path { fill: none; stroke: rgba(223, 192, 128, .26); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vh-chart__topo path.is-major { stroke: rgba(223, 192, 128, .5); }
/* Dash-drawn lines keep user-unit widths (pathLength dashes and non-scaling strokes don't mix); home.js rescales them as the camera zooms */
.vh-chart__coast { fill: none; stroke: rgba(223, 192, 128, .85); stroke-width: .75; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.vh-chart__road-bed { fill: none; stroke: rgba(245, 241, 233, .12); stroke-width: 2.2; stroke-linecap: round; }
.vh-chart__road { fill: none; stroke: var(--ve-gold-light); stroke-width: 1.25; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 3px rgba(223, 192, 128, .75)); }
.vh-chart__comet { fill: #fff6dc; filter: drop-shadow(0 0 4px #f3d49a); opacity: 0; }
.vh-chart__k text { font-family: var(--ve-display); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; fill: rgba(245, 241, 233, .82); }
.vh-chart__k .vh-chart__deg { font-size: 5.4px; letter-spacing: .08em; fill: rgba(223, 192, 128, .62); }
.vh-chart__k .vh-chart__sea { font-family: var(--ve-serif); font-style: italic; font-size: 8.5px; letter-spacing: .14em; text-transform: none; fill: rgba(245, 241, 233, .34); }
.vh-chart__fine { opacity: 0; }
.vh-chart__pin circle { fill: var(--ve-cream); }
.vh-chart__pin--home circle { fill: var(--ve-gold); }
.vh-chart__pin--home text { fill: var(--ve-gold-light); font-size: 9px; }
.vh-chart__pulse { fill: none !important; stroke: var(--ve-gold); stroke-width: .7; transform-box: fill-box; transform-origin: center; animation: vhPulse 2.4s ease-out infinite; }
.vh-chart__halo { fill: rgba(199, 168, 94, .16) !important; }
.vh-chart__compass { position: absolute; top: 16px; right: 16px; z-index: 1; width: clamp(56px, 5.4vw, 78px); height: auto; overflow: visible; }
.vh-chart__compass circle { fill: none; stroke: rgba(223, 192, 128, .32); stroke-width: 1; }
.vh-chart__compass-star { fill: rgba(223, 192, 128, .14); stroke: rgba(223, 192, 128, .72); stroke-width: 1; stroke-linejoin: round; }
.vh-chart__compass-star--minor { fill: none; stroke: rgba(223, 192, 128, .36); }
.vh-chart__compass-lotus { fill: var(--ve-gold); }
.vh-chart__compass text { font-family: var(--ve-display); font-size: 9px; fill: var(--ve-gold-light); }
.vh-chart__hud { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; pointer-events: none; font-family: var(--ve-display); font-size: 12px; letter-spacing: .18em; color: rgba(245, 241, 233, .72); }
.vh-chart__coords { font-variant-numeric: tabular-nums; }
.vh-chart__scale { display: grid; justify-items: end; gap: 6px; }
.vh-chart__scale i { display: block; width: var(--bar, 60px); height: 6px; border: 1px solid rgba(223, 192, 128, .75); border-top: 0; }
.vh-chart__scale b { font-weight: 400; }
.vh-chart__here { position: absolute; left: 20px; top: 18px; z-index: 1; margin: 0; display: grid; gap: 4px; }
.vh-chart__here .ve-label { font-size: 12px; color: var(--ve-gold); }
.vh-chart__here-name { font-family: var(--ve-display); font-size: clamp(18px, 1.6vw, 24px); color: var(--ve-gold-light); }
.vh-chart__here-at { font-style: italic; font-size: 14px; color: rgba(245, 241, 233, .7); }
.vh-chart figcaption { margin-top: 14px; text-align: right; font-size: 12px; color: rgba(245, 241, 233, .55); }
.vh-chart figcaption .ve-si { font-size: 14px; color: var(--ve-gold-light); }
html:not(.ve-motion) .vh-chart__pin--near text { display: none; }

/* Motion start states (home.js takes over from here) */
html.ve-motion .vh-chart__coast, html.ve-motion .vh-chart__road { stroke-dashoffset: 1; }
html.ve-motion .vh-chart__pin, html.ve-motion .vh-chart__seas, html.ve-motion .vh-chart__grat, html.ve-motion .vh-chart__coarse, html.ve-motion .vh-chart__topo { opacity: 0; }
html.ve-motion .vh-chart__land { fill-opacity: 0; }
html.ve-motion .vh-chart__here { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .8s var(--ve-ease); }
html.ve-motion .vh-chart__here.is-on { opacity: 1; transform: none; }
html.ve-motion .vh-where__list li { opacity: .36; }
html.ve-motion .vh-where__list li.is-lit { opacity: 1; }
html.ve-motion .vh-where__list li.is-lit::before { transform: scale(1); }

@media (min-width: 901px) {
  html.ve-motion .vh-where__pin { box-sizing: border-box; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--ve-header-h) + 3vh) 0 5vh; }
  .vh-chart__frame { width: min(100%, 560px, calc((100vh - var(--ve-header-h) - 16vh) * .8)); }
}
@media (max-width: 900px) {
  .vh-where__grid { grid-template-columns: 1fr; }
  .vh-chart { order: -1; justify-self: stretch; }
  .vh-chart__frame { width: 100%; margin: 0; }
  .vh-where__list li::before { left: -12px; }
}

/* ── 10. Closing ──────────────────────────────────────────────────────── */
/* The closing frame fits one screen, the buttons included */
.vh-close { position: relative; min-height: 100vh; display: grid; place-items: center; color: var(--ve-cream); text-align: center; overflow: hidden; isolation: isolate; padding: calc(var(--ve-header-h) + 6vh) 0 8vh; }
.vh-close__bg { position: absolute; inset: 0; z-index: -1; }
.vh-close__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.vh-close__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 80% at 50% 50%, rgba(4, 12, 8, .55), rgba(4, 12, 8, .9)); }
.vh-close__si { margin: 0 0 10px; }
.vh-close__si .ve-si { font-size: clamp(30px, 3.4vw, 50px); color: var(--ve-gold-light); }
.vh-close__title { margin: 0; font-family: var(--ve-display); font-weight: 400; font-size: clamp(64px, min(11vw, 17vh), 200px); line-height: .9; letter-spacing: .01em; }
.vh-close__title em { font-family: var(--ve-serif); font-style: italic; color: var(--ve-gold-light); letter-spacing: 0; }
.vh-close__offer { margin: clamp(22px, 4vh, 48px) auto clamp(22px, 3.4vh, 34px); max-width: 34em; font-size: 18px; color: rgba(245, 241, 233, .82); }
.vh-close__offer .ve-label { display: table; margin: 0 auto 14px; color: var(--ve-gold-light); border: 1px solid rgba(199, 168, 94, .5); padding: 5px 10px; font-size: 12px; }
.vh-close__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; }
.vh-close__cta .ve-btn--gold { color: var(--ve-forest-deep); }
.vh-close__cta .ve-link { color: var(--ve-gold-light); }

/* Reduced motion: final states, no scroll-linked hiding */
@media (prefers-reduced-motion: reduce) {
  .vh-hero__scroll-line::after, .vh-walk__stop--home i::after, .vh-walk__walker::after, .vh-walk__mist, .vh-chart__pulse { animation: none; }
  .vh-hero__video { transform: none; }
}

/* The Living Estate: the way in to the 3D estate */
.vh-living { position: relative; background: #08140e; color: var(--ve-cream); padding: clamp(120px, 18vh, 220px) 0; overflow: hidden; isolation: isolate; }
.vh-living__bg { position: absolute; inset: 0 0 0 max(42%, 560px); z-index: -2; overflow: hidden; }
.vh-living__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: vh-living-drift 28s ease-in-out infinite alternate; }
.vh-living__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #08140e 0%, rgba(8, 20, 14, .35) 18%, transparent 45%), linear-gradient(0deg, rgba(8, 20, 14, .45), transparent 35%); }
@keyframes vh-living-drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
.vh-living__arc { position: absolute; left: max(42%, 560px); right: 0; top: 8%; width: auto; height: 42%; z-index: -1; overflow: visible; }
.vh-living__arc path { fill: none; stroke: rgba(223, 192, 128, .28); stroke-width: 1; stroke-dasharray: 4 8; vector-effect: non-scaling-stroke; }
.vh-living__sun { fill: var(--ve-gold-light); filter: drop-shadow(0 0 14px rgba(223, 192, 128, .9)); offset-path: path('M0 300 C250 20 750 20 1000 300'); animation: vh-living-sun 18s linear infinite; }
@keyframes vh-living-sun { from { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { offset-distance: 100%; opacity: 0; } }
.vh-living__inner { position: relative; max-width: 1200px; }
.vh-living__badge { display: inline-block; white-space: nowrap; margin-left: .6em; padding: 3px 8px; border: 1px solid var(--ve-gold-light); border-radius: 999px; color: var(--ve-gold-light); letter-spacing: .14em; font-size: 12px; vertical-align: 1px; }
.vh-living .ve-h2 { margin: 22px 0 28px; max-width: 11em; }
.vh-living .ve-h2 em { color: var(--ve-gold-light); }
.vh-living__text { max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; opacity: .88; margin: 0 0 clamp(36px, 6vh, 56px); }
.vh-living__points { list-style: none; margin: 0 0 clamp(40px, 6vh, 60px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 160px)); gap: clamp(20px, 3vw, 48px); }
.vh-living__points li { border-top: 1px solid rgba(223, 192, 128, .4); padding-top: 16px; display: grid; gap: 6px; }
.vh-living__points strong { font-family: var(--ve-display); font-weight: 400; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.vh-living__points span { font-size: 14px; line-height: 1.5; opacity: .72; }
.vh-living__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.vh-living__clock { margin: 0; font-size: 14px; opacity: .75; }
.vh-living__clock strong { font-weight: 500; color: var(--ve-gold-light); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .vh-living__bg { inset: 0; }
  .vh-living__bg::after { background: linear-gradient(180deg, rgba(4, 12, 8, .65), rgba(4, 12, 8, .9)); }
  .vh-living__points { grid-template-columns: 1fr; gap: 18px; }
  .vh-living { padding-top: 190px; }
  .vh-living__arc { left: 0; top: 34px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .vh-living__bg img, .vh-living__sun { animation: none; }
  .vh-living__sun { offset-distance: 50%; }
}

/* ── Before you come: This month in Galaha (live), the trail planner, The Ceylon cup ── */
.vh-plan { background: var(--ve-paper); color: var(--ve-forest-deep); padding: clamp(100px, 15vh, 180px) 0; }
.vh-plan__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); align-items: end; gap: 20px 60px; margin-bottom: clamp(40px, 6vh, 64px); }
.vh-plan__head .ve-kicker { color: var(--ve-forest); grid-column: 1 / -1; }
.vh-plan__intro { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ve-muted); }
.vh-plan__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.vh-plan .vh-plan__card { position: relative; display: flex; flex-direction: column; min-height: clamp(460px, 64vh, 620px); overflow: hidden; border-radius: 4px; text-decoration: none; color: var(--ve-cream); background: var(--ve-forest-deep); isolation: isolate; }
.vh-plan__card:focus-visible { outline: 2px solid var(--ve-gold-deep); outline-offset: 4px; }
.vh-plan__media { position: absolute; inset: 0; margin: 0; z-index: -1; }
.vh-plan__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ve-ease); }
.vh-plan__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 12, 8, .05) 30%, rgba(4, 12, 8, .88) 100%); }
.vh-plan__card:hover .vh-plan__media img { transform: scale(1.06); }
.vh-plan__card--trail .vh-plan__media img { object-position: 42% 55%; }
.vh-plan__body { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 38px); }
.vh-plan__eyebrow { color: var(--ve-gold-light); font-size: 12px; }
.vh-plan__title { font-family: var(--ve-display); font-size: clamp(26px, 2.3vw, 36px); line-height: 1.05; }
.vh-plan__text { font-size: 16px; line-height: 1.5; color: rgba(245, 241, 233, .82); max-width: 24em; }
.vh-plan__card .ve-link { color: var(--ve-gold-light); align-self: flex-start; }

/* The month card is type, not a photo: the season in numbers, with the trail's mood on a gold rule */
.vh-plan .vh-plan__card--month { padding: clamp(24px, 2.6vw, 38px); gap: 18px; background: radial-gradient(120% 90% at 100% 0%, #24543a 0%, var(--ve-forest) 38%, var(--ve-forest-deep) 100%); }
.vh-plan__card--month .ve-link { margin-top: auto; }
.vh-month { display: flex; flex-direction: column; gap: 16px; }
.vh-month[hidden] { display: none; }
.vh-month__name { font-family: var(--ve-display); font-size: clamp(40px, 4.4vw, 68px); line-height: .95; }
.vh-month__walk { align-self: flex-start; font-family: var(--ve-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(223, 192, 128, .5); border-radius: 999px; color: var(--ve-gold-light); }
.vh-month__walk--wet { color: #cfd9d2; border-color: rgba(207, 217, 210, .4); }
.vh-month__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--ve-line-light); }
.vh-month__facts > span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.35; color: rgba(245, 241, 233, .74); }
.vh-month__facts b { font-family: var(--ve-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); color: var(--ve-cream); line-height: 1; }

@media (max-width: 1000px) {
  .vh-plan__head { grid-template-columns: 1fr; }
  .vh-plan__grid { grid-template-columns: 1fr; }
  .vh-plan .vh-plan__card { min-height: 380px; }
}

/* ── 07 Beyond the gate: the day trips round Kandy as one reel. The films sit stacked in a framed stage;
      the one on crossfades in (with a slow push), the list beside it is the reel's chapter list ── */
.vh-nearby { position: relative; background: var(--ve-forest-deep); color: var(--ve-cream); padding: clamp(110px, 16vh, 190px) 0; overflow: hidden; isolation: isolate; }
.vh-nearby::before { content: ''; position: absolute; right: -10vw; top: 50%; z-index: -1; width: 70vw; height: 70vw; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(199, 168, 94, .1), transparent); pointer-events: none; }
.vh-nearby__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 90px); align-items: center; }
.vh-nearby .ve-kicker { color: var(--ve-gold); }
.vh-nearby .ve-h2 { margin: 22px 0 24px; }
.vh-nearby .ve-h2 em { color: var(--ve-gold-light); }
.vh-nearby__lede { max-width: 30em; margin: 0 0 clamp(30px, 5vh, 46px); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: rgba(245, 241, 233, .78); }
.vh-nearby__list { list-style: none; margin: 0 0 clamp(30px, 5vh, 44px); padding: 0; border-top: 1px solid rgba(223, 192, 128, .18); }
.vh-nearby__list li { border-bottom: 1px solid rgba(223, 192, 128, .18); }
.vh-nearby__place { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; width: 100%; padding: 15px 0 16px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.vh-nearby__num { grid-row: span 2; padding-top: 5px; font-family: var(--ve-display); font-size: 12px; letter-spacing: .14em; color: rgba(245, 241, 233, .45); transition: color .5s; }
.vh-nearby__name { font-family: var(--ve-serif); font-size: clamp(20px, 1.6vw, 25px); line-height: 1.25; color: rgba(245, 241, 233, .6); transition: color .5s, transform .7s var(--ve-ease); }
.vh-nearby__where { font-family: var(--ve-display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(245, 241, 233, .38); transition: color .5s; }
.vh-nearby__place:hover .vh-nearby__name, .vh-nearby__place:focus-visible .vh-nearby__name { color: var(--ve-cream); }
.vh-nearby__place.is-on .vh-nearby__name { color: var(--ve-cream); transform: translateX(6px); }
.vh-nearby__place.is-on .vh-nearby__num, .vh-nearby__place.is-on .vh-nearby__where { color: var(--ve-gold-light); }
.vh-nearby__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.vh-nearby__bar i { display: block; width: 100%; height: 100%; background: var(--ve-gold-light); transform: scaleX(0); transform-origin: left; }
.vh-nearby__place.is-on .vh-nearby__bar i { transform: scaleX(var(--p, 0)); }
.vh-nearby__more { color: var(--ve-gold-light); }
.vh-nearby__stage { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; background: #10201a; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.vh-nearby__stage::after { content: ''; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 1px rgba(223, 192, 128, .2); background: linear-gradient(180deg, transparent 70%, rgba(4, 12, 8, .55)); pointer-events: none; }
.vh-nearby__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.3s ease, transform 9s cubic-bezier(.2, .6, .3, 1); }
.vh-nearby__film.is-on { z-index: 1; opacity: 1; transform: scale(1); }
.vh-nearby__credit { position: absolute; right: 14px; bottom: 12px; z-index: 3; font-size: 12px; letter-spacing: .06em; color: rgba(245, 241, 233, .62); }
@media (max-width: 900px) {
  .vh-nearby__grid { grid-template-columns: 1fr; }
  .vh-nearby__stage { order: -1; }
  .vh-nearby__text { display: contents; }
  .vh-nearby .ve-kicker { order: -3; }
  .vh-nearby .ve-h2 { order: -2; margin: 0; }
  .vh-nearby__lede { margin: 0; }
  .vh-nearby__list { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vh-nearby__film { transition: opacity .01s; transform: none; }
  .vh-nearby__film.is-on { transform: none; }
}
