/* ============================================
   Caring Abode — "Welcome Home" theme
   Inspired by BuddyUp's warm, spacious aesthetic
   ============================================ */

/* Self-hosted Omnes (paid family, licensed locally) */
@font-face { font-family: 'Omnes'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/omnes-regular.ttf') format('truetype'); }
@font-face { font-family: 'Omnes'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/omnes-italic.ttf') format('truetype'); }
@font-face { font-family: 'Omnes'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/omnes-medium.ttf') format('truetype'); }
@font-face { font-family: 'Omnes'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/omnes-medium-italic.ttf') format('truetype'); }
@font-face { font-family: 'Omnes'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/omnes-semibold.ttf') format('truetype'); }
@font-face { font-family: 'Omnes'; font-style: italic; font-weight: 600; font-display: swap; src: url('../fonts/omnes-semibold-italic.ttf') format('truetype'); }
@font-face { font-family: 'Omnes'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/omnes-bold.ttf') format('truetype'); }
@font-face { font-family: 'Omnes'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/omnes-bold-italic.ttf') format('truetype'); }

:root {
  /* Brand palette — Boutique Coastal
     Coral as the warm accent, sea blue as the cool secondary, sand
     + salt as the warm backgrounds, deep navy for text. Sydney
     harbour-hotel mood. Legacy variable names downstream keep
     working — only the underlying hex values change. */
  --brand-coral: #e07856;       /* primary accent — CTAs, header pill (warm coral) */
  --brand-coral-dark: #c25a3e;  /* hover / depth */
  --brand-peach: #e89980;       /* soft warm coral */
  --brand-blush: #f2c6b5;       /* very soft coral — wash backgrounds */
  --brand-gold: #d4a847;        /* warm secondary */
  --brand-sand: #f5f1e9;        /* page background — salt cream */
  --brand-sage: #5b8aa6;        /* cool secondary — sea blue */
  --brand-teal: #3d6b85;        /* deep sea */
  --brand-sky: #8aabbc;         /* soft sea tint */
  --brand-navy: #1d2d3f;        /* darkest — harbour navy, used for text */
  --brand-paper: #fdfcf8;       /* near-white surfaces */

  /* Legacy palette aliases — re-pointed to the new palette so
     existing component CSS keeps working without a name churn */
  --purple-900: var(--brand-navy);
  --purple-700: #2a3d50;
  --purple-500: var(--brand-teal);
  --purple-300: var(--brand-sage);
  --purple-100: #dde6ec;

  --orange-700: var(--brand-coral-dark);
  --orange-600: var(--brand-coral);
  --orange-500: var(--brand-coral);
  --orange-300: var(--brand-peach);
  --orange-100: var(--brand-sand);

  --teal-500:   var(--brand-teal);
  --teal-300:   var(--brand-sage);
  --teal-100:   #dde6ec;

  --blue-500:   var(--brand-sage);
  --blue-300:   var(--brand-sky);
  --blue-100:   #dde6ec;

  --yellow-500: var(--brand-gold);
  --yellow-300: #e6c478;
  --yellow-100: var(--brand-sand);

  --indigo-700: #2a3d50;
  --indigo-600: #2a3d50;
  --indigo-500: var(--brand-sage);

  --sage-900: var(--brand-navy);
  --sage-700: var(--brand-teal);
  --sage-600: var(--brand-sage);
  --sage-500: var(--brand-sage);
  --sage-200: var(--brand-sage);
  --sage-100: #dde6ec;

  --coral-600: var(--brand-coral-dark);
  --coral-500: var(--brand-coral);
  --coral-400: var(--brand-peach);
  --coral-100: var(--brand-sand);

  --cream: var(--brand-sand);
  --cream-dark: #e8d9b5;
  --paper: var(--brand-paper);

  --ink-900: var(--brand-navy);
  --ink-700: #3d556d;
  --ink-500: #5d7689;
  --ink-300: #8aabbc;
  --ink-200: #c8d2db;
  --ink-100: #e5dccc;

  /* Semantic */
  --c-primary: var(--brand-teal);
  --c-primary-dark: var(--brand-navy);
  --c-accent: var(--brand-coral);
  --c-accent-dark: var(--brand-coral-dark);
  --c-bg: var(--brand-sand);
  --c-text: var(--brand-navy);
  --c-muted: var(--ink-500);
  --c-border: var(--ink-200);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(31,61,52,.06);
  --shadow-md: 0 10px 30px rgba(31,61,52,.08);
  --shadow-lg: 0 30px 60px rgba(31,61,52,.14);

  --container: 1180px;
}

* { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }

/* Display headings use the warm serif Fraunces */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink-900);
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 600; }
h4, h5 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; }
p { color: var(--ink-700); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
section {
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.eyebrow--sage { color: var(--c-primary); }

/* ============================================
   Top bar + header — floating indigo pill
   ============================================ */
.topbar { display: none; }

.header {
  background: var(--c-bg);
  position: sticky; top: 0; z-index: 100;
  padding: 1rem 1.25rem;
  transition: padding .2s;
}
.header.scrolled { padding: 0.5rem 1rem; }
.header > .container {
  max-width: 1400px;
  background: var(--cream);
  border: 2px solid var(--brand-navy);
  border-radius: var(--r-pill);
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  box-shadow: 6px 6px 0 var(--brand-navy);
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
.header.scrolled > .container { box-shadow: 4px 4px 0 var(--brand-navy); }
.header .logo { grid-column: 1; justify-self: start; }
.header .menu-toggle { grid-column: 1; justify-self: start; }
.header .nav { grid-column: 2; justify-self: center; }
.header .nav-cta { grid-column: 3; justify-self: end; }

.logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.logo__img {
  display: block;
  height: 52px;
  width: auto;
}
.header .logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.header .logo__img { height: 44px; width: auto; }
.footer .logo {
  background: var(--cream);
  padding: 10px 18px;
  border-radius: var(--r-pill);
}
.footer .logo__img { height: 44px; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  padding: 0.6rem 0.95rem;
  color: var(--brand-navy);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: color .15s;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--c-accent);
  transition: width .2s ease;
}
.nav a:hover { color: var(--c-accent); }
.nav a:hover::after, .nav a.active::after { width: 24px; }
.nav a.active { color: var(--c-accent); font-weight: 600; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.6rem 1.1rem;
  background: var(--c-accent);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-pill);
  border: 2px solid var(--brand-navy);
  flex-shrink: 0;
  transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 3px 3px 0 var(--brand-navy);
}
.nav-cta:hover {
  background: var(--brand-coral-dark);
  color: var(--cream);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--brand-navy);
}
.nav-cta svg { color: var(--cream); transform-origin: center; }

@keyframes phone-nudge {
  0%, 100% { transform: scale(1) rotate(0); }
  20%      { transform: scale(1.15) rotate(-8deg); }
  40%      { transform: scale(1.05) rotate(6deg); }
  60%      { transform: scale(1.12) rotate(-4deg); }
  80%      { transform: scale(1.02) rotate(0); }
}
.nav-cta svg { animation: phone-nudge 1.6s ease-out 1.2s 2; }
.nav-cta svg { width: 16px; height: 16px; }

.menu-toggle {
  display: none; background: transparent;
  border: 2px solid var(--brand-navy);
  border-radius: var(--r-pill); padding: 9px 14px; cursor: pointer;
  font-size: 0.85rem; font-weight: 600; color: var(--brand-navy);
}
.menu-toggle:hover { background: var(--brand-navy); color: var(--cream); }

@media (max-width: 1000px) {
  .header > .container { padding: 0.5rem 0.5rem 0.5rem 0.75rem; gap: 0.5rem; }
  .nav {
    display: none; position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--cream);
    border: 2px solid var(--brand-navy);
    border-radius: var(--r-md);
    padding: 0.75rem; gap: 0;
    box-shadow: 6px 6px 0 var(--brand-navy);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.875rem 1rem; }
  .nav-cta { padding: 0.6rem 1rem; font-size: 0.88rem; }
  .nav-cta__label { display: none; }
  .menu-toggle { display: inline-block; }
}
@media (max-width: 500px) {
  .header .logo__img { height: 32px; }
  .header .logo { padding: 4px 12px; }
}

/* ============================================
   Buttons & links
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 1rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500; font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: -0.005em;
}
.btn--primary {
  background: var(--c-primary);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn--accent {
  background: var(--c-accent);
  color: var(--ink-900);
}
.btn--accent:hover {
  background: var(--c-accent-dark);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  border-color: var(--ink-900);
  color: var(--ink-900);
}
.btn--outline:hover {
  background: var(--ink-900);
  color: var(--cream);
}
.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 400; font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-900);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-accent);
  transition: all .2s;
}
.link-arrow:hover { gap: 12px; color: var(--c-primary); border-color: var(--c-primary); }
.link-arrow svg { width: 14px; height: 14px; }

/* ============================================
   Hero — "Welcome home." big serif
   ============================================ */
.hero {
  position: relative;
  padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }
.hero__display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-900);
}
.hero__display em {
  font-style: italic;
  color: var(--c-primary);
}
.hero__display .underline {
  background: linear-gradient(transparent 70%, var(--coral-100) 70%);
  padding-inline: 0.1em;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-700);
  margin: 2rem 0;
  max-width: 50ch;
}
.hero__ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: center;
}
.hero__ctas a:not(.btn) {
  font-weight: 600; color: var(--ink-900);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
  text-decoration-color: var(--c-accent);
}
.hero__ctas a:not(.btn):hover { text-decoration-color: var(--c-primary); }
.hero__contact {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-500);
}
.hero__contact a {
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 1.5px;
}
.hero__contact a:hover { text-decoration-color: var(--c-primary); color: var(--ink-900); }

