/* ============================================================
   SAFE SPACE OASIS — Peer Support & Healing
   Design system & global styles
   ------------------------------------------------------------
   Palette : Noir (black) · Cream · Rose Gold
   Type    : Cormorant Garamond (display) · Jost (sans)
   Edit brand colours, fonts & spacing in :root below.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --noir:        #0c0b0b;
  --noir-90:     #100e0d;
  --noir-80:     #15110f;   /* warm near-black for layered sections */
  --char:        #1d1916;
  --cream:       #f3ece0;
  --cream-2:     #e9e0d0;
  --cream-ink:   #2b2521;   /* readable body text on cream */
  --cream-soft:  rgba(243, 236, 224, 0.74);
  --cream-faint: rgba(243, 236, 224, 0.46);

  /* Rose gold */
  --rose:        #c79284;
  --rose-light:  #e4bfb0;
  --rose-deep:   #a4736a;
  --line:        rgba(199, 146, 132, 0.30);
  --line-soft:   rgba(199, 146, 132, 0.15);
  --glow:        rgba(199, 146, 132, 0.22);
  --gold-grad:   linear-gradient(105deg, #eccab9 0%, #c98e7e 22%, #f2d6c8 42%, #bd7d6e 60%, #e8bfae 80%, #cf9685 100%);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Montserrat", system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-panel: cubic-bezier(0.76, 0, 0.24, 1);

  /* Layout */
  --container: 1180px;
  --container-wide: 1380px;
  --gut: clamp(22px, 5.2vw, 70px);
  --section-y: clamp(80px, 11vw, 170px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--cream-soft);
  background: var(--noir);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

/* Subtle film grain for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; color: var(--cream); }
h1 { font-size: clamp(2.9rem, 7.2vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
p  { max-width: 60ch; }

.display { font-weight: 300; letter-spacing: 0.01em; }
.metal {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
em, .italic { font-style: italic; }

/* Eyebrow / kicker label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before {
  content: "";
  width: clamp(22px, 3vw, 46px);
  height: 1px;
  background: var(--rose);
  opacity: 0.7;
}
.eyebrow--center::after {
  content: "";
  width: clamp(22px, 3vw, 46px);
  height: 1px;
  background: var(--rose);
  opacity: 0.7;
}

.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--cream-soft); font-weight: 300; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.container--wide { max-width: var(--container-wide); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.relative { position: relative; z-index: 2; }
.center { text-align: center; }
.measure { max-width: 64ch; }
.mx-auto { margin-inline: auto; }

/* Cream variant */
.section--cream { background: var(--cream); color: var(--cream-ink); }
.section--cream h1, .section--cream h2, .section--cream h3, .section--cream h4 { color: #211c19; }
.section--cream p { color: rgba(43, 37, 33, 0.78); }
.section--cream .eyebrow { color: var(--rose-deep); }
.section--cream .eyebrow::before, .section--cream .eyebrow--center::after { background: var(--rose-deep); }
.section--cream .lede { color: rgba(43, 37, 33, 0.82); }
.section--cream .hr-rose { background: linear-gradient(90deg, transparent, var(--rose-deep), transparent); }

/* Layered dark variant */
.section--noir-2 { background: var(--noir-80); }

/* Divider */
.hr-rose { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; }
.diamond { display: inline-block; width: 7px; height: 7px; background: var(--rose); transform: rotate(45deg); margin-inline: 0.6em; }

/* Soft rose glow background accent */
.glow-accent { position: absolute; border-radius: 50%; filter: blur(90px); background: var(--glow); pointer-events: none; z-index: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: var(--rose-light);
  --btn-border: var(--rose);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.73rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--btn-fg);
  padding: 1.15em 2.4em;
  border: 1px solid var(--btn-border);
  border-radius: 1px;
  overflow: hidden;
  transition: color 0.55s var(--ease), border-color 0.55s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--noir); border-color: transparent; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:focus-visible { outline: 2px solid var(--rose-light); outline-offset: 4px; }

.btn--solid { color: var(--noir); border-color: transparent; }
.btn--solid::before { transform: scaleX(1); }
.btn--solid:hover::before, .btn--solid:focus-visible::before { transform: scaleX(1); filter: brightness(1.08); }

.btn--ghost { --btn-fg: var(--cream); --btn-border: var(--line); }
.section--cream .btn { --btn-fg: var(--rose-deep); --btn-border: var(--rose-deep); }
.section--cream .btn:hover, .section--cream .btn:focus-visible { color: var(--noir); }

.btn--mini { padding: 0.85em 1.6em; font-size: 0.66rem; letter-spacing: 0.2em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; }
.btn-row--center { justify-content: center; }

/* Arrow text link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-light);
  transition: gap 0.4s var(--ease), color 0.4s;
}
.link-arrow .arw { width: 26px; height: 1px; background: currentColor; position: relative; transition: width 0.4s var(--ease); }
.link-arrow .arw::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover { gap: 1.1em; color: var(--rose); }
.link-arrow:hover .arw { width: 38px; }
.section--cream .link-arrow { color: var(--rose-deep); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  transition: background 0.5s var(--ease-soft), padding 0.5s var(--ease-soft), border-color 0.5s, box-shadow 0.5s;
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(18px, 2.4vw, 30px);
}
.site-header.scrolled {
  background: rgba(10, 9, 9, 0.78);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border-bottom-color: var(--line-soft);
}
.site-header.scrolled .header-inner { padding-block: clamp(12px, 1.6vw, 18px); }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 0.85rem; z-index: 2; }
.brand__mark { width: auto; height: 44px; flex: none; transition: transform 0.6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.18rem, 1.6vw, 1.45rem); letter-spacing: 0.05em; line-height: 1.12; color: var(--cream); }
.brand__tag { font-family: var(--sans); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose-light); margin-top: 0.4em; padding-left: 0.12em; }

/* Primary nav */
.primary-nav > ul { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.8rem); }
.primary-nav a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-soft);
  padding-block: 0.4rem;
  transition: color 0.4s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease);
}
.primary-nav a:hover, .primary-nav li.active > a { color: var(--cream); }
.primary-nav a:hover::after, .primary-nav li.active > a::after { transform: scaleX(1); transform-origin: left center; }

