/* ============================================================
   FLORIDA VACATION COLLECTION - SHARED DESIGN SYSTEM
   Ported from the Mirage Vacations design system. LIGHT is the
   default: white surfaces, dark text, FVC ocean blue accent.
   The Mirage typography, layout grammar and card designs are
   unchanged. Loaded on every page after this stylesheet ships.

   html.page-light remains as a harmless no-op (same values as
   :root) so existing pages that set it do not break.
   ============================================================ */

/* ========================================
   CSS CUSTOM PROPERTIES (LIGHT DEFAULT)
   ======================================== */
:root {
  --white: #FFFFFF;
  --off-white: #F7F6F2;
  --palm: #101014;
  --palm-light: #1A1A20;
  --coral: #3E9AF9;
  --coral-text: #2472C8;
  --coral-hover: #2B86E0;
  --slate: #16161A;
  --muted: #6B6B68;
  --border: #E6E3DC;
  --gold-star: #C9A227;
  --accent-gold: #3E9AF9;
  --cream: #F5F1E8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 16px;
  --font-heading: 'Bespoke Serif', Georgia, serif;
  --font-ui: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-drama: 'Bespoke Serif', Georgia, serif;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* One vertical rhythm token for the whole page. */
  --pad-section: 110px;
  --shell: 1180px;
}

/* ========================================
   LIGHT PAGE OVERRIDE (no-op)
   Light is now the site default, so this block re-declares the
   same values. Kept so existing pages with html.page-light do
   not break.
   ======================================== */
html.page-light {
  --white: #FFFFFF;
  --off-white: #F7F6F2;
  --palm: #101014;
  --palm-light: #1A1A20;
  --coral: #3E9AF9;
  --coral-text: #2472C8;
  --coral-hover: #2B86E0;
  --slate: #16161A;
  --muted: #6B6B68;
  --border: #E6E3DC;
  --gold-star: #C9A227;
  --accent-gold: #3E9AF9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 16px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FFFFFF;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
}
body.ready { opacity: 1; }

html.page-light,
html.page-light body {
  background: var(--white);
}

/* Noise texture overlay: dropped on the light theme. On white it
   reads as a visible waxy texture, not a subtle finish. */

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--transition-smooth);
}

a:hover {
  transform: translateY(-1px);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* A reveal must never be the reason content is unreachable. */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-up.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   NAVBAR
   Default (every interior page): solid WHITE from load, dark
   links, dark logo. The homepage adds .navbar-overlay to its
   <nav> so the bar starts transparent over the hero photo with
   the dark scrim and cream links, then becomes the same solid
   white bar once .scrolled kicks in.
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 3rem;
  background: #FFFFFF;
  transition: all 0.4s var(--transition-smooth);
}

/* Hero-overlay scrim: only the homepage overlay state floats over
   a photo, so only it needs the readability gradient. */
.navbar-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 8, 10, 0.62) 0%, rgba(8, 8, 10, 0) 100%);
  opacity: 1;
  transition: opacity 0.4s var(--transition-smooth);
}

.navbar-overlay.scrolled::before { opacity: 0; }

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 3rem;
}

/* Overlay state (homepage, not yet scrolled): transparent bar,
   cream hairline. Scoped with :not(.scrolled) so the scrolled
   state falls straight back to the solid white base styles. */
.navbar-overlay:not(.scrolled) {
  background: transparent;
}
.navbar-overlay:not(.scrolled) .navbar-inner {
  border-bottom-color: rgba(245,241,232,0.15);
}

.navbar-logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: block;
  /* The FVC mark sits on a padded square canvas, so the CSS box is
     taller than the visible logo. Sized up 25% on 2026-08-19 at Jack's
     request; 120px renders roughly a 56px mark. */
  height: 120px;
  transition: height 0.4s var(--transition-smooth);
}

.navbar.scrolled .navbar-logo {
  height: 90px;
}

.navbar-logo img {
  height: 100%;
  width: auto;
}

/* Dual stacked logos, toggled by CSS only (no JS):
   white bar shows the dark logo, hero-overlay shows the white one. */
.navbar-logo .logo-light { display: none; }
.navbar-logo .logo-dark { display: block; }
.navbar-overlay:not(.scrolled) .navbar-logo .logo-light { display: block; }
.navbar-overlay:not(.scrolled) .navbar-logo .logo-dark { display: none; }

.navbar-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar-links a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color 0.3s, transform 0.3s var(--transition-smooth);
}

.navbar-links a:hover {
  color: var(--coral-text);
}

/* Overlay state: cream links over the photo; hover pins to the
   readable light-blue tint (dark --coral-text would vanish). */
