/* Beats Working site styles.
   Colour roles
     slate #1f2f3a / slate-900 #13202a  structure: footer, dark panels
     teal  #00b6a0  highlight: stars, badges, accents on dark
     teal-700 #00756a  action: buttons, links, focus (5.6:1 with white;
                       the brand teal is 2.6:1, so it never carries white text)
   Radius by role: photos 20px / cards 16px, panels 24px, inputs 12px,
   buttons and segmented controls full pill, content bands 0. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --slate: #1f2f3a;
  --slate-900: #13202a;
  --slate-50: #eef2f5;
  --teal: #00b6a0;
  --teal-300: #6de2cc;
  --teal-700: #00756a;
  --teal-800: #005f56;
  --teal-50: #e3f6f2;
  --ink: #182229;
  --ink-2: #4a5862;      /* 7.2:1 on white */
  --ink-3: #65727c;      /* 4.9:1 on white, small meta only */
  --line: #e1e7eb;
  --surface: #f3f6f8;
  --white: #fff;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --fs-12: .75rem;
  --fs-14: .875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-h1: clamp(2.5rem, 1.5rem + 4vw, 4.75rem);

  --r-photo: 20px;
  --r-card: 16px;
  --r-panel: 24px;
  --r-input: 12px;
  --r-pill: 999px;

  --shadow-panel: 0 2px 4px rgb(19 32 42 / .08), 0 24px 48px -16px rgb(19 32 42 / .35);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 85px;      /* starting value until site.js measures the real header */
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 900px) { :root { --header-h: 99px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--fs-16)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
/* Footer stays at the bottom on short pages: the body is a column and main takes the spare height.
   The admin bar pushes html down, so subtract it when logged in. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px)); }
#main { flex: 1 0 auto; min-width: 0; } /* min-width: a flex item never shrinks below its widest child (the swipe rows) without it */
.site-footer { flex-shrink: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--teal-700); color: #fff; padding: 10px 14px; border-radius: var(--r-input); }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: background-color .2s var(--ease-out), transform .12s var(--ease-out), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-800); }
.btn-outline { background: transparent; color: var(--teal-700); box-shadow: inset 0 0 0 1.5px var(--teal-700); }
.btn-outline:hover { background: var(--teal-50); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: var(--fs-14); }
.btn .icon { font-size: 1.15em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .95); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* Padding sets the header's size; site.js measures it into --header-h for everything that sits below it. */
.header-inner { padding-block: 20px; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; text-decoration: none; }
.brand img { width: 176px; height: auto; }
.brand-text { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 700; }
@media (min-width: 900px) { .brand img { width: 232px; } }

/* Region names are long: the inline nav shows from 1024px; below that the menu button opens the drawer. */
.nav { display: none; margin-inline: auto; }
.nav-list { display: flex; gap: 18px; }
.nav-list a { display: block; white-space: nowrap; text-decoration: none; font-size: var(--fs-14); font-weight: 500; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--ink); border-bottom-color: var(--teal); }
@media (min-width: 1024px) { .nav { display: block; } }
@media (min-width: 1100px) { .nav-list { gap: 24px; } .nav-list a { font-size: var(--fs-16); } }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
@media (min-width: 1024px) { .header-actions { margin-left: 0; } }
.icon-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-size: var(--fs-14); font-weight: 500; min-height: 40px; padding: 0 8px; }
.icon-link { transition: color .15s; }
.icon-link:hover { color: var(--teal-700); }
.icon-link .icon { font-size: 26px; }
.icon-link-label { display: none; }
@media (min-width: 900px) { .icon-link-label { display: inline; } }
@media (max-width: 899px) { .header-actions .js-check-dates { display: none; } }

/* Social icons sit beside Owners from 1200px; below that they live in the drawer and footer. */
.header-social { display: none; align-items: center; gap: 2px; padding-right: 10px; margin-right: 2px; border-right: 1px solid var(--line); }
.header-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); font-size: 22px; text-decoration: none; transition: background-color .15s, color .15s; }
.header-social a:hover { background: var(--surface); color: var(--teal-700); }
@media (min-width: 1200px) { .header-social { display: flex; } }

.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 26px; cursor: pointer; }
.menu-btn:hover { background: var(--surface); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ---------- Phone menu drawer ---------- */
.menu-lock, .menu-lock body { overflow: hidden; }
.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: rgb(24 34 41 / .45); }
.drawer-scrim[hidden] { display: none; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(400px, 100%);
  display: flex; flex-direction: column; background: var(--white);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.65, .05, .36, 1);
}
.drawer[hidden] { display: none; }
.drawer.is-open { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 600; }
.drawer-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; border-radius: 50%; background: var(--surface); font-size: 20px; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 24px; }
.drawer-link {
  display: flex; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--fs-18); font-weight: 600; color: var(--ink); text-decoration: none;
}
.drawer-link .icon { font-size: 22px; color: var(--teal-700); }
.drawer-link[aria-current] { color: var(--teal-700); }
.drawer-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot .btn { flex: 1; }
.drawer-social { display: flex; gap: 4px; }
.drawer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink-2); font-size: 22px; text-decoration: none; }
.drawer-social a:hover { background: var(--surface); color: var(--teal-700); }

