/* ============================================================
   Design tokens: Happy Days Vacations
   Warm neutrals (stone/paper/ink) with two destination accents:
   terracotta (brand/Hawaiian Princess), ocean (Hawaiian Home).
   ============================================================ */

:root {
  /* Base neutrals */
  --hdv-ink: #1c1a17;
  --hdv-paper: #f7f4ec;
  --hdv-stone-100: #f1ede4;
  --hdv-stone-300: #ddd6c7;
  --hdv-stone-500: #9c9284;

  /* Destination accent colors (dark variants for text-on-tint) */
  --hdv-terracotta-dark: #7a3f1f;
  --hdv-forest-dark: #2f4a34;
  --hdv-ocean: #2c5f68;

  /* Accents */
  --accent-primary: #c1683b;
  --accent-primary-hover: #a8552d;
  --accent-secondary: #4a7856;
  --accent-tertiary: #3b7f8c;

  /* Text */
  --text-primary: var(--hdv-ink);
  --text-secondary: #55504a;
  --text-muted: #8a8377;
  --text-inverse: var(--hdv-paper);
  --text-inverse-muted: rgba(247, 244, 236, 0.66);

  /* Surfaces */
  --surface-page: #ffffff;
  --surface-page-alt: var(--hdv-stone-100);
  --surface-card: #ffffff;

  /* Borders / focus */
  --border-strong: #d8d2c4;
  --border-subtle: #e7e2d6;
  --focus-ring: var(--accent-primary);

  /* Shadows */
  --shadow-soft: 0 2px 10px rgba(28, 26, 23, 0.06);
  --shadow-card: 0 12px 32px rgba(28, 26, 23, 0.14);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Motion */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-cursive: 'Kaushan Script', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-normal: 1.6;
  --tracking-wide: 0.12em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--surface-page); color: var(--text-primary); overflow-x: hidden; }

[id] { scroll-margin-top: 100px; }

a { color: var(--accent-primary); }
a:hover { color: var(--accent-primary-hover); }

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);
}
.btn:active { opacity: 0.92; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-md { padding: 12px 26px; font-size: 14px; }
.btn-lg { padding: 16px 34px; font-size: 15px; }

.btn-primary { background: var(--accent-primary); color: #fff; }
.btn-primary:hover { background: var(--accent-primary-hover); color: #fff; }

.btn-dark { background: var(--hdv-ink); color: var(--hdv-paper); }
.btn-dark:hover { background: #000; color: var(--hdv-paper); }

.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--hdv-stone-100); }

.btn-light { background: #fff; color: var(--hdv-ink); }
.btn-light:hover { background: var(--hdv-stone-100); }

/* ---------- NavBar ---------- */
.navbar {
  position: fixed;
  top: 16px;
  left: 20px;
  right: 20px;
  max-width: 1160px;
  margin: 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 8px 30px rgba(28, 26, 23, 0.08);
  transition: background var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 36px rgba(28, 26, 23, 0.14);
}
/* width:auto + object-fit keep the mark from being squashed by the global
   img max-width:100% when the nav pill tightens up. Same guard as the footer. */
.navbar-logo img { height: 50px; width: auto; object-fit: contain; }
.navbar-links { display: flex; gap: 32px; align-items: center; }
.navbar-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--hdv-ink);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}
.navbar-links a:not(.navbar-cta):hover { color: var(--accent-primary); }
.navbar-cta {
  background: #fff;
  color: var(--hdv-ink);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(28, 26, 23, 0.12);
}
.navbar-cta:hover { color: var(--hdv-ink); background: var(--hdv-stone-100); }

/* ---------- Mobile nav toggle ---------- */
.navbar-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 0;
  flex-shrink: 0;
}
.navbar-toggle span {
  display: block; width: 20px; height: 2px; background: var(--hdv-ink); border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);
}
.navbar-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 82px; left: 12px; right: 12px; z-index: 19;
  background: var(--hdv-stone-100);
  border-radius: 24px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 20px 50px rgba(28, 26, 23, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard), visibility var(--duration-base);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu-link {
  display: block; background: #fff; border-radius: 16px; padding: 16px 20px;
  font-size: 15px; font-weight: 600; color: var(--hdv-ink); text-decoration: none;
  font-family: var(--font-body);
}
.mobile-menu-cta { margin-top: 4px; align-self: center; }

