/* Saudi Hideaways – stylesheet
   Two colours: Sand #F5E9D7 (grounds) and Hinat Brown #543930 (type, panels, buttons, lines).
   One typeface: Hanken Grotesk, light for headlines, regular for text.
   Layout: wide rounded panels inset from the screen edge, headlines at full width, generous space. */

@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-wght-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --sand: #F5E9D7;
  --brown: #543930;
  --line: rgba(84, 57, 48, .22);
  --line-on: rgba(245, 233, 215, .24);
  --soft: rgba(84, 57, 48, .72);
  --soft-on: rgba(245, 233, 215, .74);
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(clamp(20px, 4vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(20px, 4vw, 64px), env(safe-area-inset-right, 0px));
  --edge: clamp(8px, 1vw, 16px);
  --max: 1520px;
  --r: clamp(18px, 2vw, 28px);
  --r-sm: 16px;
  --hdr: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sec: clamp(88px, 12vw, 176px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:not(.has-lenis) { scroll-behavior: smooth; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--sand); color: var(--brown); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brown); color: var(--sand); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: -9999px; top: 12px; z-index: 200; background: var(--brown); color: var(--sand); padding: 10px 18px; border-radius: 99px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) + var(--gutter-r)); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.sec { padding-block: var(--sec); }
.sec--top0 { padding-top: 0; }

/* ---------- type ---------- */
.d1, .d2, .d3, .d4 { font-weight: 300; text-wrap: balance; }
.d1 { font-size: clamp(54px, 11vw, 200px); line-height: .9; letter-spacing: -.05em; }
.d2 { font-size: clamp(34px, 6.2vw, 112px); line-height: 1; letter-spacing: -.04em; }
.d3 { font-size: clamp(28px, 3.6vw, 60px); line-height: 1.06; letter-spacing: -.03em; }
.d4 { font-size: clamp(22px, 2vw, 32px); line-height: 1.22; letter-spacing: -.018em; }
.lead { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.5; letter-spacing: -.01em; max-width: 34em; }
.copy { display: grid; gap: 1.1em; max-width: 36em; }
.copy p { text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.5; }
.soft { color: var(--soft); }
.on .soft, .panel .soft { color: var(--soft-on); }
.fit { display: inline-block; white-space: nowrap; line-height: .86; letter-spacing: -.055em; font-weight: 300; }
.label { font-size: 14px; letter-spacing: .01em; }

