/* ==========================================================================
   ISTANBLU HOTEL ATAŞEHİR — styles
   ========================================================================== */
:root {
  --night: #08121f; --navy: #0b2341; --blue: #123b65; --brand: #0b2b55;
  --sand: #eee7dc; --paper: #f6f1e9;
  --champagne: #cbaa78; --champagne-2: #e2c79c; --stone: #b4a48d;
  --ink: #192a39; --line: rgba(238,231,220,.17); --line-ink: rgba(25,42,57,.16);
  --muted: rgba(238,231,220,.68);
  --font-display: 'Cormorant Garamond', 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16,1,.3,1);
  --nav-h: 72px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--night); color: var(--sand);
  font-family: var(--font-body); font-size: clamp(15px, .95vw + 8px, 17px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--champagne); color: var(--night); padding: 10px 16px; border-radius: 4px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--champagne); display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.display { font-family: var(--font-display); font-weight: 400; line-height: .98; letter-spacing: -.01em; margin: 0; }
.h-xl { font-size: clamp(44px, 7vw, 116px); }
.h-lg { font-size: clamp(38px, 5.2vw, 84px); }
.h-md { font-size: clamp(30px, 3.4vw, 54px); }
.lead { font-size: clamp(16px, 1.1vw + 8px, 20px); color: var(--muted); max-width: 46ch; }
.note { font-size: 13px; color: var(--muted); max-width: 60ch; }
.note::before { content: 'ⓘ '; color: var(--champagne); }
.wrap { padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.section { position: relative; padding-block: clamp(80px, 12vw, 180px); }
.paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.paper .lead, .paper .note { color: rgba(25,42,57,.72); }
.paper .kicker { color: #8a6a3c; }
em.gold, .gold { color: var(--champagne); font-style: italic; }

/* ---- Buttons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s, border-color .3s; will-change: transform; white-space: nowrap; }
.btn-gold { background: var(--champagne); color: var(--night); }
.btn-gold:hover { background: var(--champagne-2); }
.btn-line { border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--champagne); color: var(--champagne); }
.paper .btn-line { border-color: var(--line-ink); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.ext-tag { font-size: 10px; opacity: .7; }

/* ---- Grain + cursor ---------------------------------------------------- */
.grain { position: fixed; inset: -10%; z-index: 900; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.cursor { position: fixed; left: 0; top: 0; z-index: 950; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--champagne); pointer-events: none; mix-blend-mode: difference; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s; opacity: 0; }
.cursor.on { opacity: 1; }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---- Loader ------------------------------------------------------------ */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: auto; }
.loader-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--night); }
.loader-panel.top { top: 0; } .loader-panel.bot { bottom: 0; }
.loader-inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 22px; padding: 16px; }
.loader-inner img { width: clamp(80px, 10vw, 120px); height: auto; }
.loader-line { width: min(260px, 60vw); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-line::after { content: ''; position: absolute; inset: 0; background: var(--champagne); transform-origin: left; animation: loadline 1.6s var(--ease) infinite; }
@keyframes loadline { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); transform-origin: left; } 61% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.loader-text { font-family: var(--font-display); font-style: italic; font-size: clamp(18px, 2vw, 26px); color: var(--sand); opacity: .9; }
.loader .mono { color: var(--muted); }
.loader.gone { display: none; }

