/* ============================================================
   SECRETIRE LLC — styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --charcoal:    #1a1a1a;
  --off-white:   #f5f2ee;
  --gold:        #9a7b3f;
  --gold-light:  #c4a05a;
  --gold-dark:   #7a5f2f;
  --gray:        #4a4a4a;
  --gray-light:  #888;
  --border:      rgba(154,123,63,0.18);
  --border-mid:  rgba(154,123,63,0.35);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  --nav-height:  80px;
  --max-width:   1240px;
  --pad-x:       48px;
  --section-pad: 104px;

  --radius:  2px;
  --ease:    cubic-bezier(0.25,0.46,0.45,0.94);
  --t:       0.28s;
  --shadow:  0 4px 32px rgba(0,0,0,0.10);
  --shadow-h:0 16px 48px rgba(0,0,0,0.18);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--off-white);
  color: var(--gray);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography scale ───────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section           { padding: var(--section-pad) 0; }
.section--dark     { background: var(--charcoal); color: var(--off-white); }
.section--darker   { background: #111; color: var(--off-white); }
.section--white    { background: #fff; }
.section--off      { background: var(--off-white); }
.section--gold     { background: var(--gold); color: #fff; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section--dark .section-label,
.section--darker .section-label { color: var(--gold-light); }
.section--dark .section-label::before,
.section--darker .section-label::before { background: var(--gold-light); }

.section-header       { margin-bottom: 56px; }
.section-header.center{ text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }

.section-title        { margin-bottom: 1.25rem; }
.section--dark .section-title,
.section--darker .section-title { color: var(--off-white); }

.section-lead {
  font-size: 1.02rem;
  color: var(--gray-light);
  max-width: 600px;
  line-height: 1.85;
}
.section--dark .section-lead,
.section--darker .section-lead { color: rgba(245,242,238,0.55); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all var(--t) var(--ease);
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(154,123,63,0.38);
}
.btn--outline {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(245,242,238,0.35);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn--outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(154,123,63,0.3);
}
.btn--dark {
  background: var(--charcoal);
  color: var(--off-white);
  border: 1px solid var(--charcoal);
}
.btn--dark:hover {
  background: #2c2c2c;
  transform: translateY(-2px);
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-height);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease),
              backdrop-filter var(--t) var(--ease);
}
.site-nav.scrolled {
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}
.site-nav.nav--solid { background: var(--charcoal); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--off-white);
  text-transform: uppercase;
  transition: color var(--t);
}
.nav-logo span { color: var(--gold); }
.nav-logo:hover { color: var(--gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.7);
  transition: color var(--t);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--t) var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 2px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--off-white);
  transition: all var(--t) var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: rgba(20,20,20,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 899;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s var(--ease);
}
.nav-drawer.open { max-height: 340px; }
.nav-drawer ul {
  padding: 20px var(--pad-x) 32px;
  display: flex;
  flex-direction: column;
}
.nav-drawer li a {
  display: block;
  padding: 15px 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.65);
  border-bottom: 1px solid rgba(154,123,63,0.1);
  transition: color var(--t);
}
.nav-drawer li:last-child a { border-bottom: none; }
.nav-drawer li a:hover,
.nav-drawer li a.active { color: var(--gold-light); }

/* ── Hero (homepage) ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 75% 50%, rgba(154,123,63,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(154,123,63,0.04) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      transparent 0px, transparent 60px,
      rgba(154,123,63,0.012) 60px, rgba(154,123,63,0.012) 61px
    );
  pointer-events: none;
}

/* Geometric accents */
.hero-geo { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; pointer-events: none; }
.hero-geo::before {
  content: '';
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%) rotate(15deg);
  width: 440px; height: 540px;
  border: 1px solid rgba(154,123,63,0.14);
}
.hero-geo::after {
  content: '';
  position: absolute;
  right: 50px; top: 50%;
  transform: translateY(-50%) rotate(15deg);
  width: 440px; height: 540px;
  border: 1px solid rgba(154,123,63,0.07);
}
.hero-geo-inner {
  position: absolute;
  right: 130px; top: 50%;
  transform: translateY(-50%) rotate(15deg);
  width: 360px; height: 440px;
  border: 1px solid rgba(154,123,63,0.04);
}
.hero-dots {
  position: absolute;
  right: 120px; bottom: 88px;
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 16px;
}
.hero-dots span {
  display: block;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: rgba(154,123,63,0.35);
}
.hero-line {
  position: absolute;
  left: 0; bottom: 0;
  width: 1px; height: 120px;
  background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%);
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding-top: var(--nav-height);
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: var(--off-white);
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.08;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1.02rem;
  color: rgba(245,242,238,0.55);
  line-height: 1.85;
  margin-bottom: 2.8rem;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 88px) 0 88px;
  background: var(--charcoal);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 80% 50%, rgba(154,123,63,0.08) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      transparent 0px, transparent 60px,
      rgba(154,123,63,0.012) 60px, rgba(154,123,63,0.012) 61px
    );
  pointer-events: none;
}
.page-hero-geo {
  position: absolute;
  right: 72px; top: 50%;
  transform: translateY(-50%) rotate(12deg);
  width: 260px; height: 320px;
  border: 1px solid rgba(154,123,63,0.12);
  pointer-events: none;
}
.page-hero-geo::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(154,123,63,0.06);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.page-hero h1 {
  color: var(--off-white);
  font-weight: 300;
  margin-bottom: 1rem;
}
.page-hero-sub {
  font-size: 1.02rem;
  color: rgba(245,242,238,0.55);
  line-height: 1.85;
  max-width: 540px;
}

