/* Unity First Wellness — Design System (Urbanist) */
:root {
  --bg: #f4efe6;
  --bg-elevated: #fffdf9;
  --bg-soft: #ebe4d7;
  --ink: #12100e;
  --espresso: #1c1712;
  --espresso-soft: #2e261f;
  --muted: #6a635a;
  --gold: #c9a24a;
  --gold-bright: #dfc06a;
  --gold-deep: #9a7528;
  --gold-wash: rgba(201, 162, 74, 0.14);
  --olive: #2f3830;
  --olive-soft: #3d4a3f;
  --line: rgba(28, 23, 18, 0.1);
  --line-strong: rgba(28, 23, 18, 0.16);
  --shadow: 0 18px 50px rgba(18, 16, 14, 0.1);
  --shadow-lg: 0 30px 80px rgba(18, 16, 14, 0.16);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --font: "Urbanist", "Segoe UI", sans-serif;
  --nav-h: 4.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
  --wide: 88rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 90% 50% at 100% 0%, rgba(201, 162, 74, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 40% at 0% 100%, rgba(47, 56, 48, 0.06), transparent 45%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-deep);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: var(--espresso);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2.5rem, var(--wide));
  margin-inline: auto;
}

/* Typography — Urbanist */
.eyebrow {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}

h1,
h2,
h3,
.display {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.03em;
}

h1,
.display-xl {
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
  font-weight: 700;
  margin: 0 0 1.15rem;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 650;
  margin: 0 0 0.7rem;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 400;
  color: var(--muted);
  max-width: 38rem;
  margin: 0;
  line-height: 1.7;
}

.fine {
  font-size: 0.92rem;
  color: var(--muted);
}

.gold-rule {
  width: 3.25rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border: 0;
  margin: 1.35rem 0;
  border-radius: 99px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease),
    transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--espresso), var(--espresso-soft));
  color: #fffdf9;
  box-shadow: 0 10px 28px rgba(28, 23, 18, 0.22);
}

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

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--espresso);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(201, 162, 74, 0.35);
}

.btn--gold:hover {
  filter: brightness(1.05);
  color: var(--espresso);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 253, 249, 0.4);
}

.btn--ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline {
  background: transparent;
  color: var(--espresso);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold-wash);
  color: var(--espresso);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr);
  align-items: center;
  gap: 0.5rem;
  min-height: var(--nav-h);
  width: min(100% - 1.5rem, var(--wide));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
  justify-self: start;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(201, 162, 74, 0.35));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand__sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  grid-column: 2;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 0.4rem 0.48rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--espresso-soft);
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
  background: var(--gold-wash);
  text-decoration: none;
}

.nav__cta {
  justify-self: end;
  grid-column: 3;
  min-height: 2.7rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  border-radius: 0.65rem;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0;
  background: var(--espresso);
  border-radius: 99px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.36rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.36rem) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* Hero with photo */
.hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffdf9;
  background: var(--espresso);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 16, 14, 0.88) 0%, rgba(18, 16, 14, 0.62) 48%, rgba(18, 16, 14, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 16, 14, 0.7) 0%, transparent 45%);
}

.hero__glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -6rem;
  top: 10%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.28), transparent 65%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 8rem 0 5.5rem;
}

.hero .eyebrow {
  color: var(--gold-bright);
}

.hero h1 {
  color: #fffdf9;
  max-width: 14ch;
}

.hero .lede {
  color: rgba(255, 253, 249, 0.82);
}