/* ---- Navigation -------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--gutter); transition: transform .5s var(--ease), background .4s; }
.nav.scrolled { background: rgba(8,18,31,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: clamp(14px, 1.6vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; letter-spacing: .02em; opacity: .82; transition: opacity .2s, color .2s; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--champagne); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; }
.lang button { padding: 6px 6px; opacity: .55; }
.lang button[aria-pressed="true"] { opacity: 1; color: var(--champagne); }
.nav .btn { padding: 11px 18px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--sand); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1200px) { .nav-links { display: none; } .burger { display: block; } }
@media (max-width: 600px) { .nav .btn-book-nav { display: none; } .nav-logo img { height: 28px; } }

.menu { position: fixed; inset: 0; z-index: 490; background: var(--navy); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease), visibility 0s .7s; overflow-y: auto; }
.menu.open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease); }
.menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu li { overflow: hidden; counter-increment: m; }
.menu li a { display: flex; align-items: baseline; gap: 18px; font-family: var(--font-display); font-size: clamp(36px, 9vw, 72px); line-height: 1.12; text-decoration: none; transform: translateY(110%); transition: transform .8s var(--ease), color .2s; }
.menu li a::before { content: '0' counter(m); font-family: var(--font-mono); font-size: 12px; color: var(--champagne); letter-spacing: .1em; }
.menu li a:hover { color: var(--champagne); }
.menu.open li a { transform: none; }
.menu-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; color: var(--muted); }

/* ---- Sticky compact booking CTA --------------------------------------- */
.sticky-book { position: fixed; right: var(--gutter); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 480; box-shadow: 0 10px 40px rgba(0,0,0,.35); transition: transform .5s var(--ease), opacity .4s; }
.sticky-book.away { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---- Auto-scroll indicator --------------------------------------------- */
.autoscroll-badge { position: fixed; left: 50%; top: calc(var(--nav-h) + 8px); z-index: 485; transform: translate(-50%, -12px); display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(8,18,31,.72); border: 1px solid var(--line); color: var(--sand); font-size: 10.5px; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); white-space: nowrap; backdrop-filter: blur(6px); }
.autoscroll-badge.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.autoscroll-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---- HERO -------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.hero-stage { position: absolute; inset: 0; perspective: 1400px; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.scene.is-active { opacity: 1; visibility: visible; }
.scene-bg { position: absolute; inset: -6%; background-size: cover; background-position: center; filter: blur(28px) saturate(1.05) brightness(.42); transform: scale(1.08); }
.scene-frame { position: absolute; right: calc(var(--gutter) + 72px); top: 50%; --ar: .75; height: min(76vh, calc(44vw / var(--ar))); aspect-ratio: var(--ar); transform: translateY(-50%); transform-style: preserve-3d; }
.frame-inner { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; box-shadow: 0 40px 120px rgba(0,0,0,.55); background: #0d1826; }
.frame-inner img, .frame-inner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-inner video { opacity: 0; transition: opacity .35s; }
.frame-inner video.ready { opacity: 1; }
.frame-border { position: absolute; inset: -14px; border: 1px solid rgba(203,170,120,.35); pointer-events: none; }
.frame-border::before, .frame-border::after { content: ''; position: absolute; width: 18px; height: 18px; border-color: var(--champagne); border-style: solid; }
.frame-border::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame-border::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.frame-tag { position: absolute; left: 0; bottom: -34px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.frame-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); display: inline-block; }
.frame-tag.real i { background: #7fd3a1; } .frame-tag.ai i { background: #e0a35c; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,18,31,.82) 0%, rgba(8,18,31,.35) 48%, rgba(8,18,31,.1) 100%); pointer-events: none; }
.hero-word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(80px, 17vw, 300px); line-height: .8; letter-spacing: -.02em; color: rgba(238,231,220,.08); white-space: nowrap; pointer-events: none; user-select: none; }
.hero-word .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.hero-word .ch > span { display: inline-block; }
.hero-copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); max-width: min(560px, 46vw); z-index: 3; }
.hero-copy .kicker { margin-bottom: 22px; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 82px); line-height: 1.0; margin: 0 0 22px; letter-spacing: -.01em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; }
.hero-text { color: var(--muted); max-width: 40ch; margin: 0; min-height: 3.2em; }
.hero-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; gap: 4px; }
.hero-rail button { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; padding: 6px 4px 6px 18px; position: relative; opacity: .45; text-align: right; min-width: 44px; min-height: 28px; }
.hero-rail button::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.hero-rail button[aria-current="step"] { opacity: 1; color: var(--champagne); }
.hero-rail button[aria-current="step"]::before { width: 16px; left: -6px; }
.hero-bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; z-index: 4; display: flex; align-items: center; gap: 24px; }
.hero-count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; min-width: 72px; }
.hero-count b { color: var(--champagne); font-weight: 400; }
.hero-progress { flex: 1; height: 1px; background: var(--line); position: relative; max-width: 520px; }
.hero-progress i { position: absolute; inset: 0; background: var(--champagne); transform-origin: left; transform: scaleX(0); }
.hero-progress .ticks { position: absolute; inset: -3px 0; display: flex; justify-content: space-between; }
.hero-progress .ticks span { width: 1px; height: 7px; background: var(--line); }
.hero-scroll { color: var(--muted); }
.ring { position: absolute; right: calc(var(--gutter) + 8px); bottom: 64px; width: 116px; height: 116px; z-index: 4; }
.ring svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.ring text { font-family: var(--font-mono); font-size: 9.6px; letter-spacing: 2.6px; fill: var(--sand); }
.ring img { position: absolute; left: 50%; top: 50%; width: 38px; transform: translate(-50%,-50%); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-log { position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 8px); z-index: 6; font-family: var(--font-mono); font-size: 11px; background: rgba(0,0,0,.6); padding: 8px 10px; white-space: pre; display: none; }
.debug .hero-log { display: block; }

