/* Costa Rica Private Resorts — design system
   Editorial luxury travel: a big serif for the voice, a quiet sans for the
   facts, lots of air, and one colour per region so a guest can tell volcano,
   mountain and ocean apart at a glance on every page. */

:root {
  --ink: #0e1f1b;
  --ink-2: #2c3b37;
  --muted: #5d6b67;
  --line: #e4ddd0;
  --cream: #fbf8f2;
  --sand: #f3ece0;
  --sand-2: #ebe1cf;
  --forest: #12352e;
  --forest-2: #1c4a40;
  --clay: #c4643a;
  --clay-2: #a94f29;
  --gold: #d6a548;
  --white: #fff;

  /* region colours */
  --volcano: #c4643a;   /* Majestic Lodge, La Fortuna */
  --mountain: #b98a2f;  /* Bella Vista, central mountains */
  --ocean: #19817f;     /* Johnny's, Playa Avellanas */

  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 31, 27, .06), 0 2px 8px rgba(14, 31, 27, .05);
  --shadow: 0 10px 30px -10px rgba(14, 31, 27, .25);
  --shadow-lg: 0 30px 60px -20px rgba(14, 31, 27, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.2; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
em.accent, .accent { font-style: italic; color: var(--clay); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--forest-2); font-weight: 500; }
.prose a:hover { color: var(--clay); }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0 1.8em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--sand); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0 1.8em; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.table-scroll table { margin: 0; min-width: 560px; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding: clamp(56px, 6.5vw, 96px) 0; position: relative; }
.section.tight { padding: clamp(36px, 4.5vw, 60px) 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--forest); color: #eef2ee; }
.section.dark .lead, .section.dark .muted { color: #c8d4cf; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 600 .92rem/1 var(--sans); letter-spacing: .02em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-clay { --bg: var(--clay); }
.btn-clay:hover { --bg: var(--clay-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(14, 31, 27, .25); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .72em 1.2em; font-size: .84rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .5em; align-items: center; color: var(--forest-2); }
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; color: #fff;
  transition: background .4s var(--ease), color .4s, box-shadow .4s, transform .45s var(--ease);
}
.site-header.solid, body.no-hero .site-header {
  background: rgba(251, 248, 242, .92); color: var(--ink);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.22rem; line-height: 1; letter-spacing: -.01em; }
.brand-name small { display: block; font: 600 .6rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .75; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav > a, .nav-item > button {
  font: 500 .9rem/1 var(--sans); text-decoration: none; background: none; border: 0; color: inherit; padding: 10px 0; position: relative;
}
.nav > a::after, .nav-item > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > a:hover::after, .nav-item:hover > button::after, .nav > a[aria-current]::after { transform: scaleX(1); }
.nav-item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(720px, 92vw); background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px;
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.mega.two { grid-template-columns: repeat(2, 1fr); width: min(520px, 92vw); }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.mega a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.mega a:hover { background: var(--sand); }
.mega a strong { display: block; font-weight: 600; font-size: .92rem; }
.mega a span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s; }
@media (max-width: 1080px) {
  .nav, .header-cta .btn-ghost-h { display: none; }
  .menu-toggle { display: block; }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--forest); color: #fff; padding: 90px var(--gutter) 40px;
  overflow-y: auto; opacity: 0; transform: scale(1.02); transition: opacity .35s, transform .45s var(--ease), visibility .35s; visibility: hidden;
}
.mobile-nav.open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav .close { position: absolute; top: 18px; right: var(--gutter); background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; width: 44px; height: 44px; }
.mobile-nav h4 { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 28px 0 10px; }
.mobile-nav a { display: block; font-family: var(--serif); font-size: 1.5rem; padding: 6px 0; text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  background: var(--forest);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
/* .leaving carries the same animation shorthand as .on, so moving a frame
   from one class to the other leaves animation-name unchanged and the zoom
   keeps running instead of restarting. Dropping it while the frame was
   still opaque snapped the transform back to the 1.08 start scale - a 6%
   jump, visible as a flinch at the top of every crossfade. */
.hero-slide.on img,
.hero-slide.leaving img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08) translate3d(0, 0, 0); } to { transform: scale(1.0) translate3d(-1%, -1%, 0); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 20, 17, .62) 0%, rgba(8, 20, 17, .25) 45%, rgba(8, 20, 17, 0) 70%),
    linear-gradient(180deg, rgba(8, 20, 17, .55) 0%, rgba(8, 20, 17, 0) 28%),
    linear-gradient(0deg, rgba(8, 20, 17, .86) 0%, rgba(8, 20, 17, .35) 45%, rgba(8, 20, 17, 0) 70%);
}
.hero-inner { padding: calc(var(--header-h) + 60px) 0 clamp(36px, 6vw, 72px); }
.hero h1 { max-width: 15ch; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); font-size: clamp(2.5rem, 6vw, 5.2rem); }
.hero h1 .rotator { display: inline-grid; vertical-align: top; }
.hero h1 .rotator span { grid-area: 1/1; font-style: italic; opacity: 0; transform: translateY(.3em); transition: opacity .7s, transform .7s var(--ease); }
.hero h1 .rotator span.on { opacity: 1; transform: none; }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta {
  display: flex; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap; margin-top: clamp(34px, 6vw, 64px);
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-meta div { font-size: .82rem; color: rgba(255, 255, 255, .75); }
.hero-meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; line-height: 1.1; }
.hero-tabs { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.hero-tabs button {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 999px;
  padding: 8px 14px 8px 10px; font-size: .8rem; display: inline-flex; align-items: center; gap: 8px; backdrop-filter: blur(6px);
  transition: background .3s;
}
.hero-tabs button .bar { width: 26px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; }
.hero-tabs button .bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-tabs button.on { background: rgba(255, 255, 255, .2); }
.hero-tabs button.on .bar i { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 34px; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(rgba(255, 255, 255, .8), transparent); animation: cue 2.2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* page hero (interior pages) */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--forest); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 17, .72) 0%, rgba(8, 20, 17, .35) 50%, rgba(8, 20, 17, 0) 75%), linear-gradient(0deg, rgba(8, 20, 17, .85), rgba(8, 20, 17, .15) 65%), linear-gradient(180deg, rgba(8, 20, 17, .45), transparent 30%); }
.page-hero .wrap { padding: calc(var(--header-h) + 40px) 0 clamp(36px, 6vw, 64px); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.page-hero .lead { color: rgba(255, 255, 255, .88); }
.page-hero.short { min-height: 52svh; }
.page-plain { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(32px, 4vw, 56px); background: var(--sand); }
.crumbs { font-size: .8rem; margin-bottom: 18px; opacity: .85; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-slide.on img,
  .hero-slide.leaving img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- proof strip ---------- */
.proof { background: var(--forest); color: #dfe8e4; padding: 22px 0; overflow: hidden; }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; }
.proof:hover .marquee { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; white-space: nowrap; }
.marquee b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: #fff; }
.marquee .star { color: var(--gold); letter-spacing: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- estate cards ---------- */
.estates { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 960px) { .estates { grid-template-columns: 1fr; } }
.estate {
  --c: var(--clay);
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff;
  min-height: 600px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.estate:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.estate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.estate:hover > img { transform: scale(1.06); }
.estate::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 16, 13, .92) 0%, rgba(6, 16, 13, .45) 45%, rgba(6, 16, 13, .05) 75%); }
.estate .tag { position: absolute; top: 18px; left: 18px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 600 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.estate .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.estate-body { padding: 28px; }
.estate h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: .25em; }
.estate .where { font-size: .86rem; opacity: .8; margin-bottom: 14px; }
.estate .facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.estate .facts span { font-size: .78rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 6px 11px; }
.estate .price { font-size: .86rem; opacity: .9; }
.estate .price b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.estate .more { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.c-volcano { --c: var(--volcano); } .c-mountain { --c: var(--mountain); } .c-ocean { --c: var(--ocean); }

/* ---------- "three Costa Ricas" journey ---------- */
.journey { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .journey { grid-template-columns: 1fr; } }
.map-card { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border-radius: var(--radius); padding: clamp(14px, 2vw, 24px); box-shadow: var(--shadow); }
@media (max-width: 960px) { .map-card { position: relative; top: 0; } }
.cr-map { width: 100%; height: auto; overflow: hidden; background: #dfecea; border-radius: 12px; }
.cr-map .land { fill: #fbf7ef; stroke: #b9ad96; stroke-width: 1.6; }
.cr-map .nland { fill: #e9e2d4; stroke: #d3c8b3; stroke-width: 1; }
.cr-map .country { font: 600 12px var(--sans); letter-spacing: .3em; fill: #a89c86; }
.cr-map .sea-label { font: italic 20px var(--serif); fill: #8aa6a2; letter-spacing: .1em; }
.cr-map .route { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-dasharray: 6 7; opacity: .55; }
.cr-map .route.draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cr-map .leg-label { font: 600 15px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.cr-map .pin circle.halo { opacity: .2; transform-origin: center; transform-box: fill-box; animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.2); opacity: 0; } }
.cr-map .pin text { font: 600 21px var(--serif); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.cr-map .pin text.sub { font: 500 14px var(--sans); fill: var(--muted); }
.cr-map .pin { cursor: pointer; }
.cr-map .pin.dim { opacity: .35; }
.cr-map .poi circle { fill: #fff; stroke: var(--ink-2); stroke-width: 1.5; }
.cr-map .poi text { font: 500 15px var(--sans); fill: var(--ink-2); paint-order: stroke; stroke: var(--sand); stroke-width: 4px; }
.cr-map .airport rect { fill: var(--ink); }
.cr-map .airport text { font: 700 13px var(--sans); fill: #fff; letter-spacing: .06em; }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .78rem; color: var(--muted); padding: 10px 6px 0; }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

.stops { counter-reset: stop; display: grid; gap: 22px; }
.stop { --c: var(--clay); display: grid; grid-template-columns: 180px 1fr; gap: 22px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease); border: 1px solid transparent; }
.stop.active, .stop:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.stop img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.stop-body { padding: 22px 22px 22px 0; }
.stop .n { counter-increment: stop; font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.stop .n::before { content: "Stop " counter(stop) " · "; }
.stop h3 { margin: .45em 0 .3em; }
.stop p { font-size: .95rem; color: var(--ink-2); margin-bottom: .8em; }
.stop .drive { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
@media (max-width: 560px) { .stop { grid-template-columns: 1fr; } .stop-body { padding: 0 20px 22px; } .stop img { min-height: 190px; max-height: 220px; } }

/* ---------- occasion tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; grid-column: span 4; }
.tile.wide { grid-column: span 8; }
.tile.half { grid-column: span 6; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 16, 13, .85), rgba(6, 16, 13, .1) 60%); }
.tile div { padding: 24px; }
.tile h3 { margin: 0 0 .2em; }
.tile p { margin: 0; font-size: .9rem; opacity: .85; }
.tile .go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.tile:hover .go { background: var(--clay); transform: rotate(-45deg); }
@media (max-width: 960px) { .tile, .tile.wide, .tile.half { grid-column: span 6; } }
@media (max-width: 640px) { .tile, .tile.wide, .tile.half { grid-column: span 12; min-height: 240px; } }

/* ---------- itinerary cards ---------- */
.itin-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.itin-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.itin-card .ph { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.itin-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.itin-card:hover .ph img { transform: scale(1.05); }
.itin-card .nights { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 999px; padding: 7px 12px; font: 600 .75rem/1 var(--sans); }
.itin-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.itin-card h3 { margin: 0; font-size: 1.45rem; }
.route-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .78rem; }
.route-chips span { padding: 4px 10px; border-radius: 999px; background: var(--sand); }
.route-chips span.c-volcano { background: color-mix(in srgb, var(--volcano) 14%, #fff); color: var(--clay-2); }
.route-chips span.c-mountain { background: color-mix(in srgb, var(--mountain) 16%, #fff); color: #7d5c1b; }
.route-chips span.c-ocean { background: color-mix(in srgb, var(--ocean) 14%, #fff); color: #0f5d5b; }
.route-chips i { font-style: normal; color: var(--muted); }

/* ---------- day-by-day timeline ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 68px; }
.timeline .day { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--c, var(--clay)); display: grid; place-items: center; font: 700 .8rem/1 var(--sans); color: var(--ink); }
.timeline h3 { font-size: 1.3rem; margin: .3em 0 .35em; }
.timeline .where { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--c, var(--clay)); }
.timeline p { color: var(--ink-2); margin-bottom: .5em; }
.timeline .transfer { display: inline-flex; gap: 8px; align-items: center; background: var(--sand); padding: 8px 12px; border-radius: 10px; font-size: .85rem; margin-top: 4px; }

/* ---------- reviews ---------- */
.reviews { columns: 3 300px; column-gap: 22px; }
.review { break-inside: avoid; background: #fff; border-radius: var(--radius); padding: 26px; margin: 0 0 22px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: .9rem; }
.review blockquote { margin: 12px 0 16px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; }
.review footer { font-size: .82rem; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review footer b { color: var(--ink); font-weight: 600; }
.review .chip { font-size: .7rem; padding: 3px 9px; border-radius: 999px; background: var(--sand); }
.rating-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 40px; }
.rating { background: #fff; border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow-sm); text-align: center; min-width: 170px; }
.rating b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.rating span { font-size: .78rem; color: var(--muted); }

/* big quote */
.bigquote { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.25; letter-spacing: -.01em; max-width: 26ch; margin: 0; }
.bigquote::before { content: "“"; display: block; font-size: 4em; line-height: .6; color: var(--gold); height: .45em; }
.cite { margin-top: 20px; font-size: .9rem; color: var(--muted); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; }
.section:not(.dark) .stat { border-top-color: var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.stat span { font-size: .88rem; opacity: .8; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.compare thead th small { display: block; font: 500 .72rem/1.3 var(--sans); opacity: .7; letter-spacing: .04em; margin-top: 4px; }
.compare tbody th { font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); width: 22%; background: var(--cream); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .yes { color: var(--forest-2); font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6b67' fill='none' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px color-mix(in srgb, var(--clay) 15%, transparent); }
.dark .field label { color: #cfdad6; }
.dark .field input, .dark .field select, .dark .field textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.dark .field select option { color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--clay); width: 16px; height: 16px; flex: none; }
.form-note { font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -5000px; }
.chips-input { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-input label { cursor: pointer; }
.chips-input input { position: absolute; opacity: 0; pointer-events: none; }
.chips-input span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; transition: all .2s; }
.chips-input input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-input input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

.panel { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.panel.sand { background: var(--sand); box-shadow: none; }
.flash { padding: 14px 18px; border-radius: 12px; background: #e6f2ec; color: var(--forest); margin-bottom: 18px; font-size: .95rem; }
.flash.error { background: #fbe9e3; color: var(--clay-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 6px); padding: clamp(40px, 7vw, 96px); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 17, .88), rgba(8, 20, 17, .35)); }
.cta-band h2 { max-width: 16ch; }
.cta-band .lead { color: rgba(255, 255, 255, .85); }

/* ---------- lead magnet ---------- */
.magnet { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .magnet { grid-template-columns: 1fr; } .magnet .book { max-width: 240px; margin: 0 auto; } }
.book { aspect-ratio: 3/4; border-radius: 6px 14px 14px 6px; position: relative; overflow: hidden; color: #fff; box-shadow: 30px 30px 60px -20px rgba(0, 0, 0, .5), inset 8px 0 12px -6px rgba(0, 0, 0, .4); transform: perspective(900px) rotateY(-14deg); transition: transform .8s var(--ease); background: var(--forest); }
.book:hover { transform: perspective(900px) rotateY(-4deg); }
.book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.book div { position: relative; padding: 26px 22px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.book small { font: 600 .62rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.book strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.05; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--clay) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' fill='none' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat; }
.dark .checklist li::before { background-color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.8rem/1 var(--sans); color: var(--clay); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--ink-2); max-width: 72ch; }

/* ---------- season chart ---------- */
.season { background: #fff; border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.season-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.season-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .85rem; }
.season-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 190px; }
.month { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.month .bar { width: 100%; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #7fb5c9, #3e7f99); transition: height .7s var(--ease); min-height: 4px; position: relative; }
.month .bar.dry { background: linear-gradient(180deg, #f0c56b, var(--gold)); }
.month .bar.mid { background: linear-gradient(180deg, #b9d1a6, #6f9b63); }
.month small { font-size: .7rem; color: var(--muted); }
.month.now small { color: var(--clay); font-weight: 700; }
.season-note { margin-top: 18px; font-size: .92rem; color: var(--ink-2); min-height: 3em; }
.season-key { display: flex; gap: 16px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); margin-top: 10px; }
.season-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- trip builder ---------- */
.builder { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 1000px) { .builder { grid-template-columns: 1fr; } }
.b-step { background: #fff; border-radius: var(--radius); padding: clamp(18px, 2.6vw, 30px); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.b-step h3 { font-size: 1.35rem; display: flex; align-items: baseline; gap: 12px; }
.b-step h3 .num { font: 700 .72rem/1 var(--sans); color: var(--clay); letter-spacing: .14em; }
.b-estates { display: grid; gap: 12px; }
.b-estate { --c: var(--clay); display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; border: 1.5px solid var(--line); transition: border-color .25s, background .25s; }
.b-estate.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, #fff); }
.b-estate img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; }
.b-estate h4 { margin: 0 0 2px; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }
.b-estate p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.2rem; color: var(--ink); border-radius: 50%; }
.stepper button:hover { background: var(--sand); }
.stepper output { min-width: 64px; text-align: center; font-weight: 600; font-size: .88rem; }
@media (max-width: 520px) { .b-estate { grid-template-columns: 64px 1fr; } .b-estate img { width: 64px; height: 56px; } .b-estate .stepper { grid-column: 1 / -1; justify-self: start; } }
.range { width: 100%; accent-color: var(--clay); }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row output { font-family: var(--serif); font-size: 1.8rem; min-width: 2.4ch; }
.b-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--forest); color: #eef2ee; border-radius: var(--radius); padding: clamp(20px, 2.6vw, 32px); box-shadow: var(--shadow-lg); }
@media (max-width: 1000px) { .b-summary { position: relative; top: 0; } }
.b-summary h3 { color: #fff; }
.b-total { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.b-total div { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 14px; }
.b-total small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.b-total b { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: #fff; }
.b-legs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .88rem; }
.b-legs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(255, 255, 255, .15); padding-bottom: 8px; }
.b-legs li span:last-child { opacity: .75; text-align: right; }
.b-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); margin: 10px 0 6px; }
.b-bar i { display: block; height: 100%; transition: width .5s var(--ease); }
.b-warn { font-size: .82rem; background: rgba(214, 165, 72, .16); color: #f3d79a; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }

/* ---------- quiz ---------- */
.quiz { max-width: 820px; margin: 0 auto; }
.quiz-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 28px; }
.quiz-progress i { display: block; height: 100%; background: var(--clay); width: 0; transition: width .5s var(--ease); }
.q-step { display: none; animation: qin .55s var(--ease); }
.q-step.on { display: block; }
@keyframes qin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.q-step h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.q-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
@media (max-width: 560px) { .q-opts { grid-template-columns: 1fr; } }
.q-opt { position: relative; }
.q-opt input { position: absolute; opacity: 0; }
.q-opt > span { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: all .2s; font-weight: 500; }
.q-opt > span em { font-style: normal; font-size: 1.5rem; }
.q-opt > span small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.q-opt input:checked + span { border-color: var(--clay); background: color-mix(in srgb, var(--clay) 7%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 15%, transparent); }
.q-opt input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.q-nav { display: flex; justify-content: space-between; gap: 12px; }
.q-result { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.q-result .ph { aspect-ratio: 21/9; overflow: hidden; }
.q-result .ph img { width: 100%; height: 100%; object-fit: cover; }
.q-result .body { padding: clamp(22px, 3vw, 36px); }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s, transform 1s var(--ease); }
.video:hover img { opacity: 1; transform: scale(1.03); }
.video .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .4s var(--ease); border: 0; }
.video:hover .play { transform: scale(1.08); }
.video .play::before { content: ""; border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); font-size: .9rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-grid .video .play { width: 58px; height: 58px; }
.video-grid .video .play::before { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- gallery mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.mosaic figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.mosaic figure.big { grid-column: span 2; grid-row: span 2; }
.mosaic figure.tall { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 5px 10px; font-size: .72rem; font-weight: 600; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ---------- info cards ---------- */
.card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-sm); height: 100%; }
.card h3 { font-size: 1.4rem; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); margin-bottom: 16px; font-size: 1.3rem; }
.card-link { text-decoration: none; display: block; transition: transform .4s var(--ease), box-shadow .4s; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.photo-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.photo-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.photo-card .body { padding: 20px 22px 24px; }
.photo-card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.photo-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.photo-card .kicker { font: 600 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; display: block; }

/* callout pointing down to a property site */
.goto { --c: var(--clay); display: grid; grid-template-columns: 160px 1fr auto; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); padding: 14px 22px 14px 14px; box-shadow: var(--shadow-sm); text-decoration: none; border-left: 4px solid var(--c); margin: 1.6em 0; transition: box-shadow .3s, transform .4s var(--ease); }
.goto:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.goto img { width: 160px; height: 110px; object-fit: cover; border-radius: 12px; }
.goto small { font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.goto strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 6px 0 4px; }
.goto span { font-size: .88rem; color: var(--muted); }
.goto .btn { pointer-events: none; }
@media (max-width: 640px) { .goto { grid-template-columns: 1fr; padding: 14px; } .goto img { width: 100%; height: 160px; } }

/* key facts box (citable — AI engines lift these) */
.facts-box { background: var(--sand); border-radius: var(--radius); padding: 24px 26px; margin: 1.6em 0; }
.facts-box h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.facts-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: .95rem; }
.facts-box dt { font-weight: 600; }
.facts-box dd { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { .facts-box dl { grid-template-columns: 1fr; } .facts-box dd { margin-bottom: 8px; } }

.toc { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.toc h4 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--clay); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 1000px) { .article { grid-template-columns: 1fr; } .article aside { display: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c6c1; padding: clamp(60px, 8vw, 110px) 0 30px; font-size: .92rem; }
.site-footer a { text-decoration: none; color: #dfe7e3; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 34px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 960px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-brand p { max-width: 34ch; }
.foot-estates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 760px) { .foot-estates { grid-template-columns: 1fr; } }
.foot-estates a { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); transition: background .3s; }
.foot-estates a:hover { background: rgba(255, 255, 255, .09); text-decoration: none; }
.foot-estates img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.foot-estates strong { display: block; color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.foot-estates span { font-size: .78rem; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .8rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.socials a:hover { background: rgba(255, 255, 255, .1); }
.socials svg { width: 18px; height: 18px; fill: #fff; }

/* ---------- floating bits ---------- */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; gap: 8px; padding: 8px; background: rgba(14, 31, 27, .94); border-radius: 999px; backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); transform: translateY(130%); transition: transform .5s var(--ease); }
.mobile-bar.show { transform: none; }
.mobile-bar a { flex: 1; text-align: center; padding: 12px 8px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: .86rem; }
.mobile-bar a.primary { background: var(--clay); }
@media (max-width: 760px) { .mobile-bar { display: flex; } body { padding-bottom: 0; } }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(8, 20, 17, .6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { background: var(--cream); border-radius: calc(var(--radius) + 4px); width: min(860px, 100%); max-height: 92vh; overflow: auto; display: grid; grid-template-columns: .9fr 1.1fr; transform: translateY(20px) scale(.98); transition: transform .5s var(--ease); position: relative; }
.modal.open .modal-box { transform: none; }
.modal-box > img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.modal-box .body { padding: clamp(24px, 4vw, 44px); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 1.5rem; line-height: 1; z-index: 2; }
@media (max-width: 720px) { .modal-box { grid-template-columns: 1fr; } .modal-box > img { height: 160px; min-height: 0; } }

/* misc */
.pill { display: inline-block; font-size: .74rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--sand); }
.divider { height: 1px; background: var(--line); margin: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions.center { justify-content: center; }
.kpis { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.kpis span { background: var(--sand); border-radius: 999px; padding: 7px 13px; font-size: .82rem; }
.kpis span b { font-weight: 700; }
.badge-row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center; opacity: .8; font-size: .82rem; }
.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.stack-img { position: relative; padding: 0 0 12% 12%; }
.stack-img .a { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.stack-img .b { position: absolute; left: 0; bottom: 0; width: 46%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--cream); aspect-ratio: 1; }
.stack-img img { width: 100%; height: 100%; object-fit: cover; }
.sand .stack-img .b { border-color: var(--sand); }
.field input[type="range"] { padding: 0; border: 0; background: none; box-shadow: none; appearance: auto; -webkit-appearance: auto; height: 28px; }
.field input[type="range"]:focus { box-shadow: none; }
@media (max-width: 640px) {
  .header-cta .btn { display: none; }
  .hero-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .hero-tabs::-webkit-scrollbar { display: none; }
  .hero-tabs button { flex: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { gap: 14px 26px; }
  .hero-meta > div { flex: 1 1 40%; }
}
.article > * { min-width: 0; }

/* ---------- three-estate availability calendar ---------- */
.avail { background: #fff; border-radius: var(--radius); padding: clamp(16px, 2.4vw, 28px); box-shadow: var(--shadow-sm); }
.avail-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.avail-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--muted); }
.avail-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.avail-legend i.booked { background: repeating-linear-gradient(45deg, #d9d2c5 0 3px, #eee8dd 3px 6px); }
.avail-nav { display: flex; align-items: center; gap: 10px; }
.avail-nav .btn:disabled { opacity: .35; pointer-events: none; }
.avail-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .avail-months { grid-template-columns: 1fr; } }
.avail-month h3 { font-size: 1.25rem; margin-bottom: 10px; }
.avail-grid { display: grid; grid-template-columns: 74px repeat(var(--days), minmax(0, 1fr)); gap: 3px; align-items: center; }
.avail-grid .lbl { font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avail-grid .dn { font-size: .62rem; text-align: center; color: var(--muted); }
.avail-grid .dn.we { color: var(--clay); }
.avail-grid .cell { height: 26px; border: 0; padding: 0; border-radius: 4px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.avail-grid .cell.free { background: color-mix(in srgb, var(--c, var(--clay)) 70%, #fff); }
.avail-grid .cell.c-mountain { --c: var(--mountain); } .avail-grid .cell.c-volcano { --c: var(--volcano); } .avail-grid .cell.c-ocean { --c: var(--ocean); }
.avail-grid .cell.booked { background: repeating-linear-gradient(45deg, #d9d2c5 0 3px, #eee8dd 3px 6px); cursor: pointer; }
.avail-grid .cell.past { background: #f2eee7; cursor: default; }
.avail-grid .cell:not(.past):hover { transform: scaleY(1.15); }
.avail-grid .cell.sel { box-shadow: 0 0 0 2px var(--ink) inset; }
.avail-grid .cell.free.sel { background: var(--c); }
@media (max-width: 760px) { .avail-grid { grid-template-columns: 58px repeat(var(--days), minmax(0, 1fr)); gap: 2px; } .avail-grid .dn { font-size: .5rem; } .avail-grid .cell { height: 30px; border-radius: 2px; } }
.avail-result { margin-top: 24px; }
.avail-result .b-legs li { border-bottom-color: var(--line); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.b-warn.ok { background: rgba(63, 178, 174, .18); color: #bfeae6; }

/* ---------- venue blocks (weddings / retreats / pickleball by estate) ---------- */
.venues { display: grid; gap: clamp(56px, 8vw, 110px); }
.venue { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.venue.flip .venue-photos { order: 2; }
@media (max-width: 960px) { .venue { grid-template-columns: 1fr; } .venue.flip .venue-photos { order: 0; } }
.venue-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; gap: 10px; aspect-ratio: 5 / 4; }
.venue-photos figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.venue-photos figure.big { grid-column: 1 / -1; }
.venue-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.venue-photos figure:hover img { transform: scale(1.04); }
.venue-body h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.venue-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 22px; }
.venue-facts div { border-top: 2px solid var(--c); padding-top: 10px; }
.venue-facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; }
.venue-facts span { font-size: .8rem; color: var(--muted); }
.venue-text p { color: var(--ink-2); }
.venue-text ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink-2); }
.venue-text li { margin: .3em 0; }
.venue-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.venue-jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-size: .88rem; backdrop-filter: blur(6px); }
.venue-jump a:hover { background: rgba(255, 255, 255, .26); }
.venue-jump i { width: 10px; height: 10px; border-radius: 50%; }

.dark .stack-img .b { border-color: var(--forest); }
.split .video-grid .video .cap { display: none; }

/* phones: swipe rows instead of tall stacks */
@media (max-width: 640px) {
  .estate { min-height: 460px; }
  .m-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px 0; scrollbar-width: none; }
  .m-scroll::-webkit-scrollbar { display: none; }
  .m-scroll > * { flex: 0 0 78%; scroll-snap-align: start; }
  .itin-card .ph { aspect-ratio: 16 / 10; }
}

/* the whole review strip links to /reviews/ */
a.proof { display: block; text-decoration: none; transition: background .3s; }
a.proof:hover { background: var(--forest-2); }
a.proof:hover .marquee b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* landing on /reviews/#id highlights that review */
.review { scroll-margin-top: calc(var(--header-h) + 24px); }
.review:target { box-shadow: 0 0 0 3px var(--gold), var(--shadow); animation: review-pulse 2.4s var(--ease) 1; }
@keyframes review-pulse { 0% { transform: scale(1.03); } 100% { transform: none; } }