/* ── Services Strip ─────────────────────────────────────────── */
.services-strip { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border);
  gap: 0;
}
.service-card {
  background: var(--off-white);
  padding: 44px 32px;
  border-right: 1px solid var(--border);
  transition: all var(--t) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card:last-child { border-right: none; }
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.service-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
  z-index: 2;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 22px;
}
.service-icon svg { width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.service-card h3 {
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.84rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin: 0;
}

/* ── How It Works ───────────────────────────────────────────── */
.how-it-works { background: var(--charcoal); }
.how-it-works .section-header { text-align: center; }

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 48px;
  margin-top: 72px;
}
.steps-connector {
  position: absolute;
  top: 39px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg, rgba(154,123,63,0.6) 0%, rgba(154,123,63,0.2) 100%);
  pointer-events: none;
}
.steps-connector::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid rgba(154,123,63,0.5);
  border-right: 1px solid rgba(154,123,63,0.5);
  transform: rotate(45deg);
}
.step { text-align: center; position: relative; z-index: 2; }

.step-num {
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 1px solid rgba(154,123,63,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--gold-light);
  background: var(--charcoal);
  transition: all var(--t) var(--ease);
}
.step:hover .step-num {
  border-color: var(--gold);
  background: rgba(154,123,63,0.08);
}
.step h3 { color: var(--off-white); font-size: 1.2rem; margin-bottom: 10px; }
.step p  { font-size: 0.85rem; color: rgba(245,242,238,0.45); line-height: 1.75; }

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar { background: var(--gold); padding: 60px 0; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  text-align: center;
  gap: 0;
}
.stat {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.22);
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials { background: var(--charcoal); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.testimonial-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(154,123,63,0.14);
  padding: 40px 34px;
  position: relative;
  transition: all var(--t) var(--ease);
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.18;
  position: absolute;
  top: 18px; left: 28px;
  pointer-events: none;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.045);
  border-color: rgba(154,123,63,0.32);
  transform: translateY(-4px);
}
.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.82;
  color: rgba(245,242,238,0.65);
  margin: 40px 0 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(154,123,63,0.12);
  border: 1px solid rgba(154,123,63,0.28);
  display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.author-name  { font-size: 0.83rem; font-weight: 500; color: var(--off-white); margin-bottom: 2px; }
.author-title { font-size: 0.72rem; color: rgba(245,242,238,0.35); letter-spacing: 0.04em; }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(154,123,63,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner .section-label { justify-content: center; }
.cta-banner .section-label::before { display: none; }
.cta-banner h2 { color: var(--off-white); margin-bottom: 20px; }
.cta-banner .lead {
  color: rgba(245,242,238,0.5);
  font-size: 0.98rem;
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #111;
  padding: 76px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3,1fr);
  gap: 48px;
  padding-bottom: 56px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(154,123,63,0.1);
}
.footer-brand .nav-logo { display: block; margin-bottom: 14px; }
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(245,242,238,0.3);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(154,123,63,0.22);
  border-radius: var(--radius);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 0.72rem;
  color: rgba(245,242,238,0.35);
  transition: all var(--t);
  font-weight: 600;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(245,242,238,0.32);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(245,242,238,0.18);
  margin: 0;
}
.footer-bottom a {
  font-size: 0.72rem;
  color: rgba(245,242,238,0.18);
  transition: color var(--t);
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Program Cards (transactional.html) ─────────────────────── */
.program-block {
  padding: var(--section-pad) 0;
}
.program-block:nth-child(odd)  { background: var(--off-white); }
.program-block:nth-child(even) { background: #fff; }

.program-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  overflow: hidden;
}
.program-card.flip { direction: rtl; }
.program-card.flip > * { direction: ltr; }

.prog-visual {
  background: var(--charcoal);
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prog-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(154,123,63,0.1) 0%, transparent 65%);
}
.prog-shape {
  width: 180px; height: 220px;
  border: 1px solid rgba(154,123,63,0.18);
  transform: rotate(10deg);
  position: relative;
}
.prog-shape::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(154,123,63,0.09);
}
.prog-visual-label {
  position: absolute;
  bottom: 28px; left: 28px; right: 28px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(245,242,238,0.05);
  line-height: 1.15;
}
.prog-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.prog-content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prog-content h2 {
  font-size: clamp(1.5rem,2.5vw,2.2rem);
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.prog-content .lead {
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.82;
  margin-bottom: 26px;
}
.prog-terms {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 32px;
}
.prog-term {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.55;
}
.prog-term::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 1px;
  background: var(--gold);
  margin-top: 11px;
}

/* ── Comparison Table ───────────────────────────────────────── */
.comparison { background: var(--charcoal); }
.comparison .section-header { margin-bottom: 44px; }

.table-wrap { overflow-x: auto; }
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}
.cmp-table th {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 26px;
  text-align: left;
  border-bottom: 1px solid rgba(154,123,63,0.2);
  white-space: nowrap;
}
.cmp-table th:first-child { color: rgba(245,242,238,0.35); }
.cmp-table th:not(:first-child) { color: var(--gold-light); }
.cmp-table td {
  padding: 16px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(245,242,238,0.65);
  vertical-align: top;
  line-height: 1.6;
}
.cmp-table td:first-child {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.3);
  white-space: nowrap;
}
.cmp-table tbody tr:hover td { background: rgba(154,123,63,0.04); }
.badge-yes { color: #7fb87f; font-size: 0.82rem; }
.badge-no  { color: rgba(245,242,238,0.25); font-size: 0.82rem; }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq { background: var(--off-white); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 30px;
  text-align: left;
  background: #fff;
  transition: background var(--t);
}
.faq-q:hover { background: #faf8f5; }
.faq-q-text {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.45;
}
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform var(--t) var(--ease), opacity var(--t);
}
.faq-icon::before {
  width: 12px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-icon::after {
  width: 1.5px; height: 12px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s var(--ease);
  background: #fff;
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner {
  padding: 2px 30px 26px;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.82;
  border-top: 1px solid var(--border);
  margin: 0 30px;
  padding: 18px 0 26px;
}

/* ── Apply Form ─────────────────────────────────────────────── */
.apply-section { background: var(--charcoal); }
.apply-section .section-lead { margin-bottom: 44px; }

.apply-form { max-width: 760px; margin: 0 auto; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1/-1; }

.form-group label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,242,238,0.45);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(154,123,63,0.2);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 0.86rem;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  outline: none;
  width: 100%;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%239a7b3f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: #1a1a1a; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(154,123,63,0.06);
  box-shadow: 0 0 0 3px rgba(154,123,63,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245,242,238,0.18); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-success {
  display: none;
  font-size: 0.84rem;
  color: #7fb87f;
  padding: 12px 18px;
  border: 1px solid rgba(127,184,127,0.28);
  border-radius: var(--radius);
  background: rgba(127,184,127,0.06);
}
.form-success.visible { display: block; }

/* ── Financing page ─────────────────────────────────────────── */
.financing-body { background: var(--off-white); }

.financing-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.financing-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 56px 60px;
  margin-bottom: 36px;
  text-align: left;
}
.financing-card h3 {
  font-size: 1.45rem;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.financing-card p {
  font-size: 0.94rem;
  color: var(--gray);
  line-height: 1.85;
}
.financing-note {
  display: block;
  font-size: 0.76rem;
  color: var(--gray-light);
  font-style: italic;
  margin-top: 10px;
}
.financing-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ── Blog ───────────────────────────────────────────────────── */
.blog-featured { background: var(--off-white); }

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fff;
  transition: all var(--t) var(--ease);
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}
.featured-visual {
  background: var(--charcoal);
  min-height: 360px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 60%, rgba(154,123,63,0.14) 0%, transparent 65%);
}
.blog-vis-shape {
  position: absolute;
  width: 160px; height: 200px;
  border: 1px solid rgba(154,123,63,0.14);
  transform: rotate(8deg);
}
.blog-vis-text {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: rgba(245,242,238,0.05);
  text-align: center;
  padding: 24px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.featured-content {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.post-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.post-date {
  font-size: 0.75rem;
  color: var(--gray-light);
}
.featured-content h2 {
  font-size: clamp(1.35rem,2.5vw,1.9rem);
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.22;
}
.excerpt {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.82;
  margin-bottom: 26px;
}

.blog-grid-wrap { background: var(--off-white); padding-top: 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--t) var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
  border-color: var(--border-mid);
}
.blog-card-vis {
  background: var(--charcoal);
  height: 160px;
  position: relative;
  overflow: hidden;
}
.blog-card-vis::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(154,123,63,0.09) 0%, transparent 65%);
}
.blog-card-body {
  padding: 26px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card h3 {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 9px;
  line-height: 1.28;
}
.blog-card .excerpt { font-size: 0.83rem; margin-bottom: auto; padding-bottom: 18px; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--t) var(--ease);
}
.read-more::after { content: '→'; }
.read-more:hover { gap: 14px; }

/* ── Blog Post Layout ───────────────────────────────────────── */
.post-wrap { background: var(--off-white); }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.post-article h2 {
  font-size: 1.55rem;
  color: var(--charcoal);
  margin: 2.2rem 0 0.7rem;
}
.post-article h3 {
  font-size: 1.15rem;
  color: var(--charcoal);
  margin: 1.6rem 0 0.5rem;
}
.post-article p {
  font-size: 0.94rem;
  color: var(--gray);
  line-height: 1.88;
  margin-bottom: 1.2em;
}
.post-article ul,
.post-article ol {
  margin: 0 0 1.2em 1.4em;
}
.post-article ul { list-style: disc; }
.post-article ol { list-style: decimal; }
.post-article li {
  font-size: 0.94rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 6px;
}
.post-article blockquote {
  border-left: 2px solid var(--gold);
  padding: 14px 22px;
  margin: 2rem 0;
  background: rgba(154,123,63,0.04);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--gray);
  line-height: 1.6;
}
.post-article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.4rem 0;
}

.post-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 28px);
}
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  padding: 26px;
  margin-bottom: 20px;
}
.sidebar-widget h4 {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-post {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post a {
  font-size: 0.83rem;
  color: var(--charcoal);
  line-height: 1.38;
  transition: color var(--t);
}
.sidebar-post a:hover { color: var(--gold); }
.sidebar-post span {
  font-size: 0.72rem;
  color: var(--gray-light);
}
.sidebar-cta {
  background: var(--charcoal);
  border: none;
  text-align: center;
  padding: 30px 26px;
}
.sidebar-cta h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--off-white);
  border-bottom: none;
  margin-bottom: 10px;
}
.sidebar-cta p {
  font-size: 0.8rem;
  color: rgba(245,242,238,0.45);
  margin-bottom: 18px;
  line-height: 1.7;
}