@media (max-width: 900px) {
  /* mobile: image spans the full screen width (never wider), large and readable;
     landscape photos are shown square, portrait videos up to ~72% of the screen height */
  .scene-frame { left: 50%; right: auto; top: var(--nav-h); bottom: auto;
    width: min(100vw, calc(72svh * var(--ar-m, 1))); height: auto; aspect-ratio: var(--ar-m, 1); transform: translateX(-50%); }
  .frame-inner { border-radius: 0; box-shadow: none; }
  .frame-border { display: none; }
  .frame-tag { left: var(--gutter); top: 12px; bottom: auto; font-size: 9.5px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
  .scene-bg { filter: blur(22px) saturate(1.05) brightness(.5); }
  .hero-shade { background: linear-gradient(0deg, rgba(8,18,31,.97) 0%, rgba(8,18,31,.85) 36%, rgba(8,18,31,.35) 52%, rgba(8,18,31,0) 66%); }
  .hero-copy { top: auto; bottom: calc(80px + env(safe-area-inset-bottom)); transform: none; max-width: none; right: var(--gutter); }
  .hero-copy .kicker { margin-bottom: 16px; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); line-height: 1; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
  .hero-text { font-size: 15.5px; min-height: 0; color: rgba(238,231,220,.82); }
  .hero-word { top: auto; bottom: calc(80px + env(safe-area-inset-bottom) + 230px); transform: none; font-size: calc(96vw / var(--len, 8) * 1.45); color: rgba(238,231,220,.16); z-index: 2; }
  .ring, .hero-rail { display: none; }
  .hero-bottom { bottom: calc(26px + env(safe-area-inset-bottom)); right: 150px; }
  .hero-scroll { display: none; }
}
@media (max-width: 390px) { .hero-copy { bottom: 88px; } .hero-text { font-size: 14px; } }
/* technical source labels are only shown in ?debug mode (AI clips, if ever approved, keep their label) */
.frame-tag:not(.ai), .wordmask-tag { display: none; }
.debug .frame-tag, .debug .wordmask-tag { display: flex; }

/* Reduced motion: hero becomes eight static, sequential chapters */
.rm .hero { height: auto; overflow: visible; }
.rm .hero-stage { position: relative; }
.rm .scene { position: relative; opacity: 1; visibility: visible; min-height: 100svh; overflow: hidden; }
.rm .scene .scene-copy-static { display: block; }
.rm .hero-copy, .rm .hero-rail, .rm .hero-bottom, .rm .hero-word, .rm .ring { display: none; }
.scene-copy-static { display: none; position: absolute; left: var(--gutter); bottom: 12vh; max-width: min(520px, 80vw); z-index: 3; }
.scene-copy-static h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4.6vw, 70px); line-height: 1; margin: 12px 0; }
.rm .scene .hero-shade { display: block; }

/* ---- Marquee ----------------------------------------------------------- */
.marquee { position: relative; padding-block: clamp(40px, 6vw, 80px); overflow: hidden; border-top: 1px solid rgba(203,170,120,.4); background: var(--night); }
.mq-row { display: flex; white-space: nowrap; will-change: transform; }
.mq-row span { font-family: var(--font-display); font-size: clamp(48px, 8vw, 140px); line-height: 1.1; padding-right: .4em; }
.mq-row + .mq-row span { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(203,170,120,.65); }

/* ---- Rooms horizontal -------------------------------------------------- */
.rooms { position: relative; overflow: hidden; background: var(--paper); color: var(--ink); }
.rooms .lead, .rooms .note { color: rgba(25,42,57,.74); }
.rooms .kicker { color: #8a6a3c; }
.rooms-track { display: flex; height: 100svh; width: max-content; }
.rooms-intro, .room-panel { flex: 0 0 auto; height: 100%; display: flex; flex-direction: column; justify-content: center; position: relative; }
.rooms-intro { width: min(560px, 92vw); padding-left: var(--gutter); padding-right: 48px; }
.room-panel { width: min(78vw, 1100px); padding: calc(var(--nav-h) + 20px) clamp(24px, 4vw, 64px) 48px; border-left: 1px solid var(--line-ink); }
.room-idx { font-family: var(--font-display); font-size: clamp(120px, 20vw, 320px); line-height: .8; color: rgba(25,42,57,.07); position: absolute; right: clamp(16px, 3vw, 48px); top: calc(var(--nav-h) + 10px); pointer-events: none; }
.room-panel h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 72px); line-height: 1; margin: 12px 0 18px; max-width: 14ch; }
.room-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 24px; }
.room-meta div { border-top: 1px solid var(--line-ink); padding-top: 10px; min-width: 150px; }
.room-meta dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.room-meta dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 28px; }
.room-meta small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; opacity: .55; text-transform: uppercase; }
.room-panel .pending { display: flex; gap: 14px; align-items: flex-start; max-width: 520px; padding: 16px 18px; border: 1px dashed rgba(25,42,57,.28); font-size: 14px; color: rgba(25,42,57,.75); margin-bottom: 26px; }
.room-panel .pending svg { flex: 0 0 22px; margin-top: 2px; }
.room-panel.strip { width: min(120vw, 1500px); }
.room-panel.has-img { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 3vw, 56px); align-items: center; width: min(92vw, 1400px); }
.room-photo { margin: 0; height: min(68vh, 640px); overflow: hidden; position: relative; z-index: 1; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; }
.strip-imgs { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr .8fr; gap: 14px; height: 52vh; margin: 8px 0 18px; }
.strip-imgs figure { margin: 0; overflow: hidden; position: relative; }
.strip-imgs img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.strip-imgs figcaption { position: absolute; left: 10px; bottom: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  /* mobile fallback (reduced motion / no JS): rooms stack vertically */
  .rooms-track { flex-direction: column; height: auto; width: auto; }
  .rooms-intro, .room-panel, .room-panel.strip { width: auto; height: auto; padding: 56px var(--gutter); border-left: 0; border-top: 1px solid var(--line-ink); }
  .rooms-intro { padding-top: 88px; }
  .room-idx { top: 24px; font-size: 120px; }
  .room-panel h3 { font-size: 38px; max-width: 80%; }
  .room-panel.has-img { display: block; width: auto; }
  .room-photo { height: auto; aspect-ratio: 4/3; margin: 0 calc(-1 * var(--gutter)) 24px; }
  .strip-imgs { grid-template-columns: 1fr 1fr; height: auto; }
  .strip-imgs figure { aspect-ratio: 3/4; }
  .strip-imgs img { transform: none; }
}