/* ---------- Footer: signup, brand + link columns, legal bar ---------- */
.site-footer { background: var(--slate-900); color: #e3e9ed; }
.footer-signup { display: grid; gap: 20px; padding-top: 56px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer-signup h2 { font-size: var(--fs-24); color: #fff; }
.footer-signup p { color: #b8c4cc; margin-top: 6px; max-width: 52ch; }
.signup { align-self: center; width: 100%; max-width: 520px; }
@media (min-width: 900px) { .footer-signup { grid-template-columns: 1fr 1fr; align-items: center; } .signup { justify-self: end; } }

.footer-main { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.footer-brand > a { display: inline-block; text-decoration: none; color: #fff; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { margin-top: 16px; color: #b8c4cc; max-width: 34ch; font-size: var(--fs-14); }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #fff; font-size: 22px; text-decoration: none; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--teal); color: var(--slate-900); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.footer-heading { font-family: var(--font-body); font-size: var(--fs-14); font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 10px; }
.footer-cols a { display: block; color: #b8c4cc; text-decoration: none; font-size: var(--fs-14); padding: 6px 0; }
.footer-cols a:hover, .footer-cols a[aria-current] { color: var(--teal-300); }
@media (min-width: 900px) { .footer-main { grid-template-columns: 1fr 2fr; } .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / .1); font-size: var(--fs-12); color: #93a1ab; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal a { color: #b8c4cc; text-decoration: none; padding: 4px 0; display: inline-block; }
.legal a:hover { color: var(--teal-300); }

/* ==================== Page sections (homepage) ==================== */
/* Hero
   A full-bleed photo with the copy over a scrim, and the search docked across the
   bottom edge so it sits half on the photo, half on the page. The photo swaps between
   beach and mountains with the market choice: no competitor has both. */
.hero { position: relative; isolation: isolate; }
.hero-media { position: absolute; inset: 0 0 auto 0; height: 520px; overflow: hidden; background: #111; z-index: -1; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.hero-img.is-active { opacity: 1; transform: none; }
/* Neutral black wash, kept as light as the white type allows (Ian, 10/16) */
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .42) 0%, rgb(0 0 0 / .08) 38%, rgb(0 0 0 / .5) 100%); }
.hero-inner { position: relative; display: grid; padding-top: 48px; padding-bottom: 32px; min-height: 520px; align-content: start; }
.hero-copy { color: #fff; display: grid; gap: 14px; max-width: 920px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: var(--fs-14); font-weight: 600; background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); padding: 6px 12px 6px 10px; border-radius: var(--r-pill); }
.hero-kicker .icon { color: var(--teal-300); font-size: 18px; }
.hero .hero-title { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-shadow: 0 2px 24px rgb(19 32 42 / .35); }
.hero-sub { font-size: var(--fs-18); max-width: 44ch; color: rgb(255 255 255 / .92); }
.hero-title, .hero-sub { text-shadow: 0 1px 24px rgb(0 0 0 / .25); }
/* Slides share one grid cell, so the search panel never moves when the words change length. */
.hero-slides { display: grid; }
.hero-copy { grid-area: 1 / 1; align-self: end; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), visibility .6s; }
.hero-copy.is-active { opacity: 1; visibility: visible; }
.hero-title { margin: 0; font-family: var(--font-display); }
/* Caption (desktop) and the slideshow pause button share the top-right corner. */
.hero-caption { position: absolute; right: var(--gutter); top: 16px; display: flex; align-items: center; gap: 8px; }
.hero-caption span { display: none; }
.hero-pause { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgb(19 32 42 / .78); color: #fff; font-size: 14px; cursor: pointer; transition: background-color .15s; }
.hero-pause:hover { background: var(--slate-900); }
.hero-pause .is-play, .hero-pause[aria-pressed="true"] .is-pause { display: none; }
.hero-pause[aria-pressed="true"] .is-play { display: block; }
@media (prefers-reduced-motion: reduce) { .hero-pause { display: none; } .hero-copy { transition: none; } }

.search { margin-top: 40px; background: var(--white); border-radius: var(--r-panel); box-shadow: var(--shadow-panel); padding: 14px; display: grid; gap: 14px; }
.search-market { border: 0; margin: 0; padding: 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--surface); border-radius: var(--r-pill); }
.seg { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 8px; border-radius: var(--r-pill); font-size: var(--fs-14); font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg span .icon { font-size: 18px; }
.seg input:checked + span { background: var(--teal-700); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--teal-700); outline-offset: 2px; }

.search-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: var(--fs-14); font-weight: 600; color: var(--ink); padding-left: 2px; }
.field input, .field select { width: 100%; min-width: 0; min-height: 52px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-input); background: var(--white); font-size: var(--fs-16); accent-color: var(--teal-700); }
.field input:hover, .field select:hover { border-color: #cfd9d6; }
.field input:focus, .field select:focus { border-color: var(--teal-700); outline: none; box-shadow: 0 0 0 3px var(--teal-50); }
.field input[aria-invalid="true"] { border-color: #b3213f; }
.field-guests { grid-column: 1 / -1; }
.btn-search { grid-column: 1 / -1; min-height: 54px; font-size: var(--fs-16); }
.field-error { color: #a01c38; font-size: var(--fs-14); font-weight: 500; padding-left: 2px; }

@media (min-width: 640px) {
  .seg span { gap: 8px; font-size: var(--fs-16); }
  .seg span .icon { font-size: 20px; }
  .search-fields { grid-template-columns: 1fr 1fr .8fr auto; align-items: end; }
  .field-guests, .btn-search { grid-column: auto; }
}

@media (min-width: 1024px) {
  .hero-media { height: calc(100% - 64px); min-height: 640px; }
  .hero-media::after { background: linear-gradient(90deg, rgb(0 0 0 / .5) 0%, rgb(0 0 0 / .22) 40%, rgb(0 0 0 / 0) 65%), linear-gradient(180deg, rgb(0 0 0 / .18) 0%, rgb(0 0 0 / 0) 28%); }
  .hero-inner { min-height: min(800px, calc(100dvh - var(--header-h) + 64px)); align-content: end; padding-top: 96px; padding-bottom: 0; }
  .hero-copy { gap: 18px; }
  .hero-caption { top: 24px; }
  .hero-caption span:not([hidden]) { display: block; font-size: var(--fs-12); font-weight: 500; color: #fff; background: rgb(19 32 42 / .78); padding: 4px 10px; border-radius: var(--r-pill); }
  .search { margin-top: 48px; row-gap: 16px; padding: 18px; }
  .seg span { padding: 0 14px; }
  .search .field-error { grid-column: 1 / -1; }
}

/* Homes */
.homes { padding-top: 64px; padding-bottom: 72px; }
.homes-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.homes h2 { font-size: var(--fs-32); }
.homes-meta { color: var(--ink-2); margin-top: 6px; }

/* The grid is legitimately uniform: every home is a peer the guest is comparing. */
.home-grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.home-card { position: relative; display: grid; gap: 12px; }
.home-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; background: var(--surface); }
.home-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.home-photo .no-photo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--teal-700); font-weight: 600; font-size: var(--fs-14); }
.home-photo .no-photo .icon { font-size: 32px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .home-card:hover .home-photo img { transform: scale(1.03); } }
.badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--ink); font-size: var(--fs-12); font-weight: 600; padding: 5px 10px; border-radius: var(--r-pill); box-shadow: 0 1px 4px rgb(24 34 41 / .16); }
.badge .icon { color: var(--teal-700); font-size: 14px; }
.home-body { display: grid; gap: 2px; }
.home-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-14); font-weight: 600; white-space: nowrap; }
.rating .icon { font-size: 13px; color: var(--teal-700); }
.rating span { color: var(--ink-3); font-weight: 500; }
.home-place, .home-facts { color: var(--ink-2); font-size: var(--fs-14); }
.home-open { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: var(--fs-14); font-weight: 600; color: var(--teal-800); background: var(--teal-50); padding: 6px 12px; border-radius: var(--r-pill); }
.home-open .icon { font-size: 16px; }
.home-open.is-match { background: var(--teal-700); color: #fff; }

.empty { grid-column: 1 / -1; padding: 40px 24px; background: var(--surface); border-radius: var(--r-card); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.empty h3, .empty p { flex-basis: 100%; }
.empty h3 { font-size: var(--fs-24); }
.empty p { color: var(--ink-2); max-width: 60ch; }

.ask-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.sync-note { margin-top: 36px; display: flex; gap: 8px; align-items: flex-start; color: var(--ink-3); font-size: var(--fs-14); }
.sync-note .icon { font-size: 18px; margin-top: 1px; }

/* Reviews: a bento of real Airbnb guest quotes. Teal score tile (claim, 4.9 with a star
   row, proof), one featured quote beside its home's photo, then three quote tiles.
   Tiles are a swipe row on phones. Keep quotes to about 4 lines in ACF. */
.reviews { background: var(--surface); color: var(--ink); padding-block: 64px; }
.reviews .rvb-title { margin: 0; font-size: var(--fs-32); font-weight: 600; max-width: 18ch; letter-spacing: -.02em; }
.rvb-bento { display: grid; gap: 16px; margin-top: 32px; }
.rvb-score { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-panel); background: var(--teal-700); color: #fff; }
.rvb-claim { margin: 0; font-family: var(--font-display); font-size: var(--fs-24); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
/* Rating reads like Airbnb and Google: the number, then a full row of stars with the count under it. */
.rvb-rating { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.rvb-num { margin: 0; font-family: var(--font-display); font-size: clamp(3.25rem, 2.5rem + 2vw, 4.25rem); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.rvb-stars-lg { display: flex; gap: 3px; margin: 0; color: #ffc94d; font-size: 22px; line-height: 1; }
.rvb-of { margin: 6px 0 0; font-size: var(--fs-14); font-weight: 500; color: rgb(255 255 255 / .85); }
.rvb-score ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-14); }
.rvb-score li { display: flex; gap: 8px; align-items: center; }
.rvb-score li .icon { font-size: 20px; color: var(--teal-300); }
.rvb-score a { margin-top: auto; padding-top: 8px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.rvb-feature { margin: 0; display: grid; background: var(--white); border-radius: var(--r-panel); overflow: hidden; }
.rvb-feature img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rvb-feature figcaption { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.rvb-stars { display: flex; gap: 2px; margin: 0; color: var(--teal-700); }
.rvb-feature blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.rvb-by { margin: 0; font-size: var(--fs-14); color: var(--ink-2); }
.rvb-by strong { color: var(--ink); }
.rvb-home { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; color: var(--teal-700); text-decoration: none; }
.rvb-home:hover { text-decoration: underline; text-underline-offset: 3px; }
.rvb-row { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.rvb-row::-webkit-scrollbar { display: none; }
.rvb-tile { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; background: var(--white); border-radius: var(--r-card); overflow: hidden; padding-bottom: 20px; }
.rvb-tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rvb-tile blockquote, .rvb-tile .rvb-by, .rvb-tile .rvb-home { margin-inline: 20px; }
.rvb-tile blockquote { margin-block: 6px 0; font-family: var(--font-display); font-size: var(--fs-18); font-weight: 500; line-height: 1.38; }
@media (min-width: 640px) { .rvb-row { grid-auto-columns: 48%; } }
@media (min-width: 1024px) {
  .reviews { padding-block: 104px; }
  .rvb-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
  .rvb-score { grid-column: span 4; padding: 36px; }
  .rvb-feature { grid-column: span 8; grid-template-columns: 1fr 1fr; }
  /* The photo fills the left half without setting the row height, so the quote decides it
     (an unloaded lazy image would otherwise size the row from WordPress's 3000x1500 placeholder). */
  .rvb-feature { position: relative; }
  .rvb-feature img { position: absolute; inset: 0 50% 0 0; width: 50%; height: 100%; aspect-ratio: auto; }
  .rvb-feature figcaption { grid-column: 2; }
  .rvb-feature figcaption { padding: 36px; }
  .rvb-row { grid-column: 1 / -1; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 20px; }
}

/* Markets */
.markets { display: grid; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 768px) { .markets { grid-template-columns: 1fr 1fr; } }
.market { display: grid; gap: 16px; text-decoration: none; }
.market-photo { display: block; aspect-ratio: 3 / 2; border-radius: var(--r-photo); overflow: hidden; background: var(--surface); }
.market-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .market:hover .market-photo img { transform: scale(1.03); } } /* same zoom as the home cards */
/* Section heading and intro: ACF fields in the theme */
.markets-head { grid-column: 1 / -1; max-width: 640px; margin-bottom: 8px; }
.markets-head h2 { font-size: var(--fs-32); }
.markets-head p { margin-top: 8px; color: var(--ink-2); }
.market h3 { font-size: 1.75rem; }
.market p { color: var(--ink-2); margin-top: 6px; max-width: 46ch; }
.market-link, .text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; color: var(--teal-700); text-decoration: none; }
/* Chevrons (inline SVG): links and scroller arrows */
.chev { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.text-link .chev, .market-link .chev, .rvb-home .chev { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease-out); }
.text-link:hover .chev, .market:hover .market-link .chev, .rvb-home:hover .chev { transform: translateX(3px); }
/* Short text links get a 44px-tall invisible tap area centred on the text; the look and spacing don't change. */
.text-link, .rvb-home, .rvb-score a { position: relative; }
.text-link::before, .rvb-home::before, .rvb-score a::before { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
/* Touch screens: stacked footer links and the legal row get 44px rows (slightly more space between them). */
@media (pointer: coarse) {
  .footer-cols a { padding-block: 11px; }
  .legal a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
}
.round-btn .chev { width: 20px; height: 20px; }

/* Favorites: real Airbnb listings in a scroll-snap carousel (a different layout family
   from the homes grid: these are outbound recommendations, not inventory). */
.favorites { padding-top: 72px; padding-bottom: 80px; background: var(--surface); overflow: hidden; }
.fav-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; }
.fav-head h2 { font-size: var(--fs-32); }
.fav-sub { color: var(--ink-2); margin-top: 8px; }
.fav-controls { display: flex; align-items: center; gap: 8px; }
.round-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; place-items: center; font-size: 18px; transition: box-shadow .2s; }
.round-btn:hover { box-shadow: inset 0 0 0 1.5px var(--teal-700); color: var(--teal-700); }
/* Scroller arrows (reviews below 1024px: under the row; favorites: in the heading row).
   Shown only while the row scrolls. Mouse users at any width, touch from 768px;
   touch phones swipe. Arrows disable at the ends. */
@media (pointer: fine), (min-width: 768px) { .is-overflowing .round-btn { display: grid; } }
.round-btn:disabled { opacity: .35; cursor: default; box-shadow: inset 0 0 0 1.5px var(--line); color: inherit; }
.round-btn:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 2px; }

/* Reviews: arrows right-aligned under the row, only while it scrolls. Favorites: link under the row. */
.scroll-ui { display: none; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; } /* reviews: 4px + the bento's 16px gap = 20px below the row */
.fav-foot { margin-top: 20px; } /* 20px below the row, same as the reviews arrows */
.fav-foot .text-link { margin-top: 0; }
.scroll-ui.is-overflowing { display: flex; }
.scroll-arrows { display: flex; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .scroll-ui { grid-column: 1 / -1; } }
.fav-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 28px var(--gutter) 8px; scrollbar-width: none;
  margin-left: max(0px, (100vw - 1360px) / 2); /* aligned with the page edge, bleeds off the right */
}
.fav-row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .fav-row { grid-auto-columns: calc((min(100vw, 1360px) - var(--gutter) * 2 - 32px) / 2.4); } }
@media (min-width: 1200px) { .fav-row { grid-auto-columns: calc((min(100vw, 1360px) - var(--gutter) * 2 - 48px) / 3.3); } }
.fav { scroll-snap-align: start; }
.fav a { display: grid; gap: 4px; text-decoration: none; }
.fav img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--r-card); margin-bottom: 10px; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .fav a:hover img { transform: scale(1.02); } }
.fav-place { font-family: var(--font-display); font-size: var(--fs-20); font-weight: 600; letter-spacing: -.01em; }
.fav-name { color: var(--ink-2); font-size: var(--fs-14); }
.fav-rating { display: flex; align-items: center; gap: 4px; font-size: var(--fs-14); font-weight: 600; margin-top: 2px; }
.fav-rating > .icon:first-child { color: var(--teal-700); font-size: 13px; }
.fav-rating span { color: var(--ink-3); font-weight: 500; }

