/* SS Family Wellness Centre
   Tokens follow Brand Guidelines v1.0 (06 colour, 07 type). Cinzel stands in for Trajan Pro.
   Direction: lantern-lit Thai heritage spa. Deep teak, gold line work, slow deliberate motion. */

:root {
  --earth: #3B2014;
  --earth-deep: #1F0F08;
  --teak: #2C170D;
  --cream: #F7EDE0;
  --green: #7AB73C;
  --sand: #D2B18C;
  --gold: #E6CDA4;
  --stone: #8B6E63;
  --line: rgb(210 177 140 / .3);

  --display: "Trajan Pro", "Cinzel", "Times New Roman", serif;
  --body: "Montserrat", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(5rem, 12vw, 10rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--earth); color: var(--cream);
  font: 400 1.0625rem/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: .02em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 2px; }
.wrap { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cream); color: var(--earth); padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


/* ---------- Flowing background, fixed behind the whole site ----------
   Built from the supplied gradient animation: one frame, mirrored top to bottom so it tiles
   without a seam. Two copies drift in opposite directions at different speeds and blend,
   so light and shadow fold through each other; the whole surface also sways slowly. */
.flow { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #4a2f1c; pointer-events: none; }
.flow__sway { position: absolute; inset: -22%; will-change: transform; animation: flow-sway 44s ease-in-out infinite alternate; }
/* The colour grade (contrast, lower saturation, a turn toward brown) is baked into
   flow-toned.jpg, so no filter has to be recomputed over the whole screen each frame. */
/* Each layer is only as tall as it needs to be (the swaying box plus one tile) and
   travels exactly one tile, so the loop is invisible. */
.flow i {
  position: absolute; left: 0; top: 0; width: 100%; height: 330vh;
  background: url(assets/media/flow-toned.jpg?v=4) 0 0 / 100% 33.3334% repeat-y;
  will-change: transform; animation: flow-up 82s linear infinite;
}
.flow i:nth-child(2) { height: 340vh; background-size: 100% 50%; mix-blend-mode: soft-light; opacity: .9; scale: -1 1; animation: flow-down 118s linear infinite; }
/* Third, finer layer: narrower bands drifting across the two broad ones. */
.flow i:nth-child(3) { height: 208vh; background-size: 100% 25%; mix-blend-mode: soft-light; opacity: .55; scale: 1.7 1; animation: flow-up-fine 150s linear infinite; }
@keyframes flow-up-fine { to { transform: translateY(-25%); } }
/* Surface detail: long soft streaks like the sheen on silk or the grain in timber, plus a very fine grain. */
.flow::before {
  content: ""; position: absolute; inset: -10% 0 -10% -900px; z-index: 1; opacity: .2; mix-blend-mode: soft-light; will-change: transform;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.22' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.6 -0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E") 0 0 / 900px 600px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 -0.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  animation: streak-drift 90s linear infinite;
}
/* Moved with a transform, not background-position, so it never repaints. */
@keyframes streak-drift { to { transform: translateX(900px); } }
/* Phones, and any device script.js finds too slow (class "lite"): one still image
   instead of the moving, blended layers. */
.lite .flow__sway, .lite .flow::before { display: none; }
.lite .flow { background: #3a2415 url(assets/media/flow-still.jpg?v=1) center / cover no-repeat; }
@media (max-width: 960px) {
  .flow__sway, .flow::before { display: none; }
  .flow { background: #3a2415 url(assets/media/flow-still.jpg?v=1) center / cover no-repeat; }
  .hero__photo { animation: none; }
}
.flow::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(120% 90% at 50% 40%, rgb(31 15 8 / .14), rgb(31 15 8 / .5)); }
@keyframes flow-up { to { transform: translateY(-33.3334%); } }
@keyframes flow-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes flow-sway {
  0%   { transform: rotate(-5deg) skewX(-4deg) scale(1.05); }
  50%  { transform: rotate(2deg) skewX(5deg) scale(1.16); }
  100% { transform: rotate(6deg) skewX(-3deg) scale(1.08); }
}

/* ---------- Buttons: fill sweeps up on hover ---------- */
.btn {
  position: relative; display: inline-block; overflow: hidden; isolation: isolate;
  padding: 1rem 1.8rem; background: var(--green); color: var(--earth-deep);
  font: 600 .9375rem/1 var(--body); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--green); border-radius: 999px;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--cream);
  transform: translateY(102%); border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  transition: transform .55s var(--ease), border-radius .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; border-radius: 0; }
