/* ==========================================================================
   MUSA — Home v2 (pixel-match rebuild from "Home Musa.pdf")
   Palette + hero mechanic taken directly from the client-approved Claude
   Design reference (extracted-template.html). Fonts: Cormorant Garamond
   (serif display) + Montserrat (sans, UI/body).
   ========================================================================== */

:root {
  --dark: #2F2923;
  --light: #F3EFE7;
  --muted: rgba(47,41,35,0.55);
  --hair: rgba(47,41,35,0.14);
  --accent: #96603F;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', Arial, sans-serif;

  --gutter: 5.6vw;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--light); }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Hover-only devices: touch screens report (hover: none) and skip this,
   so a single tap follows the link immediately instead of first
   triggering :hover (the classic mobile "menu link needs two taps" bug). */
@media (hover: hover) { a:hover { opacity: 0.65; } }
::selection { background: var(--dark); color: var(--light); }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 300; }

.eyebrow {
  display: block; font-family: var(--font-sans); font-size: 10.5px;
  letter-spacing: 0.32em; text-transform: uppercase; font-weight: 400;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow.on-dark { color: rgba(243,239,231,0.6); }

@keyframes musaFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
[data-reveal="stagger"] > * { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
[data-reveal="stagger"].is-visible > * { opacity: 1; transform: translateY(0); filter: blur(0); }
[data-reveal="stagger"].is-visible > *:nth-child(2) { transition-delay: 120ms; }
[data-reveal="stagger"].is-visible > *:nth-child(3) { transition-delay: 240ms; }

/* Animated underline draw-in — CTA text-links across interior pages.
   Applied via data-underline="1" in place of a static border-bottom;
   the line grows in once the link scrolls into view. */
[data-underline="1"] { position: relative; }
[data-underline="1"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--ease); }
[data-underline="1"].is-visible::after { transform: scaleX(1); }

@media (max-width: 1000px) { .hide-sm { display: none !important; } }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2.4vh var(--gutter); color: var(--dark); mix-blend-mode: normal;
}
.site-header .logo-mark { position: relative; display: block; width: clamp(96px, 6.3vw, 124px); aspect-ratio: 120.688 / 32.684; }
.site-header .logo-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-header .logo-mark img.logo-clear { opacity: 0; }
.site-header nav { display: flex; gap: clamp(20px, 2.4vw, 46px); font-size: clamp(10px, 0.63vw, 12px); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.site-header .btn-book { border: 1px solid currentColor; padding: 1.35vh clamp(18px, 1.8vw, 34px); font-size: clamp(10px, 0.63vw, 12px); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }

/* ==========================================================================
   1. HERO — "Stay. Create. Belong." — video grows from small box to full
   screen on scroll, copy + nav morph dark → light, sello fades up & out.
   Mechanic ported 1:1 from the approved Claude Design reference.
   ========================================================================== */

.hero { position: relative; height: 300vh; background: var(--light); }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }

.hero-video-wrap {
  position: absolute; left: 50%; top: 68.9%; width: 25.93vh; height: 14.63vh;
  transform: translate(-50%, -50%); overflow: hidden; z-index: 10; background: var(--dark);
}
.hero-video-wrap video, .hero-video-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-video-label {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(243,239,231,0.55);
}

.hero-copy { position: absolute; inset: 0; z-index: 20; pointer-events: none; color: var(--dark); }
.hero-seal { position: absolute; left: 50%; top: 28.2%; transform: translate(-50%, -50%); }
.hero-seal img { height: 13.5vh; width: auto; animation: musaFade 1.4s cubic-bezier(.19,1,.22,1) 0.15s both; }
.hero-copy h1 {
  position: absolute; left: 0; right: 0; top: 45.1%; transform: translateY(-50%);
  text-align: center; font-weight: 300; font-size: min(5vw, 8.9vh); line-height: 1;
  letter-spacing: 0.045em; text-transform: uppercase; white-space: nowrap;
  animation: musaFade 1.5s cubic-bezier(.19,1,.22,1) 0.3s both;
}
.hero-copy .sub {
  position: absolute; left: 0; right: 0; top: 51.1%; transform: translateY(-50%);
  text-align: center; font-style: italic; font-weight: 400; font-size: min(1vw, 1.78vh);
  letter-spacing: 0.1em; animation: musaFade 1.6s cubic-bezier(.19,1,.22,1) 0.5s both;
}
.hero-cue {
  position: absolute; bottom: 3.6vh; left: 50%; transform: translateX(-50%); z-index: 20;
  font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--dark);
  opacity: 0.45; animation: musaFade 1.6s ease 1.1s both;
}