/* headings rise in from a mask (the observed element itself is never clipped) */
.rv { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rv > span { display: block; }
.motion .rv > span { transform: translate3d(0, 108%, 0); transition: transform 1.2s var(--ease); }
.motion .rv.in > span { transform: none; }
.motion [data-fade] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.motion [data-fade].in { opacity: 1; transform: none; }

/* ---------- buttons & links ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 99px; border: 1px solid currentColor; background: transparent; color: inherit; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s; }
.btn svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { background: var(--brown); color: var(--sand); border-color: var(--brown); }
.btn--solid { background: var(--brown); color: var(--sand); border-color: var(--brown); }
.btn--solid:hover { background: transparent; color: var(--brown); }
.panel .btn:hover, .on .btn:hover, .ftr .btn:hover { background: var(--sand); color: var(--brown); border-color: var(--sand); }
.panel .btn--solid, .on .btn--solid, .ftr .btn--solid { background: var(--sand); color: var(--brown); border-color: var(--sand); }
.panel .btn--solid:hover, .on .btn--solid:hover, .ftr .btn--solid:hover { background: transparent; color: var(--sand); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.ulink { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.ulink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; padding-top: env(safe-area-inset-top, 0px); transition: transform .6s var(--ease), background-color .4s, box-shadow .4s; }
.hdr__bar { height: var(--hdr); display: flex; align-items: center; gap: 16px; }
.hdr.is-solid { background: rgba(245, 233, 215, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.on-dark:not(.is-solid) { color: var(--sand); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b { font-weight: 500; }
.hdr__brand { opacity: 1; transition: opacity .5s var(--ease); }
.hdr--hero:not(.is-solid) .hdr__brand { opacity: 0; pointer-events: none; }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; }
.menu-btn i { position: relative; width: 16px; height: 8px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-open .menu-btn i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 560px) { .hdr .btn--book { display: none; } .brand span { display: none; } }

/* full-screen menu */
.menu { position: fixed; inset: var(--edge); z-index: 55; background: var(--brown); color: var(--sand); border-radius: var(--r); overflow-y: auto; clip-path: inset(0 0 100% 0 round var(--r)); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; }
.menu.is-open { clip-path: inset(0 0 0 0 round var(--r)); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open .hdr { color: var(--sand); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .hdr .btn--book { visibility: hidden; }
.menu__inner { min-height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 48px; padding-top: calc(var(--hdr) + 32px); padding-bottom: 32px; }
.menu__main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-content: center; }
.menu__links a { display: block; font-size: clamp(40px, 6vw, 92px); font-weight: 300; letter-spacing: -.04em; line-height: 1.08; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .8s var(--ease), padding .5s var(--ease); }
.menu__links a:hover { padding-left: 14px; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: .05s; } .menu.is-open .menu__links li:nth-child(3) a { transition-delay: .1s; } .menu.is-open .menu__links li:nth-child(4) a { transition-delay: .15s; } .menu.is-open .menu__links li:nth-child(5) a { transition-delay: .2s; }
.menu__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-content: center; font-size: 16px; }
.menu__lists h3 { font-size: 14px; font-weight: 400; color: var(--soft-on); margin-bottom: 12px; }
.menu__lists li { padding: 4px 0; }
.menu__lists a:hover { opacity: .7; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-on); font-size: 14px; color: var(--soft-on); }
@media (max-width: 860px) { .menu__main { grid-template-columns: minmax(0, 1fr); } }

/* ---------- media ---------- */
.media { position: relative; border-radius: var(--r); overflow: hidden; background: #3a2822; isolation: isolate; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.motion .media.zoom img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
.motion .media.zoom.in img { transform: none; }
.fade-stack { position: absolute; inset: 0; }
.fade-stack > * { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease-in-out; }
.fade-stack > .is-on { opacity: 1; }
.fade-stack img { width: 100%; height: 100%; object-fit: cover; }
.fade-stack > .is-on img { animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }

/* ---------- home: hero ---------- */
.hero { padding-top: calc(var(--hdr) + clamp(24px, 5vw, 72px)); }
.hero__title { color: var(--brown); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; padding-block: clamp(28px, 4vw, 56px) clamp(32px, 4vw, 64px); }
.hero__row .copy { justify-self: end; }
.hero__media { height: min(78vh, 860px); margin-inline: var(--edge); transform-origin: 50% 0; will-change: transform; }
.hero__cap { position: absolute; left: clamp(18px, 2.4vw, 36px); bottom: clamp(16px, 2vw, 30px); z-index: 2; color: var(--sand); font-size: 14px; display: flex; gap: 14px; align-items: center; }
.hero__cap b { font-weight: 500; }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(30, 20, 16, .5), transparent 35%); pointer-events: none; }
@media (max-width: 760px) { .hero__row { grid-template-columns: minmax(0, 1fr); } .hero__row .copy { justify-self: start; } .hero__media { height: 62vh; } }