.btn:hover, .btn:focus-visible { border-color: var(--cream); }
.btn--line { background: transparent; color: var(--cream); border-color: rgb(247 237 224 / .55); }
.btn--line:hover, .btn--line:focus-visible { color: var(--earth-deep); }

/* ---------- Background music switch. Off until the visitor turns it on. ---------- */
/* Music switch: a small round icon pinned to the bottom corner. */
.sound {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 40;
  display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  background: rgb(31 15 8 / .82); color: var(--cream);
  border: 1px solid rgb(247 237 224 / .3); border-radius: 50%; cursor: pointer;
  box-shadow: 0 .6rem 1.6rem -.6rem rgb(0 0 0 / .7); transition: border-color .3s, background-color .3s;
}
.sound[aria-pressed="true"] { border-color: var(--gold); }
.sound__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sound:hover { border-color: var(--gold); }
.sound__bars { display: flex; align-items: flex-end; gap: 3px; height: 1rem; }
.sound__bars i { width: 2px; height: 45%; background: var(--gold); border-radius: 1px; transform-origin: bottom; opacity: .55; }
/* Off: a still equaliser shape, so the icon reads as sound even without its label. */
.sound__bars i:nth-child(2) { height: 100%; }
.sound__bars i:nth-child(3) { height: 65%; }
.sound__bars i:nth-child(4) { height: 85%; }
.sound[aria-pressed="true"] .sound__bars i { opacity: 1; }
.sound[aria-pressed="true"] .sound__bars i { height: 100%; animation: eq 1.1s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-duration: .8s; animation-delay: -.3s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-duration: 1.4s; animation-delay: -.6s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-duration: .95s; animation-delay: -.2s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 2rem;
  padding: 1rem var(--gutter);
  transition: background-color .4s, padding .4s var(--ease), box-shadow .4s, transform .5s var(--ease);
  animation: drop 1s var(--ease) .2s both;
}
@keyframes drop { from { opacity: 0; transform: translateY(-1rem); } }
.site-header.is-stuck { background: rgb(31 15 8 / .93); padding-block: .55rem; box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-110%); }
.brand img { height: clamp(3rem, 5vw, 4.2rem); width: auto; }
.site-nav { display: flex; gap: clamp(.8rem, 1.35vw, 2.2rem); margin-left: auto; }
.brand, .btn--book { flex: none; }
.site-nav a {
  font-size: .9375rem; text-decoration: none; padding: .4rem 0;
  background: linear-gradient(var(--sand), var(--sand)) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.site-nav a:hover { background-size: 100% 1px; }
.btn--book { padding: .78rem 1.35rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 8rem var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
}
.hero__stage { position: absolute; inset: 0; z-index: -1; background: var(--earth-deep); }
.hero__photo, .hero__video { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.hero__photo { animation: settle 2.8s var(--ease) both; }
@keyframes settle { from { scale: 1.18; filter: brightness(.5); } to { scale: 1; filter: brightness(1); } }
.hero__video { opacity: 0; transition: opacity 1.6s ease; }
.hero__video.is-ready { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(31 15 8 / .86) 0%, rgb(31 15 8 / .46) 26%, rgb(31 15 8 / .06) 56%, rgb(31 15 8 / .36) 100%),
    linear-gradient(to right, rgb(31 15 8 / .32), transparent 55%);
}
.hero__content { width: 100%; }
.hero__kicker { font: 500 clamp(.7rem, 1vw, .875rem)/1.5 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); text-shadow: 0 1px 14px rgb(31 15 8 / .7); margin-bottom: clamp(.9rem, 1.6vw, 1.4rem); animation: kicker-in 1.6s ease .2s both; }
@keyframes kicker-in { from { opacity: 0; } }
.hero__title { font-family: var(--display); font-weight: 400; margin-top: 0; text-wrap: balance; font-size: clamp(2.6rem, 8.4vw, 8rem); line-height: .98; letter-spacing: 0; text-shadow: 0 2px 28px rgb(31 15 8 / .55); margin-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.line { display: block; overflow: hidden; padding-block: .06em; }
.line > span { display: block; animation: rise 1.5s var(--ease) both; }
.line:nth-child(1) > span { animation-delay: .3s; }
.line:nth-child(2) > span { animation-delay: .47s; }
.line:nth-child(3) > span { animation-delay: .64s; }
.line:nth-child(2) { padding-left: clamp(1.2rem, 6vw, 6.5rem); }
.line:nth-child(3) { padding-left: clamp(2.4rem, 12vw, 13rem); color: var(--gold); }
@keyframes rise { from { transform: translateY(108%); } }
.hero__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
  padding-top: clamp(1.2rem, 2.5vw, 2rem); border-top: 1px solid var(--line);
  animation: fade-up 1.4s var(--ease) 1.2s both;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(1rem); } }
