/* ============================================================
   Windsor Cay Resort — design tokens & system
   Interim upscale coastal/resort palette. Brand colors/fonts
   are unconfirmed: change the tokens below to reskin sitewide.
   ============================================================ */
:root {
  /* Color */
  --c-ocean-900: #0b2a3a;
  --c-ocean-700: #11506b;
  --c-ocean-500: #1b7a99;
  --c-ocean-300: #7cc0d4;
  --c-sand-100:  #faf6ee;
  --c-sand-200:  #f1e9da;
  --c-sand-300:  #e4d7c1;
  --c-gold-500:  #c79a3f;
  --c-gold-600:  #b3852b;
  --c-coral-500: #e2734e;
  --c-ink:       #14202a;
  --c-ink-soft:  #44525c;
  --c-white:     #ffffff;

  --bg:          var(--c-sand-100);
  --bg-alt:      var(--c-sand-200);
  --text:        var(--c-ink);
  --text-soft:   var(--c-ink-soft);
  --brand:       var(--c-ocean-700);
  --brand-dark:  var(--c-ocean-900);
  --accent:      var(--c-gold-500);
  --accent-dark: var(--c-gold-600);
  --accent-text: #7a5a12;

  /* Type */
  --font-head: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.6rem;
  --fs-4xl: 3.4rem;
  --lh: 1.65;

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  /* Radius & shadow */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --sh-1: 0 1px 3px rgba(11,42,58,.08), 0 1px 2px rgba(11,42,58,.06);
  --sh-2: 0 6px 20px rgba(11,42,58,.10);
  --sh-3: 0 18px 48px rgba(11,42,58,.18);

  --container: 1160px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, picture, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--brand-dark); }
