@font-face {
  font-family: Manrope;
  src: url('assets/manrope0.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/manrope2.ttf') format('truetype');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/manrope3.ttf') format('truetype');
  font-style: normal;
  font-weight: 650 800;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url('assets/fraunces1.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url('assets/fraunces0.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* ==========================================================================
   REA DESIGN TOKENS — 60-30-10 BRAND CHROMATIC & MOTION DISCIPLINE
   Derived 100% from the official 'bora viver Praia Grande' mark:
   Forest (#075640), Ocean (#267D99 / #14657D), Sun (#EFA548), Sand (#F7F3E8)
   ========================================================================== */
:root {
  /* 60% Warm Coastal Canvases */
  --bg-paper: #fffefa;
  --bg-sand: #f7f3e8;
  --bg-sand-recessed: #efe9d9;
  --bg-card: #ffffff;

  /* 30% Deep Coastal Forest & Harmonized Ink (Zero cold off-palette slates) */
  --forest: #075640;
  --forest-deep: #053b2c;
  --ink: #0d3328;
  --ink-body: #29493f;
  --ink-muted: #526e65;
  --line: rgba(7, 86, 64, 0.13);
  --line-strong: rgba(7, 86, 64, 0.25);

  /* 10% Semantic Brand Accents */
  --ocean: #14657d;
  --sea: #267d99;
  --sky: #edf5f7;
  --gold: #efa548;
  --gold-soft: rgba(239, 165, 72, 0.18);

  /* Typography */
  --serif: Fraunces, Georgia, serif;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Agency Motion Curves (Oku / Gundari / Locomotive physics) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-silk: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-flight: cubic-bezier(0.62, 0.02, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background-color: var(--bg-paper);
  background-image:
    radial-gradient(circle at 88% 8%, rgba(239, 165, 72, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 12% 38%, rgba(38, 125, 153, 0.05) 0%, transparent 48%);
  color: var(--ink);
  font: 400 16px/1.68 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

/* Subtle tactile paper grain overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.022;
}

h1, h2, h3, h4, p, figure, dl, dd {
  margin: 0;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a, button, summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: #fff;
  padding: 12px 16px;
  z-index: 200;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(13, 51, 40, 0.14);
}

.skip:focus {
  top: 12px;
}

/* ==========================================================================
   CHOREOGRAPHED SUNRISE INTRO & ZERO-GLITCH FLIP FLIGHT TO HEADER
   ========================================================================== */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: visible;
}

.intro-backdrop {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--bg-sand);
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 0.82s cubic-bezier(0.4, 0, 0.2, 1) 0.18s;
}

.intro-ambient-sun {
  position: absolute;
  width: min(640px, 92vw);
  height: min(640px, 92vw);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(239, 165, 72, 0.34) 0%,
    rgba(239, 165, 72, 0.12) 44%,
    rgba(247, 243, 232, 0) 72%
  );
  transform: translateY(52px) scale(0.62);
  opacity: 0;
  animation: introAmbientRise 1.25s var(--ease-out-expo) forwards;
}

.intro-horizon-line {
  position: absolute;
  width: min(520px, 82vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(239, 165, 72, 0.48) 50%,
    transparent 100%
  );
  transform: translateY(48px) scaleX(0.2);
  opacity: 0;
  animation: introHorizonExpand 1.15s var(--ease-out-expo) forwards;
}

.intro-logo-mover {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  z-index: 102;
  transform-origin: 0 0;
  will-change: transform;
  pointer-events: none;
  transform: translate3d(calc(50vw - 220px), calc(50vh - 54px), 0) scale(1);
}

.intro-logo-mover .bv-wave-blue {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: translateY(18px);
  animation: bvWaveRise 0.82s var(--ease-silk) 0.04s forwards;
}

.intro-logo-mover .bv-wave-green {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: translateY(14px);
  animation: bvWaveRise 0.86s var(--ease-silk) 0.12s forwards;
}

.intro-logo-mover .bv-sun-group {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: translateY(86px) scale(0.84);
  opacity: 0;
  animation: bvSunRise 1.08s var(--ease-out-expo) 0.2s forwards;
}

.intro-logo-mover .bv-wordmark {
  opacity: 0;
  transform: translateY(12px);
  animation: bvTextReveal 0.86s var(--ease-silk) 0.26s forwards;
}

.intro-logo-mover .bv-subtitle {
  opacity: 0;
  transform: translateY(10px);
  animation: bvTextReveal 0.86s var(--ease-silk) 0.38s forwards;
}

@keyframes introAmbientRise {
  0% {
    opacity: 0;
    transform: translateY(56px) scale(0.6);
  }
  100% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
}

@keyframes introHorizonExpand {
  0% {
    opacity: 0;
    transform: translateY(48px) scaleX(0.2);
  }
  60% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.36;
    transform: translateY(48px) scaleX(1);
  }
}

@keyframes bvWaveRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bvSunRise {
  0% {
    opacity: 0;
    transform: translateY(86px) scale(0.84);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bvTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-curtain.is-docking .intro-backdrop {
  opacity: 0;
}

.intro-curtain.is-docking .intro-logo-mover {
  transition: transform 1.05s var(--ease-flight);
}

.intro-curtain.is-finished {
  visibility: hidden !important;
  opacity: 0 !important;
  transition: none !important;
}

.intro-curtain.is-finished .intro-logo-mover {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.brand-svg-wrap {
  display: block;
  width: 212px;
  height: auto;
}

body:not(.is-logo-docked) #header-brand-anchor .brand-svg-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

body.is-logo-docked #header-brand-anchor .brand-svg-wrap {
  opacity: 1;
  visibility: visible;
  transition: none;
}

/* Header Brand Living Micro-interactions */
#header-brand-anchor .bv-sun-group,
#header-brand-anchor .bv-wave-blue,
#header-brand-anchor .bv-wave-green {
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: transform 0.65s var(--ease-out-expo), filter 0.65s ease;
}

#header-brand-anchor:hover .bv-sun-group {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 0 10px rgba(239, 165, 72, 0.5));
}

#header-brand-anchor:hover .bv-wave-blue {
  transform: translateX(3px) translateY(-1px);
}

#header-brand-anchor:hover .bv-wave-green {
  transform: translateX(-2px) translateY(-1px);
}