.hero__lede { max-width: 34rem; margin: 0; text-shadow: 0 1px 14px rgb(31 15 8 / .7); font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__cue { display: none; }

/* ---------- Page change: content fades out and in; the flowing background stays put ---------- */
@keyframes page-in { from { opacity: 0; } }
.js main, .js .site-footer { animation: page-in .8s ease both; }
/* The header is left alone so it stays fixed across the change. */
.js main, .js .site-footer { transition: opacity .38s ease; }
.js body.is-leaving main, .js body.is-leaving .site-footer { opacity: 0; animation: none; }

/* ---------- Headings rise line by line, like the hero ---------- */
.js [data-reveal].is-split { opacity: 1; transform: none; transition: none; }
.hline { display: block; overflow: hidden; padding-block: .1em; margin-block: -.1em; }
.hline > span { display: block; transform: translateY(108%); transition: transform 1.2s var(--ease) calc(var(--i, 0) * .1s); }
.is-in .hline > span, .is-settled .hline > span { transform: none; }
.is-settled .hline > span { transition: none; }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(2rem); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.section-head { max-width: 46rem; margin: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2, .about h2 { font-size: clamp(2rem, 4.8vw, 3.9rem); line-height: 1.08; }
.section-head p { margin-top: 1.2rem; color: var(--sand); max-width: 36rem; }
.section-head--dark p { color: var(--stone); }

/* ---------- About ---------- */
/* Our way: the film fills the whole left half, edge to edge; the text sits in the right half. */
.about { background: var(--cream); color: var(--earth); overflow: clip; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: none; margin: 0; }
/* When the text column is taller than the screen, the film stays in view while the text scrolls past. */
/* The film is 3:4. Its height never exceeds what half the screen width can show in full,
   so the sides are never cropped (fingertips stay in frame). On wide, short screens only
   a little of the top and bottom is trimmed. */
.about__media { --film-h: min(100svh, calc(50vw * 4 / 3)); position: sticky; top: max(0px, calc((100svh - var(--film-h)) / 2)); align-self: start; height: var(--film-h); }
.card { position: absolute; inset: 0; overflow: hidden; background: var(--earth); }
/* The still sits exactly where the film will, so nothing shifts when the film takes over. */
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .about__media[data-reveal] { opacity: 1; transform: none; }
.js .about__media .card { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease-io); }
.js .about__media.is-in .card { clip-path: inset(0); }
/* Words that surface over the film, one at a time. */
/* The soft dark patch keeps the word readable where the film is pale. */
.card__words { position: absolute; inset: 0; z-index: 2; margin: 0; display: grid; place-items: center; pointer-events: none; background: radial-gradient(46% 20% at 50% 50%, rgb(31 15 8 / .42), transparent 100%); }
.card__words span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(.3em); filter: blur(6px);
  font: italic 500 clamp(2.8rem, 6.5vw, 5.6rem)/1 "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: .01em; color: #EBDAC1; text-shadow: 0 1px 3px rgb(31 15 8 / .45), 0 2px 26px rgb(31 15 8 / .7);
  transition: opacity 1.1s ease, transform 1.3s var(--ease), filter 1.1s ease;
}
/* Each word belongs to one shot of the film; script.js switches them by playback time. */
.card__words span.is-on { opacity: 1; transform: none; filter: blur(0); }
.about__text { align-self: center; padding: var(--section) var(--gutter) var(--section) clamp(2rem, 6vw, 6rem); max-width: 46rem; }
.about__text p { max-width: 34rem; }
.about h2 { margin-bottom: 1.8rem; }
.about__points { margin-top: 2.2rem; border-top: 1px solid rgb(139 110 99 / .45); }
.about__points li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgb(139 110 99 / .45); font-family: var(--display); font-size: 1.0625rem; letter-spacing: .03em; }
.about__points li::before { content: ""; width: 1.6rem; height: 1px; background: var(--stone); flex: none; }