/* ==========================================================================
   2. WHAT IS MUSA — sticky eyebrow/copy, changing text + photo on scroll
   ========================================================================== */

.what-is { position: relative; background: var(--light); }
.what-is-sticky {
  position: sticky; top: 0; min-height: 100vh; display: grid; grid-template-columns: 0.9fr 1.1fr;
  align-items: center; gap: 6vw; padding: 0 var(--gutter);
}
.what-is-copy .eyebrow { margin-bottom: 22px; }
.what-is-copy h2 { font-size: clamp(30px, 3vw, 48px); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; margin-bottom: 28px; }
.what-is-copy .steps { display: flex; flex-direction: column; gap: 2px; }
.what-is-copy .step {
  font-size: 15px; line-height: 1.95; color: var(--muted); max-width: 460px;
  opacity: 0; max-height: 0; overflow: hidden; transition: opacity 500ms var(--ease);
}
.what-is-copy .step.active { opacity: 1; max-height: 260px; color: var(--dark); }
.what-is-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--dark); }
.what-is-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease); position: absolute; inset: 0; }
.what-is-photo img.active { opacity: 1; }
.what-is-spacer { height: 260vh; }

/* ==========================================================================
   3 / 11. CINTILLO — full-page moving marquee band
   ========================================================================== */

.cintillo { background: var(--dark); color: var(--light); overflow: hidden; padding: 3.4vh 0; }
.cintillo-track { display: flex; width: max-content; animation: cintilloMove 32s linear infinite; }
.cintillo-track span {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 4.4vw, 68px); letter-spacing: 0.01em; padding: 0 2.4vw;
}
.cintillo-track span::after { content: '\2726'; font-family: var(--font-sans); font-size: 0.35em; margin-left: 2.4vw; opacity: 0.6; }
@keyframes cintilloMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   4. DESTINATION ROADMAP — static map image + spinning coordinate seal
   ========================================================================== */

.roadmap { padding: 14vh var(--gutter); text-align: center; }
.roadmap .eyebrow { text-align: center; }
.roadmap h2 { font-size: clamp(30px, 3.4vw, 52px); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 60px; }
.roadmap-figure { position: relative; max-width: 1180px; margin: 0 auto; }
.roadmap-figure img.map-img { width: 100%; display: block; }
.roadmap-seal { position: absolute; right: -3vw; bottom: -6vh; width: clamp(96px, 11vw, 168px); }
.roadmap-seal img { width: 100%; animation: sealSpin 30s linear infinite; }
@keyframes sealSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 760px) { .roadmap-seal { right: 2vw; bottom: -4vh; width: 84px; } }

/* ==========================================================================
   5. FIND MUSA — photo-rain gallery (two-scroll)
   ========================================================================== */

.find-musa { position: relative; height: 220vh; background: var(--light); }
.find-musa-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.find-musa-head { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; z-index: 5; pointer-events: none; }
.find-musa-head h2 { font-size: clamp(26px, 3vw, 44px); text-transform: uppercase; letter-spacing: 0.02em; }
.find-musa-frame { width: clamp(140px, 14vw, 220px); margin: 0 auto 18px; filter: brightness(0); opacity: 0.85; }
.rain-photo {
  position: absolute; width: 15vw; min-width: 150px; max-width: 260px; aspect-ratio: 3/4;
  overflow: hidden; will-change: transform;
}
.rain-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   6. WHERE TO STAY — static intro + 01/02/03 pinned creative-stack panels
   ========================================================================== */