/* Services dropdown */
.has-sub { position: relative; }
.subnav {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 12px);
  min-width: 268px;
  padding: 1.1rem 0.5rem;
  background: rgba(13, 11, 11, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-soft);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 6px); }
.subnav a { display: block; padding: 0.7rem 1.5rem; letter-spacing: 0.14em; }
.subnav a::after { display: none; }
.subnav a:hover { color: var(--rose-light); padding-left: 1.8rem; }

.header-cta { display: inline-flex; }
.nav-toggle { display: none; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.nav-toggle {
  position: relative;
  width: 38px; height: 22px;
  z-index: 110;
}
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--cream); transition: transform 0.45s var(--ease), opacity 0.3s; }
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--noir-90);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 14vh, 130px) var(--gut) var(--gut);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-panel);
  pointer-events: none;
  overflow-y: auto;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 18%, rgba(199,146,132,0.12), transparent 70%);
  pointer-events: none;
}
.m-nav { display: flex; flex-direction: column; gap: 0.3rem; position: relative; }
.m-nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--cream);
  letter-spacing: 0.02em;
  padding: 0.28em 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.4s;
}
body.menu-open .m-nav a { opacity: 1; transform: translateY(0); }
.m-nav a:hover { color: var(--rose-light); }
.m-nav .m-sublink { font-size: clamp(1rem, 4.6vw, 1.25rem); font-family: var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-soft); padding-left: 1.4em; }
.m-meta { margin-top: clamp(2rem, 6vh, 3.4rem); display: flex; flex-direction: column; gap: 1.1rem; position: relative; }
.m-meta a { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); }
.m-socials { display: flex; gap: 1.4rem; }
.m-socials a { color: var(--cream-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(120px, 18vh, 200px) clamp(70px, 10vh, 120px);
  overflow: hidden;
}
.hero--page { min-height: 72vh; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 78% 18%, rgba(199,146,132,0.16), transparent 55%),
    radial-gradient(90% 70% at 12% 95%, rgba(199,146,132,0.08), transparent 60%),
    linear-gradient(180deg, var(--noir) 0%, #120f0e 55%, var(--noir) 100%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 96px);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
  opacity: 0.5;
}
.hero__content { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin-block: 0.32em 0.44em; }
.hero .lede { max-width: 52ch; }
.hero .btn-row { margin-top: clamp(2rem, 4vw, 3rem); }
.hero__logo-slot { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.affirm { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--rose-light); letter-spacing: 0.02em; }
.section--cream .affirm { color: var(--rose-deep); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: clamp(22px, 4vh, 44px);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.scroll-cue .line { width: 1px; height: 50px; background: linear-gradient(var(--rose), transparent); overflow: hidden; }
.scroll-cue .line::after { content: ""; display: block; width: 100%; height: 40%; background: var(--rose-light); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(250%); } }

/* Page-hero (interior pages) */
.page-hero { position: relative; padding-block: clamp(150px, 22vh, 250px) clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(100% 90% at 80% 0%, rgba(199,146,132,0.14), transparent 55%),
    linear-gradient(180deg, #100d0c, var(--noir)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { margin-top: 0.3em; max-width: 16ch; }
.page-hero p { margin-top: 1.4rem; }
.crumbs { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-faint); }
.crumbs a:hover { color: var(--rose); }
.crumbs span { color: var(--rose); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.s-head { max-width: 760px; }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head .eyebrow { margin-bottom: 1.5rem; }
.s-head h2 { margin-bottom: 1.3rem; }

/* Two-column editorial */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }

/* ============================================================
   IMAGE PLACEHOLDER  (swap for client photography)
   ============================================================ */
.img-ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(199,146,132,0.10), transparent 70%),
    linear-gradient(160deg, #181412, #0e0c0b);
  border: 1px solid var(--line);
  overflow: hidden;
}
.img-ph::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line-soft); pointer-events: none; }
.img-ph__label { position: relative; text-align: center; color: var(--cream-faint); font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; padding: 1rem; }
.img-ph__label .ico { display: block; margin: 0 auto 1rem; width: 40px; color: var(--rose); opacity: 0.8; }
.img-ph--wide { aspect-ratio: 16 / 10; }
.img-ph--square { aspect-ratio: 1 / 1; }
.img-ph--tall { aspect-ratio: 3 / 4; }
.section--cream .img-ph { background: radial-gradient(80% 60% at 50% 30%, rgba(199,146,132,0.12), transparent 70%), linear-gradient(160deg, #efe6d8, #e6dccb); border-color: var(--line); }
.section--cream .img-ph__label { color: var(--rose-deep); }
/* corner ticks */
.framed { position: relative; }
.framed::before, .framed::after { content: ""; position: absolute; width: 26px; height: 26px; border: 1px solid var(--rose); opacity: 0.7; }
.framed::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.framed::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); }
.s-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 3.2vw, 3rem) clamp(1.7rem, 2.6vw, 2.6rem);
  background: linear-gradient(165deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.7s var(--ease), border-color 0.6s var(--ease), box-shadow 0.7s var(--ease), background 0.6s;
}
.s-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.s-card:hover {
  transform: translateY(-12px);
  border-color: var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  box-shadow: 0 36px 70px -34px rgba(0,0,0,0.85), 0 0 0 1px rgba(199,146,132,0.10);
}
.s-card:hover::before { transform: scaleX(1); }
.s-card__num { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.3em; color: var(--rose); margin-bottom: 1.8rem; }
.s-card__icon { width: 46px; height: 46px; color: var(--rose); margin-bottom: 1.6rem; transition: transform 0.6s var(--ease); }
.s-card:hover .s-card__icon { transform: scale(1.08) translateY(-2px); }
.s-card h3 { margin-bottom: 0.9rem; transition: color 0.4s; }
.s-card p { font-size: 0.94rem; color: var(--cream-soft); flex: 1; margin-bottom: 1.8rem; }
.s-card .link-arrow { margin-top: auto; }