h1 { font-size: var(--fs-3xl); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
p { max-width: 68ch; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand-dark); color: #fff; padding: var(--sp-3) var(--sp-4); border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }
.section { padding-block: var(--sp-8); }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 60ch; margin-bottom: var(--sp-6); }
.section-head p { color: var(--text-soft); font-size: var(--fs-lg); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: var(--fs-xs); font-weight: 700; color: var(--accent-text); font-family: var(--font-body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--brand-dark); box-shadow: var(--sh-1); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { font-size: var(--fs-base); padding: var(--sp-4) var(--sp-6); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(250,246,238,.92);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--c-sand-300);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); min-height: var(--header-h); padding-block: var(--sp-3); }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; margin-right: auto; }
.brand-mark { font-family: var(--font-head); font-size: var(--fs-xl); font-weight: 700; color: var(--brand-dark); }
.brand-sub { font-size: var(--fs-xs); letter-spacing: .28em; text-transform: uppercase; color: var(--accent-text); }
.primary-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); padding: 0; }
.primary-nav a { color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--brand); }
.primary-nav a[aria-current="page"] { font-weight: 700; }
.primary-nav a.nav-featured { background: var(--accent); color: var(--brand-dark); font-weight: 600; letter-spacing: .01em; padding: .45em 1.05em; border-radius: 999px; box-shadow: 0 1px 2px rgba(11, 42, 58, .14); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.primary-nav a.nav-featured:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 3px 8px rgba(11, 42, 58, .22); transform: translateY(-1px); }
.primary-nav a.nav-featured[aria-current="page"] { color: var(--brand-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: var(--sp-2); cursor: pointer; }
.nav-toggle-bar { width: 26px; height: 2px; background: var(--brand-dark); border-radius: 2px; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; order: 3; }
  .primary-nav {
    order: 4; flex-basis: 100%; max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .primary-nav.is-open { max-height: 70vh; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-block: var(--sp-3); }
  .primary-nav li { border-top: 1px solid var(--c-sand-300); }
  .primary-nav a { display: block; padding: var(--sp-3) 0; }
  .primary-nav a.nav-featured { display: inline-block; margin: var(--sp-2) 0; padding: .5em 1.1em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(11,42,58,.78) 0%, rgba(11,42,58,.45) 45%, rgba(11,42,58,.15) 100%); }
.hero-inner { padding-block: clamp(var(--sp-8), 14vw, 9rem); max-width: 38ch; }
.hero h1 { color: #fff; font-size: var(--fs-4xl); }
.hero p { color: rgba(255,255,255,.92); font-size: var(--fs-lg); margin-top: var(--sp-4); }
.hero .btn { margin-top: var(--sp-6); }

/* ---------- Generic page header ---------- */
.page-hero { background: var(--brand-dark); color: #fff; padding-block: var(--sp-8); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); font-size: var(--fs-lg); margin-top: var(--sp-3); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-tiles { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.group-label { margin-block: var(--sp-6) var(--sp-4); font-size: var(--fs-lg); color: var(--accent-text); }

/* ---------- Unit card ---------- */
.unit-card { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.unit-card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.unit-card-media { display: block; aspect-ratio: 4 / 3; background: var(--c-sand-300); }
.unit-card-media img { width: 100%; height: 100%; object-fit: cover; }
.unit-card-body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.unit-card-title { margin: 0; }
.unit-card-title a { text-decoration: none; }
.unit-card-type { color: var(--text-soft); font-size: var(--fs-sm); }
.unit-card-specs { list-style: none; display: flex; gap: var(--sp-3); padding: 0; font-size: var(--fs-sm); color: var(--text-soft); flex-wrap: wrap; }
.unit-card-specs li { position: relative; }
.unit-card-specs li + li::before { content: "•"; position: absolute; left: calc(var(--sp-2) * -1 - 2px); }
.unit-card-cta { margin-top: auto; }

/* ---------- Amenity / distance tiles ---------- */
.tile { background: #fff; border-radius: var(--r-md); padding: var(--sp-5); box-shadow: var(--sh-1); }
.tile h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.tile p { color: var(--text-soft); font-size: var(--fs-sm); }

/* ---------- Specs table ---------- */
.specs { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); list-style: none; padding: var(--sp-5); background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.specs li { font-size: var(--fs-sm); }
.specs strong { display: block; font-family: var(--font-head); font-size: var(--fs-lg); color: var(--brand-dark); }

/* ---------- Gallery ---------- */
/* Gallery: large, swipeable single-image carousels (one big photo at a time) */
.gallery-carousel { margin-bottom: var(--sp-6); }
.gallery-carousel .carousel-slide { flex: 0 0 86%; }
@media (min-width: 800px) { .gallery-carousel .carousel-slide { flex-basis: 68%; } }
@media (min-width: 1100px) { .gallery-carousel .carousel-slide { flex-basis: 56%; } }
.gallery-slide img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-2); }

/* ---------- Two-column prose ---------- */
.prose h2 { margin-top: var(--sp-7); }
.prose p { margin-top: var(--sp-4); }
.prose ul { margin-top: var(--sp-4); padding-left: 1.2em; }
.prose li { margin-top: var(--sp-2); }
.feature-list { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.feature-list li { padding-left: 1.6em; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }

/* ---------- YouTube facade ---------- */
.yt-facade { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-2); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-facade::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.5rem; color: #fff; background: rgba(11,42,58,.35); }
.yt-embed { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--c-ocean-700)); color: #fff; }
.cta-band-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-5); padding-block: var(--sp-8); }
.cta-band-text { max-width: 62ch; }
.cta-band p { margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: var(--sp-2); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--sp-4); max-width: 640px; }
.form-grid label { font-weight: 600; font-size: var(--fs-sm); display: block; margin-bottom: var(--sp-1); }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: var(--sp-3); border: 1px solid var(--c-sand-300); border-radius: var(--r-sm); font: inherit; background: #fff;
}
.newsletter-form { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); }
.newsletter-form input { flex: 1; padding: var(--sp-3); border: 1px solid var(--c-sand-300); border-radius: var(--r-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-dark); color: rgba(255,255,255,.85); margin-top: 0; padding-block: var(--sp-7) var(--sp-5); }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { font-family: var(--font-head); font-size: var(--fs-lg); color: #fff; }
.site-footer address { font-style: normal; margin-top: var(--sp-2); }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.15); font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.footer-legal p { max-width: none; }
.footer-copyright { margin-top: var(--sp-3); }

/* ---------- Internal-links row ---------- */
.link-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.link-row a { font-weight: 600; }

/* ---------- Phase 2 component top-ups ---------- */
.lede { font-size: var(--fs-lg); color: var(--text-soft); max-width: 70ch; }
.home-hero, .unit-hero { min-height: clamp(420px, 64vh, 640px); display: flex; align-items: center; }
.home-hero .hero-inner, .unit-hero .hero-inner { width: 100%; max-width: var(--container); }

