/* ════════════════════════════════════════════
   MISSION HEALTH SERVICES — editorial care
   ════════════════════════════════════════════ */

:root {
  --cream: #f7f4ef;
  --cream-dim: #ede9e1;
  --ink: #2e3a59;
  --ink-deep: #1e263f;
  --pine: #3a4670;
  --clay: #cd575c;
  --clay-soft: #df888c;
  --clay-deep: #a03a3f;
  --hero-accent: #cd575c;
  --sage: #a8b3cc;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--clay); color: var(--cream); }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink-deep);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}
.preloader__top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 4rem);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  color: var(--clay-soft);
}
.preloader__head {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 8.5vw, 7.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.preloader__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  white-space: nowrap;
}
.preloader__line > span {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
.preloader__line--accent { color: var(--clay); }
.preloader__line--accent em { font-style: italic; font-weight: 500; }
.preloader__count {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(3rem, 8vw, 5rem);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.5rem, 13vw, 12rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  color: rgba(247, 244, 239, 0.12);
  display: flex;
  align-items: baseline;
}
.preloader__count i { font-style: normal; font-size: 0.35em; margin-left: 0.1em; }
.preloader__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: rgba(247, 244, 239, 0.1);
}
.preloader__bar > span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* ═══════════ CURSOR ═══════════ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(205, 87, 92, 0.8);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease-out, height 0.25s ease-out, background 0.25s ease-out;
  opacity: 0;
}
.cursor.is-active {
  width: 52px;
  height: 52px;
  background: rgba(205, 87, 92, 0.22);
  border: 1.5px solid rgba(205, 87, 92, 0.6);
  opacity: 1;
}
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), background 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(46, 58, 89, 0.08);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.nav__logo-img {
  width: 200px;
  height: auto;
  display: block;
}
.nav__logo-img--white {
  display: none;
}
.nav__logo-img--default {
  display: block;
}
.nav__logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav__logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__logo-sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.52rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-top: 0.28rem;
  opacity: 0.8;
}
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links > a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.nav__links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav__links > a:hover { opacity: 1; }
.nav__links > a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Navigation Dropdown & Mega Menu */
.nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
  cursor: pointer;
}
.nav__dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav__dropdown-toggle:hover::after,
.nav__dropdown-toggle.is-active::after,
.nav__dropdown:hover .nav__dropdown-toggle::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__dropdown-toggle:hover,
.nav__dropdown-toggle.is-active,
.nav__dropdown:hover .nav__dropdown-toggle {
  opacity: 1;
}

.nav__chevron {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__dropdown:hover .nav__chevron,
.nav__dropdown:focus-within .nav__chevron {
  transform: rotate(180deg);
}

.nav__mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(880px, 92vw);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(46, 58, 89, 0.12);
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 25px 60px -10px rgba(30, 38, 63, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.26s;
  z-index: 1000;
  text-transform: none;
}
.nav__mega-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}
.nav__dropdown:hover .nav__mega-menu,
.nav__dropdown:focus-within .nav__mega-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 1.6rem;
  align-items: start;
}
.mega-menu__region-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(46, 58, 89, 0.08);
}
.mega-menu__region-name {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--clay);
}
.mega-menu__badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  background: rgba(46, 58, 89, 0.06);
  color: var(--ink);
}
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 0.6rem;
}
.mega-menu__grid--stack {
  grid-template-columns: 1fr;
}
.mega-item {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s, transform 0.2s;
}
.mega-item:hover {
  background: rgba(205, 87, 92, 0.07);
  transform: translateX(3px);
}
.mega-item__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-deep);
  line-height: 1.25;
  margin-bottom: 0.15rem;
  display: block;
}
.mega-item:hover .mega-item__title {
  color: var(--clay-deep);
}
.mega-item__desc {
  font-size: 0.73rem;
  color: #64748b;
  line-height: 1.2;
  display: block;
}
.mega-menu__footer-card {
  margin-top: 0.9rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(46, 58, 89, 0.04) 0%, rgba(205, 87, 92, 0.08) 100%);
  border-radius: 12px;
  border: 1px solid rgba(46, 58, 89, 0.08);
}
.mega-menu__card-content h5 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 0.25rem;
}
.mega-menu__card-content p {
  font-size: 0.74rem;
  color: var(--ink);
  opacity: 0.8;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.mega-menu__all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clay-deep);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.mega-menu__all-btn:hover {
  color: var(--clay);
  gap: 0.55rem;
}
.nav__mega-menu a::after {
  display: none !important;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
}

