/* ==========================================================================
   CTC Nails – public website
   Identity (as in 2.0.4): dark burgundy header, hero, visit and footer; light ivory /
   champagne sections with cream cards in between; champagne gold throughout.
   Motion is opt-in: boot.js adds html.motion only when the visitor allows it.
   Without JavaScript, or with reduced motion, every rule below resolves to a
   complete static page.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg-0: #180a12;
  --bg-1: #21101a;
  --bg-2: #2a1421;
  --bg-3: #37192a;
  --wine: #6d2546;
  --wine-hi: #8c3156;
  --gold: #c9a063;
  --gold-hi: #f4dfb0;
  --gold-lo: #96683a;
  --cream: #f8eedf;
  --text: #eedfcd;
  --muted: #cbb5a8;
  --ivory: #fbf6ed;
  --paper: #fffaf3;
  --paper-2: #f5e6d6;
  --rose: #f0e2d9;
  --ink: #38222c;
  --ink-soft: #785b66;
  --plum: #8e5368;
  --line-l: #e4d3c9;
  --line-card: #ddcabe;
  --line: rgba(201, 160, 99, .34);
  --line-soft: rgba(201, 160, 99, .16);
  --gold-grad: linear-gradient(112deg, #f6e2b6, #c99a5c 56%, #f0d49c);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.65, .05, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 4px;
  --head: 85px;
  --head-c: 85px;
  --gutter: clamp(20px, 5vw, 72px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--ivory);
  scroll-padding-top: calc(var(--head-c) + 24px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
@supports not (overflow: clip) { html { overflow-x: hidden; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body { margin: 0; min-width: 0; background: var(--ivory); line-height: 1.6; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.028em; color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
h3 { font-size: clamp(1.7rem, 2.8vw, 2.7rem); }
p { color: var(--ink-soft); line-height: 1.75; }
em { font-style: italic; font-weight: 400; color: var(--wine); }
/* dark zones: light type, gold accents */
.masthead, .hero, .subhero, .visit, .footer { color: var(--text); }
:is(.hero, .subhero, .visit) :is(h1, h2, h3) { color: var(--cream); }
:is(.hero, .subhero, .visit) em { color: var(--gold-hi); }
:is(.hero, .subhero, .visit) .eyebrow { color: #f0d7b4; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  :is(.hero, .subhero, .visit) :is(h1, h2) em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
}
:focus-visible { outline: 2px solid var(--gold-lo); outline-offset: 4px; border-radius: 2px; }
:is(.masthead, .hero, .subhero, .visit, .footer, .mobile-book, .gallery-dialog) :focus-visible { outline-color: var(--gold-hi); }
::selection { background: var(--gold); color: var(--bg-0); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 300; padding: 12px 18px; background: var(--gold-hi); color: var(--bg-0); font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.container { width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(52px, 7vw, 100px); }

.eyebrow { display: block; margin-bottom: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; color: var(--plum); text-transform: uppercase; }

/* ---------- 3. Buttons and links ---------- */
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px; overflow: hidden; isolation: isolate;
  border: 1px solid #dcb57c; border-radius: var(--radius);
  background: var(--gold-grad); color: #2c1520;
  font-size: .84rem; font-weight: 700; letter-spacing: .03em; text-align: center;
  box-shadow: 0 6px 18px rgba(40, 16, 28, .16);
  transition: box-shadow .35s var(--ease-out), transform .35s var(--ease-out), border-color .3s;
}
.button::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translate3d(-120%, 0, 0); transition: transform .8s var(--ease-out);
}
.button:hover::before, .button:focus-visible::before { transform: translate3d(120%, 0, 0); }
.button:hover { box-shadow: 0 14px 38px rgba(201, 160, 99, .32); }
.button:active { transform: translateY(1px) scale(.985); }
.button:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.button:disabled::before { display: none; }
.button.ghost { background: transparent; color: var(--gold-hi); border-color: var(--line); box-shadow: none; }
.button.ghost:hover { border-color: var(--gold); background: rgba(201, 160, 99, .08); }
.button.secondary { background: transparent; color: var(--ink); border-color: #bba397; box-shadow: none; }
.button.secondary:hover { border-color: var(--wine); background: rgba(109, 37, 70, .05); box-shadow: none; }
.button-label { display: inline-flex; align-items: center; gap: 12px; }

.text-link {
  position: relative; display: inline-flex; align-items: center; gap: 9px; align-self: start;
  padding: 12px 0; min-height: 44px; font-size: .86rem; font-weight: 650; color: var(--wine);
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold);
  transform-origin: left; transition: transform .5s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(.35); }
.text-link.light { color: var(--gold-hi); }

/* ---------- 4. Ornament divider ---------- */
.ornament { position: relative; z-index: 2; width: min(1360px, 100% - 2 * var(--gutter)); height: 0; margin-inline: auto; pointer-events: none; }
.ornament span { position: absolute; left: 0; right: 0; top: -17px; display: block; height: 34px; background: url('gold-ornament.svg') center / 100% 100% no-repeat; opacity: .9; }

/* ---------- 5. Header ----------
   A solid burgundy bar that stays put (position: sticky), exactly like the header of the booking
   and "modify appointment" pages. The blur sits on a pseudo-element so the full-screen mobile menu
   (position: fixed, inside the header) is not trapped by a backdrop-filter containing block. */
