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

:root {
  --bg:         #F7F6F3;
  --bg-white:   #FFFFFF;
  --bg-dark:    #0C1220;
  --bg-section: #F0EEE9;
  --ink:        #141414;
  --ink-mid:    #4A4A4A;
  --ink-light:  #8A8A8A;
  --gold:       #A8732E;
  --gold-light: #C99550;
  --gold-pale:  #F5ECD9;
  --navy:       #1A2744;
  --border:     #E2DDD6;
  --border-dark:#2A3550;
  --radius:     4px;
  --max:        1160px;
  --nav-h:      72px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.display-lg  { font-size: clamp(3rem, 7vw, 5.5rem); }
.display-md  { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.display-sm  { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.eyebrow {
  font-family: 'Figtree', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-lg  { font-size: 1.125rem; line-height: 1.7; }
.body-md  { font-size: 1rem;     line-height: 1.7; }
.body-sm  { font-size: 0.875rem; line-height: 1.65; }
.body-xs  { font-size: 0.8rem;   line-height: 1.6; }

/* ── LAYOUT ──────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

.section     { padding: 100px 0; }
.section-sm  { padding: 64px 0; }
.section-lg  { padding: 140px 0; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(247,246,243,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background var(--transition), border-color var(--transition);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-shrink: 0;
}

.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
}

.nav-logo-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  flex-shrink: 0;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-inner { padding: 0 24px; }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 24px 24px 32px;
    gap: 20px;
    align-items: flex-start;
  }
  
  .nav-links.open + .nav-cta {
    display: none;
  }
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: #8B5E20;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(168,115,46,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-mid);
  padding-left: 0;
  padding-right: 0;
  letter-spacing: 0.03em;
}
.btn-ghost:hover { color: var(--ink); }

.btn-lg { padding: 14px 32px; font-size: 0.85rem; }

/* ── DIVIDERS ────────────────────────────────────────── */
.rule { height: 1px; background: var(--border); }
.rule-gold { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); width: 80px; }

/* ── TAGS / BADGES ───────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--ink-mid);
  background: var(--bg-white);
}

.tag-gold {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: #C8C0B4;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

/* ── PHASE CARDS ─────────────────────────────────────── */
.phase-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

/* ── SECTION HEADER ──────────────────────────────────── */
.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-header .eyebrow { margin-bottom: 16px; display: block; }
.section-header p { color: var(--ink-mid); margin-top: 16px; }

/* ── GRID UTILITIES ──────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px)  { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.footer-logo-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.footer-nav {
  display: flex;
  gap: 48px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal { font-size: 0.75rem; letter-spacing: 0.01em; }

.footer-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.4);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .footer-inner { padding: 0 24px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── PAGE HERO ───────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

/* ── FORM ────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20,20,20,0.05);
}

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

/* ── ANIMATIONS ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── CREDIBILITY STRIP ───────────────────────────────── */
.cred-strip {
  background: var(--bg-dark);
  padding: 20px 0;
  overflow: hidden;
}

.cred-items {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 40px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.cred-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.cred-item span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ── STATS ROW ───────────────────────────────────────── */
.stat-item { padding: 32px 0; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.82rem; color: var(--ink-light); }

/* ── PROBLEM CARDS ───────────────────────────────────── */
.problem-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale);
  border-radius: 50%;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.problem-icon svg { width: 16px; height: 16px; color: var(--gold); }

/* ── QUOTE BLOCK ─────────────────────────────────────── */
.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

/* ── PHASE TIMELINE ──────────────────────────────────── */
.phase-timeline {
  position: relative;
}

.phase-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.phase-item:last-child { border-bottom: none; }

.phase-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  padding-top: 4px;
}

.phase-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}

.phase-content .eyebrow { margin-bottom: 12px; display: block; }

.phase-content p {
  color: var(--ink-mid);
  margin-bottom: 20px;
  max-width: 560px;
}

.phase-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.phase-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.5;
}

.phase-detail-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .phase-item { grid-template-columns: 1fr; gap: 8px; }
  .phase-number { font-size: 3rem; }
}

/* ── TEAM CARD ───────────────────────────────────────── */
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 40px;
}

.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ink-mid);
}

/* ── DARK SECTION ────────────────────────────────────── */
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-dark .eyebrow { color: var(--gold-light); }
.section-dark .rule { background: rgba(255,255,255,0.1); }
.section-dark p { color: rgba(255,255,255,0.6); }

/* ── UTILITY ─────────────────────────────────────────── */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--ink-light); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex   { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
