/* ============================================
   SOMA Republic — Design System
   ============================================ */

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* Design Tokens */
:root {
  --bone: #FFFFFF;
  --ink: #1A1A1A;
  --sage: #1E40AF;
  --sage-light: #3B82F6;
  --sage-dark: #1a35a0;
  --terracotta: #C4775A;
  --warm-grey: #E2E8F0;
  --deep: #2C2C2C;
  --white: #FFFFFF;
  --navy: #1a0a9e;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
.text-sage { color: var(--sage); }
.text-terracotta { color: var(--terracotta); }
.text-muted { color: #888; }
em { font-style: italic; color: var(--sage); }

/* ============================================
   NAVIGATION — RaderX-inspired dark style
   Blue: #1E40AF (SOMA brand royal blue)
   ============================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 10, 28, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
nav.scrolled {
  background: rgba(8, 10, 28, 0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav-logo img {
  height: 42px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-logo:hover .nav-logo-text {
  color: #ffffff;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links > li > a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #ffffff;
}
/* Book Now CTA button in nav */
.nav-links .nav-cta,
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1.4rem;
  background: #1E40AF;
  color: #ffffff !important;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.15s ease;
  border-radius: 2px;
}
.nav-links .nav-cta:hover,
.nav-cta:hover {
  background: #1a35a0;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0d0f24;
  border: 1px solid #1E40AF;
  border-top: 2px solid #1E40AF;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  padding: 0.35rem 0;
  min-width: 220px;
  z-index: 1100;
}
/* Invisible bridge: covers 8px gap so hover stays active when moving mouse to menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: flex;
  flex-direction: column;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.2rem;
  white-space: nowrap;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a:last-child {
  border-bottom: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: #1E40AF;
  color: #ffffff;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  cursor: pointer;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Full-Screen Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #080a1c;
  z-index: 999;
  padding: 5.5rem 2rem 2rem;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.05rem 0;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s ease;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: #ffffff;
}
.mobile-menu .nav-cta {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  justify-content: center;
  border-radius: 2px;
  letter-spacing: 0.1em;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 40%, rgba(30, 64, 175, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}
.hero-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2rem;
}
.hero h1 {
  margin-bottom: 2rem;
  line-height: 0.95;
}
.hero-sub {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #666;
  max-width: 550px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* Page Hero (shorter, for subpages) */
.page-hero {
  padding: 10rem 2rem 4rem;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(30, 64, 175, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .hero-content { max-width: var(--max-width); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}
.page-hero .hero-sub {
  max-width: 650px;
}

/* Split hero — text left, image right */
.page-hero--split {
  padding-bottom: 0;
  overflow: hidden;
}
.page-hero--split .hero-split-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.page-hero--split .hero-split-text {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}
.page-hero--split h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}
.page-hero--split .hero-sub {
  max-width: 520px;
}
.page-hero--split .hero-split-image {
  position: relative;
  height: 520px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  align-self: end;
}
.page-hero--split .hero-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: #1E40AF;
  color: #ffffff;
}
.btn-primary:hover {
  background: #1a35a0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(30,64,175,0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--warm-grey);
}
.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--sage);
}
.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-dark {
  background: var(--deep);
  color: var(--bone);
}
.section-sage {
  background: linear-gradient(180deg, rgba(30, 64, 175, 0.08) 0%, var(--bone) 100%);
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header .label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
  display: block;
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-header p {
  color: #888;
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 600px;
  line-height: 1.7;
}
.section-dark .section-header p { color: #B3ADA7; }

/* Divider */
.divider {
  width: 60px;
  height: 2px;
  background: var(--sage);
  margin: 0 2rem;
}

/* ============================================
   OFFERING CARDS (Homepage)
   ============================================ */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.offering-card {
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.offering-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.offering-card:hover::after { transform: scaleX(1); }
.offering-card:hover {
  border-color: var(--sage);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.offering-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(30, 64, 175, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.offering-card h3 {
  margin-bottom: 0.75rem;
}
.offering-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #777;
  font-weight: 300;
  flex-grow: 1;
}
.offering-card .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ============================================
   SESSION CARDS (Session pages)
   ============================================ */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}
.session-card {
  background: var(--white);
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.session-card:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.session-card-body {
  padding: 2rem;
}
.session-card .session-type-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(30, 64, 175, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.session-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}
.session-card .session-desc {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.session-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #666;
}
.session-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex-shrink: 0;
}
.session-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.session-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}
.session-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
}
.spots-left {
  font-size: 0.8rem;
  color: var(--terracotta);
  font-weight: 500;
}
.spots-left.plenty { color: var(--sage); }

/* ============================================
   9D EXPERIENCE GRID
   ============================================ */
.nine-d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.nine-d-item {
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.nine-d-item:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.nine-d-item span {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.nine-d-item small {
  font-size: 0.78rem;
  color: #999;
}

/* ============================================
   ABOUT STRIP
   ============================================ */
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-left h2 {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}
.about-left h2 span { color: var(--sage-light); }
.about-right p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #B3ADA7;
  font-weight: 300;
}
.about-right p + p { margin-top: 1.2rem; }

/* ============================================
   COMMUNITY
   ============================================ */
.community-values {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.value-tag {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--transition);
}
.value-tag:hover {
  border-color: var(--sage);
  background: rgba(30, 64, 175, 0.08);
}

/* ============================================
   FORMS
   ============================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 640px;
}
.form-card.wide { max-width: 800px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sage);
  outline: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group .hint {
  font-size: 0.78rem;
  color: #999;
  margin-top: 0.3rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; }
.form-success h3 {
  color: var(--sage);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.form-success p {
  color: #777;
  font-weight: 300;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--sage);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card h3 {
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0;
}
.pricing-card .price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: #999;
}
.pricing-card .features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}
.pricing-card .features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-card .features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: rgba(30, 64, 175, 0.15);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%231E40AF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 700px;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.faq-question {
  width: 100%;
  background: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--sage); }
.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}
.faq-answer p {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   WHAT TO EXPECT
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 2rem 1.5rem 2rem 1.5rem;
  counter-increment: step;
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(30, 64, 175, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.step-card h4 {
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.step-card p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   CTA SECTION (Closing)
   ============================================ */
.cta-section {
  padding: 7rem 2rem;
  background: linear-gradient(135deg, #1E40AF 0%, #1a35a0 100%);
  text-align: center;
}
.cta-section h2 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.cta-section p {
  color: rgba(191,219,254,0.85);
  font-weight: 300;
  margin-bottom: 2rem;
}
.cta-section .btn-sage {
  background: #ffffff;
  color: #1E40AF;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-section .btn-sage:hover {
  background: #DBEAFE;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.9rem;
  color: #8A847E;
  line-height: 1.7;
  font-weight: 300;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #8A847E;
  padding: 0.3rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--sage-light); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: #5A5652;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--sage-light);
  background: rgba(30, 64, 175, 0.15);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: #8A847E;
}
.footer-social a:hover svg { fill: var(--sage-light); }

/* ============================================
   MODAL / OVERLAY
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bone);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #999;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(0,0,0,0.1); color: var(--ink); }
.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.modal .modal-sub {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ============================================
   PROFILE / ABOUT PAGE
   ============================================ */
.profile-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.profile-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  background: var(--warm-grey);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-image .placeholder-img {
  font-size: 4rem;
  color: var(--sage);
  opacity: 0.3;
}
.profile-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.profile-content .role {
  color: var(--sage);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.profile-content p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

/* Method grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.method-card {
  padding: 2rem;
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: all var(--transition);
}
.method-card:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.method-card h4 {
  margin-bottom: 0.75rem;
}
.method-card p {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  padding: 2rem;
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius-lg);
  background: var(--white);
  margin-bottom: 1.5rem;
}
.contact-info-card h4 {
  margin-bottom: 0.5rem;
}
.contact-info-card p {
  font-size: 0.92rem;
  color: #777;
  font-weight: 300;
  line-height: 1.6;
}
.contact-info-card a {
  color: var(--sage);
  font-weight: 500;
}
.contact-info-card a:hover {
  text-decoration: underline;
}

/* ============================================
   LOADING STATE
   ============================================ */
.loading-spinner {
  display: flex;
  justify-content: center;
  padding: 3rem;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--warm-grey);
  border-top-color: var(--sage);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #999;
}
.empty-state h4 {
  margin-bottom: 0.5rem;
  color: #777;
}

/* ============================================
   NOTIFICATION TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--deep);
  color: var(--bone);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--sage); }
.toast.error { background: var(--terracotta); color: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .profile-section { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.5rem; height: 64px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 7rem 1.5rem 3rem; }
  .hero h1 { letter-spacing: -1px; }
  .hero-sub { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .page-hero { padding: 8rem 1.5rem 3rem; }

  .page-hero--split .hero-split-inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero--split .hero-split-text { padding-bottom: 0; }
  .page-hero--split .hero-split-image { height: 280px; border-radius: 8px; align-self: auto; order: -1; margin-top: -2rem; }

  .section { padding: 4rem 1.5rem; }

  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-left h2 { font-size: 2rem; }

  .offerings-grid { grid-template-columns: 1fr; }
  .sessions-grid { grid-template-columns: 1fr; }

  .nine-d-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .nine-d-item { padding: 0.8rem 0.5rem; }
  .nine-d-item span { font-size: 0.78rem; }
  .nine-d-item small { font-size: 0.65rem; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 2rem 1.5rem; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .community-values { gap: 0.6rem; }
  .value-tag { font-size: 0.78rem; padding: 0.5rem 1rem; }

  .modal { padding: 2rem 1.5rem; margin: 1rem; }

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

@media (max-width: 480px) {
  .nine-d-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PILLAR STRIP — shared across all pages
   A horizontal 3-image editorial strip for the 3 pillars of 9D
   Used on: corporate pages, about, session pages
   Homepage uses its own .pillars-section (triptych variant)
   ============================================================ */

.pillar-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
}

.pillar-strip-card {
  position: relative;
  overflow: hidden;
}

.pillar-strip-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.55s ease;
}

.pillar-strip-card:hover img {
  transform: scale(1.05);
}

/* Dark gradient overlay */
.pillar-strip-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,15,30,0) 40%,
    rgba(10,15,30,0.65) 75%,
    rgba(10,15,30,0.88) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.pillar-strip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1.5rem 1.75rem;
}

.pillar-strip-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
  margin-bottom: 0.25rem;
}

.pillar-strip-desc {
  display: block;
  font-size: 0.8rem;
  color: rgba(191,219,254,0.85);
  font-weight: 300;
  line-height: 1.5;
}

/* Thin accent line above label */
.pillar-strip-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: rgba(147,197,253,0.7);
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .pillar-strip {
    grid-template-columns: 1fr;
  }
  .pillar-strip-card img {
    aspect-ratio: 16/9;
  }
}

/* ============================================================
   END PILLAR STRIP
   ============================================================ */
