/* CATENAP — Suite 2013. Palette measured from the renders (art/sample_colors.py):
   night #070e13 / velvet #0a0f1c / door lacquer #112950 / card #e9e5da / coin gold #c99b44–#d9b46b / fur #b6813b.
   Motion: html.rm = reduced (soft fades only). Hidden-until-seen states are gated on html.js:not(.rm). */
:root {
  --night: #070d16;
  --night-2: #0b1424;
  --velvet: #0e1a31;
  --lacquer: #112950;
  --lacquer-2: #0d2244;
  --card: #ebe6da;
  --card-2: #f5f1e7;
  --ink: #1b1712;
  --ink-soft: #4b4337;
  --text: #ece4d2;
  --muted: #b9ae98;
  --gold: #dcb76d;
  --gold-2: #c99b44;
  --gold-deep: #74501a;
  --honey: #b6813b;
  --line: rgba(220, 183, 109, .28);
  --f-display: 'Arapey', 'Times New Roman', serif;
  --f-sign: 'Josefin Sans', 'Segoe UI', sans-serif;
  --f-body: 'Proza Libre', 'Segoe UI', sans-serif;
  --f-hand: 'La Belle Aurore', cursive;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 17px/1.62 var(--f-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--card-2); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
em { font-style: italic; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- type helpers ---------- */
.kicker {
  font: 700 12.5px/1.3 var(--f-sign); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px;
}
.kicker i { font-style: normal; opacity: .6; margin: 0 .4em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; }
.sec-head { margin-bottom: clamp(26px, 4vw, 44px); max-width: 720px; }
.lede { color: var(--muted); margin: 14px 0 0; max-width: 620px; }
.hand { font-family: var(--f-hand); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font: 700 13px/1 var(--f-sign); letter-spacing: .14em; text-transform: uppercase;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn img { flex: none; }
.btn.buy { background-color: #dcb76d; background-image: linear-gradient(180deg, #ecca83, #cfa04a); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(220, 183, 109, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.buy:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(220, 183, 109, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.buy::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%);
}
html:not(.rm) .btn.buy:hover::after { transition: transform .8s var(--ease); transform: translateX(120%); }
.btn.buy img { background: var(--card-2); border-radius: 50%; padding: 2px; box-sizing: content-box; }
.btn.ghost { border-color: rgba(220, 183, 109, .5); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn.ghost:hover { border-color: var(--gold); color: var(--card-2); transform: translateY(-2px); background: rgba(220, 183, 109, .08); }
.btn.ghost img { background: var(--card-2); border-radius: 50%; padding: 3px; box-sizing: content-box; }
.btn.lg { min-height: 54px; padding: 15px 26px; font-size: 14px; }
.btn.sm { min-height: 38px; padding: 8px 14px; font-size: 12px; }

/* ---------- top band (marquee) ---------- */
.band { background: var(--lacquer); border-bottom: 1px solid var(--line); overflow: hidden; height: 34px; display: flex; align-items: center; }
.band-track { display: flex; gap: 22px; white-space: nowrap; padding-left: 22px; font: 700 11.5px/1 var(--f-sign); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); width: max-content; }
.band-track i { font-style: normal; color: var(--card); opacity: .7; }
html:not(.rm) .band-track { animation: band 46s linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px; height: 66px;
  padding: 0 var(--gutter); background: rgba(7, 13, 22, .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 183, 109, .16);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--card-2); flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.brand span { font: 400 24px/1 var(--f-display); letter-spacing: .1em; }
html:not(.rm) .brand:hover img { animation: nod 1.4s var(--ease); }
@keyframes nod { 30% { transform: rotate(-9deg); } 60% { transform: rotate(5deg); } }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { font: 600 12.5px/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 8px 0; position: relative; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.links a:hover { color: var(--gold); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); transition: transform .25s var(--ease); }
.ico:hover { transform: translateY(-2px) rotate(-6deg); }
.motion-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(220, 183, 109, .45); color: var(--text);
  font: 700 11.5px/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase;
}
.motion-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #6b6457; box-shadow: 0 0 0 3px rgba(107, 100, 87, .25); }
.motion-btn[aria-pressed="true"] .dot { background: #8fd18a; box-shadow: 0 0 0 3px rgba(143, 209, 138, .25); }
.motion-btn:hover { border-color: var(--gold); }
.burger { display: none; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(220, 183, 109, .45); background: transparent; cursor: pointer; font: 700 11.5px/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; }
.bars { width: 16px; height: 10px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); position: relative; }
.bars::after { content: ''; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid var(--gold); }
.menu { position: fixed; inset: 100px 0 auto 0; z-index: 39; background: rgba(9, 16, 30, .97); border-bottom: 1px solid var(--line); padding: 18px var(--gutter) 26px; }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font: 400 30px/1.3 var(--f-display); color: var(--card-2); text-decoration: none; padding: 6px 0; }
.menu-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---------- chips (official logos) ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 16px 8px 8px; border-radius: 999px; text-decoration: none;
  background: var(--card-2); color: var(--ink); font: 700 12.5px/1 var(--f-sign); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .6); transition: transform .25s var(--ease), box-shadow .25s, background-color .25s;
}
.chip img { width: 30px; height: 30px; padding: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(27, 23, 18, .08); }
.chip:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .8); background: #fff; }