/* Nav over dark hero (Community & Dark header pages) */
.nav--dark:not(.is-scrolled) .nav__logo-img--default {
  display: none;
}
.nav--dark:not(.is-scrolled) .nav__logo-img--white {
  display: block;
}
.nav--dark.is-scrolled .nav__logo-img--default {
  display: block;
}
.nav--dark.is-scrolled .nav__logo-img--white {
  display: none;
}
.nav--dark:not(.is-scrolled) .nav__links > a {
  color: #ffffff;
  opacity: 0.95;
}
.nav--dark:not(.is-scrolled) .nav__links > a:hover {
  opacity: 1;
  color: #ffffff;
}
.nav--dark:not(.is-scrolled) .nav__links > a.is-active {
  color: #ffffff;
  opacity: 1;
}
.nav--dark:not(.is-scrolled) .nav__links > a.is-active::after {
  background: var(--clay-soft);
}

.nav--dark:not(.is-scrolled) .nav__dropdown-toggle {
  color: #ffffff;
  opacity: 0.95;
}
.nav--dark:not(.is-scrolled) .nav__dropdown-toggle:hover,
.nav--dark:not(.is-scrolled) .nav__dropdown:hover .nav__dropdown-toggle {
  opacity: 1;
  color: #ffffff;
}
.nav--dark:not(.is-scrolled) .nav__dropdown-toggle.is-active::after {
  background: var(--clay-soft);
}
.nav--dark:not(.is-scrolled) .nav__mega-menu {
  background: rgba(22, 30, 50, 0.97);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.55);
}
.nav--dark:not(.is-scrolled) .mega-menu__region-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.nav--dark:not(.is-scrolled) .mega-menu__region-name {
  color: var(--clay-soft);
}
.nav--dark:not(.is-scrolled) .mega-menu__badge {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.nav--dark:not(.is-scrolled) .mega-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav--dark:not(.is-scrolled) .mega-item__title {
  color: #ffffff;
}
.nav--dark:not(.is-scrolled) .mega-item:hover .mega-item__title {
  color: var(--clay-soft);
}
.nav--dark:not(.is-scrolled) .mega-item__desc {
  color: var(--sage);
}
.nav--dark:not(.is-scrolled) .mega-menu__footer-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.nav--dark:not(.is-scrolled) .mega-menu__card-content h5 {
  color: #ffffff;
}
.nav--dark:not(.is-scrolled) .mega-menu__card-content p {
  color: var(--cream);
  opacity: 0.85;
}
.nav--dark:not(.is-scrolled) .mega-menu__all-btn {
  color: var(--clay-soft);
}

.nav--dark:not(.is-scrolled) .btn--nav {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav--dark:not(.is-scrolled) .btn--nav:hover {
  background: #ffffff;
  color: var(--ink-deep);
  border-color: #ffffff;
}
.nav--dark.is-scrolled {
  background: rgba(247, 244, 239, 0.92);
}
.nav--dark.is-scrolled .nav__links a {
  color: var(--ink);
  opacity: 0.8;
}
.nav--dark.is-scrolled .nav__links a:hover {
  opacity: 1;
}
.nav--dark.is-scrolled .btn--nav {
  background: var(--ink);
  color: var(--cream);
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s;
  will-change: transform;
  white-space: nowrap;
}
.btn--nav { padding: 0.65rem 1.4rem; background: var(--ink); color: var(--cream); font-size: 0.82rem; }
.btn--nav:hover { background: var(--clay); }
.btn--fill { background: var(--ink); color: var(--cream); }
.btn--fill:hover { background: var(--clay); }
.btn--ghost { border: 1.5px solid rgba(46, 58, 89, 0.3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--clay); color: var(--cream); }
.btn--outline { border: 1.5px solid rgba(247, 244, 239, 0.4); color: var(--cream); }
.btn--outline:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}
.btn--outline-white:hover {
  background: #ffffff;
  color: var(--ink-deep);
  border-color: #ffffff;
}
.btn--clay {
  background: var(--clay);
  color: #ffffff;
}
.btn--clay:hover {
  background: var(--clay-deep);
  color: #ffffff;
}

/* ═══════════ SPLIT / REVEAL PRIMITIVES ═══════════ */
[data-split] .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
[data-split] .word > span {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}
.reveal-line { overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
}

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 7rem var(--pad) 0;
}
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-accent);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 8.5vw, 8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.hero__title em,
.hero__title em span,
.hero__title .word em,
.hero__title .word em span {
  color: #cd575c;
  color: var(--hero-accent);
  font-style: italic;
  font-weight: 500;
}
.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.5rem 0 3rem;
}
.hero__sub { max-width: 42ch; font-size: 1.08rem; opacity: 0.85; }
.hero__ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__media { position: relative; margin: 0 calc(var(--pad) * -0.25) 0; }
.hero__img-mask {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
  height: clamp(320px, 52vh, 620px);
}
.hero__img {
  width: 100%;
  height: 180%;
  object-fit: cover;
  will-change: transform;
}
@media (max-width: 900px) {
  .hero__img {
    object-position: calc(50% + 150px) center;
  }
}
.hero__badge {
  position: absolute;
  top: -2.4rem;
  right: clamp(1rem, 5vw, 4rem);
  background: var(--clay);
  color: var(--cream);
  border-radius: 50%;
  width: clamp(132px, 15vw, 180px);
  height: clamp(132px, 15vw, 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem 1.5rem;
  box-sizing: border-box;
  gap: 0.55rem;
  transform: scale(0);
  z-index: 3;
  box-shadow: 0 18px 40px rgba(190, 95, 95, 0.35);
}
.hero__badge-num { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; line-height: 1; }
.hero__badge-txt { font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.55; opacity: 0.9; }
.hero__scroll {
  position: absolute;
  left: var(--pad);
  bottom: 2rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  mix-blend-mode: difference;
}
.hero__scroll i {
  display: block;
  width: 44px; height: 1.5px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clay);
  animation: scrollHint 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scrollHint {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 1.4rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -1rem 0 0;
  position: relative;
  z-index: 5;
}
.marquee__track { display: flex; white-space: nowrap; will-change: transform; }
.marquee__track span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: 0.01em;
  padding-right: 0.5em;
}
.marquee__track i { font-style: normal; color: var(--clay-soft); font-size: 0.7em; vertical-align: middle; }

