/* The Wine Wanderluster: inner pages. Built on the homepage system in site.css (tokens, .h2, .lede, .btn, .frame,
   .exp-card, .pane, .promise-list, .fog-top, .tex). Page-specific blocks are grouped by page. */

/* ================= shared inner-page pieces ================= */
.sec-fog { position: relative; background: var(--fog); color: var(--ink); overflow-x: clip; overflow-y: visible; }
.sec-fog .h2 em { color: var(--claret-2); }
.sec-fog :focus-visible { outline-color: var(--claret); }
.sec-fog .frame--offset::before { border-color: rgba(31, 31, 31, .45); }
.btn--claret { --bg: var(--claret); --fg: var(--champagne); }
.btn--claret::before { background: var(--cellar); }
.btn--claret-line { --bg: transparent; --fg: var(--claret); box-shadow: inset 0 0 0 1px rgba(31, 31, 31, .45); }
.btn--claret-line::before { background: var(--claret); }
.btn--claret-line:hover, .btn--claret-line:focus-visible { color: var(--champagne); }
h1, h2, h3 { text-wrap: balance; }

/* photo band with a call to action (used at the foot of several pages) */
.cta-band { position: relative; overflow: clip; background: var(--cellar); color: var(--paper); padding: clamp(90px, 14vh, 150px) 0; }
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.cta-band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, .92) 0%, rgba(11, 11, 11, .7) 45%, rgba(11, 11, 11, .25) 100%); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band .lede { margin-top: 14px; color: #f9f9f9; }
.cta-band .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 900px) { .cta-band-shade { background: linear-gradient(180deg, rgba(11, 11, 11, .9) 0%, rgba(11, 11, 11, .72) 55%, rgba(31, 31, 31, .45) 100%); } }