@media (max-width: 900px) {
  /* 6 nav items no longer fit a pill navbar past tablet width — hand off
     to the hamburger earlier than the other 640px component breakpoints. */
  .navbar-links { display: none; }
  .navbar-toggle { display: flex; }
}

@media (max-width: 640px) {
  .navbar { left: 12px; right: 12px; padding: 8px 8px 8px 16px; }
  .navbar-logo img { height: 32px; }
}

/* ---------- Hero ---------- */
.hero-wrap { padding: 20px; background: var(--surface-page); }
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .hero-wrap { padding: 12px; }
  .hero { border-radius: 20px; }
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(28,26,23,0.35) 0%, rgba(28,26,23,0.15) 40%, rgba(28,26,23,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 40px;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: rgba(255,255,255,0.85); margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-cursive);
  font-weight: 400;
  font-size: clamp(32px, 6.4vw, 92px);
  line-height: 0;
  color: #fff;
  white-space: nowrap;
}
.hero h1 i { font-style: normal; }

@media (max-width: 900px) {
  .hero h1 { white-space: normal; line-height: 1.15; }
}
/* Phones: size the headline off the viewport rather than a fixed floor, so the
   line breaks after "Waianae's" at every phone width instead of only some. */
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(34px, 9.5vw, 60px); }
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.9);
  margin-top: 28px; max-width: 480px; line-height: var(--lh-normal);
}
.hero .btn { margin-top: 28px; }

.hero-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.avatar-stack { display: flex; }
.avatar-placeholder {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #fff; margin-left: -12px;
  background: var(--accent-primary); color: #fff;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.avatar-placeholder:first-child { margin-left: 0; }
.avatar-photo { background-size: cover; background-position: center; }
.hero-trust-text { font-size: 13px; color: rgba(255,255,255,0.9); }

@media (max-width: 480px) {
  .avatar-placeholder { width: 28px; height: 28px; }
  .hero-trust-text { font-size: 12px; }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 112px 40px; background: var(--surface-page); }
.section-alt { background: var(--surface-page-alt); }
#properties { padding-top: 190px; }

@media (max-width: 640px) {
  #properties { padding-top: 140px; }
}
.section-inner { max-width: 1160px; margin: 0 auto; }
.eyebrow {
  font-size: 11px; letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--accent-primary);
}
.section-title {
  font-family: var(--font-cursive);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;
  margin: 14px 0 20px;
  color: var(--text-primary);
}
.section-lede { font-size: 17px; color: var(--text-secondary); line-height: var(--lh-normal); max-width: 480px; }
.section-header-center { text-align: center; }

@media (max-width: 900px) {
  .section-header-center { text-align: left; }
}

/* ---------- About ---------- */
.about-section {
  background-color: var(--surface-page);
  background-image: linear-gradient(rgba(255,255,255,0.86), rgba(255,255,255,0.86)), url('../assets/images/topographic.jpg');
  background-size: cover;
  background-position: center;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-images { max-width: 300px; margin: 0 auto; }
.about-images img, .about-images .image-fallback { display: block; width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; }
.about-photo { box-shadow: 0 24px 48px rgba(28, 26, 23, 0.22), 0 8px 16px rgba(28, 26, 23, 0.1); }

.image-fallback {
  background: linear-gradient(135deg, var(--hdv-stone-100), var(--hdv-stone-300));
  display: flex; align-items: center; justify-content: center;
  color: var(--hdv-stone-500); font-size: 12px; text-align: center; padding: 12px;
}

/* ---------- Host badge ---------- */
.host-badge { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.host-badge-avatar { width: 46px; height: 46px; font-size: 15px; margin-left: 0; flex-shrink: 0; }
.host-badge-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.host-badge-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Property grid / cards ---------- */
.property-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 840px; margin-left: auto; margin-right: auto; }
.property-card {
  text-decoration: none; color: inherit; display: block;
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--duration-base) var(--ease-standard);
}
.property-card:hover { box-shadow: var(--shadow-card); }
.property-card-media { aspect-ratio: 4/3; position: relative; background: linear-gradient(135deg, var(--hdv-stone-100), var(--hdv-stone-300)); }
.property-card-media img { width: 100%; height: 100%; object-fit: cover; }
.property-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(28,26,23,0.72); color: #fff;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.property-card-body { padding: 20px 22px 24px; }
.property-card-name { font-family: var(--font-display); font-size: 24px; color: var(--text-primary); }
.property-card-loc { font-size: 13px; color: var(--text-muted); margin-top: 6px; letter-spacing: 0.02em; }