.amenity-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: var(--sp-3); }

.amenity-sections { display: grid; gap: var(--sp-6); }
.amenity-row { display: grid; grid-template-columns: minmax(0, 1.1fr) 1fr; gap: var(--sp-5); align-items: center; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.amenity-row img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.amenity-row > div { padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; }
.amenity-row:nth-child(even) img { order: 2; }
.amenity-row:nth-child(even) > div { padding: var(--sp-5) 0 var(--sp-5) var(--sp-5); }
@media (max-width: 720px) {
  .amenity-row { grid-template-columns: 1fr; }
  .amenity-row > div, .amenity-row:nth-child(even) > div { padding: 0 var(--sp-5) var(--sp-5); }
  .amenity-row:nth-child(even) img { order: 0; }
}

.floor-plan { background: #fff; border-radius: var(--r-md); padding: var(--sp-4); box-shadow: var(--sh-1); max-width: 360px; flex: 1 1 300px; }
.floor-plan img { width: 100%; height: auto; }

.map-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.map-embed figcaption { font-size: var(--fs-xs); color: var(--text-soft); margin-top: var(--sp-2); }

.post-meta { color: var(--text-soft); font-size: var(--fs-sm); }
.page-hero .post-meta { color: rgba(255,255,255,.85); }
.post-hero-wrap { margin-top: calc(var(--sp-6) * -1); }
.post-hero { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-2); margin-bottom: var(--sp-5); }
.post-body { max-width: 72ch; }
.post-body blockquote { border-left: 4px solid var(--accent); padding: var(--sp-3) var(--sp-4); background: var(--bg-alt); border-radius: var(--r-sm); margin-top: var(--sp-4); }
.post-cta { margin-top: var(--sp-7); padding: var(--sp-5); background: var(--bg-alt); border-radius: var(--r-md); }
.post-cta .btn { margin-top: var(--sp-3); }

.post-list { list-style: none; padding: 0; display: grid; gap: var(--sp-6); }
.post-list h2 { font-size: var(--fs-xl); }
.post-list h2 a { text-decoration: none; }

.faq-list { max-width: 72ch; }
.faq-item { padding-block: var(--sp-4); border-bottom: 1px solid var(--c-sand-300); }
.faq-item h2 { font-size: var(--fs-lg); }

.form-note { font-size: var(--fs-xs); color: var(--text-soft); }

/* Outline button on the dark footer needs light treatment for contrast */
.site-footer .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.site-footer .btn-outline:hover { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); }

/* Draft badge in blog listings */
.badge-draft { display: inline-block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--c-coral-500); padding: 2px 8px; border-radius: var(--r-pill); margin-bottom: var(--sp-2); }

/* ============================================================
   v2 additions — alignment fix, motion system, carousel, lightbox
   ============================================================ */

/* ---- Amenity tiles become clickable cards with a fixed media ratio ---- */
.amenity-tile { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.amenity-tile img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: 0; margin-bottom: 0; }
.amenity-tile h3 { font-size: var(--fs-lg); margin: var(--sp-4) var(--sp-4) var(--sp-2); }
.amenity-tile p  { color: var(--text-soft); font-size: var(--fs-sm); margin: 0 var(--sp-4) var(--sp-5); }
.amenity-tile .amenity-cue { margin: auto var(--sp-4) var(--sp-4); font-weight: 600; font-size: var(--fs-sm); color: var(--accent-text); }
.amenity-tile:hover { box-shadow: var(--sh-2); }
.amenity-tile:hover .amenity-cue { text-decoration: underline; }
.amenity-tile img { transition: transform .4s ease; }
.amenity-tile:hover img { transform: scale(1.04); }

