:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-brand: 'Jost', 'DM Sans', system-ui, sans-serif; /* geometric brand layer: logo lockups, covers, eyebrows, labels */

  --text-xs:   clamp(0.9rem, 0.86rem + 0.28vw, 1.05rem);
  --text-sm:   clamp(1.05rem, 1.0rem + 0.38vw, 1.25rem);
  --text-base: clamp(1.175rem, 1.1rem + 0.5vw, 1.425rem);
  --text-lg:   clamp(1.46rem, 1.25rem + 0.97vw, 2.0rem);
  --text-xl:   clamp(2.0rem, 1.6rem + 1.73vw, 2.97rem);
  --text-2xl:  clamp(2.6rem, 1.62rem + 3.24vw, 4.43rem);
  --text-hero: clamp(3.78rem, 0.76rem + 8.42vw, 7.34rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem;
  --radius-lg: 0.75rem; --radius-xl: 1rem; --radius-full: 9999px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Warm light luxury palette */
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-surface-2: #f5f0e8;
  --color-surface-offset: #ede8df;
  --color-surface-dynamic: #e6e0d5;
  --color-border: oklch(from #8c7a5e l c h / 0.18);
  --color-divider: oklch(from #8c7a5e l c h / 0.10);
  --color-text: #1e1a14;
  --color-text-muted: #5c5240;
  --color-text-faint: #9a8a72;
  --color-gold: #b8882a;
  --color-gold-dim: #8a6820;
  --color-primary: #b8882a;
  --color-on-photo: #f0ebe0; /* cream — use for ALL text that sits on a photo */
  --nav-height: 64px;
  --bottom-nav-height: 72px;

  /* Responsive layout tokens */
  --top-nav-height: 110px; /* mobile: brand row ~52px + tab strip ~52px + border */
  --content-max: 1180px;       /* reading/content container ceiling */
  --content-max-wide: 1320px;  /* used for galleries/grids on xl screens */
  --gutter: var(--space-6);    /* horizontal page padding, scales up via media queries */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
  overflow-x: hidden;
  padding-top: var(--top-nav-height);
  padding-bottom: env(safe-area-inset-bottom);
}
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── SECTIONS ─────────────────────────────────────────── */
.section { display: none; min-height: 100dvh; }
.section.active { display: block; }

/* ─── BOTTOM NAV — hidden; replaced by scrollable top nav on all screen sizes ─────────────────────────────────────────── */
.bottom-nav {
  display: none;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  transition: color var(--transition);
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 60px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.nav-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.nav-item.active { color: var(--color-gold); }
.nav-item:active { transform: scale(0.92); }
/* 6 nav items: keep them comfortable on narrow phones */
@media (max-width: 430px) {
  .bottom-nav { justify-content: space-between; padding-left: var(--space-1); padding-right: var(--space-1); }
  .nav-item { min-width: 0; flex: 1; padding: var(--space-2) var(--space-1); font-size: 0.625rem; letter-spacing: 0.03em; }
  .nav-item svg { width: 20px; height: 20px; }
}

/* ─── HERO / HOME — cover ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  /* bleed behind translucent top nav on mobile (same pattern as ≥768px) */
  margin-top: calc(var(--top-nav-height) * -1);
  padding: calc(var(--top-nav-height) + var(--space-12)) var(--space-6)
           calc(var(--space-12) + env(safe-area-inset-bottom));
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}
.hero-gradient {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    oklch(0.07 0.01 60 / 0.65) 0%,
    oklch(0.07 0.01 60 / 0.40) 40%,
    oklch(0.07 0.01 60 / 0.72) 72%,
    oklch(0.05 0.01 60 / 0.96) 100%
  );
}
.hero-logo-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
}
.hero-logo-casa {
  font-family: var(--font-brand);
  font-weight: 300;
  font-size: clamp(0.9rem, 1.2vw + 0.4rem, 1.2rem);
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
  color: var(--color-on-photo);
  opacity: 0.88;
  text-shadow: 0 1px 12px oklch(0.07 0.01 60 / 0.5);
}
.hero-logo {
  width: clamp(240px, 52vw, 480px);
  height: auto;
  filter: drop-shadow(0 2px 18px oklch(0.07 0.01 60 / 0.45));
}
.hero-cover {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.hero-housebook {
  font-family: var(--font-brand);
  font-weight: 300;
  font-size: clamp(1.5rem, 0.9rem + 3vw, 3rem);
  letter-spacing: 0.42em;
  text-indent: 0.42em; /* offset trailing tracking so it stays optically centered */
  text-transform: uppercase;
  color: var(--color-on-photo);
  text-shadow: 0 2px 16px oklch(0.07 0.01 60 / 0.55);
}
.hero-rule {
  width: clamp(120px, 30vw, 240px);
  height: 1px;
  background: var(--color-gold);
  opacity: 0.65;
}
.hero-place {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: var(--text-xs);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: oklch(from var(--color-on-photo) l c h / 0.72);
  text-shadow: 0 1px 10px oklch(0.07 0.01 60 / 0.6);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid oklch(from var(--color-on-photo) l c h / 0.22);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: oklch(from var(--color-on-photo) l c h / 0.8);
  background: oklch(from #1e1a14 l c h / 0.55);
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}
.pill svg { width: 12px; height: 12px; stroke: var(--color-gold); fill: none; stroke-width: 2; }

/* ─── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  padding: var(--space-8) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.page-header-eyebrow {
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.page-header-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-text);
}

/* ─── SECTION MASTHEAD (photo header on non-home pages) ─────── */
.section-hero {
  position: relative;
  min-height: clamp(200px, 36vh, 360px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-12) var(--space-6) var(--space-8);
  overflow: hidden;
  border-bottom: 1px solid var(--color-divider);
}
.section-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.section-hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    oklch(0.07 0.01 60 / 0.65) 0%,
    oklch(0.07 0.01 60 / 0.40) 40%,
    oklch(0.07 0.01 60 / 0.72) 72%,
    oklch(0.05 0.01 60 / 0.96) 100%
  );
}
.section-hero .page-header-eyebrow,
.section-hero .page-header-title,
.section-hero-rule { position: relative; z-index: 2; }
.section-hero .page-header-eyebrow { text-shadow: 0 1px 10px oklch(0.06 0.01 60 / 0.75); }
.section-hero .page-header-title {
  color: var(--color-on-photo);
  text-shadow: 0 2px 22px oklch(0.05 0.01 60 / 0.85);
}
.section-hero-rule {
  margin-top: var(--space-4);
  width: clamp(72px, 18vw, 140px);
  height: 1px;
  background: var(--color-gold);
  opacity: 0.6;
}

