@charset "utf-8";

/* ════════════════════════════════════════════════════════════════════════════
   RIAD SEBTI — Fès, Morocco
   Editorial luxury. Warm limewash ground, espresso ink, one brass accent.
   Zellige appears as real geometry — a laid rosette, or a hairline field — and
   never as wallpaper competing with the photography.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #17120E;
  --ink-2:      #201913;
  --ink-3:      #2C231B;
  --sand:       #EFE7DA;
  --sand-2:     #F6F0E6;
  --bone:       #FCF9F4;

  --brass:      #A9834B;
  --brass-deep: #7A5A2C;   /* small text on light — 5.2:1 on --sand */
  --brass-2:    #C9A46C;   /* text on ink        — 8.1:1 on --ink  */
  --brass-3:    #E3CFA8;

  --muted:      #6B5B4B;   /* on light — 5.4:1 */
  --muted-ink:  #B9A891;   /* on ink   — 8.1:1 */
  --hair:       rgba(23, 18, 14, .14);
  --hair-light: rgba(252, 249, 244, .16);

  /* Fez glaze — used only inside the rosette */
  --glz-emerald: #1F5C4E;
  --glz-saffron: #C0913A;
  --glz-cobalt:  #274E77;
  --glz-terra:   #8A3B26;

  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:    "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --ease:      cubic-bezier(.32, .72, 0, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);

  --gutter:  clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(6rem, 12vw, 11rem);
  --maxw:    82rem;

  --r-lg: 1.75rem;
  --r-md: 1.125rem;
  --r-sm: .625rem;
}

/* ─────────────────────────── Reset ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--brass) var(--ink);
  scrollbar-width: thin;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: .004em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--brass); color: var(--bone); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: fixed; top: 0; left: 50%;
  transform: translate(-50%, -120%);
  z-index: 300; padding: .85rem 1.5rem;
  background: var(--ink); color: var(--bone);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .4s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ─────────────────────── Custom scrollbar ─────────────────────── */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brass-2), var(--brass));
  border: 3px solid var(--ink); border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--brass-3); }
::-webkit-scrollbar-corner { background: var(--ink); }

/* ─────────────────────── Fixed overlays ─────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 95; pointer-events: none;
  background: rgba(23, 18, 14, .07);
}
.progress i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brass-deep), var(--brass-2));
}

/* ════════════════════════════════════════════════════════════════
   PRELOADER — fifty tiles are laid, then the curtain lifts
   ════════════════════════════════════════════════════════════════ */
.pre {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bone);
}
.pre.is-done { pointer-events: none; }
.pre__slats { position: absolute; inset: 0; display: flex; }
.pre__slats span { flex: 1 1 20%; background: var(--ink); will-change: transform; }

.pre__stage {
  position: relative; z-index: 2;
  display: grid; justify-items: center;
  gap: clamp(1.6rem, 4vh, 2.6rem);
  padding: 0 var(--gutter);
}

.pre__rosette { width: clamp(148px, 21vmin, 230px); aspect-ratio: 1; }
.pre__rosette svg { width: 100%; height: 100%; overflow: visible; }
.pre__rosette .ros__t { will-change: transform, opacity; }

.pre__word {
  display: flex; align-items: baseline;
  font-family: var(--display);
  font-size: clamp(2.1rem, 6.4vw, 3.9rem);
  font-weight: 300; letter-spacing: .014em; line-height: 1;
}
.ch { display: block; overflow: hidden; }
.ch > i { display: block; font-style: normal; will-change: transform; }
.ch--sp { width: .32em; }

.pre__tag { overflow: hidden; }
.pre__tag span {
  display: block; will-change: transform;
  font-size: .66rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--brass-2);
}

.pre__meta {
  position: absolute; inset: auto var(--gutter) clamp(1.6rem, 4vw, 2.6rem) var(--gutter);
  display: flex; align-items: flex-end; justify-content: space-between;
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted-ink);
}
.pre__count { font-variant-numeric: tabular-nums; color: var(--brass-2); }
.pre__count i { font-style: normal; }
.pre__count em { font-style: normal; opacity: .55; margin-left: .12em; }

.pre__bar {
  position: absolute; left: var(--gutter); right: var(--gutter);
  bottom: clamp(1.1rem, 3vw, 1.9rem);
  height: 1px; background: var(--hair-light);
}
.pre__bar i {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--brass-2);
}

/* ════════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; z-index: 100;
  top: clamp(.85rem, 2vw, 1.4rem);
  left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: center; pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem);
  width: 100%; max-width: var(--maxw);
  padding: .5rem .5rem .5rem 1.15rem;
  border-radius: 99px;
  background: rgba(252, 249, 244, .74);
  border: 1px solid rgba(252, 249, 244, .5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset,
              0 18px 40px -24px rgba(23, 18, 14, .5);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: background .5s var(--ease), border-color .5s var(--ease),
              box-shadow .5s var(--ease), max-width .7s var(--ease);
}
.nav--over-dark .nav__pill {
  background: rgba(23, 18, 14, .4);
  border-color: rgba(252, 249, 244, .18);
  color: var(--bone);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset,
              0 18px 40px -26px rgba(0, 0, 0, .7);
}
.nav--tight .nav__pill { max-width: 48rem; }

.nav__brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.nav__mark {
  width: 20px; height: 20px; flex: none;
  background: currentColor; color: var(--brass);
  transition: transform .9s var(--ease), color .5s var(--ease);
  /* The khatem, as a clip — no SVG needed at this size. */
  clip-path: polygon(50% 0%, 64.6% 14.6%, 85.4% 14.6%, 85.4% 35.4%, 100% 50%,
                     85.4% 64.6%, 85.4% 85.4%, 64.6% 85.4%, 50% 100%, 35.4% 85.4%,
                     14.6% 85.4%, 14.6% 64.6%, 0% 50%, 14.6% 35.4%, 14.6% 14.6%, 35.4% 14.6%);
}
.nav--over-dark .nav__mark { color: var(--brass-2); }
.nav__brand:hover .nav__mark { transform: rotate(22.5deg) scale(1.08); }
.nav__name { font-family: var(--display); font-size: 1.28rem; font-weight: 500; letter-spacing: .015em; white-space: nowrap; }

