/* ===========================================================
   SAMUDRA — Shared design tokens & base
   Inspired by Maybourne's editorial / cinematic luxury aesthetic
   =========================================================== */

:root {
  /* Palette — white base (per Daniel 2026-05-19) + deep coastal teal + ink */
  --paper:        #FFFFFF;      /* base background (white) */
  --paper-soft:   #F6F3EC;      /* recessed surface (subtle hover) */
  --paper-deep:   #E4DDCF;      /* hairline rules / inset */
  --ink:          #2A2520;      /* primary text */
  --ink-soft:     #4A4138;
  --ink-mute:     #6E6456;      /* secondary text / labels */
  --teal:         #2E5E3A;      /* camp foliage green (signature) */
  --teal-deep:    #1C3A23;
  --sand:         #C7A878;      /* warm sand accent */
  --gold:         #2F6F8F;      /* sky/sea blue accent */

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script:  'Caveat', 'Bricolage Grotesque', cursive;
  --font-label:   'Hanken Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing rhythm */
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(72px, 11vw, 160px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Theme variant — applied via [data-theme="dusk"] on <html> */
html[data-theme="dusk"] {
  --paper:      #1C231C;
  --paper-soft: #28301F;
  --paper-deep: #3A4430;
  --ink:        #EFEAE0;
  --ink-soft:   #D8D2C6;
  --ink-mute:   #9E9A8C;
  --teal:       #8FB98F;
  --sand:       #C7A878;
  --gold:       #6FA8C4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--light { color: rgba(255,255,255,0.78); }

.display-xl {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.005em;
}
.display-l {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.005em;
}
.display-m {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.08;
}
.display-s {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: italic;
  font-size: 1.5em;
  line-height: 0.9;
  color: var(--gold);
}
.lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.65;
  color: var(--ink-soft);
}
p { font-family: var(--font-label); font-size: 17px; line-height: 1.65; color: var(--ink-soft); }

/* ---------- Rule lines ---------- */
.rule { height: 1px; width: 80px; background: var(--ink); opacity: 0.4; }
.rule--center { margin: 0 auto; }
.rule--vert { width: 1px; height: 80px; background: currentColor; opacity: 0.35; }
.rule--full { height: 1px; width: 100%; background: var(--paper-deep); }

.ornament { display: inline-flex; align-items: center; gap: 14px; color: var(--ink-mute); }
.ornament::before, .ornament::after {
  content:""; width: 36px; height: 1px; background: currentColor; opacity: 0.5;
}

/* ---------- Buttons / Links ---------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px;
  width: 100%; background: currentColor; transform-origin: left;
  transition: transform .5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0); transform-origin: right; }
.link-arrow .arr { display: inline-block; transition: transform .4s var(--ease); }
.link-arrow:hover .arr { transform: translateX(6px); }
/* P2-2 MOBILE FIX 2026-05-20: link-arrow tap target below 44px (~11px text height).
   Add min-height + vertical padding to meet the 44px touch target floor. */
@media (max-width: 880px) {
  .link-arrow {
    min-height: 44px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

.btn-ghost {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 16px 28px; border: 1px solid currentColor;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-solid {
  font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 16px 28px; background: var(--ink); color: var(--paper);
  transition: background .4s var(--ease);
}
.btn-solid:hover { background: var(--teal); }

/* ---------- Top nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  color: var(--paper);
  transition: background .5s var(--ease), color .5s var(--ease), border .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--paper-deep);
}
.nav__group { display: flex; gap: 34px; }
.nav__group--right { justify-content: flex-end; }
.nav__link {
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 6px 0; position: relative;
}
.nav__link::after {
  content:""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px;
  background: currentColor; transition: left .4s var(--ease), right .4s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { left: 0; right: 0; }

.brand {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; letter-spacing: 0.42em; text-transform: uppercase;
  text-align: center;
}
.brand small {
  display: block;
  font-family: var(--font-label); font-size: 9px;
  letter-spacing: 0.4em; text-transform: uppercase;
  margin-top: 4px; opacity: 0.7;
}

.nav__reserve {
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  padding: 10px 22px; border: 1px solid currentColor;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.nav__reserve:hover { background: currentColor; color: var(--paper); }
.nav.is-solid .nav__reserve:hover { background: var(--ink); color: var(--paper); }

/* ---------- Footer ---------- */
.foot {
  background: var(--teal);
  color: var(--paper);
  padding: 96px var(--gutter) 36px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(241,235,223,0.18);
}
.foot__brand { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.foot__brand .brand { text-align: left; font-size: 28px; }
.foot__brand p { color: rgba(241,235,223,0.7); font-size: 15px; line-height: 1.6; }
.foot__col h4 {
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(241,235,223,0.55);
  margin-bottom: 22px; font-weight: 400;
}
.foot__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot__col a {
  font-size: 15px; color: rgba(241,235,223,0.85);
  transition: color .3s var(--ease);
}
.foot__col a:hover { color: var(--paper); }
.foot__base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(241,235,223,0.5);
}

/* ---------- Photo frame ---------- */
.frame {
  position: relative;
  background-color: #d6c9b1;
  background-image:
    radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,0.45), transparent 60%),
    linear-gradient(135deg, #d6c9b1 0%, #b39d80 55%, #6e5e49 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: filter .8s var(--ease), opacity .8s var(--ease);
}
/* Editorial filter — warm, desaturated, soft sepia. Strong enough that
   randomly-sourced photos read as a single cinematic body of work. */
.frame.has-photo {
  filter: saturate(0.9) contrast(1.02) brightness(0.98) sepia(0);
}
/* Warm teal/amber duotone above the photo + bottom darkening band
   so the caption stays legible regardless of source image. */
.frame.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,16,12,0.06) 0%, rgba(12,16,12,0.04) 40%, rgba(8,14,10,0.40) 100%),
    linear-gradient(135deg, rgba(46,94,58,0.06), rgba(47,111,143,0.06));
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
/* Caption sits above overlay + grain, with a small protective pill */
.frame__caption {
  z-index: 2;
  padding: 6px 10px 6px 0;
  background: linear-gradient(90deg, rgba(8,14,16,0.55) 0%, rgba(8,14,16,0.3) 70%, transparent 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 1px;
}
/* Once a real photo has been assigned, hide the placeholder caption —
   its specific descriptor would mislabel a random landscape. The
   editorial filter alone holds the frame together. */
.frame.has-photo .frame__caption { display: none; }
.frame--teal {
  background-image:
    radial-gradient(120% 80% at 70% 15%, rgba(245,238,222,0.25), transparent 60%),
    linear-gradient(160deg, #2c5b54 0%, #1e443f 45%, #0e2522 100%);
  color: #f1ebdf;
}
.frame--dusk {
  background-image:
    radial-gradient(80% 60% at 50% 90%, rgba(255,193,140,0.45), transparent 70%),
    linear-gradient(180deg, #3a2f3a 0%, #6b4a4a 45%, #c4866b 100%);
  color: #f1ebdf;
}
.frame--ocean {
  background-image:
    radial-gradient(60% 60% at 60% 70%, rgba(255,255,255,0.18), transparent 80%),
    linear-gradient(180deg, #5d8a89 0%, #2e5a59 50%, #143230 100%);
  color: #f1ebdf;
}
.frame--sand {
  background-image:
    radial-gradient(120% 80% at 50% 30%, #f4e9d2 0%, #d9c4a0 55%, #a78863 100%);
  color: #1F1B17;
}
.frame--forest {
  background-image:
    radial-gradient(80% 80% at 30% 70%, rgba(255,255,255,0.15), transparent 70%),
    linear-gradient(160deg, #4a5e3d 0%, #2c3a25 60%, #14180e 100%);
  color: #f1ebdf;
}
.frame--stone {
  background-image:
    radial-gradient(120% 80% at 50% 20%, #efe7d8 0%, #b8ad96 60%, #6c6453 100%);
  color: #1F1B17;
}

/* Film-grain veneer */
.frame::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .35 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='.6'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.5; pointer-events: none;
}

.frame__caption {
  position: absolute; left: 22px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: currentColor; opacity: 0.78;
}
.frame__caption::before {
  content:""; width: 18px; height: 1px; background: currentColor;
}
.frame__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  color: currentColor; opacity: 0.55;
  pointer-events: none;
}
.frame__overlay svg { width: 38px; height: 38px; }

/* ---------- Reveal-on-scroll utility ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Container ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 880px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Section title block ---------- */
.section-head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 26px;
  padding: var(--section-y) var(--gutter) calc(var(--section-y) * 0.5);
}
.section-head .rule { background: var(--ink); opacity: 0.6; }

/* ---------- Tag list ---------- */
.tagline {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-label); font-size: 10px;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink-mute);
}
.tagline .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* ==========================================================
   PHASE 1 — MOBILE POLISH (BLOCKS A + B + D + E + H)
   2026-05-18 — MASON
   ========================================================== */

/* ---- BLOCK A1: Hamburger toggle button (hidden on desktop) ---- */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; color: currentColor;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__toggle svg { width: 24px; height: 24px; }
/* Drawer hidden on desktop — fixed fullscreen, only visible on mobile */
.nav__drawer { display: none; }

/* ---- BLOCK A1: Mobile nav + drawer ---- */
@media (max-width: 880px) {
  /* Grid: toggle | brand | (right group hidden) → use 3-col: auto 1fr auto */
  .nav {
    grid-template-columns: auto 1fr auto;
    padding: 16px var(--gutter);
  }
  /* Desktop groups hidden — toggle takes their column slot */
  .nav__group { display: none; }
  /* Place brand in center col, toggle in last col */
  .brand { grid-column: 2; grid-row: 1; font-size: 18px; letter-spacing: 0.32em; text-align: center; }
  .brand small { font-size: 8px; }
  .nav__toggle { display: inline-flex; grid-column: 3; grid-row: 1; }

  /* Full-screen drawer */
  .nav__drawer {
    position: fixed; inset: 0;
    background: var(--paper);
    color: var(--ink);
    z-index: 60;
    display: flex; flex-direction: column; /* override global display:none */
    padding: 88px var(--gutter) 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }
  .nav__drawer.is-open { transform: translateX(0); }

  /* Drawer nav links */
  .nav__drawer .nav__link {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.04em;
    text-transform: none;
    padding: 16px 0;
    border-bottom: 1px solid var(--paper-deep);
    color: var(--ink);
  }
  .nav__drawer .nav__link::after { display: none; }

  /* Reserve CTA inside drawer */
  .nav__drawer .nav__reserve {
    margin-top: 24px;
    padding: 18px 0;
    text-align: center;
    background: var(--ink); color: var(--paper);
    font-size: 12px;
    border: 0;
  }

  /* Lock body scroll when drawer is open */
  body.is-nav-open { overflow: hidden; }

  /* Footer: 2-col on tablet → 1-col on phone */
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .foot__grid { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; gap: 12px; text-align: center; }
}

/* ---- BLOCK A4: Hero min-height fix ---- */
@media (max-width: 640px) {
  .hero { min-height: 0; height: 100svh; }
  @supports not (height: 100svh) {
    .hero { height: 100vh; min-height: 560px; }
  }
  .hero__foot {
    flex-direction: column; gap: 16px;
    align-items: flex-start; text-align: left;
    padding-bottom: 24px;
  }
}

/* ---- BLOCK B1: Calendar day tap targets ---- */
@media (max-width: 880px) {
  .cal__month { padding: 14px; }
  .cal__day { max-width: none; min-height: 44px; font-size: 17px; }
}

/* P1-1 MOBILE FIX 2026-05-20: Calendar 308px min-width overflow at 360px
   repeat(7, minmax(44px,1fr)) = 308px + 28px padding = 336px > 320px usable.
   Fix: drop width floor, keep height floor for touch target. Reduce padding further
   at ≤380px to reclaim space. */
@media (max-width: 640px) {
  .cal__grid { grid-template-columns: repeat(7, 1fr) !important; }
  .cal__day { min-width: 0; min-height: 44px; }
}
@media (max-width: 380px) {
  .cal__month { padding: 8px; }
  .cal__day { min-height: 40px; font-size: 14px; }
}

/* ---- BLOCK B2: Stepper — horizontal scroll, no wrap ---- */
@media (max-width: 880px) {
  .stepper { overflow-x: auto; flex-wrap: nowrap; padding: 0 var(--gutter); scrollbar-width: none; }
  .stepper::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 auto; padding: 16px 18px; min-height: 56px; }
  .step__num { width: 32px; height: 32px; font-size: 16px; }
  /* P2-6 Stepper fade-edge scroll affordance: right fade hint that more steps exist */
  .stepper-wrap {
    position: relative;
  }
  .stepper-wrap::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 48px;
    background: linear-gradient(to left, var(--paper) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
  }
}

/* ---- BLOCK B3: Guest stepper +/- ---- */
@media (max-width: 880px) {
  .stepper-num button { width: 44px; height: 44px; font-size: 24px; }
}

/* ---- BLOCK B5: Form input touch-padding ---- */
@media (max-width: 880px) {
  .form__field input,
  .form__field textarea,
  .form__field select {
    padding: 12px 0;
    font-size: 18px;
    min-height: 44px;
  }
  .form__field select { padding: 12px 4px; }
}

/* ---- BLOCK B6: AI widget close/send tap targets ---- */
@media (max-width: 640px) {
  .sc-close { padding: 12px; min-width: 44px; min-height: 44px; }
  .sc-send { min-width: 56px; }
  .sc-input { font-size: 16px; padding: 14px 16px; min-height: 48px; }
}

/* ---- BLOCK D2: Booking strip — single column on mobile ---- */
@media (max-width: 640px) {
  .booking {
    grid-template-columns: 1fr;
    margin: -32px 16px 0;
  }
  .booking__intro,
  .field { border-right: 0; border-bottom: 1px solid var(--paper-deep); }
  .field { padding: 18px 24px; min-height: 56px; }
  .booking__cta { padding: 22px 24px; justify-content: center; }
}

/* ---- BLOCK A2: Reservations action bar — stack on mobile ---- */
@media (max-width: 640px) {
  .actions {
    flex-direction: column-reverse;
    gap: 14px;
    align-items: stretch;
  }
  .actions__back { text-align: center; padding: 12px 0; }
  .actions__next { width: 100%; padding: 18px 24px; text-align: center; }
}

/* ---- BLOCK E / A3: AI widget — shrink + reposition on mobile ---- */
@media (max-width: 640px) {
  #samudra-concierge-toggle {
    bottom: 16px; right: 16px;
    width: 48px; height: 48px;
  }
  @supports (padding: max(0px)) {
    #samudra-concierge-toggle {
      bottom: max(16px, env(safe-area-inset-bottom));
    }
  }
  /* On reservations page: push widget above fixed action bar */
  body[data-page="reservations"] #samudra-concierge-toggle {
    bottom: 84px;
  }
}