/* ─── GUIDES (how-to / in-stay) ─────────────────────────────── */
.guides-list {
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.guide-group-label {
  padding: var(--space-6) var(--space-2) var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 500;
}
.guide-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.guide-head { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.guide-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
}
.guide-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.5;
}
.guide-chevron {
  flex-shrink: 0;
  color: var(--color-text-faint);
  transition: transform var(--transition), color var(--transition);
}
.guide-chevron svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; display: block; }
.guide-body { padding: var(--space-5) var(--space-5) var(--space-6); }
.guide-steps {
  margin: 0;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.guide-steps li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.guide-steps li::marker { color: var(--color-gold); font-weight: 500; }
.guide-steps strong { color: var(--color-text); font-weight: 500; }
.guide-note {
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: oklch(from var(--color-gold) l c h / 0.06);
  border: 1px solid oklch(from var(--color-gold) l c h / 0.22);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.guide-note strong { color: var(--color-gold); font-weight: 500; }
.guide-tbd { color: var(--color-gold); font-style: italic; }
@media (hover: hover) and (pointer: fine) {
}

/* ─── AMENITIES ─────────────────────────────────────────── */
.amenity-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  display: block;
}
.amenity-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.amenity-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.5;
}
.amenities-section-label {
  padding: var(--space-6) var(--space-6) var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 500;
}