/* ═══════════ MANIFESTO ═══════════ */
.manifesto {
  padding: clamp(6rem, 14vh, 11rem) var(--pad);
  max-width: 1200px;
}
.manifesto__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 2rem;
}
.manifesto__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.manifesto__text .m-word { opacity: 0.13; transition: none; }

/* ═══════════ STATS ═══════════ */
.stats { padding: 0 var(--pad) clamp(5rem, 10vh, 8rem); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(46, 58, 89, 0.15);
}
.stat {
  padding: 2.5rem clamp(1.25rem, 2.5vw, 2.5rem) 0.5rem;
  border-right: 1px solid rgba(46, 58, 89, 0.15);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; padding-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}
.stat__slash { color: var(--clay-deep); }
.stat__label {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
@media (max-width: 800px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat {
    border-bottom: 1px solid rgba(46, 58, 89, 0.15);
    padding: 2rem 1.25rem 2rem;
  }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(2n+1) { padding-left: 0; }
  .stat:nth-child(2n) { border-right: none; padding-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 500px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none; padding-left: 0; padding-right: 0; }
  .stat:last-child { border-bottom: none; }
}

/* ═══════════ PARALLAX BAND ═══════════ */
.band {
  position: relative;
  height: clamp(420px, 75vh, 780px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.band__img {
  position: absolute;
  inset: -18% 0;
  width: 100%;
  height: 136%;
  object-fit: cover;
  will-change: transform;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(31, 40, 64, 0.25), rgba(31, 40, 64, 0.45));
}
.band__title {
  position: relative;
  z-index: 2;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  letter-spacing: -0.02em;
  text-align: center;
  padding: 0 var(--pad);
}

/* ═══════════ SECTION HEADS ═══════════ */
.section-head { padding: clamp(6rem, 12vh, 9rem) var(--pad) clamp(3rem, 6vh, 4.5rem); }
.section-head__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 1.2rem;
}
.section-head__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

/* ═══════════ CARE — STACKING CARDS ═══════════ */
.care__stack { padding: 0 var(--pad) 20vh; }
.care-card {
  position: sticky;
  top: 12vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: var(--cream-dim);
  border: 1px solid rgba(46, 58, 89, 0.1);
  border-radius: calc(var(--radius) * 1.4);
  padding: clamp(2rem, 4.5vw, 4.5rem);
  margin-bottom: 4.5rem;
  min-height: 62vh;
  will-change: transform;
  box-shadow: 0 -12px 45px rgba(46, 58, 89, 0.07);
}
.care-card--alt { background: var(--ink); color: var(--cream); border-color: transparent; }
.care-card--alt .care-card__index { color: var(--clay-soft); }
.care-card--alt .care-card__tags li { border-color: rgba(247, 244, 239, 0.25); }
.care-card__index {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--clay-deep);
  display: block;
  margin-bottom: 1.2rem;
}
.care-card__text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.care-card__text p { max-width: 46ch; opacity: 0.85; font-size: 1.03rem; }
.care-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.care-card__tags li {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(46, 58, 89, 0.25);
  border-radius: 100px;
  padding: 0.45rem 1rem;
}
.care-card__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 52vh;
}
.care-card__media--portrait {
  aspect-ratio: 5 / 6;
}
.care-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.35, 1);
}
.care-card:hover .care-card__media img { transform: scale(1.03); }
@media (max-width: 900px) {
  .care-card { grid-template-columns: 1fr; min-height: auto; position: relative; top: 0; }
  .care-card__media { max-height: none; order: -1; }
  .care-card__media--portrait { max-height: 440px; margin: 0 auto; width: 100%; }
}