.stay-intro { padding: 16vh var(--gutter) 8vh; text-align: center; }
.stay-intro h2 { font-size: clamp(30px, 3.4vw, 54px); text-transform: uppercase; letter-spacing: 0.02em; max-width: 900px; margin: 0 auto; }
.stay-intro p { max-width: 620px; margin: 24px auto 0; color: var(--muted); font-size: 15px; line-height: 1.9; }

.stay-stack { position: relative; }
.stay-panel { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: stretch; background: var(--light); }
.stay-panel-media { position: relative; width: 55%; overflow: hidden; }
.stay-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.stay-panel-info { width: 45%; display: flex; flex-direction: column; justify-content: center; padding: 0 5vw; }
.stay-panel-num { font-family: var(--font-serif); font-size: clamp(50px, 6vw, 96px); line-height: 1; opacity: 0.18; margin-bottom: 18px; }
.stay-panel-info h3 { font-size: clamp(26px, 2.6vw, 40px); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 16px; }
.stay-panel-info p { font-size: 14.5px; line-height: 1.9; color: var(--muted); max-width: 420px; margin-bottom: 28px; }
.stay-panel-carousel { display: flex; gap: 10px; }
.stay-panel-carousel div { width: 72px; height: 96px; overflow: hidden; }
.stay-panel-carousel img { width: 100%; height: 100%; object-fit: cover; }
.stay-panel-link { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; display: inline-block; width: max-content; }
@media (max-width: 900px) {
  .stay-panel { flex-direction: column; }
  .stay-panel-media, .stay-panel-info { width: 100%; }
  .stay-panel-media { height: 46%; }
  .stay-panel-info { height: 54%; padding: 4vh 6vw; }
}

/* ==========================================================================
   7. INSPIRED SPACES — drag carousel, "Drag me" cursor label
   ========================================================================== */

.spaces { padding: 14vh 0; overflow: hidden; }
.spaces-head { padding: 0 var(--gutter); margin-bottom: 6vh; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.spaces-head h2 { font-size: clamp(28px, 3.2vw, 48px); text-transform: uppercase; letter-spacing: 0.02em; }
.spaces-head p { max-width: 380px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.spaces-track { display: flex; gap: 2.2vw; padding: 0 var(--gutter); cursor: grab; user-select: none; }
.spaces-track.dragging { cursor: grabbing; }
.spaces-card { position: relative; flex: 0 0 auto; width: 30vw; min-width: 300px; aspect-ratio: 4/5; overflow: hidden; }
.spaces-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.spaces-card .label { position: absolute; left: 20px; bottom: 20px; color: var(--light); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; z-index: 2; }
.spaces-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(47,41,35,0.55), rgba(47,41,35,0) 45%); }
.drag-cursor {
  position: fixed; top: 0; left: 0; width: 92px; height: 92px; border-radius: 50%;
  background: var(--dark); color: var(--light); display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center;
  pointer-events: none; z-index: 300; opacity: 0; transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 220ms ease, transform 220ms ease;
}
.drag-cursor.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ==========================================================================
   8. ACROSS 250 ACRES — reused interactive territory map (Stay / Eat / Explore)
   ========================================================================== */

.territory { background: var(--light); padding: 14vh var(--gutter) 0; }
.territory-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; max-width: 1360px; margin: 0 auto 48px; padding-bottom: 40px; border-bottom: 1px solid var(--hair); }
.territory-title { font-size: clamp(30px, 3.4vw, 54px); letter-spacing: 0.02em; line-height: 1.08; text-transform: uppercase; margin-top: 14px; }
.territory-lede { font-size: 15px; line-height: 1.9; max-width: 460px; color: var(--muted); }
.territory-tabs { display: flex; gap: 30px; margin-top: 22px; }
.territory-tabs button { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; padding: 4px 0; transition: color 200ms ease, border-color 200ms ease; }
.territory-tabs button.active, .territory-tabs button:hover { color: var(--dark); border-color: var(--accent); }