/* ─── SUITES ─────────────────────────────────────────── */
.suites-list {
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.suite-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
}
.suite-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.suite-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-size: 2rem;
}
.suite-body { padding: var(--space-5); }
.suite-badge {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.suite-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.suite-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.suite-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.suite-feature {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

/* ─── CONTACTS / INFO ─────────────────────────────────────────── */
.contacts-list {
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.contact-card:active { background: var(--color-surface-2); }
.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.contact-icon-wrap.whatsapp { background: oklch(from #25d366 l c h / 0.15); }
.contact-info { flex: 1; min-width: 0; }
.contact-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-1);
}
.contact-name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
}
.contact-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 300;
  margin-top: var(--space-1);
}
.contact-arrow {
  color: var(--color-text-faint);
}
.contact-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

.info-block {
  margin: 0 var(--space-6) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.info-row:last-child { border-bottom: none; }
.info-row-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
}
.info-row-value {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  text-align: right;
}

/* ─── RULES ─────────────────────────────────────────── */
.rules-list {
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.rule-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}
.rule-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.rule-content {}
.rule-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.rule-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.rule-item.important { border-color: oklch(from var(--color-gold) l c h / 0.4); background: oklch(from var(--color-gold) l c h / 0.05); }

/* ─── DIVIDER ─────────────────────────────────────────── */
.divider { height: 1px; background: var(--color-divider); margin: 0 var(--space-6); }

/* ─── SCROLL PADDING ─────────────────────────────────────────── */
.scrollable { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* ─── FADE-IN ANIMATION ─────────────────────────────────────────── */
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes reveal-fade { to { opacity: 1; } }
}

.section-spacer { height: var(--space-8); }

/* ─── LOCAL TIPS ─────────────────────────────────────────── */
.tip-cat {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.tip-icon { font-size: 1.1rem; }
.tip-items { padding: var(--space-2) 0; }
.tip-item {
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-divider);
}
.tip-item:last-child { border-bottom: none; }
.tip-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.tip-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* ─── TOP NAV (all screen sizes; two-row on mobile, single-row ≥768px) ─────────────────────────────────────────── */
.top-nav {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto; /* two rows on mobile; overridden to fixed height ≥768px */
  z-index: 1000;
  background: oklch(from #faf7f2 l c h / 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--color-border);
}
.top-nav-inner {
  max-width: var(--content-max-wide);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

/* ─── TOP NAV — mobile two-row layout ─────────────────────────────────────────── */
/* Brand row — typography + mobile layout */
.top-nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--transition), opacity 360ms var(--transition);
}
.top-nav-brand em { font-style: italic; color: var(--color-gold); }
.top-nav-brand:hover { color: var(--color-gold); }
  /* Home is a fixed full-viewport cover: never scrolls, never clipped, no
   dvh jump when mobile chrome hides (svh stays stable since no scroll). */
body[data-section="sec-home"] { overflow: hidden; padding-bottom: 0; }
#sec-home { min-height: 100svh; }

/* Tab strip — mobile evenly-spaced row */
.top-nav-links {
  display: flex;
  justify-content: space-around;
  gap: 0;
  padding: 0;
}
.top-nav-links::-webkit-scrollbar { display: none; }

/* Nav items — mobile column layout (icon above label) */
.top-nav-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  padding: 0.6rem 0.25rem;
  min-width: 0;
  min-height: 44px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.top-nav-item svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.top-nav-item::after {
  content: "";
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: calc(var(--space-2) * -1 + 2px);
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.top-nav-item.active { color: var(--color-gold); }
.top-nav-item.active::after { transform: scaleX(1); }

/* ── More button (mobile only) ── */
.top-nav-more { flex-shrink: 0; }

/* ── More drawer ── */
.more-drawer {
  position: fixed;
  top: var(--top-nav-height);
  left: 0; right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 199;
  transform: translateY(-110%);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.more-drawer.open { transform: translateY(0); }

.more-drawer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: var(--space-3) var(--space-2);
}

.more-drawer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 72px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.more-drawer-item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.more-drawer-item span { display: block; }
.more-drawer-item.active { color: var(--color-gold); }
.more-drawer-item:active { background: var(--color-surface-2); }

/* ── Overlay (closes drawer on tap outside) ── */
.more-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 198;
  background: transparent;
}
.more-drawer-overlay.open { display: block; }

/* ── Hide drawer on desktop, show all items ── */
@media (min-width: 768px) {
  .top-nav-more { display: none; }
  .more-drawer { display: none; }
  .more-drawer-overlay { display: none !important; }
}

/* ─── CONTENT CONTAINER (tablet / desktop) ─────────────────────────────────────────── */
/* Centers content on large screens. Applied to a wrapper inside each non-hero
   section header/body group via .section-inner; phone keeps full-bleed. */
.section-inner { width: 100%; }

/* ─── DESKTOP HOVER STATES (pointer devices only) ─────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .top-nav-item:hover { color: var(--color-text); background: var(--color-surface-2); }
  .top-nav-item:hover::after { transform: scaleX(1); }
  .top-nav-item.active:hover { color: var(--color-gold); }

  .suite-card { transition: border-color var(--transition), transform var(--transition); }
  .suite-card:hover {
    border-color: oklch(from var(--color-gold) l c h / 0.35);
    transform: translateY(-3px);
  }
  .suite-card { will-change: transform; }
  .suite-card .suite-img,
  .suite-card .suite-img-placeholder { transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
  .suite-card:hover .suite-img { transform: scale(1.04); }

  .contact-card:hover {
    background: var(--color-surface-2);
    border-color: oklch(from var(--color-gold) l c h / 0.35);
  }
  .contact-card:hover .contact-arrow { color: var(--color-gold); }
  .contact-arrow { transition: color var(--transition); }

  .rule-item { transition: border-color var(--transition); }
  .rule-item:hover { border-color: oklch(from var(--color-gold) l c h / 0.3); }

  .pill { transition: border-color var(--transition), color var(--transition); }
  .pill:hover { border-color: oklch(from var(--color-gold) l c h / 0.45); color: var(--color-text); }


}

/* keep the gentle press feedback on touch */
.suite-card { transition: border-color var(--transition); }

/* ─── TABLET  (≥ 768px) ─────────────────────────────────────────── */
@media (min-width: 768px) {
  :root {
    --gutter: var(--space-10);
    --top-nav-height: 76px; /* single-row; overrides the mobile two-row value */
  }

  body {
    padding-bottom: 0;
    /* padding-top already set in base; updated via --top-nav-height above */
  }

  /* Restore single-row top nav layout */
  .top-nav { height: var(--top-nav-height); }
  .top-nav-inner {
    flex-direction: row;
    align-items: center;
    height: 100%;
    padding: 0 var(--gutter);
    justify-content: space-between;
    gap: var(--space-8);
  }
  .top-nav-brand {
    border-bottom: none;
    padding: 0;
    justify-content: flex-start;
    font-size: var(--text-lg); /* explicit; matches original */
  }
  .top-nav-links {
    overflow-x: visible;
    scroll-snap-type: none;
    padding: 0;
    gap: var(--space-2);
    align-items: center;
  }
  .top-nav-item {
    flex-direction: row;
    flex-shrink: 1;
    scroll-snap-align: none;
    min-width: auto;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    gap: var(--space-2);
  }
  .top-nav-item svg { width: 18px; height: 18px; }

  /* Centered content container for every non-hero block */
  .page-header,
  .amenities-section-label,

  .page-header {
    padding: var(--space-12) var(--gutter) var(--space-6);
  }
  .amenities-section-label { padding: var(--space-10) var(--gutter) var(--space-4); }

  /* Amenities: 2 → 3 columns */

  /* Suites: 1 → 2 columns */
  .suites-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    padding: var(--space-6) var(--gutter);
    align-items: start;
  }
  .suite-img,
  .suite-img-placeholder { height: 240px; }

  /* Hero cover: full-bleed; runs behind the fixed translucent top nav */
  .hero {
    margin-top: calc(var(--top-nav-height) * -1);
    min-height: 100dvh;
    padding: calc(var(--top-nav-height) + var(--space-12)) var(--gutter) var(--space-16);
  }
  .hero-logo { width: clamp(360px, 34vw, 520px); }
  .hero-logo-casa { font-size: clamp(0.9rem, 1vw + 0.4rem, 1.2rem); }

  /* Contacts: 2 columns */
  .contacts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    padding: var(--space-6) var(--gutter);
  }

  /* Info blocks side by side via a balanced flow */
  .rules-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    padding: var(--space-6) var(--gutter);
    align-items: start;
  }

}