.navbar-overlay:not(.scrolled) .navbar-links a {
  color: rgba(245,241,232,0.85);
}
.navbar-overlay:not(.scrolled) .navbar-links a:hover { color: #7EB3E8; }

.navbar-cta {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F5F1E8;
  background: var(--coral);
  padding: 0.6rem 1.35rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.navbar-cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--transition-smooth);
}

.navbar-cta:hover svg {
  transform: translateX(3px);
}

.navbar-cta:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(62, 154, 249, 0.25);
}

.navbar-mobile-toggle {
  display: none;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.navbar-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Overlay state: cream hamburger over the photo. Once the white
   sheet menu is open the lines flip dark, hence :not(.menu-open). */
.navbar-overlay:not(.scrolled):not(.menu-open) .navbar-mobile-toggle span {
  background: #F5F1E8;
}
.navbar.menu-open .navbar-mobile-toggle span {
  background: var(--slate);
}

/* Mobile nav overlay */
.navbar.menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navbar-links.mobile-open {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 10000;
  animation: fadeInNav 0.25s ease-out;
}

@keyframes fadeInNav {
  from { opacity: 0; }
  to { opacity: 1; }
}

.navbar-links.mobile-open a {
  color: var(--slate) !important;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.navbar-links.mobile-open a:hover {
  color: var(--coral-text) !important;
}

/* Nav underline micro-interaction: 1px rule springs in on hover. */
.navbar-links a {
  position: relative;
  padding-bottom: 5px;
}
.navbar-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--coral-text);
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s linear;
}
.navbar-links a.active::before {
  background: var(--coral-text);
  opacity: 1;
  transform: scaleX(1);
}
/* Overlay state: cream underline, light-blue active rule. */
.navbar-overlay:not(.scrolled) .navbar-links a::before { background: #F5F1E8; }
.navbar-overlay:not(.scrolled) .navbar-links a.active::before { background: #7EB3E8; }
@media (hover: hover) {
  .navbar-links a:hover {
    transform: none;
  }
  .navbar-links a:hover::before {
    opacity: 1;
    transform: scaleX(1);
  }
}
.navbar-links.mobile-open a::before { display: none; }

/* ========================================
   NAV DROPDOWN (FVC portfolio menu)
   White surface panel, hairline border, light shadow, square
   corners. All token-driven.
   ======================================== */
.nav-dropdown { position: relative; }

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
}
.nav-caret {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  transition: transform 0.28s var(--transition-smooth);
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

/* Invisible bridge so the menu survives the cursor crossing the gap. */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 1.6rem;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 292px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s var(--transition-smooth), transform 0.24s var(--transition-smooth), visibility 0.24s;
  z-index: 1200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 2px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  color: var(--slate) !important;
  transition: background 0.2s var(--transition-smooth);
}
.nav-dropdown-menu a::before { display: none; }
.nav-dropdown-menu a:hover { background: var(--off-white); }
.nav-dropdown-menu a + a { margin-top: 0.1rem; }

.ndm-title {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.16rem;
}
.nav-dropdown-menu a:hover .ndm-title { color: var(--coral-text); }
.ndm-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.79rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5F1E8;
  background: var(--coral);
  padding: 1rem 2.5rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 154, 249, 0.2);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--transition-smooth);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* ========================================
   HERO SEARCH BAR (dark glass)
   ======================================== */
.search-bar-wrapper {
  position: relative;
  z-index: 2;
  padding: 0 3rem;
  max-width: 900px;
  width: 100%;
  margin-bottom: 1.5rem;
}

.search-bar {
  background: rgba(16,16,20,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  padding: 0.6rem 0.6rem 0.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.18);
}

.search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 1.25rem 0.35rem 1.25rem;
  border-left: 1px solid rgba(255,255,255,0.12);
  min-width: 0;
}

.search-field:first-child {
  border-left: none;
  padding-left: 0;
  flex: 1.4;
}

.search-field label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.6);
}

.search-field input,
.search-field select {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #F5F1E8;
  border: none;
  padding: 0.1rem 0;
  background: transparent;
  outline: none;
  width: 100%;
  cursor: pointer;
}

.search-field select option {
  background: #16161A;
  color: #F5F1E8;
}

.search-field input::placeholder {
  color: #B0B5BC;
}

/* Safari renders the segments inside input[type=date] with its own system
   colour and ignores the `color` on the input, which showed the date in gold
   on the dark hero bar while Chrome showed it cream. Pin every segment. */
.search-field input[type="date"]::-webkit-datetime-edit,
.search-field input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.search-field input[type="date"]::-webkit-datetime-edit-text,
.search-field input[type="date"]::-webkit-datetime-edit-month-field,
.search-field input[type="date"]::-webkit-datetime-edit-day-field,
.search-field input[type="date"]::-webkit-datetime-edit-year-field {
  color: #F5F1E8;
  -webkit-text-fill-color: #F5F1E8;
  opacity: 1;
}