.hero__visual {
  position: relative;
}
.hero__visual svg { width: 100%; height: 100%; }
.hero__banner {
  width: 100%;
  height: auto;
  display: block;
}
.hero__brand {
  display: block;
  width: clamp(280px, 42vw, 520px);
  height: auto;
  margin-bottom: 1.75rem;
}

/* Right-column trust strip under the hero banner */
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1rem;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(33, 55, 72, 0.06);
}
.hero__trust-item {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 12px;
  transition: transform .2s ease, background .2s ease;
}
.hero__trust-item:hover {
  transform: translateY(-3px);
  background: var(--brand-sand);
}
.hero__trust-item:hover .hero__trust-icon {
  transform: scale(1.08);
}
.hero__trust-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-sand);
  color: var(--c-primary);
  transition: transform .2s ease, background .2s ease;
}
.hero__trust-item:hover .hero__trust-icon { background: var(--paper); }
.hero__trust-icon svg { width: 20px; height: 20px; }
.hero__trust-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.3;
}
.hero__sticker {
  position: absolute;
  width: 140px; height: 140px;
  background: var(--coral-500);
  color: var(--ink-900);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.1;
  bottom: -20px; left: -30px;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-md);
}
.hero__sticker strong { display: block; font-size: 1.8rem; font-weight: 600; }