/* P1-2 MOBILE FIX 2026-05-20: AI panel full-bleed moved from ≤400px → ≤480px
   401-480px band (Pixel/Plus class 411-430px CSS px) previously got a 400px panel
   pinned right:12px leaving only ~12px left gap — asymmetric and cramped.
   Full-bleed now activates at 480px (merged with existing ≤480 block below). */
@media (max-width: 480px) {
  #samudra-concierge {
    bottom: 76px;
    right: 8px;
    left: 8px;
    width: auto;
    max-width: none;
    /* P2-5: swap 100vh → 100dvh so panel doesn't extend behind iOS Safari toolbar.
       @supports fallback for older browsers. */
    height: calc(100dvh - 96px);
    max-height: none;
  }
  @supports not (height: 100dvh) {
    #samudra-concierge { height: calc(100vh - 96px); }
  }
}

/* ---- BLOCK H: WCAG AA contrast fixes (footer on teal) ---- */
/* Bump footer text alpha to pass 4.5:1 AA against --teal (#1E443F) */
.foot__col h4 { color: rgba(241,235,223,0.72); }   /* was 0.55 → ~4.6:1 */
.foot__col a  { color: rgba(241,235,223,0.92); }   /* was 0.85 — raise slightly */
.foot__base   { color: rgba(241,235,223,0.70); }   /* was 0.5 → AA compliant */
.eyebrow--light { color: rgba(255,255,255,0.85); } /* was 0.78 */