.rm .rooms-track { flex-direction: column; height: auto; width: auto; }
.rm .rooms-intro, .rm .room-panel { width: auto; height: auto; padding-block: 64px; border-left: 0; border-top: 1px solid var(--line-ink); }
.rm .arrival, .rm .wordmask { height: auto; min-height: 100svh; }
.rm .arrival-copy { position: relative; left: auto; bottom: auto; padding: 24px var(--gutter) 64px; }
.rm .arrival-grid { position: relative; }
.rm #wmSvg { display: none; }

/* ---- Arrival walkthrough ---------------------------------------------- */
.arrival { position: relative; height: 100svh; overflow: hidden; background: var(--night); }
.arrival-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 48px); padding: calc(var(--nav-h) + 16px) var(--gutter) 40px; }
.arrival-side { display: grid; gap: 14px; }
.arrival-side figure { margin: 0; overflow: hidden; aspect-ratio: 4/3; }
.arrival-side img { width: 100%; height: 100%; object-fit: cover; }
.arrival-video { position: relative; height: min(78vh, 760px); aspect-ratio: 9/16; overflow: hidden; transform-origin: center; }
.arrival-video img, .arrival-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arrival-video video { opacity: 0; transition: opacity .3s; } .arrival-video video.ready { opacity: 1; }
.arrival-copy { position: absolute; left: var(--gutter); bottom: 48px; z-index: 3; max-width: 560px; }
.mask-line { display: block; overflow: hidden; }
.mask-line > span { display: inline-block; }
@media (max-width: 900px) {
  .arrival-grid { grid-template-columns: 1fr; justify-items: center; }
  .arrival-side { display: none; }
  .arrival-video { height: 70vh; }
  .arrival-copy { bottom: 28px; right: var(--gutter); background: linear-gradient(0deg, rgba(8,18,31,.9), rgba(8,18,31,0)); padding-top: 40px; }
}

/* ---- Word mask --------------------------------------------------------- */
.wordmask { position: relative; height: 100svh; overflow: hidden; background: var(--night); }
.wordmask-media { position: absolute; inset: 0; }
.wordmask-media img, .wordmask-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wordmask-media video { opacity: 0; transition: opacity .3s; } .wordmask-media video.ready { opacity: 1; }
.wordmask-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wordmask-caption { position: absolute; left: 0; right: 0; bottom: 8vh; text-align: center; z-index: 3; padding-inline: var(--gutter); }
.wordmask-caption p { font-family: var(--font-display); font-style: italic; font-size: clamp(26px, 3.4vw, 54px); margin: 0; }
.wordmask-tag { position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 12px); z-index: 3; color: var(--muted); }

/* ---- Dining ------------------------------------------------------------ */
.dining { background: var(--sand); color: var(--ink); color-scheme: light; }
.dining-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 96px); }
.dining-pin { position: sticky; top: 0; align-self: start; height: 100svh; display: flex; align-items: center; }
.dining-photos { position: relative; width: 100%; height: 78vh; overflow: hidden; }
.dining-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); }
.dining-photos img:first-child { clip-path: inset(0 0 0 0); }
.dining-photos .dining-logo { inset: 16px auto auto 16px; z-index: 2; width: 150px; height: auto; object-fit: contain; background: rgba(255,255,255,.9); padding: 8px 10px; clip-path: none; }
.dining-layers { padding-block: 30vh 20vh; }
.dining-layer { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line-ink); }
.dining-layer .n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: #8a6a3c; }
.dining-layer h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 104px); margin: 8px 0 12px; line-height: 1; }
.dining-layer figure { margin: 18px 0 0; max-width: 360px; }
.dining-layer figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.dining .note { color: rgba(25,42,57,.72); }
.dining-head { padding-top: clamp(80px, 10vw, 140px); }
@media (max-width: 900px) {
  .dining-grid { grid-template-columns: 1fr; }
  .dining-pin { height: 60svh; position: sticky; top: 0; z-index: 1; }
  .dining-photos { height: 52svh; }
  .dining-layers { padding-block: 10vh; position: relative; z-index: 2; background: var(--sand); }
  .dining-layer { min-height: 60vh; }
}