.guide-teaser {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 840px; margin: 28px auto 0;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding: 24px 30px;
}
.guide-teaser-cover {
  flex-shrink: 0; height: 120px; width: auto; display: block;
  border-radius: 5px; box-shadow: var(--shadow-soft);
}
.guide-teaser-text { flex: 1; text-align: left; }
.guide-teaser-eyebrow { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-primary); font-weight: 600; }
.guide-teaser-title { font-family: var(--font-display); font-size: 20px; color: var(--text-primary); margin: 4px 0 6px; }
.guide-teaser-desc { font-size: 13px; color: var(--text-muted); line-height: var(--lh-normal); }
.guide-teaser .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .guide-teaser { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
  .guide-teaser-text { text-align: center; }
}

@media (max-width: 900px) {
  .property-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Stats ---------- */
.stats-section { padding: 72px 40px; background: #fefaf2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.stat-card { display: flex; flex-direction: column; align-items: center; }
.stat-number {
  font-family: var(--font-cursive); font-weight: 400;
  font-size: clamp(53px, 6.6vw, 85px); line-height: 1;
  color: #9c3b2e;
}
.stat-number-row { display: flex; align-items: baseline; }
.stat-suffix {
  font-family: var(--font-cursive); font-weight: 400;
  font-size: clamp(38px, 4.6vw, 58px); line-height: 1;
  color: #9c3b2e; margin-left: 2px;
}
.stat-label { margin-top: 14px; font-size: 14px; color: var(--hdv-ink); letter-spacing: 0.02em; }

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--surface-card); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-soft);
}
.review-header { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; font-size: 13px; margin-left: 0; flex-shrink: 0; }
.review-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.review-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.review-stars { color: #e8a838; font-size: 13px; letter-spacing: 2px; margin-top: 14px; }
.review-date { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.review-text {
  font-size: 14px; color: var(--text-secondary); line-height: var(--lh-normal); margin-top: 12px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card.is-expanded .review-text { -webkit-line-clamp: unset; overflow: visible; }
.review-more {
  margin-top: 10px; background: none; border: none; padding: 0;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: var(--accent-primary); cursor: pointer;
}
.review-more:hover { color: var(--accent-primary-hover); }

.review-toggle-row { display: none; text-align: center; margin-top: 24px; }

@media (max-width: 1000px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .review-extra { display: none; }
  .testimonials-grid.is-expanded .review-extra { display: block; }
  .review-toggle-row { display: block; }
}

/* ---------- Contact / Input ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info { font-size: 14px; color: var(--text-secondary); line-height: 2.4; }
.contact-info strong { color: var(--text-primary); }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field-label {
  display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.field-input, .field-textarea {
  width: 100%; padding: 13px 16px; font-family: var(--font-body); font-size: 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  outline: none; background: var(--surface-card); color: var(--text-primary);
  transition: border-color var(--duration-fast) var(--ease-standard);
  box-sizing: border-box;
}
.field-input:focus, .field-textarea:focus { border-color: var(--accent-primary); }
.field-textarea { min-height: 100px; resize: vertical; }

@media (max-width: 800px) {
  .contact-grid, .form-row-2 { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--surface-page);
  padding: 96px 20px 64px;
  font-family: var(--font-body);
}
.footer-card {
  background: var(--accent-primary);
  border-radius: 32px;
  padding: 64px 48px 32px;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-brand { max-width: 380px; }
/* width:auto + object-fit guard the aspect ratio: the global img max-width:100%
   would otherwise clamp the width against this fixed height and squash the mark
   whenever the flex column gets narrower than the logo's natural width. */
.footer-brand img { height: 138px; width: auto; object-fit: contain; filter: invert(1); margin-bottom: 16px; margin-left: -8px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.78); line-height: var(--lh-normal); }
.footer-col-title { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-bottom: 14px; }
.footer-col { font-size: 14px; line-height: 2.2; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { color: var(--hdv-ink); }
.footer-bottom {
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.7);
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.25);
}
.footer-legal { margin-top: 10px; }
.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: underline; margin: 0 8px; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 640px) {
  .footer { padding: 64px 12px 40px; }
  .footer-card { padding: 40px 24px 24px; border-radius: 24px; }
  .footer-brand img { height: 90px; }
}