/* ==========================================================================
   MOTION CHOREOGRAPHY: STAGGER, SCROLL REVEAL & ARCHITECTURAL CURTAIN
   ========================================================================== */
.hero-stagger {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.95s var(--ease-out-expo),
    transform 0.95s var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 1) * 90ms);
}

body.is-intro-active .hero-stagger {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition-delay: 0ms;
}

.hero-showcase {
  min-width: 0;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 1.1s var(--ease-out-expo) 0.12s,
    transform 1.1s var(--ease-out-expo) 0.12s;
}

body.is-intro-active .hero-showcase {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.98);
  transition-delay: 0ms;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.95s var(--ease-out-expo),
    transform 0.95s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Architectural Curtain Mask Reveal for Bento Showcases & Coastal Photo */
[data-curtain] {
  clip-path: inset(6% 0 0 0 round 14px);
  opacity: 0.01;
  transform: translate3d(0, 20px, 0);
  transition:
    clip-path 1.15s var(--ease-out-expo),
    opacity 0.85s var(--ease-out-expo),
    transform 1.15s var(--ease-out-expo);
}

[data-curtain].is-visible {
  clip-path: inset(0% 0 0 0 round 14px);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
  height: 82px;
  background: rgba(247, 243, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(4%, calc((100vw - 1320px) / 2));
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 40;
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 243, 232, 0.97);
  box-shadow: 0 10px 32px rgba(7, 86, 64, 0.06);
}

.brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-body);
}

.site-header nav a {
  padding: 12px 0;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.22s ease;
}

.nav-num {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--forest);
  background: rgba(7, 86, 64, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.site-header nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out-expo);
}

.site-header nav a:hover {
  color: var(--forest);
}

.site-header nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  background: var(--forest);
  color: var(--bg-paper);
  border-radius: 99px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}

.header-cta:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(7, 86, 64, 0.2);
}

.site-header nav a.nav-mobile-contact,
.menu-button,
.mobile-shortcuts {
  display: none;
}

.menu-button {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  padding: 10px;
  width: 44px;
  height: 44px;
}