.nav__links { display: flex; gap: clamp(.9rem, 2.2vw, 1.85rem); }
.nav__links a {
  display: block; overflow: hidden;
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .35rem 0; color: var(--muted);
  transition: color .35s var(--ease);
}
.nav--over-dark .nav__links a { color: rgba(252, 249, 244, .74); }
.nav__links a > span { display: block; transition: transform .55s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav--over-dark .nav__links a:hover { color: var(--bone); }
.nav__links a:hover > span { transform: translateY(-2px); }

.nav__actions { display: flex; align-items: center; gap: .5rem; }

.burger {
  position: relative; display: none;
  width: 42px; height: 42px; border-radius: 99px;
  border: 1px solid var(--hair);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav--over-dark .burger { border-color: var(--hair-light); }
.burger:hover { background: rgba(169, 131, 75, .12); }
.burger span {
  position: absolute; left: 50%; top: 50%;
  width: 17px; height: 1.4px; background: currentColor; border-radius: 2px;
  transition: transform .6s var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -4px); }
.burger span:nth-child(2) { transform: translate(-50%, 3px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .72rem .72rem .72rem 1.5rem;
  border-radius: 99px;
  font-size: .79rem; letter-spacing: .13em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: background .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease), filter .2s var(--ease);
  will-change: transform;
}
/* Press feedback uses filter, not transform — magnetic buttons own transform. */
.btn:active { filter: brightness(.9); }
.btn__dot {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 99px;
  background: rgba(252, 249, 244, .17);
  transition: transform .55s var(--ease), background .45s var(--ease);
}
.btn__dot svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn__dot { transform: translate(2px, -2px) scale(1.06); }

.btn--brass { background: var(--brass-deep); color: var(--bone); }
.btn--brass:hover { background: var(--ink); }
.btn--ghost { color: var(--bone); border: 1px solid rgba(252, 249, 244, .35); padding-right: 1.5rem; }
.btn--ghost:hover { background: rgba(252, 249, 244, .12); border-color: rgba(252, 249, 244, .6); }
.btn--outline { color: var(--ink); border: 1px solid var(--hair); }
.btn--outline .btn__dot { background: rgba(23, 18, 14, .07); }
.btn--outline:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--outline:hover .btn__dot { background: rgba(252, 249, 244, .17); }

.btn--sm { padding: .55rem .55rem .55rem 1.15rem; font-size: .71rem; gap: .6rem; }
.btn--sm .btn__dot { width: 26px; height: 26px; }
.btn--lg { padding: .95rem .95rem .95rem 1.85rem; font-size: .81rem; }
.btn--lg .btn__dot { width: 36px; height: 36px; }
.btn--lg .btn__dot svg { width: 15px; height: 15px; }
/* width:100% plus the card's margin-inline would push the button past its
   container — let the grid stretch it instead. */
.btn--block { display: flex; width: auto; justify-content: space-between; }

/* ════════════════════════════════════════════════════════════════
   MENU
   ════════════════════════════════════════════════════════════════ */
.menu { position: fixed; inset: 0; z-index: 99; color: var(--bone); }
.menu__bg { position: absolute; inset: 0; background: rgba(23, 18, 14, .94); backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px); }
.menu__grid {
  position: relative; height: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(6.5rem, 14vh, 9rem) var(--gutter) clamp(2rem, 6vh, 3.5rem);
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.15fr .85fr; align-items: center;
}
.menu__nav ul { display: grid; gap: clamp(.1rem, 1vh, .45rem); }
.menu__nav li { overflow: hidden; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: clamp(.25rem, 1vh, .6rem) 0;
  font-family: var(--display);
  font-size: clamp(2rem, 5.6vw, 4.2rem);
  font-weight: 300; line-height: 1.05;
  color: rgba(252, 249, 244, .62);
  transition: color .5s var(--ease), transform .7s var(--ease);
  will-change: transform;
}
.menu__nav a em { font-family: var(--sans); font-style: normal; font-size: .66rem; letter-spacing: .22em; color: var(--brass-2); opacity: .7; }
.menu__nav a:hover { color: var(--bone); transform: translateX(clamp(.4rem, 1.4vw, 1.1rem)); }

.menu__aside { display: grid; gap: 2rem; align-content: center; }
.menu__viewer { overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--hair-light); aspect-ratio: 4 / 3; background: var(--ink-2); }
.menu__viewer img { width: 100%; height: 100%; object-fit: cover; }
.menu__contact { display: grid; gap: .45rem; font-size: .9rem; color: var(--muted-ink); }
.menu__contact a { transition: color .35s var(--ease); width: fit-content; }
.menu__contact a:hover { color: var(--brass-2); }
.menu__mail { font-family: var(--display); font-size: 1.4rem; color: var(--bone) !important; }
.menu__addr { margin-top: .5rem; font-size: .82rem; line-height: 1.6; }