/* Hero floating tags */
.hero__tags {
  position: absolute;
  display: flex; gap: 12px; flex-wrap: wrap;
  bottom: 30px; right: 20px;
  max-width: 60%;
}
.hero__tag {
  background: var(--cream);
  border: 1px solid var(--ink-100);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

/* Strip of accent words — island style */
.marquee {
  background: var(--ink-900);
  color: var(--cream);
  padding: 1.25rem 0;
  overflow: hidden;
  margin: 1.5rem 1.25rem;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 32px rgba(33, 55, 72, 0.12);
}
.marquee__track {
  display: flex; gap: 3rem; align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  white-space: nowrap;
  animation: scroll-marquee 28s linear infinite;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee__track .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Welcome / intro split
   ============================================ */
.intro-split {
  background: var(--paper);
}
.intro-split__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .intro-split__grid { grid-template-columns: 1fr; } }

.frame {
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--sage-100);
  border: 2px solid var(--brand-navy);
  box-shadow: 6px 6px 0 var(--brand-navy);
}
.frame--wide { aspect-ratio: 5/4; }
.frame--tall { aspect-ratio: 3/4; }
.frame svg,
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.frame:hover img { transform: scale(1.04); }
.frame__caption {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--cream);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.1rem; }

/* ============================================
   Services cards — BuddyUp-style image-on-top
   ============================================ */