/* ---- Manifesto --------------------------------------------------------- */
.manifesto p.mf { font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 80px); line-height: 1.12; margin: 28px 0 0; max-width: 22ch; }
.mf .w { opacity: .16; transition: opacity .2s; }
.mf .pill { display: inline-block; vertical-align: middle; height: .78em; width: 1.6em; border-radius: 999px; overflow: hidden; margin: 0 .12em; position: relative; top: -.06em; }
.mf .pill video, .mf .pill img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Details / amenity index ------------------------------------------ */
.details-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: start; margin-top: 48px; }
.amen-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.amen-list li { border-bottom: 1px solid var(--line); }
.amen-list button { width: 100%; display: flex; align-items: baseline; gap: 22px; padding: 18px 4px; text-align: left; transition: color .2s, padding .4s var(--ease); }
.amen-list button .i { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.amen-list button .l { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 52px); line-height: 1.05; }
.amen-list button .p { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #e0a35c; }
.amen-list button[aria-selected="true"] { color: var(--champagne); padding-left: 16px; }
.amen-view { position: sticky; top: calc(var(--nav-h) + 24px); }
.amen-media { aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--navy); display: grid; place-items: center; }
.amen-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amen-media svg { width: 30%; height: auto; color: var(--champagne); opacity: .8; }
.amen-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.amen-cap p { margin: 0; color: var(--muted); max-width: 40ch; font-size: 15px; }
.amen-count { font-family: var(--font-mono); font-size: 13px; }
@media (max-width: 900px) { .details-grid { grid-template-columns: 1fr; } .amen-view { position: relative; top: 0; order: -1; } .amen-media { aspect-ratio: 4/3; } }

/* ---- Day / night ------------------------------------------------------- */
.daynight-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.daynight-split figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3/4; }
.daynight-split img { width: 100%; height: 100%; object-fit: cover; }
.daynight-split figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@media (max-width: 600px) { .daynight-split { grid-template-columns: 1fr; } }

/* ---- Gallery ----------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.filters button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.filters button[aria-pressed="true"] { background: var(--champagne); color: var(--night); border-color: var(--champagne); }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; position: relative; overflow: hidden; cursor: zoom-in; }
.masonry button { display: block; width: 100%; cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; left: 10px; bottom: 8px; right: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); opacity: 0; transition: opacity .3s; text-align: left; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }
.masonry figure.hidden { display: none; }
.hover-thumb { position: fixed; z-index: 800; width: 160px; pointer-events: none; opacity: 0; transform: translate(-50%, -120%); transition: opacity .25s; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.hover-thumb.on { opacity: 1; }
@media (hover: none) { .hover-thumb { display: none; } }
@media (max-width: 600px) { .masonry { columns: 2; column-gap: 8px; } .masonry figure { margin-bottom: 8px; } }

.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(5,10,18,.96); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(8,18,31,.6); }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }
.lb-cap { position: absolute; left: 16px; right: 16px; bottom: 16px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---- Location ---------------------------------------------------------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.loc-photo { aspect-ratio: 4/5; overflow: hidden; }
.loc-photo img { width: 100%; height: 115%; object-fit: cover; }
.addr { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; margin: 24px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } }

/* ---- Notes carousel ---------------------------------------------------- */
.notes { text-align: center; }
.notes-stage { position: relative; min-height: clamp(220px, 26vw, 360px); margin-top: 40px; touch-action: pan-y; }
.notes-stage blockquote { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.08; padding-inline: var(--gutter); opacity: 0; visibility: hidden; }
.notes-stage blockquote.on { opacity: 1; visibility: visible; }
.notes-pag { display: flex; gap: 10px; justify-content: center; margin-top: 28px; align-items: center; }
.notes-pag button.dot { width: 36px; height: 24px; position: relative; }
.notes-pag button.dot::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.notes-pag button.dot[aria-current="true"]::after { background: var(--champagne); }

/* ---- Stay / booking ---------------------------------------------------- */
.stay { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.stay-bg { position: absolute; inset: 0; }
.stay-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.38) saturate(1.05); }
.stay-inner { position: relative; z-index: 2; padding: 120px var(--gutter); display: grid; justify-items: center; gap: 22px; }
.stay-inner img.emb { width: 72px; }
.stay h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 10vw, 180px); overflow-wrap: anywhere; line-height: .9; margin: 0; text-transform: uppercase; letter-spacing: -.01em; }
.stay p { color: var(--muted); max-width: 52ch; margin: 0; }