/* ---- Motion system: scroll-reveal (only when JS on AND motion allowed) ---- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  html.js [data-reveal].in-view { opacity: 1; transform: none; }
  html.js [data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
  html.js [data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
  html.js [data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { scroll-behavior: auto; }
  .amenity-tile img { transition: none; }
  .amenity-tile:hover img { transform: none; }
}

/* ---- Featured-homes carousel ---- */
.featured-homes { padding-block: var(--sp-7); }
.carousel { position: relative; }
.carousel-track { display: flex; gap: var(--sp-5); margin: 0; padding: 0 0 var(--sp-2); list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { scroll-snap-align: center; flex: 0 0 88%; }
@media (min-width: 800px) { .carousel-slide { flex-basis: 60%; } }
@media (min-width: 1100px) { .carousel-slide { flex-basis: 46%; } }
.featured-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); display: flex; flex-direction: column; height: 100%; }
.featured-card-media { display: block; aspect-ratio: 16 / 10; background: var(--c-sand-300); }
.featured-card-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.featured-card-body h3 { font-size: var(--fs-xl); } .featured-card-body h3 a { text-decoration: none; }
.featured-card-tagline { color: var(--text-soft); }
.featured-card-specs { list-style: none; display: flex; gap: var(--sp-4); padding: 0; font-size: var(--fs-sm); color: var(--text-soft); }
.featured-card-actions { margin-top: auto; display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.carousel-btn { position: absolute; top: 38%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); box-shadow: var(--sh-2); cursor: pointer; font-size: 1.5rem; line-height: 1; color: var(--brand-dark); }
.carousel-prev { left: -8px; } .carousel-next { right: -8px; }
.carousel-dots { display: flex; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-4); min-height: 24px; }
.carousel-dot { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.carousel-dot::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: var(--c-sand-300); }
.carousel-dot[aria-selected="true"]::before { background: var(--accent); }

/* ---- Amenity lightbox (native <dialog>) ---- */
.amenity-dialog { margin: auto; border: 0; border-radius: var(--r-lg); padding: 0; max-width: 720px; width: calc(100% - 2rem); box-shadow: var(--sh-3); overflow: hidden; }
.amenity-dialog::backdrop { background: rgba(11,42,58,.72); }
.amenity-dialog-inner { position: relative; }
.amenity-dialog img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.amenity-dialog-body { padding: var(--sp-5) var(--sp-6) var(--sp-6); }
.amenity-dialog-body h2 { margin-bottom: var(--sp-3); }
.amenity-dialog-body p { color: var(--text-soft); }
.amenity-dialog-body .link-row { margin-top: var(--sp-4); }
.amenity-dialog-close { position: absolute; top: var(--sp-3); right: var(--sp-3); width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); font-size: 1.4rem; cursor: pointer; color: var(--brand-dark); }
@media (prefers-reduced-motion: no-preference) { .amenity-dialog[open] { animation: dlg-in .2s ease; } @keyframes dlg-in { from { opacity: 0; transform: translateY(8px); } } }

/* ---- Things-to-Do section banner image ---- */
.section-media { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-1); margin-top: var(--sp-4); }

/* Featured text card (Disney Springs in Dining & Shopping) */
.feature { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-1); margin-bottom: var(--sp-6); padding: clamp(var(--sp-6), 4vw, var(--sp-7)); }
.feature .eyebrow { color: var(--brand); }
.feature h3 { font-size: var(--fs-2xl); margin-top: var(--sp-2); }
.feature > p { margin-top: var(--sp-3); max-width: 70ch; color: var(--text-soft); }
.feature-points { list-style: none; padding: 0; margin: var(--sp-5) 0 var(--sp-4); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-6); }
.feature-points li { padding-left: var(--sp-5); position: relative; color: var(--text-soft); }
.feature-points li::before { content: "\2726"; position: absolute; left: 0; color: var(--accent); }
.feature .tile-cue { display: inline-block; margin-top: var(--sp-2); font-weight: 600; color: var(--brand); }
@media (max-width: 640px) { .feature-points { grid-template-columns: 1fr; } }

/* ---- Testimonials: "why a vacation home" cards ---- */
.reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); }
.review-card { background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-1); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); margin: 0; }
.review-head { display: flex; align-items: center; gap: var(--sp-3); }
.review-card .eyebrow { color: var(--brand); margin: 0; }
.review-card figcaption { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); }
.review-card blockquote { margin: 0; color: var(--text-soft); }
.avatar { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent); color: var(--brand-dark); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); }