/* Film loops laid over a photograph or line art once the clip exists. */
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.has-film .film { opacity: 1; }

/* ---------- Signature reels: a short curated row, the only place film appears ---------- */
.signature { padding-block: var(--section) clamp(3rem, 6vw, 5rem); }
.reels {
  display: flex; gap: 4px; height: min(78svh, 46rem);
  width: min(100% - 2 * var(--gutter), 92rem); margin-inline: auto;
}
/* Expanding gallery: the panel under the pointer opens wide, the others narrow and dim. */
.reel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--teak); cursor: pointer;
  transition: flex-grow 1s var(--ease);
}
.js .reel[data-reveal] { transition: flex-grow 1s var(--ease), opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.reel.is-active { flex-grow: 3.4; cursor: default; }
.reel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, rgb(31 15 8 / .12), transparent 30%, transparent 52%, rgb(31 15 8 / .8));
}
.reel .film, .reel__poster { transition: opacity 1.2s ease, filter 1s ease, scale 1.6s var(--ease); filter: brightness(.5) saturate(.7); }
.reel.is-active .film, .reel.is-active .reel__poster { filter: none; scale: 1.03; }
.reel__cap { position: absolute; z-index: 2; left: clamp(.9rem, 1.6vw, 1.8rem); right: clamp(.9rem, 1.6vw, 1.8rem); bottom: clamp(1rem, 1.8vw, 1.8rem); }
.reel__cap h3 { font-size: clamp(.95rem, 1.15vw, 1.15rem); line-height: 1.2; color: rgb(247 237 224 / .8); transition: font-size .9s var(--ease), color .6s; }
.reel.is-active .reel__cap h3 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); color: var(--cream); }
.reel__cap p, .reel__price {
  display: block; max-height: 0; opacity: 0; overflow: hidden; margin: 0;
  transition: max-height .8s var(--ease), opacity .5s, margin .8s var(--ease);
}
.reel__cap p { font-size: 1rem; line-height: 1.55; max-width: 26rem; color: rgb(247 237 224 / .9); }
.reel__price { font-size: .875rem; letter-spacing: .04em; color: var(--gold); }
.reel.is-active .reel__cap p { max-height: 6rem; opacity: 1; margin-top: .7rem; transition-delay: .25s; }
.reel.is-active .reel__price { max-height: 2rem; opacity: 1; margin-top: .6rem; transition-delay: .35s; }

.reel__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Menu: text only, set like a printed card ---------- */
.menu { padding-block: clamp(3rem, 6vw, 5rem) var(--section); }
.price-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: clamp(1.1rem, 2vw, 1.5rem) 0; border-bottom: 1px solid var(--line); }
.price-list h3 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); margin-bottom: .25rem; }
.price-list p { font-size: .9375rem; line-height: 1.5; color: rgb(247 237 224 / .7); }
.price { font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: 2.2rem; }
.menu__foot p { color: var(--sand); font-size: .9375rem; margin: 0; }

/* ---------- Journey: a real sequence, so it is numbered. The gold rail fills as you scroll
   and the step nearest the middle of the screen comes forward. ---------- */
/* The film fills the left half, edge to edge and a full screen tall, with no frame.
   It is graded darker and cooler so it sits in the page instead of glowing yellow,
   and the heading rests on it. The steps scroll past on the right. */