.menu-button span {
  display: block;
  width: 21px;
  height: 1.5px;
  background: var(--forest);
  margin: 6px 0;
}

/* ==========================================================================
   TYPOGRAPHY & SHARED CONTROLS
   ========================================================================== */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eyebrow.light {
  color: rgba(247, 243, 232, 0.78);
}

.sun-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(239, 165, 72, 0.22);
  display: inline-block;
  animation: sunPulseGlow 3.2s ease-in-out infinite;
}

@keyframes sunPulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(239, 165, 72, 0.18);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 165, 72, 0.34);
    transform: scale(1.1);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--forest);
  color: #fff;
  border: 1px solid var(--forest);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  min-height: 48px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease-out-expo),
    box-shadow 0.25s ease;
}

.button:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  transform: translateY(-1.5px);
  box-shadow: 0 10px 24px rgba(7, 86, 64, 0.18);
}

.button.ocean {
  background: var(--ocean);
  border-color: var(--ocean);
}

.button.ocean:hover {
  background: #0e5064;
  border-color: #0e5064;
  box-shadow: 0 10px 24px rgba(20, 101, 125, 0.22);
}

.button.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest-deep);
  font-weight: 700;
}

.button.gold:hover {
  background: #f5b35c;
  border-color: #f5b35c;
  box-shadow: 0 10px 26px rgba(239, 165, 72, 0.3);
}

.button.small {
  font-size: 13px;
  padding: 10px 18px;
  gap: 10px;
  min-height: 44px;
}

.button.full-width {
  width: 100%;
  justify-content: space-between;
}

.text-link {
  background: transparent;
  border: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 44px;
  color: var(--forest);
  border-bottom: 1px solid rgba(7, 86, 64, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--ocean);
  border-color: var(--ocean);
}

/* ==========================================================================
   BEAT 1: ARCHITECTURAL HERO + DUAL-RESIDENCE INDEX DOCK
   ========================================================================== */
.hero-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 40px;
  align-items: center;
}

.hero-editorial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-editorial h1 {
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-editorial h1 em {
  color: var(--forest);
  white-space: nowrap;
}

.hero-lead {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-body);
  max-width: 450px;
  margin: 16px 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

/* Panoramic Hero Photo Frame (Unobstructed View) */
.hero-photo-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sky);
  aspect-ratio: 16 / 9.4;
  box-shadow: 0 24px 60px rgba(7, 86, 64, 0.09);
}

.hero-photo-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transition:
    transform 0.85s var(--ease-out-expo),
    opacity 0.32s ease;
}

.hero-photo-stage:hover > img {
  transform: scale(1.022);
}

.hero-photo-stage > img.is-switching {
  opacity: 0.34;
  transform: scale(1.012);
}

.hero-photo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 254, 250, 0.92);
  backdrop-filter: blur(10px);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(13, 51, 40, 0.1);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-photo-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(13, 51, 40, 0.88);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.22s ease, transform 0.25s var(--ease-out-expo);
}

.hero-photo-expand:hover {
  background: var(--forest);
  transform: translateY(-2px);
}

/* Architectural Dual-Residence Index Dock Below Hero */
.residence-dock {
  margin-top: 20px;
  background: var(--bg-sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 16px;
  align-items: center;
}

.dock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px 10px 10px;
  transition: all 0.28s var(--ease-out-expo);
}

.dock-card:hover {
  background: #fff;
  border-color: var(--line);
}

.dock-card.is-active {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(7, 86, 64, 0.06);
}

.dock-preview-trigger {
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  min-width: 0;
  flex: 1;
}

.dock-preview-trigger img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}

.dock-meta {
  min-width: 0;
}