/* ─── DESKTOP  (≥ 1024px) ─────────────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --gutter: var(--space-12); }


  .page-header { padding-top: var(--space-16); }

  .hero-logo { width: clamp(380px, 30vw, 560px); }
  .hero-logo-casa { font-size: clamp(0.9rem, 0.8vw + 0.4rem, 1.1rem); }

  .contacts-list { gap: var(--space-5); }
  .rules-list { gap: var(--space-5); }
}

/* ─── LARGE DESKTOP  (≥ 1440px) ─────────────────────────────────────────── */
@media (min-width: 1440px) {
  /* Cap the cover so it never becomes oversized on ultrawide screens */
  .hero-logo { width: 560px; }
  .hero-logo-casa { font-size: 1.1rem; }
  .hero-housebook { font-size: 3.25rem; }

  /* Grids may use the slightly wider ceiling so cards don't get oversized */
}

/* ─── AMENITIES — FEATURE GRID ──────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-6) var(--space-4);
}
.feature-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  border: 1px solid var(--color-border);
}
.feature-card img,
.feature-card picture {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  display: block;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    180deg,
    oklch(0.07 0.01 60 / 0.12) 0%,
    oklch(0.07 0.01 60 / 0.34) 38%,
    oklch(0.07 0.01 60 / 0.74) 68%,
    oklch(0.06 0.01 60 / 0.97) 100%
  );
}
.feature-body { padding: var(--space-6); position: relative; z-index: 1; }
.feature-eyebrow {
  font-family: var(--font-brand);
  font-size: var(--text-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  text-shadow: 0 1px 10px oklch(0.06 0.01 60 / 0.7);
}
.feature-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-on-photo);
  margin-top: var(--space-2);
  line-height: 1.15;
  text-shadow: 0 2px 18px oklch(0.06 0.01 60 / 0.85);
}
.feature-desc {
  font-size: var(--text-base);
  color: #f3ecdc;
  opacity: 0.96;
  font-weight: 300;
  line-height: 1.6;
  margin-top: var(--space-3);
  max-width: 48ch;
  text-shadow: 0 1px 12px oklch(0.06 0.01 60 / 0.85);
}
@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    padding: var(--space-10) var(--gutter) var(--space-6);
    max-width: var(--content-max);
    margin: 0 auto;
  }
  .feature-card { min-height: 320px; }
  .feature-card.span-2 { grid-column: span 2; min-height: 380px; }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); max-width: var(--content-max-wide); margin: 0 auto; }
  .feature-card.span-2 { grid-column: span 2; }
}
@media (hover: hover) and (pointer: fine) {
  .feature-card img { transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1); }
  .feature-card:hover img { transform: scale(1.05); }
  .feature-card { transition: border-color var(--transition); }
  .feature-card:hover { border-color: oklch(from var(--color-gold) l c h / 0.4); }
}

/* Amenities — "Also included" refined list */
.included {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6) var(--space-6);
}
.included-list { border-top: 1px solid var(--color-divider); }
.included-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-1);
  border-bottom: 1px solid var(--color-divider);
}
.included-row .mk { color: var(--color-gold); font-size: 0.55rem; flex: none; transform: translateY(-2px); }
.included-row .nm {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text);
  flex: none;
  width: 38%;
}
.included-row .ds {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .included-row { flex-direction: column; gap: var(--space-1); padding-bottom: var(--space-5); }
  .included-row .nm { width: auto; }
}