.territory-body { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; }
.territory-list { display: flex; flex-direction: column; }
.territory-row { display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; border-bottom: 1px solid var(--hair); padding: 19px 4px; transition: padding-left 250ms var(--ease), color 200ms ease; }
.territory-row .num { font-size: 10.5px; color: var(--muted); letter-spacing: 0.08em; }
.territory-row .name { font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase; flex: 1; }
.territory-row:hover { padding-left: 10px; }
.territory-row.active { padding-left: 10px; font-weight: 500; }
.territory-row.active .name { color: var(--accent); }
.territory-row.is-hidden { display: none; }

.territory-map { position: relative; min-height: 460px; overflow: hidden; background-size: cover; background-position: center; background-color: var(--hair); }
.territory-caption { position: absolute; bottom: 6%; right: 6%; font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; background: rgba(243,239,231,0.85); padding: 8px 14px; }
.t-pin { position: absolute; transform: translate(-50%, -50%); width: 13px; height: 13px; border-radius: 50%; background: var(--light); border: 1.5px solid var(--dark); box-shadow: 0 2px 5px rgba(20,19,16,0.22); transition: background 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.t-pin .t-pin-label { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--dark); color: var(--light); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.t-pin:hover .t-pin-label { opacity: 1; }
.t-pin.active { background: var(--accent) !important; border-color: var(--accent); transform: translate(-50%, -50%) scale(1.5); box-shadow: 0 0 0 7px rgba(150,96,63,0.22); }
.t-pin.active .t-pin-label { opacity: 1; }
.t-pin.is-hidden { display: none; }
.territory-desc { max-width: 1360px; margin: 0 auto; padding: 48px 0 88px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--hair); transition: opacity 380ms var(--ease), filter 380ms var(--ease), transform 380ms var(--ease); }
.territory-desc h3 { font-size: 34px; letter-spacing: 0.03em; text-transform: uppercase; }
.territory-desc p { font-size: 15px; line-height: 1.9; max-width: 620px; color: var(--muted); }
.territory-desc.switching { opacity: 0; filter: blur(6px); transform: translateY(8px); }
@media (max-width: 981px) { .territory-head, .territory-body { grid-template-columns: 1fr; } .territory-map { min-height: 340px; margin-top: 30px; } }

/* ==========================================================================
   9. ECOLOGICAL STEWARDSHIP — 3 photos overlapping on scroll
   ========================================================================== */

.stewardship { position: relative; height: 220vh; background: var(--light); }
.stewardship-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 0 var(--gutter); }
.stewardship-copy { width: 34%; }
.stewardship-copy h2 { font-size: clamp(28px, 3vw, 44px); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 20px; }
.stewardship-copy p { font-size: 15px; line-height: 1.9; color: var(--muted); max-width: 400px; }
.stewardship-stack { position: relative; width: 66%; height: 68vh; }
.stewardship-stack .ph { position: absolute; width: 62%; aspect-ratio: 4/5; overflow: hidden; box-shadow: 0 30px 60px rgba(20,19,16,0.25); transition: transform 100ms linear; }
.stewardship-stack .ph img { width: 100%; height: 100%; object-fit: cover; }
.stewardship-stack .ph:nth-child(1) { left: 0; top: 0; z-index: 1; }
.stewardship-stack .ph:nth-child(2) { left: 18%; top: 8%; z-index: 2; }
.stewardship-stack .ph:nth-child(3) { left: 36%; top: 16%; z-index: 3; }
@media (max-width: 900px) { .stewardship-sticky { flex-direction: column; justify-content: center; gap: 4vh; } .stewardship-copy, .stewardship-stack { width: 100%; } .stewardship-stack { height: 46vh; } }