/* ════════════════════════════════════════════════════════════════
   PRIMITIVES
   ════════════════════════════════════════════════════════════════ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow, .chapter {
  display: flex; align-items: center; gap: .85rem;
  font-size: .69rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass-deep);
}
.eyebrow--light, .chapter--light { color: var(--brass-2); }
.chapter em { font-style: normal; font-variant-numeric: tabular-nums; opacity: .65; }
.rule { display: block; width: clamp(1.6rem, 4vw, 3rem); height: 1px; background: currentColor; opacity: .5; }

.h2 {
  font-family: var(--display);
  font-size: clamp(2.15rem, 5.4vw, 4.5rem);
  font-weight: 300; line-height: 1.04; letter-spacing: -.012em;
  margin-top: 1.4rem; max-width: 18ch;
}
.h2--light { color: var(--bone); }

/* Line-mask reveal scaffolding, written by the splitter in app.js */
.rv-line { display: block; overflow: hidden; }
.rv-line > span { display: block; will-change: transform; }

.frame {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ink-2);
  box-shadow: 0 40px 80px -60px rgba(23, 18, 14, .8);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame__tag {
  position: absolute; right: .9rem; top: .75rem;
  font-size: .64rem; letter-spacing: .2em;
  color: rgba(252, 249, 244, .8);
  text-shadow: 0 1px 10px rgba(23, 18, 14, .8);
}

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  /* Ink ground so the arch aperture opens out of the same darkness the
     preloader curtain leaves behind, with no cream flash between them. */
  background: var(--ink);
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(6rem, 13vh, 9rem) 0 0;
  color: var(--bone); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(23, 18, 14, .82) 22%, rgba(23, 18, 14, .16) 58%, rgba(23, 18, 14, .44) 100%),
    linear-gradient(to right, rgba(23, 18, 14, .66) 0%, rgba(23, 18, 14, .08) 55%),
    radial-gradient(120% 85% at 50% 45%, transparent 40%, rgba(23, 18, 14, .55) 100%);
}
/* A slow band of light crossing the courtyard — pure transform. */
.hero__sweep {
  position: absolute; top: -20%; bottom: -20%; width: 45%; left: -50%;
  background: linear-gradient(100deg, transparent, rgba(227, 207, 168, .12), transparent);
  transform: skewX(-14deg);
  animation: sweep 11s var(--ease) 2.2s infinite;
}
@keyframes sweep { 0% { transform: translateX(0) skewX(-14deg); } 55%, 100% { transform: translateX(330%) skewX(-14deg); } }

.hero__body { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); padding-bottom: clamp(2rem, 6vh, 3.5rem); }
.hero__eyebrow {
  color: var(--brass-3); margin-bottom: clamp(1.1rem, 3vh, 2rem);
  font-size: .69rem; letter-spacing: .26em; text-transform: uppercase;
  display: flex; align-items: center; gap: .85rem;
  text-shadow: 0 1px 12px rgba(23, 18, 14, .75);
}

.hero__title {
  font-family: var(--display);
  /* vh in the clamp keeps the three lines, the sub, the CTAs and the stats bar
     all inside one screen on laptop-height viewports. */
  font-size: clamp(2.9rem, min(8.6vw, 13.5vh), 7.8rem);
  font-weight: 300; line-height: .96; letter-spacing: -.022em;
  max-width: 15ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > i { display: block; font-style: normal; will-change: transform; }
.hero__title em { font-style: italic; color: var(--brass-3); }

.hero__sub {
  margin-top: clamp(1.3rem, 3.4vh, 2.1rem); max-width: 42ch;
  font-size: clamp(1rem, .95rem + .4vw, 1.22rem); line-height: 1.6;
  color: rgba(252, 249, 244, .84);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.8rem, 4vh, 2.8rem); }

.hero__rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: grid; gap: 3.5rem; justify-items: center;
  font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(252, 249, 244, .6);
}
.hero__coords { writing-mode: vertical-rl; }
.hero__scroll { display: grid; gap: .9rem; justify-items: center; }
.hero__scroll em { writing-mode: vertical-rl; font-style: normal; }
.hero__scrollline { width: 1px; height: 56px; background: rgba(252, 249, 244, .3); position: relative; overflow: hidden; }
.hero__scrollline::after { content: ""; position: absolute; inset: 0; background: var(--brass-2); animation: scrolltrack 2.4s var(--ease) infinite; }
@keyframes scrolltrack { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(1.1rem, 2.6vh, 1.8rem) var(--gutter);
  border-top: 1px solid rgba(252, 249, 244, .16);
  align-items: center;
}
.hero__stats li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .28rem;
  padding-inline: clamp(.4rem, 2vw, 1.5rem);
  position: relative;
}
.hero__stats li:not(:last-child)::after {
  content: "";
  position: absolute; right: 0; top: 12%; height: 76%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(252, 249, 244, .2), transparent);
}
.hero__stats b {
  font-family: var(--display); font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 400; color: var(--brass-3); line-height: 1;
}
.hero__stats span {
  font-size: clamp(.55rem, .5rem + .28vw, .67rem);
  letter-spacing: clamp(.12em, .18em, .22em);
  text-transform: uppercase;
  color: rgba(252, 249, 244, .7);
  line-height: 1.35;
}