/* ─── AMENITY DETAIL PAGE ───────────────────────────────────── */
button.feature-card { width: 100%; text-align: left; font: inherit; appearance: none; }
.detail-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--space-3) var(--space-4);
  background: oklch(from #faf7f2 l c h / 0.94);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-divider);
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition);
}
.detail-back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.detail-back:hover { color: var(--color-gold); }
.detail { display: block; }
.detail-hero { position: relative; }
.detail-hero img {
  width: 100%;
  height: clamp(240px, 46vh, 520px);
  object-fit: cover;
  display: block;
}
.detail-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.07 0.01 60 / 0.15) 35%, oklch(0.07 0.01 60 / 0.70) 78%, oklch(0.07 0.01 60 / 0.98) 100%);
}
.local-place-hero { position: relative; height: 380px; margin-top: calc(var(--top-nav-height) * -1); z-index: -1; }
.local-place-hero picture { display: block; width: 100%; height: 100%; }
.local-place-hero img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 0; }
.local-place-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, oklch(0.07 0.01 60 / 0.15) 35%, oklch(0.07 0.01 60 / 0.70) 78%, oklch(0.07 0.01 60 / 0.98) 100%);
}
.detail-head {
  position: relative;
  margin-top: -88px;
  z-index: 1;
  padding: 0 var(--space-6) var(--space-6);
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}
.detail-eyebrow {
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.detail-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  line-height: 1.08;
  color: var(--color-on-photo);
  margin-top: var(--space-2);
  text-shadow: 0 2px 18px oklch(0.07 0.01 60 / 0.6);
}
.detail-body {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-10);
}
.detail-rule { width: 64px; height: 1px; background: var(--color-gold); opacity: 0.6; margin: var(--space-5) 0 var(--space-6); }
.detail-blurb {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 62ch;
}
.detail-gallery {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-6) calc(var(--space-6) * -1) 0;
  padding: 0 var(--space-6) var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.detail-gallery::-webkit-scrollbar { height: 6px; }
