.theme-wellness-premium {
  --cream: #f5f0e8;
  --ivory: #fbf8f1;
  --mist: #d8e3df;
  --sage: #77866d;
  --olive: #4f5d3f;
  --moss: #263223;
  --charcoal: #171b18;
  --clay: #b87350;
  --amber: #d2a25d;
  --line: rgba(23, 27, 24, 0.14);
  --line-light: rgba(251, 248, 241, 0.34);
  --bg: var(--ivory);
  --surface: #ffffff;
  --surface-soft: var(--cream);
  --text: var(--charcoal);
  --muted: #6e7468;
  --accent: var(--olive);
  --dark: var(--charcoal);
  --body-font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Instrument Serif", Georgia, serif;
  --radius-lg: 8px;
  --radius-md: 6px;
  --shadow: 0 28px 80px rgba(23, 27, 24, 0.16);
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--body-font);
}

.theme-wellness-premium *,
.theme-wellness-premium *::before,
.theme-wellness-premium *::after {
  box-sizing: border-box;
}

.theme-wellness-premium img {
  display: block;
  max-width: 100%;
}

.theme-wellness-premium a {
  color: inherit;
  text-decoration: none;
}

.theme-wellness-premium h1,
.theme-wellness-premium h2,
.theme-wellness-premium h3,
.theme-wellness-premium p {
  margin-top: 0;
}

.theme-wellness-premium .container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

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

.wellness-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  color: #ffffff;
  border-bottom: 1px solid var(--line-light);
  background: rgba(23, 27, 24, 0.3);
  backdrop-filter: blur(18px);
}

.header-grid {
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(190px, 0.8fr) auto minmax(180px, 0.8fr);
  align-items: stretch;
  border-left: 1px solid var(--line-light);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 1.3rem + 0.65vw, 2.05rem);
  line-height: 1;
}

.brand {
  padding: 0 clamp(20px, 3vw, 38px);
  border-right: 1px solid var(--line-light);
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 0 28px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  opacity: 0.88;
}

.theme-wellness-premium .site-nav a:last-child {
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 3vw, 36px);
  border-left: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  align-self: center;
  justify-self: end;
  margin-right: 16px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: min(840px, 90svh);
  overflow: hidden;
  padding: 0;
  border-bottom: 0;
  color: #ffffff;
  background: var(--charcoal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 20, 17, 0.82) 0%, rgba(17, 20, 17, 0.62) 35%, rgba(17, 20, 17, 0.18) 72%),
    linear-gradient(180deg, rgba(17, 20, 17, 0.22) 0%, rgba(17, 20, 17, 0.2) 58%, rgba(17, 20, 17, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(840px, 90svh);
  grid-template-rows: 1fr auto;
  gap: clamp(42px, 8vw, 90px);
  padding: clamp(108px, 14vh, 154px) 0 clamp(24px, 4vw, 46px);
}

.hero-copy {
  max-width: 760px;
  align-self: end;
}

.eyebrow,
.section-kicker {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.section-kicker {
  color: var(--olive);
}

.hero h1,
.theme-wellness-premium h2 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11.5ch;
  margin-bottom: 18px;
  font-size: clamp(3.7rem, 6.7vw, 8.2rem);
  line-height: 0.92;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.24rem);
  font-weight: 600;
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 900;
  line-height: 1;
}

.button {
  padding: 14px 22px;
}

.theme-wellness-premium .button-light {
  background: #ffffff;
  color: var(--charcoal);
}

.theme-wellness-premium .button-outline {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.theme-wellness-premium .button-dark {
  background: var(--charcoal);
  color: #ffffff;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-panel article {
  min-height: 148px;
  padding: clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--line-light);
}

.hero-panel article:last-child {
  border-right: 0;
}

.hero-panel span,
.programme-card span,
.method-list span {
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.hero-panel strong {
  display: block;
  margin: 14px 0 8px;
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  font-weight: 400;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.intro-section {
  padding: clamp(52px, 8vw, 96px) 0;
  background: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.74fr);
  gap: clamp(34px, 8vw, 92px);
  align-items: end;
}

.theme-wellness-premium h2 {
  max-width: 13ch;
  margin-bottom: 0;
  color: var(--charcoal);
  font-size: clamp(2.9rem, 5.6vw, 6.35rem);
  line-height: 0.96;
}

.intro-copy p,
.ritual-copy > p,
.membership-copy > p,
.large-text {
  color: var(--muted);
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.14rem);
  line-height: 1.75;
}

.text-link {
  min-height: 0;
  margin-top: 18px;
  color: var(--olive);
}

.text-link::after,
.programme-card a::after {
  content: "+";
  margin-left: 9px;
  color: var(--clay);
}

.ritual-section {
  padding: clamp(24px, 5vw, 54px) 0 clamp(70px, 10vw, 128px);
}

.ritual-grid,
.membership-grid,
.consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
}

.ritual-media img,
.membership-grid img {
  width: 100%;
  aspect-ratio: 1.04;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.ritual-copy h2,
.membership-copy h2,
.proof-grid h2,
.consultation-grid h2 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 4.6vw, 5.1rem);
}