/* ---- Testimonials: "stay with confidence" (distinct centered style) ---- */
.reviews-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); }
.trust-card { background: #fff; border-top: 3px solid var(--brand); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: var(--sp-6) var(--sp-5); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-3); margin: 0; }
.trust-card .stars { color: var(--accent); letter-spacing: .15em; }
.trust-card blockquote { margin: 0; font-size: var(--fs-lg); font-style: italic; color: var(--text); }
.trust-card figcaption { display: flex; align-items: center; gap: var(--sp-3); font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); margin-top: var(--sp-2); }
.avatar--dark { background: var(--brand-dark); color: #fff; }
@media (max-width: 900px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .reviews-trust { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .reviews { grid-template-columns: 1fr; } }

/* Hero text spacing + measure (v2 review) */
.home-hero h1, .unit-hero h1 { max-width: 22ch; }
.home-hero p { max-width: 46ch; }
.hero p { margin-top: var(--sp-5); }
.hero .btn { margin-top: var(--sp-7); }

/* ============================================================
   v2 review 2 — spacing/rhythm polish + unit page restructure
   ============================================================ */

/* Section-head rhythm: give the eyebrow, heading and subtext room to breathe */
.section-head { margin-bottom: var(--sp-7); }
.section-head .eyebrow { display: block; margin-bottom: var(--sp-3); }
.section-head h2 + p, .section-head h1 + p { margin-top: var(--sp-4); }

/* Prose: stop sub-headings from crowding the list/text above them */
.prose h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose .feature-list + h3 { margin-top: var(--sp-7); }

/* Cards/tiles: a touch more internal breathing room */
.unit-card-body { gap: var(--sp-3); padding: var(--sp-5); }
.tile h3 { margin-bottom: var(--sp-3); }
.specs { margin-top: var(--sp-5); gap: var(--sp-4) var(--sp-7); padding: var(--sp-6); }

/* Unit page: photos are the star (lead image full-width, rest two-up) */
.unit-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.unit-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.unit-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .unit-gallery { grid-template-columns: 1fr; } .unit-gallery img:first-child { aspect-ratio: 4 / 3; } }

/* Floor plans: smaller, sit side by side when a home has more than one */
.floor-plans { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: flex-start; }
.floor-plan-label { font-weight: 700; color: var(--brand-dark); text-align: center; margin-bottom: var(--sp-2); font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; font-size: var(--fs-sm); }

/* ---- Cross-sell "need more space" band (next-larger home on unit pages) ---- */
.cross-sell-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) 1fr; gap: var(--sp-6); align-items: center; }
.cross-sell-media { display: block; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-2); }
.cross-sell-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.cross-sell-body .eyebrow { display: block; margin-bottom: var(--sp-2); }
.cross-sell-body h2 { margin-bottom: var(--sp-3); }
.cross-sell-body p { color: var(--text-soft); margin-bottom: var(--sp-5); }
@media (max-width: 720px) { .cross-sell-inner { grid-template-columns: 1fr; } }

/* ---- Reusable image lightbox (unit photos + gallery page) ---- */
.unit-gallery img, .gallery-carousel img { cursor: zoom-in; }
.img-dialog { margin: auto; border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.img-dialog::backdrop { background: rgba(11, 42, 58, .82); }
.img-dialog img { display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--r-md); box-shadow: var(--sh-3); }
.img-dialog-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .95); color: var(--brand-dark); font-size: 1.4rem; line-height: 1; box-shadow: var(--sh-2); }
@media (prefers-reduced-motion: no-preference) { .img-dialog[open] { animation: dlg-in .2s ease; } }

/* ---- Clickable location tiles (open Google Maps directions, live traffic) ---- */
.tile-link { display: block; color: inherit; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.tile-link:hover, .tile-link:focus-visible { box-shadow: var(--sh-2); transform: translateY(-2px); }
.tile-link:hover h3 { text-decoration: underline; }
.tile-cue { display: inline-block; margin-top: var(--sp-3); font-weight: 600; font-size: var(--fs-sm); color: var(--accent-text); }

/* ---- Compact header booking CTA (keeps the top bar narrow, stays visible on mobile) ---- */
.header-cta { padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); white-space: nowrap; }
@media (max-width: 480px) { .header-cta { padding: var(--sp-2) var(--sp-3); font-size: var(--fs-xs); } }

/* ============================================================
   Accessible focus indicator (a11y review fix, 2026-06-03)
   Two-tone ring (light inner + dark outer) so the keyboard focus state keeps
   >=3:1 contrast (WCAG 2.2 SC 1.4.11) on ANY background — the light sand/white
   body AND dark hero/footer/dialog surfaces. The old single ocean-300 ring was
   ~1.9:1 on light backgrounds. Declared last so it wins over component
   box-shadows (buttons/tiles); the transparent outline keeps focus visible in
   Windows High-Contrast / forced-colors mode (where box-shadow is dropped).
   ============================================================ */
:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--c-sand-100), 0 0 0 5px var(--brand-dark);
}

/* ---- In-page directions modal (embedded Google Maps route, keeps users on the page) ---- */
.map-dialog { margin: auto; border: 0; padding: 0; border-radius: var(--r-lg); width: min(92vw, 900px); box-shadow: var(--sh-3); overflow: visible; background: #fff; }
.map-dialog::backdrop { background: rgba(11, 42, 58, .82); }
.map-dialog-inner { position: relative; }
.map-dialog iframe { display: block; width: 100%; height: min(70vh, 560px); border: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--bg-alt); }
.map-dialog-ext { display: block; padding: var(--sp-3) var(--sp-5); font-weight: 600; text-align: center; }
.map-dialog-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .95); color: var(--brand-dark); font-size: 1.4rem; line-height: 1; box-shadow: var(--sh-2); }
@media (prefers-reduced-motion: no-preference) { .map-dialog[open] { animation: dlg-in .2s ease; } }

/* ---- Golf entertainment feature cards (Topgolf / PopStroke), shown large at the top ---- */
.golf-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--sp-5); margin-bottom: var(--sp-7); }
.golf-feature-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-2); border-top: 4px solid var(--accent); color: inherit; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.golf-feature-card:hover, .golf-feature-card:focus-visible { box-shadow: var(--sh-3); transform: translateY(-3px); }
.golf-feature-card h3 { font-size: var(--fs-2xl); margin: var(--sp-2) 0; }
.golf-feature-card p { color: var(--text-soft); margin-bottom: var(--sp-4); max-width: none; }
.golf-feature-card .tile-cue { margin-top: auto; }
.golf-feature-card:hover .tile-cue { text-decoration: underline; }

/* ===== v3 availability panel + manager chooser ===== */
/* (booking form relocated into the hero .hero-booking-bar #availability; the old
   section-panel wrappers .availability / .availability-inner / .availability-head are gone) */
.availability-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-4); }
.av-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.av-field label { font-size: 0.875rem; font-weight: 600; color: var(--brand-dark); }
.av-field input, .av-field select { font: inherit; height: 48px; padding: 0 var(--sp-3); min-width: 9.5rem; border: 1px solid var(--c-sand-300); border-radius: var(--r-md); background: var(--c-white); color: var(--text); }
.availability-form .av-submit { height: 48px; white-space: nowrap; }
.availability-error { color: var(--c-coral-500); font-weight: 600; margin-top: var(--sp-3); }
.availability-noscript { margin-top: var(--sp-3); color: var(--text-soft); }

/* Manager cards (vacation-home-ownership page) */
.manager-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4); }
.manager-card { border: 1px solid var(--c-sand-200); border-radius: var(--r-md); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); background: var(--bg); }
.manager-card h3 { font-size: 1.25rem; }
.manager-card p { color: var(--text-soft); margin: 0; flex: 1 0 auto; }
@media (max-width: 640px) { .availability-form { width: 100%; } .av-field { flex: 1 1 100%; } .av-field input, .av-field select { width: 100%; } }