.dock-index {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dock-index.forest {
  color: var(--forest);
}

.dock-index.ocean {
  color: var(--ocean);
}

.dock-index.gold {
  color: #b87314;
}

.dock-meta strong,
.dock-trust strong {
  display: block;
  font: 600 15.5px/1.25 var(--sans);
  color: var(--ink);
}

.dock-meta small,
.dock-trust small {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-jump {
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  padding: 8px 12px;
  border-radius: 99px;
  background: var(--bg-sand);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.dock-jump:hover {
  background: var(--forest);
  color: #fff;
}

.dock-trust {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

/* ==========================================================================
   BEATS 2 & 3: FULL-WIDTH ARCHITECTURAL RESIDENCE CHAPTERS (01 & 02)
   ========================================================================== */
.residence-chapter {
  padding: 68px 24px 76px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 82px;
}

.chapter-colinas {
  background: var(--bg-paper);
}

.chapter-mar {
  background: var(--bg-sand);
}

.chapter-container {
  max-width: 1320px;
  margin: 0 auto;
}

/* Chapter Header Bar with Giant Numeral & 4-Cell Spec Strip */
.chapter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.chapter-title-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.chapter-title-group .eyebrow {
  margin-bottom: 6px;
}

.chapter-num {
  font: 400 clamp(44px, 4.8vw, 64px)/1 var(--serif);
  color: var(--forest);
  letter-spacing: -0.04em;
  background: rgba(7, 86, 64, 0.06);
  border: 1px solid rgba(7, 86, 64, 0.14);
  border-radius: 14px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chapter-num.ocean {
  color: var(--ocean);
  background: rgba(20, 101, 125, 0.07);
  border-color: rgba(20, 101, 125, 0.16);
}

.chapter-title-group h2 {
  font-size: clamp(32px, 3.6vw, 46px);
}

.chapter-specs {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 24px;
}

.chapter-specs > div {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}

.chapter-specs dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.chapter-specs dd {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

/* 3-Photo Architectural Bento + Interactive Visual Filmstrip */
.bento-showcase {
  margin-bottom: 28px;
}

.bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr);
  gap: 14px;
  height: clamp(360px, 40vw, 500px);
}

.bento-grid.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.68fr);
}

.bento-grid.reverse .bento-main {
  order: 2;
}

.bento-grid.reverse .bento-side {
  order: 1;
}

.bento-main {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sky);
  width: 100%;
  height: 100%;
  min-height: 0;
  text-align: left;
}

.bento-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.75s var(--ease-out-expo),
    opacity 0.28s ease;
}

.bento-main:hover img {
  transform: scale(1.025);
}

.bento-main img.is-switching {
  opacity: 0.35;
  transform: scale(1.012);
}

.bento-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(7, 86, 64, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 8px 13px;
  border-radius: 6px;
}

.bento-badge.ocean {
  background: rgba(20, 101, 125, 0.92);
}

.bento-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s var(--ease-out-expo), background 0.2s ease;
}

.bento-main:hover .bento-expand {
  transform: translateY(-2px);
  background: #fff;
}

.bento-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  height: 100%;
  min-height: 0;
}

.bento-sub {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sky);
  width: 100%;
  height: 100%;
  min-height: 0;
}

.bento-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out-expo);
}

.bento-sub:hover img {
  transform: scale(1.04);
}

.bento-sub span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(13, 51, 40, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
}

/* Interactive Visual Filmstrip (Real Photo Thumbnails) */
.filmstrip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.film-thumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px 5px 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-body);
  white-space: nowrap;
  transition: all 0.22s var(--ease-out-expo);
}

.film-thumb img {
  width: 46px;
  height: 34px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.film-thumb:hover {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.film-thumb.is-active {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(7, 86, 64, 0.08);
  color: var(--ink);
}

/* Chapter Bottom Split: Narrative & Amenities vs Direct Airbnb Conversion Box */
.chapter-details-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 48px;
  align-items: start;
  padding-top: 12px;
}

.chapter-narrative h3 {
  font: 400 clamp(24px, 2.4vw, 31px)/1.2 var(--serif);
  margin-bottom: 14px;
}

.chapter-narrative > p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ink-body);
  max-width: 640px;
}

.architectural-amenities {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
}

.architectural-amenities li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.architectural-amenities li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.chapter-note {
  background: rgba(239, 165, 72, 0.11);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px !important;
  color: var(--ink-body);
}

.chapter-booking-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(7, 86, 64, 0.05);
}

.booking-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--forest);
  background: rgba(7, 86, 64, 0.08);
  padding: 4px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.chapter-booking-card.ocean-accent .booking-tag {
  color: var(--ocean);
  background: rgba(20, 101, 125, 0.1);
}