.method-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.method-list article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.method-list h3,
.programme-card h3,
.journal-grid h3 {
  margin-bottom: 8px;
  color: var(--charcoal);
  font-family: var(--heading-font);
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.method-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.programmes-section {
  padding: clamp(70px, 10vw, 128px) 0;
  background:
    linear-gradient(180deg, rgba(216, 227, 223, 0.62), rgba(245, 240, 232, 0.72)),
    var(--mist);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading h2 {
  max-width: 11.5ch;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.programme-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
  background: var(--ivory);
}

.programme-card.featured {
  background: #ffffff;
}

.programme-card.dark {
  background: var(--moss);
  color: #ffffff;
}

.programme-card.dark h3,
.programme-card.dark p,
.programme-card.dark a {
  color: #ffffff;
}

.programme-card p {
  color: var(--muted);
  line-height: 1.62;
}

.programme-card a {
  width: max-content;
  color: var(--olive);
  font-weight: 900;
}

.membership-section {
  padding: clamp(74px, 11vw, 142px) 0;
  background: var(--moss);
  color: #ffffff;
}

.membership-copy h2,
.membership-copy .section-kicker {
  color: #ffffff;
}

.membership-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-row article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-row strong {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  font-weight: 400;
  line-height: 0.9;
}

.stat-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-section,
.consultation-section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr) minmax(280px, 0.58fr);
  gap: 1px;
  align-items: stretch;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-grid > div,
.quote-card {
  padding: clamp(24px, 4vw, 44px);
  background: #ffffff;
}

.quote-card blockquote {
  margin: 0 0 24px;
  color: var(--charcoal);
  font-family: var(--heading-font);
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  line-height: 1.08;
}

.quote-card cite {
  color: var(--olive);
  font-style: normal;
  font-weight: 900;
}

.muted-card {
  background: var(--cream);
}

.journal-section {
  padding: clamp(54px, 8vw, 96px) 0;
  background: var(--cream);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.journal-grid article {
  padding: clamp(24px, 3vw, 34px);
  background: var(--ivory);
}

.journal-grid span {
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journal-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.consultation-grid {
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.check-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-form label {
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ivory);
  color: var(--charcoal);
  font: inherit;
  padding: 13px 14px;
}

.contact-form textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form [aria-invalid="true"] {
  border-color: #a64232;
  box-shadow: 0 0 0 3px rgba(166, 66, 50, 0.16);
}

.form-trust {
  display: grid;
  gap: 4px;
  margin: 6px 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--cream);
  color: var(--muted);
}

.form-trust strong {
  color: var(--charcoal);
}

.button-full {
  width: 100%;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-message.success {
  color: var(--olive);
}

.form-message.error {
  color: #a64232;
}

.wellness-footer {
  padding: clamp(42px, 7vw, 76px) 0;
  background: var(--charcoal);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) auto minmax(220px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.wellness-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wellness-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  text-align: right;
}

@media (max-width: 1100px) {
  .header-grid {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--line-light);
    background: rgba(23, 27, 24, 0.94);
  }

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

  .site-nav a {
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .theme-wellness-premium .site-nav a:last-child {
    justify-content: flex-start;
    padding: 0 24px;
  }

  .header-cta {
    display: none;
  }

  .hero-panel,
  .programme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel article:nth-child(2) {
    border-right: 0;
  }

  .hero-panel article:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-light);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .wellness-footer p {
    text-align: center;
  }
}

@media (max-width: 820px) {
  .theme-wellness-premium .container {
    width: min(100% - 28px, 1200px);
  }

  .brand {
    padding: 0 16px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-inner {
    min-height: 92svh;
    padding-top: 116px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16vw, 5.5rem);
  }

  .hero-panel,
  .programme-grid,
  .journal-grid,
  .intro-grid,
  .ritual-grid,
  .membership-grid,
  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel article,
  .hero-panel article:nth-child(2),
  .hero-panel article:nth-child(3) {
    min-height: 0;
    border-right: 0;
    border-top: 1px solid var(--line-light);
  }

  .hero-panel article:first-child {
    border-top: 0;
  }

  .section-heading {
    display: block;
  }

  .theme-wellness-premium h2,
  .ritual-copy h2,
  .membership-copy h2,
  .proof-grid h2,
  .consultation-grid h2 {
    max-width: 100%;
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .programme-card {
    min-height: 280px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-height: 760px) {
  .hero,
  .hero-inner {
    min-height: 88svh;
  }

  .hero-inner {
    padding-top: 100px;
    padding-bottom: 36px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.5rem, 6.1vw, 7.1rem);
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 590px;
    margin-bottom: 24px;
  }

  .hero-panel {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-grid {
    min-height: 68px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-inner {
    min-height: 96svh;
    gap: 28px;
    padding-top: 100px;
    padding-bottom: 24px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .method-list article {
    grid-template-columns: 42px minmax(0, 1fr);
  }
}