/* ── Hero rotation ── */
.hero__slides { position: absolute; inset: 0; will-change: transform; }
.hero__slide { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.hero__slide:first-child { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__dots {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: clamp(7.5rem, 18vh, 11rem);
  display: grid; gap: .7rem; justify-items: center;
}
.hero__dots button {
  width: 9px; height: 9px; border-radius: 99px; padding: 0;
  background: rgba(252, 249, 244, .32);
  transition: background .45s var(--ease), transform .45s var(--ease);
}
.hero__dots button:hover { background: rgba(252, 249, 244, .6); }
.hero__dots button.is-on { background: var(--brass-2); transform: scale(1.45); }

/* ════════════════════════════════════════════════════════════════
   THE ESSENCE OF FEZ
   ════════════════════════════════════════════════════════════════ */
.essence { padding: var(--section) 0 clamp(3rem, 7vw, 5rem); }
.essence__cols {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2.2rem, 5vw, 3.5rem); align-items: start;
}
.essence__lead {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300; line-height: 1.28; letter-spacing: -.005em;
}
.essence__lead .w { display: inline-block; }
.essence__body { display: grid; gap: 1.2rem; color: var(--muted); max-width: 46ch; padding-top: .5rem; }

/* ════════════════════════════════════════════════════════════════
   THE SEBTI FAMILY
   ════════════════════════════════════════════════════════════════ */
.family {
  position: relative; isolation: isolate;
  padding: var(--section) 0; color: var(--bone); overflow: hidden;
}
.family__media { position: absolute; inset: -8% 0; z-index: -2; }
.family__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.family__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(23, 18, 14, .8) 26%, rgba(23, 18, 14, .78) 74%, var(--ink) 100%),
    linear-gradient(to right, rgba(23, 18, 14, .62), rgba(23, 18, 14, .18) 70%);
}
.family__wrap { position: relative; }
.family__cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid var(--hair-light);
}
.family__cols p { color: var(--muted-ink); font-size: .97rem; }
.family__cols p:first-child { color: rgba(252, 249, 244, .92); font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════════════ */
.marquee {
  background: var(--ink); color: var(--brass-3);
  border-block: 1px solid rgba(252, 249, 244, .1);
  overflow: hidden; padding: clamp(.9rem, 2vw, 1.35rem) 0;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__set span {
  font-family: var(--display); font-size: clamp(1.05rem, 2.1vw, 1.65rem);
  font-style: italic; font-weight: 300;
  padding-inline: clamp(1rem, 2.4vw, 2rem); white-space: nowrap;
}
.marquee__set i { flex: none; width: 7px; height: 7px; background: var(--brass); opacity: .55; transform: rotate(45deg); }

/* ════════════════════════════════════════════════════════════════
   THE DOOR — sticky stage, two leaves part on scroll
   ════════════════════════════════════════════════════════════════ */
.door { position: relative; height: 320vh; background: var(--ink); }
.door__stage {
  position: sticky; top: 0; height: 100svh;
  overflow: hidden; isolation: isolate;
  display: grid; place-items: center;
}

.door__scene { position: absolute; inset: 0; z-index: 0; }
.door__photo { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.door__haze {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 50% 55%, transparent 30%, rgba(23, 18, 14, .55) 100%),
    linear-gradient(to top, rgba(23, 18, 14, .7), transparent 45%);
}

/* Cedar leaves — plank seams, a carved panel, brass studs. */
.door__leaf {
  position: absolute; top: -1px; bottom: -1px; width: 50.4%;
  z-index: 2; will-change: transform;
  background:
    linear-gradient(92deg, #23150C 0%, #4A2E19 38%, #56371F 55%, #2B1A0F 100%);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, .6);
}
.door__leaf--l { left: 0; }
.door__leaf--r { right: 0; background: linear-gradient(268deg, #23150C 0%, #4A2E19 38%, #56371F 55%, #2B1A0F 100%); }

.door__grain {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.42) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(255,225,180,.05) 0 2px, transparent 2px 23px),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(0,0,0,.5) 118px 121px);
}
.door__carve {
  position: absolute; left: 12%; right: 12%; top: 16%; bottom: 16%;
  border: 1px solid rgba(227, 207, 168, .16);
  border-radius: 46% 46% 6px 6px / 26% 26% 6px 6px;
  background: url("../svg/rosette-line.svg") center / 74% no-repeat;
  opacity: .42;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .55);
}
.door__studs {
  position: absolute; left: 12%; right: 12%; top: 16%; bottom: 16%;
  background-image: radial-gradient(circle, rgba(227, 207, 168, .5) 0 1.6px, transparent 2px);
  background-size: 100% 46px; background-position: 3px 0;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, #000 0 6px, transparent 6px calc(100% - 6px), #000 calc(100% - 6px) 100%);
          mask-image: linear-gradient(90deg, #000 0 6px, transparent 6px calc(100% - 6px), #000 calc(100% - 6px) 100%);
}
/* A knocker on each leaf, mirrored about the seam, sitting low enough to stay
   clear of the headline that spans the closed doors. */
.door__ring--r { left: 8%; }
.door__ring--l { right: 8%; }
.door__ring {
  position: absolute; top: 72%; transform: translateY(-50%);
  width: clamp(38px, 5vw, 64px); aspect-ratio: 1;
  border-radius: 99px;
  border: 3px solid rgba(201, 164, 108, .85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 240, 210, .5);
}
.door__ring span {
  position: absolute; left: 50%; top: -9px; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 3px;
  background: linear-gradient(180deg, #E3CFA8, #8A6733);
}

.door__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; z-index: 3;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85) 12%, rgba(0,0,0,.85) 88%, transparent);
  will-change: opacity;
}

.door__words {
  position: relative; z-index: 4;
  display: grid; justify-items: center; gap: 1.1rem;
  text-align: center; color: var(--bone);
  padding-inline: var(--gutter); max-width: min(90vw, 34rem);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .7);
  will-change: transform, opacity;
}
.door__h { font-family: var(--display); font-size: clamp(2rem, 5.6vw, 4.2rem); font-weight: 300; line-height: 1.05; letter-spacing: -.015em; }
.door__p { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-2); }

.door__inside {
  position: absolute; z-index: 1;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(90vw, 46rem); text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter);
  opacity: 0; will-change: transform, opacity;
}
/* A soft pool of shade so the line stays legible over pale plaster. */
.door__inside::before {
  content: ""; position: absolute; inset: -10% -6%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(23, 18, 14, .62), transparent 72%);
  z-index: -1;
}
.door__inside-h {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.6vw, 2.9rem);
  font-weight: 300; line-height: 1.22; color: var(--bone);
  text-shadow: 0 2px 40px rgba(23, 18, 14, .8);
}