.chapter-booking-card h4 {
  font: 400 26px/1.18 var(--serif);
  margin-bottom: 8px;
}

.chapter-booking-card > p {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.68;
  margin-bottom: 20px;
}

.booking-sublinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   BEAT 4: ZERO-REDUNDANCY DECISION MATRIX ("QUAL ESCOLHER?")
   ========================================================================== */
.section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 84px 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(34px, 3.8vw, 48px);
}

.section-heading > p {
  max-width: 440px;
  color: var(--ink-body);
  font-size: 14.5px;
  line-height: 1.72;
}

.comparison-section {
  border-top: 1px solid var(--line);
}

.comparison-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 28px 16px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table thead th {
  font: 400 22px/1.2 var(--serif);
  color: var(--ink);
  padding: 20px 24px 18px 0;
  border-bottom: 1.5px solid var(--ink);
}

.comparison-table thead th:first-child {
  font: 700 11px/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  vertical-align: bottom;
}

.th-index {
  display: inline-block;
  font: 700 11px/1 var(--sans);
  color: var(--forest);
  background: rgba(7, 86, 64, 0.09);
  padding: 4px 7px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.th-index.ocean {
  color: var(--ocean);
  background: rgba(20, 101, 125, 0.1);
}

.comparison-table tbody th {
  width: 24%;
  font-weight: 600;
  color: var(--ink);
}

.comparison-table tbody td {
  width: 38%;
  color: var(--ink-body);
}

.table-cta-row th,
.table-cta-row td {
  border-bottom: 0;
  padding-bottom: 8px;
}

/* ==========================================================================
   BEAT 5: DARK COASTAL FOREST EDITORIAL BREAK — VILA CAIÇARA & FAMILY STORY
   ========================================================================== */
.coastal-lifestyle-section {
  background: var(--forest-deep);
  color: var(--bg-sand);
  padding: 88px 24px;
}

.lifestyle-container {
  max-width: 1320px;
  margin: 0 auto;
}

.coast-split {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 64px;
  align-items: center;
}

.coast-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
}

.coast-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

.coast-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(5, 59, 44, 0.88);
  backdrop-filter: blur(8px);
  color: var(--bg-sand);
  padding: 7px 13px;
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
  border-radius: 6px;
}

.coast-editorial h2 {
  color: var(--bg-sand);
  font-size: clamp(36px, 4vw, 50px);
  margin-bottom: 18px;
}

.coast-editorial > p:not(.eyebrow) {
  color: rgba(247, 243, 232, 0.84);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 26px;
}

.caicara-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(247, 243, 232, 0.16);
  border-bottom: 1px solid rgba(247, 243, 232, 0.16);
  margin-bottom: 28px;
}

.caicara-highlights strong {
  display: block;
  font-size: 14.5px;
  color: var(--gold);
  margin-bottom: 4px;
}

.caicara-highlights span {
  font-size: 13px;
  color: rgba(247, 243, 232, 0.78);
  line-height: 1.5;
}

/* Part B: Family Curatorship Inside Dark Coastal Section */
.family-story-bar {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(247, 243, 232, 0.16);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}

.family-story-copy h3 {
  font: 400 clamp(28px, 3vw, 38px)/1.15 var(--serif);
  color: var(--bg-sand);
  margin-bottom: 14px;
}

.family-story-copy p:not(.eyebrow) {
  color: rgba(247, 243, 232, 0.82);
  font-size: 15px;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 20px;
}

.story-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  border-bottom: 1px solid rgba(239, 165, 72, 0.45);
  padding-bottom: 4px;
}

.story-insta-link:hover {
  color: #fff;
  border-color: #fff;
}

.family-story-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.family-story-thumb figcaption {
  font-size: 12px;
  color: rgba(247, 243, 232, 0.68);
  margin-top: 10px;
}

/* ==========================================================================
   BEAT 6: FAQ SECTION & BEAT 7: SOLAR HORIZON CTA
   ========================================================================== */
.faq-section {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 64px;
}

.faq-intro h2 {
  font-size: clamp(34px, 3.6vw, 46px);
  margin-bottom: 14px;
}

.faq-intro > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--ink-body);
  max-width: 360px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15.5px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

