/* Odyssey Stays — base styles
   Palette and type from CLAUDE.md section 6. Adjust --gold/--navy if the
   logo's exact colours differ once a vector version exists. */

:root {
  --navy: #0f1d33;
  --navy-deep: #0a1524;
  --navy-light: #1d3455;
  --gold: #b8924f;
  --gold-line: rgba(184, 146, 79, 0.45);
  --off-white: #faf8f4;
  --stone: #e7e1d6;
  --ink: #1c1f24;
  --sage: #7f8f7a;
  --white: #ffffff;
  --max-width: 1180px;
  --max-width-wide: 1320px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-sm: 7px;
  --shadow: 0 24px 60px -24px rgba(10, 21, 36, 0.35);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: var(--navy); }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 24px; }
.rule-gold { width: 48px; height: 1px; background: var(--gold); border: 0; margin: 0 0 22px; }
.rule-gold.center { margin-left: auto; margin-right: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.2em; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-primary { background: var(--gold); color: var(--navy-deep); letter-spacing: 0.01em; }
.btn-primary:hover { background: #a67f42; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-on-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-on-dark:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-ghost { background: transparent; color: inherit; text-decoration: underline; padding: 4px 0; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(10, 21, 36, 0.35); }
}
/* Contrast safety net: a .btn-secondary (navy outline) is only meant for
   light backgrounds. If one ever ends up in a dark section, keep it
   readable automatically rather than rendering navy-on-navy. */
.hero .btn-secondary, .hero-photo .btn-secondary, .section-navy .btn-secondary,
.section-deep .btn-secondary, .cta-band .btn-secondary, .site-header .btn-secondary,
.mobile-sticky-bar .btn-secondary {
  color: var(--white); border-color: rgba(255, 255, 255, 0.6); background: transparent;
}
.hero .btn-secondary:hover, .hero-photo .btn-secondary:hover, .section-navy .btn-secondary:hover,
.section-deep .btn-secondary:hover, .cta-band .btn-secondary:hover, .site-header .btn-secondary:hover,
.mobile-sticky-bar .btn-secondary:hover {
  background: var(--white); color: var(--navy); border-color: var(--white);
}

/* Header / nav — transparent over the hero, solid navy with a soft
   shadow once the page scrolls (JS toggles .is-solid; see main.js). The
   header only ever sits on a dark background (hero photo/navy hero, or
   its own solid navy fill), so its text stays light at all times except
   inside the mobile slide-out drawer, which has its own white background. */
.site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 100;
  margin-bottom: calc(-1 * var(--header-h));
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-solid {
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: var(--max-width); margin: 0 auto; gap: 16px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: 0.02em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; align-items: center; }
.main-nav a:not(.btn) {
  text-decoration: none; color: var(--white); font-weight: 500; font-size: 0.98rem;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.main-nav a:not(.btn):hover { border-bottom-color: var(--gold); }
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  display: none; position: absolute; top: 100%; left: 0; background: var(--white);
  border: 1px solid var(--stone); box-shadow: var(--shadow); padding: 18px; gap: 28px;
  min-width: 380px; border-radius: var(--radius);
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel { display: flex; }
.nav-dropdown-panel div { flex: 1; }
.nav-dropdown-panel h4 {
  font-family: var(--font-sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--sage); margin-bottom: 10px;
}
.nav-dropdown-panel ul { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; margin: 0; }
/* The dropdown panel always has a white background, regardless of the
   header's own state, so its links must always be navy/sage — this needs
   to out-specificity ".main-nav a:not(.btn)" (which turns nav links white
   for the transparent/solid-navy header bar), or it silently loses to it. */
.main-nav .nav-dropdown-panel a { white-space: nowrap; color: var(--navy); }
.main-nav .nav-dropdown-panel h4 a { color: inherit; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: var(--radius-sm);
  padding: 8px 10px; cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: none; }
.menu-toggle svg { display: block; }
.menu-toggle svg path { stroke: var(--white); }

@media (max-width: 900px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85%); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 90px 24px 24px; gap: 22px;
    transform: translateX(100%); transition: transform 0.3s var(--ease); box-shadow: var(--shadow);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-nav a:not(.btn) { color: var(--navy); }
  .nav-dropdown-panel { display: flex; position: static; box-shadow: none; border: none; padding: 10px 0 0 12px; min-width: 0; flex-direction: column; gap: 18px; }
  .nav-dropdown-panel ul { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .nav-dropdown-panel li { font-size: 0.92rem; }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn-secondary { display: none; }
}

.nav-scrim {
  display: none; position: fixed; inset: 0; background: rgba(20, 35, 60, 0.35); z-index: 90;
}
.nav-scrim.is-open { display: block; }

/* Hero */
.hero {
  background: var(--navy); color: var(--white);
  padding: calc(var(--header-h) + 74px) 0 70px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  border-radius: 50%; border: 1px solid rgba(184, 146, 79, 0.35); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p.lede { color: var(--stone); font-size: 1.15rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }
.hero-actions a.secondary-link { color: var(--stone); text-decoration: underline; }
.hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.9s var(--ease); }
.hero.hero-compact { padding: calc(var(--header-h) + 54px) 0 64px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
}

/* Full-bleed photo hero with floating appraisal form (homepage) */
.hero-photo {
  position: relative; min-height: 640px; display: flex; align-items: center;
  background: var(--navy-deep); color: var(--white); overflow: hidden;
  padding-top: var(--header-h);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0; background-image: var(--hero-image);
  background-size: cover; background-position: center 30%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,21,36,0.94) 0%, rgba(10,21,36,0.82) 32%, rgba(10,21,36,0.35) 62%, rgba(10,21,36,0.15) 100%);
}
.hero-photo .container-wide { position: relative; z-index: 2; width: 100%; }
.hero-photo-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 72px 0; }
.hero-photo .eyebrow { color: var(--gold); }
.hero-photo h1 { color: var(--white); max-width: 15ch; }
.hero-photo p.lede { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 42ch; }
.hero-photo-links { margin-top: 26px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.hero-photo-links a { color: rgba(255,255,255,0.85); }

.appraisal-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow);
}
.appraisal-card h2 { font-size: 1.4rem; margin-bottom: 4px; }
.appraisal-card .card-sub { color: #5a6472; font-size: 0.92rem; margin-bottom: 22px; }
.appraisal-card form { display: flex; flex-direction: column; gap: 14px; }
.appraisal-card .form-row { gap: 14px; }
.appraisal-card label { font-size: 0.85rem; }
.appraisal-card input, .appraisal-card select { padding: 11px 13px; font-size: 0.95rem; }
.appraisal-card .btn { width: 100%; text-align: center; margin-top: 4px; }
.appraisal-card .form-note { text-align: center; margin-top: 4px; }
@media (max-width: 960px) {
  .hero-photo-grid { grid-template-columns: 1fr; padding: 56px 0 40px; }
  .hero-photo h1 { max-width: none; }
}

/* Sections */
section { padding: 112px 0; }
.section-tight { padding: 68px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .section-head p { color: rgba(255,255,255,0.78); }
.section-deep { background: var(--navy-deep); color: var(--white); }
.section-deep h2, .section-deep h3 { color: var(--white); }
.eyebrow {
  color: var(--gold); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p { color: #4b5563; }
.section-head.text-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.text-center .eyebrow { justify-content: center; }
.section-head.text-center .eyebrow::before { display: none; }

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 28px; height: 100%;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0;
  border-top: 1px solid var(--stone);
}
.steps .step:last-child { border-bottom: 1px solid var(--stone); }
.step-num {
  counter-increment: step; font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold);
}
.step-num::before { content: counter(step, decimal-leading-zero); }

/* Placeholder image blocks (no stock photography) */
.placeholder-block {
  background: linear-gradient(135deg, var(--stone) 0%, #d8d0c0 100%);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  color: var(--navy); text-align: center; padding: 24px; aspect-ratio: 4/3;
}
.placeholder-block .ph-icon { font-family: var(--font-serif); font-size: 1.6rem; opacity: 0.6; }
.placeholder-block .ph-label { font-size: 0.85rem; color: #5a6472; max-width: 22ch; }

/* Property cards */
.property-card { border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; }
.property-card .placeholder-block, .property-card img { aspect-ratio: 4/3; border-radius: 0; }
.property-card .pc-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.property-card .pc-meta { color: #5a6472; font-size: 0.92rem; }
.property-card .pc-actions { margin-top: auto; padding-top: 10px; }
.badge {
  display: inline-block; background: var(--stone); color: var(--navy); font-size: 0.78rem;
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}

/* Filters */
.filter-bar { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; align-items: flex-end; }
.filter-bar label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.filter-bar select {
  padding: 10px 14px; border: 1px solid var(--stone); border-radius: var(--radius); background: var(--white);
  font-family: var(--font-sans); font-size: 0.95rem; min-width: 180px;
}

/* Forms */
form.stack { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: #5a6472; margin-top: 4px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid #c9c2b2; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 1rem; background: var(--white); color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: 4px; }
.checkbox-row label { font-weight: 400; font-size: 0.92rem; }
.form-note { font-size: 0.85rem; color: #5a6472; }
.form-success {
  display: none; background: var(--sage); color: var(--white); padding: 20px 24px; border-radius: var(--radius); margin-bottom: 24px;
}
.form-success.is-visible { display: block; }

/* Reviews placeholder */
.reviews-placeholder {
  border: 1px dashed var(--gold); border-radius: var(--radius); padding: 32px; text-align: center; background: var(--white);
}

/* FAQ */
.faq-group { margin-bottom: 48px; }
.faq-item { border-bottom: 1px solid var(--stone); }
.faq-item summary {
  cursor: pointer; padding: 18px 0; font-weight: 600; font-family: var(--font-serif); font-size: 1.05rem;
  color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-sans); color: var(--gold); font-size: 1.4rem; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 0 20px; color: #3d4550; }
.tbc { color: var(--sage); font-style: italic; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; padding: 16px 0 0; color: #5a6472; }
.breadcrumbs a { color: #5a6472; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Map */
.map-embed { border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid > *:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid > *:first-child { grid-column: span 2; grid-row: span 1; } }

/* Amenity list */
.amenity-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.amenity-list li::before { content: "\2713"; color: var(--sage); margin-right: 8px; font-weight: 700; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 64px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--stone); margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: var(--navy); color: var(--stone); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--stone); text-decoration: none; font-size: 0.95rem; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: #b9c2d1; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #9fabbf;
}
.whatsapp-link { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* Blog */
.blog-empty { border: 1px dashed var(--stone); border-radius: var(--radius); padding: 48px; text-align: center; }

/* Utility spacing */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.stack-lg > * + * { margin-top: 20px; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--stone); vertical-align: top; }
.compare-table thead th { font-family: var(--font-serif); font-weight: 600; font-size: 1rem; color: var(--navy); border-bottom: 2px solid var(--navy); }
.compare-table th:first-child, .compare-table td:first-child { color: #5a6472; font-weight: 500; width: 26%; }
.compare-table td.col-traditional { color: #6b7280; }
.compare-table td.col-odyssey { color: var(--navy); font-weight: 600; position: relative; }
.compare-table td.col-odyssey::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--stone); }
.compare-note { font-size: 0.85rem; color: #5a6472; margin-top: 14px; }

/* Founder section */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.founder-photo .placeholder-block { aspect-ratio: 3/4; }
.founder-photo img {
  width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } }

/* Full-bleed photo band */
.photo-band { position: relative; }
.photo-band img { width: 100%; height: clamp(320px, 46vw, 560px); object-fit: cover; }

/* What's included icon grid */
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--stone); border: 1px solid var(--stone); }
.included-grid > div { background: var(--white); padding: 30px 26px; }
.included-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }
.included-grid p { font-size: 0.92rem; color: #5a6472; margin-bottom: 0; }
@media (max-width: 900px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .included-grid { grid-template-columns: 1fr; } }

/* Problem/statement section */
.statement { max-width: 800px; }
.statement p { font-size: 1.2rem; color: rgba(255,255,255,0.85); }
.statement p:first-of-type { font-family: var(--font-serif); font-size: 1.55rem; color: var(--white); line-height: 1.4; }

/* Hero areas strip */
.hero-areas-strip {
  position: relative; z-index: 2; margin-top: 44px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: center;
  font-size: 0.92rem; color: rgba(255,255,255,0.65);
}
.hero-areas-strip nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hero-areas-strip a { color: rgba(255,255,255,0.9); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.hero-areas-strip a:hover { border-bottom-color: var(--gold); }

/* Inline CTA between sections */
.inline-cta { margin-top: 36px; }

/* Chips / county cards on areas listings */
.county-card { display: flex; flex-direction: column; gap: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; border: 1px solid var(--stone); border-radius: 999px; padding: 6px 16px;
  font-size: 0.85rem; color: var(--navy); text-decoration: none; background: var(--off-white);
}
.chip:hover { border-color: var(--gold); }
.not-on-list { margin-top: 36px; color: #5a6472; font-size: 0.95rem; border-top: 1px solid var(--stone); padding-top: 24px; }

/* Area page bullet lists */
.area-bullets { list-style: none; padding: 0; display: grid; gap: 18px; max-width: 760px; }
.area-bullets li { padding-left: 22px; position: relative; }
.area-bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--gold); }
.area-bullets strong { color: var(--navy); }

/* Footer nested area list */
.footer-areas > li { margin-bottom: 12px; }
.footer-sublist { list-style: none; padding: 0 0 0 14px; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.footer-sublist a { font-size: 0.88rem; opacity: 0.85; }

/* Mobile sticky action bar */
.mobile-sticky-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--white); border-top: 1px solid var(--stone); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  gap: 10px; box-shadow: 0 -8px 24px -12px rgba(20,35,60,0.2);
}
.mobile-sticky-bar .btn { flex: 1; text-align: center; padding: 12px 10px; font-size: 0.92rem; }
@media (max-width: 900px) {
  .mobile-sticky-bar { display: flex; }
  body { padding-bottom: 66px; }
}

/* Subtle scroll-reveal (respects prefers-reduced-motion; JS adds .is-visible,
   once only — it un-observes each element after it first reveals). */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Stagger the children of a grid/steps block once its parent section reveals.
   The transition here is intentionally the SAME one used for card hover
   below (one shared declaration for opacity/transform/shadow/border) so the
   two don't fight over the "transition" property on the same elements. */
.reveal .grid > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-visible .grid > * { opacity: 1; transform: translateY(0); }
.reveal.is-visible .grid > *:nth-child(1) { transition-delay: 0.05s; }
.reveal.is-visible .grid > *:nth-child(2) { transition-delay: 0.11s; }
.reveal.is-visible .grid > *:nth-child(3) { transition-delay: 0.17s; }
.reveal.is-visible .grid > *:nth-child(4) { transition-delay: 0.23s; }
.reveal.is-visible .grid > *:nth-child(5) { transition-delay: 0.29s; }
.reveal.is-visible .grid > *:nth-child(6) { transition-delay: 0.35s; }
.reveal.is-visible .grid > *:nth-child(n+7) { transition-delay: 0.4s; }

.reveal .steps .step { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.is-visible .steps .step { opacity: 1; transform: translateY(0); }
.reveal.is-visible .steps .step:nth-child(1) { transition-delay: 0.05s; }
.reveal.is-visible .steps .step:nth-child(2) { transition-delay: 0.16s; }
.reveal.is-visible .steps .step:nth-child(3) { transition-delay: 0.27s; }
.reveal.is-visible .steps .step:nth-child(4) { transition-delay: 0.38s; }
.reveal.is-visible .steps .step:nth-child(5) { transition-delay: 0.49s; }

/* Card, photo and chip hover states — refined, not bubbly; guarded so
   touch devices never get a "stuck" hover after a tap. One shared
   transition declaration covers both the scroll-reveal fade-up above and
   the hover lift below, so neither silently overrides the other. */
.card, .county-card, .property-card {
  transition: opacity 0.5s var(--ease), transform 0.35s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.photo-band { overflow: hidden; }
.zoom-frame { overflow: hidden; border-radius: var(--radius); }
.zoom-frame img { width: 100%; height: auto; display: block; transition: transform 0.9s var(--ease); }
.photo-band img { transform: translateY(var(--parallax-y, 0px)) scale(1.06); transition: transform 0.9s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover, .county-card:hover, .property-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold);
  }
  .chip:hover { transform: translateY(-1px); }
  .hero-image:hover img { transform: scale(1.045); }
  .zoom-frame:hover img { transform: scale(1.04); }
  .photo-band:hover img { transform: translateY(var(--parallax-y, 0px)) scale(1.1); }
}

/* Logo entrance — homepage, first load only. A smooth fade + gentle
   scale (the source logo is a flattened raster image, so the compass
   needle can't be isolated to swing on its own without a fresh vector
   file from the designer). Everything else in the hero eases in just
   after. Reduced-motion users see the end state immediately (the global
   rule above collapses all animation/transition durations to ~0). */
.page-home .brand img { animation: logoIn 0.6s var(--ease) both; }
.page-home .hero-photo .eyebrow,
.page-home .hero-photo h1,
.page-home .hero-photo p.lede,
.page-home .hero-photo-links { animation: fadeRiseIn 0.6s var(--ease) both; }
.page-home .hero-photo .eyebrow { animation-delay: 0.32s; }
.page-home .hero-photo h1 { animation-delay: 0.4s; }
.page-home .hero-photo p.lede { animation-delay: 0.48s; }
.page-home .hero-photo-links { animation-delay: 0.56s; }
.page-home .appraisal-card { animation: fadeRiseIn 0.7s var(--ease) both; animation-delay: 0.45s; }
@keyframes logoIn {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeRiseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gentle parallax on large photo banners (JS sets --parallax-y; disabled
   under prefers-reduced-motion via main.js, which skips the listener). */
.hero-photo::before { transform: translateY(var(--parallax-y, 0px)); }
.photo-band img { will-change: transform; }

/* ==========================================================================
   Mobile-only refinements. Everything below either sits inside a
   max-width media query or targets elements that are hidden on desktop,
   so the desktop layout is unchanged.
   ========================================================================== */
.menu-close, .nav-cta .mobile-only-book { display: none; }

@media (max-width: 900px) {
  /* Images: never let an HTML width/height attribute distort a picture. */
  img { height: auto; }

  /* Sticky bottom bar: solid navy so BOTH buttons are clearly visible
     (the outline "Book a stay" was white-on-white before). */
  .mobile-sticky-bar {
    background: var(--navy); border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -10px 28px -14px rgba(0, 0, 0, 0.5);
  }
  .mobile-sticky-bar .btn {
    min-height: 46px; display: flex; align-items: center; justify-content: center;
    padding: 10px 8px; white-space: nowrap;
  }
  .mobile-sticky-bar .btn-primary { background: var(--gold); color: var(--navy-deep); }

  /* Menu: solid navy, full-screen, above everything (the old grey came from
     the dimming scrim painting over a narrow white drawer). */
  .nav-scrim, .nav-scrim.is-open { display: none; }
  .main-nav {
    inset: 0; width: 100%; background: var(--navy); z-index: 130; box-shadow: none;
    padding: 104px 28px 40px; overflow-y: auto; gap: 8px;
    visibility: hidden; transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .main-nav.is-open { visibility: visible; transition: transform 0.3s var(--ease), visibility 0s; }
  body.menu-open { overflow: hidden; }
  .main-nav ul { gap: 4px; width: 100%; }
  .main-nav a:not(.btn) {
    color: var(--white); font-size: 1.3rem; font-family: var(--font-serif);
    display: block; padding: 11px 0; border-bottom: 0;
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-panel { background: transparent; padding: 4px 0 8px 2px; gap: 14px; }
  .nav-dropdown-panel h4 { color: var(--gold); margin-bottom: 4px; }
  .main-nav .nav-dropdown-panel a {
    color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; font-family: var(--font-sans); padding: 8px 0;
  }
  .nav-dropdown-panel ul { gap: 2px 22px; }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 18px; width: 100%; }
  .nav-cta .mobile-only-book { display: block; }
  .nav-cta .btn { width: 100%; text-align: center; padding: 16px; min-height: 54px; font-size: 1.02rem; }
  .nav-cta .btn-primary { background: var(--gold); color: var(--navy-deep); opacity: 1; }
  .menu-close {
    display: flex; align-items: center; justify-content: center; position: absolute; top: 20px; right: 20px;
    width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-sm); cursor: pointer;
  }
  .menu-toggle { min-width: 46px; min-height: 46px; align-items: center; justify-content: center; }

  /* Comfortable tap targets (44px+) for links that were 25-30px tall. */
  .hero-areas-strip nav { gap: 0 14px; }
  .hero-areas-strip a {
    display: inline-block; padding: 12px 4px; border-bottom: 0;
    text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 4px;
  }
  .hero-photo-links a, .hero-actions a.secondary-link { display: inline-block; padding: 13px 0; }
  .footer-grid a, .footer-bottom a, .breadcrumbs a { display: inline-block; padding: 9px 0; }
  .footer-grid ul, .footer-sublist { gap: 0; }
  .whatsapp-link { display: inline-flex; padding: 9px 0; }
  .county-card h3 a { display: inline-block; padding: 9px 0; }
  .chip { padding: 12px 18px; }
}

/* Mobile only: buttons that sit in a pair/group stack full width with a
   clear gap and identical left edges (inline margin-left from the desktop
   markup is overridden here; desktop is untouched). */
@media (max-width: 900px) {
  .btn-group-item {
    display: block; width: 100%; text-align: center;
    margin: 0 0 14px 0 !important;
  }
  .btn-group-item:last-child { margin-bottom: 0 !important; }
}