/* ---------- statement ---------- */
.statement { display: grid; gap: clamp(36px, 5vw, 72px); }
.statement__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .statement__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- pinned journey: one night ---------- */
.journey { position: relative; height: 520vh; }
.journey__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--hdr) + 4px) var(--edge) var(--edge); }
.journey__frame { position: relative; height: 100%; border-radius: var(--r); overflow: hidden; background: #2a1d18; color: var(--sand); isolation: isolate; }
.journey__scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; z-index: -2; }
.journey__scene img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s var(--ease); }
.journey__scene.is-on { opacity: 1; }
.journey__scene.is-on img { transform: none; }
.journey__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30, 20, 16, .62), transparent 45%); }
.journey__top { position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); top: clamp(18px, 2.4vw, 34px); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--soft-on); }
.journey__words { position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(60px, 8vw, 120px); bottom: clamp(24px, 3.2vw, 48px); }
.journey__word { position: absolute; left: 0; bottom: 0; display: grid; gap: 12px; opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .8s var(--ease), transform 1s var(--ease); pointer-events: none; max-width: 30em; }
.journey__word.is-on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.journey__word .d2 { font-size: clamp(44px, 7vw, 120px); }
.journey__word p { color: var(--soft-on); max-width: 26em; }
.journey__dots { position: absolute; right: clamp(20px, 3vw, 44px); bottom: clamp(24px, 3.2vw, 48px); display: grid; gap: 10px; }
.journey__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--sand); opacity: .35; transition: opacity .4s, transform .4s var(--ease); }
.journey__dots i.is-on { opacity: 1; transform: scale(1.3); }
.journey.is-static { height: auto; }
.journey.is-static .journey__sticky { position: relative; height: 90vh; }

/* ---------- panel (brown) ---------- */
.panel { background: var(--brown); color: var(--sand); border-radius: var(--r); margin-inline: var(--edge); }
.panel + .panel { margin-top: var(--edge); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 80px); }
.head > .d2, .head > .d3 { flex: 1 1 520px; }
.head > p, .head > .side { flex: 0 1 420px; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-on); background: none; color: inherit; cursor: pointer; font-size: 14px; transition: background-color .3s, color .3s, border-color .3s; }
.chips button:hover { border-color: var(--sand); }
.chips button[aria-pressed="true"] { background: var(--sand); color: var(--brown); border-color: var(--sand); }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(14px, 1.6vw, 24px); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(14px, 1.6vw, 24px); }
@media (max-width: 960px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid3, .grid2 { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; gap: 16px; align-content: start; transition: opacity .5s var(--ease); }
.card .media { aspect-ratio: 4 / 5; border-radius: var(--r-sm); }
.card .media img { transition: transform 1.4s var(--ease); }
.card:hover .media img { transform: scale(1.04); }
.card h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
.card p { font-size: 15px; }
.card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.card.is-out { opacity: .2; pointer-events: none; }
.card--wide .media { aspect-ratio: 4 / 3; }

/* ---------- pinned horizontal carousel ---------- */
.hcar { position: relative; }
.hcar__sticky { padding-block: var(--sec); overflow: hidden; }
.hcar__inner { display: grid; gap: 32px; }
.hcar__intro { display: grid; gap: 20px; align-content: start; max-width: 30em; }
.hcar__viewport { overflow: hidden; }
.hcar__row { display: flex; gap: clamp(14px, 1.6vw, 24px); will-change: transform; }
.hcar__card { flex: 0 0 clamp(250px, 24vw, 360px); display: grid; gap: 12px; align-content: start; }
.hcar__card .media { aspect-ratio: 3 / 4; border-radius: var(--r-sm); }
.hcar__card h3 { font-size: 22px; font-weight: 300; letter-spacing: -.02em; line-height: 1.2; }
.hcar__card .media img { transition: transform 1.4s var(--ease); }
.hcar__card:hover .media img { transform: scale(1.04); }
.hcar__bar { height: 1px; background: var(--line); position: relative; margin-top: 28px; }
.hcar__bar i { position: absolute; inset: 0; background: var(--brown); transform: scaleX(0); transform-origin: left; }
.hcar.is-pinned .hcar__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-block: calc(var(--hdr) + 12px) 28px; }
.hcar.is-pinned .hcar__inner { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: clamp(28px, 3vw, 56px); align-items: center; }
.hcar.is-pinned .hcar__card .media { aspect-ratio: auto; height: min(56vh, 520px); }
.hcar:not(.is-pinned) .hcar__bar { display: none; }
.hcar:not(.is-pinned) .hcar__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--gutter-r) * -1); }
.hcar:not(.is-pinned) .hcar__viewport::-webkit-scrollbar { display: none; }
.hcar:not(.is-pinned) .hcar__row { padding-right: var(--gutter-r); }
.hcar:not(.is-pinned) .hcar__card { scroll-snap-align: start; flex-basis: 72vw; }