/* ===== v3 theme-picker modal (unit pages) ===== */
.home-picker { margin: auto; border: 0; padding: 0; border-radius: var(--r-lg); width: min(94vw, 960px); max-height: 90vh; box-shadow: var(--sh-3); overflow: hidden; background: var(--c-white); }
.home-picker::backdrop { background: rgba(11, 42, 58, .82); }
.home-picker-inner { position: relative; padding: var(--sp-6); max-height: 90vh; overflow-y: auto; }
.home-picker-inner > h2 { margin-bottom: var(--sp-2); padding-right: 2.5rem; }
.home-picker-sub { color: var(--text-soft); margin-bottom: var(--sp-4); }
.home-picker-note { background: var(--bg-alt); border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); color: var(--text-soft); margin-bottom: var(--sp-4); font-size: 0.95rem; }
.home-picker-empty { color: var(--text-soft); margin: var(--sp-4) 0; }
.home-picker-close { position: absolute; top: var(--sp-3); right: var(--sp-3); width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: var(--bg-alt); color: var(--brand-dark); font-size: 1.4rem; line-height: 1; z-index: 1; }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-4); }
.home-card { display: flex; flex-direction: column; border: 1px solid var(--c-sand-200); border-radius: var(--r-md); overflow: hidden; background: var(--c-white); }
.home-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.home-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-card-badge { position: absolute; top: var(--sp-2); left: var(--sp-2); background: rgba(11, 42, 58, .82); color: #fff; font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: var(--r-pill); }
.home-card-body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); flex: 1; }
.home-card-body h3 { font-size: 1rem; line-height: 1.25; }
.home-card-specs { color: var(--text-soft); font-size: 0.88rem; margin: 0; }
.home-card-go { margin-top: auto; text-align: center; }
.home-picker-more { text-align: center; margin-top: var(--sp-5); }
.home-picker-seeall { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--c-sand-200); }
.home-picker-seeall > p { color: var(--text-soft); margin-bottom: var(--sp-2); }
.seeall-links { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.seeall-link { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .home-picker[open] { animation: dlg-in .2s ease; } }
@media (max-width: 480px) { .home-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* v3.1 live-data accents (Worker) */
.manager-open { color: var(--brand); font-weight: 600; font-size: 0.92rem; margin: 0; }
.home-card-price { color: var(--brand-dark); font-weight: 700; margin: 0; }

/* Ownership page disclaimer */
.disclaimer { color: var(--text-soft); font-size: 0.85rem; line-height: 1.6; max-width: 75ch; margin: 0 auto; }

/* Sticky bottom Check Availability bar (appears after the hero) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(11, 42, 58, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; box-shadow: 0 -4px 24px rgba(11, 42, 58, .28); transform: translateY(110%); transition: transform .35s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-5); }
.sticky-cta-text { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
@media (max-width: 520px) { .sticky-cta-text { display: none; } .sticky-cta-inner { padding: var(--sp-2) var(--sp-4); } }

/* Amenities "more photos" grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); display: block; }

/* ===== Themed-room moving backdrop (custom themes) ===== */
.themed-section { position: relative; isolation: isolate; overflow: hidden; color: #fff; }
.themed-section .section-head .eyebrow { color: var(--c-ocean-300); }
.themed-section .section-head h2, .themed-section .section-head p { color: #fff; }
.themed-section .section-head .btn { margin-top: var(--sp-5); }
.themed-bg { position: absolute; inset: 0; z-index: -2; background: var(--brand-dark); }
.themed-bg span { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: themedFade 28s infinite; }
.themed-bg span:nth-child(1) { animation-delay: 0s; }
.themed-bg span:nth-child(2) { animation-delay: 7s; }
.themed-bg span:nth-child(3) { animation-delay: 14s; }
.themed-bg span:nth-child(4) { animation-delay: 21s; }
.themed-section::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(11, 42, 58, .80), rgba(11, 42, 58, .86)); }
@keyframes themedFade { 0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }
.themed-section .review-card { box-shadow: var(--sh-3); }
@media (prefers-reduced-motion: reduce) { .themed-bg span { animation: none; opacity: 0; } .themed-bg span:nth-child(1) { opacity: 1; } }

/* ============================================================
   v3.1 — Hero booking bar (single reservation selector at the hero bottom)
   Headline up top; the full date + bedroom selector is a frosted bar pinned to
   the bottom of the hero (one box; the separate panel was removed). On load the
   title rises, translucent water fills the lower hero, and the bar surfaces.
   Pure CSS, gated behind html.js + prefers-reduced-motion; only
   transform/opacity/clip-path animate, the bar's slot reserved from first paint
   -> CLS 0. Reduced-motion / no-JS: everything shown static and usable.
   ============================================================ */

/* Clip the decorative water's off-screen start state. Safe: .home-hero uses
   min-height (it grows to fit real content), so only the water is ever clipped. */
.home-hero { overflow: hidden; }

/* Headline at the top, reservation bar at the bottom; content above the water. */
.home-hero .hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-7);
  padding-top: clamp(var(--sp-6), 7vw, var(--sp-8)); padding-bottom: var(--sp-5);
}

/* The single frosted reservation bar at the bottom of the hero. The form row
   reuses the shared .availability-form / .av-field / .av-submit styles. */