/* Thin gold rules mark where the section begins and ends. */
.journey { padding: 0; border-block: 1px solid var(--line); }
.journey__grid { display: grid; grid-template-columns: 1fr 1fr; }
.journey__aside { position: sticky; top: 0; align-self: start; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
/* One film per step, stacked; the one for the step being read fades in. */
.journey__photo { position: absolute; inset: 0; z-index: -1; margin: 0; background: var(--teak); opacity: 0; transition: opacity 1.1s ease; }
.journey__photo.is-on { opacity: 1; }
.journey__photo img, .journey__photo .film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.journey__photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(31 15 8 / .92) 0%, rgb(31 15 8 / .5) 34%, rgb(31 15 8 / .12) 62%, rgb(31 15 8 / .4) 100%); }
.journey__aside .section-head { margin: 0; max-width: 34rem; padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(2rem, 5vw, 4.5rem) var(--gutter); }
.journey__aside .section-head p { color: rgb(247 237 224 / .86); }
.steps { position: relative; align-self: center; margin: var(--section) var(--gutter) var(--section) clamp(2rem, 5vw, 5rem); padding-left: clamp(1.6rem, 3vw, 2.6rem); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; }
.steps::before { bottom: 0; background: var(--line); }
.steps::after { height: 100%; background: var(--gold); transform: scaleY(var(--rail, 0)); transform-origin: top; }
.step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.6rem); align-items: start;
  padding-block: clamp(2rem, 5vw, 4rem); border-bottom: 1px solid var(--line);
  opacity: .38; transition: opacity .7s var(--ease);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step.is-on { opacity: 1; }
.step__num {
  font-family: var(--display); font-size: clamp(3rem, 6.5vw, 6rem); line-height: .85; letter-spacing: 0;
  color: transparent; -webkit-text-stroke: 1px var(--sand); font-variant-numeric: lining-nums;
  transition: color .7s var(--ease), -webkit-text-stroke-color .7s;
}
.step.is-on .step__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin-bottom: .7rem; }
.step p { max-width: 30rem; color: rgb(247 237 224 / .86); }

/* ---------- Outlets ---------- */
.outlets { padding-block: var(--section) clamp(3rem, 6vw, 5rem); }
.outlet-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.outlet {
  position: relative; overflow: hidden; background: rgb(31 15 8 / .74);
  border: 1px solid var(--line); border-radius: 1rem;
  padding: clamp(1.7rem, 3vw, 2.6rem); min-height: 13.5rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .45rem;
}
.outlet::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 90% at 0% 100%, rgb(210 150 80 / .22), transparent 70%); opacity: 0; transition: opacity .6s; }
.outlet:hover::before { opacity: 1; }
.outlet > * { position: relative; }
.outlet h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.outlet__tel { color: var(--sand); font-variant-numeric: tabular-nums; margin: 0; }
.outlet__hours { margin: 0; }
.outlet__tel a { text-decoration: none; }
.outlet__tel a:hover { color: var(--gold); }
.outlet__actions { margin-top: auto; padding-top: 1.1rem; width: 100%; display: grid; gap: .6rem; }
.outlet__actions .btn { text-align: center; }
.outlet__nav { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.outlet__nav a {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem;
  padding: .6rem .8rem; border: 1px solid rgb(247 237 224 / .32); border-radius: 999px;
  font-size: .875rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .35s, color .35s, border-color .35s;
}
.outlet__nav svg { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; transition: stroke .35s, translate .5s var(--ease); }
.outlet__nav a:hover, .outlet__nav a:focus-visible { background: var(--cream); border-color: var(--cream); color: var(--earth-deep); }
.outlet__nav a:hover svg, .outlet__nav a:focus-visible svg { stroke: var(--earth-deep); translate: 0 -2px; }
.outlet .btn { padding: .9rem 1.35rem; font-size: .875rem; }
.outlet--mail a { text-underline-offset: .3em; }

/* ---------- Home: compact outlets band that leads to the outlets page ---------- */
.band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.band .section-head { margin: 0; }
.band .section-head .btn { margin-top: 1.8rem; }
.band__list { border-top: 1px solid var(--line); }
.band__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1rem, 2vw, 1.4rem) 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.7rem); letter-spacing: .03em;
  transition: padding-left .6s var(--ease), color .4s;
}
.band__list a:hover, .band__list a:focus-visible { padding-left: 1rem; color: var(--gold); }
.band__tel { font-family: var(--body); font-size: .9375rem; letter-spacing: 0; color: var(--sand); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Outlets page ---------- */
.stores { padding-block: clamp(8rem, 14vw, 11rem) var(--section); }
.stores h1 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.06; }
.store-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.store {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 1rem; border: 1px solid var(--line);
  background: rgb(31 15 8 / .74); scroll-margin-top: 6.5rem;
}
.store:target { border-color: var(--gold); }
.store__photo {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(90% 120% at 20% 100%, rgb(210 150 80 / .28), transparent 70%), var(--teak);
}
.store__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.6s var(--ease); }
.store:hover .store__photo img { scale: 1.04; }
/* Shown until a photograph of the outlet is added. */
.store__mark { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: .06em; text-align: center; padding: 1rem; color: transparent; -webkit-text-stroke: 1px rgb(210 177 140 / .55); }
.store__body { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.store h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.store__gname { margin: -.3rem 0 .2rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.store address { font-style: normal; color: rgb(247 237 224 / .86); }
.store__meta { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 0; color: var(--sand); font-variant-numeric: tabular-nums; }
.store__meta a { text-decoration: none; color: var(--gold); }
.store__meta a:hover { text-decoration: underline; text-underline-offset: .3em; }
/* Questions: each one opens in place. */
.faq { padding-block: clamp(3rem, 6vw, 5rem); }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; transition: color .3s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: .6rem; height: .6rem; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-.15rem) rotate(45deg); transition: transform .4s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(.15rem) rotate(-135deg); }
.faq__list summary:hover, .faq__list summary:focus-visible { color: var(--gold); }
.faq__list h3 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.3; }
.faq__list p { margin: 0; padding: 0 2.5rem 1.4rem 0; color: rgb(247 237 224 / .82); max-width: 44rem; }
.faq__list p a { color: var(--cream); text-underline-offset: .3em; }

