/* Sahab Lodge · above the cloud line, Gudauri */
:root {
  --night: #10171C;
  --slate: #18232A;
  --slate-2: #22313A;
  --snow: #EEF1F0;
  --paper: #F6F7F5;
  --ink: #141B20;
  --mist: #C9D3D6;
  --stone: #8B969C;
  --ember: #E2733A;
  --ember-2: #F08A50;
  --text-2: rgba(238, 241, 240, .72);
  --ink-2: rgba(20, 27, 32, .64);
  --line: rgba(238, 241, 240, .16);
  --line-ink: rgba(20, 27, 32, .14);
  --display: 'Instrument Serif', 'Cormorant Garamond', serif;
  --body: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gut: clamp(18px, 4vw, 64px);
  --top-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-2: cubic-bezier(.76, 0, .24, 1);
  --tshadow: 0 1px 2px rgba(6, 10, 13, .9), 0 4px 14px rgba(6, 10, 13, .6), 0 12px 44px rgba(6, 10, 13, .6);
  --chip-h: 36px; --chip-fs: 12px;
  --btn-h: 50px; --btn-fs: 14px;
}
html[lang="ar"] { --display: 'Markazi Text', 'Instrument Serif', serif; --body: 'IBM Plex Sans Arabic', 'Inter Tight', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; background: var(--night); color: var(--snow); font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="en"] .ar, html[lang="ar"] .en { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 500; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--snow); }
main:focus { outline: none; }

.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 300; background: var(--snow); color: var(--ink); padding: 8px 14px; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- intro: the mark draws itself, then the curtain lifts ---------- */
.loader { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; pointer-events: none; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--night); transition: transform 1.2s var(--ease-2); }
.loader__panel--t { top: 0; }
.loader__panel--b { bottom: 0; }
.loader__mark { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.loader__mark svg { width: 92px; height: 92px; }
.loader__mark path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.5s var(--ease) forwards; }
.loader__mark path:nth-child(2) { animation-delay: .35s; }
.loader__mark path:nth-child(3) { animation-delay: .55s; }
.loader__mark path:nth-child(4) { animation-delay: .7s; }
.loader__mark circle { opacity: 0; transform-origin: 33.5px 32.6px; animation: ember .8s var(--ease) 1.1s forwards; }
.loader__word { overflow: hidden; font-family: var(--mono); font-size: 12px; letter-spacing: .5em; margin-inline-start: .5em; }
html[lang="ar"] .loader__word { font-family: var(--body); letter-spacing: 0; margin: 0; font-size: 15px; }
.loader__word span { display: block; transform: translateY(110%); animation: rise .9s var(--ease) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ember { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes rise { to { transform: none; } }
html.loaded .loader__panel--t { transform: translateY(-101%); }
html.loaded .loader__panel--b { transform: translateY(101%); }
html.loaded .loader__mark { opacity: 0; transform: translateY(-30px); }
html.loaded .loader { visibility: hidden; transition: visibility 0s 1.3s; }

/* ---------- grain and cursor ---------- */
.grain { position: fixed; inset: -50%; z-index: 200; 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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' 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%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.cursor { position: fixed; left: 0; top: 0; z-index: 220; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; opacity: 0; transition: opacity .4s; }
.has-cursor .cursor.is-on { opacity: 1; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--snow); mix-blend-mode: difference; }
.cursor__ring { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(238, 241, 240, .5); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
.cursor__ring b { font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; white-space: nowrap; }
html[lang="ar"] .cursor__ring b { font-family: var(--body); letter-spacing: 0; font-size: 12px; }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--snow); border-color: var(--snow); }
.cursor.is-label .cursor__ring b { opacity: 1; }
.cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--ember); }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--top-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut); transition: background .5s var(--ease), color .5s, transform .6s var(--ease); }
.top.is-solid { background: rgba(16, 23, 28, .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.top.is-hidden { transform: translateY(-100%); }
.top__side { display: flex; gap: 6px; }
.top__side--end { justify-content: flex-end; }
.chip { position: relative; display: inline-flex; align-items: center; height: var(--chip-h); padding: 0 14px; border-radius: 3px; background: rgba(16, 23, 28, .35); border: 1px solid rgba(238, 241, 240, .24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; font-size: var(--chip-fs); font-weight: 500; letter-spacing: .06em; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.chip:hover { background: rgba(238, 241, 240, .14); border-color: rgba(238, 241, 240, .5); }
.chip--ember { background: var(--ember); border-color: var(--ember); color: #fff; }
.chip--ember:hover { background: var(--ember-2); border-color: var(--ember-2); }
html[lang="ar"] .chip { letter-spacing: 0; font-size: calc(var(--chip-fs) + 1px); }
.brand { display: grid; justify-items: center; gap: 2px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand__word { font-family: var(--mono); font-size: 11px; letter-spacing: .5em; margin-inline-start: .5em; line-height: 1.2; }
html[lang="ar"] .brand__word { font-family: 'Markazi Text', serif; font-size: 20px; letter-spacing: 0; margin: 0; font-weight: 600; }

/* altimeter: the page is a descent */
.alt { position: fixed; z-index: 90; top: 50%; inset-inline-end: 20px; display: grid; justify-items: center; gap: 8px; transform: translateY(-50%); pointer-events: none; transition: opacity .5s; }
.alt.is-off { opacity: 0; }
.alt__k { font-family: var(--mono); font-size: 9px; letter-spacing: .3em; writing-mode: vertical-rl; color: var(--text-2); }
.alt__scale { position: relative; width: 14px; height: 150px; background: repeating-linear-gradient(transparent 0 9px, rgba(238, 241, 240, .4) 9px 10px); }
.alt__needle { position: absolute; left: -6px; right: -6px; top: var(--a, 0%); height: 2px; background: var(--ember); transition: top .2s linear; }
.alt b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--snow); font-variant-numeric: tabular-nums; }

/* ---------- shared type ---------- */
.kicker { margin: 0 0 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ember); }
html[lang="ar"] .kicker { font-family: var(--body); letter-spacing: 0; font-size: 14px; font-weight: 500; }
.display { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(46px, 7vw, 124px); line-height: .94; letter-spacing: -.02em; }
.display em { font-style: italic; }
html[lang="ar"] .display { line-height: 1.15; letter-spacing: 0; font-weight: 600; font-size: clamp(42px, 6.2vw, 108px); }
html[lang="ar"] .display em { font-style: normal; color: var(--ember); }
.lede { max-width: 32em; margin: 26px 0 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.light .lede { color: var(--ink-2); }
.note { margin: 14px 0 0; font-size: 12px; color: var(--text-2); }
.light .note { color: var(--ink-2); }
html[lang="ar"] .note { font-size: 13px; }
/* lines rise out of masks */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
html[lang="ar"] .ln { padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.ln > span { display: block; transform: translateY(108%); transition: transform 1.3s var(--ease); }
.in .ln > span, .ln.in > span { transform: none; }
.in .ln:nth-child(2) > span { transition-delay: .09s; }
.in .ln:nth-child(3) > span { transition-delay: .18s; }
.in .ln:nth-child(4) > span { transition-delay: .27s; }
.fade { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease) .2s, transform 1.1s var(--ease) .2s; }
.in .fade, .fade.in { opacity: 1; transform: none; }
/* photos wipe open */
.wipe { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.wipe img, .wipe video { transform: scale(1.18); transition: transform 2.2s var(--ease); }
.wipe.in { clip-path: inset(0 0 0 0); }
.wipe.in img, .wipe.in video { transform: scale(1); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--btn-h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: var(--btn-fs); font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .35s var(--ease), color .35s, border-color .35s; will-change: transform; text-shadow: none; }
.btn::after { content: ''; position: absolute; inset: -4px 0; }
.btn i { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
html[dir="rtl"] .btn i { transform: scaleX(-1); }
.btn:hover i { width: 28px; }
.btn--ember { background: var(--ember); color: #fff; }
.btn--ember:hover { background: var(--ember-2); }
.btn--ghost { border-color: rgba(238, 241, 240, .5); color: var(--snow); background: rgba(16, 23, 28, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.btn--ink { background: var(--ink); color: var(--snow); }
.btn--ink:hover { background: var(--ember); }

/* ---------- hero: the scrubbed film ---------- */
.hero { position: relative; height: 430vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0c1216; }
.poster, .film { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster { background: center / cover no-repeat; transform: scale(1.02); }
.film { object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); transform: translateZ(0); }
.stage.video-ready .film { opacity: 1; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 130% 90% at 50% 40%, rgba(8, 12, 15, 0) 45%, rgba(8, 12, 15, .55) 100%), linear-gradient(rgba(8, 12, 15, .35), rgba(8, 12, 15, 0) 30%); }
.ring { position: absolute; z-index: 3; left: 50%; bottom: 30px; width: 36px; height: 36px; margin-left: -18px; color: var(--snow); transform: rotate(-90deg); transition: opacity .5s; }
.stage.video-ready .ring, .stage.video-failed .ring { opacity: 0; }
.band { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); text-align: center; text-shadow: var(--tshadow); opacity: 0; }
.band::before { content: ''; position: absolute; inset: -20% 0; z-index: -1; pointer-events: none; opacity: calc(.3 + .7 * var(--k, 1)); background: radial-gradient(ellipse 54% 60% at 50% 50%, rgba(6, 10, 13, .5) 0%, rgba(6, 10, 13, .3) 48%, rgba(6, 10, 13, 0) 76%); }
.band--1 { top: 50%; transform: translateY(-50%); opacity: 1; }
.band--2 { top: 50%; transform: translateY(-50%); }
.band--3 { bottom: 12vh; }
.band .kick { margin: 0 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
html[lang="ar"] .band .kick { font-family: var(--body); letter-spacing: 0; font-size: 14px; }
.hero__title { margin: 0 auto; max-width: 14ch; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 9.4vw, 170px); line-height: .9; letter-spacing: -.025em; }
.hero__title em { font-style: italic; }
html[lang="ar"] .hero__title { max-width: 12ch; line-height: 1.12; letter-spacing: 0; font-weight: 600; }
html[lang="ar"] .hero__title em { font-style: normal; }
.band .ln > span { transform: translateY(calc((1 - var(--k, 1)) * 108%)); transition: none; }
.band--1 .ln > span { transform: translateY(calc((1 - var(--k, 1)) * 108%)); }
.hero__big { margin: 0 auto; max-width: 16ch; font-family: var(--display); font-size: clamp(44px, 6.6vw, 118px); line-height: .96; letter-spacing: -.02em; }
html[lang="ar"] .hero__big { line-height: 1.2; letter-spacing: 0; font-weight: 600; }
.hero__settle { margin: 0 auto; max-width: 22ch; font-family: var(--display); font-size: clamp(30px, 3.6vw, 60px); line-height: 1.05; }
html[lang="ar"] .hero__settle { line-height: 1.35; font-weight: 600; }
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; opacity: var(--kb, 1); transform: translateY(calc((1 - var(--kb, 1)) * 16px)); }
.cue { position: absolute; z-index: 2; left: 50%; bottom: 26px; margin: 0; display: grid; justify-items: center; gap: 10px; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; letter-spacing: .3em; opacity: 0; transition: opacity .6s; }
.stage.video-ready .cue, .stage.video-failed .cue { opacity: .85; }
.cue i { width: 1px; height: 38px; background: linear-gradient(var(--snow), transparent); transform-origin: top; animation: cue 2.4s var(--ease-2) infinite; animation-delay: -.8s; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* the static hero: phones, upright tablets and reduced motion */
@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px), (orientation: portrait) and (pointer: coarse), (orientation: landscape) and (pointer: coarse) and (max-height: 560px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero .stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
  .band { opacity: 1; }
  .band--1 { top: auto; bottom: 44%; transform: none; }
  .band--2 { display: none; }
  .band--3 { bottom: 7vh; }
  .band--3 .hero__settle { font-size: clamp(22px, 6vw, 30px); max-width: 18ch; }
  .hero__title { font-size: clamp(50px, 14.5vw, 76px); }
  .cue, .ring { display: none; }
  .scrim { background: linear-gradient(rgba(8, 12, 15, .45), rgba(8, 12, 15, 0) 30%, rgba(8, 12, 15, 0) 50%, rgba(8, 12, 15, .7)); }
}

/* ---------- the lodge (light editorial) ---------- */
.light { background: var(--snow); color: var(--ink); }
.light .kicker { color: #B4552A; }
.intro { position: relative; z-index: 1; padding: 170px 0 150px; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 7vw; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); align-items: end; }
.statement { margin: 0; font-family: var(--display); font-size: clamp(34px, 4.4vw, 76px); line-height: 1.04; letter-spacing: -.015em; }
html[lang="ar"] .statement { line-height: 1.38; letter-spacing: 0; font-weight: 500; }
.statement em { font-style: italic; color: #B4552A; }
html[lang="ar"] .statement em { font-style: normal; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 1360px; margin: 90px auto 0; padding: 0 var(--gut); }
.fact { padding: 22px 20px 0 0; border-top: 1px solid var(--ink); }
html[dir="rtl"] .fact { padding: 22px 0 0 20px; }
.fact b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 84px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .fact span { font-family: var(--body); letter-spacing: 0; font-size: 14px; }
.intro__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 2px; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.intro__photo figcaption, .cap { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--snow); text-shadow: var(--tshadow); text-transform: uppercase; }
html[dir="rtl"] .intro__photo figcaption, html[dir="rtl"] .cap { left: auto; right: 14px; }
html[lang="ar"] .intro__photo figcaption, html[lang="ar"] .cap { font-family: var(--body); letter-spacing: 0; font-size: 12px; }

/* ---------- nightfall: the lodge lights up as you scroll ---------- */
.night { position: relative; height: 340vh; }
.night .stage { background: #0a1014; }
.night__copy { position: absolute; z-index: 2; left: var(--gut); bottom: 10vh; max-width: min(560px, 80vw); text-shadow: var(--tshadow); }
html[dir="rtl"] .night__copy { left: auto; right: var(--gut); }
.night__clock { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--mist); }
.night__clock b { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 8vw, 128px); letter-spacing: -.03em; line-height: .9; color: var(--snow); font-variant-numeric: tabular-nums; }
.night__line { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 54px); line-height: 1.06; }
html[lang="ar"] .night__line { line-height: 1.4; font-weight: 600; }
.night__line em { font-style: italic; color: #FFC08F; }
html[lang="ar"] .night__line em { font-style: normal; }
.night__sub { margin: 14px 0 0; color: var(--text-2); max-width: 30em; }
.windows { position: absolute; z-index: 2; top: calc(var(--top-h) + 26px); inset-inline-end: var(--gut); display: grid; grid-template-columns: repeat(7, 12px); gap: 6px; }
.windows i { width: 12px; height: 16px; border: 1px solid rgba(238, 241, 240, .4); transition: background .4s, box-shadow .4s, border-color .4s; }
.windows i.on { background: #FFC08F; border-color: #FFC08F; box-shadow: 0 0 12px rgba(255, 170, 110, .7); }
.windows small { grid-column: 1 / -1; justify-self: end; white-space: nowrap; margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--text-2); }
html[lang="ar"] .windows small { font-family: var(--body); letter-spacing: 0; font-size: 12px; }
@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px), (orientation: portrait) and (pointer: coarse), (orientation: landscape) and (pointer: coarse) and (max-height: 560px), (prefers-reduced-motion: reduce) {
  .night { height: auto; }
  .night .stage { position: relative; height: 92vh; height: 92svh; min-height: 520px; }
}

/* ---------- rooms: a pinned horizontal gallery ---------- */
.rooms { position: relative; height: 420vh; background: var(--snow); color: var(--ink); }
.rooms__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.rooms__track { display: flex; align-items: stretch; gap: 3vw; padding: 0 var(--gut); height: 74vh; will-change: transform; }
.rooms__intro { flex: 0 0 min(36vw, 520px); display: flex; flex-direction: column; justify-content: center; }
.rooms__intro .display { font-size: clamp(46px, 6vw, 104px); }
.rcard { position: relative; flex: 0 0 min(52vw, 780px); display: grid; grid-template-rows: 1fr auto; gap: 18px; text-decoration: none; }
.rcard__media { position: relative; overflow: hidden; border-radius: 2px; }
.rcard__media img, .rcard__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.rcard:hover .rcard__media img, .rcard:hover .rcard__media video { transform: scale(1.04); }
.rcard__n { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--snow); text-shadow: var(--tshadow); }
html[dir="rtl"] .rcard__n { left: auto; right: 16px; }
.rcard__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: baseline; }
.rcard h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.8vw, 46px); line-height: 1; }
html[lang="ar"] .rcard h3 { font-weight: 600; line-height: 1.3; }
.rcard__rate { font-family: var(--mono); font-size: 13px; text-align: end; white-space: nowrap; }
.rcard__rate small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .rcard__rate small { font-family: var(--body); letter-spacing: 0; font-size: 12px; }
.rcard p { grid-column: 1 / -1; margin: 0; max-width: 34em; color: var(--ink-2); }
.rooms__end { flex: 0 0 min(30vw, 420px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.rooms__end p { margin: 0; font-family: var(--display); font-size: clamp(28px, 2.6vw, 42px); line-height: 1.1; }
html[lang="ar"] .rooms__end p { line-height: 1.4; font-weight: 500; }
.rooms__bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 5vh; height: 1px; background: var(--line-ink); }
.rooms__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); }
html[dir="rtl"] .rooms__bar i { transform-origin: 100% 50%; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--night); }
.marquee__track { display: flex; width: max-content; animation: mq 46s linear infinite; }
html[dir="rtl"] .marquee__track { animation-name: mq-rtl; }
.marquee span { display: inline-flex; align-items: center; gap: 4vw; padding-inline-end: 4vw; font-family: var(--display); font-size: clamp(44px, 6vw, 100px); line-height: 1; white-space: nowrap; }
.marquee span:nth-child(even) { font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(238, 241, 240, .7); }
html[lang="ar"] .marquee span { font-weight: 600; }
.marquee span::after { content: ''; width: .22em; height: .22em; border-radius: 50%; background: var(--ember); }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes mq-rtl { to { transform: translateX(50%); } }

/* ---------- seasons ---------- */
.seasons { position: relative; min-height: 100vh; overflow: hidden; }
.seasons__bg { position: absolute; inset: 0; z-index: 0; }
.sbg { position: absolute; inset: 0; opacity: 0; }
.sbg.on { opacity: 1; z-index: 1; }
.sbg video { width: 100%; height: 100%; object-fit: cover; }
.slats { position: absolute; inset: 0; z-index: 2; display: flex; pointer-events: none; }
.slat { position: relative; flex: 1; overflow: hidden; transform: translateY(101%); animation: slat .9s var(--ease-2) forwards; }
.slat:nth-child(even) { transform: translateY(-101%); }
.slat img { position: absolute; top: 0; height: 100%; width: var(--W); max-width: none; left: calc(var(--i) * var(--W) / var(--n) * -1); object-fit: cover; }
html[dir="rtl"] .slat img { left: auto; right: calc(var(--i) * var(--W) / var(--n) * -1); }
@keyframes slat { to { transform: none; } }
.seasons__bg::after { content: ''; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(10, 15, 18, .78), rgba(10, 15, 18, .2) 60%), linear-gradient(transparent 60%, rgba(10, 15, 18, .6)); }
html[dir="rtl"] .seasons__bg::after { background: linear-gradient(270deg, rgba(10, 15, 18, .78), rgba(10, 15, 18, .2) 60%), linear-gradient(transparent 60%, rgba(10, 15, 18, .6)); }
.seasons__in { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; padding: 150px var(--gut) 110px; text-shadow: var(--tshadow); }
.toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 36px; border-radius: 999px; background: rgba(16, 23, 28, .45); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-shadow: none; }
.toggle button { position: relative; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .35s, color .35s; }
.toggle button::after { content: ''; position: absolute; inset: -3px 0; }
.toggle button[aria-selected="true"] { background: var(--snow); color: var(--ink); }
.seasons h2 { max-width: 12ch; }
.acts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 70px 0 0; padding: 0; }
.act { position: relative; border-top: 1px solid rgba(238, 241, 240, .5); padding-top: 16px; }
.act__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; margin-bottom: 14px; }
.act__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.act:hover .act__img img { transform: scale(1.06); }
.act h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; }
html[lang="ar"] .act h3 { font-weight: 600; line-height: 1.35; }
.act p { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.acts.swap .act { animation: actin .9s var(--ease) both; }
.acts.swap .act:nth-child(2) { animation-delay: .07s; } .acts.swap .act:nth-child(3) { animation-delay: .14s; } .acts.swap .act:nth-child(4) { animation-delay: .21s; }
@keyframes actin { from { opacity: 0; transform: translateY(24px); } }

/* ---------- supper: a fire that never goes out ---------- */
.supper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; background: var(--night); }
.supper__media { position: relative; overflow: hidden; }
.supper__media video, .supper__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.supper__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, var(--night)); }
html[dir="rtl"] .supper__media::after { background: linear-gradient(270deg, transparent 70%, var(--night)); }
.supper__media .cap { z-index: 1; }
.supper__body { padding: 150px var(--gut) 120px; }
.menu { list-style: none; margin: 56px 0 0; padding: 0; }
.dish { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.dish:last-child { border-bottom: 1px solid var(--line); }
.dish b { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--ember); padding-top: 9px; }
.dish h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.08; transition: transform .6s var(--ease), color .4s; }
html[lang="ar"] .dish h3 { font-weight: 600; line-height: 1.35; }
.dish p { margin: 6px 0 0; font-size: 15px; color: var(--text-2); }
.dish:hover h3 { transform: translateX(10px); color: #FFC08F; }
html[dir="rtl"] .dish:hover h3 { transform: translateX(-10px); }
.peek { position: fixed; left: 0; top: 0; z-index: 150; width: 240px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg); transition: opacity .35s var(--ease), transform .5s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- trails: the real mountain from above ---------- */
.trails { padding: 150px 0 140px; background: var(--slate); }
.trails__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 5vw; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); align-items: center; }
.map { position: relative; margin: 0; overflow: hidden; border-radius: 2px; aspect-ratio: 1280 / 1024; }
.map img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05) brightness(.92); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .route { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 2.6s var(--ease), opacity .4s, stroke-width .3s; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6)); }
.map.in .route { stroke-dashoffset: 0; }
.map.in .route.r2 { transition-delay: .5s; } .map.in .route.r3 { transition-delay: 1s; }
.map.dim .route { opacity: .25; }
.map.dim .route.hl { opacity: 1; stroke-width: 8; }
.map .lodge circle { fill: var(--ember); stroke: var(--snow); stroke-width: 4; }
.map .lodge text, .map .lbl { font-family: 'JetBrains Mono', monospace; font-size: 22px; fill: var(--snow); paint-order: stroke; stroke: rgba(10, 15, 18, .8); stroke-width: 6px; }
html[lang="ar"] .map .lodge text, html[lang="ar"] .map .lbl { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 26px; }
.map figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 10px; color: rgba(238, 241, 240, .7); }
.tlist { list-style: none; margin: 40px 0 0; padding: 0; }
.trail { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); cursor: default; transition: padding .4s var(--ease); }
.trail:hover, .trail:focus-visible { padding-inline-start: 10px; }
.trail i { width: 22px; height: 3px; margin-top: 16px; border-radius: 2px; }
.trail h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; }
html[lang="ar"] .trail h3 { font-weight: 600; line-height: 1.35; }
.trail p { margin: 4px 0 0; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
html[lang="ar"] .trail p { font-family: var(--body); font-size: 13px; }

/* ---------- booking ---------- */
.book { padding: 160px 0 140px; }
.book__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.book__media { position: relative; margin: 40px 0 0; aspect-ratio: 4 / 3; border-radius: 2px; }
.book__media video, .book__media img { width: 100%; height: 100%; object-fit: cover; }
.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .field > span { font-family: var(--body); letter-spacing: 0; font-size: 13px; }
.field input, .field select { width: 100%; height: 46px; background: transparent; border: 0; border-bottom: 1px solid rgba(20, 27, 32, .35); border-radius: 0; color: var(--ink); font: inherit; font-size: 17px; font-weight: 400; padding: 0; transition: border-color .3s; }
.field input:hover, .field select:hover { border-bottom-color: var(--ink); }
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141B20' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center; padding-inline-end: 22px; }
html[dir="rtl"] .field select { background-position: left 2px center; }
.field input:focus-visible, .field select:focus-visible { outline: none; border-bottom: 2px solid var(--ember); }
.estimate { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 24px 0 0; border-top: 1px solid var(--ink); }
.estimate small { display: block; max-width: 28em; font-size: 12px; color: var(--ink-2); }
.estimate b { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.form .btn { justify-self: start; }
.form__err { margin: 0; min-height: 1.3em; color: #A23E16; font-weight: 500; font-size: 14px; }
.form__ok:not(:empty) { margin: 0; padding: 16px 18px; border: 1px solid var(--ink); font-size: 15px; }

/* ---------- footer: the giant wordmark ---------- */
.foot { position: relative; overflow: hidden; padding: 110px var(--gut) 34px; background: var(--night); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; max-width: 1360px; margin: 0 auto; }
.foot h4 { margin: 0 0 10px; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); }
html[lang="ar"] .foot h4 { font-family: var(--body); letter-spacing: 0; font-size: 13px; }
.foot__cols p { margin: 0; font-size: 15px; color: var(--text-2); }
.foot__cols a { text-decoration: none; color: var(--snow); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.foot__cols a:hover { background-size: 100% 1px; }
.wordmark { overflow: hidden; padding-bottom: .04em; margin: 80px 0 0; text-align: center; font-family: var(--display); font-weight: 400; font-size: 25vw; line-height: .78; letter-spacing: -.04em; white-space: nowrap; color: var(--snow); }
html[lang="ar"] .wordmark { font-size: 30vw; line-height: 1; letter-spacing: 0; font-weight: 600; }
.wordmark span { display: inline-block; transform: translateY(var(--wy, 30%)); transition: transform 1.6s var(--ease); }
.foot__base { display: flex; justify-content: space-between; gap: 40px; max-width: 1360px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.foot__base p { margin: 0; max-width: 64em; }
.credit { white-space: nowrap; }
.credit a { color: var(--ember); text-decoration: none; border-bottom: 1px solid rgba(226, 115, 58, .4); }

body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }
@media (max-height: 560px) { .cue, .alt { display: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .top__side:not(.top__side--end) .chip { display: none; }
  .alt { display: none; }
  .intro__grid, .trails__grid, .book__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
  .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supper { grid-template-columns: minmax(0, 1fr); }
  .supper__media { height: 70vh; height: 70svh; }
  .supper__media::after { background: linear-gradient(transparent 60%, var(--night)); }
  .rooms { height: auto; padding: 120px 0 80px; }
  .rooms__pin { position: static; height: auto; display: block; }
  .rooms__track { height: auto; flex-direction: column; gap: 60px; transform: none !important; }
  .rooms__intro, .rcard, .rooms__end { flex: none; width: auto; }
  .rcard__media { aspect-ratio: 4 / 3; }
  .rooms__bar { display: none; }
  .peek { display: none; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone: its own scale, not a squeezed desktop ---------- */
@media (max-width: 720px) {
  :root { --top-h: 60px; --chip-h: 32px; --chip-fs: 11px; --btn-h: 42px; --btn-fs: 13.5px; }
  body { font-size: 15px; }
  .top { grid-template-columns: auto 1fr auto; padding: 0 16px; }
  .chip { padding: 0 11px; }
  .chip::after { content: ''; position: absolute; inset: -6px -2px; }
  .brand img { width: 30px; height: 30px; }
  .brand__word { display: none; }
  .btn { padding: 0 20px; gap: 10px; }
  .btn::after { inset: -2px 0; }
  .btn i { width: 14px; }
  .kicker { font-size: 10px; margin-bottom: 16px; }
  html[lang="ar"] .kicker { font-size: 13px; }
  .display { font-size: clamp(40px, 11.5vw, 54px); line-height: .98; }
  html[lang="ar"] .display { font-size: clamp(36px, 10.5vw, 50px); line-height: 1.22; }
  .lede { font-size: 16px; margin-top: 18px; }
  .hero__cta { gap: 8px; margin-top: 20px; }
  .intro { padding: 100px 0 90px; }
  .statement { font-size: clamp(27px, 7.6vw, 36px); line-height: 1.12; }
  html[lang="ar"] .statement { font-size: clamp(25px, 7vw, 32px); line-height: 1.5; }
  .facts { margin-top: 56px; }
  .fact b { font-size: 44px; }
  .night__copy { bottom: 6vh; max-width: none; right: var(--gut); }
  html[dir="rtl"] .night__copy { left: var(--gut); }
  .night__clock b { font-size: 56px; }
  .night__line { font-size: 26px; }
  .windows { grid-template-columns: repeat(7, 9px); gap: 4px; }
  .windows i { width: 9px; height: 12px; }
  .rooms { padding: 90px 0 60px; }
  .rooms__track { gap: 44px; }
  .rcard h3 { font-size: 30px; }
  .marquee { padding: 22px 0; }
  .marquee span { font-size: 44px; }
  .seasons__in { padding: 100px var(--gut) 80px; }
  .toggle { margin-bottom: 24px; }
  .toggle button { height: 34px; padding: 0 16px; font-size: 12.5px; }
  .acts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 12px; margin-top: 44px; }
  .act h3 { font-size: 20px; }
  .act p { font-size: 13px; }
  .supper__body { padding: 70px var(--gut) 80px; }
  .menu { margin-top: 36px; }
  .dish { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 18px 0; }
  .dish h3 { font-size: 24px; }
  .dish p { font-size: 14px; }
  .trails { padding: 90px 0; }
  .trail h3 { font-size: 24px; }
  .book { padding: 100px 0 90px; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .estimate b { font-size: 38px; }
  .foot { padding-top: 80px; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wordmark { margin-top: 56px; }
  .foot__base { flex-direction: column; gap: 12px; }
  .credit { white-space: normal; }
  .grain { opacity: .05; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { display: none; }
  .ln > span, .fade, .wipe, .wipe img, .wipe video { transform: none !important; opacity: 1 !important; clip-path: none !important; }
  .band .ln > span { transform: none !important; }
  .map .route { stroke-dashoffset: 0 !important; }
  .wordmark span { transform: none !important; }
}
html[lang="ar"] .night__clock span { font-family: var(--body); letter-spacing: 0; font-size: 13px; }
@media (max-width: 720px) { .map .lodge text, .map .lbl { font-size: 40px; stroke-width: 9px; } .map .lodge circle { r: 18; } }