/* Focus rings — WCAG 2.4.7 */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-ghost:focus-visible,
.btn-solid:focus-visible,
.nav__reserve:focus-visible,
.booking__cta:focus-visible,
.actions__next:focus-visible {
  outline-color: var(--paper);
  outline-offset: -4px;
}

/* Anchor scroll-margin (fixed nav offset) */
[id] { scroll-margin-top: 96px; }

/* ---- prefers-reduced-motion guard (Block H / global a11y) ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__media { transform: none !important; }
}

/* ==========================================================
   PHASE 2 — READABILITY + EFFECTS POLISH (BLOCKS F + G1–G4)
   2026-05-18 — MASON
   ========================================================== */

/* ===== BLOCK F — READABILITY TYPOGRAPHY ===== */

/* F1: Responsive body font — iOS no-zoom floor + mobile scale */
html, body {
  font-size: clamp(16px, 0.5vw + 14px, 17px);
}

/* F2: Paragraph readable max-width (~65ch) */
p { max-width: 65ch; }
/* Override for full-bleed / layout containers */
.welcome__body p, .featured__body p, .dining__body p, .summary p,
.foot__brand p, .sc-bubble, .room__body p, .section-head p,
.hero__sub, .lead { max-width: none; }

/* F3: Hero title — reduce mobile floor from 64px → 48px */
.hero__title { font-size: clamp(48px, 11vw, 168px); }