.drawer-back { position: fixed; inset: 0; z-index: 960; background: rgba(5,10,18,.6); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.drawer-back.open { opacity: 1; visibility: visible; transition: opacity .4s; }
.drawer { position: fixed; z-index: 970; right: 0; top: 0; bottom: 0; width: min(460px, 100vw); background: var(--paper); color: var(--ink); color-scheme: light; padding: 28px clamp(20px, 4vw, 36px); transform: translateX(100%); transition: transform .6s var(--ease); overflow-y: auto; display: flex; flex-direction: column; gap: 18px; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer h2 { font-family: var(--font-display); font-weight: 400; font-size: 40px; margin: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-close { width: 44px; height: 44px; border: 1px solid var(--line-ink); border-radius: 50%; display: grid; place-items: center; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.field input, .field select { font: inherit; padding: 12px 14px; border: 1px solid var(--line-ink); background: #fff; color: var(--ink); border-radius: 2px; min-height: 46px; width: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drawer .err { color: #a23a2a; font-size: 14px; min-height: 1.4em; margin: 0; }
.drawer .note { color: rgba(25,42,57,.75); }
.drawer .btn-gold { justify-content: center; }

/* ---- Footer ------------------------------------------------------------ */
.footer { position: relative; background: var(--navy); padding: clamp(60px, 8vw, 120px) 0 28px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 190px; }
.footer h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); font-weight: 400; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; opacity: .82; } .footer a:hover { opacity: 1; color: var(--champagne); }
.footer address { font-style: normal; color: var(--muted); }
.footer-line { font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 2.6vw, 38px); margin: 22px 0 0; max-width: 20ch; }
.giant { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 500; font-size: clamp(64px, 17.4vw, 330px); line-height: .78; margin-top: clamp(40px, 6vw, 90px); color: rgba(238,231,220,.92); overflow: hidden; padding-bottom: .04em; }
.giant img { width: 100%; height: auto; display: block; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 390px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Sub pages --------------------------------------------------------- */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 60px) 0 clamp(40px, 6vw, 80px); }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 8vw, 140px); line-height: .92; margin: 18px 0 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.card { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.paper .card { border-color: var(--line-ink); }
.card h2, .card h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 0; }
.card .area { font-family: var(--font-display); font-size: 26px; }
.card .area small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; display: block; }
.card .btn { align-self: flex-start; margin-top: auto; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-grid figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.paper .photo-grid figcaption { color: rgba(25,42,57,.7); }
.verify-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.verify-table th, .verify-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line-ink); vertical-align: top; }
.verify-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.status.ok { background: #d8ecdf; color: #1d5a35; } .status.wait { background: #f4e3c8; color: #7a4f12; }
.faq details { border-bottom: 1px solid var(--line-ink); padding: 18px 0; }
.faq summary { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: #8a6a3c; font-family: var(--font-mono); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: rgba(25,42,57,.78); max-width: 70ch; }
.contact-list { display: grid; gap: 22px; }
.contact-list dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }
.contact-list dd { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); }
.contact-list dd a { text-decoration: none; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 40px; margin: 48px 0 12px; }
.legal p { max-width: 72ch; color: rgba(25,42,57,.8); }

/* reveal helper */
[data-reveal] { opacity: 0; transform: translateY(40px); }
.rm [data-reveal], .no-js [data-reveal] { opacity: 1; transform: none; }

.rm .grain, .rm .ring svg { animation: none; }
.rm .menu, .rm .menu li a, .rm .drawer { transition: none; }

/* ==== V2 — promise band, rich rooms, booking options, closing word ==== */
.promise { position: relative; background: var(--night); padding-block: clamp(90px, 12vw, 170px); overflow: hidden; }
.promise::before { content: ''; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(60% 60% at 50% 100%, rgba(203,170,120,.16), transparent 70%); pointer-events: none; }
.promise-head { margin-bottom: clamp(48px, 6vw, 88px); }
.promise-head h2 { margin-top: 18px; max-width: 16ch; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-bottom: 48px; }
.promise-item { padding: 34px 24px 34px 0; border-right: 1px solid var(--line); display: grid; gap: 10px; }
.promise-item + .promise-item { padding-left: 24px; }
.promise-item:last-child { border-right: 0; }
.pi-n { font-family: var(--font-display); font-size: clamp(56px, 7vw, 120px); line-height: .9; color: var(--sand); letter-spacing: -.02em; }
.pi-n b { font-weight: 400; color: var(--champagne); font-variant-numeric: tabular-nums; }
.pi-l { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .promise-item { padding: 26px 14px 26px 0; border-bottom: 1px solid var(--line); }
  .promise-item:nth-child(2n) { border-right: 0; padding-left: 14px; }
  .promise-item:nth-child(2n+1) { padding-left: 0; }
}