/* ================= experience template ================= */
/* opener */
.xop { position: relative; color: var(--paper); overflow: clip; padding: calc(var(--hdr-h) + clamp(18px, 3.5vh, 44px)) 0 clamp(80px, 12vh, 130px);
  background: radial-gradient(120% 100% at 90% 0%, #2c2c2c 0%, var(--claret) 50%, var(--claret-3) 100%); }
.xop-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 3.2vw, 56px); align-items: center; }
.xop-h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.05; letter-spacing: -.015em; color: #ffffff; display: flow-root; }
.xop-h1 em { font-style: italic; color: var(--champagne); }
.xop-text .lede { margin-top: 18px; color: #f7f7f7; }
.xop-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.xop-cluster { position: relative; height: min(60vh, 560px); min-height: 360px; }
.xc { position: absolute; margin: 0; }
.xc .frame-img { height: 100%; }
.xc--a { left: 0; top: 0; width: 58%; height: 86%; z-index: 2; }
.xc--a .frame-img { box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .8); }
.xc--b, .xc--c { z-index: 3; padding: 7px; background: var(--paper); border-radius: 4px; box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .75); }
.xc--b { right: 0; top: 8%; width: 42%; height: 36%; transform: rotate(2.5deg); }
.xc--c { left: 36%; bottom: 0; width: 44%; height: 36%; transform: rotate(-2deg); }
.xc--b .frame-img, .xc--c .frame-img { border-radius: 2px; }
.xop-facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(22px, 4vh, 40px); }
.xop-facts li { padding: 14px 18px 4px 0; border-top: 1px solid rgba(255, 255, 255, .3); display: grid; align-content: start; gap: 2px; }
.xop-facts li + li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.xop-facts strong { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: 1.1; color: var(--champagne); }
.xop-facts span { font-size: .95rem; line-height: 1.45; color: #eeeeee; }
/* the opener's own touch */
.xc-beam { position: absolute; inset: -12% -30%; z-index: 4; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(244, 244, 244, .26) 47%, rgba(244, 244, 244, .06) 53%, transparent 62%); transform: translateX(-35%); }
.xc-disc { position: absolute; z-index: 4; right: 2%; top: 48%; width: 30%; aspect-ratio: 1; border-radius: 50%; padding: 4%; background: #0a0a0a; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .9); }
.xc-disc-rec { display: block; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle, var(--claret) 0 22%, transparent 22.5%), repeating-radial-gradient(circle, #121212 0 1.5px, #1e1e1e 1.5px 3px); position: relative; }
.xc-disc-rec img { position: absolute; left: 31%; top: 31%; width: 38%; height: auto; }
.xc-disc::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; pointer-events: none; background: conic-gradient(from 20deg, transparent 0 8%, rgba(255, 255, 255, .1) 13%, transparent 20% 52%, rgba(255, 255, 255, .07) 63%, transparent 70%); }
.xc-chalk { position: absolute; z-index: 4; left: -6%; right: -4%; bottom: -6%; width: 110%; height: 26%; overflow: visible; pointer-events: none; }
.xc-chalk path { fill: none; stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; opacity: .8; }
.xc-chalk path + path { opacity: .45; stroke-width: 1.6; }
@media (max-width: 900px) {
  .xop-grid { grid-template-columns: 1fr; gap: 34px; }
  .xop-cluster { height: 380px; min-height: 0; max-width: 520px; }
  .xop-facts { grid-template-columns: 1fr; }
  .xop-facts li, .xop-facts li + li { padding: 14px 0; border-left: 0; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
}

/* story */
.xstory { position: relative; background: var(--fog); color: var(--ink); padding: clamp(60px, 9vh, 110px) 0; overflow-x: clip; overflow-y: visible; }
.xstory .h2 em, .xexp .h2 em, .xnext .h2 em { color: var(--claret-2); }
.xstory-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.xstory-paras { display: grid; gap: 14px; margin-top: 18px; color: #272727; }
.xnotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.xnotes li { padding-top: 14px; border-top: 2px solid var(--claret-2); }
.xnotes h3 { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 1.3rem; line-height: 1.2; color: var(--claret); }
.xnotes p { margin-top: 6px; font-size: .98rem; line-height: 1.5; color: #303030; }
.xstory-photo { height: min(66vh, 620px); width: calc(100% - 16px); }
.xstory-photo.frame--offset::before { border-color: rgba(31, 31, 31, .45); }
@media (max-width: 900px) {
  .xstory-grid { grid-template-columns: 1fr; }
  .xnotes { grid-template-columns: 1fr; gap: 16px; }
  .xstory-photo { height: 340px; }
}

/* what to expect */
.xexp { position: relative; background: var(--fog); color: var(--ink); padding: clamp(56px, 8vh, 96px) 0; overflow-x: clip; overflow-y: visible; }
.xexp-grid { margin-top: clamp(26px, 4vh, 44px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.xexp-pane { height: min(54vh, 520px); }
.xexp-pane.frame--offset::before { border-color: rgba(31, 31, 31, .45); }
.xexp .pl-item { border-color: rgba(24, 24, 24, .16); cursor: default; }
.xexp .pl-item:last-child { border-bottom-color: rgba(24, 24, 24, .16); }
.xexp .pl-item::before { background: var(--claret-2); }
.xexp .pl-item h3 { color: #303030; }
.xexp .pl-item.is-on h3 { color: var(--claret-2); }
.xexp .pl-item p { color: #303030; }
.xdates { margin-top: 26px; padding: 24px 26px; border-radius: 6px; background: var(--cellar); color: var(--paper); display: grid; gap: 10px; justify-items: start;
  background-image: radial-gradient(90% 120% at 100% 0%, rgba(44, 44, 44, .9), transparent 70%); }
.xdates-h { font-family: var(--f-display); font-style: italic; font-size: 1.45rem; color: var(--champagne); }
.xdates p:not(.xdates-h) { color: #f7f7f7; }
.xdates .btn { margin-top: 6px; }
@media (max-width: 900px) {
  .xexp-grid { grid-template-columns: 1fr; }
  .xexp-pane { height: 300px; }
}

/* set piece 1: from vine to arch (pinned horizontal filmstrip; a grid without motion) */
.vta { position: relative; background: var(--cellar); color: var(--paper); overflow-x: clip; }
main { overflow-x: clip; }
.vta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(../img/tex-contour-light.svg) center / cover no-repeat; opacity: .07; }
.motion .vta::before { animation: texDrift 30s ease-in-out infinite alternate; }
.vta-stage { position: relative; padding: clamp(70px, 10vh, 110px) 0; overflow: clip; }
.vta-head .lede { margin-top: 10px; color: #eeeeee; }
.vta-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; padding: 0 var(--pad-x); margin: 34px auto 0; max-width: 1640px; }
.vta-card figure { display: grid; gap: 14px; }
.vta-img { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; }
.vta-img img { width: 100%; height: 100%; object-fit: cover; }
.vta-card figcaption { font-size: 1rem; line-height: 1.5; color: #eeeeee; }
.vta-card strong { display: block; font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--champagne); }
.vta-n { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); font-family: var(--f-display); font-size: 1.05rem; color: var(--champagne); }
.vta-foot { display: none; }
.motion .vta .vta-stage { height: 100vh; height: 100svh; padding: calc(var(--hdr-h) + 3vh) 0 4vh; display: flex; flex-direction: column; justify-content: space-between; }
.motion .vta .vta-track { display: flex; gap: clamp(18px, 2.4vw, 40px); width: max-content; max-width: none; margin: 2vh 0 0; padding: 0 var(--pad-x); }
.motion .vta .vta-card { flex: 0 0 min(calc(min(44vh, 420px) * 1.6), 80vw); }
.motion .vta .vta-img img { transform: scale(1.15); }
.motion .vta .vta-foot { display: flex; align-items: center; gap: 24px; }
.vta-count { font-family: var(--f-display); font-size: 1.2rem; color: var(--champagne); white-space: nowrap; }
.vta-count b { font-weight: 400; font-size: 2.2rem; }
.vta-bar { flex: 0 0 180px; height: 2px; background: rgba(255, 255, 255, .22); }
.vta-bar i { display: block; height: 100%; background: var(--champagne); transform-origin: left; transform: scaleX(0); }
.vta-route { display: flex; gap: 22px; flex-wrap: wrap; font-size: .95rem; color: rgba(238, 238, 238, .55); }
.vta-route span { transition: color .4s var(--ease); }
.vta-route span.is-on { color: var(--champagne); }
@media (max-width: 900px) { .vta-route { display: none; } .vta-bar { flex: 1 1 auto; } }

/* set piece 2: the record */
.rec { position: relative; background: var(--cellar); color: var(--paper); padding: clamp(70px, 10vh, 120px) 0; overflow: clip; }
.rec-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.rec-deck { position: relative; }
.rec-plinth { position: relative; width: min(100%, calc(min(72vh, 640px) * 1.12)); aspect-ratio: 1.12; border-radius: 6px;
  background: linear-gradient(160deg, #272727 0%, #161616 55%, #0f0f0f 100%); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(242, 242, 242, .12); }
.rec-plinth::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35; pointer-events: none;
  background: repeating-linear-gradient(95deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 9px); }
.rec-platter { position: absolute; left: 6%; top: 7%; width: 76%; aspect-ratio: 1; border-radius: 50%; background: #080808; box-shadow: 0 10px 30px rgba(0, 0, 0, .6), inset 0 0 0 3px #252525; }
.rec-platter::after { content: ""; position: absolute; inset: 2%; border-radius: 50%; pointer-events: none; z-index: 2;
  background: conic-gradient(from 25deg, transparent 0 7%, rgba(255, 255, 255, .11) 12%, transparent 19% 51%, rgba(255, 255, 255, .08) 61%, transparent 68%); }
.rec-disc { position: absolute; inset: 2%; border-radius: 50%; cursor: grab; touch-action: none;
  background: radial-gradient(circle, transparent 0 31%, #0a0a0a 31.5% 33%, transparent 33.5%), repeating-radial-gradient(circle, #111111 0 1.4px, #1b1b1b 1.4px 2.8px); }
.rec-disc:active { cursor: grabbing; }
.rec-label { position: absolute; left: 32%; top: 32%; width: 36%; height: 36%; border-radius: 50%; background: radial-gradient(circle, #2c2c2c 0%, #1f1f1f 70%); display: grid; place-items: center; }
.rec-label img { width: 78%; height: auto; }
.rec-label::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5%; height: 5%; margin: -2.5% 0 0 -2.5%; border-radius: 50%; background: #e1e1e1; }
.rec-arm { position: absolute; right: 7%; top: 6%; width: 4.2%; height: 66%; transform-origin: 50% 7%; transform: rotate(4deg); z-index: 3; }
.rec-arm i { position: absolute; left: 50%; top: 7%; bottom: 8%; width: 18%; margin-left: -9%; border-radius: 3px; background: linear-gradient(90deg, #8b8b8b, #f5f5f5 45%, #979797); }
.rec-arm::before { content: ""; position: absolute; left: -20%; top: 0; width: 140%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffffff, #727272 70%); box-shadow: 0 6px 12px rgba(0, 0, 0, .5); }
.rec-arm::after { content: ""; position: absolute; left: -35%; bottom: 0; width: 170%; height: 10%; border-radius: 2px; background: linear-gradient(180deg, #aeaeae, #666666); box-shadow: 0 6px 10px rgba(0, 0, 0, .5); }
.rec-hint { margin-top: 18px; font-size: .95rem; color: #d7d7d7; font-style: italic; font-family: var(--f-display); }
.rec-side .lede { margin-top: 10px; color: #eeeeee; }
.rec-tracks { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.rec-track { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.rec-track-btn { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 16px; text-align: left; padding: 10px 0; }
.rec-side-no { flex: none; width: 46px; height: 30px; display: grid; place-items: center; border-radius: 0; border: 1px solid rgba(255, 255, 255, .4); font-size: .9rem; font-weight: 600; color: var(--champagne); letter-spacing: .04em; transition: background-color .35s, color .35s; }
.rec-track-t { font-family: var(--f-display); font-size: clamp(1.3rem, 1.6vw, 1.6rem); color: #ffffff; transition: color .35s; }
.rec-track.is-on .rec-side-no { background: var(--champagne); color: var(--cellar); }
.rec-track.is-on .rec-track-t { color: var(--champagne); }
.rec-track-body { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 0 0 16px; }
.rec-track-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.rec-track-img img { width: 100%; height: 100%; object-fit: cover; }
.rec-track-body p { color: #eeeeee; font-size: 1rem; line-height: 1.55; }
.js .rec-track:not(.is-on) .rec-track-body { display: none; }
@media (max-width: 900px) {
  .rec-grid { grid-template-columns: 1fr; }
  .rec-plinth { width: min(100%, 440px); }
  .rec-track-body { grid-template-columns: 110px 1fr; }
}

/* set piece 3: the map out of London */
.semap { position: relative; background: var(--cellar); color: var(--paper); }
.semap-stage { padding: clamp(70px, 10vh, 110px) 0; overflow: clip; }
.motion .semap-stage { min-height: 100vh; min-height: 100svh; padding: calc(var(--hdr-h) + 3vh) 0 4vh; display: flex; align-items: center; }
.motion .semap-stage > .wrap { width: 100%; }
.semap-grid { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8fr); gap: clamp(30px, 4vw, 70px); align-items: center; }
.semap-text .lede { margin-top: 10px; color: #eeeeee; }
.semap-legs { margin-top: 24px; display: grid; gap: 4px; }
.semap-leg { position: relative; padding: 12px 0 12px 30px; display: grid; }
.semap-leg strong { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; color: var(--champagne); }
.semap-leg span:not(.semap-leg-line) { color: #eeeeee; font-size: 1rem; }
.semap-leg-line { position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--champagne); transform-origin: top; }
.semap-note { margin-top: 16px; font-size: .92rem; color: #b6b6b6; }
.semap-map { position: relative; margin: 0; aspect-ratio: 1400 / 820; width: 100%; max-height: calc(100svh - var(--hdr-h) - 60px); border-radius: 6px; overflow: hidden; background: #0d0d0d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 40px 70px -40px rgba(0, 0, 0, .9); }
.semap-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.semap-land path { fill: #363636; stroke: rgba(255, 255, 255, .7); stroke-width: 1.6; }
.semap-land path[data-land="France"], .semap-land path[data-land="Belgium"] { fill: #262626; }
.semap-downs { fill: none; stroke: #ffffff; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; opacity: .32; }
.semap-train { fill: #ffffff; }
.semap-map::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 35%, rgba(247, 247, 247, .16) 48%, transparent 60%); transform: translateX(-60%); }
.motion .semap-map::after { animation: mapSweep 9s ease-in-out infinite alternate; }
@keyframes mapSweep { to { transform: translateX(60%); } }
.semap-pin--minor i { width: 9px; height: 9px; background: rgba(255, 255, 255, .7); box-shadow: none; }
.semap-pin--minor b { font-weight: 400; font-size: .85rem; color: rgba(255, 255, 255, .8); }
.semap-pin--minor { transform: translate(-4.5px, -4.5px); }
.semap-rail { fill: none; stroke: var(--champagne); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.semap-pin { position: absolute; z-index: 2; transform: translate(-7px, -7px); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.semap-pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
.semap-pin b { font-weight: 600; font-size: .95rem; line-height: 1.3; color: #ffffff; padding: 1px 7px; background: rgba(13, 13, 13, .9); }
.semap-pin--london i { width: 18px; height: 18px; background: #ffffff; }
.semap-pin--london { transform: translate(-9px, -9px); }
.semap-tag { position: absolute; z-index: 2; font-family: var(--f-display); font-style: italic; font-size: clamp(.9rem, 1.1vw, 1.15rem); color: rgba(255, 255, 255, .75); pointer-events: none; }
.semap-tag--sea { color: rgba(255, 255, 255, .85); }
/* the rail lines and the Downs ridges cross the labels: each label sits on a dark plate so no line strikes through it */
.semap-pin, .semap-tag { z-index: 3; pointer-events: auto; } /* hit-testable, so a probe at a label finds the label above the lines */
.semap-tag { line-height: 1.3; padding: 1px 8px; background: rgba(13, 13, 13, .85); color: rgba(255, 255, 255, .85); }
@media (max-width: 900px) {
  .semap-grid { grid-template-columns: 1fr; }
  .semap-map { order: -1; }
  .semap-pin b { font-size: .8rem; }
  .semap-tag { font-size: .75rem; }
}

/* gallery: draggable filmstrip (scrolls natively without JS) */
.xgal { position: relative; background: var(--claret-3); color: var(--paper); padding: clamp(60px, 9vh, 110px) 0 clamp(50px, 7vh, 80px); overflow: clip; }
.xgal-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.xgal-ctrl { display: flex; align-items: center; gap: 12px; }
.xgal-count { font-family: var(--f-display); font-size: 1.2rem; color: var(--champagne); margin-right: 8px; }
.xgal-count b { font-weight: 400; font-size: 2rem; }
.xgal-btn { width: 50px; height: 50px; border-radius: 0; display: grid; place-items: center; color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); transition: background-color .3s, color .3s; }
.xgal-btn:hover, .xgal-btn:focus-visible { background: var(--champagne); color: var(--cellar); }
.xgal-btn svg { width: 22px; height: 12px; }
.xgal-viewport { margin-top: clamp(24px, 4vh, 40px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.xgal-viewport::-webkit-scrollbar { display: none; }
.js.motion .xgal-viewport { overflow: hidden; cursor: grab; scroll-snap-type: none; }
.js.motion .xgal-viewport:active { cursor: grabbing; }
.xgal-track { display: flex; gap: clamp(14px, 1.6vw, 26px); width: max-content; padding: 0 var(--pad-x); }
.xgal-item { flex: none; scroll-snap-align: start; }
.xgal-item figure { display: grid; gap: 10px; }
.xgal-img { height: min(56vh, 500px); overflow: hidden; border-radius: 4px; }
.xgal-img img { height: 100%; width: auto; max-width: none; object-fit: cover; pointer-events: none; user-select: none; }
.xgal-item figcaption { max-width: 80vw; font-size: .92rem; line-height: 1.45; color: #e4e4e4; font-style: italic; font-family: var(--f-display); }
.xgal-progress { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.xgal-progress span { flex: 1 1 auto; height: 2px; background: rgba(255, 255, 255, .2); }
.xgal-progress i { display: block; height: 100%; background: var(--champagne); transform-origin: left; transform: scaleX(.2); }
.xgal-progress em { flex: none; font-size: .92rem; color: #d7d7d7; }
@media (max-width: 760px) { .xgal-item figure { width: 82vw; } .xgal-item figcaption { max-width: none; } .xgal-img { height: auto; width: 82vw; aspect-ratio: 16 / 10; } .xgal-img img { width: 100%; height: 100%; } }

/* other experiences + CTA */
.xnext { position: relative; background: var(--fog); color: var(--ink); padding: clamp(60px, 9vh, 110px) 0; overflow-x: clip; overflow-y: visible; }
.xnext-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; }
.xnext-head p { color: #272727; }
.xnext-grid { margin-top: clamp(24px, 4vh, 40px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); perspective: 1400px; }
.xnext-card { height: min(52vh, 500px); min-height: 340px; }
.xnext-cta { border-radius: 6px; padding: clamp(22px, 2.4vw, 34px); color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; min-height: 340px;
  background: radial-gradient(110% 90% at 100% 0%, #2c2c2c 0%, var(--claret) 50%, var(--cellar) 100%); position: relative; overflow: hidden; isolation: isolate; }
.xnext-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/tex-contour-light.svg) center / cover; opacity: .1; }
.xnext-cta-h { font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 2.2vw, 2.2rem); line-height: 1.1; color: var(--champagne); }
.xnext-cta p:not(.xnext-cta-h) { color: #f7f7f7; }
.xnext-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--champagne); font-weight: 600; text-decoration: none; }
.xnext-link svg { width: 24px; height: 12px; transition: transform .45s var(--ease); }
.xnext-link:hover svg { transform: translateX(6px); }
@media (max-width: 900px) {
  .xnext-head { grid-template-columns: 1fr; }
  .xnext-grid { grid-template-columns: 1fr; }
  .xnext-card { height: 400px; }
}

/* motion start states for inner pages */
.motion .xnext-card, .motion .vta-card { opacity: 0; }
.motion-failed .xnext-card, .motion-failed .vta-card { opacity: 1 !important; transform: none !important; }

/* ================= 404 ================= */
.nf { position: relative; min-height: min(68vh, 680px); display: flex; align-items: flex-end; overflow: clip; background: var(--cellar); color: var(--paper); padding: calc(var(--hdr-h) + 40px) 0 clamp(120px, 18vh, 180px); }
.nf-bg { position: absolute; inset: 0; transform: scaleX(-1); }
.nf-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.nf-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, .88) 0%, rgba(11, 11, 11, .55) 50%, rgba(11, 11, 11, .2) 100%), linear-gradient(0deg, rgba(11, 11, 11, .6), transparent 50%); }
.nf-fog { position: absolute; left: -15%; right: -15%; bottom: -20%; opacity: .35; pointer-events: none; }
.nf-fog img { width: 100%; }
.nf-inner { position: relative; z-index: 2; }
.nf-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; color: #ffffff; display: flow-root; }
.nf-title em { font-style: italic; color: var(--champagne); }
.nf .lede { margin-top: 16px; color: #f7f7f7; }
.nf .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.nf-ways { padding: clamp(60px, 9vh, 110px) 0; }
@media (max-width: 760px) { .nf-shade { background: linear-gradient(0deg, rgba(11, 11, 11, .92) 20%, rgba(11, 11, 11, .55) 100%); } }

/* ================= legal ================= */
.lg-band { position: relative; overflow: clip; color: var(--paper); padding: calc(var(--hdr-h) + clamp(40px, 7vh, 80px)) 0 clamp(90px, 14vh, 140px);
  background: radial-gradient(110% 120% at 85% 0%, #2c2c2c 0%, var(--claret) 55%, var(--claret-3) 100%); }
.lg-fog { position: absolute; left: -20%; right: -20%; bottom: -30%; opacity: .2; pointer-events: none; }
.lg-fog img { width: 100%; }
.lg-band-inner { position: relative; z-index: 2; }
.lg-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 4.2vw, 3.9rem); line-height: 1.06; color: #ffffff; display: flow-root; }
.lg-title em { font-style: italic; color: var(--champagne); }
.lg-band .lede { margin-top: 14px; color: #f7f7f7; }
.lg-updated { margin-top: 10px; font-size: .95rem; color: #d7d7d7; }
.lg-body { padding: clamp(56px, 8vh, 100px) 0 clamp(70px, 10vh, 120px); }
.lg-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.lg-toc { position: sticky; top: calc(var(--hdr-h) + 30px); padding-left: 22px; }
.lg-toc-h { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--claret); margin-bottom: 8px; }
.lg-toc-line { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: rgba(31, 31, 31, .15); }
.lg-toc-line i { display: block; width: 100%; height: 100%; background: var(--claret-2); transform-origin: top; transform: scaleY(0); }
.lg-toc a { display: flex; align-items: center; min-height: 44px; color: #303030; text-decoration: none; font-size: 1rem; transition: color .3s, transform .3s var(--ease); }
.lg-toc a:hover, .lg-toc a.is-on { color: var(--claret-2); }
.lg-toc a.is-on { transform: translateX(6px); }
.lg-prose { color: #272727; font-size: 1.08rem; line-height: 1.75; }
.lg-sec { padding: 0 0 clamp(26px, 4vh, 40px); scroll-margin-top: calc(var(--hdr-h) + 30px); }
.lg-sec + .lg-sec { padding-top: clamp(26px, 4vh, 40px); border-top: 1px solid rgba(24, 24, 24, .14); }
.lg-h { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.2; color: var(--claret); margin-bottom: 12px; }
.lg-prose p + p { margin-top: 12px; }
.lg-prose a { color: var(--claret-2); text-underline-offset: 3px; }
@media (max-width: 900px) {
  .lg-grid { grid-template-columns: 1fr; }
  .lg-toc { position: relative; top: 0; }
}