/* Owners */
.owners { padding-top: 56px; padding-bottom: 64px; }
.owners-inner { display: grid; gap: 20px; justify-items: start; }
.owners h2 { font-size: var(--fs-24); }
.owners p { color: var(--ink-2); margin-top: 6px; max-width: 56ch; }
@media (min-width: 768px) { .owners-inner { grid-template-columns: 1fr auto; align-items: center; } }

/* Mobile date bar */
.date-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgb(19 32 42 / .25); transform: translateY(110%); transition: transform .3s var(--ease-out); }
.date-bar.is-visible { transform: none; }
.date-bar p { display: grid; line-height: 1.3; }
.date-bar strong { font-family: var(--font-display); font-weight: 600; }
.date-bar span { color: var(--ink-2); font-size: var(--fs-14); }
@media (min-width: 900px) { .date-bar { display: none; } }

/* Hero entrance: copy rises once on load. Reveals elsewhere: hide-state only exists
   when JS runs; a backstop in app.js shows everything after 2.5s. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise .8s var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .js .search { animation: rise .8s .18s var(--ease-out) both; }
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-img { transform: none; }
}
/* ---------- Date fields + range calendar ----------
   The whole field is a button that opens the calendar (no tiny native icon target).
   Day cells are circles: the one place a 50% radius means "a single day". The range
   between them is a soft teal band so check in, nights and check out read as one stay. */