.search-field input::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

.search-btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #F5F1E8;
  background: var(--coral);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.75rem;
}

.search-btn:hover {
  background: var(--coral-hover);
  transform: scale(1.05);
}

.search-btn svg {
  width: 19px;
  height: 19px;
}

/* Optional text label inside the round button: hidden on desktop
   (icon-only circle), shown when the bar stacks on mobile. */
.search-btn-label { display: none; }

/* ========================================
   SECTION GRAMMAR
   ======================================== */
.section {
  padding: var(--pad-section) 3rem;
}

.section-gray {
  background: var(--off-white);
}

/* Section headers are LEFT aligned and sit inside the same shell
   as the content below them. */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: left;
  max-width: var(--shell);
  margin: 0 auto 3.25rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--slate);
  margin-bottom: 0.6rem;
  text-wrap: balance;
}

.section-header p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 56ch;
}

/* ========================================
   PROOF BAR
   ======================================== */
.proofbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 3rem;
  background: var(--off-white);
}

.proofbar-inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.proof-item {
  text-align: center;
}

.proof-n {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.proof-l {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ========================================
   LISTING (borderless image-first card)
   ======================================== */
.listing {
  display: block;
  color: inherit;
}

.listing:hover { transform: none; }

.listing-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--palm-light);
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.listing:hover .listing-media img {
  transform: scale(1.04);
}

.listing-body {
  padding: 1.25rem 0 0;
  text-align: center;
}

.listing-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.listing-place {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.55rem;
}

.listing-specs {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 0.9rem;
}

.listing-price {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate);
  margin-top: 0.5rem;
}

.listing-price span {
  color: var(--muted);
  font-size: 0.85rem;
}