/* ---------- steps (a real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); }
.steps li { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.steps b { font-weight: 300; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 300; letter-spacing: -.02em; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.founder .media { aspect-ratio: 1; }
.founder blockquote { display: grid; gap: 28px; }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 96px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; font-size: clamp(18px, 1.4vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 48px 24px 0; color: var(--soft); max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA ---------- */
.cta { position: relative; margin-inline: var(--edge); min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--sand); }
.cta > .media { position: absolute; inset: 0; z-index: -1; }
.cta > .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 20, 16, .66), rgba(30, 20, 16, .1) 60%); }
.cta { isolation: isolate; }
.cta__inner { width: 100%; display: grid; gap: 28px; padding: clamp(28px, 4vw, 64px); }

/* ---------- footer ---------- */
.ftr { margin: var(--edge); margin-top: var(--sec); border-radius: var(--r); background: var(--brown); color: var(--sand); padding-top: clamp(56px, 7vw, 100px); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: clamp(48px, 6vw, 88px); }
.ftr__top h3 { font-size: 14px; font-weight: 400; color: var(--soft-on); margin-bottom: 14px; }
.ftr__top li { padding: 3px 0; font-size: 16px; }
.ftr__top a:hover { opacity: .7; }
.ftr__lead { display: grid; gap: 22px; align-content: start; }
.ftr__lead .brand img { border-radius: 0; width: 44px; height: 44px; }
.ftr__word { color: var(--sand); padding-bottom: 6px; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-on); font-size: 13px; color: var(--soft-on); }
.ftr__legal ul { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__lead { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page-top { padding-top: calc(var(--hdr) + clamp(40px, 7vw, 120px)); padding-bottom: clamp(32px, 4vw, 56px); display: grid; gap: clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--brown); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 18px 20px 0 0; display: grid; gap: 4px; }
.facts dt { font-size: 14px; color: var(--soft); }
.facts dd { font-size: 17px; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; } }
.page-media { margin-inline: var(--edge); height: min(84vh, 920px); }
.page-media .fade-stack { z-index: 0; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 120px); align-items: start; }
.split__side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 14px; }
.story { display: grid; gap: 1.2em; max-width: 40em; }
.story p:first-child { font-size: clamp(22px, 2vw, 32px); line-height: 1.3; font-weight: 300; letter-spacing: -.018em; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split__side { position: static; } }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: none; border-radius: var(--r-sm); overflow: hidden; }
.gallery button .media { border-radius: var(--r-sm); height: 100%; }
.gallery button:nth-child(1) { grid-column: span 7; aspect-ratio: 4 / 3; }
.gallery button:nth-child(2) { grid-column: span 5; aspect-ratio: auto; }
.gallery button:nth-child(3) { grid-column: span 4; aspect-ratio: 3 / 4; }
.gallery button:nth-child(4) { grid-column: span 8; aspect-ratio: auto; }
.gallery button img { transition: transform 1.4s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .gallery button:nth-child(n) { grid-column: span 12; aspect-ratio: 4 / 3; } }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.incl li { padding: 14px 0; border-top: 1px solid var(--line-on); font-size: 17px; }
@media (max-width: 620px) { .incl { grid-template-columns: minmax(0, 1fr); } }
.book-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-on); }
.exp-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 4vw, 72px); align-items: center; padding-block: clamp(28px, 3vw, 48px); border-top: 1px solid var(--line); }
.exp-row .media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.exp-row__body { display: grid; gap: 14px; align-content: center; max-width: 36em; }
.exp-row__body .label { color: var(--soft); }
@media (max-width: 760px) { .exp-row { grid-template-columns: minmax(0, 1fr); } }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 48px); }
.services a { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-on); }
.services h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 300; letter-spacing: -.02em; }
.services a:hover .ulink { background-size: 0 1px; background-position: 100% 100%; }
@media (max-width: 760px) { .services { grid-template-columns: minmax(0, 1fr); } }
.trio { display: grid; grid-template-columns: 5fr 4fr 5fr; gap: clamp(10px, 1vw, 16px); padding-inline: var(--edge); }
.trio .media { aspect-ratio: 4 / 5; }
.trio .media:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr 1fr; } .trio .media:nth-child(3) { display: none; } }
.timeline li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline b { font-weight: 400; }
.timeline span { color: var(--soft); }
@media (max-width: 560px) { .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.notfound { min-height: 100svh; display: grid; align-content: center; gap: 28px; }

/* mobile booking bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; gap: 8px; padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); background: rgba(245, 233, 215, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
.mbar.is-on { transform: none; }
.mbar .btn { flex: 1; }
@media (max-width: 760px) { .mbar { display: flex; } .has-mbar .ftr__legal { padding-bottom: 96px; } }

/* ---------- booking sheet ---------- */
dialog { padding: 0; border: 0; background: none; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(40, 27, 22, .5); backdrop-filter: blur(3px); }
.sheet { position: fixed; inset: var(--edge) var(--edge) var(--edge) auto; margin: 0; width: min(540px, calc(100vw - var(--edge) * 2)); height: auto; background: var(--sand); color: var(--brown); border-radius: var(--r); display: none; flex-direction: column; overflow: hidden; }
.sheet[open] { display: flex; animation: sheetin .6s var(--ease); }
@keyframes sheetin { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 28px 18px; }
.sheet__head h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.sheet__head p { font-size: 15px; color: var(--soft); margin-top: 8px; }
.x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; transition: background-color .3s; }
.x:hover { background: var(--brown); color: var(--sand); }
.x svg { width: 16px; height: 16px; }
.sheet__body { flex: 1; overflow-y: auto; padding: 8px 28px 20px; display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label, .field .lab { font-size: 14px; color: var(--soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 17px; color: var(--brown); transition: border-color .3s; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brown); }
.field .err { font-size: 13px; color: #9a2d17; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
@media (max-width: 480px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.stepper { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-bottom: 1px solid var(--line); }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 18px; line-height: 1; transition: background-color .3s; }
.stepper button:hover:not(:disabled) { background: var(--brown); color: var(--sand); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output { font-size: 17px; font-variant-numeric: tabular-nums; }
.summary { padding: 14px 0 0; font-size: 15px; color: var(--soft); border-top: 1px solid var(--line); }
.summary b { display: block; color: var(--brown); font-weight: 500; }
.status { padding: 12px 14px; border-radius: 12px; background: rgba(154, 45, 23, .1); color: #7d2512; font-size: 14px; }
.sheet__foot { padding: 16px 28px 24px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.sheet__foot .btn { width: 100%; }
.sheet__alt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 13px; color: var(--soft); }
.sheet__alt a, .sheet__alt button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.sheet__done { flex: 1; display: grid; align-content: center; gap: 20px; padding: 40px 28px; }
.sheet__done h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 600px) { .sheet { inset: auto 0 0 0; width: 100%; max-height: 92svh; border-radius: var(--r) var(--r) 0 0; } @keyframes sheetin { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; translate: -50% 0; padding: 12px 20px; border-radius: 99px; background: var(--brown); color: var(--sand); font-size: 14px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.is-on { opacity: 1; }

/* lightbox */
.lb { position: fixed; inset: 0; width: 100vw; height: 100%; margin: 0; background: var(--brown); color: var(--sand); display: none; grid-template-rows: auto minmax(0, 1fr); }
.lb[open] { display: grid; animation: fadein .4s ease; }
@keyframes fadein { from { opacity: 0; } }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter-r) 16px var(--gutter); font-size: 14px; }
.lb .x { border-color: var(--line-on); }
.lb .x:hover { background: var(--sand); color: var(--brown); }
.lb__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter-r) var(--gutter) var(--gutter); }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; }
.lb__nav--p { left: var(--gutter); } .lb__nav--n { right: var(--gutter-r); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .motion .rv > span, .motion [data-fade], .motion .media.zoom img { transform: none; opacity: 1; }
}

.split--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 860px) { .split--wide { grid-template-columns: minmax(0, 1fr); } }