.services {
  background: var(--c-bg);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 960px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

.svc {
  background: var(--brand-paper);
  display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
  border: 2px solid var(--brand-navy);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--brand-navy);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--brand-navy);
}
.svc__image {
  aspect-ratio: 5/4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sage-100);
  margin-bottom: 1.5rem;
  position: relative;
  border: 2px solid var(--brand-navy);
}
.svc__image svg,
.svc__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc__image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,61,52,.15));
}
.svc__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--cream);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-900);
  z-index: 2;
}
.svc h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.svc p { margin-bottom: 1.5rem; flex: 1; font-size: 1rem; }

/* Two-up alternating sections */
.alt-section { padding: clamp(4rem, 8vw, 7rem) 0; }
.alt-section--cream { background: var(--cream-dark); }
.alt-section--sage { background: var(--brand-navy); color: var(--cream); }
.alt-section--sage h2, .alt-section--sage h3, .alt-section--sage h4 { color: var(--cream); }
.alt-section--sage p { color: rgba(251,246,238,.85); }
.alt-section--sage .eyebrow { color: var(--brand-gold); }
.alt-section--sage .pillar { border-color: rgba(251,246,238,.18); }
.alt-section--sage .pillar__num { color: var(--brand-gold); }
.alt-section--sage .link-arrow { color: var(--cream); border-color: var(--c-accent); }

.alt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.alt-grid--reverse { direction: rtl; }
.alt-grid--reverse > * { direction: ltr; }
.alt-grid--media-wide { grid-template-columns: 5fr 8fr; }
@media (max-width: 900px) {
  .alt-grid, .alt-grid--reverse, .alt-grid--media-wide { grid-template-columns: 1fr; direction: ltr; }
}

/* ============================================
   Big quote / testimonial
   ============================================ */
.quote {
  background: var(--cream);
  padding: clamp(4rem, 9vw, 8rem) 0;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
  line-height: 1.3;
  color: var(--ink-900);
  max-width: 920px;
  margin: 0 auto 2.5rem;
  letter-spacing: -0.01em;
}
.quote blockquote::before, .quote blockquote::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--c-accent);
  margin: 1.5rem auto;
  border-radius: 4px;
}
.quote__author {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-900);
}
.quote__author span {
  display: block;
  color: var(--c-muted);
  font-weight: 500;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ============================================
   Number / stat cards — island style
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: 0 12px 32px rgba(33, 55, 72, 0.08);
  margin: 2rem 0;
}
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.stats-row .stat {
  text-align: left;
  padding: 0.5rem 0.25rem;
  border-radius: 12px;
  transition: transform .2s ease, background .2s ease;
}
.stats-row .stat:hover {
  transform: translateY(-3px);
  background: var(--brand-sand);
}
.stats-row .stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.stats-row .stat__label {
  font-size: 0.82rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ============================================
   "Walk beside you" — pillars list
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  border-top: 2px solid var(--ink-900);
  padding-top: 1.5rem;
  transition: border-color .2s ease;
}
.pillar:hover { border-top-color: var(--c-accent); }
.pillar:hover .pillar__num { transform: translateX(4px); }
.pillar__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
  transition: transform .2s ease;
  display: inline-block;
}
.pillar h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin-bottom: 0.75rem; }
.pillar p { font-size: 1rem; }

/* ============================================
   CTA band — island style
   ============================================ */
