/* =========================================================
   סהר · Sahar Desert Retreat — sample one-page site
   ========================================================= */

:root {
  --night: #14130f;
  --night-2: #1d1b16;
  --ink: #2b231c;
  --ink-soft: #5e5145;
  --sand: #f3ebdf;
  --sand-2: #e9dccb;
  --paper: #faf6ef;
  --clay: #b4532a;
  --clay-dark: #8f3f1e;
  --ochre: #e3a66b;
  --line: rgba(43, 35, 28, .14);
  --line-light: rgba(250, 246, 239, .18);

  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "Heebo", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
::selection { background: var(--ochre); color: var(--night); }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--night); color: var(--sand); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--ochre); color: var(--night); padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: .18em; font-weight: 500;
  color: var(--ochre); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--clay { color: var(--clay); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -.01em;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--ink);
}
.h2--light { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 16px; line-height: 1;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s, border-color .35s, box-shadow .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sand { background: var(--sand); color: var(--night); }
.btn--sand:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(227, 166, 107, .6); }
.btn--ghost { border-color: rgba(250, 246, 239, .5); color: var(--paper); backdrop-filter: blur(6px); background: rgba(20, 19, 15, .15); }
.btn--ghost:hover { background: rgba(250, 246, 239, .12); border-color: var(--paper); }
.btn--clay { background: var(--clay); color: var(--paper); }
.btn--clay:hover { background: var(--clay-dark); box-shadow: 0 14px 30px -12px rgba(180, 83, 42, .7); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--night); border-color: var(--night); color: var(--paper); }
.btn--outline span { transition: transform .35s var(--ease); }
.btn--outline:hover span { transform: translateX(-4px); }
.btn--small { padding: 11px 20px; font-size: 14.5px; }
.exp__more { display: flex; justify-content: center; margin-top: 44px; }
.btn--block { width: 100%; padding-block: 19px; font-size: 17px; }

.link-arrow {
  font-weight: 500; color: var(--clay); display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid transparent; transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow::after { content: "←"; transition: transform .3s var(--ease); }
.link-arrow:hover { gap: 12px; border-color: currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 22px;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, color .4s;
  color: var(--paper);
}
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(250, 246, 239, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav.is-scrolled .btn--sand { background: var(--night); color: var(--paper); }
.nav__inner {
  width: min(100% - var(--gutter) * 2, 1360px); margin-inline: auto;
  display: flex; align-items: center; gap: 32px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 30px; height: 30px; color: var(--ochre); transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-25deg); }
.logo__word { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: .02em; }
.nav__links { display: flex; gap: 30px; margin-inline-start: auto; font-size: 15px; font-weight: 400; }
.nav__links a { position: relative; padding-block: 6px; opacity: .88; transition: opacity .3s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { opacity: 1; }
.nav__cta-mobile { display: none; }
.nav__burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--paper); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__poster, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards;
}
/* The video stays visible underneath; the still image on top fades away once it plays. */
.hero__video { z-index: 0; }
.hero__poster { z-index: 1; transition: opacity 1s ease; }
.hero__media.is-playing .hero__poster { opacity: 0; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(20, 19, 15, .55) 0%, rgba(20, 19, 15, 0) 26%),
    linear-gradient(0deg, rgba(20, 19, 15, .88) 0%, rgba(20, 19, 15, .35) 42%, rgba(20, 19, 15, 0) 70%),
    radial-gradient(ellipse at 80% 70%, rgba(20, 19, 15, .4), transparent 60%);
}
.hero__content { padding-top: 140px; padding-bottom: 40px; }
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 8.4vw, 124px); line-height: .98; letter-spacing: -.02em;
  margin-bottom: 28px; text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--ochre); font-weight: 400; }