/* ==========================================================================
   10. OUR EXPERIENCES — sticky "Curated Moments" copy, carousel moves
   ========================================================================== */

.experiences { position: relative; background: var(--light); }
.experiences-sticky { position: sticky; top: 0; min-height: 100vh; display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: 4vw; padding: 0 var(--gutter); overflow: hidden; }
.experiences-copy .eyebrow { margin-bottom: 22px; }
.experiences-copy h2 { font-size: clamp(28px, 3vw, 46px); text-transform: uppercase; letter-spacing: 0.02em; }
.experiences-track-wrap { overflow: hidden; }
.experiences-track { display: flex; gap: 1.6vw; will-change: transform; }
.experiences-card { flex: 0 0 auto; width: 22vw; min-width: 220px; }
.experiences-card .ph { aspect-ratio: 3/4; overflow: hidden; margin-bottom: 14px; }
.experiences-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.experiences-card .num { font-size: 10.5px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 6px; }
.experiences-card h4 { font-size: 17px; text-transform: uppercase; letter-spacing: 0.03em; }
.experiences-spacer { height: 240vh; }
@media (max-width: 900px) { .experiences-sticky { grid-template-columns: 1fr; } }

/* ==========================================================================
   12. ALBA & MURCIÉLAGO — two-panel feature, same spacing as PDF
   ========================================================================== */

.alba-murcielago { padding: 14vh var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; }
.am-panel .ph { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 26px; }
.am-panel .ph img { width: 100%; height: 100%; object-fit: cover; }
.am-panel .eyebrow { margin-bottom: 10px; }
.am-panel h3 { font-size: clamp(24px, 2.4vw, 36px); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 14px; }
.am-panel p { font-size: 14.5px; line-height: 1.9; color: var(--muted); }
@media (max-width: 900px) { .alba-murcielago { grid-template-columns: 1fr; gap: 8vh; } }

/* ==========================================================================
   13. WHERE THE FUTURE THRIVES — mouse-drag photo scatter
   ========================================================================== */

.future { position: relative; height: 100vh; overflow: hidden; background: var(--dark); color: var(--light); display: flex; align-items: center; justify-content: center; }
.future-head { text-align: center; z-index: 5; pointer-events: none; }
.future-head .eyebrow { color: rgba(243,239,231,0.6); text-align: center; }
.future-head h2 { font-size: clamp(30px, 4vw, 60px); text-transform: uppercase; letter-spacing: 0.02em; max-width: 720px; margin: 0 auto; }
.future-photo { position: absolute; width: 13vw; min-width: 140px; aspect-ratio: 3/4; overflow: hidden; opacity: 0; transition: opacity 250ms ease; pointer-events: none; }
.future-photo img { width: 100%; height: 100%; object-fit: cover; }
.future.is-active .future-photo { opacity: 1; }

/* ==========================================================================
   14. MUSA UNIVERSE — 4 blocks stacking/overlapping, prior fades as next rises
   ========================================================================== */