/* P0-2 MOBILE FIX 2026-05-20: pagehero h1 clamp floor 56px → 40px
   All 4 content pages (stay/dine/spa/experiences) share .pagehero h1 with
   clamp(56px,9vw,140px). At 360px usable ~320px, 56px serif overflows.
   index.html already had this exact fix (64→48). Lower to 40px here.
   Shared rule in styles.css beats per-page <style> (same specificity, later source). */
@media (max-width: 640px) {
  .pagehero h1 {
    font-size: clamp(40px, 9vw, 140px);
  }
  .pagehero h1 em {
    font-size: 0.82em; /* proportional adjustment */
  }
}

/* F4: Drop italic on hero sub at <600px (serif italic at small sizes loses legibility) */
@media (max-width: 600px) {
  .hero__sub { font-style: normal; font-size: 17px; }
}

/* F5: Boost legibility for secondary text on small screens */
@media (max-width: 880px) {
  .field__label, .room-card__title small, .room-card__price small,
  .frame__caption { opacity: 0.95; }
}

/* F6: Hero + footer meta contrast (AA on dark surfaces) */
.hero__foot, .hero__meta { color: rgba(244,236,214,0.88); }

/* F7: Smooth scroll global */
html { scroll-behavior: smooth; }

/* F8: Stagger reveal delays for grid choreography */
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

/* ===== BLOCK G1 — prefers-reduced-motion EXPANSION ===== */
/* Expanded guard: also covers reveal stagger + scroll parallax + skeleton */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal--d1, .reveal--d2, .reveal--d3 { transition-delay: 0s; }
  .skeleton { animation: none !important; background: var(--paper-soft) !important; }
  #samudra-concierge-toggle { transition-duration: 0.01ms !important; opacity: 1 !important; transform: none !important; }
  .booking-pop { transition-duration: 0.01ms !important; }
  .room-card, .journal__card, .venue, .exp__tile, .suite-card { transition: none !important; }
  body { transition: none !important; }
}