.cta-band {
  background: var(--c-accent);
  padding: clamp(3rem, 7vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  margin: 2rem 1.25rem;
  border-radius: var(--r-xl);
  box-shadow: 0 16px 40px rgba(216, 50, 74, 0.22);
}
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--ink-900);
  margin-bottom: 1rem;
}
.cta-band h2 em { font-style: italic; color: var(--c-primary-dark); }
.cta-band p {
  color: var(--ink-900);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.cta-band__ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn--outline { border-color: var(--ink-900); }
.cta-band .btn--outline:hover { background: var(--ink-900); color: var(--c-accent); }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink-900);
  color: var(--cream);
  padding: 5rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(251,246,238,.1);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer__top { grid-template-columns: 1fr; } }
.footer h5 { color: var(--coral-400); margin-bottom: 1.5rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.footer a { color: rgba(251,246,238,.75); font-size: 0.95rem; transition: color .15s ease, transform .15s ease; display: inline-block; }
.footer a:hover { color: var(--cream); transform: translateX(2px); }
.footer__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream);
  margin: 1.25rem 0 1.5rem;
}
.footer__socials { display: flex; gap: 12px; margin-top: 1.5rem; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(251,246,238,.08);
  display: grid; place-items: center;
  transition: background .2s;
}
.footer__socials a:hover { background: var(--c-accent); }
.footer__socials svg { width: 18px; height: 18px; color: var(--cream); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem;
  color: rgba(251,246,238,.5);
}
.footer__bottom a { color: rgba(251,246,238,.5); }

/* ============================================
   Page hero (interior)
   ============================================ */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-hero__breadcrumb {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-hero__breadcrumb a { color: var(--c-muted); }
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.careers-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .careers-hero__grid { grid-template-columns: 1fr; }
}
.careers-hero__art {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.careers-hero__art img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.page-hero h1 em { font-style: italic; color: var(--c-primary); }
.page-hero p {
  font-size: 1.2rem;
  color: var(--ink-700);
  max-width: 640px;
}

/* ============================================
   Service detail blocks
   ============================================ */
.detail-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--ink-100);
}
.detail-block__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.detail-block--alt .detail-block__grid {
  grid-template-columns: 1.4fr 1fr;
  direction: rtl;
}
.detail-block--alt .detail-block__grid > * { direction: ltr; }
@media (max-width: 900px) {
  .detail-block__grid, .detail-block--alt .detail-block__grid { grid-template-columns: 1fr; direction: ltr; }
}
.detail-block__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  color: var(--coral-400);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ============================================
   Feature list (checkmark items)
   ============================================ */
.features {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.features li {
  display: flex; gap: 14px; align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(33, 55, 72, 0.08);
  font-size: 1rem;
  color: var(--ink-700);
}
.features li:last-child { border-bottom: none; }
.features--two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.5rem;
  margin-top: 2rem;
}
.features--two-col li { border-bottom: none; padding-bottom: 0; }
@media (max-width: 700px) { .features--two-col { grid-template-columns: 1fr; gap: 0.75rem; } }
.features__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(234, 89, 66, 0.12);
  color: var(--c-accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.features__icon svg { width: 14px; height: 14px; }

/* ============================================
   Property cards
   ============================================ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .property-grid { grid-template-columns: 1fr; } }

.property {
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.property:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(33, 55, 72, 0.10); }
.property__link-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.property__body .link-arrow { position: relative; z-index: 2; }
.property__image {
  aspect-ratio: 5/4;
  background: var(--sage-100);
  position: relative;
  overflow: hidden;
}
.property__image svg,
.property__image img { width: 100%; height: 100%; object-fit: cover; }
.property__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--c-accent);
  color: var(--ink-900);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.property__badge--soft { background: var(--ink-200); color: var(--ink-700); }
.property__body { padding: 1.75rem; }
.property__suburb {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--c-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.property h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.property__meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
}
.property__meta span { display: inline-flex; align-items: center; gap: 5px; }
.property__meta svg { width: 14px; height: 14px; }

/* ============================================
   Filter chips
   ============================================ */
.chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.chip {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--ink-900); color: var(--ink-900); }
.chip.active { background: var(--ink-900); color: var(--cream); border-color: var(--ink-900); }