/* ═══════════ FAMILIES ═══════════ */
.families {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(3rem, 6vw, 6rem);
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
  align-items: center;
  background: var(--cream);
}
.families__media { position: relative; }
.families__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.families__img-wrap img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.families__img-wrap--small {
  position: absolute;
  width: 46%;
  aspect-ratio: 1 / 1;
  right: -6%;
  bottom: -14%;
  border: 6px solid var(--cream);
  box-shadow: 0 22px 60px rgba(46, 58, 89, 0.22);
}
.families__content .section-head__title { margin-bottom: 2rem; }
.families__body { margin-bottom: 1.4rem; max-width: 52ch; opacity: 0.85; font-size: 1.05rem; }
.families__content .btn { margin-top: 1.2rem; }
@media (max-width: 900px) {
  .families { grid-template-columns: 1fr; }
  .families__media { margin-bottom: 3rem; max-width: 480px; }
}

/* ═══════════ COMMUNITIES — HORIZONTAL ═══════════ */
.communities { background: var(--ink-deep); color: var(--cream); overflow: hidden; }
.communities__pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.communities__head {
  padding: clamp(2rem, 5vh, 4rem) var(--pad) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem;
  justify-content: space-between;
}
.communities__head .section-head__title { color: var(--cream); }
.communities__hint {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
  padding-bottom: 0.8rem;
}
.communities__track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}
.comm-card {
  position: relative;
  width: clamp(280px, 28vw, 400px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pine);
  color: #ffffff;
}
.comm-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.35, 1), filter 0.6s;
}
.comm-card:hover img { transform: scale(1.04); filter: brightness(0.8); }
.comm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(20, 26, 44, 0.82) 70%, rgba(15, 20, 35, 0.98) 100%);
  pointer-events: none;
}
.comm-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.6rem;
  color: #ffffff;
}
.comm-card__type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-bottom: 0.5rem;
}
.comm-card__info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.comm-card__info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-top: 0.3rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* mobile: natural horizontal swipe instead of pin */
@media (max-width: 900px) {
  .communities__pin { height: auto; padding-bottom: 4rem; }
  .communities__track {
    width: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }
  .comm-card { scroll-snap-align: start; width: 80vw; aspect-ratio: 1 / 1; }
}

/* ═══════════ STORIES ═══════════ */
.stories { padding-bottom: clamp(5rem, 12vh, 9rem); }
.stories__list { padding: 0 var(--pad); display: grid; gap: 3rem; }
.story {
  border-top: 1px solid rgba(46, 58, 89, 0.15);
  padding-top: 2.5rem;
  max-width: 900px;
}
.story--alt { margin-left: auto; text-align: right; }
.story p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.story cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