.hero__lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 620px; opacity: .9; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--line-light); padding-block: 22px 30px;
}
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 5vw, 64px); flex-wrap: wrap; font-size: 14px; opacity: .85; }
.hero__facts strong { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-inline-end: 8px; color: var(--ochre); }
.hero__toggle {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light);
  background: rgba(20, 19, 15, .25); display: grid; place-items: center; flex-shrink: 0;
  transition: background .3s, border-color .3s;
}
.hero__toggle:hover { background: rgba(250, 246, 239, .15); border-color: var(--paper); }
.hero__toggle svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero__toggle .i-play { display: none; fill: currentColor; }
.hero__toggle[aria-pressed="true"] .i-play { display: block; }
.hero__toggle[aria-pressed="true"] .i-pause { display: none; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 112px; translate: -50% 0;
  width: 26px; height: 42px; border: 1px solid rgba(250, 246, 239, .55); border-radius: 20px;
  display: none;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--paper); border-radius: 2px; animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-height: 820px) and (min-width: 900px) { .hero__scroll { display: block; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--clay); color: var(--paper); overflow: hidden; padding-block: 18px; direction: ltr; }
.marquee__track {
  display: flex; gap: 34px; width: max-content; align-items: center;
  animation: marquee 48s linear infinite;
  font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); white-space: nowrap;
}
.marquee__track span { direction: rtl; }
.marquee__track i { font-style: normal; color: var(--ochre); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__media { position: relative; padding-bottom: 70px; padding-inline-start: 0; padding-inline-end: 60px; }
.story__img { margin: 0; overflow: hidden; border-radius: var(--radius-lg); }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img--main { aspect-ratio: 4 / 5; }
.story__img--float {
  position: absolute; inset-inline-end: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5;
  border: 8px solid var(--paper); border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(43, 35, 28, .5);
}
.story__badge {
  position: absolute; top: -34px; inset-inline-end: 14px; width: 128px; height: 128px;
  display: grid; place-items: center;
  background: var(--paper); border-radius: 50%;
  box-shadow: 0 20px 40px -24px rgba(43, 35, 28, .45);
}
.story__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 30s linear infinite; }
.story__badge text { font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; fill: var(--clay); font-weight: 500; }
.story__badge span { color: var(--clay); font-size: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.story__text p { color: var(--ink-soft); font-size: 18px; max-width: 560px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); line-height: 1; color: var(--clay); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Section head ---------- */
.section__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head .h2 { margin-bottom: 0; }
.section__aside { color: var(--ink-soft); margin: 0; max-width: 440px; justify-self: end; }

/* ---------- Suites ---------- */
.suites__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.suite {
  position: relative; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.suite:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(43, 35, 28, .45); }
.suite--featured { margin-top: 48px; }
.suite__tag {
  position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2;
  background: var(--night); color: var(--paper); font-size: 12.5px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px; letter-spacing: .04em;
}
.suite__img { aspect-ratio: 4 / 4.4; overflow: hidden; }
.suite__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.suite:hover .suite__img img { transform: scale(1.06); }
.suite__body { padding: 28px 28px 26px; }
.suite__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.suite h3 { font-family: var(--serif); font-size: 28px; line-height: 1.15; }
.suite__size { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.suite__body > p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.suite__feats { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.suite__feats li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.suite__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); }
.price { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1; }
.price span { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-inline-end: 4px; }
.price small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }

/* ---------- Experiences ---------- */
.exp__grid {
  display: grid; gap: 22px;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 340px 340px;
  grid-template-areas: "tall a b" "tall wide wide";
}
.exp__grid .card:nth-child(1) { grid-area: tall; }
.exp__grid .card:nth-child(2) { grid-area: a; }
.exp__grid .card:nth-child(3) { grid-area: b; }
.exp__grid .card:nth-child(4) { grid-area: wide; }
.card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; color: var(--paper);
  isolation: isolate; background: var(--night);
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .8s; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(20, 19, 15, .86) 0%, rgba(20, 19, 15, .25) 48%, rgba(20, 19, 15, 0) 72%);
  transition: opacity .6s;
}
.card:hover img { transform: scale(1.07); }
.card__body { position: absolute; inset-inline: 0; bottom: 0; padding: 28px; }
.card__time { display: inline-block; font-size: 12.5px; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: rgba(250, 246, 239, .16); backdrop-filter: blur(8px); margin-bottom: 14px; }
.card h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; margin-bottom: 8px; }
.card p {
  margin: 0; font-size: 15px; opacity: .85; max-width: 420px;
  max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .6s;
}
.card:hover p, .card:focus-within p, .card--tall p { max-height: 120px; }
@media (hover: none) { .card p { max-height: 120px; } }

/* ---------- Night sky ---------- */
.sky {
  position: relative; color: var(--paper); overflow: hidden; isolation: isolate;
  padding-block: clamp(110px, 14vw, 190px); background: #0b0c12;
}
.sky__video, .sky::before {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.sky::before { content: ""; background: url("../img/stars.jpg") center / cover; z-index: -3; }
.sky__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 9, 14, .1) 0%, rgba(8, 9, 14, .55) 55%, rgba(8, 9, 14, .85) 100%); }
.sky__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.sky__copy p:not(.eyebrow) { font-size: 18px; opacity: .85; max-width: 500px; }
.sky__card {
  justify-self: start;
  width: min(100%, 420px);
  background: rgba(20, 20, 28, .55); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.sky__moon { display: flex; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sky__moon svg { width: 84px; height: 84px; flex-shrink: 0; filter: drop-shadow(0 0 18px rgba(255, 236, 200, .35)); }
.sky__label { font-size: 12.5px; letter-spacing: .12em; opacity: .6; margin: 0 0 2px; }
.sky__value { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin: 0; }
.sky__sub { font-size: 14px; opacity: .7; margin: 4px 0 0; }
.sky__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sky__list span { display: block; font-size: 12.5px; opacity: .6; margin-bottom: 2px; }
.sky__list strong { font-family: var(--serif); font-size: 24px; font-weight: 400; font-variant-numeric: tabular-nums; }
.sky__meter { padding-top: 20px; }
.sky__meter-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.sky__meter-top span { opacity: .65; }
.sky__meter-top strong { font-weight: 500; color: var(--ochre); }
.meter { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(270deg, var(--ochre), #f6d9a8); transition: width 1.6s var(--ease); margin-inline-start: 0; }
.sky__date { font-size: 12.5px; opacity: .5; margin: 16px 0 0; }

/* ---------- Kitchen ---------- */
.kitchen__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.kitchen__img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2.3; }
.kitchen__img img { width: 100%; height: 100%; object-fit: cover; }
.kitchen__text > p { color: var(--ink-soft); font-size: 18px; }
.menu { list-style: none; padding: 0; margin: 30px 0 22px; }
.menu li { display: flex; align-items: baseline; gap: 12px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.menu span { font-family: var(--serif); font-size: 19px; }
.menu i { flex: 1; border-bottom: 1px dotted rgba(43, 35, 28, .3); translate: 0 -5px; }
.menu em { font-style: normal; font-size: 13px; color: var(--clay); letter-spacing: .06em; }
.note { font-size: 14.5px !important; color: var(--ink-soft); }

/* ---------- Quotes ---------- */
.quotes { text-align: center; }
.quotes__stage { display: grid; max-width: 920px; margin-inline: auto; }
.quote {
  grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(16px);
  transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote {
  margin: 0 0 30px; font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; text-wrap: balance;
}
.quote figcaption { font-size: 16px; color: var(--ochre); font-weight: 500; }
.quote figcaption span { color: rgba(243, 235, 223, .6); font-weight: 300; }
.quotes__nav { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.quotes__nav button {
  width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(243, 235, 223, .2);
  position: relative; overflow: hidden;
}
.quotes__nav button::after { content: ""; position: absolute; inset: 0; background: var(--ochre); transform: scaleX(0); transform-origin: right; }
.quotes__nav button[aria-selected="true"]::after { animation: fill 7s linear forwards; }
.quotes.is-paused .quotes__nav button[aria-selected="true"]::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Booking ---------- */
.booking__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.booking__intro { position: sticky; top: 110px; }
.booking__intro > p { color: var(--ink-soft); font-size: 18px; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23faf6ef' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.bform {
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 50px 90px -50px rgba(43, 35, 28, .4);
  display: grid; gap: 24px;
}
.bform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); padding: 0; margin-bottom: 8px; }
.field legend small { font-weight: 300; }
fieldset.field > div { margin-top: 0; }
.field input[type="date"], .field input[type="text"], .field input[type="tel"] {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--sand); border: 1px solid transparent; border-radius: 14px;
  padding: 14px 16px; min-height: 52px; transition: border-color .25s, background .25s;
}
.field input:focus { outline: none; border-color: var(--clay); background: #fff; }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.field input[type="tel"] { text-align: right; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seg label, .addons label { position: relative; cursor: pointer; }
.seg input, .addons input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: grid; gap: 2px; text-align: center; padding: 14px 8px; border-radius: 14px;
  border: 1px solid var(--line); font-family: var(--serif); font-size: 19px; transition: all .25s;
}
.seg small { font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft); }
.seg input:checked + span { background: var(--night); color: var(--paper); border-color: var(--night); }
.seg input:checked + span small { color: var(--ochre); }
.seg input:focus-visible + span, .addons input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.seg span:hover { border-color: var(--ink); }

.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  font-size: 22px; line-height: 1; transition: background .2s, border-color .2s;
}
.stepper button:hover:not(:disabled) { background: var(--sand); border-color: var(--ink); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 50px; text-align: center; font-family: var(--serif); font-size: 26px; }
.stepper__hint { font-size: 13px; color: var(--clay); margin-inline-start: 12px; }

.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addons span {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; transition: all .25s;
}
.addons span::before {
  content: ""; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--ink-soft); flex-shrink: 0; transition: all .2s;
}
.addons span b { font-weight: 500; color: var(--ink-soft); margin-inline-start: auto; }
.addons input:checked + span { border-color: var(--clay); background: rgba(180, 83, 42, .06); }
.addons input:checked + span::before {
  background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--clay);
}
.addons span:hover { border-color: var(--ink); }