.detail-gallery::-webkit-scrollbar-track { background: transparent; }
.detail-gallery::-webkit-scrollbar-thumb {
  background: var(--color-divider);
  border-radius: var(--radius-full);
}
.detail-gallery:hover::-webkit-scrollbar-thumb { background: var(--color-border); }
.detail-gallery img {
  flex: 0 0 auto;
  width: clamp(240px, 70vw, 420px);
  height: clamp(170px, 48vw, 280px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  border: 1px solid var(--color-border);
}
.detail-label {
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  font-weight: 500;
  margin: var(--space-8) 0 var(--space-4);
}
.detail-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #1a1408;
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-cta svg { width: 18px; height: 18px; fill: currentColor; }
.detail-cta:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .detail-cta:hover { filter: brightness(1.06); }
}
@media (min-width: 768px) {
  .detail-hero img { height: clamp(360px, 56vh, 620px); }
  .detail-head { margin-top: -120px; padding-left: var(--gutter); padding-right: var(--gutter); }
  .detail-body { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* --- VIDEO MODAL --- */
.video-modal {
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0; padding: 0;
  border: none;
  background: #000;
  color: #fff;
  z-index: 2000;
}
.video-modal[open] { display: block; animation: lb-in cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }
.video-modal::backdrop { background: #000; }
.video-modal-stage {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.video-modal-stage video {
  width: 100%; height: 100%;
  object-fit: contain;
}
.video-modal-close {
  position: absolute; top: var(--space-4); right: var(--space-4); z-index: 2010;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff;
  transition: opacity 0.2s ease;
}
.video-modal-close svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─── LIGHTBOX (gallery) ────────────────────────────────────── */
.detail-gallery img { cursor: zoom-in; }
.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.lightbox::backdrop {
  background: oklch(0.02 0.005 60 / 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox:not([open]) { display: none; }
.lightbox-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(var(--space-4), 5vw, var(--space-12));
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px oklch(0.02 0 0 / 0.7);
  animation: lb-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lb-in { from { opacity: 0; transform: scale(0.98); } }
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: oklch(0.07 0.01 60 / 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  z-index: 2;
}
.lightbox-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.lightbox-prev { left: clamp(var(--space-2), 2vw, var(--space-6)); }
.lightbox-next { right: clamp(var(--space-2), 2vw, var(--space-6)); }
.lightbox-close {
  position: absolute;
  top: calc(var(--space-4) + env(safe-area-inset-top));
  right: var(--space-4);
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: oklch(0.07 0.01 60 / 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  z-index: 2;
}
.lightbox-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.lightbox-count {
  position: absolute;
  bottom: calc(var(--space-6) + env(safe-area-inset-bottom));
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  z-index: 2;
}
.lightbox[data-single="1"] .lightbox-prev,
.lightbox[data-single="1"] .lightbox-next,
.lightbox[data-single="1"] .lightbox-count { display: none; }
@media (hover: hover) and (pointer: fine) {
  .lightbox-btn:hover, .lightbox-close:hover { color: var(--color-gold); }
}
@media (prefers-reduced-motion: reduce) { .lightbox-stage img { animation: none; } }

/* ─── CONTACT MODAL ─────────────────────────────────────────── */
.contact-card { width: 100%; text-align: left; font: inherit; }
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(440px, calc(100vw - 2 * var(--space-6)));
  max-height: calc(100dvh - 2 * var(--space-8));
  padding: 0;
  border: 1px solid oklch(from var(--color-gold) l c h / 0.22);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px oklch(0.02 0 0 / 0.6);
}
.modal:not([open]) { display: none; }
.modal-media { flex: none; }
.modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal::backdrop {
  background: oklch(0.02 0.005 60 / 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal[open] { animation: modal-in 280ms cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modal-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)) scale(0.98); } }
.modal-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--color-surface-2);
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
}
.modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.07 0.01 60 / 0.15) 35%, oklch(0.07 0.01 60 / 0.70) 78%, oklch(0.07 0.01 60 / 0.98) 100%);
}
.modal-media.is-icon {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 7;
  background: radial-gradient(circle at 50% 40%, var(--color-surface-2), var(--color-surface));
}
.modal-media.is-icon::after { display: none; }
.modal-media-emoji { font-size: 2.75rem; line-height: 1; opacity: 0.9; }
.modal-close {
  position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: oklch(0.07 0.01 60 / 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--color-text);
}
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.modal-body { padding: var(--space-8) var(--space-6) var(--space-8); }
.modal-eyebrow {
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.modal-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-top: var(--space-2);
  line-height: 1.2;
}
.modal-rule { width: 56px; height: 1px; background: var(--color-gold); opacity: 0.6; margin: var(--space-4) 0; }
.modal-blurb {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.65;
}
.modal-cta {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: #1a1408;
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter var(--transition), transform var(--transition);
}
.modal-cta svg { width: 18px; height: 18px; fill: currentColor; }
.modal-cta:active { transform: scale(0.98); }
.modal-cta-sub {
  margin-top: var(--space-3);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 300;
}
@media (hover: hover) and (pointer: fine) {
  .contact-card { cursor: pointer; }
  .modal-cta:hover { filter: brightness(1.06); }
  .modal-close:hover { color: var(--color-gold); }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .modal[open] { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─── LOCAL (Los Cabos guide) ─────────────────────────── */
.local-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-2) var(--gutter) var(--space-6);
}
.local-cat-card {
  appearance: none;
  width: 100%;
  text-align: left;
  font: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.local-cat-card:active { transform: scale(0.99); }
.local-cat-eyebrow {
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.local-cat-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.1;
  margin-top: var(--space-2);
}
.local-cat-rule { display: block; width: 48px; height: 1px; background: var(--color-gold); opacity: 0.55; margin: var(--space-4) 0; }
.local-cat-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.65;
  max-width: 56ch;
}
.local-cat-count {
  margin-top: var(--space-5);
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.local-cat-intro { padding: var(--space-6) var(--gutter) var(--space-2); max-width: var(--content-max); margin: 0 auto; }
.local-cat-h { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 300; line-height: 1.08; }
.local-cat-sub { font-size: var(--text-base); color: var(--color-text-muted); font-weight: 300; line-height: 1.6; max-width: 60ch; margin-top: var(--space-4); }
.local-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) var(--gutter) var(--space-6);
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}
.local-row {
  appearance: none;
  font: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.local-row:active { transform: scale(0.995); }
.local-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.local-row-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 400; line-height: 1.2; }
.local-row-tag {
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.local-row-desc { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 300; line-height: 1.55; }
.local-row-go { flex: none; color: var(--color-text-faint); display: flex; }
.local-row-go svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.local-place-head { padding: var(--space-12) var(--gutter) var(--space-2); max-width: var(--content-max); margin: 0 auto; position: relative; z-index: 2; margin-top: -88px; }
.local-place-eyebrow {
  position: relative; z-index: 2;
  font-family: var(--font-brand);
  font-size: var(--text-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-shadow: 0 2px 14px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.7);
}
.local-place-name {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-on-photo);
  margin-top: var(--space-2);
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.7);
}
.local-place-tag {
  position: relative; z-index: 2;
  margin-top: var(--space-3);
  font-family: var(--font-brand);
  font-size: var(--text-base);
  color: oklch(0.96 0.01 60);
  line-height: 1.5;
  font-weight: 300;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.6);
}
.local-place-rule { display: block; width: 64px; height: 1px; background: var(--color-gold); opacity: 0.6; margin: var(--space-5) 0 0; }
.local-place-body { max-width: var(--content-max); margin: 0 auto; padding: var(--space-6) var(--gutter) var(--space-10); }
.local-place-p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.75;
  max-width: 64ch;
  margin-bottom: var(--space-4);
}
.local-place-good { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.local-place-good li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.local-place-good li::before { content: "\25C6"; position: absolute; left: 0; color: var(--color-gold); font-size: 0.6em; top: 0.5em; }
.local-place-note { margin-top: var(--space-6); font-size: var(--text-xs); color: var(--color-text-faint); font-weight: 300; }
@media (hover: hover) {
  .local-cat-card:hover { border-color: oklch(from var(--color-gold) l c h / 0.4); background: var(--color-surface-2); }
  .local-row:hover { border-color: oklch(from var(--color-gold) l c h / 0.35); background: var(--color-surface-2); }
}
@media (min-width: 768px) {
  .local-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); padding: var(--space-2) var(--gutter) var(--space-10); max-width: var(--content-max); margin: 0 auto; }
}
@media (min-width: 1024px) {
  .local-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── GUIDE (instagram-style image feed) ──────────────── */
.guide-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  padding: var(--space-4) var(--gutter) var(--space-8);
  max-width: var(--content-max);
  margin: 0 auto;
}
@media (min-width: 768px) { .guide-feed { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); padding: var(--space-10) var(--gutter) var(--space-6); max-width: var(--content-max); margin: 0 auto; } }
@media (min-width: 1024px) { .guide-feed { grid-template-columns: repeat(3, 1fr); } }
.guide-feed-card {
  position: relative;
  appearance: none;
  font: inherit;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  text-align: left;
}
.guide-feed-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.guide-feed-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.guide-feed-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 28%, rgba(0,0,0,0.35) 62%, rgba(0,0,0,0.08) 100%),
    radial-gradient(circle at 50% 80%, rgba(0,0,0,0.50), transparent 58%);
}
.guide-feed-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: var(--space-4) var(--space-4) var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  font-weight: 450;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95), 0 10px 30px rgba(0,0,0,0.75);
}
@media (hover: hover) {
  .guide-feed-card:hover .guide-feed-bg img { transform: scale(1.06); }
}