summary:hover {
  color: var(--forest);
}

summary::-webkit-details-marker {
  display: none;
}

summary > span {
  font-size: 22px;
  font-weight: 400;
  color: var(--forest);
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-out-expo), color 0.2s ease;
}

details[open] summary > span {
  transform: rotate(45deg);
  color: var(--gold);
}

details > p {
  font-size: 14.5px;
  color: var(--ink-body);
  padding: 0 24px 22px 0;
  line-height: 1.78;
}

details a {
  color: var(--forest);
  text-decoration: underline;
}

/* Closing Solar Horizon CTA (Warm Sand Canvas with Living Brand Emblem) */
.final-cta {
  background: var(--bg-sand-recessed);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 76px 24px 80px;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.final-cta-emblem {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 12px;
}

.final-cta-emblem .cta-sun {
  transform-box: fill-box;
  transform-origin: center;
  animation: ctaSunFloat 4.2s ease-in-out infinite;
}

.final-cta-emblem .cta-wave-1 {
  animation: ctaWaveSway 5s ease-in-out infinite;
}

.final-cta-emblem .cta-wave-2 {
  animation: ctaWaveSway 5s ease-in-out 0.6s infinite reverse;
}

@keyframes ctaSunFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes ctaWaveSway {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

.final-cta h2 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 28px;
  line-height: 1.14;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--bg-sand);
  padding: 40px max(4%, calc((100vw - 1320px) / 2)) 26px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
}

.footer-logo-wrap {
  width: 195px;
}

.footer-top p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.75;
}

.footer-links-inline {
  display: flex;
  align-items: center;
  gap: 22px;
}

.replay-sunrise-btn {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.22s var(--ease-out-expo);
}

.replay-sunrise-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(239, 165, 72, 0.2);
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 12px;
  color: var(--ink-muted);
}

.privacy-link {
  background: transparent;
  border: 0;
  font-size: 12px;
  padding: 8px 0;
  min-height: 44px;
  text-decoration: underline;
}

/* ==========================================================================
   DIALOGS / MODALS
   ========================================================================== */
dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 25px 100px rgba(5, 59, 44, 0.26);
  max-height: 92dvh;
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(5, 59, 44, 0.72);
  backdrop-filter: blur(5px);
}

.detail-dialog {
  width: min(1100px, 94vw);
  max-width: 1100px;
  border-radius: 12px;
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 3;
}

.dialog-top > span {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--forest);
}

.close-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--bg-sand);
  border: 0;
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
}

.close-button:hover {
  background: var(--bg-sand-recessed);
}

.detail-body {
  padding: 26px;
}

.detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.detail-header h2 {
  font-size: 36px;
}

.detail-header p {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 6px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 330px;
  margin-bottom: 22px;
}

.detail-gallery button {
  background: var(--sky);
  border: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.detail-gallery button:first-child {
  grid-row: 1 / 3;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out-expo);
}

.detail-gallery button:hover img {
  transform: scale(1.03);
}

.detail-gallery button:last-child::after {
  content: 'Ver todas as fotos';
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.apartment-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-body);
}

.apartment-facts span + span {
  border-left: 1px solid var(--line-strong);
  padding-left: 13px;
  margin-left: 13px;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 40px;
}

.detail-info h3 {
  font: 600 18px/1.4 var(--sans);
  margin: 24px 0 12px;
}

.detail-info > p,
.detail-info li {
  font-size: 14px;
  color: var(--ink-body);
  line-height: 1.82;
}

.detail-info ul {
  padding-left: 20px;
  margin: 0 0 18px;
}

.detail-info li + li {
  margin-top: 8px;
}

.amenity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0 !important;
  gap: 8px 20px;
}

.amenity-list li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.amenity-list li + li {
  margin-top: 0;
}

.detail-reserve {
  background: var(--bg-sand);
  padding: 24px;
  border-radius: 10px;
  position: sticky;
  top: 90px;
  align-self: start;
  margin-top: 24px;
}

.detail-reserve h3 {
  font: 400 25px/1.2 var(--serif);
  margin-bottom: 10px;
}

.detail-reserve p {
  font-size: 13px;
  color: var(--ink-body);
  line-height: 1.75;
  margin-bottom: 18px;
}