/* ---------- entrance + reveal ---------- */
html.js:not(.rm) .rise { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
html.js:not(.rm) .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js:not(.rm) .reveal.in { opacity: 1; transform: none; }
html.js.rm .reveal { transition: opacity .5s; }

/* ---------- HERO · Suite 2013 ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: calc(100svh - 100px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.9) brightness(.62); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 75% 55%, rgba(220, 150, 60, .18), transparent 70%),
  linear-gradient(90deg, rgba(7, 13, 22, .95) 0%, rgba(7, 13, 22, .78) 42%, rgba(7, 13, 22, .35) 100%),
  linear-gradient(0deg, var(--night) 0%, transparent 22%); }
.hero-in { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(40px, 7vh, 90px) 0; }
.hero h1 { font-size: clamp(44px, 6.3vw, 92px); line-height: 1.0; color: var(--card-2); text-wrap: balance; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 em { color: var(--gold); }
.sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin: 18px 0 26px; max-width: 520px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* the room key (CA) */
.ca-wrap { margin: 0 0 18px; }
.keyfob {
  display: flex; align-items: center; gap: 14px; width: min(100%, 560px); text-align: left; cursor: pointer;
  padding: 10px 18px 10px 10px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 41, 80, .85), rgba(9, 20, 40, .9)); color: var(--text);
  transition: border-color .25s, transform .25s var(--ease);
}
.keyfob:hover { border-color: var(--gold); transform: translateY(-2px); }
.keyfob .key { width: 64px; height: auto; flex: none; transform-origin: 30% 70%; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.keyfob.turned .key { transform: rotate(90deg); }
.ca-body { display: grid; min-width: 0; gap: 3px; }
.ca-lbl { font: 700 10.5px/1.2 var(--f-sign); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ca-text { font: 500 14px/1.35 var(--f-body); color: var(--card-2); overflow-wrap: anywhere; }
.ca-hint { margin-left: auto; flex: none; font: 700 11px/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--gold); padding: 8px 10px; border-radius: 999px; }
.keyfob.small { padding: 12px 14px 12px 18px; }

/* the counter plate */
.counter { display: inline-flex; align-items: center; gap: 14px; margin: 26px 0 0; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(60, 42, 18, .55), rgba(20, 16, 12, .6)); }
.counter-lbl { font: 700 10.5px/1.35 var(--f-sign); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); max-width: 180px; }
.counter-num { font: 400 34px/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .06em; display: inline-block; }
html:not(.rm) .counter-num.tick { animation: tick .7s var(--ease); }
@keyframes tick { 0% { transform: translateY(-60%); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* the suite: doorway, door leaf, room, lamp, motes, zzz */
.suite { justify-self: center; width: min(470px, 100%); perspective: 1400px; }
.doorway { transition: transform .6s var(--ease); }
html.rm .doorway { transform: none !important; }
html.rm .hero-bg img { transform: none !important; }
html:not(.rm) .hero-bg img { transform: scale(1.06); will-change: transform; }
.doorway { position: relative; aspect-ratio: 4 / 5; perspective: 1700px; border-radius: 6px 6px 2px 2px;
  box-shadow: 0 0 0 10px #1a1410, 0 0 0 12px rgba(220, 183, 109, .55), 0 0 0 22px #120e0b, 0 40px 80px -30px rgba(0, 0, 0, .9); }
.room { position: absolute; inset: 0; overflow: hidden; background: #050a10; border-radius: 4px 4px 0 0; }
.pose { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 60%; opacity: 0; transition: opacity .15s linear; }
.pose.on { opacity: 1; }
html:not(.rm) .pose.on { animation: breathe 5.2s ease-in-out infinite; transform-origin: 50% 88%; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.018); } }
html.js:not(.rm) .room { animation: roomlight 2.4s var(--ease) .7s both; }
@keyframes roomlight { from { filter: brightness(.12) saturate(.6); } to { filter: none; } }
.lamp { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 40% at 18% 20%, rgba(255, 196, 110, .35), transparent 70%); mix-blend-mode: screen; }
html:not(.rm) .lamp { animation: flicker 7s steps(1) infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 41% { opacity: .82; } 42% { opacity: 1; } 77% { opacity: .9; } 78% { opacity: 1; } }
.motes { position: absolute; inset: 0; pointer-events: none; }
.motes i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: rgba(255, 220, 160, .8); box-shadow: 0 0 6px rgba(255, 200, 120, .8); opacity: 0; }
html:not(.rm) .motes i { animation: mote var(--t) linear var(--dl) infinite; }
@keyframes mote { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .9; } 85% { opacity: .6; } 100% { opacity: 0; transform: translate(var(--dx), -90px); } }
.zzz { position: absolute; right: 20%; top: 26%; pointer-events: none; }
.zzz b { position: absolute; font: italic 400 34px/1 var(--f-display); color: var(--card-2); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); opacity: 0; }
.zzz b:nth-child(2) { font-size: 26px; } .zzz b:nth-child(3) { font-size: 20px; }
html:not(.rm) .zzz b { animation: zz 4.2s ease-in infinite; }
html:not(.rm) .zzz b:nth-child(2) { animation-delay: 1.4s; }
html:not(.rm) .zzz b:nth-child(3) { animation-delay: 2.8s; }
html.rm .zzz b { opacity: .85; position: relative; margin-left: 4px; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 10px) rotate(-8deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(34px, -70px) rotate(12deg); } }
.leaf { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 520 / 1188; transform-origin: 0 50%; transform: rotateY(-76deg); z-index: 2; filter: drop-shadow(10px 0 18px rgba(0, 0, 0, .6)); }
.leaf .door { width: 100%; height: 100%; object-fit: fill; }
html.js:not(.rm) .leaf { animation: dooropen 2.2s cubic-bezier(.3, .1, .2, 1) .5s both; }
@keyframes dooropen { from { transform: rotateY(0); } 55% { transform: rotateY(-62deg); } to { transform: rotateY(-76deg); } }
.dnd { position: absolute; right: -34px; top: 38%; width: 74px; z-index: 3; transform-origin: 50% 6%; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .55)); }
.dnd img { width: 100%; }
.dnd span { position: absolute; left: 8%; right: 8%; top: 44%; text-align: center; font: 700 9.5px/1.35 var(--f-sign); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
html:not(.rm) .dnd { animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.suite-cap { margin: 34px 0 0; text-align: center; font: 700 11px/1.3 var(--f-sign); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- the sticky hanger tab (desktop) ---------- */
.hanger-tab { position: fixed; right: 18px; top: 128px; width: 86px; z-index: 30; pointer-events: none; perspective: 600px; opacity: 0; transition: opacity .5s; }
.hanger-tab.show { opacity: 1; }
.hanger-tab img { width: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
.hanger-say { position: absolute; left: 10%; right: 10%; top: 40%; text-align: center; font: 700 9px/1.35 var(--f-sign); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
html:not(.rm) .hanger-tab.flip { animation: hflip .6s var(--ease); }
@keyframes hflip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }

/* ---------- plates behind sections ---------- */
.guest, .service { position: relative; isolation: isolate; overflow: hidden; }
.plate { position: absolute; inset: 0; z-index: -2; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.guest::before, .service::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.guest::before { background: linear-gradient(180deg, var(--night) 0%, rgba(7, 13, 22, .72) 18%, rgba(7, 13, 22, .55) 60%, var(--night) 100%); }
.service::before { background: linear-gradient(90deg, rgba(7, 13, 22, .92) 0%, rgba(7, 13, 22, .7) 55%, rgba(7, 13, 22, .45) 100%), linear-gradient(180deg, var(--night) 0%, transparent 16%, transparent 84%, var(--night) 100%); }
section { padding: clamp(80px, 12vh, 140px) 0; scroll-margin-top: 70px; }
.hero { padding: 0; }

/* ---------- GUEST · registration card ---------- */
.guest-in { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; align-items: start; }
.guest-in .sec-head { grid-column: 1 / -1; }
.regcard {
  position: relative; background: var(--card); color: var(--ink); border-radius: 6px; padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(138, 98, 32, .35), inset 0 0 0 8px var(--card), inset 0 0 0 9px rgba(138, 98, 32, .5);
  transform: rotate(-1.2deg);
}
.card-title { font: 700 12px/1.3 var(--f-sign); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 18px; }
.card-title i { font-style: normal; }
.regcard dl { margin: 0; display: grid; gap: 10px; }
.regcard dl div { display: grid; grid-template-columns: 124px 1fr; gap: 12px; align-items: baseline; border-bottom: 1px dashed rgba(75, 67, 55, .35); padding-bottom: 8px; }
.regcard dt { font: 700 11px/1.3 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.regcard dd { margin: 0; font-size: 17px; color: var(--ink); }
.regcard dd.hand { font-size: 23px; line-height: 1.2; color: #16284a; }
html.js:not(.rm) .regcard .w { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .32s + .3s); }
html.js:not(.rm) .regcard.in .w { clip-path: inset(0 0 0 0); }
.stamp { position: absolute; right: 22px; bottom: 18px; font: 700 26px/1 var(--f-sign); letter-spacing: .2em; text-transform: uppercase; color: rgba(139, 30, 40, .78); border: 3px solid rgba(139, 30, 40, .7); border-radius: 8px; padding: 8px 10px 5px; transform: rotate(-12deg); }
html.js:not(.rm) .stamp { opacity: 0; transform: rotate(-12deg) scale(1.6); }
html.js:not(.rm) .regcard.in .stamp { animation: stamp .45s cubic-bezier(.3, 1.5, .5, 1) 2.6s forwards; }
@keyframes stamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-self: center; }
.facts li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts span { font: 700 11.5px/1.3 var(--f-sign); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts strong { font: 400 22px/1.2 var(--f-display); color: var(--card-2); text-align: right; display: inline-flex; gap: 8px; align-items: center; }
.facts strong img { background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }

/* ---------- NIGHT · porter's log ---------- */
.night { background: linear-gradient(180deg, var(--night) 0%, var(--velvet) 50%, var(--night) 100%); }
.log { list-style: none; margin: 0 0 clamp(50px, 8vw, 90px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.entry { background: rgba(235, 230, 218, .04); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
html.js:not(.rm) .entry:nth-child(2) { transition-delay: .12s; }
html.js:not(.rm) .entry:nth-child(3) { transition-delay: .24s; }
html.js:not(.rm) .entry:nth-child(4) { transition-delay: .36s; }
.snap { margin: 0; aspect-ratio: 1; overflow: hidden; }
.snap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
html.js:not(.rm) .entry .snap img { filter: brightness(.18) saturate(.4); transition: filter 1.4s var(--ease) .35s, transform .8s var(--ease); }
html.js:not(.rm) .entry.in .snap img { filter: none; }
.entry:hover .snap img { transform: scale(1.05); }
.entry-txt { padding: 16px 18px 20px; }
.clock { display: inline-block; font: 400 30px/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.entry p { margin: 0; color: var(--text); font-size: 16px; }
.note { display: block; font-size: 21px; color: var(--gold); margin-top: 6px; transform: rotate(-2deg); }
.window { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--line); }
.window img { width: 100%; height: 100%; object-fit: cover; }
.rain { position: absolute; inset: -20% 0 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(175deg, transparent 0 46%, rgba(200, 220, 255, .38) 48%, transparent 50%),
    linear-gradient(172deg, transparent 0 70%, rgba(200, 220, 255, .28) 71%, transparent 72%);
  background-size: 34px 140px, 57px 220px; }
html:not(.rm) .rain { animation: rain .9s linear infinite; }
@keyframes rain { to { background-position: -12px 140px, -20px 220px; } }
.window-line { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: clamp(18px, 4vw, 44px); font: 400 clamp(36px, 6vw, 84px)/1 var(--f-display); color: var(--card-2);
  background: linear-gradient(0deg, rgba(5, 10, 16, .88), transparent); text-shadow: 0 4px 30px rgba(0, 0, 0, .7); }
.window-line em { color: var(--gold); }

/* ---------- GAME ---------- */
.game { background: radial-gradient(70% 60% at 50% 40%, var(--velvet), var(--night) 70%); }
.stage-wrap { max-width: 980px; margin-inline: auto; }
.stage { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #050a10; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 1); touch-action: manipulation; cursor: pointer; user-select: none; -webkit-user-select: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage.shake { animation: shake .28s linear; }
@keyframes shake { 20% { transform: translate(-6px, 2px); } 40% { transform: translate(5px, -3px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }
.hud { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; pointer-events: none;
  font: 700 12px/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; color: var(--card-2); background: linear-gradient(180deg, rgba(5, 10, 16, .8), transparent); }
.hud b { font: 400 26px/1 var(--f-display); color: var(--gold); letter-spacing: 0; margin-right: 6px; font-variant-numeric: tabular-nums; }
.hud-z { display: inline-flex; gap: 6px; }
.hud-z i { font: italic 400 28px/1 var(--f-display); color: var(--card-2); text-transform: none; transition: transform .3s, opacity .3s, color .3s; }
.hud-z i.spent { opacity: .25; transform: translateY(8px) scale(.7); color: #e0785f; }
.stage-start, .stage-end { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 20px; }
.stage-start { background: radial-gradient(closest-side, rgba(5, 10, 16, .55), transparent); }
.stage-start p { margin: 0; font: 700 11.5px/1.4 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; color: var(--card-2); text-shadow: 0 2px 8px #000; }
.stage-end { background: rgba(5, 10, 16, .55); }
.end-card { background: var(--card); color: var(--ink); border-radius: 10px; padding: clamp(18px, 3vw, 30px); max-width: 440px; box-shadow: 0 30px 60px -20px #000; }
html:not(.rm) .end-card { animation: endin .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes endin { from { transform: translateY(30px) scale(.94); opacity: 0; } }
.end-kicker { margin: 0 0 6px; font: 700 11px/1 var(--f-sign); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.end-card h3 { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; color: var(--ink); }
.end-card p { margin: 8px 0 0; color: var(--ink-soft); }
.end-score { font-size: 15px; }
.end-score b { font: 400 24px/1 var(--f-display); color: var(--ink); }
.end-score i { font-style: normal; margin: 0 .3em; }
.end-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.end-card .btn.ghost { color: var(--ink); border-color: rgba(27, 23, 18, .35); background: transparent; }
.end-card .btn.ghost:hover { background: rgba(27, 23, 18, .06); color: var(--ink); }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.tip { font: 700 11.5px/1.4 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.snd { background: transparent; border: 1px solid rgba(220, 183, 109, .45); color: var(--text); border-radius: 999px; min-height: 38px; padding: 0 14px; cursor: pointer; font: 700 11.5px/1 var(--f-sign); letter-spacing: .14em; text-transform: uppercase; }
.snd:hover { border-color: var(--gold); }
.pop { position: absolute; pointer-events: none; font: 700 18px/1 var(--f-sign); letter-spacing: .18em; text-transform: uppercase; color: var(--card-2); text-shadow: 0 2px 8px #000; transform: translate(-50%, -50%); }
html:not(.rm) .pop { animation: pop 1s var(--ease) forwards; }
@keyframes pop { from { opacity: 1; } to { opacity: 0; transform: translate(-50%, -150%); } }

/* ---------- ROOM SERVICE ---------- */
.service-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px 60px; align-items: start; }
.service-in .sec-head { grid-column: 1 / -1; }
.menucard { background: var(--card); color: var(--ink); border-radius: 6px; padding: clamp(22px, 3vw, 38px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), inset 0 0 0 8px var(--card), inset 0 0 0 9px rgba(138, 98, 32, .5); }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.steps h3 { font-size: 25px; line-height: 1.1; color: var(--ink); }
.rn { font: 700 12px/1 var(--f-sign); letter-spacing: .18em; color: var(--gold-deep); margin-right: 10px; vertical-align: middle; }
.steps p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15.5px; }
.cloche { position: relative; width: 64px; height: 64px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.cloche img { position: absolute; left: 12px; top: 16px; width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.cloche .dome { position: absolute; left: 2px; right: 2px; bottom: 6px; height: 46px; border-radius: 30px 30px 4px 4px;
  background: radial-gradient(60% 50% at 35% 30%, #fff, #d7d9de 40%, #9a9ea8 80%, #6d717a); box-shadow: 0 3px 0 #7b7f88, 0 6px 10px rgba(0, 0, 0, .25);
  transition: transform .55s cubic-bezier(.3, 1.4, .5, 1); transform-origin: 90% 100%; }
.cloche .dome::before { content: ''; position: absolute; left: 50%; top: -7px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #c9ccd3; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .25); }
.cloche:hover .dome, .cloche:focus-visible .dome, .cloche.lift .dome { transform: translate(14px, -30px) rotate(24deg); }
.steam { position: absolute; left: 50%; top: 4px; width: 2px; height: 22px; opacity: 0; background: linear-gradient(0deg, transparent, rgba(255, 255, 255, .7), transparent); border-radius: 2px; }
html:not(.rm) .cloche:hover .steam, html:not(.rm) .cloche.lift .steam { animation: steam 1.4s ease-out infinite; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px) scaleY(.6); } 40% { opacity: .9; } 100% { opacity: 0; transform: translate(4px, -16px) scaleY(1.2); } }
.official { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }

/* ---------- FOOTER · check-out ---------- */
.foot { position: relative; padding: clamp(70px, 10vh, 120px) 0 40px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, #101b33 55%, #2a2436 82%, #4a3530 100%); }
.foot-in { display: grid; justify-items: center; gap: 22px; }
.foot-logo { width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -18px #000; }
html:not(.rm) .foot-logo { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
.foot-big { margin: 0; font: 400 clamp(40px, 6vw, 76px)/1 var(--f-display); color: var(--card-2); }
.foot-big em { color: var(--gold); }
.foot-ca { width: min(560px, 100%); }
.foot-ca .keyfob { width: 100%; }
.banner-strip { margin: 10px 0 0; width: min(900px, 100%); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.disclaimer { max-width: 640px; margin: 0; font-size: 14px; color: #d9cfbb; }
.colophon { margin: 0; font: 700 11px/1.4 var(--f-sign); letter-spacing: .18em; text-transform: uppercase; color: #d9cfbb; }
.colophon a { color: var(--gold); }

/* ---------- toast + click puffs ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 60; transform: translate(-50%, 140%); background: var(--card); color: var(--ink); padding: 12px 18px; border-radius: 999px;
  font: 700 12px/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 16px 30px -12px #000; pointer-events: none;
  transform: translate(-50%, 220%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s, visibility 0s; }
.puff { position: fixed; z-index: 70; pointer-events: none; font: italic 400 20px/1 var(--f-display); color: var(--gold); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); transform: translate(-50%, -50%); animation: puff 1s var(--ease) forwards; }
@keyframes puff { to { opacity: 0; transform: translate(-50%, -160%) rotate(-8deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .links { display: none; }
  .burger { display: inline-flex; color: var(--text); }
  .nav-right { margin-left: auto; }
  .log { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) { .hanger-tab { display: none; } }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: 1fr; padding: 34px 0 54px; }
  .suite { width: min(360px, 88%); order: -1; }
  .dnd { right: -26px; width: 62px; }
  .guest-in, .service-in { grid-template-columns: 1fr; }
  .regcard { transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { gap: 10px; height: 60px; }
  .brand span { font-size: 20px; }
  .brand img { width: 34px; height: 34px; }
  .motion-lbl, .burger-lbl { display: none; }
  .motion-btn, .burger { padding: 0 11px; }
  .menu { inset: 94px 0 auto 0; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .ctas .btn { flex: 1 1 100%; }
  .counter { display: flex; }
  .log { grid-template-columns: 1fr; }
  .entry { display: grid; grid-template-columns: 38% 1fr; }
  .snap { aspect-ratio: auto; height: 100%; }
  .regcard dl div { grid-template-columns: 1fr; gap: 2px; }
  .window { aspect-ratio: 4 / 5; }
  .stage { aspect-ratio: 3 / 4; }
  .steps li { grid-template-columns: 54px 1fr; }
  .cloche { width: 54px; height: 54px; }
  .cloche img { left: 8px; top: 12px; width: 36px; height: 36px; }
  .official .chip { flex: 1 1 calc(50% - 6px); }
  .hud { padding: 10px 12px; font-size: 10.5px; }
  .hud b { font-size: 22px; }
}
@media (max-width: 360px) {
  .nav .btn.buy.sm { display: none !important; }
  .ca-hint { display: none; }
}

/* =====================================================================
   REVIEW FIXES (token-site-review, 2026-09-23). Later rules override the base above.
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* entrance timeline: delays live here, not in style="" (the CSP blocks inline styles) */
.kicker.rise { --d: .1s; } .suite.rise { --d: .2s; } .hero h1.rise { --d: .25s; } .sub.rise { --d: .45s; }
.ca-wrap.rise { --d: .6s; } .ctas.rise { --d: .7s; } .counter.rise { --d: .85s; }

/* typography: tighter display setting, no single-word widows */
h1, h2, h3 { letter-spacing: -.012em; text-wrap: balance; }
.hero h1 { line-height: .96; letter-spacing: -.02em; }
.sec-head { max-width: 820px; }
.sec-head h2 em { color: var(--gold); }
.kicker, .suite-cap, .stage-start p, .foot-big { text-wrap: balance; }

/* hero before launch: the room key shows (disabled), Play becomes the gold button, the counter is an engraved line */
.keyfob[aria-disabled="true"] { cursor: default; }
.keyfob[aria-disabled="true"]:hover { transform: none; border-color: var(--line); }
.keyfob[aria-disabled="true"] .ca-text { font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--muted); }
.keyfob[aria-disabled="true"] .ca-hint { background: none; color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); }
.ctas .lk-pump[hidden] ~ .play { background-color: #dcb76d; background-image: linear-gradient(180deg, #ecca83, #cfa04a); color: var(--ink); border-color: transparent; box-shadow: 0 8px 24px -10px rgba(220, 183, 109, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.ctas .lk-pump[hidden] ~ .play:hover { color: var(--ink); }
.counter { display: flex; align-items: baseline; gap: 18px; margin: 30px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; max-width: 440px; }
.counter-lbl { max-width: none; }
.counter-num { font-size: 40px; }

/* the door opens INTO the room and is lit by the lamp (no bright blue strip sticking out of the frame) */
.leaf { transform: rotateY(68deg); filter: drop-shadow(-8px 0 14px rgba(0, 0, 0, .55)); }
.leaf .door { filter: brightness(.58) saturate(.72) sepia(.12); }
.leaf::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255, 190, 110, .10), rgba(0, 0, 0, .45)); }
@keyframes dooropen { from { transform: rotateY(0); } 55% { transform: rotateY(56deg); } to { transform: rotateY(68deg); } }

/* the DO NOT DISTURB hanger: readable, centred in the card */
.dnd { width: 84px; }
.dnd span, .hanger-say { top: 32%; bottom: 8%; display: flex; flex-direction: column; justify-content: center; font: italic 400 15px/1.12 var(--f-display); letter-spacing: 0; text-transform: none; color: var(--ink); }
.dnd span::before, .hanger-say::before { content: '☾'; display: block; font-style: normal; font-size: 13px; color: var(--gold-2); margin-bottom: 8px; }
.hanger-tab { width: 100px; }
@media (max-width: 1403px) { .hanger-tab { display: none; } }

/* night log: an editorial contact strip, not four boxed cards */
.log { align-items: start; }
.entry { background: none; border: 0; border-radius: 0; overflow: visible; }
.snap { border-radius: 2px; }
.entry-txt { padding: 14px 0 0; margin-top: 14px; border-top: 1px solid var(--line); }
.nextday { margin-left: 10px; font: 700 11px/1 var(--f-sign); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1101px) { .entry:nth-child(even) { margin-top: 72px; } }
@media (min-width: 601px) {
  .entry:nth-child(1) .snap, .entry:nth-child(3) .snap { aspect-ratio: 4 / 5; }
  .entry:nth-child(1) .snap img { transform-origin: 45% 42%; scale: 1.25; }
  .entry:nth-child(3) .snap img { transform-origin: 38% 26%; scale: 1.55; }
}
.window img { object-position: 50% 80%; }

/* room service: brass cloches that lift by themselves to show the official logos */
.cloche .dome { background: radial-gradient(60% 50% at 35% 30%, #fff6dc, #e8c989 32%, #b88c40 68%, #6f501f); box-shadow: 0 3px 0 #6f501f, 0 6px 10px rgba(0, 0, 0, .3); }
.cloche .dome::before { background: #e3c27f; }
.cloche:hover .dome, .cloche:focus-visible .dome { transform: none; }
.cloche.lift .dome { transform: translate(14px, -30px) rotate(24deg); }
.steps li:nth-child(2) .dome { transition-delay: .1s; }
.menucard a { color: var(--gold-deep); font-weight: 600; }
.menucard a:hover { color: var(--ink); }
.official:not(:has(.chip:not([hidden]))) { display: none; }
.service-in .official { grid-column: 1; }

/* footer: crop the banner to the door */
.banner-strip { width: min(720px, 100%); aspect-ratio: 16 / 9; border-radius: 4px; }
.banner-strip img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }

/* palette discipline: no red; the stamp is the hotel's blue ink */
.stamp { color: rgba(22, 40, 74, .82); border-color: rgba(22, 40, 74, .7); }
.regcard dl { margin-bottom: 58px; }
.hud-z i.spent { color: var(--muted); }
.hud-z small { font: 700 10px/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 4px; align-self: center; }

/* game: the stage always fits the screen; start prompt sits clear of the demo */
.stage-wrap { max-width: min(980px, calc((100svh - 170px) * 1.6)); }
.stage.playing { touch-action: none; }
.stage-start { align-content: start; padding-top: clamp(64px, 15%, 130px); background: linear-gradient(180deg, rgba(5, 10, 16, .72), transparent 55%); }
.stage-start p { background: rgba(5, 10, 16, .8); padding: 8px 14px; border-radius: 999px; text-shadow: none; }
html:not(.js) #startBtn, html:not(.js) .burger, html:not(.js) .motion-btn { display: none; }
.stage { background: #050a10 url(/img/plate-suite.webp) center / cover; }

/* focus is visible on cream too */
.menucard :focus-visible, .end-card :focus-visible, .regcard :focus-visible { outline-color: var(--lacquer); }

/* phone menu: placed under the sticky nav by JS; scrolls inside itself */
.menu { top: 100px; bottom: auto; background: #09101e; max-height: calc(100svh - 60px); overflow-y: auto; overscroll-behavior: contain; }
.menu .motion-btn.in-menu { height: 46px; }
.motion-btn.in-menu { display: none; }

/* reduced motion: no hover travel either */
html.rm .btn:hover, html.rm .chip:hover, html.rm .ico:hover, html.rm .keyfob:hover, html.rm .keyfob.turned .key, html.rm .entry:hover .snap img { transform: none; }
html.rm .keyfob .key, html.rm .cloche .dome { transition: none; }

@media (max-width: 1100px) {
  .nav .motion-btn:not(.in-menu) { display: none; }
  .motion-btn.in-menu { display: inline-flex; }
  html:not(.js) .nav { flex-wrap: wrap; height: auto; padding-block: 10px; }
  html:not(.js) .links { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 18px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(240px, 40%); }
  .suite { order: 0; width: 100%; }
}
@media (max-width: 600px) {
  .nav-right .ico { display: none; }
  .hero-in { padding: 18px 0 44px; gap: 22px; }
  .suite { width: min(290px, 78%); }
  .doorway { aspect-ratio: 1 / 1; }
  .suite-cap { display: none; }
  .hero .kicker { font-size: 11px; letter-spacing: .16em; }
  .dnd { width: 62px; right: -22px; }
  .dnd span { font-size: 12.5px; }
  .dnd span::before { font-size: 11px; margin-bottom: 4px; }
  .burger { min-width: 44px; height: 44px; justify-content: center; }
  .counter-lbl, .suite-cap, .regcard dt, .hud, .tip, .stage-start p, .snd, .colophon { font-size: 12px; letter-spacing: .12em; }
  .snd { min-height: 44px; }
  .colophon a { display: inline-block; padding: 14px 6px; margin: -14px 0; }
  .brand { min-height: 44px; }
  .stage-wrap { max-width: min(100%, calc((100svh - 150px) * .75)); }
  .official .chip { flex: 0 1 auto; }
  .regcard { padding-bottom: 30px; }
  .cloche.lift .dome { transform: translate(18px, -14px) rotate(32deg) scale(.82); }
  .hud-z small { display: none; }
}
.menu .motion-lbl { display: inline; }
@media (max-width: 600px) { .cloche .dome { transition: transform .5s var(--ease), opacity .4s; } .cloche.lift .dome { transform: translateY(-22px) scale(.8); opacity: 0; } }
.ico { color: var(--ink); }
@media (max-width: 900px) { .guest-in, .service-in { grid-template-columns: minmax(0, 1fr); } .official { min-width: 0; } }