.hero-booking-bar {
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-lg); box-shadow: var(--sh-3);
}
.hero-booking-title { font-size: var(--fs-lg); color: var(--brand-dark); margin-bottom: var(--sp-3); }

/* --- Water layer: filled (static) by default; animated under motion --- */
.hero-water { display: none; }
html.js .hero-water {
  display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  height: clamp(160px, 38%, 300px); pointer-events: none;
  background: linear-gradient(180deg,
    rgba(17, 80, 107, 0) 0%, rgba(17, 80, 107, .45) 32%, rgba(11, 42, 58, .94) 100%);
}
.hero-wave {
  position: absolute; left: -5%; bottom: 100%; width: 110%; height: 28px;
  fill: rgba(255, 255, 255, .5); display: block;
}
.hero-wave--back { height: 38px; fill: rgba(255, 255, 255, .24); }

@media (prefers-reduced-motion: no-preference) {
  html.js .home-hero h1     { animation: heroTitleRise .9s cubic-bezier(.2, .7, .2, 1) both; }
  html.js .hero-water       { animation: heroWaterRise 1.2s cubic-bezier(.2, .7, .2, 1) .2s both; }
  html.js .hero-wave--front { animation: heroWaveDrift 6s ease-in-out 1.4s infinite alternate; }
  html.js .hero-wave--back  { animation: heroWaveDrift 9s ease-in-out 1.4s infinite alternate-reverse; }
  html.js .hero-booking-bar { animation: heroCardSurface .8s cubic-bezier(.2, .7, .2, 1) .8s both; }
}
@keyframes heroTitleRise {
  from { clip-path: inset(0 0 100% 0); transform: translateY(14px); }
  to   { clip-path: inset(0 0 0 0);    transform: translateY(0); }
}
@keyframes heroWaterRise { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes heroWaveDrift { from { transform: translateX(-12px); } to { transform: translateX(12px); } }
@keyframes heroCardSurface { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .home-hero h1 { font-size: clamp(1.85rem, 8.5vw, var(--fs-4xl)); }
  .hero-booking-title { font-size: var(--fs-base); }
}

/* ===== Location page — destinations by category ===== */
.dest-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--sp-6) var(--sp-7); margin-top: var(--sp-5); }
.dest-cat h3 { font-size: var(--fs-lg); color: var(--accent-text); margin-bottom: var(--sp-3); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--c-sand-300); }
.dest-list { list-style: none; padding: 0; display: grid; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.dest-list li { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.55; }
.dest-list a { font-weight: 600; }

/* ===== Media band: a section over a decorative background image (CSS bg -> no CLS) ===== */
.media-band { position: relative; isolation: isolate; color: #fff; background: var(--brand-dark) center / cover no-repeat; }
.media-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(11, 42, 58, .80), rgba(11, 42, 58, .86)); }
.media-band .eyebrow { color: var(--c-ocean-300); }
.media-band .section-head h2, .media-band .section-head h3 { color: #fff; }
.media-band .section-head p, .media-band > .container > p { color: rgba(255, 255, 255, .92); }
.media-band .link-row a { color: var(--c-ocean-300); font-weight: 600; }
.media-band--sports { background-image: url(/assets/img/sports-bg-baseball.webp); }

/* ===== Location topic filter ===== */
.dest-filters { display: none; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
html.js .dest-filters { display: flex; }
.dest-filter { font: inherit; font-size: var(--fs-sm); font-weight: 600; padding: var(--sp-2) var(--sp-4); border: 1px solid var(--c-sand-300); border-radius: var(--r-pill); background: var(--c-white); color: var(--brand); cursor: pointer; transition: background .12s ease, color .12s ease, border-color .12s ease; }
.dest-filter:hover { border-color: var(--brand); }
.dest-filter.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.dest-cat[hidden] { display: none; }

/* ===== Things-to-Do topic banners: image fades at the bottom; tiles overlay the fade ===== */
.topic-media {
  display: block; width: 100%; height: clamp(190px, 30vw, 320px); object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: var(--sp-5);
  margin-bottom: clamp(-120px, -10vw, -64px);
  -webkit-mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, 0) 100%);
}
.topic .grid-tiles, .topic .feature, .topic .golf-featured, .topic .group-label { position: relative; }
@media (max-width: 640px) { .topic-media { margin-bottom: clamp(-90px, -16vw, -48px); } }