/* ---------- Property detail hero ---------- */
.detail-hero-wrap { padding: 108px 20px 0; background: var(--surface-page); }
.detail-hero {
  position: relative; min-height: 62vh; display: flex;
  background-size: cover; background-position: center;
  max-width: 1320px; margin: 0 auto;
  border-radius: 32px; overflow: hidden;
}
.detail-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,26,23,0.1) 0%, rgba(28,26,23,0.55) 100%);
}
.detail-hero-content { position: relative; z-index: 1; margin: auto 0 56px; padding: 0 40px; max-width: 760px; }
.back-link { background: none; border: none; color: rgba(255,255,255,0.85); font-size: 13px; cursor: pointer; padding: 0; margin-bottom: 18px; display: inline-block; text-decoration: none; font-family: var(--font-body); }
.detail-hero h1 { font-family: var(--font-cursive); font-weight: 400; font-size: clamp(42px, 6.4vw, 74px); line-height: 1.2; color: #fff; }
.detail-hero .locale { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 10px; letter-spacing: 0.02em; }
.detail-hero-sub { font-size: 16px; color: rgba(255,255,255,0.92); margin-top: 20px; max-width: 600px; line-height: var(--lh-normal); }
.detail-hero .btn { margin-top: 26px; }

@media (max-width: 640px) {
  .detail-hero-wrap { padding: 84px 12px 0; }
  .detail-hero { border-radius: 20px; }
  .detail-hero-content { padding: 0 24px; }
}

/* ---------- Legal pages ---------- */
.legal-page-header { padding: 108px 40px 0; background: var(--surface-page); }
.legal-page-header .section-inner { max-width: 760px; padding: 40px 0; }
.legal-page-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 44px); margin: 0 0 8px; color: var(--text-primary); }
.legal-page-updated { font-size: 13px; color: var(--text-muted); }

.legal-content { padding: 24px 40px 112px; background: var(--surface-page); }
.legal-content .section-inner { max-width: 760px; }
.legal-content h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 40px 0 14px; color: var(--text-primary); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: var(--lh-normal); color: var(--text-secondary); margin: 0 0 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { font-size: 15px; line-height: var(--lh-normal); color: var(--text-secondary); margin-bottom: 6px; }
.legal-content a { text-decoration: underline; }