.room-media { display: grid; gap: 12px; min-width: 0; position: relative; z-index: 1; }
.room-panel.has-img .room-photo { height: min(60vh, 600px); }
.room-photo { box-shadow: 0 40px 80px -40px rgba(8,18,31,.55); }
.room-photo img { transition: transform 1.4s var(--ease); }
.room-photo:hover img { transform: scale(1.05); }
.room-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,240,210,.22) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.room-photo:hover .room-shine { transform: translateX(120%); transition: transform 1.3s var(--ease); }
.room-thumbs { display: flex; gap: 10px; }
.room-thumbs button { width: 92px; height: 64px; overflow: hidden; border: 1px solid transparent; opacity: .6; transition: opacity .3s, border-color .3s; }
.room-thumbs button[aria-pressed="true"], .room-thumbs button:hover { opacity: 1; border-color: #8a6a3c; }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-feats { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.room-feats li { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-ink); border-radius: 999px; color: var(--ink); }
.card .room-feats li { font-size: 10.5px; }
@media (max-width: 900px) {
  .room-panel.has-img .room-photo { height: auto; aspect-ratio: 4/3; }
  .room-media { margin: 0 calc(-1 * var(--gutter)) 24px; }
  .room-media .room-photo { margin: 0; }
  .room-thumbs { padding-inline: var(--gutter); }
}

.btn-xl { padding: 20px 38px; font-size: 13px; }
.drawer-lead { margin: 0; color: rgba(25,42,57,.75); }
.book-opts { display: grid; gap: 10px; }
.book-opt { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line-ink); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.book-opt:hover, .book-opt:focus-visible { border-color: #8a6a3c; transform: translateX(-4px); box-shadow: 0 18px 40px -24px rgba(8,18,31,.4); }
.book-opt:first-child { background: var(--night); color: var(--sand); border-color: var(--night); }
.book-opt:first-child .bo-ico { color: var(--champagne); border-color: rgba(203,170,120,.4); }
.bo-ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center; color: #8a6a3c; }
.bo-ico svg { width: 22px; height: 22px; }
.bo-txt { display: grid; gap: 2px; }
.bo-txt b { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.1; }
.bo-txt small { font-size: 13px; opacity: .72; }
.drawer-emb { width: 150px; margin-top: auto; opacity: .9; }

.closing-word { display: flex; justify-content: center; font-family: var(--font-display); font-size: clamp(54px, 13vw, 220px); line-height: .85; color: rgba(238,231,220,.12); letter-spacing: .04em; margin-top: 18px; pointer-events: none; user-select: none; }
.closing-word span { display: inline-block; overflow: hidden; }
.closing-word i { display: inline-block; font-style: normal; }
.stay .btn-row .btn-line { color: var(--sand); }
.promise-head h2 { max-width: 22ch; }
.drawer h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.05; }

/* ==== V2.1 — room video previews ==== */
.room-photo { position: relative; }
.room-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.6s var(--ease); pointer-events: none; }
.room-photo.playing .room-vid { opacity: 1; transform: scale(1); }
.room-vid-tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 10px; color: #fff; background: rgba(8,18,31,.55); padding: 6px 10px; border-radius: 999px; opacity: 0; transition: opacity .4s; backdrop-filter: blur(6px); }
.room-photo.playing .room-vid-tag { opacity: 1; }
.room-play { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #fff; background: rgba(8,18,31,.6); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(6px); transition: opacity .4s; }
.room-play i { width: 0; height: 0; border-left: 7px solid var(--champagne); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.room-photo.playing .room-play { opacity: 0; }
.card-photo { margin: -28px -28px 8px; aspect-ratio: 4/3; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==== V2.1 — mobile: full-bleed, cinematic imagery ==== */
@media (max-width: 900px) {
  .scene-frame { inset: 0; left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none; }
  .frame-inner img, .frame-inner video { object-fit: cover; }
  .frame-tag { top: calc(var(--nav-h) + 12px); }
  .hero-shade { background: linear-gradient(0deg, rgba(8,18,31,.96) 0%, rgba(8,18,31,.78) 30%, rgba(8,18,31,.2) 55%, rgba(8,18,31,0) 70%), linear-gradient(180deg, rgba(8,18,31,.55) 0%, rgba(8,18,31,0) 18%); }
  .arrival-grid { padding: 0; }
  .arrival-video { height: 100svh; width: 100vw; aspect-ratio: auto; }
  .dining-pin { margin-inline: calc(-1 * var(--gutter)); height: 80svh; }
  .dining-photos { height: 80svh; }
  .dining-layer figure { max-width: none; margin-inline: calc(-1 * var(--gutter)); }
  .amen-view { margin-inline: calc(-1 * var(--gutter)); }
  .amen-media { aspect-ratio: 4/5; }
  .amen-cap { padding-inline: var(--gutter); }
  .daynight-split { margin-inline: calc(-1 * var(--gutter)); gap: 6px; }
  .daynight-split figure { aspect-ratio: 4/5; }
  .loc-photo { margin-inline: calc(-1 * var(--gutter)); }
  .masonry { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-inline: calc(-1 * var(--gutter)); }
  .masonry figure { margin: 0; aspect-ratio: 4/5; }
  .masonry figure:nth-of-type(3n+1) { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .masonry button, .masonry img { height: 100%; }
  .masonry img { object-fit: cover; }
  .masonry figcaption { opacity: 1; }
  .page-hero .bg img { object-fit: cover; }
}
@media (max-width: 900px) { .card-photo { aspect-ratio: 4/5; } .room-panel.has-img .room-photo { aspect-ratio: 4/5; } }

/* ==== V2.1 — Cookzania editorial rows (each text beside its own photo) ==== */
.dine-rows { display: grid; gap: clamp(90px, 12vw, 180px); padding-block: clamp(60px, 8vw, 120px) clamp(90px, 12vw, 160px); }
.dine-row { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); }
.dine-main { grid-column: 1 / 8; grid-row: 1; margin: 0; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 50px 100px -50px rgba(8,18,31,.5); }
.dine-row:first-child .dine-main { aspect-ratio: 4/5; grid-column: 2 / 7; }
.dine-main img { width: 100%; height: 100%; object-fit: cover; }
.dine-sub { grid-column: 6 / 9; grid-row: 1; align-self: end; margin: 0 0 -60px; aspect-ratio: 3/4; overflow: hidden; z-index: 2; border: 8px solid var(--sand); box-shadow: 0 30px 60px -30px rgba(8,18,31,.5); }
.dine-row:first-child .dine-sub { grid-column: 6 / 9; }
.dine-sub img, .dine-sub video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dine-text { grid-column: 9 / 13; grid-row: 1; }
.dine-text .n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: #8a6a3c; }
.dine-text h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 7vw, 120px); margin: 8px 0 12px; line-height: 1; }
.dine-row:nth-child(2) .dine-main { grid-column: 6 / 13; }
.dine-row:nth-child(2) .dine-sub { grid-column: 4 / 7; }
.dine-row:nth-child(2) .dine-text { grid-column: 1 / 5; }
@media (max-width: 900px) {
  .dine-rows { gap: 96px; }
  .dine-row { display: block; }
  .dine-main, .dine-row:first-child .dine-main { margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 4/5; }
  .dine-sub, .dine-row:first-child .dine-sub { position: absolute; right: 0; top: calc(100vw * 1.25 - 110px); width: 42%; margin: 0; border-width: 6px; }
  .dine-text { padding-top: 140px; }
  .dine-text h3 { font-size: 56px; }
}

/* ==== V2.2 — mobile: same pinned horizontal rooms ride as desktop ==== */
@media (max-width: 900px) {
  .js:not(.rm) .rooms-track { flex-direction: row; height: 100svh; width: max-content; }
  .js:not(.rm) .rooms-intro { width: 88vw; height: 100%; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; border-top: 0; }
  .js:not(.rm) .room-panel, .js:not(.rm) .room-panel.has-img, .js:not(.rm) .room-panel.strip {
    width: 100vw; height: 100%; padding: calc(var(--nav-h) + 8px) var(--gutter) calc(20px + env(safe-area-inset-bottom));
    border-top: 0; border-left: 1px solid var(--line-ink); display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow: hidden; }
  .js:not(.rm) .room-text { min-width: 0; }
  .js:not(.rm) .room-panel.has-img .room-media { margin: 0 calc(-1 * var(--gutter)) 14px; gap: 8px; }
  .js:not(.rm) .room-panel.has-img .room-photo { aspect-ratio: auto; height: 38svh; }
  .js:not(.rm) .room-thumbs button { width: 64px; height: 44px; }
  .js:not(.rm) .room-idx { top: calc(var(--nav-h) + 4px); font-size: 96px; z-index: 2; color: rgba(255,255,255,.28); }
  .js:not(.rm) .room-panel h3 { font-size: clamp(28px, 8vw, 36px); margin: 6px 0 8px; }
  .js:not(.rm) .room-panel .lead { font-size: 14px; line-height: 1.45; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .js:not(.rm) .room-feats { flex-wrap: nowrap; overflow: hidden; gap: 6px; }
  .js:not(.rm) .room-feats li { padding: 6px 9px; font-size: 9.5px; white-space: nowrap; }
  .js:not(.rm) .room-meta { margin: 10px 0 14px; gap: 6px 20px; }
  .js:not(.rm) .room-meta div { min-width: 110px; padding-top: 6px; }
  .js:not(.rm) .room-meta dd { font-size: 22px !important; }
  .js:not(.rm) .room-panel .btn-row .btn { padding: 13px 18px; }
  .js:not(.rm) .room-panel.strip { justify-content: center; }
  .js:not(.rm) .strip-imgs { grid-template-columns: 1fr 1fr; height: 56svh; gap: 8px; }
  .js:not(.rm) .strip-imgs figure { aspect-ratio: auto; }
  .js:not(.rm) .strip-imgs img { transform: scale(1.15); }
  /* touch stand-ins for desktop hover effects (toggled by JS when in view) */
  .room-photo.in-view img { transform: scale(1.05); }
  .room-photo.in-view .room-shine { transform: translateX(120%); transition: transform 1.3s var(--ease); }
  .masonry figure.in-view img { transform: scale(1.05); }
}
@media (max-width: 900px) {
  .js:not(.rm) .room-panel, .js:not(.rm) .room-panel.has-img { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .js:not(.rm) .room-panel.has-img .room-photo { height: 34svh; }
  .js:not(.rm) .room-panel .room-meta { display: none; }
  .js:not(.rm) .room-panel .room-feats { margin-bottom: 14px; }
  .js:not(.rm) .room-panel .btn-row { flex-wrap: nowrap; gap: 8px; }
  .js:not(.rm) .room-panel .btn-row .btn { padding: 12px 14px; font-size: 10.5px; white-space: nowrap; }
}
@media (max-width: 900px) {
  .js:not(.rm) .room-panel.has-img { gap: 0; }
  .js:not(.rm) .room-panel .room-text > .kicker { margin: 4px 0 6px; }
}
@media (max-width: 900px) {
  /* photo takes whatever height the text leaves, so buttons always fit on any phone */
  .js:not(.rm) .room-panel.has-img .room-media { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
  .js:not(.rm) .room-panel.has-img .room-photo { flex: 1 1 0; height: auto; min-height: 120px; }
  .js:not(.rm) .room-panel.has-img .room-thumbs { flex: 0 0 auto; }
  .js:not(.rm) .room-panel.has-img .room-text { flex: 0 0 auto; }
  .js:not(.rm) .room-panel, .js:not(.rm) .room-panel.has-img { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 900px) and (max-height: 700px) {
  .js:not(.rm) .room-panel.has-img .room-thumbs { display: none; }
  .js:not(.rm) .room-panel .lead { -webkit-line-clamp: 2; }
}

/* ==== V2.3 — mobile smoothness ==== */
@media (max-width: 900px) {
  /* fully covered by the full-bleed frame on phones: skip its 22px blur repaint */
  .js:not(.rm) .scene-bg { display: none; }
  .frame-inner img, .frame-inner video, .room-photo, .dine-main, .dine-sub { backface-visibility: hidden; }
}