/* ============================================
   FAQ
   ============================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--ink-200);
  padding: 1.5rem 0;
}
.faq summary {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.3rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 2rem; font-weight: 300; color: var(--c-accent);
  line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 1rem; color: var(--ink-700); }

/* ============================================
   Forms
   ============================================ */
.form {
  display: grid;
  gap: 1.5rem;
  background: var(--paper);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: grid; gap: 8px; }
.form__field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--ink-900);
  transition: border .15s, background .15s;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: var(--paper);
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__hint { font-size: 0.82rem; color: var(--c-muted); }

/* ============================================
   Contact cards
   ============================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 2rem;
  transition: transform .2s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--c-primary);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 600; }
.contact-card__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--c-primary);
  margin-bottom: 0.25rem;
  word-break: break-word;
}
.contact-card__value a { color: inherit; }
.contact-card small { font-size: 0.85rem; color: var(--c-muted); }

/* ============================================
   Day Centre program grid
   ============================================ */
.day-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .day-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .day-grid { grid-template-columns: 1fr; } }
.day {
  background: var(--paper);
  border-radius: 18px;
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.day:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(33, 55, 72, 0.08);
}
.day__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--c-primary);
  margin-bottom: 1rem;
}
.day ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.day li { font-size: 0.92rem; color: var(--ink-700); padding-left: 18px; position: relative; }
.day li::before {
  content: ""; position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ============================================
   Job listings
   ============================================ */
.jobs { display: grid; gap: 1rem; }
.job {
  background: var(--paper);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: transform .2s;
}
.job:hover { transform: translateY(-3px); }
.job__title {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.job__meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--c-muted);
}
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 600px) { .job { grid-template-columns: 1fr; } }

/* ============================================
   Pricing / private tiers
   ============================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--paper);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  transition: transform .25s;
}
.tier:hover { transform: translateY(-6px); }
.tier--featured {
  background: var(--ink-900);
  color: var(--cream);
}
.tier--featured h3, .tier--featured .tier__price, .tier--featured ul li { color: var(--cream); }
.tier--featured p { color: rgba(251,246,238,.75); }
.tier--featured .features li { border-color: rgba(251,246,238,.12); }
.tier--featured .features__icon { background: var(--c-accent); color: var(--ink-900); }
.tier__badge {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--c-accent);
  color: var(--ink-900);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tier h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.5rem; }
.tier__price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--ink-900);
  margin: 1rem 0;
}
.tier__price small {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-muted);
}
.tier .btn { width: 100%; justify-content: center; margin-top: 1rem; }

/* Helpers */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.bg-paper { background: var(--paper); }
.bg-cream-dark { background: var(--cream-dark); }

/* Legal pages (Privacy / Terms) — readable long-form text */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink-700);
  font-size: 1.02rem;
  line-height: 1.7;
}
.legal-content .legal-meta {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 0.9rem 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.92rem;
  color: var(--ink-500);
  box-shadow: 0 2px 6px rgba(33, 55, 72, 0.05);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; color: var(--ink-700); }
.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 1.25rem;
}
.legal-content ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--ink-700);
}
.legal-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 600;
}
.legal-content a {
  color: var(--ink-900);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 1.5px;
}
.legal-content a:hover { text-decoration-color: var(--c-primary); }

/* ============================================
   Property detail — gallery + meta
   ============================================ */
.property-meta-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-700);
}
.property-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.property-meta-row svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--c-accent);
}
.property-meta-row .badge {
  background: var(--c-accent);
  color: var(--cream);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
/* Section containing the carousel — pull it up close to the page-hero */
section:has(> .container > .photo-carousel) {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.photo-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink-100);
}
.photo-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  aspect-ratio: 16/9;
}
.photo-carousel__track::-webkit-scrollbar { display: none; }
.photo-carousel__track > a {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  height: 100%;
  cursor: zoom-in;
}
.photo-carousel__track img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(33, 55, 72, 0.75);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .15s, transform .15s;
}
.photo-carousel__btn:hover { background: rgba(33, 55, 72, 0.92); }
.photo-carousel__btn:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.photo-carousel__btn--prev { left: 16px; }
.photo-carousel__btn--next { right: 16px; }
.photo-carousel__btn--prev:hover { transform: translateY(-50%) scale(1.06); }
.photo-carousel__btn--next:hover { transform: translateY(-50%) scale(1.06); }
.photo-carousel__btn svg { width: 22px; height: 22px; }
.photo-carousel__counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(33, 55, 72, 0.75);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.08em;
  z-index: 2;
  backdrop-filter: blur(6px);
}
@media (max-width: 600px) {
  .photo-carousel__btn { width: 44px; height: 44px; }
  .photo-carousel__btn--prev { left: 10px; }
  .photo-carousel__btn--next { right: 10px; }
}