/* ═══════════ CTA ═══════════ */
.cta {
  background: var(--clay);
  color: var(--cream);
  text-align: center;
  padding: clamp(6rem, 15vh, 11rem) var(--pad);
  border-radius: calc(var(--radius) * 2) calc(var(--radius) * 2) 0 0;
}
.cta__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin: 0 auto;
}
.cta__title em { color: var(--ink-deep); }
.cta__sub { max-width: 52ch; margin: 2rem auto 0; opacity: 0.9; font-size: 1.05rem; }
.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--ink-deep); color: var(--cream); padding: clamp(4rem, 8vh, 6rem) var(--pad) 1.5rem; overflow: hidden; }
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
.footer__tag {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
}
.footer__disclaimer {
  margin-top: 1.25rem;
  max-width: 48ch;
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.6;
}
.footer__logo {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-top: 1.6rem;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.footer__logo:hover {
  opacity: 1;
}
.footer__col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-soft);
  margin-bottom: 1.1rem;
}
.footer__col a, .footer__col span {
  display: block;
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 0.6rem;
  transition: opacity 0.3s, transform 0.3s;
}
.footer__col a:hover { opacity: 1; transform: translateX(4px); }
.footer__wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 17.5vw, 17rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(247, 244, 239, 0.1);
  user-select: none;
  margin-bottom: 2rem;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.78rem;
  opacity: 0.45;
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  padding-top: 1.4rem;
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col--wide { grid-column: 1 / -1; }
}

/* ═══════════ SUB-PAGES: PAGE HERO ═══════════ */
.page-hero { padding: clamp(9rem, 18vh, 13rem) var(--pad) clamp(2.5rem, 5vh, 4rem); }
.page-hero__title { max-width: 16ch; }
.page-hero__title em,
.page-hero__title em span,
.page-hero__title .word em,
.page-hero__title .word em span {
  color: #cd575c;
  color: var(--hero-accent);
  font-style: italic;
  font-weight: 500;
}
.page-hero__sub { margin-top: 1.8rem; max-width: 52ch; font-size: 1.08rem; opacity: 0.85; }
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after { transform: scaleX(1); }

/* ═══════════ COMMUNITIES PAGE ═══════════ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 var(--pad) 2.8rem;
}
.filter-btn {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid rgba(46, 58, 89, 0.25);
  border-radius: 100px;
  padding: 0.6rem 1.35rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.comm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  padding: 0 var(--pad) clamp(4rem, 9vh, 7rem);
}
.comm-grid .comm-card { width: auto; }
@media (max-width: 1000px) { .comm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .comm-grid { grid-template-columns: 1fr; } .comm-grid .comm-card { width: auto; } }

/* ═══════════ CONTACT PAGE ═══════════ */
.contact {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  padding: 1rem var(--pad) clamp(5rem, 12vh, 9rem);
  align-items: start;
}
.field { margin-bottom: 2.2rem; }
.field--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(46, 58, 89, 0.25);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--ink);
  padding: 0.55rem 0;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232e3a59' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(46, 58, 89, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--clay); }
.contact__note { margin-top: 1.2rem; font-size: 0.85rem; opacity: 0.55; }

.form-success { display: none; padding: 2rem 0; }
.form-success__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.form-success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.form-success p { max-width: 48ch; opacity: 0.85; font-size: 1.05rem; }
.form-success p a { color: var(--clay-deep); font-weight: 600; }

.contact__aside { display: flex; flex-direction: column; }
.aside-block {
  border-top: 1px solid rgba(46, 58, 89, 0.15);
  padding: 1.8rem 0 2.2rem;
}
.aside-block h4 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.9rem;
}
.aside-block p { opacity: 0.8; font-size: 0.98rem; max-width: 36ch; }
.aside-block__big {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}
.aside-block__big:hover { color: var(--clay-deep); }
.aside-block__link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1.5px solid var(--clay);
  padding-bottom: 0.15rem;
  transition: color 0.3s;
}
.aside-block__link:hover { color: var(--clay-deep); }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .field--half { grid-template-columns: 1fr; gap: 0; }
  .field--half > div { margin-bottom: 2.2rem; }
  .field--half > div:last-child { margin-bottom: 0; }
}