.summary { background: var(--sand); border-radius: 18px; padding: 20px 22px; }
.summary__lines { display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-soft); }
.summary__lines div { display: flex; justify-content: space-between; gap: 12px; }
.summary__lines .muted { opacity: .75; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.summary__total span { font-weight: 500; }
.summary__total strong { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--clay); font-variant-numeric: tabular-nums; }
.form-error { color: #b03a2e; font-size: 14.5px; margin: -8px 0 0; min-height: 0; }
.form-error:empty { display: none; }
.fine { font-size: 13px; color: var(--ink-soft); text-align: center; margin: -10px 0 0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.faq__grid > div:first-child > p:last-child { color: var(--ink-soft); font-size: 18px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: clamp(20px, 2vw, 25px);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--sand); }
.faq__list details p { color: var(--ink-soft); padding-bottom: 26px; margin: 0; max-width: 620px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--sand); padding-top: clamp(80px, 10vw, 130px); }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 70px; border-bottom: 1px solid var(--line-light); }
.footer__big { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 10vw, 150px); line-height: .95; letter-spacing: -.02em; color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 60px; }
.footer h3 { font-size: 13px; letter-spacing: .14em; color: var(--ochre); font-weight: 500; margin-bottom: 14px; }
.footer p { font-size: 15px; color: rgba(243, 235, 223, .72); }
.logo--footer { margin-bottom: 16px; color: var(--paper); }
.footer__about { max-width: 300px; }
.news { display: flex; border-bottom: 1px solid rgba(243, 235, 223, .35); }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--paper); font: inherit; padding: 10px 0; text-align: right; }
.news input::placeholder { color: rgba(243, 235, 223, .45); }
.news input:focus { outline: none; }
.news button { background: none; border: 0; font-size: 22px; color: var(--ochre); padding: 0 6px; transition: transform .3s var(--ease); }
.news button:hover { transform: translateX(-4px); }
.news__msg { font-size: 13.5px !important; margin-top: 10px; color: var(--ochre) !important; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid var(--line-light); }
.footer__bottom p { font-size: 13px; margin: 0; color: rgba(243, 235, 223, .5); }