/* Feature / value list */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 3.4rem) clamp(2.5rem, 5vw, 5rem); }
.value-grid--2 { grid-template-columns: repeat(2, 1fr); }
.value-grid--3 { grid-template-columns: repeat(3, 1fr); }
.value {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.value__num { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0.28em; color: var(--rose); }
.value h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 1rem 0 0.7rem; }
.value p { font-size: 0.95rem; }

/* Numbered "what to expect" steps */
.steps { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.step { background: var(--noir); padding: clamp(1.8rem, 3vw, 2.6rem); display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start; transition: background 0.5s; }
.step:hover { background: var(--noir-80); }
.step__n { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--rose); line-height: 1; min-width: 1.6em; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; margin: 0; }
.section--cream .step { background: var(--cream); }
.section--cream .step:hover { background: var(--cream-2); }

/* Benefit ticks */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; }
.benefit { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-soft); }
.benefit__mark { width: 30px; height: 30px; flex: none; color: var(--rose); margin-top: 0.1rem; }
.benefit h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); font-weight: 400; margin-bottom: 0.4rem; }
.benefit p { font-size: 0.9rem; margin: 0; }
.section--cream .benefit h4 { color: #211c19; }

/* ============================================================
   EXPERIENCE / FEATURE STRIP
   ============================================================ */
.exp-list { display: grid; gap: 0; }
.exp {
  display: grid;
  grid-template-columns: 0.5fr 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  padding-block: clamp(1.8rem, 3.2vw, 2.8rem);
  border-top: 1px solid var(--line-soft);
  transition: padding-left 0.6s var(--ease);
}
.exp:last-child { border-bottom: 1px solid var(--line-soft); }
.exp:hover { padding-left: clamp(0.5rem, 1.5vw, 1.5rem); }
.exp__n { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.3em; color: var(--rose); }
.exp h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.exp p { font-size: 0.95rem; margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.t-slider { position: relative; max-width: 860px; margin-inline: auto; text-align: center; }
.t-quote-mark { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); line-height: 0.5; color: var(--rose); opacity: 0.5; height: 0.4em; }
.t-track { position: relative; }
.t-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), visibility 0.8s;
}
.t-slide.is-active { position: relative; opacity: 1; visibility: visible; transform: translateY(0); }
.t-slide blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.4; color: var(--cream); margin: 0 auto 2rem; max-width: 24ch; }
.t-slide cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rose); }
.t-slide cite span { display: block; color: var(--cream-faint); margin-top: 0.5rem; letter-spacing: 0.16em; }
.t-dots { display: flex; gap: 0.7rem; justify-content: center; margin-top: 2.6rem; }
.t-dots button { width: 28px; height: 2px; background: var(--line); transition: background 0.4s; }
.t-dots button.is-active { background: var(--rose); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  padding-block: clamp(90px, 13vw, 180px);
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(60% 90% at 50% 50%, rgba(199,146,132,0.18), transparent 70%),
    linear-gradient(180deg, var(--noir), #130f0e); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--line-soft) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); opacity: 0.6; }
.cta .container { position: relative; z-index: 2; }
.cta h2 { margin-bottom: 1.4rem; }
.cta p { margin: 0 auto 2.6rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { max-width: 880px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  padding: clamp(1.5rem, 2.6vw, 2.1rem) 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--cream);
  transition: color 0.4s;
}
.faq-q:hover { color: var(--rose-light); }
.faq-item.open .faq-q { color: var(--rose-light); }
.faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: var(--rose); transition: transform 0.45s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.open .faq-icon::after { transform: rotate(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.55s var(--ease), opacity 0.45s var(--ease); opacity: 0; }
.faq-item.open .faq-a { opacity: 1; }
.faq-a__inner { padding: 0 0 clamp(1.5rem, 2.6vw, 2.1rem); }
.faq-a p { font-size: 0.98rem; max-width: 72ch; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.info-block { margin-bottom: 2.6rem; }
.info-block:last-child { margin-bottom: 0; }
.info-block .eyebrow { margin-bottom: 1rem; }
.info-block a, .info-block address { font-style: normal; }
.info-line { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.7rem; }
.info-line .ico { width: 20px; color: var(--rose); flex: none; margin-top: 0.3rem; }
.info-line .big { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--cream); transition: color 0.4s; }
.info-line a:hover .big, a.info-line:hover .big { color: var(--rose-light); }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
.hours-row span:last-child { color: var(--cream); }
.socials { display: flex; gap: 1rem; margin-top: 1.2rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); color: var(--cream-soft); transition: color 0.4s, border-color 0.4s, transform 0.4s; }
.socials a:hover { color: var(--rose-light); border-color: var(--rose); transform: translateY(-3px); }

/* Form */
.form { display: grid; gap: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.field { position: relative; }
.field label { display: block; font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.7rem; }
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 300;
  transition: border-color 0.4s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; }
.field select option { background: var(--noir-90); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--rose-light); }
.form-note { font-size: 0.78rem; color: var(--cream-faint); }
.form-status { font-size: 0.9rem; letter-spacing: 0.04em; min-height: 1.2em; transition: color 0.3s; }
.form-status.ok { color: var(--rose-light); }
.form-status.err { color: #e0a09a; }

/* Map / location placeholder */
.map-ph { aspect-ratio: 21 / 9; border: 1px solid var(--line); display: grid; place-items: center; background: linear-gradient(160deg, #141110, #0d0b0a); position: relative; }
.map-ph::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 40px 40px; opacity: 0.5; }
.map-ph span { position: relative; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cream-faint); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; background: var(--noir-90); border-top: 1px solid var(--line-soft); padding-block: 0 2.4rem; }
.site-footer > .container { padding-top: clamp(56px, 8vw, 96px); }
.footer-crisis { text-align: center; padding-block: 1.05rem; border-bottom: 1px solid var(--line-soft); background: rgba(199,146,132,0.05); }
.footer-crisis .container { font-size: 0.82rem; letter-spacing: 0.03em; color: var(--cream-soft); }
.foot-medicaid { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); }
.footer-brand .brand { margin-bottom: 1.6rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.foot-col h4 { font-family: var(--sans); font-size: 0.66rem; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose); margin-bottom: 1.5rem; }
.foot-col ul { display: grid; gap: 0.85rem; }
.foot-col a, .foot-col li { font-size: 0.9rem; color: var(--cream-soft); transition: color 0.35s, padding-left 0.35s; }
.foot-col a:hover { color: var(--rose-light); padding-left: 0.4rem; }
.foot-contact a { display: block; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.footer-bottom p, .footer-bottom a { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--cream-faint); }
.footer-bottom a:hover { color: var(--rose); }
.footer-legal { display: flex; gap: 1.6rem; }

/* ============================================================
   CALLOUT + RESOURCE LIST  (resources / medicaid pages)
   ============================================================ */
.callout { position: relative; border: 1px solid var(--rose); background: linear-gradient(165deg, rgba(199,146,132,0.09), rgba(199,146,132,0.02)); padding: clamp(1.9rem, 3.2vw, 3rem); box-shadow: 0 0 70px -28px var(--glow); }
.callout .eyebrow { margin-bottom: 1rem; }
.callout h3 { color: var(--cream); margin-bottom: 0.8rem; }
.callout p { font-size: 0.96rem; }
.section--cream .callout { background: linear-gradient(165deg, rgba(199,146,132,0.14), rgba(199,146,132,0.03)); }
.section--cream .callout h3 { color: #211c19; }

.res-list { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.res { background: var(--noir); padding: clamp(1.4rem, 2.4vw, 2rem) clamp(1.5rem, 2.6vw, 2.2rem); display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1.5rem; align-items: baseline; transition: background 0.4s; }
.res:hover { background: var(--noir-80); }
.res h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 1.8vw, 1.45rem); color: var(--cream); }
.res p { font-size: 0.9rem; margin: 0.2rem 0 0; grid-column: 1 / -1; max-width: 70ch; }
.res__contact { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.05em; color: var(--rose-light); white-space: nowrap; }
a.res__contact:hover { color: var(--rose); }
.section--cream .res { background: var(--cream); }
.section--cream .res:hover { background: var(--cream-2); }
.section--cream .res h4 { color: #211c19; }
.section--cream .res__contact { color: var(--rose-deep); }

/* anchored sections clear the fixed header */
[id] { scroll-margin-top: clamp(90px, 12vh, 120px); }

/* ============================================================
   BRAND ICONS (rose-gold raster) + DIVIDER
   ============================================================ */
.ic { display: block; object-fit: contain; }
.ic--card { width: 58px; height: 58px; margin-bottom: 1.5rem; transition: transform 0.6s var(--ease); }
.s-card:hover .ic--card { transform: scale(1.08) translateY(-3px); }
.ic--value { width: 50px; height: 50px; margin-bottom: 0.4rem; }
.ic--benefit { width: 42px; height: 42px; flex: none; margin-top: 0.1rem; }
.ic--info { width: 32px; height: 32px; flex: none; margin-top: 0.2rem; }
.divider-img { display: block; margin: 2rem auto 0; width: clamp(200px, 30vw, 320px); height: auto; pointer-events: none; }
.divider-img--tight { margin-top: 1.2rem; width: clamp(170px, 24vw, 250px); }

/* ============================================================
   SCROLL REVEAL  (only active when JS present)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.05s var(--ease), transform 1.05s var(--ease); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--left { transform: translateX(-34px); }
.js .reveal--scale { transform: scale(0.96); }

/* ============================================================
   INTRO PANEL ANIMATION  (homepage)
   ============================================================ */
.intro { position: fixed; inset: 0; z-index: 1000; pointer-events: none; display: none; }
.js .intro { pointer-events: auto; display: block; }
.intro__panel { position: absolute; top: 0; height: 100%; width: 51%; background: linear-gradient(180deg, #0b0a0a, #050404); }
.intro__panel--l { left: 0; transform: translateX(0); }
.intro__panel--r { right: 0; transform: translateX(0); }
.intro__seam { position: absolute; top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); background: linear-gradient(180deg, transparent, var(--rose), transparent); opacity: 0; transition: opacity 0.8s ease; }
.intro__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.intro__mark { width: auto; height: clamp(96px, 16vw, 132px); animation: breathe 5s var(--ease-soft) infinite; will-change: transform; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.075); } }
.intro__name { font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 3rem); letter-spacing: 0.14em; max-width: 90vw; line-height: 1.14; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease) 0.2s, transform 1s var(--ease) 0.2s; }
.intro__rule { width: 0; height: 1px; background: var(--gold-grad); transition: width 1.1s var(--ease) 0.35s; }
.intro__tag { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--rose); opacity: 0; transition: opacity 1s ease 0.6s; }
.intro__enter { margin-top: 1rem; opacity: 0; transform: translateY(10px); transition: opacity 1s var(--ease) 0.5s, transform 1s var(--ease) 0.5s; box-shadow: 0 0 44px -10px var(--glow); }