.masthead { position: sticky; top: 0; z-index: 60; }
.masthead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #25121e; }
@supports ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
  .masthead::before { background: rgba(37, 18, 30, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
}
.header-ornament {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; width: min(100%, 1300px); height: 30px; margin-inline: auto;
  background: url('gold-ornament.svg') center / 100% 100% no-repeat; transform: translateY(50%); pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(199, 155, 100, .27));
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1600px; margin: auto; padding: 0 var(--gutter); min-height: var(--head);
}
.wordmark { display: block; flex: none; }
.wordmark img { width: 146px; height: 66px; object-fit: contain; }

.masthead nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); }
.masthead nav a {
  position: relative; padding: 12px 0; font-size: .8rem; letter-spacing: .04em; white-space: nowrap; color: #f2ded7;
  transition: color .3s;
}
.masthead nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--gold-hi); }
.masthead nav a:hover::after, .masthead nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.manage-mobile { display: none; }

.head-actions { display: flex; align-items: center; gap: 14px; }
.language { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); }
.language a { display: grid; place-items: center; min-width: 38px; min-height: 44px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); border-radius: 2px; }
.language a:hover { color: var(--gold-hi); }
.language .chosen { background: var(--gold-hi); color: var(--bg-0); }
.top-book { min-height: 48px; max-width: 250px; padding: 10px 18px; font-size: .76rem; line-height: 1.25; box-shadow: none; }
.nav-toggle { display: none; }