.universe { position: relative; height: 400vh; background: var(--light); }
.universe-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.universe-block {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4vw; padding: 0 var(--gutter); background: var(--light);
  transform: translateY(100%); transition: transform 0ms; will-change: transform, opacity;
}
.universe-block .ph { aspect-ratio: 4/5; overflow: hidden; }
.universe-block .ph img { width: 100%; height: 100%; object-fit: cover; }
.universe-block .txt .eyebrow { margin-bottom: 18px; }
.universe-block .txt h2 { font-size: clamp(30px, 3.4vw, 52px); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 20px; }
.universe-block .txt p { font-size: 15px; line-height: 1.9; color: var(--muted); max-width: 460px; }
.universe-block .txt .num { font-family: var(--font-serif); font-size: 14px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
@media (max-width: 900px) { .universe-block { grid-template-columns: 1fr; gap: 3vh; padding: 4vh var(--gutter); overflow: auto; } .universe-block .ph { max-height: 40vh; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { background: var(--dark); color: var(--light); padding: 12vh var(--gutter) 4vh; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.6fr 0.6fr 0.6fr; gap: 6vw; padding-bottom: 8vh; border-bottom: 1px solid rgba(243,239,231,0.14); }
.footer-brand img { height: 34px; margin-bottom: 20px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; color: rgba(243,239,231,0.6); max-width: 320px; }
.footer-col h5 { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243,239,231,0.5); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; line-height: 2.2; color: rgba(243,239,231,0.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 3.4vh; font-size: 11px; letter-spacing: 0.05em; color: rgba(243,239,231,0.45); flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 6vh 6vw; } }

@media (prefers-reduced-motion: reduce) {
  .hero-video-wrap { width: 100vw !important; height: 100vh !important; top: 0 !important; left: 0 !important; transform: none !important; }
  .hero-copy, .site-header { color: var(--light) !important; }
  .cintillo-track { animation: none; }
  [data-reveal], [data-reveal="stagger"] > * { opacity: 1; transform: none; filter: none; }
  [data-underline="1"]::after { transition: none; transform: scaleX(1); }
}

/* ==========================================================================
   Shared rules restored from the previous stylesheet — still needed by
   every page other than the Home v2 rebuild above: the mobile hamburger
   toggle, contact/privacy/terms form fields, and the per-page mobile
   layouts for accommodations, experiences, inspired-spaces, press,
   contact, our-story and impact, plus the room/villa detail template.
   ========================================================================== */

/* Mobile nav toggle (hamburger <-> full nav) — accommodations.html,
   experiences.html, inspired-spaces.html, press.html, contact.html,
   privacy.html, terms.html, our-story.html, impact.html, room/villa pages,
   and the restored Home v2 header above. */
@media (max-width: 1000px) {
  .musa-hide-sm { display: none !important; }
  .musa-only-sm { display: inline-flex !important; }
}

/* Form fields — contact.html, privacy.html, terms.html */
input, select, textarea { font-family: inherit; font-size: clamp(11px, 0.75vw, 14px); color: #2F2923; background: transparent; border: 0; border-bottom: 1px solid rgba(47,41,35,0.35); padding: 12px 0; width: 100%; border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: #2F2923; }
::placeholder { color: rgba(47,41,35,0.45); letter-spacing: 0.14em; text-transform: uppercase; font-size: clamp(9px, 0.62vw, 12px); }

/* Room / villa detail template — accommodations.html links here too via shared classes */
@media (max-width: 1000px) {
  .musa-room-grid { grid-template-columns: minmax(0,1fr) !important; }
  .musa-room-aside { position: static !important; }
}

/* Shared footer (every page except the Home v2 index) — single column on mobile:
   Follow us, logo/image, Newsletter, Explore, Concepts, Connected, Privacy/Terms, credits */
@media (max-width: 1000px) {
  footer > div:nth-child(3) { grid-template-columns: 1fr !important; gap: 5vh !important; margin-top: 6vh !important; }
  footer > div:last-child { flex-direction: column-reverse !important; align-items: flex-start !important; gap: 1.6vh !important; }
}

/* Shared footer text is ~50% bigger on mobile — same treatment as the home
   page footer: the clamp() floors read too small on phones (they're sized
   for desktop, min-bounded on small screens). Section headers (Follow us/
   Newsletter/Explore/Concepts/Connected), the link lists, the newsletter
   line, and the small labels (Instagram handle, Email/Send, copyright bar)
   all get an explicit mobile-only bump, targeted structurally so it works
   the same regardless of each page's link hrefs. */
@media (max-width: 1000px) {
  footer div[style*="Cormorant Garamond"][style*="uppercase"] { font-size: 19.5px !important; }
  footer > div:nth-child(3) > div:nth-child(2) a,
  footer > div:nth-child(3) > div:nth-child(3) a,
  footer > div:nth-child(3) > div:nth-child(4) a { font-size: 15px !important; }
  footer > div:nth-child(3) > div:nth-child(1) p { font-size: 17.25px !important; }
  footer a[href*="instagram.com"],
  footer > div:nth-child(3) > div:nth-child(1) span,
  footer > div:nth-child(3) > div:nth-child(1) a,
  footer > div:last-child,
  footer > div:last-child span,
  footer > div:last-child a { font-size: 13.5px !important; }
}

/* accommodations.html — single column on mobile */
@media (max-width: 1000px) {
  [data-acc-head="1"] { grid-template-columns: 1fr !important; gap: 3vh !important; }
  [data-acc-head="1"] p { justify-self: start !important; }
  [data-acc-cards="1"] { grid-template-columns: 1fr !important; }
}

/* experiences.html — single column on mobile: Day Pass (photo top, info below), carousel cards widened */
@media (max-width: 1000px) {
  section[data-screen-label="Day Pass"] { grid-template-columns: 1fr !important; min-height: auto !important; }
  section[data-screen-label="Experiences carousel one"] article, section[data-screen-label="Experiences carousel two"] article { width: 92vw !important; }
}

/* inspired-spaces.html — single column on mobile */
@media (max-width: 1000px) {
  [data-alivenow-head="1"] { grid-template-columns: 1fr !important; gap: 2.5vh !important; }
  [data-alivenow-head="1"] p { justify-self: start !important; }
  /* Artists in Residence: text block above, carousel below (order already matches DOM) */
  [data-artists-grid="1"] { grid-template-columns: 1fr !important; gap: 5vh !important; }
}

/* press.html — keep the Recognition grid 3-by-3 at every width (per request), but stop it
   from breaking: smaller/wrapping-safe text and a relaxed aspect-ratio so long names like
   "Tripadvisor" or "Small Luxury Hotels" never overflow their cell. "For Media" single column. */
@media (max-width: 1000px) {
  [data-press-grid="1"] > div { aspect-ratio: auto !important; min-height: 26vw; padding: 12px 6px !important; gap: 1.4vh !important; }
  [data-press-grid="1"] > div span[style*="Cormorant"] { font-size: 15px !important; letter-spacing: 0.02em !important; line-height: 1.25 !important; word-break: break-word !important; text-align: center !important; }
  [data-press-grid="1"] > div span[style*="uppercase"][style*="opacity: 0.7"] { font-size: 8.5px !important; text-align: center !important; }
  [data-press-grid="1"] > div img { height: 18px !important; max-width: 80% !important; }
  [data-media-grid="1"] { grid-template-columns: 1fr !important; gap: 4vh !important; }
}

/* contact.html — single column on mobile: title -> form -> Hotel at MUSA info box;
   Getting Here: map first, info below */
@media (max-width: 1000px) {
  [data-contact-grid="1"] { grid-template-columns: 1fr !important; gap: 6vh !important; }
  [data-contact-form="1"] { grid-template-columns: 1fr !important; }
  [data-contact-form="1"] textarea, [data-contact-form="1"] button { grid-column: span 1 !important; }
  [data-getting-here-grid="1"] { grid-template-columns: 1fr !important; gap: 5vh !important; }
  [data-getting-here-map="1"] { order: 1 !important; }
  [data-getting-here-info="1"] { order: 2 !important; }
}

/* our-story.html — single column on mobile: The Beginning / The Land / Growing in Phases / Vision */
@media (max-width: 1000px) {
  [data-story-grid="1"] { grid-template-columns: 1fr !important; gap: 4vh !important; }
  [data-story-phases="1"] { grid-template-columns: 1fr !important; gap: 5vh !important; }
  [data-story-chapters="1"] { grid-template-columns: 1fr !important; gap: 6vh !important; }
}

/* impact.html — single column on mobile: For the Land grid, For the People / Ofrendas feature */
@media (max-width: 1000px) {
  [data-impact-grid="1"] { grid-template-columns: 1fr !important; gap: 5vh !important; }
  [data-impact-people="1"] { grid-template-columns: 1fr !important; gap: 4vh !important; }
}
