/* ============================================
   The Oriental Reset — Luxury Wellness Brand
   Quiet Luxury · Oriental Wisdom · Nature
   ============================================ */

:root {
  --bg: #F6F1E8;
  --bg-warm: #EFE8DC;
  --green: #16352B;
  --green-soft: #1F4638;
  --brown: #4A3426;
  --gold: #B08D57;
  --gold-light: #C9A86C;
  --cream: #F6F1E8;
  --white: #FFFFFF;
  --text: #2A2218;
  --text-muted: #6B5E52;
  --line: rgba(74, 52, 38, 0.15);
  --line-light: rgba(246, 241, 232, 0.2);
  --overlay: rgba(10, 18, 14, 0.45);
  --overlay-heavy: rgba(10, 18, 14, 0.62);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', Helvetica, Arial, sans-serif;
  --header-h: 96px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.35s var(--ease), opacity 0.35s var(--ease);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.container-wide {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--green);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
}

.section-lead {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 34em;
}

.section-lead.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.75rem 0;
  border: none;
}

.divider.centered {
  margin-left: auto;
  margin-right: auto;
}

.divider.light {
  background: rgba(176, 141, 87, 0.5);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.btn-outline-dark:hover {
  background: var(--green);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.85rem 1.75rem;
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.35s var(--ease);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled {
  height: 78px;
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled::before {
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1400px, 94vw);
  margin: 0 auto;
  gap: 1.5rem;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.logo-img {
  height: 72px;
  width: auto;
  transition: height 0.35s var(--ease), opacity 0.4s var(--ease);
}

.logo-img--dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.site-header.is-scrolled .logo-img,
.site-header.menu-open .logo-img {
  height: 58px;
}

.site-header.is-scrolled .logo-img--light,
.site-header.menu-open .logo-img--light {
  opacity: 0;
}

.site-header.is-scrolled .logo-img--dark,
.site-header.menu-open .logo-img--dark {
  opacity: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.nav-desktop a {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.5rem 0.65rem;
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--white);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  transform: scaleX(1);
}

.site-header.is-scrolled .nav-desktop a {
  color: var(--brown);
}

.site-header.is-scrolled .nav-desktop a:hover,
.site-header.is-scrolled .nav-desktop a.is-active {
  color: var(--green);
}

.header-cta {
  flex-shrink: 0;
  z-index: 2;
}

.header-cta .btn {
  padding: 0.75rem 1.35rem;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
}

.site-header:not(.is-scrolled) .header-cta .btn-primary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.site-header:not(.is-scrolled) .header-cta .btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: all 0.35s var(--ease);
  margin-left: auto;
}

.site-header.is-scrolled .menu-toggle span,
.site-header.menu-open .menu-toggle span {
  background: var(--green);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  z-index: 999;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--green);
  letter-spacing: 0.04em;
}

.nav-mobile a:hover,
.nav-mobile a.is-active {
  color: var(--gold);
}

.nav-mobile .btn {
  margin-top: 1rem;
}

/* ---------- Page Hero (inner pages) ---------- */

.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: calc(var(--header-h) + 4rem) 0 5rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-heavy);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.page-hero p {
  margin-top: 1.25rem;
  max-width: 32em;
  font-weight: 300;
  font-size: 1.0625rem;
  opacity: 0.88;
  line-height: 1.8;
}