/* ---------- Dialog ---------- */
.confirm {
  border: 0; border-radius: var(--radius-lg); padding: 44px 40px 36px; max-width: 460px; width: calc(100% - 32px);
  background: var(--paper); color: var(--ink); text-align: center;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
}
.confirm::backdrop { background: rgba(20, 19, 15, .6); backdrop-filter: blur(6px); }
.confirm[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.confirm__moon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--night); display: grid; place-items: center; color: var(--ochre); }
.confirm__moon svg { width: 34px; height: 34px; }
.confirm h2 { font-family: var(--serif); font-size: 34px; margin-bottom: 12px; }
.confirm p { color: var(--ink-soft); }
.confirm__fine { font-size: 13px; }
.confirm .btn { margin-top: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__poster, .hero__video { animation: none; transform: none; }
  .marquee__track, .story__badge svg { animation: none; }
  .quotes__nav button[aria-selected="true"]::after { animation: none; transform: scaleX(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .exp__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 300px 320px; grid-template-areas: "tall a" "tall b" "wide wide"; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav__cta { display: none; }
  .nav__burger {
    display: grid; place-items: center; align-content: center; gap: 6px; margin-inline-start: auto;
    width: 46px; height: 46px; border: 0; background: transparent; position: relative; z-index: 2;
  }
  .nav__burger span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
    background: var(--night); color: var(--paper); font-family: var(--serif); font-size: 30px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .logo { position: relative; z-index: 2; }
  .nav__cta-mobile { display: inline-flex; margin-top: 18px; font-family: var(--sans); }
  .nav.is-scrolled .nav__cta-mobile { background: var(--sand); color: var(--night); }

  .story__grid, .kitchen__grid, .booking__grid, .faq__grid, .sky__inner { grid-template-columns: 1fr; }
  .story__media { max-width: 560px; }
  .section__head { grid-template-columns: 1fr; gap: 18px; }
  .section__aside { justify-self: start; }
  .suites__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .suite--featured { margin-top: 0; }
  .booking__intro { position: static; }
  .sky__card { justify-self: stretch; width: 100%; max-width: 520px; }
  .sky__shade { background: linear-gradient(0deg, rgba(8, 9, 14, .85) 0%, rgba(8, 9, 14, .5) 100%); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .br-desktop { display: none; }
  .hero__content { padding-bottom: 28px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts { gap: 18px; font-size: 13px; }
  .hero__facts strong { font-size: 21px; margin-inline-end: 5px; }
  .hero__foot { align-items: flex-end; }
  .story__media { padding-inline-end: 34px; padding-bottom: 50px; }
  .story__badge { width: 100px; height: 100px; top: -26px; }
  .stats { gap: 14px; }
  .stats dd { font-size: 13px; }
  .exp__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; grid-auto-rows: 380px; }
  .exp__grid .card { grid-area: auto !important; }
  .bform__row, .addons { grid-template-columns: 1fr; }
  .seg span { font-size: 17px; padding-inline: 4px; }
  .sky__list strong { font-size: 20px; }
  .sky__card { padding: 24px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__cta { padding-bottom: 50px; }
  .menu span { font-size: 17px; }
}