.date-trigger {
  display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; min-height: 52px;
  padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-input);
  background: var(--white); font-size: var(--fs-16); text-align: left; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.date-trigger .icon { font-size: 20px; color: var(--teal-700); flex: none; }
.date-trigger:hover { border-color: #cfd9d6; }
.date-trigger.is-active, .date-trigger:focus-visible { border-color: var(--teal-700); outline: none; box-shadow: 0 0 0 3px var(--teal-50); }
.date-trigger[aria-invalid="true"] { border-color: #b3213f; }
/* Clear dates: an X inside a filled date field clears both dates and the results,
   without opening the calendar. Hidden until there is something to clear. */
.field:has(.date-trigger) { position: relative; }
.date-clear {
  position: absolute; right: 8px; bottom: 10px; display: none; place-items: center;
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface);
  color: var(--ink-2); font-size: 16px; cursor: pointer; transition: background-color .15s, color .15s;
}
.field:has(.date-value:not(.is-empty)) .date-clear { display: grid; }
.field:has(.date-value:not(.is-empty)) .date-trigger { padding-right: 44px; }
.date-clear:hover { background: var(--teal-50); color: var(--teal-800); }
.date-clear:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 2px; }
/* Guests: a trigger styled like the date fields opens a stepper panel. The hidden
   select keeps the value the search form reads. */