/* ═══════════ EMPLOYEE & CAREGIVER FOCUS ═══════════ */
.people {
  padding: clamp(6rem, 12vh, 10rem) var(--pad);
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.people .section-head__label { color: var(--clay-soft); }
.people .section-head__title { color: var(--cream); }
.people__top {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}
.people__top-content {
  display: flex;
  flex-direction: column;
}
.people__top-content .section-head {
  margin-bottom: 1.25rem;
}
.people__intro {
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 0;
}
.people__intro em {
  color: var(--clay-soft);
  font-style: italic;
  font-weight: 600;
}
.people__values-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: clamp(1.25rem, 2.5vw, 2.25rem);
}
.people__values-wrap::before {
  content: "";
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle, rgba(205, 87, 92, 0.28) 0%, rgba(255, 255, 255, 0.06) 55%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.people__values-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.people__values-img:hover {
  transform: scale(1.03) rotate(1deg);
}
.people__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}
.people-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(247, 244, 239, 0.12);
  border-radius: var(--radius);
  padding: clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.people-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(205, 87, 92, 0.5);
}
.people-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  margin-bottom: 1.4rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.people-card:hover .people-card__icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}
.people-card__icon svg {
  display: block;
  stroke: #ffffff;
}
.people-card__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  color: var(--cream);
}
.people-card__desc {
  font-size: 0.96rem;
  line-height: 1.65;
  opacity: 0.82;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.people-card__highlight {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay-soft);
  border-top: 1px solid rgba(247, 244, 239, 0.1);
  padding-top: 1rem;
}
.people__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(247, 244, 239, 0.15);
  padding-top: 2.5rem;
}
.people__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  opacity: 0.92;
  max-width: 55ch;
}
.people__quote span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.people__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .people__top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .people__top-content {
    align-items: center;
  }
  .people__values-img {
    max-width: 320px;
  }
  .people__grid { grid-template-columns: 1fr; }
  .people__footer { flex-direction: column; align-items: flex-start; }
}

/* ═══════════ COMMUNITY DETAIL / LOCATION PAGE ═══════════ */
.comm-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(8rem, 14vh, 11rem) var(--pad) clamp(3rem, 6vh, 5rem);
  color: var(--cream);
  background: var(--ink-deep);
  overflow: hidden;
}
.comm-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.comm-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.85);
}
.comm-hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 38, 63, 0.4) 0%, rgba(30, 38, 63, 0.92) 80%, var(--ink-deep) 100%);
}
.comm-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
}
.comm-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1.2rem;
}
.comm-hero__breadcrumbs a {
  color: var(--clay-soft);
  font-weight: 500;
  transition: color 0.3s;
}
.comm-hero__breadcrumbs a:hover { color: var(--cream); }
.comm-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.comm-badge {
  display: inline-block;
  background: rgba(205, 87, 92, 0.25);
  border: 1px solid var(--clay);
  color: #ffc4c6;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}
.comm-hero__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.comm-hero__tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  opacity: 0.9;
  max-width: 65ch;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}
.comm-hero__quick-bar {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  background: rgba(16, 24, 40, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.15rem clamp(1.2rem, 2.2vw, 2.2rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  position: relative;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.quick-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  opacity: 0.9;
}
.quick-item__icon svg {
  display: block;
  stroke: #ffffff;
}
.quick-item__text {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  line-height: 1.35;
}
.quick-item__text strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.quick-item__text span {
  color: var(--cream);
}
.quick-item__text a {
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
}
.comm-hero__cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}
.comm-hero__cta-group .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.comm-hero__cta-group .btn--fill {
  background: var(--clay);
  color: var(--cream);
}
.comm-hero__cta-group .btn--fill:hover {
  background: var(--cream);
  color: var(--ink);
}
.comm-hero__cta-group .btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.comm-hero__cta-group .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

/* Location Main Layout */
.comm-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(4rem, 8vh, 7rem) var(--pad);
  max-width: 1400px;
  margin: 0 auto;
}
.comm-layout__main {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vh, 4.5rem);
}
.comm-section-block {
  background: #ffffff;
  border: 1px solid rgba(46, 58, 89, 0.1);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 4px 20px rgba(46, 58, 89, 0.04);
}
.comm-block-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  margin-bottom: 1.2rem;
}
.comm-block-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.9;
  margin-bottom: 1.8rem;
}
.comm-preview-img-wrap {
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  max-height: 420px;
}
.comm-preview-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comm-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.comm-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--cream);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-deep);
}
.comm-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}
.comm-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.comm-amenity-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(46, 58, 89, 0.12);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.94rem;
  color: var(--ink);
}
.comm-amenity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  flex-shrink: 0;
}