.listing-cta {
  margin-top: 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.listing-cta svg { width: 15px; height: 15px; }

/* Hairline with a pill breaking through it. */
.rule-pill {
  max-width: var(--shell);
  margin: 3.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rule-pill::before,
.rule-pill::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.rule-pill a {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--border);
  padding: 0.95rem 2.25rem;
  transition: border-color 0.4s var(--transition-smooth), color 0.4s var(--transition-smooth);
  white-space: nowrap;
}

.rule-pill a:hover {
  border-color: var(--coral-text);
  color: var(--coral-text);
  transform: none;
}

/* ========================================
   VALUE CARDS
   ======================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--shell);
  margin: 0 auto;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: none;
  transition: all 0.5s var(--transition-smooth);
  border: 1px solid var(--border);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.value-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.value-card-icon svg {
  color: var(--slate) !important;
}

.value-card-icon svg:not(.override) {
  width: 24px;
  height: 24px;
  color: var(--slate);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.value-card p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ========================================
   AMENITY TAGS
   ======================================== */
.amenity-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.amenity-lead {
  max-width: var(--shell);
  margin: 4rem auto 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.amenity-wrap {
  max-width: var(--shell);
  margin: 0 auto;
}

.amenity-tag {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  background: transparent;
  padding: 0.6rem 1.25rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--transition-smooth);
}

.amenity-tag:hover {
  background: var(--palm);
  color: #F5F1E8;
  transform: translateY(-2px);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-list {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(62, 154, 249, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--coral-text);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s var(--transition-smooth);
}

.faq-item.open .faq-icon {
  background: var(--coral);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  color: var(--coral-text);
  transition: color 0.3s;
}

.faq-item.open .faq-icon svg {
  color: #F5F1E8;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-smooth), padding 0.5s var(--transition-smooth);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

.faq-answer-inner ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

.faq-answer-inner ul li {
  margin-bottom: 0.35rem;
}

/* ========================================
   FEATURED SECTION SHELL
   ======================================== */
.featured-section {
  padding: var(--pad-section) 3rem;
}
.featured-section .section-header {
  margin-bottom: 3rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #111111;
  border-radius: 0;
  padding: 5rem 3rem 2.5rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0;
  position: relative;
  z-index: 5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.footer-brand-logo {
  height: 140px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
}

.footer-column h4 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5F1E8;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s, transform 0.3s var(--transition-smooth);
}

.footer-column a:hover {
  color: #F5F1E8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
}

.footer-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Social buttons: lift, then trace an outline outward and fade it. */
@keyframes mirageTracer {
  0%   { opacity: 0;   transform: scale3d(1, 1, 1); }
  50%  { opacity: 0.8; }
  100% { opacity: 0;   transform: scale3d(1.45, 1.45, 1); }
}
.footer-social a {
  position: relative;
  transform: scale3d(1, 1, 1);
  transition: background-color 0.25s linear, box-shadow 0.25s linear,
              transform 0.4s cubic-bezier(0.42, 0.97, 0.52, 1.49);
}
.footer-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(245, 241, 232, 0.9);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: scale3d(1, 1, 1);
}
@media (hover: hover) {
  .footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale3d(1.08, 1.08, 1) translate3d(0, -2px, 0);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }
  .footer-social a:hover::before {
    animation: mirageTracer ease-in-out 0.6s backwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar-links a::before { transition: none; }
  .footer-social a { transition: none; }
  .footer-social a:hover::before { animation: none; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  :root { --pad-section: 84px; }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid .value-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }
  .proofbar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 2rem;
  }
}

@media (max-width: 768px) {
  :root { --pad-section: 60px; }
  .navbar {
    padding: 0.75rem 1.25rem;
  }
  .navbar.scrolled {
    padding: 0.5rem 1.25rem;
  }
  .navbar-logo img {
    height: 95px;
  }
  /* Scrolled mobile bar stays compact: full-size logo only at the top of
     the page (Jack, 2026-08-19: the scrolled header was eating too much
     screen on a phone). The CONTAINER must shrink with the img: the img
     alone leaves the bar at 118px because .navbar-logo keeps the desktop
     scrolled height. Same for .navbar-inner's padding-bottom. */
  .navbar-logo {
    height: 95px;
  }
  .navbar.scrolled {
    padding: 0.3rem 1.25rem;
  }
  .navbar.scrolled .navbar-logo,
  .navbar.scrolled .navbar-logo img {
    height: 52px;
  }
  .navbar.scrolled .navbar-inner {
    padding-bottom: 0.4rem;
  }
  .navbar-cta {
    display: none;
  }
  .navbar-links {
    display: none;
  }
  .navbar-mobile-toggle {
    display: block;
    z-index: 10001;
  }
  .navbar.menu-open .navbar-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .navbar.menu-open .navbar-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  .navbar.menu-open .navbar-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* Keep the brand logo visible above the open sheet, always in its
     dark form (the sheet is white, so the light logo would vanish). */
  .navbar.menu-open .navbar-logo {
    position: relative;
    z-index: 10001;
  }
  .navbar.menu-open .navbar-logo .logo-dark { display: block; }
  .navbar.menu-open .navbar-logo .logo-light { display: none; }

  .search-bar-wrapper {
    padding: 0 1.5rem;
    margin-bottom: 1rem;
  }
  .search-bar {
    flex-direction: column;
    gap: 0;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    align-items: stretch;
  }
  .search-field {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 0.85rem 0;
  }
  .search-field:first-child {
    border-top: none;
    padding-top: 0;
  }
  .search-btn {
    width: 100%;
    height: 48px;
    border-radius: 2px;
    margin-left: 0;
    margin-top: 0.75rem;
    gap: 0.5rem;
  }
  .search-btn-label {
    display: inline;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .section {
    padding: var(--pad-section) 1.5rem;
  }
  .featured-section {
    padding: var(--pad-section) 1.25rem;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid .value-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }
  .proofbar {
    padding: 2.25rem 1.5rem;
  }
  .rule-pill {
    gap: 1rem;
    margin-top: 2.5rem;
  }
  .rule-pill a {
    padding: 0.85rem 1.35rem;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  /* In the sheet, Portfolio is a tap-to-expand dropdown (Jack, 2026-08-19:
     the always-flattened list made the menu spacing uneven and looked
     broken). Collapsed by default; the caret stays and rotates when open. */
  .nav-dropdown::after { display: none; }
  .navbar-links.mobile-open .nav-caret {
    display: inline-block;
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--transition-smooth);
  }
  .navbar-links.mobile-open .nav-dropdown.open .nav-caret { transform: rotate(180deg); }
  .navbar-links.mobile-open .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.65rem 0 0.25rem;
    text-align: center;
  }
  .navbar-links.mobile-open .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .navbar-links.mobile-open .nav-dropdown-menu a { display: block; padding: 0.55rem 0; }
  .navbar-links.mobile-open .nav-dropdown-menu .ndm-title {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0;
  }
  .navbar-links.mobile-open .nav-dropdown-menu .ndm-sub { display: none; }
  .nav-dropdown { text-align: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .amenity-tags {
    justify-content: center;
  }
  .proofbar-inner {
    gap: 1.75rem 1rem;
  }
  /* The pill has to survive a 320px viewport. */
  .rule-pill::before,
  .rule-pill::after {
    display: none;
  }
  .rule-pill a {
    width: 100%;
    text-align: center;
  }
}

/* Global guard: Safari colours date-input segments with its own system colour
   instead of inheriting the input's `color`. Any input[type=date] anywhere on
   the site now follows its own colour in every browser. */
input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: inherit;
  -webkit-text-fill-color: currentColor;
  opacity: 1;
}