/* ---------- 6. Entry sequence (home, once per session) ---------- */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 200; cursor: pointer; animation: intro-end 0s linear 2.15s forwards; }
.intro-on body { overflow: hidden; animation: intro-unlock 0s linear 2.15s forwards; }
.intro-panel { position: absolute; top: 0; bottom: 0; width: 50.2%; background: linear-gradient(180deg, #1b0b14, #2a1320); }
.intro-panel-a { left: 0; border-right: 1px solid var(--gold); animation: intro-part-a .8s var(--ease) 1.32s forwards; }
.intro-panel-b { right: 0; border-left: 1px solid var(--gold); animation: intro-part-b .8s var(--ease) 1.32s forwards; }
.intro-center {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 20px;
  animation: intro-fade .4s ease 1.12s forwards;
}
.intro-mark { width: min(380px, 72vw); height: auto; opacity: 0; transform: scale(.86); animation: intro-mark .95s var(--ease-out) .22s forwards; }
.intro-line { width: min(560px, 82vw); height: auto; }
.intro-line path { stroke: var(--gold-hi); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw .95s var(--ease) .05s forwards; }
.intro-line .intro-gem { fill: rgba(244, 223, 176, 0); animation: intro-draw .6s ease .35s forwards, intro-gem .5s ease .75s forwards; }
.intro-word { font-size: .68rem; font-weight: 700; letter-spacing: .5em; color: var(--gold); opacity: 0; animation: intro-word .7s ease .55s forwards; padding-left: .5em; }
.intro-skip .intro { display: none; }
.intro-skip body { overflow: visible; }

@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-gem { to { fill: rgba(244, 223, 176, .9); } }
@keyframes intro-mark { to { opacity: 1; transform: none; } }
@keyframes intro-word { to { opacity: 1; } }
@keyframes intro-fade { to { opacity: 0; transform: scale(1.04); } }
@keyframes intro-part-a { to { transform: translate3d(-101%, 0, 0); } }
@keyframes intro-part-b { to { transform: translate3d(101%, 0, 0); } }
@keyframes intro-end { to { visibility: hidden; pointer-events: none; } }
@keyframes intro-unlock { to { overflow: visible; } }

/* ---------- 7. Hero: layered depth stage ---------- */
/* Colours and the slow gold "flow" lines are the 2.0.4 hero (the same drifting orbit lines as on the
   "modify appointment" page); the depth planes, dust and cursor response sit on top of that. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  --hero-pt: clamp(36px, 4.4vw, 70px); --hero-pb: 87px; --ring: 1; --ring-ext: .115;
  --art-w: max(340px, min(52vw, 780px, calc((100vh - 153px) / .865)));
  --art-w: max(340px, min(52vw, 780px, calc((100svh - 153px) / .865)));
  padding: var(--hero-pt) 0 var(--hero-pb);
  background: radial-gradient(ellipse at 74% 40%, #71364e 0, #452036 33%, transparent 65%), linear-gradient(112deg, #23111d, #351728 65%, #29121e);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: url('grain.png'); opacity: .22; pointer-events: none; }
.hero-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.plane { position: absolute; inset: -8%; will-change: transform; }

.glow { position: absolute; border-radius: 50%; }
.glow-a { right: -6%; top: -22%; width: 72vmax; height: 72vmax; background: radial-gradient(closest-side, rgba(140, 49, 86, .3), rgba(140, 49, 86, 0) 72%); }
.glow-b { left: -18%; bottom: -34%; width: 62vmax; height: 62vmax; background: radial-gradient(closest-side, rgba(201, 160, 99, .17), rgba(201, 160, 99, 0) 70%); }
.glow-c { right: 16%; top: 26%; width: 40vmax; height: 40vmax; background: radial-gradient(closest-side, rgba(246, 224, 172, .16), rgba(246, 224, 172, 0) 70%); }

.rings { display: block; width: 100%; height: 100%; opacity: .75; }
.rings g { transform-box: fill-box; transform-origin: center; }

.plane-flow { inset: -25%; overflow: hidden; }
.plane-flow i {
  position: absolute; left: 25%; top: 12%; width: 85%; height: 34%; border-radius: 50%;
  border: 1px solid rgba(230, 183, 120, .2); box-shadow: 0 0 65px rgba(230, 183, 120, .045), inset 0 0 30px rgba(244, 192, 135, .045);
  transform: rotate(-25deg); animation: liquid-drift 16s ease-in-out infinite alternate;
}
.plane-flow i:nth-child(2) { left: 18%; top: 35%; width: 96%; height: 30%; border-color: rgba(245, 220, 170, .16); animation-delay: -6s; }
.plane-flow i:nth-child(3) { left: 48%; top: 42%; width: 65%; height: 22%; border-color: rgba(168, 65, 98, .24); animation-delay: -11s; }
.hero.is-idle .plane-flow i { animation-play-state: paused; }
@keyframes liquid-drift { to { transform: translate3d(-5%, 8%, 0) rotate(-17deg); } }

.hero-dust { inset: 0; width: 100%; height: 100%; }

.leaf { position: absolute; width: clamp(90px, 11vw, 170px); height: auto; opacity: .55; }
.leaf-a { left: calc(6.9% + 16px); top: calc(6.9% + 16px); }
.leaf-b { right: calc(6.9% + 16px); bottom: calc(6.9% + 70px); transform: rotate(180deg); }
@media (max-width: 1499px) { .leaf-a { display: none; } }

.hero-spot {
  position: absolute; left: -340px; top: -340px; width: 680px; height: 680px; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(246, 224, 172, .13), rgba(246, 224, 172, 0) 70%);
  transition: opacity .6s ease; will-change: transform;
}
.hero.has-pointer .hero-spot { opacity: 1; }

.plane-bokeh { z-index: 3; pointer-events: none; }
.plane-bokeh i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(246, 224, 172, .32), rgba(246, 224, 172, .08) 55%, rgba(246, 224, 172, 0) 72%); }
.plane-bokeh i:nth-child(1) { left: 9%; top: 62%; width: 170px; height: 170px; }
.plane-bokeh i:nth-child(2) { left: 46%; top: 12%; width: 90px; height: 90px; opacity: .7; }
.plane-bokeh i:nth-child(3) { right: 7%; top: 70%; width: 230px; height: 230px; opacity: .55; }
.plane-bokeh i:nth-child(4) { right: 30%; top: 86%; width: 120px; height: 120px; opacity: .6; }

.hero-inner {
  position: relative; z-index: 2; align-self: center;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--art-w); align-items: center; gap: clamp(16px, 3vw, 56px);
}
.hero-copy { position: relative; z-index: 1; will-change: transform; }
.hero-label { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 3vh, 30px); color: var(--gold-hi); }
.spark { color: var(--gold); font-size: .9rem; }
.hero h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); line-height: .96; letter-spacing: -.035em; }
.hero h1 .line { display: block; }
.hero h1 .line-accent { padding-bottom: .12em; }
.hero-intro { max-width: 46ch; margin-top: clamp(18px, 3vh, 30px); font-size: clamp(1rem, 1.25vw, 1.14rem); color: #e5cbd0; }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: clamp(24px, 4vh, 40px); }
/* the 2.0.4 gold sweep across the main call to action */
.hero .button::after {
  content: ""; position: absolute; left: 0; top: -20%; bottom: -20%; width: 35%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 247, 216, .54), transparent);
  transform: translate3d(-140%, 0, 0) skewX(-18deg); animation: gold-sweep 7s ease-in-out infinite;
}
@keyframes gold-sweep { 0%, 70% { transform: translate3d(-140%, 0, 0) skewX(-18deg); } 88%, 100% { transform: translate3d(420%, 0, 0) skewX(-18deg); } }

/* The emblem and its ring share one wrapper (.art-inner): the ring is centred on the emblem by
   construction, at every width. --art-w is the emblem width, --ring the ring box relative to it. */
.hero-art {
  position: relative; z-index: 0; justify-self: center; width: var(--art-w); will-change: transform;
  /* keeps the whole ring inside the hero: it reaches --ring-ext of the emblem width above and below */
  margin-block: max(0px, calc(var(--art-w) * var(--ring-ext) + 6px - var(--hero-pt))) max(0px, calc(var(--art-w) * var(--ring-ext) + 6px - var(--hero-pb)));
}
.art-inner { position: relative; }
.art-rings {
  position: absolute; left: 50%; top: 50%; width: calc(var(--ring) * 100%); aspect-ratio: 1;
  margin: calc(var(--ring) * -50%) 0 0 calc(var(--ring) * -50%); will-change: transform;
}
.art-halo {
  position: absolute; left: 8%; right: 8%; top: 4%; bottom: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(246, 224, 172, .3), rgba(201, 160, 99, .1) 55%, rgba(201, 160, 99, 0) 72%);
}
.founder-portrait { position: relative; display: block; width: 100%; }