@media (max-width: 640px) {
  .legal-page-header { padding: 84px 20px 0; }
  .legal-content { padding: 16px 20px 80px; }
}

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; font-family: var(--font-body); }
.tag-terracotta { background: #f3e2d5; color: var(--hdv-terracotta-dark); }
.tag-forest { background: #e2e7e0; color: var(--hdv-forest-dark); }
.tag-ocean { background: #dfe6e9; color: var(--hdv-ocean); }
.tag-neutral { background: var(--hdv-stone-100); color: var(--text-primary); }

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

.details-lede {
  font-family: var(--font-display); font-style: italic; font-size: 26px;
  color: var(--text-primary); line-height: var(--lh-snug); margin-top: 16px; max-width: 820px;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-md); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-extra { display: none; }
.gallery-grid.is-expanded .gallery-extra { display: block; }
.gallery-toggle-row { text-align: center; margin-top: 24px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Room by room ---------- */
.rooms-col { max-width: 820px; margin: 0 auto; }
.room-row {
  display: flex; gap: 24px; padding: 26px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.room-row:first-child { border-top: 1px solid var(--border-subtle); }
.room-num { font-family: var(--font-display); font-size: 22px; color: var(--accent-primary); min-width: 44px; }
.room-title { font-family: var(--font-display); font-size: 20px; color: var(--text-primary); margin-bottom: 6px; }
.room-body { font-size: 15px; color: var(--text-secondary); line-height: var(--lh-normal); }

/* ---------- Accordion ---------- */
.accordion { font-family: var(--font-body); border-top: 1px solid var(--border-subtle); max-width: 820px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border-subtle); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 19px; color: var(--text-primary);
}
.accordion-icon { font-family: var(--font-body); font-size: 20px; color: var(--accent-primary); transition: transform var(--duration-fast) var(--ease-standard); }
.accordion-item.is-open .accordion-icon { transform: rotate(45deg); }
.accordion-panel { display: none; padding: 0 4px 22px; color: var(--text-secondary); font-size: 15px; line-height: var(--lh-normal); max-width: 640px; }
.accordion-item.is-open .accordion-panel { display: block; }

/* ---------- Hostaway widget shell ---------- */
.booking-shell {
  background: var(--surface-card); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); padding: 6px;
  margin-top: -64px; margin-bottom: -90px;
  position: relative; z-index: 5;
}
#hostaway-booking-widget { width: 100%; }

@media (max-width: 640px) {
  /* On mobile the hero is shorter, so the same negative margin drags the
     widget (and its taller expanded calendar) up into the nav/hero text.
     Let it sit in normal flow below the hero instead of overlapping it. */
  .booking-shell { margin-top: 20px; margin-bottom: 20px; }
}

/* ============================================================
   SEO / AEO semantic layer
   Heading elements now carry the classes that used to sit on
   divs. Author styles beat the UA stylesheet, but only for
   properties that are actually declared — so every class that
   moved onto an h2/h3 needs margin + font-weight reset here.
   Fraunces ships at 500/600/900 only: an unreset h2 would ask
   for 700 and get a synthesized faux-bold.
   ============================================================ */

.eyebrow { display: block; margin: 0; font-weight: 400; }

.section-title-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: var(--lh-snug);
  margin: 10px 0 0;
  color: var(--text-primary);
}

.room-title { margin: 0 0 6px; font-weight: 400; }        /* now an <h3> */
.property-card-name { margin: 0; font-weight: 400; }      /* now an <h3> */
.accordion-item h3 { margin: 0; font: inherit; }          /* wraps the button */
.review-card { margin: 0; }                               /* now a <figure> */
.review-text { margin: 12px 0 0; }                        /* now a <blockquote> */
.review-text p { margin: 0; }
.review-card figcaption { margin-top: 12px; }

/* Skip link — visible only on keyboard focus */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 100;
  background: #fff; color: var(--text-primary);
  padding: 10px 16px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card); font-size: 14px; font-weight: 600;
}

/* ---------- Quick facts table (highest-value AEO block) ---------- */
.facts-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; }
.facts {
  width: 100%; border-collapse: collapse; margin-top: 20px;
  font-size: 15px; line-height: var(--lh-normal);
}
.facts th, .facts td {
  text-align: left; padding: 13px 4px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.facts th {
  font-weight: 600; color: var(--text-primary);
  width: 38%; padding-right: 20px;
}
.facts td { color: var(--text-secondary); }
@media (max-width: 560px) {
  .facts th, .facts td { display: block; width: auto; border-bottom: none; padding: 4px 0; }
  .facts th { padding-top: 14px; }
  .facts tr { display: block; border-bottom: 1px solid var(--border-subtle); padding-bottom: 10px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb { margin-bottom: 18px; }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { opacity: 0.7; }

/* ---------- Cross-property callout ---------- */
.cross-link {
  max-width: 820px; margin: 0 auto;
  padding: 22px 26px; background: var(--surface-page-alt);
  border-radius: var(--radius-md); font-size: 15px;
  color: var(--text-secondary); line-height: var(--lh-normal);
}
.cross-link a { font-weight: 600; }

/* ---------- Detail hero as a real <img> (LCP + alt text) ---------- */
.detail-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.detail-hero::before { z-index: 1; }
.detail-hero-content { z-index: 2; }

/* ---------- Screen-reader-only utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