.field-guests { position: relative; }
.date-trigger .guest-caret { margin-left: auto; font-size: 16px; color: var(--ink-3); transition: transform .2s var(--ease-out); }
.guest-trigger[aria-expanded="true"] .guest-caret { transform: rotate(180deg); }
.guest-value { font-weight: 500; white-space: nowrap; }
.guest-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: max(100%, 300px);
  display: grid; gap: 16px; padding: 18px; background: var(--white);
  border-radius: var(--r-panel); box-shadow: var(--shadow-panel);
  animation: guest-in .2s cubic-bezier(.65, .05, .36, 1);
}
.guest-pop[hidden] { display: none; }
@keyframes guest-in { from { opacity: 0; translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .guest-pop { animation: none; } }
.guest-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guest-row p { display: grid; margin: 0; }
.guest-row strong { font-family: var(--font-display); font-size: var(--fs-18); font-weight: 600; }
.guest-row small { font-size: var(--fs-14); color: var(--ink-3); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--white); color: var(--ink); font-size: 18px; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s;
}
.stepper button:hover:not(:disabled) { border-color: var(--teal-700); color: var(--teal-700); background: var(--teal-50); }
.stepper button:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 2px; }
.stepper button:disabled { opacity: .35; cursor: default; }
.guest-count { min-width: 2ch; text-align: center; font-family: var(--font-display); font-size: var(--fs-24); font-weight: 600; font-variant-numeric: tabular-nums; }
.guest-done { justify-self: end; }
.date-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.date-value.is-empty { color: var(--ink-3); font-weight: 400; }