/* ════════════════════════════════════════════════════════════════
   MANIFESTO
   ════════════════════════════════════════════════════════════════ */
.manifesto { padding: var(--section) 0 clamp(3rem, 7vw, 5rem); }
.manifesto__text {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  font-weight: 300; line-height: 1.26; letter-spacing: -.006em;
  max-width: 26ch;
}
.manifesto__text .w { display: inline-block; }

/* ════════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════════ */
.house { padding-bottom: var(--section); }
.house__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 2.4vw, 2.25rem);
  align-items: start;
}
.house__fig { will-change: transform; }
.house__fig .frame { aspect-ratio: 4 / 3; }
.house__fig img { transition: transform 1.1s var(--ease); }
.house__fig:hover img { transform: scale(1.045); }

/* Rows are explicit: auto-placement plus negative margins let the tall
   portrait figures collide with each other. */
.house__fig--a { grid-column: 1 / span 7;  grid-row: 1; }
.house__fig--b { grid-column: 8 / span 5;  grid-row: 1; margin-top: clamp(2.5rem, 7vw, 6rem); }
.house__fig--b .frame { aspect-ratio: 4 / 5; }
.house__fig--c { grid-column: 2 / span 6;  grid-row: 2; margin-top: clamp(-8rem, -11vw, -2rem); }
.house__fig--d { grid-column: 9 / span 4;  grid-row: 2; }
.house__fig--d .frame { aspect-ratio: 3 / 4; }

.house__fig figcaption { display: grid; gap: .18rem; margin-top: .95rem; padding-left: .1rem; }
.house__fig figcaption b { font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.house__fig figcaption span { font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ════════════════════════════════════════════════════════════════
   SUITES
   ════════════════════════════════════════════════════════════════ */
.rooms { padding: var(--section) 0; background: var(--sand-2); overflow: hidden; }
.rooms__lede { margin-top: 1.35rem; max-width: 54ch; color: var(--muted); }

.rooms__viewport {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.rooms__track {
  display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem);
  padding-inline: var(--gutter);
  max-width: var(--maxw); margin-inline: auto;
}

.room { display: grid; gap: 1.5rem; align-content: start; }
.room__media { aspect-ratio: 4 / 3; }
.room__media img { transition: transform 1.2s var(--ease); }
.room:hover .room__media img { transform: scale(1.04); }
.room__idx {
  position: absolute; left: 1.1rem; top: .85rem;
  font-family: var(--display); font-size: 2.4rem; font-weight: 400; line-height: 1;
  color: rgba(252, 249, 244, .85); text-shadow: 0 2px 20px rgba(23, 18, 14, .7);
}

.room__body { display: grid; gap: .85rem; }
.room__view { font-size: .69rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); }
.room__name { font-family: var(--display); font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 300; line-height: 1.05; letter-spacing: -.01em; }
.room__name em { font-style: italic; color: var(--brass); display: block; }

.room__spec { display: flex; flex-wrap: wrap; gap: 1.4rem; padding-top: .2rem; }
.room__spec li { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.room__spec b { font-family: var(--display); font-size: 1.35rem; font-weight: 500; color: var(--ink); letter-spacing: 0; }

.room__note { color: var(--muted); font-size: .95rem; max-width: 40ch; }
.room__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.room__tags li { padding: .3rem .78rem; border-radius: 99px; border: 1px solid var(--hair); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.room__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-top: .4rem; padding-top: 1.15rem;
  border-top: 1px solid var(--hair);
}
.room__price { display: flex; align-items: baseline; gap: .45rem; }
.room__price em { font-style: normal; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.room__price b { font-family: var(--display); font-size: 2rem; font-weight: 400; }
.room__price span { font-size: .76rem; color: var(--muted); }

.rooms__hint { display: none; }

/* ════════════════════════════════════════════════════════════════
   CRAFT
   ════════════════════════════════════════════════════════════════ */
.craft { position: relative; isolation: isolate; padding: var(--section) 0; background: var(--ink); color: var(--bone); overflow: hidden; }
/* Centred with auto margins rather than translateY, so the transform property
   is left entirely to GSAP - sharing it was why the rotation sometimes stuck.
   Pushed far enough right that only just over half the panel is on screen. */
.craft__rosette {
  position: absolute; z-index: -1;
  right: -26%; top: 0; bottom: 0; margin-block: auto;
  width: min(86vw, 54rem); height: min(86vw, 54rem);
  background: url("../svg/rosette-line.svg") center / contain no-repeat;
  opacity: .2; will-change: transform;
}
.craft__wrap { position: relative; }
/* No max-width here: `ch` on a body-font container resolves far narrower than
   it looks and crushes the display heading inside it. The h2 governs itself. */
.craft__head { max-width: 46rem; }
.craft__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
  margin-top: clamp(3rem, 7vw, 5.5rem); max-width: 58rem;
}
.craft__item { display: grid; gap: .8rem; padding-top: 1.4rem; border-top: 1px solid var(--hair-light); }
.craft__item em { font-style: normal; font-size: .67rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-2); opacity: .8; }
.craft__item h3 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 400; }
.craft__item p { color: var(--muted-ink); font-size: .94rem; }
.craft__item i { font-style: italic; color: var(--brass-3); }

/* ════════════════════════════════════════════════════════════════
   THE TABLE
   ════════════════════════════════════════════════════════════════ */