/* Franchise and investment page. */
.partner__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.partner__grid h2, .partner__contact h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.12; }
.partner__grid .about__points { border-color: var(--line); margin-top: 1.6rem; }
.partner__grid .about__points li { border-color: var(--line); }
.partner__grid .about__points li::before { background: var(--gold); }
.partner__note { margin-top: 1.6rem; color: var(--sand); }
.partner__contact { margin-top: var(--section); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.partner__contact .section-head { position: sticky; top: 7rem; margin: 0; }
.partner__contact .section-head a { color: var(--cream); text-underline-offset: .3em; }
.enquiry { display: grid; gap: 1.2rem; }
.enquiry .btn { justify-self: start; cursor: pointer; }
.enquiry__hint { margin: 0; font-size: .875rem; color: var(--sand); }
@media (max-width: 960px) {
  .partner__grid { grid-template-columns: 1fr; }
  .partner__contact .section-head { position: static; }
}
.stores__note { margin-top: 2.2rem; color: var(--sand); }
.stores__note a { color: var(--cream); text-underline-offset: .3em; }

/* Member login link in the header (wide screens) */
.login { flex: none; font-size: .9375rem; text-decoration: none; white-space: nowrap; padding: .4rem 0; color: var(--gold); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.login:hover { background-size: 100% 1px; }
.navmenu { position: relative; flex: none; }
.navmenu summary { list-style: none; cursor: pointer; }
.navmenu summary::-webkit-details-marker { display: none; }
.navmenu__panel {
  position: absolute; right: 0; top: calc(100% + .6rem); z-index: 5;
  display: grid; padding: .5rem; border-radius: .9rem; border: 1px solid var(--line);
  background: rgb(31 15 8 / .97); box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / .8);
  animation: drop-in .35s var(--ease) both;
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-.4rem); } }
.navmenu__panel a {
  display: flex; align-items: center; min-height: 2.75rem; padding: .5rem .9rem; border-radius: .55rem;
  text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s;
}
.navmenu__panel a:hover, .navmenu__panel a:focus-visible { background: rgb(247 237 224 / .09); color: var(--gold); }
.site-nav a { white-space: nowrap; }
.page-outlets .site-header { animation: none; }

/* Menu for narrower screens: the page links plus Member login */
.navmenu { display: none; }
.navmenu summary { width: 2.75rem; height: 2.75rem; display: grid; place-content: center; gap: 5px; border: 1px solid rgb(247 237 224 / .3); border-radius: 50%; background: rgb(31 15 8 / .35); }
.navmenu summary span { display: block; width: 1.05rem; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease), opacity .25s; }
.navmenu[open] summary span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navmenu[open] summary span:nth-child(2) { opacity: 0; }
.navmenu[open] summary span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.navmenu__panel { min-width: min(17rem, calc(100vw - 2 * var(--gutter))); }
.navmenu__panel a { font-size: 1.0625rem; }
.navmenu__acct { color: var(--gold); }
.navmenu__panel .navmenu__acct { margin-top: .5rem; border-top: 1px solid var(--line); border-radius: 0 0 .55rem .55rem; padding-top: .9rem; }
.book__short { display: none; }
/* Below this width the header cannot hold every link, so they move into the menu. */
@media (max-width: 1279px) {
  .site-nav, .login { display: none; }
  .navmenu { display: block; }
  .site-header { justify-content: space-between; gap: .6rem; }
  .btn--book { margin-left: auto; }
  .page-outlets .navmenu { margin-left: auto; }
}