/* Thumbnail strip below the carousel — JS-generated */
.photo-carousel__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 8px;
}
.photo-carousel__thumbs::-webkit-scrollbar { display: none; }
.photo-carousel__thumb {
  flex: 0 0 auto;
  width: 110px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity .15s, border-color .15s, transform .15s;
}
.photo-carousel__thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.photo-carousel__thumb:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.photo-carousel__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo-carousel__thumb--active {
  opacity: 1;
  border-color: var(--c-accent);
}
@media (max-width: 600px) {
  .photo-carousel__thumb { width: 80px; height: 54px; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-grid > a {
  display: block;
  aspect-ratio: 5/4;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink-100);
  transition: transform .2s;
}
.gallery-grid > a:hover { transform: scale(1.015); }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.gallery-grid > a:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
@media (max-width: 700px) { .gallery-grid > a:first-child { grid-column: auto; aspect-ratio: 5/4; } }

/* ============================================
   Property info grid — for families & coordinators
   ============================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}
@media (max-width: 800px) { .info-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.info-block {
  border-top: 2px solid rgba(33, 55, 72, 0.12);
  padding-top: 1.25rem;
}
.info-block h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--ink-900);
}
.info-block ul {
  list-style: none; padding: 0; display: grid; gap: 6px;
}
.info-block ul li {
  font-size: 0.95rem;
  color: var(--ink-700);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.info-block ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 600;
}
.info-block p {
  font-size: 0.95rem;
  color: var(--ink-700);
  line-height: 1.55;
}

/* ============================================
   Map frame (OpenStreetMap iframe wrapper)
   ============================================ */
.map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--ink-100);
  box-shadow: 0 8px 24px rgba(33, 55, 72, 0.06);
  background: var(--ink-100);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  pointer-events: none; /* prevent scroll-zoom hijacking the page */
}
.map-frame.is-active iframe { pointer-events: auto; }
.map-frame__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(33, 55, 72, 0);
  cursor: pointer;
  transition: background .2s ease;
}
.map-frame__overlay-hint {
  background: rgba(33, 55, 72, 0.85);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  opacity: 0;
  transition: opacity .2s ease;
  backdrop-filter: blur(6px);
}
.map-frame:hover .map-frame__overlay-hint { opacity: 1; }
.map-frame.is-active .map-frame__overlay { display: none; }
@media (max-width: 700px) {
  .map-frame iframe { height: 280px; }
}

/* ============================================
   Video frame (responsive 16:9, with poster)
   ============================================ */
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 24px;
  overflow: hidden;
  background: var(--brand-navy);
  box-shadow: 0 16px 40px rgba(33, 55, 72, 0.14);
}
.video-frame video {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}

/* ============================================
   Photo lightbox
   ============================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(33, 55, 72, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  position: relative;
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox__img {
  max-width: 100%; max-height: 80vh;
  display: block;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox__counter {
  margin-top: 1rem;
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  font-family: ui-monospace, Menlo, monospace;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(251, 246, 238, 0.15);
  border: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .15s, transform .15s;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(251, 246, 238, 0.3); }
.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .lightbox__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .lightbox__prev { left: 8px; width: 44px; height: 44px; }
  .lightbox__next { right: 8px; width: 44px; height: 44px; }
}

/* ============================================
   Animations — hero entrance + scroll reveal
   ============================================ */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__brand,