.table { padding: var(--section) 0; }
.table__wrap { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.table__head { position: sticky; top: clamp(6rem, 14vh, 9rem); }
.table__lede { margin-top: 1.4rem; max-width: 40ch; color: var(--muted); }
.table__head .btn { margin-top: 1.9rem; }

.menu-list { position: relative; }
.menu-list ul { border-top: 1px solid var(--hair); }
.menu-list li {
  position: relative; display: grid; gap: .35rem;
  grid-template-columns: 1fr auto; align-items: baseline;
  padding: clamp(1.3rem, 3vw, 2.1rem) 0;
  border-bottom: 1px solid var(--hair);
  transition: padding-left .6s var(--ease); cursor: default;
}
.menu-list li:hover { padding-left: clamp(.5rem, 1.6vw, 1.3rem); }
.menu-list li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 2px;
  background: var(--brass); transform: scaleY(0); transform-origin: 50% 0;
  transition: transform .6s var(--ease);
}
.menu-list li:hover::before { transform: scaleY(1); }
.menu-list h3 { font-family: var(--display); font-size: clamp(1.45rem, 2.9vw, 2.15rem); font-weight: 400; line-height: 1.1; transition: color .5s var(--ease); }
.menu-list li:hover h3 { color: var(--brass-deep); }
.menu-list p { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; max-width: 52ch; }
.menu-list li > span { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.menu-list__peek {
  position: absolute; z-index: 5; top: 0; left: 0;
  width: clamp(150px, 17vw, 230px); aspect-ratio: 4 / 3;
  border-radius: var(--r-sm); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(23, 18, 14, .65);
  opacity: 0; transform: scale(.9); pointer-events: none;
  will-change: transform, opacity;
}
.menu-list__peek img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; will-change: opacity;
}
.menu-list__peek img[data-dish-b] { opacity: 0; }

/* ════════════════════════════════════════════════════════════════
   DISCOVER FEZ
   ════════════════════════════════════════════════════════════════ */
.discover {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end; min-height: 100svh;
  padding: var(--section) 0 clamp(3rem, 8vw, 6rem);
  color: var(--bone); overflow: hidden;
}
.discover__media { position: absolute; inset: -8% 0; z-index: -2; }
.discover__img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.discover__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(23, 18, 14, .88) 34%, rgba(23, 18, 14, .42) 72%, rgba(23, 18, 14, .3) 100%),
    linear-gradient(to right, rgba(23, 18, 14, .82) 0%, rgba(23, 18, 14, .34) 46%, transparent 72%);
}
.discover__body { position: relative; }
.discover__text {
  margin-top: 1.6rem; max-width: 52ch;
  font-size: clamp(1rem, .95rem + .35vw, 1.18rem);
  color: rgba(252, 249, 244, .88);
}
.discover__text b { font-weight: 400; color: var(--brass-3); }
.discover .btn { margin-top: clamp(1.8rem, 4vw, 2.6rem); }

/* ════════════════════════════════════════════════════════════════
   RESERVE
   ════════════════════════════════════════════════════════════════ */