/* ---------- Feedback form: a dark glass panel in three short steps ---------- */
.feedback { padding-block: clamp(3rem, 6vw, 5rem) var(--section); }
.feedback__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.feedback .section-head { position: sticky; top: 7rem; margin: 0; }
.panel {
  position: relative; overflow: hidden; border-radius: 1.25rem; border: 1px solid var(--line);
  background: rgb(31 15 8 / .72);
  padding: clamp(1.5rem, 3.5vw, 3rem); box-shadow: 0 3rem 6rem -2.5rem rgb(0 0 0 / .7);
}
.form__progress { position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--line); }
.form__progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(var(--p, .3333)); transform-origin: left; transition: transform .9s var(--ease); }
.form__count { margin: 0 0 .5rem; font-size: .875rem; color: var(--sand); font-variant-numeric: tabular-nums; }
.form__step h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem); outline: none; }
.js .form__step { display: none; }
.js .form__step.is-current { display: block; animation: step-in .7s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(1.5rem); } }
.form__step + .form__step { margin-top: 2.5rem; }
.js .form__step + .form__step { margin-top: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .5rem; }
.field > span, .form legend { font-weight: 500; font-size: .9375rem; color: rgb(247 237 224 / .9); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--cream); background: rgb(247 237 224 / .06);
  border: 1px solid rgb(247 237 224 / .28); border-radius: .7rem; padding: .9rem 1rem;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field textarea:hover { border-color: rgb(247 237 224 / .5); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--gold); background: rgb(247 237 224 / .1); box-shadow: 0 0 0 3px rgb(230 205 164 / .25); }