/* ── About Page ─────────────────────────────────────────────── */
.mission { background: var(--off-white); }

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.mission-text h2 { color: var(--charcoal); margin-bottom: 24px; }
.mission-text p {
  font-size: 0.94rem;
  color: var(--gray);
  line-height: 1.88;
}
.mission-accent { display: flex; flex-direction: column; gap: 24px; }
.accent-stat {
  background: #fff;
  border: 1px solid var(--border);
  padding: 26px 30px;
  transition: all var(--t);
}
.accent-stat:hover { border-color: var(--border-mid); box-shadow: var(--shadow); }
.accent-stat .val {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.accent-stat .lbl {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.what-we-do { background: #fff; }
.what-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.what-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 36px 30px;
  transition: all var(--t) var(--ease);
}
.what-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}
.what-icon {
  width: 42px; height: 42px;
  margin-bottom: 18px;
}
.what-icon svg { width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.what-card h3 { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 9px; }
.what-card p  { font-size: 0.84rem; color: var(--gray); line-height: 1.72; margin: 0; }

.values-section { background: var(--charcoal); }
.values-section .section-header { margin-bottom: 52px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(154,123,63,0.12);
  border: 1px solid rgba(154,123,63,0.12);
}
.value-card {
  background: var(--charcoal);
  padding: 48px 38px;
  transition: background var(--t);
}
.value-card:hover { background: rgba(154,123,63,0.05); }
.value-num {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 300;
  color: rgba(154,123,63,0.12);
  line-height: 1;
  margin-bottom: 18px;
}
.value-card h3 { font-size: 1.45rem; color: var(--gold-light); margin-bottom: 10px; }
.value-card p  { font-size: 0.85rem; color: rgba(245,242,238,0.45); line-height: 1.8; margin: 0; }

.team-section { background: var(--off-white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--t) var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}
.team-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(154,123,63,0.07);
  border: 1px solid rgba(154,123,63,0.22);
  display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--gold);
}
.team-card h3 { font-size: 1.15rem; color: var(--charcoal); margin-bottom: 5px; }
.team-card .title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-card p {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.72;
  margin: 0;
}

/* ── Canvas Hero ────────────────────────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0) 22%, rgba(13,13,13,0) 55%, rgba(13,13,13,0.92) 100%),
    radial-gradient(120% 80% at 20% 60%, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0) 60%);
}
.hero-inner {
  position: absolute;
  z-index: 4;
  left: clamp(24px, 5vw, 64px);
  bottom: clamp(48px, 10vh, 80px);
  max-width: 620px;
}
.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold-light);
  letter-spacing: 0.32em;
  font-size: 0.65rem;
  font-weight: 500;
  margin-bottom: 28px;
  font-family: var(--font-body);
}
.hero-eyebrow-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold-light);
  flex-shrink: 0;
}
/* Override old hero::before — canvas handles bg */
.hero::before { display: none; }
/* Remove old eyebrow ::before line (replaced by .hero-eyebrow-line) */
.hero .hero-eyebrow::before { display: none; }

/* ── Scroll Animations ──────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; --pad-x: 36px; }

  .services-grid       { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid   { grid-template-columns: repeat(2,1fr); }
  .footer-top          { grid-template-columns: 1fr 1fr; gap: 36px; }
  .post-layout         { grid-template-columns: 1fr; }
  .post-sidebar        { position: static; }
  .program-card        { grid-template-columns: 1fr; }
  .program-card.flip   { direction: ltr; }
  .prog-visual         { min-height: 220px; }
  .mission-grid        { grid-template-columns: 1fr; gap: 44px; }
  .featured-post       { grid-template-columns: 1fr; }
  .featured-visual     { min-height: 200px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-height: 64px; --pad-x: 24px; }

  .nav-links        { display: none; }
  .nav-hamburger    { display: flex; }
  .nav-drawer       { display: block; }

  .hero-geo         { display: none; }
  .hero-dots        { display: none; }
  .page-hero-geo    { display: none; }

  .services-grid    { grid-template-columns: 1fr; }
  .steps-track      { grid-template-columns: 1fr; }
  .steps-connector  { display: none; }
  .stats-inner      { grid-template-columns: 1fr; gap: 28px; }
  .stat             { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 28px; }
  .stat:last-child  { border-bottom: none; padding-bottom: 0; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .blog-grid        { grid-template-columns: 1fr; }
  .what-grid        { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .footer-top       { grid-template-columns: 1fr; }
  .form-grid        { grid-template-columns: 1fr; }
  .hero-ctas        { flex-direction: column; }
  .hero-ctas .btn   { justify-content: center; }
  .financing-card   { padding: 36px 28px; }
  .prog-content     { padding: 36px 28px; }
  .featured-content { padding: 32px 28px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; }
  .cta-banner { padding: 60px 0; }
}