.hero__brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero__logo {
  width: min(9.5rem, 42vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero__brand {
  font-family: var(--font);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0;
}

.page-hero {
  position: relative;
  padding: 5.5rem 0 3.75rem;
  overflow: hidden;
  background: linear-gradient(160deg, #1c1712 0%, #2e261f 55%, #3d342b 100%);
  color: #fffdf9;
}

.page-hero--image {
  min-height: 22rem;
  display: grid;
  align-items: end;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18, 16, 14, 0.88), rgba(18, 16, 14, 0.45));
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
}

.page-hero .eyebrow {
  color: var(--gold-bright);
}

.page-hero h1 {
  color: #fffdf9;
}

.page-hero .lede {
  color: rgba(255, 253, 249, 0.8);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding: 3.75rem 0;
}

.section--espresso {
  background: linear-gradient(160deg, var(--espresso), var(--olive));
  color: #fffdf9;
}

.section--espresso h2,
.section--espresso h3 {
  color: #fffdf9;
}

.section--espresso .lede,
.section--espresso .fine,
.section--espresso p {
  color: rgba(255, 253, 249, 0.78);
}

.section--deep {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.section--olive {
  background: var(--olive);
  color: #fffdf9;
}

.section--olive h2,
.section--olive h3 {
  color: #fffdf9;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--center .gold-rule {
  margin-inline: auto;
}

.section-head--center .lede {
  margin-inline: auto;
}

/* Image pathway cards */
.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pathway {
  position: relative;
  min-height: 22rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.pathway:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: #fff;
  text-decoration: none;
}

.pathway__img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.pathway__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.pathway:hover .pathway__img img {
  transform: scale(1.07);
}

.pathway__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.15) 0%, rgba(18, 16, 14, 0.82) 70%);
}

.pathway__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 55%;
}

.pathway__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 0.55rem;
}

.pathway h3 {
  color: #fff;
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
}

.pathway p {
  color: rgba(255, 253, 249, 0.78);
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pathway__go {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split > * {
  min-width: 0;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
}

.media-frame--wide {
  aspect-ratio: 16 / 10;
}

.media-frame--square {
  aspect-ratio: 1;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: inherit;
  pointer-events: none;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-frame--round {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--gold);
  max-width: 26rem;
  margin-inline: auto;
  box-shadow: 0 0 0 8px var(--gold-wash);
}

.portrait-frame--round img {
  object-position: center 20%;
}

.portrait-frame--sm {
  max-width: 16rem;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
}

.botanical-bg {
  background:
    radial-gradient(circle at 20% 80%, rgba(201, 162, 74, 0.16), transparent 40%),
    var(--bg-soft);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.55rem;
  border-bottom: 1px solid var(--line);
  color: var(--espresso-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 0 4px var(--gold-wash);
}

/* Care finder */
.finder__q {
  font-family: var(--font);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.9rem;
}

.choice {
  appearance: none;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(18, 16, 14, 0.04);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.choice:hover,
.choice[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffefb, #f8f1e2);
  transform: translateY(-2px);
}

.choice strong {
  display: block;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.choice span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Support audience cards (MindCare / Frontline) */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.support-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.support-card__body {
  padding: 1.6rem 1.25rem 1.55rem;
  text-align: center;
}

.support-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(201, 162, 74, 0.18), rgba(201, 162, 74, 0.06));
  color: var(--gold-deep);
  border: 1px solid rgba(201, 162, 74, 0.4);
}

.support-card__icon svg {
  width: 2.15rem;
  height: 2.15rem;
}

.support-card strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.support-card__body > span:last-child {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.finder-result {
  display: none;
  padding: 2rem;
  background: linear-gradient(145deg, var(--espresso), var(--olive));
  color: #fffdf9;
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
}

.finder-result.is-visible {
  display: block;
  animation: rise 0.6s var(--ease);
}

.finder-result h3 {
  color: #fffdf9;
}

.finder-result p {
  color: rgba(255, 253, 249, 0.8);
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
  font-weight: 700;
}

.membership-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding: 3rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 162, 74, 0.22), transparent 40%),
    linear-gradient(145deg, var(--espresso), var(--olive));
  color: #fffdf9;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.membership-panel h2,
.membership-panel h3 {
  color: #fffdf9;
}

.membership-panel .price {
  font-family: var(--font);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-bright);
  margin: 1rem 0;
  letter-spacing: -0.03em;
}

.membership-panel .price span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.65);
}