.field input.is-bad, .field textarea.is-bad { border-color: #ff9d8a; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; }
.form__hint { margin: -.8rem 0 1rem; font-size: .9375rem; color: var(--sand); }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.5rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.rate:last-of-type { border-bottom: 1px solid var(--line); }
.rate legend { float: left; width: 100%; grid-column: 1; }
.rate__scale { grid-column: 2; display: flex; gap: .45rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgb(247 237 224 / .32); font-variant-numeric: tabular-nums; font-weight: 500; color: rgb(247 237 224 / .8);
  transition: background-color .3s, color .3s, border-color .3s, scale .45s var(--ease);
}
.chip:hover span { border-color: var(--gold); color: var(--cream); scale: 1.08; }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--earth-deep); scale: 1.1; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgb(122 183 60 / .7); }
.rate.is-bad legend, .styles.is-bad legend { color: #ff9d8a; }
.styles { margin-bottom: 1.8rem; }
.styles__list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pick span { display: block; padding: .75rem 1.15rem; border-radius: 999px; border: 1px solid rgb(247 237 224 / .32); font-size: .9375rem; transition: background-color .3s, color .3s, border-color .3s; }
.pick:hover span { border-color: var(--gold); }
.pick input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--earth-deep); }
.pick input:focus-visible + span { box-shadow: 0 0 0 3px rgb(122 183 60 / .7); }
.field--other { margin-top: 1rem; }
.form__error { margin: 1.4rem 0 0; color: #ff9d8a; font-weight: 500; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.form__foot p { margin: 0 0 0 auto; font-size: .875rem; color: var(--sand); }
.form__done h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: .8rem; }
.form__done { animation: step-in .8s var(--ease) both; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: rgb(31 15 8 / .78); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.foot { display: grid; grid-template-columns: 1.3fr .8fr 1.35fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.foot__brand img { height: 4rem; width: auto; margin-bottom: 1.2rem; }
.foot__brand p { max-width: 20rem; color: rgb(247 237 224 / .8); font-size: .9375rem; margin-bottom: 1.4rem; }
.foot__col h2 { font: 500 .9375rem/1.4 var(--body); letter-spacing: 0; color: var(--sand); margin-bottom: 1rem; }
.foot__col ul { display: grid; gap: .1rem; }
.foot__col li a, .foot__col p a { text-decoration: none; transition: color .3s; }
.foot__col li > a:first-child { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot__col a:hover, .foot__col a:focus-visible { color: var(--gold); }
.foot__col p { font-size: .9375rem; color: rgb(247 237 224 / .86); margin-bottom: 1rem; }
.foot__col p a { text-decoration: underline; text-underline-offset: .3em; text-decoration-color: rgb(247 237 224 / .4); }
.foot__col .btn { margin-top: .4rem; padding: .85rem 1.4rem; font-size: .875rem; }
.foot__col .btn:hover, .foot__col .btn:focus-visible { color: var(--earth-deep); }
.foot__col--outlets li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.foot__col--outlets li:first-child { border-top: 1px solid var(--line); }
.foot__dir { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .8125rem; color: var(--gold); white-space: nowrap; }
.foot__dir::after { content: ""; width: .4rem; height: .4rem; margin-left: .45rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; rotate: 45deg; transition: translate .4s var(--ease); }
.foot__dir:hover::after { translate: 3px 0; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.foot__legal p { margin: 0; font-size: .8125rem; color: var(--sand); }
.foot__ssm span:empty { display: none; }
.foot__ssm span + span:not(:empty)::before { content: " (" ; }
.foot__ssm span + span:not(:empty)::after { content: ")"; }
.social { display: flex; gap: .6rem; }
.social a {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgb(247 237 224 / .3); color: var(--cream);
  transition: background-color .35s, color .35s, border-color .35s, translate .5s var(--ease);
}
.social a:not([href^="http"]) { display: none; }
.social a:hover, .social a:focus-visible { background: var(--cream); border-color: var(--cream); color: var(--earth-deep); translate: 0 -2px; }
.social svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social svg .dot { fill: currentColor; stroke: none; }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; min-height: 0; }
  .about__text { padding: clamp(3rem, 9vw, 4.5rem) var(--gutter) var(--section); }
  /* Stacked: the film runs the full width of the screen above the text. */
  .about__media { position: relative; top: 0; height: auto; aspect-ratio: 3 / 4; }
  /* Touch layout: one panel at a time, swiped sideways, every panel fully open. */
  .reels { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; width: 100%; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel, .reel.is-active { flex: 0 0 min(76vw, 22rem); aspect-ratio: 9 / 15; scroll-snap-align: start; cursor: default; }
  .reel .film, .reel .reel__poster { filter: none; scale: 1; }
  .reel .reel__cap h3 { font-size: 1.5rem; color: var(--cream); }
  .reel .reel__cap p { max-height: 6rem; opacity: 1; margin-top: .6rem; }
  .reel .reel__price { max-height: 2rem; opacity: 1; margin-top: .5rem; }
  .price-list { grid-template-columns: 1fr; }
  .outlet-list { grid-template-columns: 1fr 1fr; }
  .feedback__grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .journey__grid { grid-template-columns: 1fr; }
  .journey__aside { position: relative; height: auto; min-height: min(78svh, 34rem); }
  .steps { margin: clamp(3rem, 9vw, 4.5rem) var(--gutter) var(--section); }
  .feedback .section-head { position: static; }
  .hero__photo, .hero__video { object-position: 72% 50%; }
}
@media (max-width: 560px) {
  .btn--book { padding: .8rem 1.1rem; font-size: .875rem; }
  .book__long { display: none; }
  .book__short { display: inline; }
  .hero { padding-top: 7rem; }
  .hero__actions .btn { flex: 1 1 100%; text-align: center; }
  .outlet-list { grid-template-columns: 1fr; }
  .store-list { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .rate { grid-template-columns: 1fr; }
  .rate__scale { grid-column: 1; justify-content: space-between; }
  .form__foot p { margin-left: 0; flex-basis: 100%; }
  .outlet { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .step { opacity: 1; }
  .hline > span { transform: none; }
  .card__words span { transform: none; filter: none; }
  .js .about__media .card { clip-path: none; }
}

/* Animation clock stalled: show the finished state (set by script.js). */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }


