/* Jiss Studio · a shelter-magazine feature, in lime, linen and late light */
:root {
  --linen: #F1EBE3;
  --linen-2: #F7F2EA;
  --plaster: #E6DED3;
  --walnut: #5A3E2B;
  --walnut-2: #6E4D36;
  --sage: #A3AE96;
  --sage-ink: #6F7B62;
  --ink: #1F1B17;
  --ink-2: rgba(31, 27, 23, .66);
  --line: rgba(31, 27, 23, .14);
  --display: 'Gilda Display', 'Cormorant Garamond', serif;
  --body: 'Mulish', system-ui, sans-serif;
  --gut: clamp(20px, 4vw, 64px);
  --top-h: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-2: cubic-bezier(.76, 0, .24, 1);
  --tshadow: 0 1px 2px rgba(20, 14, 9, .7), 0 4px 18px rgba(20, 14, 9, .5), 0 12px 50px rgba(20, 14, 9, .45);
}
html[lang="ar"] { --display: 'Amiri', 'Gilda Display', serif; --body: 'Tajawal', 'Mulish', 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(--linen); color: var(--ink); font-family: var(--body); font-weight: 400; font-size: 16px; line-height: 1.65; }
html[lang="en"] .ar, html[lang="ar"] .en { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
html[lang="ar"] em { font-style: normal; color: var(--walnut); }
:focus-visible { outline: 2px solid var(--walnut); outline-offset: 3px; }
::selection { background: var(--walnut); color: var(--linen); }
main:focus { outline: none; }
.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 300; background: var(--ink); color: var(--linen); padding: 8px 14px; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }

/* paper grain over everything */
body::after { content: ''; position: fixed; inset: -50%; z-index: 65; pointer-events: none; opacity: .09; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.4s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 3%); } 50% { transform: translate(3%, -2%); } 75% { transform: translate(-3%, -3%); } 100% { transform: translate(0, 0); } }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--top-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut); transition: background .5s var(--ease), box-shadow .5s; }
.top.is-solid { background: rgba(241, 235, 227, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top__side { display: flex; gap: 8px; }
.top__side--end { justify-content: flex-end; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(241, 235, 227, .55); border: 1px solid rgba(31, 27, 23, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip::after { content: ''; position: absolute; inset: -6px -3px; }
.chip:hover { background: var(--plaster); }
.chip--walnut { background: var(--walnut); color: var(--linen); border-color: var(--walnut); }
.chip--walnut:hover { background: var(--walnut-2); }
html[lang="ar"] .chip { letter-spacing: 0; font-size: 13px; text-transform: none; }
.brand { display: grid; justify-items: center; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand__word { font-family: 'Gilda Display', serif; font-size: 19px; letter-spacing: .42em; margin-inline-start: .42em; line-height: 1.05; }
html[lang="ar"] .brand__word { font-family: 'Amiri', serif; font-weight: 700; font-size: 22px; letter-spacing: 0; margin: 0; }
.brand__sub { font-size: 8.5px; font-weight: 600; letter-spacing: .34em; margin-inline-start: .34em; color: var(--ink-2); }
html[lang="ar"] .brand__sub { letter-spacing: 0; margin: 0; font-size: 11px; }

/* ---------- shared type ---------- */
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--sage-ink); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; text-transform: none; }
.display { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -.01em; }
html[lang="ar"] .display { line-height: 1.38; letter-spacing: 0; font-size: clamp(36px, 5vw, 80px); }
.display em { color: var(--walnut); }
.lede { max-width: 32em; margin: 22px 0 0; font-size: 17px; color: var(--ink-2); }
.note { margin: 18px 0 0; font-size: 12px; color: var(--ink-2); }
html[lang="ar"] .note { font-size: 13px; }
.head { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease); text-shadow: none; }
.btn--walnut { background: var(--walnut); color: var(--linen); }
.btn--walnut:hover { background: var(--walnut-2); }
.btn--linen { background: var(--linen-2); color: var(--ink); }
.btn--linen:hover { background: #fff; }
.btn--ghost { color: var(--linen-2); border-color: rgba(247, 242, 234, .7); background: rgba(31, 27, 23, .18); }
.btn--ghost:hover { background: rgba(247, 242, 234, .16); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero: the page opens into the room ---------- */
.hero { position: relative; height: 420vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__page { position: absolute; inset: 0; padding: calc(var(--top-h) + 7vh) var(--gut) 0; will-change: transform, opacity; }
.kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 14px; text-transform: none; }
.hero__title { margin: 2.6vh 0 0; max-width: 50vw; font-family: var(--display); font-weight: 400; font-size: clamp(60px, 7.9vw, 150px); line-height: .96; letter-spacing: -.02em; }
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.32; font-size: clamp(56px, 7vw, 132px); }
.hero__title em { color: var(--walnut); }
.ln { display: block; overflow: hidden; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.lni { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.ln:nth-child(2) .lni { transition-delay: .12s; }
.ready .lni { transform: none; }
.hero__lede { max-width: 26em; margin: 3vh 0 0; font-size: 17px; color: var(--ink-2); }
.hero__detail { position: absolute; left: var(--gut); bottom: 6vh; display: flex; align-items: flex-end; gap: 18px; margin: 0; }
html[dir="rtl"] .hero__detail { left: auto; right: var(--gut); }
.hero__detail img { width: clamp(120px, 12vw, 200px); height: auto; aspect-ratio: 1; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-2) .5s; }
.ready .hero__detail img { clip-path: inset(0); }
.hero__detail figcaption { max-width: 16em; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.hero__detail figcaption b { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 15px; }
.hero__media { --t: 13vh; --r: 7vw; --b: 9vh; --l: 55vw; --rad: 2px; position: absolute; inset: 0; clip-path: inset(var(--t) var(--r) var(--b) var(--l) round var(--rad)); background: var(--plaster); will-change: clip-path; }
html[dir="rtl"] .hero__media { clip-path: inset(var(--t) var(--l) var(--b) var(--r) round var(--rad)); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { background: var(--plaster) center / cover no-repeat; transform: scale(1.06); transition: transform 1.8s var(--ease); }
.ready .hero__poster { transform: none; }
.hero__video { object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.hero__stage.video-ready .hero__video { opacity: 1; }
.hero__shade { position: absolute; inset: 0; opacity: var(--shade, 0); background: linear-gradient(180deg, rgba(31, 27, 23, .25) 0%, rgba(31, 27, 23, 0) 30%, rgba(31, 27, 23, .1) 55%, rgba(31, 27, 23, .62) 100%); pointer-events: none; }
.hero__media::after { content: ''; position: absolute; inset: 0; clip-path: inset(0 0 0 0); background: var(--linen); transform-origin: 50% 0; transform: scaleY(1); transition: transform 1.5s var(--ease-2) .15s; }
.ready .hero__media::after { transform: scaleY(0); }
.tapes { position: absolute; z-index: 3; top: calc(13vh - 34px); left: calc(55vw - 48px); width: 260px; height: 140px; pointer-events: none; opacity: var(--tapeo, 1); transform: translateY(var(--tapey, 0)); }
html[dir="rtl"] .tapes { left: auto; right: calc(55vw - 48px); }
.swatch { position: absolute; width: 84px; height: 84px; background: var(--plaster) center / cover; box-shadow: 0 10px 22px rgba(60, 40, 20, .28), 0 0 0 4px #fff; opacity: 0; transform: translateY(-90px) rotate(var(--r0)); transition: transform 1.1s cubic-bezier(.2, 1.4, .3, 1), opacity .4s; }
.swatch i { position: absolute; left: 50%; top: -10px; width: 46px; height: 18px; margin-left: -23px; background: rgba(163, 174, 150, .72); transform: rotate(var(--tr, -4deg)); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.ready .swatch { opacity: 1; transform: translateY(0) rotate(var(--r1)); }
.t1 { --r0: -30deg; --r1: -8deg; left: 0; top: 24px; transition-delay: .9s; }
.t2 { --r0: 26deg; --r1: 5deg; left: 74px; top: 0; transition-delay: 1.05s; --tr: 6deg; }
.t3 { --r0: -14deg; --r1: -2deg; left: 150px; top: 34px; transition-delay: 1.2s; }
.ring { position: absolute; z-index: 4; right: 28px; bottom: 26px; width: 34px; height: 34px; color: var(--walnut); transform: rotate(-90deg); transition: opacity .5s; }
.hero__stage.video-ready .ring, .hero__stage.video-failed .ring { opacity: 0; }
.band { position: absolute; z-index: 4; inset-inline-start: var(--gut); max-width: min(52vw, 760px); color: var(--linen-2); text-shadow: var(--tshadow); opacity: 0; visibility: hidden; }
.band--2 { top: 30vh; }
.band--3 { bottom: 12vh; }
.band__big { margin: 0; font-family: var(--display); font-size: clamp(54px, 7vw, 120px); line-height: 1; transform: scale(calc(.88 + .12 * var(--k, 1))); transform-origin: 0 50%; }
html[dir="rtl"] .band__big { transform-origin: 100% 50%; line-height: 1.35; }
.band__big em { color: #F3D9B1; }
html[lang="ar"] .band__big em { color: #F3D9B1; }
.band__small { margin: 14px 0 0; font-size: 17px; }
.band__settle { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 104px); line-height: 1; }
html[lang="ar"] .band__settle { line-height: 1.38; }
.band__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; opacity: var(--kb, 1); transform: translateY(calc((1 - var(--kb, 1)) * 14px)); }
.cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; margin: 0; display: grid; justify-items: center; gap: 8px; transform: translateX(-50%); font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .cue { letter-spacing: 0; font-size: 12px; text-transform: none; }
.cue i { width: 1px; height: 30px; background: linear-gradient(var(--ink-2), transparent); animation: cue 2.4s var(--ease) infinite; animation-delay: -.6s; transform-origin: top; }
@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: auto; overflow: visible; padding-bottom: 60px; }
  .hero__page { position: relative; inset: auto; padding: calc(var(--top-h) + 30px) var(--gut) 0; }
  .hero__title { max-width: none; font-size: clamp(50px, 14.5vw, 76px); }
  html[lang="ar"] .hero__title { font-size: clamp(46px, 13vw, 70px); }
  .hero__detail { display: none; }
  .hero__media, html[dir="rtl"] .hero__media { position: relative; inset: auto; margin: 30px var(--gut) 0; aspect-ratio: 4 / 5; clip-path: none; border-radius: 2px; }
  .tapes, html[dir="rtl"] .tapes { position: relative; top: auto; left: auto; right: auto; height: 0; width: auto; margin: 0 var(--gut); }
  .swatch { width: 66px; height: 66px; }
  .t1 { top: -56px; left: 14px; } .t2 { top: -76px; left: 74px; } .t3 { top: -50px; left: 136px; }
  html[dir="rtl"] .t1 { left: auto; right: 14px; } html[dir="rtl"] .t2 { left: auto; right: 74px; } html[dir="rtl"] .t3 { left: auto; right: 136px; }
  .band--2, .cue, .ring { display: none; }
  .band--3 { position: relative; inset: auto; max-width: none; margin: 40px var(--gut) 0; color: var(--ink); text-shadow: none; opacity: 1; visibility: visible; }
  .band__settle { font-size: clamp(34px, 9.6vw, 48px); }
  .band--3 .btn--ghost { color: var(--ink); border-color: rgba(31, 27, 23, .3); background: none; }
  .band--3 .btn--linen { background: var(--walnut); color: var(--linen); }
}

/* ---------- philosophy ---------- */
.phil { max-width: 1240px; margin: 0 auto; padding: 160px var(--gut) 130px; text-align: center; }
.phil__text { font-size: clamp(32px, 4vw, 64px); line-height: 1.24; }
html[lang="ar"] .phil__text { line-height: 1.55; font-size: clamp(30px, 3.6vw, 58px); }
.phil__text em { color: var(--walnut); }
.pill { display: inline-block; width: 2.4em; height: .92em; border-radius: 1em; overflow: hidden; vertical-align: -.08em; margin: 0 .08em; box-shadow: inset 0 0 0 1px rgba(31, 27, 23, .08); }
.pill img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transition: transform 2s var(--ease); }
.phil.in .pill img, .lines-in .pill img { transform: scale(1); }
.figs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 90px 0 0; padding: 0; }
.figs li { border-top: 1px solid var(--ink); padding-top: 18px; text-align: start; }
.figs b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 6vw, 96px); line-height: 1; color: var(--sage-ink); font-variant-numeric: tabular-nums; }
.figs span { font-size: 14px; color: var(--ink-2); }

/* ---------- film band ---------- */
.filmband { position: relative; height: 230vh; }
.filmband__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.filmband__frame { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--p, 0)) * 18%) calc((1 - var(--p, 0)) * 28%) round calc((1 - var(--p, 0)) * 200px)); background: var(--plaster); will-change: clip-path; }
.filmband__frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.14 - .14 * var(--p, 0))); }
.filmband__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(31, 27, 23, .08), rgba(31, 27, 23, .42)); opacity: var(--p, 0); }
.filmband__line { position: relative; z-index: 2; margin: 0; text-align: center; font-family: var(--display); font-size: clamp(48px, 7vw, 120px); line-height: 1; color: var(--linen-2); text-shadow: var(--tshadow); opacity: clamp(0, calc((var(--p, 0) - .55) * 3), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p, 0) - .55) * 3), 1)) * 30px)); }
html[lang="ar"] .filmband__line { line-height: 1.4; }
.filmband__line em { color: #F3D9B1; }
.filmband__tag { position: absolute; z-index: 2; bottom: 26px; inset-inline-start: var(--gut); margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--linen-2); opacity: var(--p, 0); text-shadow: var(--tshadow); }
html[lang="ar"] .filmband__tag { letter-spacing: 0; font-size: 13px; text-transform: none; }