.detail-reserve .button {
  width: 100%;
  gap: 12px;
  padding: 12px;
}

.detail-reserve small {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 12px;
  text-align: center;
}

.mobile-reserve {
  display: none;
}

.gallery-view {
  padding: 16px 24px 24px;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.gallery-toolbar span {
  font-size: 13px;
  font-weight: 600;
}

.gallery-large {
  background: var(--bg-sand);
  border-radius: 8px;
  height: 61dvh;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-large img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 12px;
  font-size: 13px;
}

.gallery-controls button {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 6px;
  padding: 10px 18px;
  min-width: 110px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}

.gallery-controls button:hover {
  background: var(--bg-sand);
}

.privacy-dialog {
  padding: 40px;
  width: min(600px, 92vw);
  border-radius: 12px;
}

.privacy-dialog > .close-button {
  position: absolute;
  top: 12px;
  right: 12px;
}

.privacy-dialog h2 {
  font-size: 32px;
  margin: 16px 0 22px;
}

.privacy-dialog p {
  font-size: 14px;
  color: var(--ink-body);
  margin-bottom: 16px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .site-header {
    padding-inline: 24px;
    gap: 18px;
  }
  .brand-svg-wrap {
    width: 184px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 12.5px;
  }
  .residence-dock {
    grid-template-columns: 1fr 1fr;
  }
  .dock-trust {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 4px;
    padding-top: 10px;
  }
  .chapter-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .chapter-specs {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }
  .chapter-specs > div:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .chapter-details-split,
  .coast-split,
  .family-story-bar,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 108px;
  }
  body {
    font-size: 15px;
    line-height: 1.65;
  }
  .site-header {
    height: 66px;
    padding-inline: 20px;
  }
  .brand-svg-wrap {
    width: 164px;
  }
  .header-cta {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg-sand);
    padding: 12px 20px 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 12px 24px rgba(13, 51, 40, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav a {
    padding: 12px 2px;
    font-size: 14px;
    min-height: 46px;
  }
  .site-header nav a.nav-mobile-contact {
    display: block;
  }
  .mobile-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: sticky;
    top: 66px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 25;
    padding: 0 12px;
    height: 44px;
    align-items: center;
  }
  .mobile-shortcuts a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--forest);
    white-space: nowrap;
  }
  .hero-section {
    padding: 22px 18px 34px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-editorial h1 {
    font-size: clamp(38px, 10vw, 52px);
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: space-between;
  }
  .residence-dock {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 10px;
  }
  .residence-chapter,
  .section,
  .coastal-lifestyle-section {
    padding: 52px 18px;
  }
  .chapter-specs {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .chapter-specs > div {
    padding-left: 12px;
    border-left: 1px solid var(--line-strong);
  }
  .bento-grid,
  .bento-grid.reverse {
    grid-template-columns: 1fr;
    height: auto;
  }
  .bento-main {
    aspect-ratio: 16 / 10.5;
  }
  .bento-grid.reverse .bento-main {
    order: 1;
  }
  .bento-grid.reverse .bento-side {
    order: 2;
  }
  .bento-side {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    height: 130px;
  }
  .architectural-amenities {
    grid-template-columns: 1fr 1fr;
  }
  .caicara-highlights {
    grid-template-columns: 1fr;
  }
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-dialog {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .detail-header {
    display: block;
  }
  .detail-header > .button {
    display: none;
  }
  .detail-gallery {
    height: 240px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 165px 68px;
  }
  .detail-gallery button:first-child {
    grid-row: 1;
    grid-column: 1 / -1;
  }
  .detail-gallery button:nth-child(3),
  .detail-gallery button:nth-child(4) {
    display: none;
  }
  .detail-columns {
    display: block;
  }
  .detail-reserve {
    display: none;
  }
  .mobile-reserve {
    display: flex;
    position: sticky;
    bottom: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .intro-curtain {
    display: none !important;
  }
  body:not(.is-logo-docked) #header-brand-anchor .brand-svg-wrap,
  body.is-intro-active .hero-stagger,
  body.is-intro-active .hero-showcase,
  [data-reveal],
  [data-curtain] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    clip-path: none !important;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
