/* « La lumière sur l'eau » — photography-led art direction, layered on site.css */
.ph.has-img { background: var(--brown-deep); }
.ph.has-img::before { display: none; }
.ph img { z-index: 0; filter: saturate(.9) sepia(.1) contrast(1.03); transition: transform 1.2s var(--ease); }
.ph.warm img { filter: sepia(.4) saturate(.7) hue-rotate(-8deg) brightness(.95); }
.ph.is-illus figcaption b { border-style: solid; }

/* hero */
.hero.lumiere { background: var(--brown-deep); overflow: hidden; }
.hero.lumiere > .ph { height: calc(100svh - var(--hdr)); min-height: 560px; max-height: 960px; }
.hero.lumiere .ph.shade::after { background: linear-gradient(90deg, rgba(43, 32, 30, .86) 0%, rgba(43, 32, 30, .5) 34%, rgba(43, 32, 30, 0) 60%), linear-gradient(0deg, rgba(43, 32, 30, .75) 0%, rgba(43, 32, 30, 0) 42%); }
.hero.lumiere > .ph img { animation: zreveal 2.4s var(--ease) both; }
@keyframes zreveal { from { transform: scale(1.07); filter: saturate(.9) sepia(.1) brightness(.55); } to { transform: scale(1); filter: saturate(.9) sepia(.1) brightness(1); } }
.hero.lumiere .hero-main { animation: zrise 1s .35s var(--ease) both; }
@keyframes zrise { from { transform: translateY(14px); } to { transform: none; } }
.hero.lumiere .hero-txt { padding-bottom: clamp(40px, 6vw, 96px); }
.hero.lumiere .hero-main h1 { margin: 22px 0 18px; }
.hero-line { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: #EBDDCF; max-width: 24em; margin: 0 0 30px; }
.illus { position: absolute; right: var(--gutR); top: 16px; z-index: 5; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(253, 251, 249, .62); text-decoration: none; }
.illus:hover { color: var(--ivory); }
.caustics { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background-image: repeating-linear-gradient(97deg, rgba(255, 226, 182, 0) 0 44px, rgba(255, 226, 182, .13) 50px, rgba(255, 226, 182, 0) 60px), repeating-linear-gradient(81deg, rgba(255, 226, 182, 0) 0 70px, rgba(255, 226, 182, .1) 77px, rgba(255, 226, 182, 0) 90px);
  background-size: 420px 100%, 560px 100%; -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 90%); mask-image: linear-gradient(0deg, #000 10%, transparent 90%); animation: zdrift 16s ease-in-out infinite alternate; }
.caustics.soft { top: 0; height: auto; opacity: .3; -webkit-mask-image: none; mask-image: none; }
@keyframes zdrift { from { background-position: 0 0, 0 0; } to { background-position: 140px 0, -120px 0; } }

/* three gestures, on deep brown */
.gestures { background: var(--brown-deep); color: var(--ivory); padding-block: clamp(72px, 10vw, 150px); overflow-x: clip; }
.gs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: start; }
.gs-intro { grid-column: 7 / span 5; grid-row: 1; align-self: end; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; color: #DCCDC2; padding-bottom: clamp(8px, 2vw, 32px); }
.gs-intro h2 { color: var(--ivory); }
.gestures .eyebrow { color: #D9C6B6; }
.gs-item { text-decoration: none; display: flex; flex-direction: column; gap: 12px; color: var(--ivory); }
.gs-item p { font-size: 14px; color: #CDBDB4; max-width: 30em; }
.gs-item .g-cap { border-top-color: rgba(193, 163, 127, .45); }
.gs-item .g-cap .num { color: #E3CBA6; font-size: 14px; }
.gs-item:hover .ph img { transform: scale(1.035); }
.gs-head { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.gs-hammam { grid-column: 7 / span 6; grid-row: 2; margin-right: calc(-1 * var(--gutR)); }
.gs-hammam .g-cap, .gs-hammam p { margin-right: var(--gutR); }
.gs-massage { grid-column: 2 / span 4; grid-row: 3; margin-top: clamp(24px, 4vw, 64px); }
.gs-book { grid-column: 8 / span 4; grid-row: 3; align-self: center; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.gs-book ul { list-style: none; margin: 0; padding: 0; width: 100%; }
.gs-book li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(193, 163, 127, .35); }
.gs-book li a { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); text-decoration: none; color: var(--ivory); }
.gs-book li a:hover { font-style: italic; }
.gs-book li .num { color: #E3CBA6; font-size: 14px; }

/* airy statement */
.statement { padding-block: clamp(96px, 13vw, 200px); }
.st-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: clamp(32px, 7vw, 140px); align-items: end; }
.st-big { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 72px); line-height: 1.08; text-wrap: balance; letter-spacing: -.01em; }
.st-big em { color: var(--brown-soft); }
.st-side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 340px; }
.wideband.water > .ph { min-height: 540px; }

/* closing spread */
.final-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--brown-deep); color: var(--ivory); }
.final-split > .ph { height: 100%; min-height: 600px; aspect-ratio: auto; }
.fs-txt { padding: clamp(40px, 7vw, 120px) clamp(24px, 6vw, 110px); display: flex; flex-direction: column; gap: 20px; justify-content: center; align-items: flex-start; }
.fs-txt blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.1; }
.fs-txt hr { width: 64px; border: 0; border-top: 1px solid var(--gold); margin: 16px 0; }
.fs-txt .small { color: #CDBDB4; }

/* ritual frames with photos */
.frame-name { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 4; color: var(--ivory); font-family: var(--serif); font-size: 22px; line-height: 1.1; text-align: left; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); pointer-events: none; }
.frame .ph.has-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(43, 32, 30, .55), rgba(43, 32, 30, 0) 40%); }