/*#PART kind=css name=modular-pages reusable=yes*/
/* ─── MODULAR PAGES (standard module set) ─────────────── */
.modpage { display: block; }
.mod-head { max-width: var(--content-max); margin: 0 auto; padding: var(--space-10) var(--gutter) var(--space-4); }
.mod-head-eyebrow { font-family: var(--font-brand); font-size: var(--text-xs); letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-gold); font-weight: 650; }
.mod-head-title { font-family: var(--font-display); font-size: clamp(2.4rem, 8vw, 4.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.04em; margin-top: var(--space-2); color: var(--color-text); }
.mod-head-text { margin-top: var(--space-4); font-family: var(--font-body); font-size: clamp(1.05rem, 2.3vw, 1.28rem); line-height: 1.55; color: var(--color-text); font-weight: 450; max-width: 44rem; }
.mod-head-rule { display: block; width: 64px; height: 2px; background: var(--color-gold); opacity: 0.85; margin: var(--space-5) 0 0; }
.mod-subhead { font-family: var(--font-brand); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-faint); font-weight: 500; margin: var(--space-10) 0 var(--space-4); }
.mod-text { font-size: var(--text-base); color: var(--color-text-muted); font-weight: 300; line-height: 1.75; max-width: 64ch; margin-bottom: var(--space-4); }
.mod-img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); display: block; margin: var(--space-6) auto; object-fit: cover; max-width: 600px; }
.mod-image-container .mod-img, .detail-image-container img { max-width: 600px; margin: 0 auto; display: block; }
.mod-image { display: flex; justify-content: center; width: 100%; margin-bottom: var(--space-6); }
.mod-image img, .mod-image > div { max-width: 600px; margin: 0 auto; width: 100%; }
/* Center images and video blocks inside body content areas */
.detail-body img:not([class]), .local-place-body img:not([class]) { display: block; max-width: 600px; margin: var(--space-6) auto; border-radius: var(--radius-lg); }
.mod-steps { list-style: none; counter-reset: modstep; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.mod-step { counter-increment: modstep; }
.mod-step-n { font-family: var(--font-brand); color: var(--color-gold); font-size: var(--text-xs); letter-spacing: 0.22em; }
.mod-step-n::before { content: counter(modstep, decimal-leading-zero); }
.mod-step-t { font-size: var(--text-base); color: var(--color-text-muted); font-weight: 300; line-height: 1.7; margin-top: var(--space-1); max-width: 64ch; }
.mod-step-img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); display: block; margin-top: var(--space-4); }
.mod-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); background: #000; margin: var(--space-6) 0; }
.mod-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/*#PART-END modular-pages*/