.hero .eyebrow,
.hero__display,
.hero__lead,
.hero__ctas,
.hero__contact,
.hero__visual {
  animation: hero-in .6s ease-out both;
}
.hero__brand { animation-delay: 0ms; }
.hero .eyebrow { animation-delay: 70ms; }
.hero__display { animation-delay: 140ms; }
.hero__lead { animation-delay: 220ms; }
.hero__ctas { animation-delay: 300ms; }
.hero__contact { animation-delay: 360ms; }
.hero__visual { animation-delay: 180ms; }

/* Scroll reveal — JS-gated so elements stay visible if JS is off */
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: opacity, transform;
}
html.js-ready .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
}

/* ============================================
   Print stylesheet — clean PDF output for policy
   pages (privacy, terms, refund, cancellation,
   complaints). Strips nav/CTA/footer, shows full
   URLs after each link.
   ============================================ */
@media print {
  @page { margin: 1.5cm 1.8cm; }

  /* Strip site chrome */
  .topbar, .header, .menu-toggle, .nav-cta,
  .cta-band, .footer,
  .page-hero__breadcrumb,
  script, noscript {
    display: none !important;
  }

  /* Flatten backgrounds for ink-friendly output */
  body, .page-hero, section, .alt-section, .alt-section--cream,
  .legal-content, .legal-content .legal-meta {
    background: #ffffff !important;
    box-shadow: none !important;
  }
  body { color: #111 !important; font-size: 10.5pt; line-height: 1.5; }

  /* Container resets — full page width */
  .container { max-width: none !important; padding: 0 !important; }
  section { padding: 0 !important; margin: 0 !important; }

  /* Page hero — keep title/subtitle, drop the decorative padding */
  .page-hero { padding: 0 0 0.4cm 0 !important; border-bottom: 0.5pt solid #ccc; margin-bottom: 0.4cm; }
  .page-hero h1 {
    font-size: 24pt !important; line-height: 1.1 !important;
    margin: 0 0 0.2cm !important; color: #000 !important;
  }
  .page-hero h1 em { color: #000 !important; font-style: italic; }
  .page-hero p {
    font-size: 11pt !important; color: #333 !important;
    max-width: none !important; margin: 0 !important;
  }

  /* Legal meta block — keep prominent at top, subtle tinted background */
  .legal-content { max-width: none !important; color: #111 !important; }
  .legal-content .legal-meta {
    background: #f7f3ec !important;
    border: 0.5pt solid #d4cbb8 !important;
    border-radius: 4pt !important;
    color: #333 !important;
    font-size: 9pt !important;
    padding: 7pt 10pt !important;
    margin-bottom: 14pt !important;
  }
  .legal-content .legal-meta strong { color: #000 !important; }

  /* Headings — keep block tight, never orphan a heading at page end */
  .legal-content h2 {
    font-size: 13pt !important;
    margin-top: 14pt !important;
    margin-bottom: 4pt !important;
    color: #000 !important;
    page-break-after: avoid;
  }
  .legal-content h3 {
    font-size: 11pt !important;
    margin-top: 10pt !important;
    margin-bottom: 3pt !important;
    color: #000 !important;
    page-break-after: avoid;
  }
  .legal-content p,
  .legal-content li { font-size: 10.5pt; color: #111; }
  .legal-content ul { page-break-inside: avoid; padding-left: 18pt; }
  .legal-content ul li::before { content: none !important; }
  .legal-content ul li { list-style: disc; padding-left: 0; }

  /* Links — black text + small parenthetical URL */
  a, a:visited { color: #000 !important; text-decoration: underline; }
  a[data-print-url]:after {
    content: " (" attr(data-print-url) ")";
    font-size: 9pt;
    color: #555;
    font-weight: 400;
    text-decoration: none;
    word-break: break-all;
  }
  /* Don't repeat the URL when the link text already contains it */
  a.no-print-url:after,
  .legal-meta a:after,
  .legal-content .legal-meta a[data-print-url]:after { content: none !important; }

  /* Avoid splitting paragraphs across pages where reasonable */
  p { orphans: 3; widows: 3; }
}