/* ---------- the tour ---------- */
.tour { position: relative; height: 760vh; background: var(--plaster); }
.tour__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tour__track { display: flex; height: 100%; will-change: transform; }
.tour__intro { flex: 0 0 52vw; display: flex; flex-direction: column; justify-content: center; padding: var(--top-h) 6vw 0 var(--gut); }
html[dir="rtl"] .tour__intro { padding: var(--top-h) var(--gut) 0 6vw; }
.room { flex: 0 0 100vw; position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 5vw; padding: calc(var(--top-h) + 10px) var(--gut) 90px; }
.room__text { position: relative; z-index: 2; }
.room__n { display: block; font-family: var(--display); font-size: clamp(90px, 11vw, 190px); line-height: .8; color: var(--sage); }
.room__name { margin: 14px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4vw, 66px); line-height: 1.05; }
html[lang="ar"] .room__name { line-height: 1.4; }
.room__cap { max-width: 27em; margin: 16px 0 0; color: var(--ink-2); font-size: 16px; }
.room__cap::first-letter { font-family: var(--display); font-size: 2.2em; float: inline-start; line-height: .9; margin-inline-end: 6px; color: var(--walnut); }
html[lang="ar"] .room__cap::first-letter { font-size: 1em; float: none; margin: 0; color: inherit; }
.room__sw { display: flex; gap: 14px; margin: 26px 0 0; }
.scard { width: 92px; background: #fff; padding: 6px 6px 8px; box-shadow: 0 10px 26px rgba(60, 40, 20, .16); transform: translateY(-60px) rotate(var(--r0, -18deg)); opacity: 0; transition: transform 1s cubic-bezier(.2, 1.4, .3, 1), opacity .4s; }
.scard i { display: block; aspect-ratio: 1; background: center / cover; }
.scard b { display: block; margin-top: 6px; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
html[lang="ar"] .scard b { letter-spacing: 0; text-transform: none; font-size: 11px; }
.room.on .scard { opacity: 1; transform: translateY(0) rotate(var(--r1, -3deg)); }
.scard:nth-child(1) { --r0: -24deg; --r1: -4deg; transition-delay: .05s; }
.scard:nth-child(2) { --r0: 20deg; --r1: 3deg; transition-delay: .18s; }
.scard:nth-child(3) { --r0: -12deg; --r1: -1deg; transition-delay: .31s; }
.room__frame { position: relative; height: min(70vh, 640px); }
.room__photo { position: absolute; inset: 0; overflow: hidden; background: var(--linen); box-shadow: 0 30px 70px rgba(60, 40, 20, .18); }
.room__photo img, .room__photo video { position: absolute; inset: -6% -8%; width: 116%; height: 112%; object-fit: cover; transform: translateX(var(--drift, 0)); }
.room__inset { position: absolute; z-index: 2; width: clamp(130px, 15vw, 240px); aspect-ratio: 1; inset-inline-start: -7%; bottom: -8%; padding: 8px; background: #fff; box-shadow: 0 20px 50px rgba(60, 40, 20, .25); transform: translateY(var(--float, 0)) rotate(-2deg); }
.room__inset img, .room__inset video { width: 100%; height: 100%; object-fit: cover; }
.room__label { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--linen-2); background: rgba(31, 27, 23, .35); padding: 4px 8px; border-radius: 999px; }
html[lang="ar"] .room__label { letter-spacing: 0; font-size: 12px; text-transform: none; }
.tour__end { flex: 0 0 40vw; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gut); }
.tour__index { position: absolute; z-index: 3; left: var(--gut); bottom: 30px; display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html[dir="rtl"] .tour__index { left: auto; right: var(--gut); }
html[lang="ar"] .tour__index { letter-spacing: 0; font-size: 13px; text-transform: none; }
.tour__index li { color: var(--ink-2); transition: color .3s; }
.tour__index li b { color: var(--sage-ink); margin-inline-end: 6px; font-weight: 600; }
.tour__index li.on { color: var(--ink); }
.tour__line { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 18px; height: 1px; background: var(--line); }
.tour__line i { position: absolute; inset: 0; background: var(--walnut); transform-origin: 0 50%; transform: scaleX(var(--tp, 0)); }
html[dir="rtl"] .tour__line i { transform-origin: 100% 50%; }

/* ---------- marquee ---------- */
.marq { overflow: hidden; padding: 70px 0 20px; }
.marq__track { margin: 0; white-space: nowrap; font-family: var(--display); font-size: clamp(64px, 10vw, 180px); line-height: 1.1; color: transparent; -webkit-text-stroke: 1px rgba(90, 62, 43, .45); will-change: transform; }
html[lang="ar"] .marq__track { line-height: 1.5; }

/* ---------- ways to work ---------- */
.ways { padding: 120px 0 130px; }
.ways__list { list-style: none; max-width: 1320px; margin: 60px auto 0; padding: 0 var(--gut); }
.way { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 30px; align-items: baseline; padding: 30px 12px; border-top: 1px solid var(--ink); transition: background .4s var(--ease), padding .4s var(--ease); }
.way:last-child { border-bottom: 1px solid var(--ink); }
.way:hover { background: var(--plaster); padding-inline: 24px; }
.way__n { font-family: var(--display); font-size: 22px; color: var(--sage-ink); }
.way__name { font-family: var(--display); font-size: clamp(28px, 2.8vw, 44px); line-height: 1.1; }
.way__text { color: var(--ink-2); font-size: 15px; }
.way__fee { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.way__fee small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .way__fee small { letter-spacing: 0; font-size: 12px; text-transform: none; }
.way__fee b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); color: var(--walnut); }

/* ---------- process ---------- */
.proc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.proc__num { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.proc__num span { display: block; font-family: 'Gilda Display', serif; font-size: clamp(220px, 34vw, 560px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--sage); transition: transform .8s var(--ease), opacity .4s; }
.proc__num span.roll { transform: translateY(-14%); opacity: 0; }
.proc__steps { padding: 120px 0 60px; }
.proc__steps ol { list-style: none; margin: 40px 0 0; padding: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: 40px 0; }
.step figure { margin: 0 0 22px; width: min(420px, 100%); aspect-ratio: 4 / 3; overflow: hidden; }
.step img { width: 100%; height: 100%; object-fit: cover; }
.step h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.4vw, 54px); line-height: 1.1; }
.step h3 small { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--sage-ink); margin-inline-end: 12px; vertical-align: middle; }
.step p { margin: 10px 0 0; max-width: 28em; color: var(--ink-2); }