.reserve { padding: var(--section) 0; background: var(--sand-2); }
.reserve__wrap { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); align-items: start; }
.reserve__perks { display: grid; gap: .95rem; margin-top: clamp(2rem, 5vw, 3rem); }
.reserve__perks li { display: flex; align-items: center; gap: .9rem; color: var(--muted); }
.reserve__perks svg { flex: none; width: 17px; height: 17px; fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.reserve__direct {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--hair);
  max-width: 34rem; color: var(--muted); font-size: .95rem;
}
.reserve__direct a {
  color: var(--brass-deep);
  border-bottom: 1px solid rgba(122, 90, 44, .4);
  padding-bottom: 1px;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.reserve__direct a:hover { color: var(--ink); border-color: var(--ink); }

.booking {
  display: grid; gap: 1rem;
  padding-block: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: rgba(23, 18, 14, .05);
  border: 1px solid var(--hair);
}
.booking > * { margin-inline: clamp(.9rem, 2vw, 1.4rem); }
.booking__title { font-family: var(--display); font-size: 1.6rem; font-weight: 400; padding-bottom: .9rem; border-bottom: 1px solid var(--hair); }

.field { display: grid; gap: .5rem; position: relative; }
.field__label { font-size: .67rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field__control {
  display: flex; align-items: center; gap: .7rem;
  width: 100%; min-height: 3.15rem; padding: 0 1rem;
  border-radius: var(--r-sm); background: var(--bone);
  border: 1px solid var(--hair); text-align: left; font-size: .95rem;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.field__control:hover { border-color: rgba(23, 18, 14, .3); }
.field__control:focus-within,
button.field__control:focus-visible { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169, 131, 75, .16); }
#dateTrigger { cursor: pointer; }
#dateTrigger span { color: var(--muted); transition: color .35s var(--ease); }
#dateTrigger span.is-set { color: var(--ink); }
#dateTrigger i { font-style: normal; color: var(--brass); }

.field__control--select { position: relative; padding: 0; }
.field__control--select select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 3.05rem; padding: 0 2.6rem 0 1rem; background: none; border: 0; cursor: pointer; border-radius: var(--r-sm); }
.field__control--select select:focus { outline: none; }
.field__control--select svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; pointer-events: none; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.booking__row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.booking__estimate { font-size: .83rem; color: var(--muted); padding: .8rem 1rem; border-radius: var(--r-sm); background: rgba(169, 131, 75, .1); border: 1px solid rgba(169, 131, 75, .2); }
.booking__estimate b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.booking__estimate span { display: block; margin-top: .15rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.booking__fine { font-size: .73rem; line-height: 1.5; color: var(--muted); text-align: center; }

.cal {
  position: absolute; z-index: 30; top: calc(100% + .55rem); left: 0;
  width: min(34rem, calc(100vw - 2 * var(--gutter)));
  padding: 1.1rem; border-radius: var(--r-md);
  background: var(--bone); border: 1px solid var(--hair);
  box-shadow: 0 40px 80px -40px rgba(23, 18, 14, .45);
}
.cal[hidden] { display: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .9rem; }
.cal__title { font-family: var(--display); font-size: 1.12rem; font-weight: 500; }
.cal__nav { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; border: 1px solid var(--hair); transition: background .35s var(--ease), border-color .35s var(--ease); }
.cal__nav:hover { background: var(--sand); border-color: var(--brass); }
.cal__nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cal__nav[disabled] { opacity: .3; pointer-events: none; }

.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.cal__month { width: 100%; border-collapse: collapse; }
.cal__month caption { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-bottom: .7rem; }
.cal__month th { font-size: .61rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: .35rem; }
.cal__month td { padding: 1px; }
.cal__day { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; font-size: .79rem; font-variant-numeric: tabular-nums; border-radius: var(--r-sm); transition: background .3s var(--ease), color .3s var(--ease); }
.cal__day:hover:not([disabled]) { background: rgba(169, 131, 75, .16); }
.cal__day[disabled] { color: rgba(23, 18, 14, .22); cursor: default; }
.cal__day.is-in-range { background: rgba(169, 131, 75, .14); border-radius: 0; }
.cal__day.is-edge { background: var(--brass-deep); color: var(--bone); }
.cal__day.is-start { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.cal__day.is-end { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.cal__day.is-edge.is-solo { border-radius: var(--r-sm); }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 3px; height: 3px; border-radius: 99px; background: var(--brass); }
.cal__day.is-edge.is-today::after { background: var(--bone); }
.cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--hair); font-size: .79rem; color: var(--muted); }
.cal__clear { font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.foot { position: relative; isolation: isolate; background: var(--ink); color: var(--bone); padding-top: clamp(4rem, 9vw, 7rem); overflow: hidden; }
.foot__rosette {
  position: absolute; z-index: -1;
  left: 50%; bottom: -42%; transform: translateX(-50%);
  width: min(120vw, 62rem); aspect-ratio: 1;
  background: url("../svg/rosette-line.svg") center / contain no-repeat;
  opacity: .13;
}
.foot__wrap { display: grid; gap: clamp(2.5rem, 6vw, 4rem); grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); padding-bottom: clamp(3rem, 7vw, 5rem); }
.foot__brand img { width: clamp(160px, 18vw, 220px); height: auto; opacity: .95; }
.foot__brand p { margin-top: 1.4rem; color: var(--muted-ink); font-size: .91rem; max-width: 34ch; }
.foot__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.foot__nav > div { display: grid; gap: .55rem; align-content: start; }
.foot__nav .eyebrow { margin-bottom: .5rem; }
.foot__nav a, .foot__addr { font-size: .89rem; color: var(--muted-ink); }
.foot__nav a { width: fit-content; transition: color .35s var(--ease); }
.foot__nav a:hover { color: var(--brass-2); }
.foot__addr { line-height: 1.6; }
.foot__base {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem;
  border-top: 1px solid var(--hair-light);
  font-size: .73rem; letter-spacing: .1em; color: rgba(252, 249, 244, .5);
}
.foot__legal { display: flex; gap: 1.4rem; }
.foot__legal a { transition: color .35s var(--ease); }
.foot__legal a:hover { color: var(--brass-2); }

/* ════════════════════════════════════════════════════════════════
   SUITE PAGES
   ════════════════════════════════════════════════════════════════ */
.page-suite { background: var(--sand); }

.crumb {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  margin-bottom: clamp(1.2rem, 3vh, 2rem);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(252, 249, 244, .6);
}
.crumb a { transition: color .35s var(--ease); }
.crumb a:hover { color: var(--brass-3); }
.crumb [aria-current] { color: var(--brass-3); }

.shero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(88svh, 54rem);
  padding: clamp(7rem, 16vh, 10rem) 0 clamp(2.5rem, 6vh, 4rem);
  color: var(--bone); background: var(--ink); overflow: hidden;
}
.shero__media { position: absolute; inset: 0; z-index: -2; }
.shero__img { width: 100%; height: 100%; object-fit: cover; }
.shero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(23, 18, 14, .84) 34%, rgba(23, 18, 14, .2) 78%),
    linear-gradient(to right, rgba(23, 18, 14, .74), rgba(23, 18, 14, .1) 62%);
}
.shero__body { position: relative; }
.shero__view { font-size: .69rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass-2); }
.shero__title {
  margin-top: .8rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  font-weight: 300; line-height: 1.02; letter-spacing: -.02em; max-width: 16ch;
}
.shero__title em { font-style: italic; color: var(--brass-3); }
.shero__lede { margin-top: 1.1rem; max-width: 46ch; color: rgba(252, 249, 244, .84); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }

.shero__facts {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: clamp(1.8rem, 4vh, 2.6rem); padding-top: 1.5rem;
  border-top: 1px solid var(--hair-light);
}
.shero__facts li { display: flex; align-items: baseline; gap: .45rem; }
.shero__facts b { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 400; color: var(--brass-3); line-height: 1; }
.shero__facts span { font-size: .69rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(252, 249, 244, .66); }
.shero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.6rem, 4vh, 2.4rem); }

.sabout { padding: var(--section) 0 clamp(3rem, 7vw, 5rem); }
.sabout__wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.sabout__body {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 300; line-height: 1.4; max-width: 34ch;
}

.spec { display: grid; border-top: 1px solid var(--hair); }
.spec > div {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--hair);
}
.spec dt { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: .18rem; }
.spec dd { margin: 0; font-size: .98rem; }

.suite { padding-bottom: var(--section); }
.suite__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem); margin-top: clamp(2rem, 5vw, 3.5rem);
}
.suite__shot--wide { grid-column: 1 / -1; }
.suite__zoom {
  display: block; width: 100%; overflow: hidden; cursor: zoom-in;
  border-radius: var(--r-md); background: transparent;
  box-shadow: 0 40px 80px -60px rgba(23, 18, 14, .8);
}
.suite__zoom img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.suite__shot--wide .suite__zoom img { aspect-ratio: 3 / 2; }
.suite__zoom:hover img { transform: scale(1.04); }

.amen { padding: var(--section) 0; background: var(--ink); color: var(--bone); }
.amen__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: .2rem 2rem; margin-top: clamp(2.5rem, 6vw, 4rem);
}
.amen__grid li {
  display: flex; align-items: center; gap: .9rem;
  padding: .95rem 0; border-bottom: 1px solid var(--hair-light);
  font-size: .95rem; color: rgba(252, 249, 244, .88);
}
.amen__grid svg { flex: none; width: 21px; height: 21px; color: var(--brass-2); }
.amen__dot { flex: none; width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); }

.reserve__rate { margin-top: clamp(1.4rem, 3vw, 2rem); max-width: 52ch; color: var(--muted); }

.peers { padding-bottom: var(--section); }
.peers__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem); margin-top: clamp(2rem, 5vw, 3.5rem);
}
.peer { display: grid; gap: .85rem; }
.peer__media { aspect-ratio: 3 / 2; }
.peer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.peer:hover .peer__media img { transform: scale(1.05); }
.peer__name { font-family: var(--display); font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.peer__name em { font-style: italic; color: var(--brass-deep); }
.peer__meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: rgba(12, 9, 7, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: clamp(3rem, 8vw, 6rem);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(92vw, 74rem); max-height: 84svh;
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9);
}
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 99px;
  border: 1px solid rgba(252, 249, 244, .22); color: var(--bone);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(252, 249, 244, .14); border-color: rgba(252, 249, 244, .5); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 1.75rem); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 1.75rem); }
.lightbox__close svg, .lightbox__nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__count {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(252, 249, 244, .66); font-variant-numeric: tabular-nums;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.4rem); align-items: center; }
  .room__media { aspect-ratio: auto; height: min(54vh, 27rem); }
  .room__body { align-content: center; }
  .room:nth-child(even) { direction: rtl; }
  .room:nth-child(even) > * { direction: ltr; }
}

@media (max-width: 1080px) {
  .table__wrap { grid-template-columns: 1fr; }
  .table__head { position: static; }
  .menu-list__peek { display: none; }
  .reserve__wrap { grid-template-columns: 1fr; }
  .foot__wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav--tight .nav__pill { max-width: none; }

  .menu__grid { grid-template-columns: 1fr; align-content: start; gap: 2rem; }
  .menu__aside { display: none; }

  .hero__rail { display: none; }
  .hero__stats {
    padding: clamp(.9rem, 2.2vh, 1.4rem) var(--gutter);
  }
  .hero__stats li {
    padding-inline: clamp(.2rem, 1.5vw, .8rem);
  }
  .hero__stats span {
    letter-spacing: .1em;
    font-size: .56rem;
  }

  .door { height: 260vh; }
  .door__ring { display: none; }

  .house__grid { grid-template-columns: 1fr; }
  .house__fig--a, .house__fig--b, .house__fig--c, .house__fig--d { grid-column: 1 / -1; margin-top: 0; }
  .house__fig--b .frame, .house__fig--d .frame { aspect-ratio: 4 / 3; }

  .craft__list { grid-template-columns: 1fr; }
  .craft__rosette { right: -40%; opacity: .14; }

  .essence__cols { grid-template-columns: 1fr; }
  .family__cols { grid-template-columns: 1fr; gap: 1.2rem; }
  /* Clear of the copy: a horizontal row tucked under the nav instead of a
     vertical column sitting on top of the paragraph. */
  .hero__dots {
    left: auto; right: var(--gutter); bottom: auto;
    top: clamp(5.2rem, 13vh, 7rem);
    grid-auto-flow: column; transform: none;
  }


  .cal__months { grid-template-columns: 1fr; }
  .cal { left: auto; right: 0; }
  .foot__nav { grid-template-columns: 1fr 1fr; }

  .sabout__wrap { grid-template-columns: 1fr; }
  .suite__grid { grid-template-columns: 1fr; }
  .suite__shot--wide { grid-column: auto; }
  .peers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shero__facts { gap: 1.2rem 2rem; }
}

@media (max-width: 560px) {
  .hero__stats { padding: .85rem clamp(.4rem, 2.5vw, .9rem); }
  .hero__stats li { padding-inline: .15rem; gap: .2rem; }
  .hero__stats b { font-size: 1.25rem; }
  .hero__stats span { font-size: .52rem; letter-spacing: .07em; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .booking__row { grid-template-columns: 1fr; }
  .foot__nav { grid-template-columns: 1fr; }
  .peers__grid { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 1fr; gap: .2rem; }
  .shero__cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .foot__base { flex-direction: column; align-items: flex-start; }
}

@media (hover: none) {
  .menu-list__peek { display: none; }
  .house__fig:hover img, .room:hover .room__media img { transform: none; }
}

/* ════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__scrollline::after, .hero__sweep { animation: none; }
  .hero__sweep { display: none; }
  .marquee__track { transform: none !important; }
  /* Doors stay open so the courtyard is never hidden behind a scroll effect. */
  .door { height: auto; }
  .door__stage { position: relative; height: auto; min-height: 70svh; padding-block: var(--section); }
  .door__leaf, .door__seam { display: none; }
  .door__inside { position: relative; left: auto; top: auto; transform: none; opacity: 1; }
  .door__words { display: none; }
}