/* ─── feedback polish: affordances, dual CTA, hints ───── */
.feature-go {
  display: inline-flex; align-items: center; gap: var(--space-2);
  margin-top: var(--space-4);
  font-family: var(--font-brand);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  text-shadow: 0 1px 10px oklch(0.06 0.01 60 / 0.8);
}
.feature-go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (hover: hover) { .feature-card:hover .feature-go { gap: var(--space-3); } }
.amenities-hint {
  padding: 0 var(--gutter) var(--space-4);
  margin-top: calc(-1 * var(--space-2));
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 300;
}
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.cta-row .detail-cta { margin-top: 0; }
.detail-cta.is-call {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid oklch(from var(--color-gold) l c h / 0.55);
}
@media (hover: hover) { .detail-cta.is-call:hover { background: oklch(from var(--color-gold) l c h / 0.12); filter: none; } }
.detail-hero + .local-place-head { padding-top: var(--space-8); }

/* Local place photo strip — horizontal swipe, supports multiple photos */
.local-photo-strip {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-6) var(--gutter) var(--space-3);
  scrollbar-width: none;
}
.local-photo-strip::-webkit-scrollbar { display: none; }
.local-photo-strip picture { flex: 0 0 auto; display: block; }
.local-photo-strip img {
  display: block;
  width: clamp(280px, 82vw, 560px);
  height: clamp(190px, 54vw, 360px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
}
.local-photo-strip + .local-place-head { padding-top: var(--space-4); }