/* ---------- houses ---------- */
.houses { padding: 130px 0; background: var(--linen-2); }
.houses__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 34px; max-width: 1320px; margin: 70px auto 0; padding: 0 var(--gut); }
.house:nth-child(3n+2) { margin-top: 120px; }
.house:nth-child(3n) { margin-top: 50px; }
.house a { display: block; text-decoration: none; }
.house figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--plaster); }
.house img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.house:hover img { transform: scale(1.05); }
.house h3 { margin: 16px 0 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; }
.house p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }

/* ---------- sample board ---------- */
.board { padding: 130px 0; background: var(--plaster); }
.board__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 6vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: center; }
.board__pins { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.pinned { position: relative; background: #fff; padding: 8px 8px 10px; box-shadow: 0 12px 28px rgba(60, 40, 20, .16); transform: rotate(var(--rot, 0deg)); transition: transform .6s var(--ease), box-shadow .4s; }
.pinned:hover, .pinned.on { transform: rotate(0) translateY(-6px) scale(1.04); box-shadow: 0 20px 40px rgba(60, 40, 20, .24); z-index: 2; }
.pinned i { display: block; aspect-ratio: 1; background: center / cover; }
.pinned::before { content: ''; position: absolute; left: 50%; top: -9px; width: 44px; height: 16px; margin-left: -22px; background: rgba(163, 174, 150, .72); transform: rotate(-3deg); }
.pinned b { display: block; margin-top: 7px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
html[lang="ar"] .pinned b { letter-spacing: 0; text-transform: none; font-size: 12px; }
.sources { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: s; }
.sources li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.sources li:hover, .sources li.on { padding-inline-start: 10px; }
.sources li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); color: var(--sage-ink); }
.sources b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.sources span { display: block; font-size: 13px; color: var(--ink-2); }

/* ---------- press ---------- */
.press { padding: 150px var(--gut); background: var(--walnut); color: var(--linen-2); text-align: center; }
.press blockquote { max-width: 1100px; margin: 0 auto; }
.press p { margin: 0; font-family: var(--display); font-size: clamp(36px, 4.6vw, 76px); line-height: 1.16; }
html[lang="ar"] .press p { line-height: 1.6; }
.press footer { margin-top: 30px; font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #D9C3A9; }
html[lang="ar"] .press footer { letter-spacing: 0; font-size: 13px; text-transform: none; }

/* ---------- enquiry ---------- */
.enq { padding: 130px 0; }
.enq__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 6vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.map { position: relative; margin: 34px 0 0; aspect-ratio: 1000 / 820; overflow: hidden; }
.map img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: sepia(.38) saturate(.9) brightness(1.02) contrast(1.02); }
.map figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 9px; color: var(--ink-2); }
.map__pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; }
.map__pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--walnut); box-shadow: 0 0 0 6px rgba(90, 62, 43, .2); animation: pin 2.6s var(--ease) infinite; }
@keyframes pin { 50% { box-shadow: 0 0 0 12px rgba(90, 62, 43, 0); } }
.map__pin b { font-family: var(--display); font-weight: 400; font-size: 15px; padding: 3px 9px; background: var(--linen-2); border-radius: 999px; box-shadow: 0 4px 12px rgba(60, 40, 20, .15); }
.enq__info { display: grid; gap: 14px; margin: 26px 0 0; }
.enq__info dt { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-ink); }
html[lang="ar"] .enq__info dt { letter-spacing: 0; font-size: 13px; text-transform: none; }
.enq__info dd { margin: 2px 0 0; }
.enq__info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.card { position: relative; display: grid; gap: 20px; padding: 40px 36px 34px; background: var(--linen-2); box-shadow: 0 30px 70px rgba(60, 40, 20, .14); transform: rotate(-.6deg); margin-top: 20px; }
.tape { position: absolute; top: -12px; width: 110px; height: 26px; background: rgba(163, 174, 150, .7); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.tape--l { left: 30px; transform: rotate(-5deg); }
.tape--r { right: 30px; transform: rotate(4deg); }
.card__title { display: flex; justify-content: space-between; margin: 0; font-family: var(--display); font-size: 24px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.card__no { font-family: var(--body); font-size: 12px; letter-spacing: .14em; color: var(--ink-2); align-self: flex-end; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
html[lang="ar"] .field > span { letter-spacing: 0; font-size: 13px; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(31, 27, 23, .35); border-radius: 0; color: var(--ink); font: inherit; font-size: 16px; padding: 8px 0; }
.field textarea { resize: vertical; }
.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='%231F1B17' stroke-width='1.5'/%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, .field textarea:focus-visible { outline: 2px solid var(--walnut); outline-offset: 4px; }
.card .btn { justify-self: start; }
.form__err { margin: 0; min-height: 1.3em; color: #8A2E1F; font-size: 14px; }
.form__ok:not(:empty) { margin: 0; padding: 14px 16px; border: 1px solid var(--walnut); font-size: 15px; }

/* ---------- footer ---------- */
.foot { position: relative; padding: 70px var(--gut) 40px; background: var(--ink); color: var(--linen); overflow: hidden; }
.foot__giant { margin: 0 0 40px; text-align: center; font-family: var(--display); font-size: clamp(130px, 31vw, 480px); line-height: .85; letter-spacing: .1em; color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgba(230, 222, 211, .5); background: url(../photos/m_lime.jpg) center / 0 0; -webkit-background-clip: text; background-clip: text; transition: -webkit-text-stroke-color .6s; }
html[lang="ar"] .foot__giant { letter-spacing: 0; line-height: 1.15; }
.foot__giant:hover { background-size: cover; -webkit-text-stroke-color: rgba(230, 222, 211, 0); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1320px; margin: 0 auto; }
.foot h4 { margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
html[lang="ar"] .foot h4 { letter-spacing: 0; font-size: 13px; text-transform: none; }
.foot__cols p { margin: 0; font-size: 15px; }
.foot__cols a { text-decoration: none; }
.foot__base { display: flex; justify-content: space-between; gap: 40px; max-width: 1320px; margin: 50px auto 0; padding-top: 22px; border-top: 1px solid rgba(241, 235, 227, .14); font-size: 12.5px; color: rgba(241, 235, 227, .62); }
.foot__base p { margin: 0; max-width: 58em; }
.credit { white-space: nowrap; }
.credit a { color: #D9C3A9; text-decoration: none; border-bottom: 1px solid rgba(217, 195, 169, .4); }

/* ---------- finishing layer ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.intro-on { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; }
.intro__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--plaster); transition: transform 1.1s var(--ease-2); }
.intro__half--t { top: 0; }
.intro__half--b { bottom: 0; }
.intro.go .intro__half--t { transform: translateY(-100%); }
.intro.go .intro__half--b { transform: translateY(100%); }
.intro__in { position: relative; display: grid; justify-items: center; gap: 8px; transition: opacity .5s, transform 1.1s var(--ease-2); }
.intro.go .intro__in { opacity: 0; transform: translateY(-24px); }
.intro__mark { width: 84px; height: 84px; }
.intro__mark .d1 { stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1.1s var(--ease-2); }
.intro__mark .d2 { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .8s var(--ease-2) .5s; }
.intro__mark .d3 { transform: scale(0); transform-origin: 24px 21px; transition: transform .6s cubic-bezier(.2, 1.6, .3, 1) .9s; }
.intro.draw .d1, .intro.draw .d2 { stroke-dashoffset: 0; }
.intro.draw .d3 { transform: scale(1); }
.intro__word { margin: 2px 0 0; font-family: var(--display); font-size: 40px; letter-spacing: .5em; margin-inline-start: .5em; opacity: 0; transform: translateY(12px); transition: opacity .8s .5s, transform .8s var(--ease) .5s; }
html[lang="ar"] .intro__word { letter-spacing: 0; margin: 2px 0 0; font-size: 46px; }
.intro__sub { margin: 0; font-size: 10px; font-weight: 600; letter-spacing: .38em; color: var(--ink-2); opacity: 0; transition: opacity .8s .8s; }
html[lang="ar"] .intro__sub { letter-spacing: 0; font-size: 13px; }
.intro.draw .intro__word { opacity: 1; transform: none; }
.intro.draw .intro__sub { opacity: 1; }
.progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; background: var(--walnut); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
html[dir="rtl"] .progress { transform-origin: 100% 50%; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .18em; margin: -.08em 0 -.18em; }
.wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--i, 0) * 50ms); }
.lines-in .wi { transform: none; }
.clipr { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-2); }
.clipr.open { clip-path: inset(0 0 0 0); }
.clipr img { transform: scale(1.16); transition: transform 2.2s var(--ease); }
.clipr.open img { transform: scale(1); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor { position: fixed; z-index: 150; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--walnut); background: rgba(90, 62, 43, .12); transition: transform .45s var(--ease), background .3s; }
.cursor.link i { transform: scale(2.6); }
.cursor.big i { transform: scale(7); background: rgba(241, 235, 227, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cursor span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); white-space: nowrap; opacity: 0; transition: opacity .3s; }
html[lang="ar"] .cursor span { letter-spacing: 0; font-size: 12px; text-transform: none; }
.cursor.big span { opacity: 1; }
.mag { transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }
@media (pointer: coarse) { body::after { display: none; } .btn { min-height: 44px; } }
@media (max-height: 560px) { .cue { display: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .top__side:not(.top__side--end) .chip { display: none; }
  .room { grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: center; padding: calc(var(--top-h) + 6px) var(--gut) 80px; }
  .room__frame { height: 46vh; order: -1; }
  .room__n { font-size: 74px; }
  .tour__intro { flex-basis: 100vw; }
  .tour__end { flex-basis: 70vw; }
  .proc { grid-template-columns: minmax(0, 1fr); }
  .proc__num { display: none; }
  .board__grid, .enq__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .way { grid-template-columns: 50px minmax(0, 1fr) auto; }
  .way__text { grid-column: 2 / -1; }
  .houses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house:nth-child(3n+2), .house:nth-child(3n) { margin-top: 0; }
  .house:nth-child(2n) { margin-top: 60px; }
}

/* ---------- phones: their own control sizes ---------- */
@media (max-width: 720px) {
  :root { --top-h: 62px; }
  .top { grid-template-columns: auto 1fr auto; padding: 0 16px; }
  .top__side { gap: 6px; }
  .chip { min-height: 32px; padding: 0 11px; font-size: 11px; letter-spacing: .06em; }
  html[lang="ar"] .chip { font-size: 12px; }
  .brand img { width: 24px; height: 24px; }
  .brand__word { font-size: 15px; }
  .brand__sub { display: none; }
  .btn { min-height: 42px; padding: 0 18px; font-size: 13px; }
  .band__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .band__cta .btn { padding: 0 10px; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; }
  html[lang="ar"] .eyebrow { font-size: 13px; }
  .display { font-size: clamp(34px, 10vw, 46px); }
  html[lang="ar"] .display { font-size: clamp(32px, 9.4vw, 44px); }
  .lede, .hero__lede { font-size: 15px; }
  .phil { padding: 100px var(--gut) 90px; }
  .phil__text { font-size: clamp(26px, 7.4vw, 34px); }
  html[lang="ar"] .phil__text { font-size: clamp(25px, 7vw, 32px); }
  .figs { grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-top: 56px; }
  .figs b { font-size: 52px; }
  .filmband { height: 170vh; }
  .filmband__line { font-size: clamp(40px, 11vw, 54px); }
  .tour { height: 720vh; }
  .tour__intro { padding: var(--top-h) var(--gut) 0; }
  .room__frame { height: 40vh; }
  .room__name { font-size: 32px; margin-top: 6px; }
  .room__n { font-size: 56px; }
  .room__cap { font-size: 14px; margin-top: 10px; }
  .room__cap::first-letter { font-size: 1.9em; }
  .room__sw { gap: 10px; margin-top: 16px; }
  .scard { width: 72px; padding: 5px 5px 6px; }
  .scard b { font-size: 8.5px; }
  .room__inset { width: 104px; inset-inline-start: auto; inset-inline-end: -4px; bottom: -14px; padding: 5px; }
  .tour__index { display: none; }
  .tour__end { flex-basis: 90vw; }
  .marq { padding: 46px 0 10px; }
  .ways { padding: 90px 0; }
  .way { grid-template-columns: 36px minmax(0, 1fr); gap: 6px 14px; padding: 22px 4px; }
  .way:hover { padding-inline: 4px; }
  .way__fee { grid-column: 2; text-align: start; }
  .way__text { grid-column: 2; font-size: 14px; }
  .proc__steps { padding: 90px 0 30px; }
  .step { min-height: 0; padding: 30px 0; }
  .houses { padding: 90px 0; }
  .houses__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .house:nth-child(2n) { margin-top: 0; }
  .board { padding: 90px 0; }
  .board__pins { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .press { padding: 100px var(--gut); }
  .enq { padding: 90px 0; }
  .card { padding: 30px 20px 26px; transform: none; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot__base { flex-direction: column; gap: 14px; }
  .credit { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
  .lni, .wi { transform: none; }
  .swatch, .scard { opacity: 1; transform: rotate(var(--r1, 0deg)); }
  .clipr { clip-path: none; }
  .hero__media::after { display: none; }
  .hero__detail img { clip-path: none; }
  .filmband { height: auto; } .filmband__stage { position: relative; } .filmband__frame { clip-path: none; }
  .filmband__line, .filmband__tag { opacity: 1; transform: none; }
  .tour { height: auto; } .tour__stage { position: relative; height: auto; } .tour__track { flex-direction: column; transform: none !important; }
  .room, .tour__intro, .tour__end { flex-basis: auto; min-height: 100vh; }
}

/* numerals keep left-to-right digits but follow the Arabic alignment */
html[dir="rtl"] .room__n, html[dir="rtl"] .figs b, html[dir="rtl"] .way__fee b { text-align: right; }
html[dir="rtl"] .way__fee { text-align: start; }
@media (min-width: 721px) { html[dir="rtl"] .way__fee, html[dir="rtl"] .way__fee b { text-align: left; } }