.cal {
  position: absolute; z-index: 70; width: 704px; max-width: calc(100vw - 32px);
  background: var(--white); border-radius: var(--r-panel); box-shadow: var(--shadow-panel);
  border: 1px solid var(--line); padding: 20px 24px 16px;
}
.cal[hidden] { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.cal-title { font-family: var(--font-display); font-size: var(--fs-18); font-weight: 600; letter-spacing: -.01em; }
.cal-nav { display: flex; gap: 6px; }
.cal-arrow { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); display: grid; place-items: center; cursor: pointer; font-size: 18px; transition: background-color .15s; }
.cal-arrow:hover:not(:disabled) { background: var(--teal-50); color: var(--teal-800); }
.cal-arrow:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; gap: 32px; margin-top: 12px; }
@media (min-width: 768px) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month h3 { font-family: var(--font-body); font-size: var(--fs-16); font-weight: 600; letter-spacing: 0; text-align: center; margin-bottom: 8px; }
.cal table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font-size: var(--fs-12); font-weight: 600; color: var(--ink-3); padding: 6px 0; }
.cal td { padding: 2px 0; text-align: center; }
.cal td.has-range { background: var(--teal-50); }
.cal td.is-start { background: linear-gradient(90deg, transparent 50%, var(--teal-50) 50%); }
.cal td.is-end { background: linear-gradient(90deg, var(--teal-50) 50%, transparent 50%); }
.cal td.is-start.is-end, .cal tr td.is-start:last-child, .cal tr td.is-end:first-child { background: none; }
.cal tr td.in-range:first-child { border-radius: 22px 0 0 22px; }
.cal tr td.in-range:last-child { border-radius: 0 22px 22px 0; }
.cal-day {
  position: relative; width: 44px; height: 44px; margin: 0 auto; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; font-size: var(--fs-14); font-weight: 500;
  cursor: pointer; transition: background-color .12s, color .12s;
}
.cal-day:hover:not(:disabled) { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cal-day:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 1px; border-radius: 50%; }
.cal-day:disabled { color: #c3ccd2; cursor: default; text-decoration: line-through; text-decoration-color: rgb(195 204 210 / .7); }
.cal .is-today .cal-day { font-weight: 700; }
.cal .is-today .cal-day::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--teal-700); }
.cal .is-start .cal-day, .cal .is-end:not(.is-preview) .cal-day { background: var(--teal-700); color: #fff; font-weight: 600; box-shadow: none; }
.cal .is-start .cal-day::after, .cal .is-end:not(.is-preview) .cal-day::after { background: #fff; }
.cal .is-preview .cal-day { background: var(--white); color: var(--teal-800); box-shadow: inset 0 0 0 2px var(--teal-700); }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal-clear { border: 0; background: none; padding: 8px 2px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.cal-clear:hover { color: var(--teal-700); }

.cal-backdrop { position: fixed; inset: 0; z-index: 79; background: rgb(19 32 42 / .45); }
.cal-backdrop[hidden] { display: none; }
html.cal-lock, html.cal-lock body { overflow: hidden; }

/* Phones: a bottom sheet with one month, thumbs-reach controls */
@media (max-width: 767px) {
  .cal {
    position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none;
    border-radius: var(--r-panel) var(--r-panel) 0 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    max-height: 88dvh; overflow-y: auto;
  }
  .cal::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 12px; }
  .cal-day { width: 100%; max-width: 46px; height: 46px; }
  .cal-foot .btn { min-height: 48px; padding: 0 28px; }
  @media (prefers-reduced-motion: no-preference) { .cal:not([hidden]) { animation: sheet .32s var(--ease-out); } }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) { .cal:not([hidden]) { animation: pop .2s var(--ease-out); } }
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Homes grouped by market ----------
   Both markets are listed at once under their own headings, like a search results page. */
.market-group + .market-group { margin-top: 64px; }
.group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-head h3 { font-size: var(--fs-24); }
.group-count { font-family: var(--font-body); font-size: var(--fs-16); font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 8px; }
.group-head .text-link { margin-top: 0; font-size: var(--fs-14); }
.home-name { margin: 0; font-family: var(--font-display); font-size: var(--fs-20); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.home-name a { text-decoration: none; }
.home-name a::after { content: ""; position: absolute; inset: 0; }
.ask { margin-top: 32px; }
.ask > p { color: var(--ink-2); }
.ask > p strong { color: var(--ink); }
.home-card[hidden], .market-group[hidden] { display: none; }

/* Three "Where" choices: drop icons and counts on narrow phones so they fit */
@media (max-width: 479px) { .seg span .icon { display: none; } }
@media (min-width: 1024px) { .seg span { min-height: 40px; } }
/* Full region names in the "Where" control: labels may wrap to two lines on phones */
.search-market { grid-template-columns: .8fr repeat(var(--markets, 2), 1fr); }
.seg span { text-align: center; line-height: 1.15; padding-block: 6px; }
@media (max-width: 479px) { .seg span { font-size: .8125rem; padding-inline: 6px; } }
/* Reviews: quotes sit on solid slate panels with white text, never on or against a photo,
   so they read the same over any picture (Barrett: hard to read on mobile). */
.rvb-feature, .rvb-tile { background: var(--slate-900); color: #fff; }
.rvb-feature blockquote, .rvb-tile blockquote { color: #fff; }
.rvb-feature .rvb-by, .rvb-tile .rvb-by { color: #b8c4cc; }
.rvb-feature .rvb-by strong, .rvb-tile .rvb-by strong { color: #fff; }
.rvb-feature .rvb-stars { color: #ffc94d; }
.rvb-feature .rvb-home, .rvb-tile .rvb-home { color: var(--teal-300); }
.rvb-tile { padding-bottom: 24px; }
.rvb-tile blockquote { margin-top: 10px; }

/* Coming soon: homes under construction, not links (nothing to book yet) */
.soon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; }
.soon .icon { color: var(--teal-700); font-size: 18px; }
.soon small { font-size: var(--fs-14); font-weight: 500; color: var(--ink-3); }
/* Brighter beach hero photo: a slightly deeper wash behind the subtext on phones */
@media (max-width: 1023px) { .hero-media::after { background: linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / .3) 45%, rgb(0 0 0 / .55) 100%); } }

/* The phone date bar covers the bottom of the footer; leave room for it. */
@media (max-width: 899px) { .has-date-bar .footer-base { padding-bottom: calc(24px + 80px + env(safe-area-inset-bottom)); } }

/* ---------- 404: dusk where the mountains meet the water ---------- */
.nf { display: flex; align-items: center; padding-block: 40px 64px; }
.nf-inner { display: grid; gap: 40px; align-items: center; }
.nf-copy { display: grid; gap: 16px; justify-items: start; max-width: 560px; }
.nf h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.nf-text { font-size: var(--fs-18); color: var(--ink-2); max-width: 44ch; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nf-links { width: 100%; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.nf-list { display: flex; flex-wrap: wrap; gap: 10px; }
.nf-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-size: var(--fs-14); font-weight: 600; transition: box-shadow .2s, color .2s; }
.nf-list a .icon { font-size: 18px; color: var(--teal-700); }
.nf-list a:hover { box-shadow: inset 0 0 0 1.5px var(--teal-700); color: var(--teal-700); }

.nf-scene { border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 4 / 3; background: var(--slate-900); box-shadow: var(--shadow-panel); }
.nf-scene svg { display: block; width: 100%; height: 100%; }
.nf-404 { font-family: var(--font-display); font-size: 150px; font-weight: 700; letter-spacing: -.04em; fill: #fff; fill-opacity: .14; }
@media (min-width: 640px) { .nf-scene { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) {
  .nf { padding-block: 64px 96px; }
  .nf-inner { grid-template-columns: 5fr 7fr; gap: 64px; }
  .nf-scene { aspect-ratio: 5 / 4; }
}

@media (prefers-reduced-motion: no-preference) {
  .nf-wave { animation: nf-drift 9s linear infinite; }
  .nf-wave-1 { --nf-p: -200px; animation-duration: 14s; }
  .nf-wave-2 { --nf-p: -240px; animation-duration: 10s; }
  .nf-wave-3 { --nf-p: -300px; animation-duration: 7s; }
  .nf-sun { animation: nf-glow 6s ease-in-out infinite alternate; transform-origin: 730px 262px; }
  .nf-stars circle { animation: nf-twinkle 3s ease-in-out infinite alternate; }
  .nf-stars circle:nth-child(3n) { animation-delay: -1s; }
  .nf-stars circle:nth-child(3n+1) { animation-delay: -2s; }
  .nf-glint { animation: nf-twinkle 2.4s ease-in-out infinite alternate; }
  .nf-birds { animation: nf-fly 18s ease-in-out infinite alternate; }
  .js .nf-copy > * { animation: rise .8s var(--ease-out) both; }
  .js .nf-copy > :nth-child(2) { animation-delay: .06s; }
  .js .nf-copy > :nth-child(3) { animation-delay: .12s; }
  .js .nf-copy > :nth-child(n+4) { animation-delay: .18s; }
}
@keyframes nf-drift { to { transform: translateX(var(--nf-p)); } }
@keyframes nf-glow { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes nf-twinkle { from { opacity: 1; } to { opacity: .3; } }
@keyframes nf-fly { from { transform: translate(0, 0); } to { transform: translate(60px, -14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Market pages: intro, homes with filters, area guide ----------
   Walkthrough order: a short intro, the homes, then the area guide for Google. */
.page-intro { padding-top: 40px; display: grid; gap: 12px; }
.page-intro h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.page-intro p { font-size: var(--fs-18); color: var(--ink-2); max-width: 60ch; }
@media (min-width: 1024px) { .page-intro { padding-top: 64px; } }

.mh { padding-top: 32px; padding-bottom: 72px; }
.mh-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.mh-head h2 { font-size: var(--fs-24); }
.mh-count { color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Filters: two selects and two toggles in one row of pills; a 2 x 2 grid on phones.
   Pills match the hero's segmented control: full radius, teal when on. */
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters[hidden] { display: none; }
.filter-select, .filter-toggle {
  position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 48px; padding: 0 16px;
  border: 0; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: var(--fs-14); font-weight: 600; color: var(--ink); cursor: pointer; transition: box-shadow .15s, background-color .15s, color .15s;
}
.filter-select:hover, .filter-toggle:hover { box-shadow: inset 0 0 0 1.5px var(--teal-700); }
.filter-select > .icon:not(.filter-caret), .filter-toggle > .icon { font-size: 18px; color: var(--teal-700); }
.filter-label { white-space: nowrap; }
/* The native select fills the pill (its own picker on phones); its value sits after the label. */
.filter-select select { appearance: none; flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0 22px 0 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--ink-2); text-align: right; cursor: pointer; }
.filter-select select:focus { outline: none; }
.filter-select:has(select:focus-visible) { outline: 3px solid var(--teal-700); outline-offset: 2px; }
.filter-select.is-on { background: var(--teal-50); box-shadow: inset 0 0 0 1.5px var(--teal-700); }
.filter-select.is-on select { color: var(--teal-800); font-weight: 600; }
.filter-caret { position: absolute; right: 14px; font-size: 14px; color: var(--ink-3); pointer-events: none; }
.filter-toggle[aria-pressed="true"] { background: var(--teal-700); color: #fff; box-shadow: none; }
.filter-toggle[aria-pressed="true"] > .icon { color: #fff; }
.filter-clear { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: 0 2px; border: 0; background: none; font-size: var(--fs-14); font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.filter-clear:hover { color: var(--teal-700); }
.filter-clear[hidden] { display: none; }
/* Phones, odd number of filters: the last one takes the full row (Clear filters is always the last child) */
@media (max-width: 767px) { .filters > :nth-child(odd):nth-last-child(2) { grid-column: 1 / -1; } }
/* Narrow phones: drop the pill icons so "Bedrooms" and its value fit in half the width */
@media (max-width: 479px) { .filter-select > .icon:not(.filter-caret), .filter-toggle > .icon { display: none; } }
@media (max-width: 359px) { .filter-select, .filter-toggle { padding: 0 12px; gap: 6px; } .filter-caret { right: 10px; } }
@media (min-width: 768px) {
  .filters { display: flex; flex-wrap: wrap; align-items: center; }
  .filter-select { min-width: 176px; }
  .filter-clear { grid-column: auto; margin-left: 8px; }
}
.mh .home-grid .empty[hidden] { display: none; }.mh .ask { margin-top: 40px; }

/* Area guide: heading beside the topics on wide screens; each topic opens in place.
   Closed topics keep their text in the page for search engines. */
.guide { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 80px; }
.guide-head h2 { font-size: var(--fs-32); }
.guide-head p { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }
.guide-item { interpolate-size: allow-keywords; border-bottom: 1px solid var(--line); }
.guide-item:first-child { border-top: 1px solid var(--line); }
.guide-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; }
.guide-item summary::-webkit-details-marker { display: none; }
.guide-item summary h3 { font-size: var(--fs-20); letter-spacing: -.01em; transition: color .15s; }
.guide-item summary:hover h3 { color: var(--teal-700); }
.guide-caret { font-size: 20px; color: var(--ink-2); transition: transform .2s cubic-bezier(.65, .05, .36, 1); }
.guide-item[open] .guide-caret { transform: rotate(180deg); }
.guide-item::details-content { block-size: 0; overflow: clip; transition: block-size .2s cubic-bezier(.65, .05, .36, 1), content-visibility .2s allow-discrete; }
.guide-item[open]::details-content { block-size: auto; }
.guide-body { padding-bottom: 24px; max-width: 68ch; color: var(--ink-2); }
.guide-body > * + * { margin-top: 1em; }
.guide-body h3, .guide-body h4 { font-size: var(--fs-18); color: var(--ink); margin-top: 1.6em; }
.guide-body h3 + *, .guide-body h4 + * { margin-top: .5em; }
.guide-body ul { list-style: disc; padding-left: 1.25em; }
.guide-body li + li { margin-top: .4em; }
.guide-body a { color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .guide { grid-template-columns: 4fr 8fr; gap: 64px; padding-top: 64px; padding-bottom: 104px; }
  .guide-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* ---------- Basic page (until each page gets its own layout) ---------- */
.page-main { padding-top: 48px; padding-bottom: 72px; }
.page-title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-content { margin-top: 24px; max-width: 72ch; color: var(--ink-2); }
.page-content > * + * { margin-top: 1em; }

/* ---------- Interior pages: Our Favorites, About, Team, Contact ----------
   Built from the same sections: Text, Text and photo, Points, Contact, Favorites list. */

/* Our Favorites: two columns of stays from 768px; each story clamps to four lines
   (only when JS runs, so the full text always reaches no-JS readers and Google). */
.favs { padding-top: 32px; padding-bottom: 72px; }
.favs-list { display: grid; gap: 48px 32px; }
.favs-item article { display: grid; gap: 20px; }
.favs-photo { display: block; overflow: hidden; border-radius: var(--r-photo); }
.favs-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease-out); }
.favs-photo:hover img { transform: scale(1.03); }
.favs-body { display: grid; gap: 10px; justify-items: start; }
.favs-place { font-size: var(--fs-24); }
.favs-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--fs-14); font-weight: 500; color: var(--ink-2); }
.favs-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }
.favs-rating > .icon:first-child { color: var(--teal-700); font-size: 13px; }
.favs-rating span { color: var(--ink-3); font-weight: 500; }
.favs-story { color: var(--ink-2); max-width: 62ch; }
.favs-story > * + * { margin-top: .8em; }
.favs-story strong { color: var(--ink); font-weight: 600; }
.js .favs-story:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.favs-more { margin-top: 0; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
.favs-more[hidden] { display: none; }
.favs-more .icon { font-size: 18px; transition: transform .2s cubic-bezier(.65, .05, .36, 1); }
.favs-more[aria-expanded="true"] .icon { transform: rotate(180deg); }
html:not(.js) .favs-more { display: none; }
.favs-link { margin-top: 8px; }
@media (min-width: 768px) { .favs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .favs { padding-bottom: 96px; } .favs-list { gap: 64px 48px; } }

/* Text: one block of copy at reading width */
.txt { padding-top: 48px; padding-bottom: 64px; }
.txt-inner { max-width: 68ch; }
.txt-inner h2, .tp-copy h2 { font-size: var(--fs-32); }
.txt-inner h2 + .txt-body, .tp-copy h2 + .txt-body { margin-top: 16px; }
.txt-body { color: var(--ink-2); }
.txt-body > * + * { margin-top: 1em; }
.txt-body h3 { font-size: var(--fs-20); color: var(--ink); margin-top: 1.6em; }
.txt-body h3 + * { margin-top: .5em; }
.txt-body ul { list-style: disc; padding-left: 1.25em; }
.txt-body li + li { margin-top: .4em; }
.txt-body a { color: var(--teal-700); font-weight: 600; text-underline-offset: 3px; }
.txt-body strong { color: var(--ink); font-weight: 600; }

/* Text and photo: photo above the copy on phones, beside it from 900px */
.tp { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 56px; }
.tp-media { overflow: hidden; border-radius: var(--r-photo); }
.tp-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 600px) and (max-width: 899px) { .tp-media img { aspect-ratio: 16 / 9; } } /* stacked on tablets: keep the photo from filling the screen */
.tp-copy { max-width: 60ch; }
.tp-copy .text-link { margin-top: 20px; }
@media (min-width: 900px) {
  .tp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
  .tp-photo-right .tp-media { order: 2; }
}

/* Points: heading beside a list of titled paragraphs, rules between (no cards, no numbers) */
.points { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 72px; }
.points-head h2 { font-size: var(--fs-32); }
.points-head p { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }
.points-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.points-list li:first-child { border-top: 1px solid var(--line); }
.points-list h3 { font-size: var(--fs-20); letter-spacing: -.01em; }
.points-list p { margin-top: 6px; color: var(--ink-2); max-width: 64ch; }
@media (min-width: 1024px) {
  .points { grid-template-columns: 4fr 8fr; gap: 64px; padding-top: 64px; padding-bottom: 72px; }
  .points-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* Contact: reasons to write on the left, the form on a tinted panel on the right */
.contact { display: grid; gap: 40px; padding-top: 32px; padding-bottom: 80px; }
.contact-copy { display: grid; gap: 32px; align-content: start; }
.contact-block h2 { font-size: var(--fs-24); }
.contact-block .txt-body { margin-top: 10px; max-width: 56ch; }
.contact-panel { order: -1; background: var(--surface); border-radius: var(--r-panel); padding: 24px 20px 28px; } /* stacked: form first */
.contact-panel > h2 { font-size: var(--fs-24); }
.contact-note { margin-top: 6px; color: var(--ink-2); }
.contact-panel .gform_wrapper { margin-top: 24px; }
@media (min-width: 768px) { .contact-panel { padding: 40px; } }
@media (min-width: 1024px) {
  .contact { grid-template-columns: 5fr 6fr; gap: 64px; padding-top: 48px; padding-bottom: 104px; }
  .contact-panel { order: 0; }
  .contact-copy { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Document: a form or rules guests open or print; the preview is never cropped */
.doc { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 56px; }
.doc + .doc { background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; } /* rule inside the gutters */
.doc-copy h2 { font-size: var(--fs-32); }
.doc-copy h2 + .txt-body { margin-top: 12px; }
.doc-copy .txt-body { max-width: 56ch; }
.doc-btn { margin-top: 24px; }
.doc-btn .icon { font-size: 20px; }
.doc-preview { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 1px 2px rgb(19 32 42 / .06), 0 12px 32px -12px rgb(19 32 42 / .18); transition: box-shadow .2s var(--ease-out); }
.doc-preview:hover { box-shadow: 0 1px 2px rgb(19 32 42 / .08), 0 18px 40px -12px rgb(19 32 42 / .28); }
.doc-preview img { width: 100%; height: auto; }
@media (min-width: 900px) {
  /* The preview is the point of the section: it takes two thirds, the copy stays in view beside it */
  .doc { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; padding-top: 64px; padding-bottom: 72px; }
  .doc-copy { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (min-width: 1200px) {
  .doc { grid-template-columns: 4fr 8fr; gap: 64px; }
}

/* ---------- Gravity Forms: the plugin's own CSS is off (inc/pages.php); these match the theme's fields ---------- */
.gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px 16px; }
.gform_wrapper .gfield { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
@media (min-width: 640px) { .gform_wrapper .gfield--width-half { grid-column: span 6; } }
.gform_wrapper .gfield_label { display: block; margin-bottom: 6px; padding: 0 0 0 2px; font-size: var(--fs-14); font-weight: 600; color: var(--ink); }
/* Every field is required except the ones labelled "(optional)", so the plugin's "(Required)" marks are hidden;
   fields still carry aria-required. */
.gform_wrapper .gfield_required, .gform_wrapper .gform_required_legend { display: none; }
.gform_wrapper .gfield_description { margin-top: 6px; font-size: var(--fs-14); color: var(--ink-3); }
.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="hidden"]),
.gform_wrapper select, .gform_wrapper textarea {
  display: block; width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-input);
  background: var(--white); font-size: var(--fs-16); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.gform_wrapper textarea { min-height: 160px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.gform_wrapper input:hover, .gform_wrapper textarea:hover, .gform_wrapper select:hover { border-color: #c7d1d8; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus, .gform_wrapper select:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px var(--teal-50); }
.gform_wrapper .gfield_radio, .gform_wrapper .gfield_checkbox { display: grid; gap: 10px; }
.gform_wrapper .gchoice { display: flex; align-items: center; gap: 10px; }
.gform_wrapper .gchoice input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal-700); flex: none; }
.gform_wrapper .gchoice label { font-size: var(--fs-16); color: var(--ink); cursor: pointer; }
.gform_wrapper .gform_footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 0; }
.gform_wrapper .gform_button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--r-pill);
  background: var(--teal-700); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background-color .2s var(--ease-out), transform .12s var(--ease-out);
}
.gform_wrapper .gform_button:hover { background: var(--teal-800); }
.gform_wrapper .gform_button:active { transform: scale(.98); }
.gform_wrapper .gform_ajax_spinner { width: 20px; height: 20px; }
.gform_wrapper .gform_validation_errors { margin-bottom: 20px; padding: 12px 16px; border: 1.5px solid #b3213f; border-radius: var(--r-input); background: #fdf2f4; }
.gform_wrapper .gform_validation_errors h2 { font-family: var(--font-body); font-size: var(--fs-16); font-weight: 600; letter-spacing: 0; color: #a01c38; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea, .gform_wrapper .gfield_error select { border-color: #b3213f; }
.gform_wrapper .validation_message { margin-top: 6px; padding-left: 2px; font-size: var(--fs-14); font-weight: 500; color: #a01c38; }
.gform_wrapper .gform_validation_container, .gform_wrapper .gform_hidden, .gform_wrapper .gfield--type-honeypot,
.gform_wrapper .hidden_label > .gfield_label, .gform_wrapper .gfield_visibility_hidden { display: none !important; }
.gform_confirmation_message { font-size: var(--fs-18); color: var(--ink); }