/* ---------- Home Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease);
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s var(--ease);
}

.hero-slide.is-active .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 12, 0.35) 0%,
    rgba(8, 16, 12, 0.5) 45%,
    rgba(8, 16, 12, 0.62) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 90vw);
  padding-top: var(--header-h);
}

.hero-slide .hero-brand,
.hero-slide h1,
.hero-slide .hero-text,
.hero-slide .btn-group {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero-slide.is-active .hero-brand {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.hero-slide.is-active h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero-slide.is-active .hero-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.hero-slide.is-active .btn-group {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.88em;
  opacity: 0.92;
}

.hero-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  max-width: 36em;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

.hero .btn-group {
  justify-content: center;
}

.hero-nav {
  position: absolute;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.hero-dot {
  width: 28px;
  height: 2px;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.4s var(--ease), width 0.4s var(--ease);
  position: relative;
}

.hero-dot::after {
  content: '';
  position: absolute;
  inset: -10px -4px;
}

.hero-dot.is-active {
  width: 48px;
  background: var(--gold);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.is-active:hover {
  background: var(--gold-light);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: max(4vw, 1.5rem);
  left: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 1.2s var(--ease-out) forwards;
}

.hero-scroll span {
  font-size: 0.5625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hero-nav {
    bottom: 1.75rem;
  }

  .hero-scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-bg,
  .hero-slide .hero-brand,
  .hero-slide h1,
  .hero-slide .hero-text,
  .hero-slide .btn-group {
    transition: none !important;
  }

  .hero-slide.is-active .hero-bg {
    transform: none;
  }
}

/* ---------- Reveal Animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

.img-reveal {
  overflow: hidden;
}

.img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease-out);
}

.img-reveal.is-visible img {
  transform: scale(1);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section-header.centered {
  text-align: center;
}

.section-dark {
  background: var(--green);
  color: var(--cream);
}

.section-dark .section-title {
  color: var(--cream);
}

.section-dark .section-lead {
  color: rgba(246, 241, 232, 0.72);
}

.section-warm {
  background: var(--bg-warm);
}

/* ---------- Philosophy (text + image) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.split.reverse .split-text {
  order: 2;
}

.split.reverse .split-media {
  order: 1;
}

.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media.landscape {
  aspect-ratio: 5 / 4;
}

.split-text .section-title {
  margin-bottom: 0.25rem;
}

.split-text p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.split-text p:last-of-type {
  margin-bottom: 0;
}

/* ---------- Program Panels (image bg + text overlay) ---------- */

.program-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.program-panel {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-decoration: none;
}

.program-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 12, 0.15) 0%,
    rgba(8, 16, 12, 0.72) 100%
  );
  transition: background 0.5s var(--ease);
}

.program-panel:hover::before {
  background: linear-gradient(
    180deg,
    rgba(8, 16, 12, 0.25) 0%,
    rgba(8, 16, 12, 0.8) 100%
  );
}

.program-panel:hover .program-panel-bg {
  transform: scale(1.06);
}

.program-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}

.program-panel-content {
  position: relative;
  z-index: 1;
  padding: 2.75rem 2.25rem;
  width: 100%;
}

.program-panel-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.program-panel-content p {
  font-size: 0.9375rem;
  font-weight: 300;
  opacity: 0.8;
  line-height: 1.7;
  max-width: 22em;
}

.program-panel-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease);
}

.program-panel:hover .program-panel-link {
  border-color: var(--gold-light);
}

/* ---------- Retreat Experience Banner ---------- */

.experience-banner {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.experience-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.experience-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.experience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line-light);
}

.experience-list li {
  flex: 1 1 160px;
  padding: 1.5rem 1.25rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-right: 1px solid transparent;
}

.experience-list li span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* ---------- Science Meets Wisdom ---------- */

.dual-columns {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  align-items: start;
}

.dual-col {
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

.dual-col:first-child {
  padding-left: 0;
  text-align: right;
}

.dual-col:last-child {
  padding-right: 0;
}

.dual-divider {
  background: var(--line);
  align-self: stretch;
  min-height: 100%;
}

.dual-col h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 2rem;
}

.dual-col ul li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  color: var(--text-muted);
  font-weight: 300;
}

.dual-col ul li:first-child {
  border-top: 1px solid var(--line);
}

.dual-col ul li strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

/* ---------- Signature Programs List ---------- */

.signature-list {
  border-top: 1px solid var(--line);
}

.signature-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
  color: inherit;
  text-decoration: none;
}

.signature-item:hover {
  padding-left: 0.75rem;
}

.signature-num {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.signature-item h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.signature-item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 42em;
  line-height: 1.7;
}

.signature-item .arrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.35s var(--ease);
}

.signature-item:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Why Choose Us ---------- */

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.advantage {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--line);
  padding-right: 2rem;
  margin-right: 0;
}

.advantage:last-child {
  border-right: none;
  padding-right: 0;
}

.advantage:not(:first-child) {
  padding-left: 2rem;
}

.advantage-num {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  display: block;
}

.advantage h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.advantage p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  min-height: 70vh;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.tall {
  min-height: 70vh;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--green);
  text-align: center;
  padding: clamp(5.5rem, 12vw, 9rem) 0;
  color: var(--cream);
}

.final-cta .eyebrow {
  color: var(--gold-light);
}

.final-cta h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: rgba(246, 241, 232, 0.7);
  max-width: 28em;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0F241C;
  color: rgba(246, 241, 232, 0.7);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.1);
}

.footer-brand .footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: 22em;
  margin-bottom: 1.25rem;
}

.footer-brand .company {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(246, 241, 232, 0.65);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ---------- Inner Page Content ---------- */

.content-block {
  max-width: 720px;
}

.content-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.content-block h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brown);
  margin: 2.5rem 0 1rem;
}

.content-block p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3.5rem;
}

.pillar {
  padding: 2.5rem 2rem;
  border-left: 1px solid var(--line);
}

.pillar:first-child {
  border-left: none;
  padding-left: 0;
}

.pillar:last-child {
  padding-right: 0;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1rem;
}

.pillar p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Retreat detail */

.retreat-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
}

.retreat-feature-media {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

.retreat-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
  background: var(--bg);
}

.retreat-feature-body.dark {
  background: var(--green);
  color: var(--cream);
}

.retreat-feature-body.dark h2,
.retreat-feature-body.dark h3 {
  color: var(--cream);
}

.retreat-feature-body.dark p {
  color: rgba(246, 241, 232, 0.72);
}

.retreat-feature-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.retreat-feature-body p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.feature-tags span {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.retreat-feature-body.dark .feature-tags {
  border-color: rgba(246, 241, 232, 0.15);
}

.retreat-feature-body.dark .feature-tags span {
  color: var(--gold-light);
}

/* Digital health metrics */

.metric-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.metric-row:first-child {
  border-top: 1px solid var(--line);
}

.metric-row h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1.3;
}

.metric-row p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.85;
}

/* Programs page */

.program-detail {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
}

.program-detail:first-of-type {
  border-top: 1px solid var(--line);
}

.program-detail-label {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  padding-top: 0.5rem;
}

.program-detail h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1rem;
}

.program-detail p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 0.75rem;
  max-width: 40em;
}

/* Journal */

.journal-list {
  display: flex;
  flex-direction: column;
}

.journal-entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.journal-entry:first-child {
  border-top: 1px solid var(--line);
}

.journal-entry:hover {
  padding-left: 0.5rem;
}

.journal-date {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  padding-top: 0.4rem;
}

.journal-entry h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 400;
  color: var(--green);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.journal-entry p {
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 42em;
}

.journal-entry .read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 28em;
}

.contact-detail {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.contact-detail p,
.contact-detail a {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brown);
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-warm);
  padding: clamp(2rem, 4vw, 3rem);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234A3426' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  line-height: 1.6;
}

.form-success {
  display: none;
  padding: 1.25rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--green);
}

.form-success.is-visible {
  display: block;
}

/* ---------- Page-specific header (non-transparent pages) ---------- */

.page-solid .site-header {
  background: transparent;
}

.page-solid .site-header:not(.is-scrolled) .nav-desktop a {
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .program-panels {
    grid-template-columns: 1fr;
  }

  .program-panel {
    min-height: 380px;
  }

  .advantages {
    grid-template-columns: 1fr 1fr;
  }

  .advantage {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 2rem 1.5rem 2rem 0 !important;
  }

  .advantage:nth-child(odd) {
    padding-right: 1.5rem !important;
    border-right: 1px solid var(--line);
  }

  .advantage:nth-child(3),
  .advantage:nth-child(4) {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 2rem 0;
  }

  .pillar:first-child {
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-text,
  .split.reverse .split-media {
    order: unset;
  }

  .split-media {
    aspect-ratio: 16 / 10;
  }

  .dual-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .dual-divider {
    display: none;
  }

  .dual-col,
  .dual-col:first-child,
  .dual-col:last-child {
    padding: 0;
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.tall {
    min-height: 50vh;
  }

  .retreat-feature {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .program-detail {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .metric-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .signature-item {
    grid-template-columns: 50px 1fr;
  }

  .signature-item .arrow {
    display: none;
  }

  .journal-entry {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  .logo-img {
    height: 58px;
  }

  .site-header.is-scrolled .logo-img,
  .site-header.menu-open .logo-img {
    height: 50px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .advantages {
    grid-template-columns: 1fr;
  }

  .advantage,
  .advantage:nth-child(odd) {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    padding: 2rem 0 !important;
  }

  .advantage:last-child {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .experience-list li {
    flex: 1 1 45%;
  }

  .page-hero {
    min-height: 50vh;
    padding-bottom: 3.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