/* Head Spa opening */
.cat-immersive { position: relative; background: var(--brown-deep); }
.cat-immersive > .ph { height: min(86svh, 860px); min-height: 520px; }
.cat-immersive .ph.shade::after { background: linear-gradient(0deg, rgba(43, 32, 30, .82), rgba(43, 32, 30, 0) 58%), linear-gradient(90deg, rgba(43, 32, 30, .5), transparent 55%); }
.ci-txt { position: absolute; inset: auto 0 0 0; z-index: 4; color: var(--ivory); padding-bottom: clamp(32px, 5vw, 72px); }
.ci-txt .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.ci-txt .crumbs, .ci-txt .crumbs a { color: #E9DCD3; }
.ci-txt .lead { color: #F1E7DE; }
.ci-bar { border-bottom: 1px solid var(--line); padding-block: 18px; }
.ci-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ci-bar .keyfacts { border: 0; }
.ci-duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, .7fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding-block: clamp(56px, 7vw, 110px); }
.ci-duo > div { display: flex; flex-direction: column; gap: 16px; }
.ci-duo > .ph:last-child { margin-top: clamp(40px, 8vw, 140px); }
.ci-quote { font-size: clamp(28px, 2.8vw, 42px); }

/* gift card as a printed object */
.gift-visual { gap: 14px; align-items: stretch; }
.gift-stage { position: relative; overflow: hidden; padding: clamp(44px, 7vw, 100px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px); background: var(--brown-deep); }
.gs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) sepia(.35) saturate(.8); }
.gs-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.gs-card .gcard-scene { transform: rotate(-2.5deg); }
.gs-card > .link { color: var(--ivory); border-color: rgba(193, 163, 127, .8); }
.gface { background-color: #FBF7F1; background-image: repeating-linear-gradient(0deg, rgba(87, 66, 63, .018) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(87, 66, 63, .014) 0 1px, transparent 1px 4px); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .7), 0 2px 5px rgba(0, 0, 0, .18); border: 0; }
.gfront { background-image: radial-gradient(70% 100% at 100% 0%, rgba(244, 233, 231, .9), transparent 70%), repeating-linear-gradient(0deg, rgba(87, 66, 63, .018) 0 1px, transparent 1px 3px); }
.foil { background: linear-gradient(100deg, #8f6c43 0%, #d4b585 32%, #f2e2c2 46%, #b08856 62%, #d6b98a 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

/* booking summary photo */
.sum-img { display: block; width: calc(100% + 56px); max-width: none; margin: -28px -28px 6px; height: 160px; object-fit: cover; filter: saturate(.9) sepia(.1); }

/* gallery on deep brown */
.pano { background: var(--brown-deep); color: var(--ivory); padding-block: 36px 30px; }
.pano-item > figcaption span, .pano-foot .small { color: #CDBDB4; }
.pano-progress { background: rgba(253, 251, 249, .22); }
.pano-progress i { background: var(--gold); }
.pano-nav button { background: transparent; color: var(--ivory); border-color: rgba(253, 251, 249, .3); }

/* credits */
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 24px; }
.credit { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; text-decoration: none; border-top: 1px solid var(--line); padding-top: 14px; }
.credit img { width: 72px; height: 72px; object-fit: cover; }
.credit span { display: flex; flex-direction: column; min-width: 0; }
.credit small { color: var(--brown-soft); font-size: 12px; }

@media (max-width: 760px) {
  .ph img { object-position: var(--mfx, 50%) var(--mfy, 50%); }
  .hide-m { display: none; }
  .hero.lumiere > .ph { height: calc(100svh - var(--hdr) - 68px); min-height: 520px; max-height: 780px; }
  .hero.lumiere .ph.shade::after { background: linear-gradient(0deg, rgba(43, 32, 30, .9) 0%, rgba(43, 32, 30, .55) 38%, rgba(43, 32, 30, 0) 62%); }
  .hero.lumiere .hero-side { display: none; }
  .hero.lumiere .hero-txt { padding-bottom: 28px; }
  .hero.lumiere .hero-main h1 { margin: 12px 0 10px; }
  .hero-line { font-size: 17px; margin-bottom: 20px; }
  .illus { top: 12px; right: 12px; }
  .gs { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .gs-intro, .gs-head, .gs-hammam, .gs-massage, .gs-book { grid-column: 1; grid-row: auto; margin-top: 0; }
  .gs-intro { order: -1; padding-bottom: 0; }
  .gs-hammam { margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gutR)); }
  .gs-hammam .g-cap, .gs-hammam p { margin-left: var(--gut); margin-right: var(--gutR); }
  .gs-massage { width: 78%; margin-left: auto; }
  .gs-book .btn { width: 100%; }
  .st-grid { grid-template-columns: minmax(0, 1fr); }
  .st-side { max-width: none; display: grid; grid-template-columns: 42% minmax(0, 1fr); align-items: end; }
  .st-side .link { grid-column: 2; }
  .wideband.water > .ph { min-height: 0; }
  .final-split { grid-template-columns: minmax(0, 1fr); }
  .final-split > .ph { min-height: 0; height: auto; }
  .ci-txt .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cat-immersive > .ph { height: min(78svh, 640px); }
  .ci-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ci-duo > div { grid-column: 1 / -1; order: -1; }
  .ci-duo > .ph:last-child { margin-top: 40px; }
  .gs-card .gcard-scene { transform: rotate(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero.lumiere > .ph img, .hero.lumiere .hero-main, .caustics { animation: none !important; }
  .gcard { transform: none !important; }
  .gface { position: relative; }
}

.hero-main .eyebrow { gap: 0; }
.hero-main .eyebrow::before { margin-right: 12px; }

/* ---------- ambiance sonore ---------- */
.snd { flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--brown); cursor: pointer; border-radius: 50%; transition: border-color .3s, background .3s; }
.snd:hover { border-color: var(--gold); }
.snd.on { border-color: var(--gold); background: rgba(193, 163, 127, .12); }
.snd-bars { display: flex; align-items: flex-end; gap: 2.5px; height: 14px; }
.snd-bars i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .4s; }
.snd.armed .snd-bars i, .snd.on .snd-bars i { background: var(--gold); }
.snd.on .snd-bars i { animation: sndbar 1.3s ease-in-out infinite alternate; }
.snd.on .snd-bars i:nth-child(2) { animation-delay: -.5s; animation-duration: 1.1s; }
.snd.on .snd-bars i:nth-child(3) { animation-delay: -.9s; animation-duration: 1.5s; }
.snd.on .snd-bars i:nth-child(4) { animation-delay: -.2s; animation-duration: 1.2s; }
@keyframes sndbar { from { height: 3px; } to { height: 14px; } }
@media (max-width: 960px) {
  .hdr > .wrap { gap: 10px; }
  .snd { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .snd.on .snd-bars i { animation: none; }
  .snd.on .snd-bars i:nth-child(1) { height: 6px; } .snd.on .snd-bars i:nth-child(2) { height: 12px; }
  .snd.on .snd-bars i:nth-child(3) { height: 9px; } .snd.on .snd-bars i:nth-child(4) { height: 5px; }
}

/* ---------- le seuil : entrée plein écran ---------- */
html.seuil-pending body::after { content: ""; position: fixed; inset: 0; z-index: 300; background: #2B201E; animation: seuilfail .6s 4s forwards; }
@keyframes seuilfail { to { opacity: 0; visibility: hidden; } }
body.seuil-open { overflow: hidden; }
.seuil { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #2B201E; color: var(--ivory); text-align: center; overflow: hidden; clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1); }
.seuil.out { clip-path: inset(0 0 100% 0); }
.seuil-bg { position: absolute; inset: -4%; background: center / cover no-repeat; opacity: 0; transform: scale(1.1); filter: brightness(.5) saturate(.9); transition: opacity 2.6s ease, transform 10s cubic-bezier(.2, .7, .2, 1); }
.seuil.in .seuil-bg { opacity: 1; transform: scale(1); }
.seuil-veil { position: absolute; inset: 0; background: radial-gradient(ellipse 75% 65% at 50% 46%, rgba(43, 32, 30, .3), rgba(43, 32, 30, .94) 78%); }
.seuil-glow { position: absolute; left: 50%; top: 45%; width: 80vmin; height: 80vmin; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(232, 190, 130, .2), rgba(232, 190, 130, 0) 62%); animation: seuilbreath 7s ease-in-out infinite alternate; }
@keyframes seuilbreath { from { opacity: .45; scale: .9; } to { opacity: 1; scale: 1.08; } }
.seuil-in { position: relative; z-index: 2; padding: 24px; display: flex; flex-direction: column; align-items: center; transition: opacity .7s, transform 1.4s cubic-bezier(.77, 0, .18, 1); }
.seuil.out .seuil-in { opacity: 0; transform: translateY(-40px); }
.seuil-k { margin: 0 0 28px; font-size: 11px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity 1.4s .2s; }
.seuil-logo { margin: 0; display: flex; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 11vw, 150px); line-height: 1; letter-spacing: .16em; padding-left: .16em; }
.seuil-logo span { display: inline-block; opacity: 0; transform: translateY(.3em); filter: blur(10px); background: linear-gradient(180deg, #F8EBD6 0%, #DDBF92 48%, #A8875C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity 1.5s cubic-bezier(.2, .7, .2, 1), transform 1.5s cubic-bezier(.2, .7, .2, 1), filter 1.5s; transition-delay: calc(.45s + var(--i) * .12s); }
.seuil-rule { display: block; width: 140px; height: 1px; margin: 32px 0 24px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 1.6s 1.3s cubic-bezier(.2, .7, .2, 1); }
.seuil-line { margin: 0 0 44px; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 30px); color: #EBDDCF; opacity: 0; transition: opacity 1.4s 1.6s; }
.seuil-ch { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 30px; opacity: 0; transform: translateY(12px); transition: opacity 1.2s 1.9s, transform 1.2s 1.9s; }
.seuil-note { margin: 36px 0 0; font-size: 11.5px; letter-spacing: .08em; color: rgba(234, 223, 216, .55); opacity: 0; transition: opacity 1.2s 2.3s; }
.seuil.in .seuil-k, .seuil.in .seuil-line, .seuil.in .seuil-note { opacity: 1; }
.seuil.in .seuil-logo span, .seuil.in .seuil-ch { opacity: 1; transform: none; filter: none; }
.seuil.in .seuil-rule { transform: none; }
.seuil-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 32px; border: 1px solid rgba(193, 163, 127, .75); background: rgba(193, 163, 127, .12); color: var(--ivory); font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .45s, border-color .45s, color .45s; }
.seuil-btn:hover, .seuil-btn:focus-visible { background: var(--gold); border-color: var(--gold); color: #2B201E; }
.seuil-btn .snd-bars i { background: currentColor; animation: sndbar 1.3s ease-in-out infinite alternate; }
.seuil-btn .snd-bars i:nth-child(2) { animation-delay: -.5s; animation-duration: 1.1s; }
.seuil-btn .snd-bars i:nth-child(3) { animation-delay: -.9s; animation-duration: 1.5s; }
.seuil-btn .snd-bars i:nth-child(4) { animation-delay: -.2s; animation-duration: 1.2s; }
.seuil-skip { background: none; border: 0; border-bottom: 1px solid rgba(217, 203, 191, .35); color: #D9CBBF; font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; cursor: pointer; padding: 12px 2px; transition: color .3s, border-color .3s; }
.seuil-skip:hover, .seuil-skip:focus-visible { color: var(--ivory); border-color: var(--gold); }
/* the site rises as the curtain lifts */
.seuil-lifted .hero.lumiere > .ph img { animation: zlift 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.seuil-lifted .hero.lumiere .hero-main { animation: zlifttxt 1.6s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes zlift { from { transform: scale(1.12); } to { transform: none; } }
@keyframes zlifttxt { from { transform: translateY(36px); } to { transform: none; } }
@media (max-width: 760px) {
  .seuil-ch { flex-direction: column; gap: 18px; }
  .seuil-k { letter-spacing: .3em; font-size: 10px; }
  .seuil-line { margin-bottom: 36px; }
  .seuil-note { max-width: 260px; line-height: 1.6; }
}

/* ---------- la lumière respire avec la musique ---------- */
.hero.lumiere::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(ellipse 55% 40% at 52% 20%, rgba(255, 204, 140, .38), rgba(255, 204, 140, 0) 70%); opacity: calc(var(--snd, 0) * .95); }
.hero.lumiere .caustics { opacity: calc(.55 + var(--snd, 0) * .4); }

@media (prefers-reduced-motion: reduce) {
  .seuil, .seuil *, .seuil-lifted .hero.lumiere > .ph img, .seuil-lifted .hero.lumiere .hero-main { animation: none !important; transition-duration: .3s !important; transition-delay: 0s !important; }
  .seuil.out { clip-path: none; opacity: 0; transition: opacity .3s; }
  .seuil-logo span { filter: none; transform: none; }
}

/* ---------- ritual frames: room for the text, a visible 3D swing ---------- */
@media (min-width: 761px) {
  .stack { perspective: 1300px; }
  .frame { left: 0; right: 0; margin-inline: auto; width: min(calc(var(--sh) * 2 / 3), 54%); transition: transform 1.1s cubic-bezier(.22, .9, .24, 1), opacity .7s, filter .8s, box-shadow .8s; }
  .frames .frame-detail { position: relative; z-index: 40; }
  .frame.from-r { animation: swingR 1.1s cubic-bezier(.22, .9, .24, 1); }
  .frame.from-l { animation: swingL 1.1s cubic-bezier(.22, .9, .24, 1); }
}
.frame::before { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 232, 196, .32) 48%, transparent 66%); background-size: 260% 100%; background-position: 120% 0; opacity: 0; }
.frame.from-r::before, .frame.from-l::before { animation: sheen 1.2s .15s ease-out; }
@keyframes swingR { 0% { rotate: y 18deg; scale: .9; } 55% { rotate: y -5deg; scale: 1.035; } 100% { rotate: y 0deg; scale: 1; } }
@keyframes swingL { 0% { rotate: y -18deg; scale: .9; } 55% { rotate: y 5deg; scale: 1.035; } 100% { rotate: y 0deg; scale: 1; } }
@keyframes sheen { 0% { opacity: 0; background-position: 120% 0; } 30% { opacity: 1; } 100% { opacity: 0; background-position: -40% 0; } }
.frame-detail.swap > * { animation: detailIn .8s cubic-bezier(.22, .9, .24, 1) both; }
.frame-detail.swap.from-l > * { animation-name: detailInL; }
.frame-detail.swap > *:nth-child(2) { animation-delay: .06s; } .frame-detail.swap > *:nth-child(3) { animation-delay: .12s; }
.frame-detail.swap > *:nth-child(4) { animation-delay: .18s; } .frame-detail.swap > *:nth-child(n+5) { animation-delay: .24s; }
@keyframes detailIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes detailInL { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .frame.from-r { animation: swingR .9s cubic-bezier(.22, .9, .24, 1); }
  .frame.from-l { animation: swingL .9s cubic-bezier(.22, .9, .24, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .frame.from-r, .frame.from-l, .frame::before, .frame-detail.swap > * { animation: none !important; }
}

/* ---------- page transition veil ---------- */
.veil { position: fixed; inset: 0; z-index: 250; pointer-events: none; display: grid; place-items: center; background: #2B201E; clip-path: inset(100% 0 0 0); }
.veil::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(232, 190, 130, .16), rgba(232, 190, 130, 0) 70%); }
html.nav-out .veil { clip-path: inset(0 0 0 0); pointer-events: auto; transition: clip-path .7s cubic-bezier(.77, 0, .18, 1); }
html.nav-in .veil { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1); }
.veil-mark { position: relative; font-family: var(--serif); font-size: 76px; line-height: 1; background: linear-gradient(180deg, #F8EBD6 0%, #DDBF92 48%, #A8875C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(16px); }
.veil-line { position: absolute; left: 50%; top: calc(50% + 58px); width: 130px; margin-left: -65px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); }
html.nav-out .veil-mark { opacity: 1; transform: none; transition: opacity .6s .3s, transform .8s .3s cubic-bezier(.2, .7, .2, 1); }
html.nav-out .veil-line { transform: scaleX(1); transition: transform 1s .35s cubic-bezier(.2, .7, .2, 1); }
html.nav-in .veil-mark { opacity: 0; transform: translateY(-14px); transition: opacity .35s, transform .6s; }
html.nav-in .veil-line { transform: scaleX(1); opacity: 0; transition: opacity .35s; }
html.nav-in main { animation: pageIn 1.1s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pageIn { from { transform: translateY(48px); } to { transform: none; } }

/* ---------- reveals on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.rv.ph { transform: none; clip-path: inset(14% 0 0 0); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1), opacity 1s; }
.rv.ph img { transform: scale(1.14); transition: transform 2s cubic-bezier(.2, .7, .2, 1); }
.rv.rv-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.rv.rv-in img { transform: none; }

/* ---------- gold pointer ring ---------- */
.cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .4s; }
.cur.on { opacity: 1; }
.cur span { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(193, 163, 127, .85); border-radius: 50%; font: 500 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #2B201E; transition: width .4s cubic-bezier(.2, .7, .2, 1), height .4s cubic-bezier(.2, .7, .2, 1), left .4s cubic-bezier(.2, .7, .2, 1), top .4s cubic-bezier(.2, .7, .2, 1), background .4s, border-color .4s, scale .2s; }
.cur.hov span { width: 56px; height: 56px; left: -28px; top: -28px; background: rgba(193, 163, 127, .14); }
.cur.lab span { width: 82px; height: 82px; left: -41px; top: -41px; background: rgba(214, 186, 146, .94); border-color: transparent; }
.cur.txt span { width: 4px; height: 26px; left: -2px; top: -13px; border-radius: 2px; background: rgba(193, 163, 127, .5); border-color: transparent; }
.cur.down span { scale: .82; }

@media (prefers-reduced-motion: reduce) {
  .veil, html.nav-out .veil, html.nav-in .veil { clip-path: none; transition: opacity .2s !important; }
  .veil { opacity: 0; }
  html.nav-out .veil { opacity: 1; }
  html.nav-in .veil { opacity: 0; }
  html.nav-in main { animation: none; }
  .rv, .rv.ph, .rv.ph img { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- arriving from the visit: covered until the veil lifts ---------- */
html.from-visit body::after { content: ""; position: fixed; inset: 0; z-index: 255; background: #2B201E; }

/* ---------- catalogue: cards, rows without durations, brands, rituals ---------- */
.g-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.g-cards .cat-card h3 { font-size: clamp(22px, 1.8vw, 27px); }
.svc-list.no-dur .svc-hdr, .svc-list.no-dur .svc { grid-template-columns: minmax(0, 1fr) 190px 200px; }
.svc-list.no-dur .svc-hdr span:nth-child(2), .svc-list.no-dur .svc .dur { display: none; }
.brands { text-align: center; }
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 14px; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); letter-spacing: .12em; text-transform: uppercase; color: var(--brown); }
.rit-list { list-style: none; margin: 26px 0; padding: 0; border-top: 1px solid var(--line); }
.rit-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease); }
.rit-list a:hover { padding-left: 8px; }
.rit-list b { display: block; font: 500 21px/1.2 var(--serif); }
.rit-list small { display: block; margin-top: 3px; color: var(--brown-soft); font-size: 14px; }
.rit-list .num { font-family: var(--serif); font-size: 21px; white-space: nowrap; }
.gal-room { margin: 34px 0 14px; font: 400 24px/1.2 var(--serif); }
.to-visit { align-self: center; }
@media (max-width: 760px) {
  .svc-list.no-dur .svc { grid-template-columns: minmax(0, 1fr); }
}