.perk {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 253, 249, 0.15);
  font-size: 1.05rem;
}

.perk strong {
  color: var(--gold-bright);
  font-weight: 700;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

.team-card {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.15rem;
  align-items: start;
}

.team-card__photo {
  width: 8rem;
  height: 10rem;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0.25rem 0 0.75rem;
}

.team-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

/* Groups */
.group-stack {
  display: grid;
  gap: 0;
}

.group-item {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 1.75rem 2rem;
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.group-item:last-child {
  border-bottom: 1px solid var(--line);
}

.group-item__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.group-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.group-item:hover .group-item__media img {
  transform: scale(1.05);
}

.group-item__body {
  min-width: 0;
}

.group-item__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.55rem;
}

/* My Divine */
.divine-hero {
  background: linear-gradient(145deg, #1a1612 0%, #2a221c 50%, #3d2f28 100%);
}

.service-menu {
  display: grid;
  gap: 0;
}

.service-menu__cat {
  margin: 2.5rem 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.service-row {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  gap: 1rem 1.15rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.service-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(201, 162, 74, 0.16), rgba(201, 162, 74, 0.05));
  color: var(--gold-deep);
  border: 1px solid rgba(201, 162, 74, 0.38);
  flex-shrink: 0;
}

.service-row__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.service-row__copy h3 {
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
}

.service-row__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.service-row__price {
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 0.15rem;
}

/* Frontline dual audience */
.audience-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.audience-panel {
  padding: 2.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.audience-panel--dark {
  background: linear-gradient(160deg, var(--espresso), var(--olive));
  color: #fffdf9;
  border-color: transparent;
}

.audience-panel--dark h3 {
  color: #fffdf9;
}

.audience-panel--dark p,
.audience-panel--dark li {
  color: rgba(255, 253, 249, 0.8);
}

.audience-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.audience-panel li {
  margin: 0.45rem 0;
}

/* Visual mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.mosaic__main,
.mosaic__side {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mosaic__main {
  min-height: 24rem;
}

.mosaic__side {
  display: grid;
  gap: 1rem;
}

.mosaic__side > * {
  min-height: 11.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form */
.form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
  width: 100%;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-wash);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f0d0b, #1c1712);
  color: rgba(255, 253, 249, 0.72);
  padding: 4.5rem 0 2rem;
}

.site-footer a {
  color: rgba(255, 253, 249, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand__name {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffdf9;
  margin: 0 0 0.75rem;
}

.footer-brand__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin: 0.55rem 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 253, 249, 0.12);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gold-bright);
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  max-width: 2.65rem;
  max-height: 2.65rem;
  overflow: hidden;
  border-radius: 0.65rem;
  background: var(--espresso);
  color: #fffdf9;
  border: 1px solid rgba(201, 162, 74, 0.45);
  box-shadow: var(--shadow);
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.back-to-top:hover {
  color: var(--gold-bright);
  background: var(--olive);
}

.back-to-top svg {
  display: block;
  width: 1.15rem !important;
  height: 1.15rem !important;
  max-width: 1.15rem;
  max-height: 1.15rem;
  flex-shrink: 0;
}

.insurance-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeBrand {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__brand-lockup {
  animation: fadeBrand 1.1s var(--ease) both;
}

.hero h1 {
  animation: rise 1s var(--ease) 0.15s both;
}

.hero .lede,
.hero .btn-row {
  animation: rise 1s var(--ease) 0.3s both;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

/* Responsive — large desktop, laptop, tablet, phone */
@media (max-width: 1400px) {
  .nav__link {
    padding: 0.38rem 0.42rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1200px) {
  .nav__link {
    padding: 0.34rem 0.36rem;
    font-size: 0.76rem;
  }

  .pathways {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  :root {
    --nav-h: 4.5rem;
  }

  .site-header__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
  }

  .brand {
    justify-self: auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  .nav__cta {
    order: 3;
    justify-self: auto;
    width: auto;
    min-height: 2.6rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.68rem;
    flex-shrink: 0;
  }

  .nav {
    order: 4;
    position: fixed;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    right: 0;
    left: 0;
    bottom: auto;
    z-index: 99;
    max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(244, 239, 230, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem max(1.25rem, env(safe-area-inset-right, 0px))
      calc(1.35rem + env(safe-area-inset-bottom, 0px)) max(1.25rem, env(safe-area-inset-left, 0px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-self: stretch;
    width: 100%;
    grid-column: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    padding: 0.95rem 0.25rem;
    font-size: 0.95rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .split,
  .membership-panel,
  .audience-tabs,
  .team-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 2rem;
  }

  .team-card {
    grid-template-columns: 6.5rem 1fr;
    gap: 0.95rem;
  }

  .team-card__photo {
    width: 6.5rem;
    height: 8.25rem;
  }

  .group-item {
    grid-template-columns: 8.5rem 1fr;
    gap: 1.15rem 1.25rem;
  }

  .mosaic__main {
    min-height: 16rem;
  }

  .hero {
    min-height: min(82vh, 44rem);
  }

  .page-hero--image {
    min-height: 18rem;
  }

  .service-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.7rem 0.85rem;
  }

  .service-row__price {
    grid-column: 2;
    justify-self: start;
    padding: 0;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .pathway {
    min-height: 18rem;
  }

  .pathways {
    gap: 1rem;
  }

  .hero h1 {
    max-width: 16ch;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section--tight {
    padding: 2.75rem 0;
  }

  .hero__content {
    padding: 6.25rem 0 3.75rem;
    width: min(100% - 1.5rem, var(--max));
  }

  .container,
  .container--wide {
    width: min(100% - 1.5rem, var(--max));
  }

  .membership-panel {
    padding: 1.75rem 1.25rem;
  }

  .audience-panel {
    padding: 1.5rem;
  }

  .price-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .price-table th,
  .price-table td {
    padding-right: 1rem;
  }

  .price-table td:last-child,
  .price-table th:last-child {
    white-space: normal;
  }

  .form {
    max-width: none;
  }

  .hero__logo {
    width: min(7.5rem, 46vw);
  }

  .site-footer {
    padding: 3.25rem 0 2rem;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 4.15rem;
  }

  .brand__mark {
    width: 2.6rem;
    height: 2.6rem;
  }

  .brand__name {
    font-size: 0.88rem;
  }

  .nav__cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.62rem;
    min-height: 2.4rem;
    width: auto;
  }

  .pathways,
  .choice-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pathway {
    min-height: 16.5rem;
  }

  .group-item {
    grid-template-columns: 1fr;
  }

  .group-item__media {
    max-width: 14rem;
    aspect-ratio: 16 / 10;
  }

  .hero {
    min-height: auto;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .hero__content {
    padding: 5.5rem 0 3.25rem;
  }

  .page-hero {
    padding: 4.25rem 0 2.75rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn,
  .form .btn {
    width: 100%;
  }

  .portrait-frame--round {
    max-width: 16rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card__photo {
    width: 100%;
    max-width: 11rem;
    height: 14rem;
  }

  .nav__cta {
    letter-spacing: 0.08em;
    padding: 0.5rem 0.65rem;
  }
}

@media (max-width: 400px) {
  .brand__sub {
    display: none;
  }

  .hero__content,
  .container,
  .container--wide {
    width: min(100% - 1.15rem, var(--max));
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 5.25rem 0 2.25rem;
  }

  .page-hero--image {
    min-height: 14rem;
  }
}

@media (hover: none) {
  .btn:hover,
  .pathway:hover,
  .support-card:hover,
  .choice:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