/* play sequence */
.intro.is-playing .intro__center { opacity: 1; }
.intro.is-playing .intro__name { opacity: 1; transform: none; }
.intro.is-playing .intro__rule { width: clamp(120px, 20vw, 240px); }
.intro.is-playing .intro__tag { opacity: 1; }
.intro.is-playing .intro__enter { opacity: 1; transform: none; }
.intro.is-playing .intro__seam { opacity: 1; }

/* opening — the doors part */
.intro.is-opening .intro__center { opacity: 0; transition: opacity 0.5s ease; }
.intro.is-opening .intro__mark { animation: none; }
.intro.is-opening .intro__seam { opacity: 0; }
.intro.is-opening .intro__panel--l { transform: translateX(-101%); transition: transform 1.4s var(--ease-panel); }
.intro.is-opening .intro__panel--r { transform: translateX(101%); transition: transform 1.4s var(--ease-panel); }
.intro.is-done { display: none; }

/* keep page from scrolling during intro */
body.intro-lock { overflow: hidden; }
/* hero entrance after intro */
.js .home-hero .hero__content > * { opacity: 0; transform: translateY(26px); }
.home-hero.reveal-hero .hero__content > * { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.home-hero.reveal-hero .hero__content > *:nth-child(1) { transition-delay: 0.05s; }
.home-hero.reveal-hero .hero__content > *:nth-child(2) { transition-delay: 0.18s; }
.home-hero.reveal-hero .hero__content > *:nth-child(3) { transition-delay: 0.30s; }
.home-hero.reveal-hero .hero__content > *:nth-child(4) { transition-delay: 0.42s; }
.home-hero.reveal-hero .hero__content > *:nth-child(5) { transition-delay: 0.54s; }

/* ============================================================
   PAGE TRANSITION
   ============================================================ */
.page-transition { position: fixed; inset: 0; z-index: 900; background: var(--noir); pointer-events: none; opacity: 0; visibility: hidden; }
/* Covers on load, then fades out — flash-free entrance, works even if main.js fails */
.js .page-transition { animation: ptReveal 0.85s var(--ease-soft) forwards; }
@keyframes ptReveal { 0% { opacity: 1; visibility: visible; } 99% { visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
.page-transition.cover { animation: none; opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-soft); }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.maxw-sm { max-width: 540px; } .maxw-md { max-width: 720px; }
.stack > * + * { margin-top: 1.2rem; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--rose); color: var(--noir); padding: 0.8rem 1.4rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.6rem; }
  .footer-brand { grid-column: 1 / -1; }
  .exp { grid-template-columns: auto 1fr; }
  .exp__n { grid-row: span 2; }
}

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; gap: 2.6rem; }
  .split__media { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .split--media-below .split__media { order: 0; }
  .card-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-y: clamp(64px, 13vw, 96px); }
  .benefits { grid-template-columns: 1fr; }
  .value-grid--3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .exp { grid-template-columns: 1fr; gap: 0.6rem; }
  .exp__n { grid-row: auto; }
  .brand__tag { display: none; }
  .step { grid-template-columns: 1fr; gap: 0.8rem; }
  .hero { min-height: 92svh; }
}

@media (max-width: 420px) {
  .btn { padding: 1.05em 1.7em; letter-spacing: 0.18em; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scroll-cue .line::after { display: none; }
}