.hero-foot { margin-top: clamp(22px, 3.4vh, 38px); }
.signature { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.02rem; color: #f0d5b9; }
.signature > span { width: 38px; height: 1px; background: #d3ad79; }
.signature small { font-family: var(--sans); font-style: normal; font-size: .6rem; font-weight: 650; letter-spacing: .16em; color: #c5a6a9; }

/* headline split (applied by site.js) */
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
.is-split em { background: none; padding-right: 0; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  :is(.subhero, .visit) .is-split em .w, .hero .is-split em .ch { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
  :is(.subhero, .visit) .is-split em .w { padding-right: .06em; }
  .hero .is-split em .ch:last-child { padding-right: .08em; }
}

/* ---------- 8. Quick booking card ---------- */
.quick-wrap { position: relative; z-index: 5; margin-top: -49px; }
.booking-strip {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  border: 1px solid #d6b58a; border-radius: 9px; overflow: hidden;
  background: #fffaf4; color: var(--ink);
  box-shadow: 0 19px 55px rgba(71, 32, 52, .13);
}
.quick-book { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, .7fr); gap: 12px; align-items: end; padding: 22px; }
.quick-title { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.quick-title .eyebrow { display: none; }
.quick-title h2 { font-size: 1.65rem; line-height: 1.1; color: #462335; }
.quick-title p { font-size: .8rem; line-height: 1.4; color: var(--ink-soft); }
.quick-book label { display: grid; gap: 8px; min-width: 0; }
.quick-book label > span { font-size: .66rem; font-weight: 750; letter-spacing: .035em; color: #76475a; }
.quick-book select, .quick-book input[type="date"] {
  width: 100%; height: 48px; min-width: 0; padding: 11px; border: 1px solid #dac6ba; border-radius: 4px;
  background: #fff; color: #40232e; font-size: .88rem; transition: border-color .25s, box-shadow .25s;
}
.quick-book select:hover, .quick-book input:hover { border-color: var(--gold); }
.quick-book select:focus-visible, .quick-book input:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.quick-book select:disabled { opacity: .55; cursor: not-allowed; }
.quick-book .button { grid-column: 1 / -1; justify-self: end; min-height: 48px; background: #742e4d; color: #fff0e6; border-color: #742e4d; box-shadow: 0 6px 16px rgba(40, 16, 28, .12); }
.quick-book .button:focus-visible { outline-color: var(--wine); }
.quick-status { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: #783855; }
.quick-contact { display: grid; align-content: center; gap: 7px; min-width: 0; padding: 20px; border-left: 1px solid #ead8c7; background: linear-gradient(140deg, #f9eddf, #f5e3db); color: var(--ink); }
.quick-contact .eyebrow { margin: 0; font-size: .57rem; }
.quick-contact a strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.quick-contact a small, .hours-mini { display: block; font-size: .75rem; line-height: 1.5; color: #704b5a; overflow-wrap: anywhere; }
.quick-phone { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone-mini { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 700; color: var(--wine); }

/* ---------- 9. Section headers ---------- */
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vw, 64px); }
.section-top p { max-width: 34ch; }
.catalog-empty, .gallery-empty { padding: 22px; border: 1px solid var(--line-l); border-radius: 5px; background: var(--paper); color: var(--ink); }
.catalog-empty a { color: var(--wine); text-decoration: underline; }

/* ---------- 10. Treatments: sticky stack ---------- */
.stack { position: relative; display: grid; gap: clamp(18px, 3vh, 34px); }
.stack-progress { position: sticky; top: var(--head-c); z-index: 6; height: 2px; background: var(--line-l); }
.stack-progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left center; will-change: transform; }
html:not(.motion) .stack-progress { display: none; }

.chapter {
  --i: 0;
  position: sticky; top: calc(var(--head-c) + 26px + var(--i) * 18px);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  min-height: min(66vh, 580px);
  border: 1px solid var(--line-card); border-radius: 6px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 -14px 40px rgba(71, 32, 52, .1), 0 18px 44px rgba(71, 32, 52, .08);
  transform-origin: 50% 0; will-change: transform;
}
.chapter:nth-of-type(2) { --i: 1; }
.chapter:nth-of-type(3) { --i: 2; }
.chapter-media { position: relative; overflow: hidden; min-height: 240px; }
.chapter-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.chapter:hover .chapter-media img { transform: scale(1.05); }
.card-index { position: absolute; left: 22px; top: 16px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; color: rgba(248, 238, 223, .92); text-shadow: 0 4px 22px rgba(24, 10, 18, .5); }
.picture-caption { position: absolute; left: 22px; bottom: 16px; z-index: 2; padding: 5px 10px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); background: rgba(24, 10, 18, .62); border-radius: 2px; }
.chapter-text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(24px, 4vw, 60px); }
.chapter-count { display: flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; color: var(--plum); }
.chapter-count i { width: 44px; height: 1px; background: #cfae88; }
.chapter-text p { max-width: 44ch; }
.service-meta { display: flex; align-items: baseline; gap: 22px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-l); }
.service-meta span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #755660; }
.service-meta strong { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 400; color: #732a4c; font-variant-numeric: tabular-nums; }
.chapter-cta { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; font-size: .84rem; font-weight: 700; letter-spacing: .03em; color: var(--wine); }
.service-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c69a5e; border-radius: 50%; color: var(--wine); transition: background .35s, color .35s, transform .5s var(--ease-out); }
.chapter:hover .service-arrow, .chapter:focus-visible .service-arrow { background: var(--wine); color: #fff0e6; border-color: var(--wine); transform: rotate(45deg); }
.chapter-shine { position: absolute; left: -30%; top: -30%; width: 60%; height: 160%; pointer-events: none; opacity: 0; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 70%); transition: opacity .5s; will-change: transform; }
.chapter.is-tilting .chapter-shine { opacity: 1; }
.chapter-dim { position: absolute; inset: 0; z-index: 4; background: rgba(56, 34, 44, .5); opacity: 0; pointer-events: none; will-change: opacity; }

/* ---------- 11. Story ---------- */
.story { background: var(--rose); border-block: 1px solid #e3cfc3; }
.story-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 96px); }
.story-art { position: relative; aspect-ratio: 5 / 4; margin: 10px; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 9px #fff7ed, 0 0 0 10px #c79c71, 0 30px 60px rgba(71, 32, 52, .16); }
.story-art img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.story-art figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; padding: 5px 10px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); background: rgba(24, 10, 18, .62); border-radius: 2px; }
.story-copy h2 { margin-bottom: 26px; }
.story-copy p { max-width: 52ch; font-size: 1.04rem; color: var(--ink-soft); }
.story-signature { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: #8e3d5d; }
.story-signature span { font-size: 1.15rem; font-style: normal; color: #ac804d; vertical-align: middle; margin-left: 8px; }

/* ---------- 12. Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 34px); align-items: start; }
.gallery-item { position: relative; display: block; overflow: hidden; border: 1px solid #dcc6b9; border-radius: 5px; background: #fffaf4; color: var(--ink); will-change: transform; transition: box-shadow .4s, border-color .4s; }
.gallery-item:hover, .gallery-item:focus-visible { box-shadow: 0 14px 36px rgba(109, 37, 70, .13); border-color: #c49b71; }
@media (min-width: 761px) {
  .gallery-item:nth-child(3n + 2) { margin-top: clamp(30px, 6vw, 90px); }
  .gallery-item:nth-child(3n) { margin-top: clamp(10px, 2vw, 30px); }
}
.gallery-item img { width: 100%; aspect-ratio: 1.3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.055); }
.gallery-caption { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; background: #fffaf4; }
.gallery-caption strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 400; color: var(--ink); line-height: 1.2; }
.gallery-caption b { font-weight: 400; color: #9e6946; transition: transform .5s var(--ease-out); }
.gallery-item:hover .gallery-caption b { transform: translate(3px, -3px); }
.gallery-caption small { grid-column: 1 / -1; font-size: .7rem; color: #856b71; }

.gallery-dialog { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 1px solid #b99064; border-radius: 8px; background: #2c1522; color: #f9ead9; overflow: visible; }
.gallery-dialog::backdrop { background: rgba(12, 4, 8, .86); }
.gallery-dialog figure { display: grid; }
.gallery-dialog img { width: 100%; max-height: 80vh; object-fit: contain; background: #2c1522; border-radius: 8px 8px 0 0; }
.gallery-dialog figcaption { padding: 14px 20px; font-size: .86rem; color: var(--gold-hi); border-top: 1px solid var(--line-soft); }
.gallery-dialog button { position: absolute; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: rgba(24, 10, 18, .85); color: var(--gold-hi); font-size: 1.5rem; line-height: 1; transition: background .3s, color .3s; }
.gallery-dialog button:hover { background: var(--gold-hi); color: var(--bg-0); }
.gallery-close { right: 12px; top: 12px; }
.gallery-prev { left: 12px; top: calc(50% - 24px); }
.gallery-next { right: 12px; top: calc(50% - 24px); }

/* ---------- 13. FAQ ---------- */
.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--head-c) + 40px); }
.faq-intro p { margin-top: 18px; }
.faq-contact { display: grid; gap: 14px; margin-top: 28px; }
.faq details { border-top: 1px solid #d9c4b8; }
.faq details:last-child { border-bottom: 1px solid #d9c4b8; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 18px 0; list-style: none; cursor: pointer; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.5rem); color: #4e2d3d; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--wine); }
.faq summary span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #c69a5e; border-radius: 50%; font-family: var(--sans); font-size: 1.15rem; color: #996547; transition: transform .5s var(--ease-out), background .3s, color .3s; }
.faq details[open] summary span { transform: rotate(45deg); background: var(--wine); border-color: var(--wine); color: #fff0e6; }
.faq details p { max-width: 62ch; padding: 0 60px 26px 0; color: var(--ink-soft); }

/* ---------- 14. Social buttons (markup from cms.php) ---------- */
.ctc-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 18px 0 6px; }
.ctc-social { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; background: linear-gradient(145deg, #24121d, #4d2a3d); color: var(--gold-hi); transition: transform .4s var(--ease-out), box-shadow .4s; }
.ctc-social svg { width: 22px; height: 22px; }
.social-action, .route-action { display: inline-flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; min-height: 46px; }
.social-action:hover .ctc-social, .route-action:hover .ctc-social, a.ctc-social:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(201, 160, 99, .3); }
.social-label { font-size: .88rem; font-weight: 650; color: var(--wine); border-bottom: 1px solid #c69a5e; padding-bottom: 3px; }
.visit .social-label, .footer .social-label { color: #f3d9a8; border-bottom-color: var(--line); }
.faq-contact .ctc-social { border-color: #b68b55; background: radial-gradient(circle at 30% 20%, #fff5dc, #ead0a4); color: #694022; box-shadow: inset 0 0 0 3px #fff5dc, 0 3px 12px rgba(163, 122, 60, .13); }

/* ---------- 15. Visit ---------- */
.visit { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(70px, 10vw, 140px); background: radial-gradient(ellipse at right, #743d51, #34192c 72%); }
.visit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url('grain.png'); opacity: .2; pointer-events: none; }
.visit-glow { position: absolute; z-index: -1; right: -12%; top: -10%; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(140, 49, 86, .32), rgba(140, 49, 86, 0) 70%); will-change: transform; }
.visit-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(30px, 6vw, 90px); }
.visit h2 { font-size: clamp(3rem, 8vw, 7.4rem); line-height: .95; margin-bottom: 30px; }
.visit-copy p { font-size: 1.06rem; color: #e2c5ca; }
.visit-actions { margin-top: 26px; }
.visit-logo { width: 100%; max-width: 560px; margin-inline: auto; will-change: transform; }

/* ---------- 16. Footer ---------- */
.footer { background: #24131d; padding-top: clamp(40px, 6vw, 70px); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 36px clamp(24px, 4vw, 60px); padding-bottom: 50px; }
.footer .wordmark img { width: min(260px, 100%); height: auto; }
.footer h3 { margin-bottom: 16px; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .22em; color: #f3d9ad; }
.footer-inner > div > a, .footer-inner > div > span, .link-button { display: flex; align-items: center; min-height: 44px; font-size: .9rem; color: #e8ced2; }
.footer-inner > div > a:hover, .link-button:hover { color: var(--gold-hi); }
.link-button { padding: 0; border: 0; background: none; text-align: left; }
[data-shortcut] { display: inline-block; padding: 12px; margin: -12px; cursor: default; -webkit-user-select: none; user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(180, 140, 103, .22); font-size: .7rem; letter-spacing: .14em; color: #bfa5ad; }

/* ---------- 17. Sub pages ---------- */
.subhero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 85px) 0; background: radial-gradient(ellipse at 82% 45%, #78394c, #35192b 55%, #26131e); }
.subhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url('grain.png'); opacity: .2; }
.subhero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 40px; }
.subhero h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
.lead { max-width: 52ch; margin-top: 20px; font-size: 1.1rem; color: #e6c6d0; }
.subhero-logo { width: 100%; max-width: 420px; justify-self: end; will-change: transform; }

.prose { max-width: 780px; padding-block: clamp(40px, 6vw, 80px); }
.prose h2 { margin: 46px 0 14px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose p { color: var(--ink-soft); }
.prose p a { color: var(--wine); text-decoration: underline; }
.prose .button { margin-top: 18px; }
.prose .text-link { margin-top: 40px; }
.privacy-extra { margin-top: 20px; white-space: pre-line; }

.price-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.price-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid #d8c1ad; border-radius: 100px; background: var(--paper); font-size: .8rem; color: var(--ink); transition: background .3s, border-color .3s; }
.price-jump a:hover { background: #f0d9c8; border-color: #c49b71; }
.price-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; margin-bottom: 40px; }
.price-group { padding: clamp(18px, 2.4vw, 32px); border: 1px solid #dfcbb9; border-radius: 6px; background: var(--paper); scroll-margin-top: calc(var(--head-c) + 24px); }
.price-group h2 { margin-bottom: 4px; padding-bottom: 16px; border-bottom: 1px solid #cfae88; font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: var(--wine); }
.price-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid #eadbd0; color: var(--ink); transition: padding .4s var(--ease-out), background .3s; }
.price-row:last-child { border-bottom: 0; }
.price-row:hover { padding-inline: 12px; background: rgba(109, 37, 70, .045); }
.price-row strong { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 400; color: var(--ink); }
.price-row small { display: block; font-size: .78rem; color: #805d68; }
.price-row b { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: #712747; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row b del { font-size: .9rem; color: #9a7f88; }
.price-row b small { display: inline; color: var(--gold-lo); }
.price-row > span { color: #a57548; transition: transform .4s var(--ease-out); }
.price-row:hover > span { transform: translate(3px, -3px); }

.job-list { display: grid; gap: 24px; margin-bottom: 50px; }
.job-card { padding: clamp(24px, 4vw, 44px); border: 1px solid #dfcbb9; border-radius: 6px; background: var(--paper); }
.job-card h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 14px; }
.job-description { max-width: 70ch; white-space: pre-line; color: var(--ink-soft); }
.job-card .button { margin-top: 24px; }

/* ---------- 18. Mobile booking bar and cookie notice ---------- */
.mobile-book { display: none; }
.cookie {
  position: fixed; left: 0; right: 0; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 20px;
  width: min(1100px, calc(100% - 40px)); margin-inline: auto; padding: 17px 20px;
  border: 1px solid #c79e74; border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 50px rgba(39, 18, 31, .22);
}
.cookie[hidden] { display: none; }
.cookie > div:first-child { flex: 1; min-width: 0; }
.cookie strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--ink); }
.cookie p { margin-top: 4px; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
.cookie p a { color: var(--wine); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cookie-actions .button { min-height: 44px; padding: 9px 16px; font-size: .78rem; }
.motion .cookie { animation: rise .7s var(--ease-out) .3s both; }
.motion.intro-on:not(.intro-skip) .cookie { animation-delay: 2.3s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } }

.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, #9d3863, #e7bd77, #fff0cf); transform: scaleX(0); transform-origin: left center; will-change: transform; }

/* ---------- 19. Motion states (only with html.motion) ---------- */
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }

.motion [data-reveal="mask"] { opacity: 1; transform: none; }
.motion [data-reveal="mask"]::after { content: ""; position: absolute; inset: -1px; z-index: 5; background: linear-gradient(90deg, #ead0cc, #f5e3cf); transform-origin: right center; transition: transform 1.25s var(--ease) .05s; }
.motion [data-reveal="mask"].is-in::after { transform: scaleX(0); }
.motion .gallery-item:nth-child(3n + 2)::after { transition-delay: .16s; }
.motion .gallery-item:nth-child(3n)::after { transition-delay: .28s; }

.motion [data-reveal="draw"] { opacity: 1; transform: none; }
.motion [data-reveal="draw"] span { opacity: 0; transform: scaleX(.35); transition: opacity 1s ease, transform 1.5s var(--ease-out); }
.motion [data-reveal="draw"].is-in span { opacity: .9; transform: none; }

.motion .is-split .w { opacity: 0; transform: translate3d(0, .55em, 0); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--n, 0) * 70ms + 80ms); }
.motion .is-split.is-in .w { opacity: 1; transform: none; }
.motion .is-split .ch { opacity: 0; transform: translate3d(0, .5em, 0) rotate(5deg); transition: opacity .7s var(--ease-out), transform .95s var(--ease-out); transition-delay: calc(var(--n, 0) * 30ms + 120ms); }
.motion .is-split.is-in .ch { opacity: 1; transform: none; }
.motion .hero h1 .w { opacity: 1; transform: none; transition: none; }

/* hero entrance */
.motion .hero .hero-label, .motion .hero .hero-intro, .motion .hero .hero-buttons, .motion .hero .hero-foot { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
.motion .hero h1:not(.is-split) { opacity: 0; }
.motion .hero .art-inner { opacity: 0; transform: translate3d(5%, 5%, 0) scale(1.06); transition: opacity 1.2s var(--ease-out) .15s, transform 1.7s var(--ease-out) .15s; }
.motion .hero .rings { opacity: 0; transform: scale(.82) rotate(-18deg); transition: opacity 1.4s ease .2s, transform 2.2s var(--ease-out) .2s; }
.motion .hero .leaf, .motion .hero .plane-bokeh { opacity: 0; transition: opacity 1.6s ease .7s; }
.motion .hero.is-in .hero-label { opacity: 1; transform: none; transition-delay: .05s; }
.motion .hero.is-in .hero-intro { opacity: 1; transform: none; transition-delay: .75s; }
.motion .hero.is-in .hero-buttons { opacity: 1; transform: none; transition-delay: .9s; }
.motion .hero.is-in .hero-foot { opacity: 1; transform: none; transition-delay: 1.1s; }
.motion .hero.is-in .art-inner { opacity: 1; transform: none; }
.motion .hero.is-in .rings { opacity: .75; transform: none; }
.motion .hero.is-in .leaf { opacity: .55; }
.motion .hero.is-in .plane-bokeh { opacity: 1; }

/* slow ornamental drift, paused while the hero is off screen */
.motion .ring-slow { animation: spin 140s linear infinite; }
.motion .ring-fast { animation: spin 60s linear infinite reverse; }
.motion .art-halo { animation: breathe 7s ease-in-out infinite; }
.motion .hero.is-idle .ring-slow, .motion .hero.is-idle .ring-fast, .motion .hero.is-idle .art-halo { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .8; } }

.motion .magnetic { transition: box-shadow .35s var(--ease-out), border-color .3s; will-change: transform; }
.motion .stack { padding-bottom: 9vh; }

.js .mobile-book { transform: translate3d(0, 130%, 0); transition: transform .6s var(--ease-out); }
.js .mobile-book.is-shown { transform: none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1180px) {
  .top-book { display: none; }
  .manage-mobile { display: block; }

  /* without JavaScript the menu is a plain wrapping row under the bar */
  .head-inner { flex-wrap: wrap; padding-block: 8px; }
  .masthead nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 0 18px; }

  .js .head-inner { flex-wrap: nowrap; padding-block: 0; }
  .js .nav-toggle {
    position: relative; z-index: 3; display: grid; place-content: center; gap: 7px; width: 48px; height: 48px;
    border: 1px solid var(--line); border-radius: 50%; background: transparent;
  }
  .nav-toggle span[aria-hidden] { display: block; width: 20px; height: 1.5px; background: var(--gold-hi); transition: transform .45s var(--ease-out); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .js .masthead nav {
    position: fixed; inset: 0; z-index: 2; order: 0; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 2px;
    padding: calc(var(--head) + 10px) var(--gutter) 40px; overflow-y: auto;
    background: linear-gradient(160deg, #1b0b14, #2e1423);
    visibility: hidden; opacity: 0; transform: translate3d(0, -14px, 0);
    transition: opacity .45s ease, transform .6s var(--ease-out), visibility 0s linear .6s;
  }
  .js .masthead nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .masthead nav a { padding: 8px 0; min-height: 48px; font-family: var(--serif); font-size: clamp(1.7rem, 6vw, 2.5rem); letter-spacing: -.02em; white-space: normal; color: var(--cream); }
  .js .masthead nav a::after { bottom: 2px; }
  .js .masthead nav a.manage-mobile { margin-top: 18px; font-family: var(--sans); font-size: .9rem; letter-spacing: .03em; color: var(--gold-hi); }
  .motion .masthead nav a { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .5s ease, transform .7s var(--ease-out), color .3s; }
  .motion .masthead nav.open a { opacity: 1; transform: none; }
  .motion .masthead nav.open a:nth-child(2) { transition-delay: .05s; }
  .motion .masthead nav.open a:nth-child(3) { transition-delay: .1s; }
  .motion .masthead nav.open a:nth-child(4) { transition-delay: .15s; }
  .motion .masthead nav.open a:nth-child(5) { transition-delay: .2s; }
  .motion .masthead nav.open a:nth-child(6) { transition-delay: .25s; }
  .motion .masthead nav.open a:nth-child(7) { transition-delay: .3s; }
  .motion .masthead nav.open a:nth-child(8) { transition-delay: .35s; }
  .js .wordmark, .js .head-actions { position: relative; z-index: 3; }
  html.nav-open, html.nav-open body { overflow: hidden; }
}

@media (max-width: 980px) {
  /* phone and tablet: the emblem leads, the words follow underneath as one centred lockup */
  .hero { --art-w: min(540px, 84vw); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero h1 { font-size: clamp(3rem, 7.4vw, 4.6rem); }
  .hero-art { order: -1; margin-block: max(0px, calc(var(--art-w) * var(--ring-ext) + 6px - var(--hero-pt))) calc(var(--art-w) * var(--ring-ext) + 22px); }
  .hero-copy { text-align: center; }
  .hero-label, .hero-buttons { justify-content: center; }
  .hero-intro { margin-inline: auto; }
  .hero-foot { display: none; }   /* the emblem right above carries the same name */
  .quick-contact { border-left: 0; border-top: 1px solid #ead8c7; }
  .cookie { display: grid; gap: 12px; }
  .cookie-actions { justify-content: end; }
  .plane-leaf { display: none; }
  .booking-strip { grid-template-columns: 1fr; }
  .quick-book { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-inner, .visit-inner, .faq-section, .subhero-inner { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .subhero-logo { justify-self: start; max-width: 300px; }
  .visit-logo { max-width: 400px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .price-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --head: 72px; --head-c: 72px; }
  .wordmark img { width: 118px; height: 54px; }
  .hero { --hero-pt: 24px; --hero-pb: 74px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4.4rem); }
  .hero-label { margin-bottom: 12px; }
  .hero-buttons { margin-top: 20px; gap: 6px 30px; }
  .hero-label { font-size: .62rem; letter-spacing: .16em; }
  .hero-buttons .button { width: 100%; }
  .quick-wrap { margin-top: -30px; }
  .quick-book { grid-template-columns: 1fr; }
  .quick-book { padding: 18px; }
  .quick-book .button { width: 100%; }
  .chapter { grid-template-columns: 1fr; min-height: 0; top: calc(var(--head-c) + 14px + var(--i) * 10px); }
  .chapter-media { aspect-ratio: 16 / 10; min-height: 0; }
  .chapter-text { gap: 12px; padding: 22px 20px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-caption { padding: 11px 12px; }
  .gallery-caption strong { font-size: 1.02rem; }
  .gallery-caption b { display: none; }
  .faq details p { padding-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer { padding-bottom: 86px; }
  .page-privacy .footer, .page-prices .footer, .page-offers .footer, .page-jobs .footer { padding-bottom: 0; }
  .mobile-book {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #321928; border-top: 1px solid #a87a57;
  }
  .mobile-book .button { flex: 1; }
  .mobile-call { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 1px solid #b88d65; border-radius: var(--radius); color: var(--gold-hi); font-size: 1.2rem; }
  .cookie { bottom: 84px; width: calc(100% - 24px); padding: 14px; }
  .page-privacy .cookie, .page-prices .cookie, .page-offers .cookie, .page-jobs .cookie { bottom: 10px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row > span { display: none; }
  .plane-bokeh i:nth-child(1), .plane-bokeh i:nth-child(4) { display: none; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .language a { min-width: 36px; }
}

/* short landscape screens: no pinning, the cards would not fit */
@media (max-height: 560px) {
  .chapter { position: relative; top: auto; }
  .stack-progress { display: none; }
}

/* ---------- 21. Reduced motion: static, composed, no pinning ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chapter { position: relative; top: auto; }
  .stack-progress, .scroll-progress, .hero-dust, .hero-spot, .intro { display: none !important; }
  .faq-intro { position: static; }
}

@media print {
  .masthead, .intro, .mobile-book, .cookie, .hero-stage, .plane-bokeh, .scroll-progress { display: none !important; }
  html, body { background: #fff; color: #000; }
}