/* Sidebar & Inquiry */
.comm-layout__sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: start;
}
.comm-inquiry-box {
  background: #ffffff;
  border: 2px solid var(--clay);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  box-shadow: 0 8px 30px rgba(46, 58, 89, 0.08);
  position: relative !important;
  top: auto !important;
}
.comm-inquiry-box__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink-deep);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.comm-inquiry-box__sub {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.comm-tour-form .form-group {
  margin-bottom: 1.2rem;
}
.comm-tour-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-deep);
  margin-bottom: 0.4rem;
}
.comm-tour-form input,
.comm-tour-form select,
.comm-tour-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d5cfc4;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink-deep);
  transition: border-color 0.3s;
}
.comm-tour-form input:focus,
.comm-tour-form select:focus,
.comm-tour-form textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: #ffffff;
}
.btn--full {
  width: 100%;
  text-align: center;
  margin-top: 0.6rem;
}
.comm-sidebar-callout {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(46, 58, 89, 0.12);
  text-align: center;
  font-size: 0.88rem;
}
.comm-sidebar-callout a {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clay-deep);
  margin-top: 0.25rem;
}
.comm-other-locations {
  background: var(--cream-dim);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.comm-other-locations h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--ink-deep);
}
.comm-other-locations ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.comm-other-locations li a {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  border-radius: 8px;
  transition: transform 0.2s, background 0.2s;
}
.comm-other-locations li a:hover {
  transform: translateX(4px);
  background: #fff8f8;
}
.comm-other-locations li strong {
  font-size: 0.92rem;
  color: var(--ink-deep);
}
.comm-other-locations li span {
  font-size: 0.78rem;
  opacity: 0.7;
}
.comm-view-all-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clay-deep);
}

@media (max-width: 1100px) {
  .comm-layout { grid-template-columns: 1fr; }
  .comm-hero__quick-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .comm-hero__cta-group {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
  }
}
@media (max-width: 540px) {
  .comm-hero__cta-group {
    flex-direction: column;
  }
  .comm-hero__cta-group .btn {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 650px) {
  .comm-checklist-grid, .comm-amenities-grid { grid-template-columns: 1fr; }
}

/* ═══════════ MOBILE HAMBURGER & DRAWER MENU ═══════════ */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav__burger:focus-visible {
  outline: 2px solid var(--clay);
}
.nav__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-deep);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.25s, background 0.3s;
}

.nav--dark:not(.is-scrolled) .nav__burger-line {
  background: #ffffff;
}

.nav__burger.is-active .nav__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--ink-deep) !important;
}
.nav__burger.is-active .nav__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.is-active .nav__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--ink-deep) !important;
}

@media (max-width: 900px) {
  .nav__burger {
    display: flex;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(247, 244, 239, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 5.5rem var(--pad) 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu__inner {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
}
.mobile-menu__link {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink-deep);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(46, 58, 89, 0.08);
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}
.mobile-menu__link:hover,
.mobile-menu__link.is-active {
  color: var(--clay);
  padding-left: 6px;
}

/* Mobile Communities Accordion */
.mobile-menu__dropdown {
  border-bottom: 1px solid rgba(46, 58, 89, 0.08);
}
.mobile-menu__dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink-deep);
  background: none;
  border: none;
  padding: 0.75rem 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.mobile-menu__dropdown-toggle:hover,
.mobile-menu__dropdown.is-open .mobile-menu__dropdown-toggle {
  color: var(--clay);
}
.mobile-menu__chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--clay);
}
.mobile-menu__dropdown.is-open .mobile-menu__chevron {
  transform: rotate(180deg);
}
.mobile-menu__sub {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.5rem 0 1.25rem 1rem;
  border-left: 2px solid var(--clay-soft);
  margin: 0.25rem 0 0.75rem 0.5rem;
}
.mobile-menu__dropdown.is-open .mobile-menu__sub {
  display: flex;
}
.mobile-menu__sub-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.mobile-menu__sub-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clay);
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
}
.mobile-menu__sub a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.3rem 0;
  line-height: 1.35;
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu__sub a:hover {
  color: var(--clay);
  transform: translateX(4px);
}
.mobile-menu__all-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--clay-deep) !important;
  margin-top: 0.5rem;
}
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
.mobile-menu__btn {
  width: 100%;
  text-align: center;
  padding: 0.95rem 1.5rem;
  font-size: 0.92rem;
  box-sizing: border-box;
}

body.menu-open {
  overflow: hidden !important;
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-split] .word > span, .reveal-line > span { transform: none; opacity: 1; }
  .manifesto__text .m-word { opacity: 1; }
  .hero__img-mask { clip-path: none; }
  .hero__badge { transform: scale(1); }
  .preloader { display: none; }
}