/* ===== BLOCK G2 — REVEAL-ON-SCROLL EXPANSION ===== */
/* G2a: Booking popover — class-based transition (replaces instant display:none/block) */
.booking-pop {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  display: block !important; /* always in DOM, visibility via opacity + pointer-events */
}
.booking-pop.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* G2b: Mobile bottom-sheet for booking popover */
@media (max-width: 640px) {
  .booking-pop {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-height: 70vh;
    overflow-y: auto;
    border: 0;
    border-top: 1px solid var(--paper-deep);
    transform: translateY(100%) !important;
    transform-origin: bottom;
    box-shadow: 0 -8px 40px rgba(10,14,20,0.18);
    padding: 32px 24px 24px; /* extra top padding for drag handle */
    min-width: 0;
    border-radius: 0;
  }
  /* P2-6 Drag handle visual affordance on bottom-sheet */
  .booking-pop::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--paper-deep);
  }
  .booking-pop.is-open {
    transform: translateY(0) !important;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ===== BLOCK G3 — HOVER LIFT (suite/room/journal cards) ===== */
.room-card, .journal__card, .venue, .exp__tile, .suite-card {
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.room-card:hover, .journal__card:hover {
  transform: translateY(-6px);
}
.room-card:hover .frame, .journal__card:hover .frame {
  box-shadow: 0 32px 80px rgba(10,14,20,0.18);
}
.venue:hover {
  transform: translateY(-4px);
}
.exp__tile:hover {
  transform: translateY(-4px);
}
.suite-card:hover {
  transform: translateY(-4px);
}
/* Disable lift on touch devices */
@media (hover: none) {
  .room-card:hover, .journal__card:hover,
  .venue:hover, .exp__tile:hover, .suite-card:hover {
    transform: none;
  }
}

/* ===== BLOCK G4 — IMAGE LAZY-LOAD FADE-IN ===== */
img {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
img.is-loaded, img[loading="eager"] { opacity: 1; }
/* Fallback: images without JS (or without loading attr) show immediately */
img:not([loading]) { opacity: 1; }

/* ===== BLOCK G4b — LOADING SKELETON (Samudra-styled) ===== */
.skeleton {
  background: linear-gradient(90deg,
    var(--paper-soft) 0%,
    var(--paper-deep) 50%,
    var(--paper-soft) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s var(--ease) infinite;
}
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--paper-deep);
}
@media (max-width: 880px) {
  .skeleton-card { grid-template-columns: 1fr; gap: 16px; }
}
.skeleton-frame {
  aspect-ratio: 4/3;
  height: 130px;
  width: 100%;
}
.skeleton-line {
  height: 14px;
  margin: 8px 0;
  border-radius: 1px;
}
.skeleton-line--lg { height: 26px; width: 60%; }
.skeleton-line--sm { width: 40%; }

/* ===== BLOCK G4c — AI WIDGET DELAYED ENTRANCE ===== */
/* opacity/transform start values + .is-ready state defined here;
   the full rule (position/size/colors) lives in the Concierge Widget
   section below and inherits transition from there. */
#samudra-concierge-toggle.is-ready {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BLOCK G4d — PAGE FADE TRANSITION ===== */
body {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
body.is-ready { opacity: 1; }
body.is-leaving { opacity: 0; transition-duration: 0.25s; }

/* ===== BLOCK G4e — MAGNETIC CTA transition hook ===== */
.booking__cta {
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

/* ===========================================================
   SAMUDRA — AI Concierge Widget
   =========================================================== */

/* Toggle button — bottom-right floating */
#samudra-concierge-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(31, 27, 23, 0.28), 0 2px 8px rgba(31, 27, 23, 0.14);
  /* Phase 2 G4c: delayed entrance — start hidden, .is-ready added after 3.5s */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
              background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#samudra-concierge-toggle:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(31, 27, 23, 0.32), 0 2px 8px rgba(31, 27, 23, 0.14);
}
#samudra-concierge-toggle.sc-toggle--open {
  background: var(--teal);
}

/* Chat panel */
#samudra-concierge {
  position: fixed;
  bottom: 100px;
  right: 32px;
  z-index: 199;
  width: 400px;
  max-width: calc(100vw - 48px);
  height: 70vh;
  max-height: 640px;
  min-height: 400px;
  background: var(--paper);
  border: 1px solid var(--paper-deep);
  box-shadow: 0 32px 96px rgba(10, 14, 20, 0.22), 0 4px 16px rgba(10, 14, 20, 0.10);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
#samudra-concierge.sc--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Panel header */
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--paper-deep);
  flex-shrink: 0;
}
.sc-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(30, 68, 63, 0.18);
}
.sc-agent-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.sc-status-line {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}
.sc-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-mute);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease);
}
.sc-close:hover { color: var(--ink); }

/* Transcript area */
.sc-transcript {
  flex: 1;
  overflow-y: auto;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.sc-transcript::-webkit-scrollbar { width: 4px; }
.sc-transcript::-webkit-scrollbar-track { background: var(--paper-soft); }
.sc-transcript::-webkit-scrollbar-thumb { background: var(--paper-deep); border-radius: 2px; }

/* Messages */
.sc-msg { display: flex; flex-direction: column; gap: 6px; }
.sc-msg--user { align-items: flex-end; }
.sc-msg--agent { align-items: flex-start; }
.sc-msg--error { align-items: flex-start; }

.sc-bubble {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--paper-deep);
  padding: 12px 16px;
  max-width: 88%;
  white-space: pre-wrap;
}
.sc-bubble--user {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.sc-bubble--error {
  background: transparent;
  border-color: #b37566;
  color: #7a3d31;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Typing indicator */
.sc-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
}
.sc-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-mute);
  animation: scPulse 1.4s ease-in-out infinite both;
}
.sc-dot:nth-child(2) { animation-delay: 0.2s; }
.sc-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes scPulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

/* Package cards */
.sc-pkg-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 88%;
  margin-top: 8px;
}
.sc-pkg-card {
  background: var(--paper);
  border: 1px solid var(--paper-deep);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* P0-3 A3-3: Package card image (MASON 2026-05-19) */
.sc-pkg-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin: -14px -16px 8px;
  width: calc(100% + 32px);
}
.sc-pkg-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sc-pkg-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.sc-pkg-card__desc {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.55;
}
/* P0-4 A4-1: Reserve button 44px tap target (MASON 2026-05-19) */
.sc-card__reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  align-self: flex-start;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 12px 20px;
  min-height: 44px;
  border: none;
  text-decoration: none;
  transition: background 0.4s var(--ease);
}
.sc-card__reserve:hover { background: var(--teal); }

/* Input row */
.sc-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--paper-deep);
  flex-shrink: 0;
}
.sc-input {
  flex: 1;
  border: none;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  padding: 16px 18px;
  outline: none;
}
.sc-input::placeholder {
  color: var(--ink-mute);
  font-style: italic;
}
.sc-send {
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  padding: 0 20px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.4s var(--ease);
}
.sc-send:hover { background: var(--teal); }
.sc-send:disabled { opacity: 0.45; cursor: not-allowed; }

/* Responsive: smaller screens — toggle repositioned; panel handled by P1-2 fix above */
@media (max-width: 480px) {
  #samudra-concierge-toggle { bottom: 20px; right: 20px; }
  /* #samudra-concierge full-bleed override is in P1-2 block above — do not re-set
     right/max-width here or it will override the full-bleed left:8px/right:8px rule. */
}


/* === GLOBALIZED-SECTION-CSS (from index.html, so inner pages render) === */

  /* ------- Hero ------- */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    width: 100%;
    overflow: hidden;
    color: #f4ecd6;
  }
  .hero__media {
    position: absolute; inset: 0;
    background:
      radial-gradient(120% 80% at 40% 20%, rgba(255, 218, 165, 0.42), transparent 55%),
      radial-gradient(80% 80% at 75% 90%, rgba(20, 35, 50, 0.6), transparent 70%),
      linear-gradient(170deg, #d39a6a 0%, #a86d54 22%, #5e4f57 45%, #2a4a4f 70%, #11272a 100%);
    transform: scale(1.06);
    transition: transform 8s var(--ease);
  }
  .hero.is-loaded .hero__media { transform: scale(1); }
  .hero__media::after {
    content:""; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='.7'/></svg>");
    mix-blend-mode: overlay; opacity: .45;
  }
  .hero__media::before {
    /* implied cliff silhouette */
    content:""; position: absolute; inset: 0;
    background:
      linear-gradient(transparent 62%, rgba(10,16,18,0.55) 78%, rgba(8,14,16,0.85) 100%);
  }
  .hero__inner {
    position: relative; height: 100%;
    display: grid; grid-template-rows: 1fr auto;
    padding: 120px var(--gutter) 0;
  }
  .hero__center {
    align-self: center; justify-self: center; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    max-width: 920px;
  }
  .hero__eyebrow {
    font-family: var(--font-label); font-size: 11px;
    letter-spacing: 0.4em; text-transform: uppercase;
    color: rgba(255,236,210,0.88);
    display: flex; align-items: center; gap: 18px;
  }
  .hero__eyebrow::before, .hero__eyebrow::after {
    content:""; width: 32px; height: 1px; background: currentColor; opacity: 0.7;
  }
  .hero__title {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(64px, 11vw, 168px);
    line-height: 0.9;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 36px rgba(0,0,0,0.65), 0 1px 2px rgba(0,0,0,0.45);
  }
  .hero__title .script {
    display: block; font-family: var(--font-script);
    font-size: 0.62em; line-height: 0.95;
    color: #f1d49a; font-weight: 400; font-style: italic;
    margin-bottom: -0.1em;
  }
  .hero__sub {
    font-family: var(--font-display); font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.7; max-width: 580px;
    color: rgba(244,236,214,0.86);
    font-style: italic; font-weight: 400;
  }
  .hero__foot {
    display: flex; justify-content: space-between; align-items: flex-end;
    padding-bottom: 32px;
    color: rgba(244,236,214,0.78);
  }
  .hero__meta {
    font-family: var(--font-label); font-size: 10px;
    letter-spacing: 0.36em; text-transform: uppercase;
  }
  .hero__meta strong { font-weight: 500; color: #f4ecd6; }
  .hero__scroll {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    font-family: var(--font-label); font-size: 10px;
    letter-spacing: 0.4em; text-transform: uppercase;
  }
  .hero__scroll .line { width: 1px; height: 56px; background: rgba(244,236,214,0.6); animation: dropLine 2.4s var(--ease) infinite; }
  @keyframes dropLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }

  /* ------- Booking strip ------- */
  .booking {
    position: relative; z-index: 20;
    margin: -64px var(--gutter) 0;
    background: var(--paper);
    border: 1px solid var(--paper-deep);
    display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr auto;
    align-items: stretch;
    box-shadow: 0 30px 80px rgba(10,14,20,0.18);
  }
  .booking__intro {
    padding: 26px 32px;
    display: flex; flex-direction: column; gap: 4px;
    border-right: 1px solid var(--paper-deep);
  }
  .booking__intro h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 22px; line-height: 1.1;
  }
  .booking__intro p {
    font-family: var(--font-label); font-size: 10px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-mute);
  }
  .field {
    padding: 22px 26px;
    border-right: 1px solid var(--paper-deep);
    display: flex; flex-direction: column; gap: 6px;
    background: transparent;
    text-align: left;
  }
  .field:hover { background: rgba(0,0,0,0.025); }
  .field__label {
    font-family: var(--font-label); font-size: 9.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--ink-mute);
  }
  .field__value {
    font-family: var(--font-display); font-weight: 400;
    font-size: 19px; color: var(--ink);
  }
  .field__value small { font-size: 13px; color: var(--ink-mute); margin-left: 6px; }
  .booking__cta {
    display: flex; align-items: center; padding: 0 32px;
    background: var(--ink); color: var(--paper);
    font-family: var(--font-label); font-size: 11px;
    letter-spacing: 0.32em; text-transform: uppercase;
    transition: background .4s var(--ease);
    border: 0;
  }
  .booking__cta:hover { background: var(--teal); }

  /* ------- Welcome editorial ------- */
  .welcome {
    padding: calc(var(--section-y) + 40px) var(--gutter) var(--section-y);
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px;
    align-items: center;
    max-width: 1480px; margin: 0 auto;
  }
  .welcome__lede h2 {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(42px, 5.2vw, 80px); line-height: 1.02;
  }
  .welcome__lede h2 em {
    font-family: var(--font-script); font-style: italic; font-weight: 400;
    font-size: 1.3em; color: var(--gold);
    display: block; line-height: 0.85;
  }
  .welcome__body { display: flex; flex-direction: column; gap: 26px; max-width: 580px; }
  .welcome__body .lead { font-size: 20px; }
  .welcome__sig {
    margin-top: 14px;
    font-family: var(--font-script); font-size: 38px; color: var(--gold);
    line-height: 1;
  }
  .welcome__sig + .eyebrow { margin-top: -4px; }

  /* ------- Three-frame editorial ------- */
  .triptych {
    padding: 0 var(--gutter) var(--section-y);
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 36px;
    max-width: 1480px; margin: 0 auto;
  }
  .triptych .tile-a { grid-column: 1 / span 5; aspect-ratio: 4/5; }
  .triptych .tile-b { grid-column: 6 / span 4; aspect-ratio: 3/4; align-self: end; }
  .triptych .tile-c { grid-column: 10 / span 3; aspect-ratio: 3/4; align-self: start; margin-top: 64px; }

  /* ------- Accommodations preview ------- */
  .stay-preview {
    background: var(--paper-soft);
    padding: var(--section-y) var(--gutter);
  }
  .stay-preview__head {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
    margin-bottom: 72px;
  }
  .stay-preview__head h2 {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(42px, 5vw, 76px); line-height: 1.02;
  }
  .stay-preview__head p { max-width: 460px; font-size: 17px; }

  .room-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  }
  .room-card { display: flex; flex-direction: column; gap: 22px; }
  .room-card .frame { aspect-ratio: 4/5; }
  .room-card__meta {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 6px;
  }
  .room-card__title {
    font-family: var(--font-display); font-weight: 400;
    font-size: 26px; line-height: 1.15;
  }
  .room-card__title small {
    display: block; font-family: var(--font-label); font-size: 10px;
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-mute);
    margin-top: 6px; font-weight: 400;
  }
  .room-card__price {
    font-family: var(--font-display); font-size: 18px; color: var(--ink-soft);
    text-align: right;
  }
  .room-card__price small {
    display: block; font-family: var(--font-label); font-size: 9px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--ink-mute); margin-top: 4px;
  }
  .room-card p { font-size: 16px; color: var(--ink-soft); }

  /* ------- Featured villa split ------- */
  .featured {
    display: grid; grid-template-columns: 1.1fr 1fr;
    min-height: 720px;
    background: var(--teal);
    color: var(--paper);
  }
  .featured__media { position: relative; }
  .featured__media .frame { position: absolute; inset: 0; }
  .featured__body {
    padding: 100px clamp(48px, 6vw, 110px);
    display: flex; flex-direction: column; justify-content: center;
    gap: 28px;
  }
  .featured__body .eyebrow { color: rgba(241,235,223,0.65); }
  .featured__body h2 {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(40px, 4.4vw, 64px); line-height: 1.03;
  }
  .featured__body h2 em {
    font-family: var(--font-script); font-style: italic; color: #d8b97a;
  }
  .featured__body p { color: rgba(241,235,223,0.78); max-width: 460px; }
  .featured__specs {
    display: flex; gap: 56px; padding: 24px 0;
    border-top: 1px solid rgba(241,235,223,0.18);
    border-bottom: 1px solid rgba(241,235,223,0.18);
    margin: 14px 0 8px;
  }
  .featured__specs div {
    display: flex; flex-direction: column; gap: 4px;
  }
  .featured__specs span:first-child {
    font-family: var(--font-label); font-size: 9.5px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: rgba(241,235,223,0.55);
  }
  .featured__specs span:last-child {
    font-family: var(--font-display); font-size: 22px;
  }

  /* ------- Dining ------- */
  .dining { padding: var(--section-y) var(--gutter); }
  .dining__row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border-top: 1px solid var(--paper-deep);
  }
  .dining__row:last-child { border-bottom: 1px solid var(--paper-deep); }
  .dining__row.is-reversed > :first-child { order: 2; }

  .dining__media .frame { aspect-ratio: 5/4; }
  .dining__body {
    padding: 72px clamp(40px, 5vw, 80px);
    display: flex; flex-direction: column; justify-content: center; gap: 22px;
  }
  .dining__body h3 {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(36px, 3.6vw, 54px); line-height: 1.05;
  }
  .dining__body h3 em { font-family: var(--font-script); font-style: italic; color: var(--gold); }
  .dining__body p { max-width: 460px; }
  .dining__chef {
    display: flex; align-items: center; gap: 16px;
    font-family: var(--font-label); font-size: 10px;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--ink-mute);
  }
  .dining__chef::before { content:""; width: 24px; height: 1px; background: currentColor; }

  /* ------- Experiences mosaic ------- */
  .exp {
    background: var(--paper-soft);
    padding: var(--section-y) var(--gutter);
  }
  .exp__grid {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px;
    max-width: 1480px; margin: 0 auto;
  }
  .exp__tile {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 26px;
    color: var(--paper);
    min-height: 320px;
    transition: transform .8s var(--ease);
  }
  .exp__tile:hover { transform: translateY(-4px); }
  .exp__tile h4 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 28px; line-height: 1.1;
    margin-bottom: 10px;
    position: relative; z-index: 2;
  }
  .exp__tile p {
    font-family: var(--font-label); font-size: 10px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: rgba(241,235,223,0.78);
    position: relative; z-index: 2;
  }
  .exp__tile .frame { position: absolute; inset: 0; z-index: 0; }
  .exp__tile::after {
    content:""; position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(180deg, rgba(8,18,16,0.55) 0%, rgba(8,18,16,0.72) 50%, rgba(8,18,16,0.92) 100%),
      linear-gradient(135deg, rgba(20,68,63,0.35), rgba(40,28,18,0.25));
  }
  .exp__tile--lg { grid-column: span 6; min-height: 440px; }
  .exp__tile--md { grid-column: span 6; }
  .exp__tile--sm { grid-column: span 4; min-height: 360px; }

  /* ------- Journal teaser ------- */
  .journal { padding: var(--section-y) var(--gutter); }
  .journal__head {
    display: flex; justify-content: space-between; align-items: end;
    margin-bottom: 64px;
  }
  .journal__head h2 {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(36px, 4vw, 60px);
  }
  .journal__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  }
  .journal__card { display: flex; flex-direction: column; gap: 20px; }
  .journal__card .frame { aspect-ratio: 4/3; }
  .journal__card .eyebrow { font-size: 10px; }
  .journal__card h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 26px; line-height: 1.2;
  }
  .journal__card p { font-size: 16px; color: var(--ink-mute); }

  /* ------- Location strip ------- */
  .place {
    position: relative;
    min-height: 600px;
    color: var(--paper);
    display: grid; place-items: center;
    text-align: center;
    overflow: hidden;
  }
  .place__bg { position: absolute; inset: 0; }
  .place__inner {
    position: relative; z-index: 2;
    padding: 120px var(--gutter);
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    max-width: 760px;
  }
  .place__inner h2 {
    font-family: var(--font-display); font-weight: 300;
    font-size: clamp(40px, 5vw, 76px); line-height: 1.04;
  }
  .place__inner em {
    font-family: var(--font-script); font-style: italic; color: #e2c489;
  }
  .place__inner p { color: rgba(241,235,223,0.8); font-size: 18px; max-width: 520px; }

  /* ------- Helpers ------- */
  @media (max-width: 1100px) {
    .booking { grid-template-columns: 1fr 1fr 1fr; }
    .booking__intro { grid-column: 1 / -1; }
    .booking__cta { grid-column: 1 / -1; padding: 22px 32px; justify-content: center; }
    .welcome { grid-template-columns: 1fr; gap: 32px; }
    .room-grid { grid-template-columns: 1fr 1fr; }
    .featured { grid-template-columns: 1fr; }
    .featured__media { min-height: 480px; }
    .dining__row { grid-template-columns: 1fr; }
    .dining__row.is-reversed > :first-child { order: 0; }
    .exp__tile--lg, .exp__tile--md, .exp__tile--sm { grid-column: span 12; }
    .journal__grid { grid-template-columns: 1fr; }
    .triptych .tile-a, .triptych .tile-b, .triptych .tile-c { grid-column: 1 / -1; margin: 0; aspect-ratio: 4/3; }
  }
  /* P0-3 A1-5: room-grid single-column on mobile (MASON 2026-05-19) */
  /* MOBILE FIX 2026-05-20 — must be INSIDE inline style to beat cascade order */
  @media (max-width: 640px) {
    .room-grid { grid-template-columns: 1fr; }

    /* BUG-A (Daniel): booking strip — inline ≤1100px rule (3-col) was winning over
       external styles.css ≤640px rule (1-col) because inline <style> has higher cascade
       order than external stylesheet. Repeat single-col rule here to win the cascade. */
    .booking {
      grid-template-columns: 1fr;
      margin: -32px 16px 0;
    }
    .booking__intro,
    .field { border-right: 0; border-bottom: 1px solid var(--paper-deep); }
    .field { padding: 18px 24px; min-height: 56px; }
    .booking__cta { padding: 22px 24px; justify-content: center; }

    /* BUG-B (Daniel): hero__foot / hero__scroll — inline .hero__foot definition
       (no media query) was winning over the external ≤640px column-stack rule.
       Repeat here to restore vertical stacking on mobile. */
    .hero__foot {
      flex-direction: column;
      gap: 12px;
      align-items: flex-start;
      text-align: left;
      padding-bottom: 24px;
    }
    /* Hide hero__scroll on narrow mobile — the animated line + "Discover" text
       takes vertical space and was appearing awkwardly in the stacked column layout.
       The scroll cue is a desktop UX affordance; on mobile the page-scroll is obvious. */
    .hero__scroll { display: none; }
  }

