/* ── DESIGN TOKENS ── */
:root {
  --ink: #1a1a1a;
  --stone: #f4f1ec;
  --birch: #e8e2d6;
  --moss: #3d5a4a;
  --moss-light: #4e7260;
  --sand: #c9b89a;
  --warm-white: #faf8f4;
  --accent: #8b6f4e;
  --text-muted: #6b6b6b;
  --border: #ddd8ce;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo span { color: var(--moss); font-weight: 600; }

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

.nav-links a,
.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 0;
  line-height: normal;
  -webkit-appearance: none;
  appearance: none;
}

.nav-links a:hover,
.nav-btn:hover { color: var(--moss); }

.nav-links a.active { color: var(--moss); }

.nav-dropdown {
  position: relative;
  padding-bottom: 1.2rem;
  margin-bottom: -1.2rem;
}

/* Invisible bridge so the cursor can travel from toggle to menu
   without losing hover state. */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 1.2rem;
  pointer-events: none;
}

.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after {
  pointer-events: auto;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-dropdown-toggle::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
  transform: translateY(0) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--warm-white);
  border: 1px solid var(--border);
  min-width: 280px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  box-shadow: 0 12px 32px rgba(26,26,26,0.06);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  width: 10px; height: 10px;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.4rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--stone);
  color: var(--moss);
}

.nav-login {
  background: var(--moss) !important;
  color: white !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 2px !important;
  font-size: 0.8rem !important;
  transition: background 0.2s !important;
  border: none !important;
}
.nav-login:hover { background: var(--moss-light) !important; color: white !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--moss);
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--moss-light); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 0.9rem 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--moss); color: var(--moss); transform: translateY(-1px); }

.btn-white {
  background: white;
  color: var(--moss);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}
.btn-white:hover { transform: translateY(-1px); opacity: 0.9; }

/* ── SECTION BASE ── */
section { padding: 6rem 4rem; }

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  font-weight: 300;
  line-height: 1.8;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 4rem 4rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: white;
  margin-bottom: 1rem;
}

.footer-brand span { color: #6aad8a; }

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 260px;
}

.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a,
.footer-link-btn {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 300;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
  text-align: left;
}

.footer-links a:hover,
.footer-link-btn:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── LOGIN MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.85);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--warm-white);
  width: 100%;
  max-width: 420px;
  padding: 3rem;
  position: relative;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 1px;
}
.form-group input:focus { border-color: var(--moss); }

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}
.form-note a { color: var(--moss); text-decoration: none; }

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

/* ── MOBILE NAV ── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.2s;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  padding: 9rem 4rem 5rem;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
}

.page-hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
  margin-bottom: 1.6rem;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
}

.page-hero-title em {
  font-style: italic;
  color: var(--moss);
}

.page-hero-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 460px;
}

.crumbs {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.crumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.crumbs a:hover { color: var(--moss); }
.crumbs span { color: var(--ink); }

/* ── PROSE BLOCKS ── */
.prose-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.prose-row + .prose-row { margin-top: 4rem; }

.prose-row h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
}

.prose-row .prose-body p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.85;
}

.prose-row .prose-body p + p { margin-top: 1.2rem; }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  max-width: 1100px;
  margin: 5rem auto 0;
}

.stat-cell {
  background: var(--warm-white);
  padding: 2.5rem 2rem;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--moss);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-weight: 300;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 4rem;
}

.pillar {
  background: var(--warm-white);
  padding: 2.8rem 2.4rem;
}

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--moss);
  display: block;
  margin-bottom: 1rem;
}

.pillar h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
}

/* List with checkmarks */
.checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
}

.checks li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--moss);
  border-radius: 50%;
  margin-top: 3px;
  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='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Phase timeline */
.phases {
  display: grid;
  gap: 2px;
  background: var(--border);
  margin-top: 3rem;
}

.phase {
  background: var(--stone);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.phase-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}

.phase-label strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 0.4rem;
}

.phase-body h5 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.phase-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
}

/* CTA band */
.cta-band {
  background: var(--moss);
  color: white;
  padding: 5rem 4rem;
  text-align: center;
}

.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0 auto 1.2rem;
  max-width: 720px;
}

.cta-band p {
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.cta-band-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn-secondary {
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.cta-band .btn-secondary:hover {
  color: white;
  border-color: white;
  background: rgba(255,255,255,0.06);
}

/* Related services */
.related {
  background: var(--stone);
  padding: 5rem 4rem;
}

.related-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 2.5rem;
}

.related-card {
  background: var(--warm-white);
  padding: 2rem 2rem 1.8rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
}

.related-card:hover { background: white; }

.related-card h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.related-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

.related-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  font-weight: 500;
}

/* Soft section variant */
.soft { background: var(--stone); }
.dark { background: var(--ink); color: white; }
.dark .section-title { color: white; }
.dark .section-lead { color: rgba(255,255,255,0.55); }
.dark .prose-row h3 { color: white; }
.dark .prose-row .prose-body p { color: rgba(255,255,255,0.6); }

/* Two-column heading */
.section-head {
  max-width: 1100px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: end;
}

.section-head.center {
  display: block;
  text-align: center;
  max-width: 720px;
}

.section-head.center .section-lead { margin: 0 auto; }

/* Quote pull */
.pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--moss);
  padding-left: 2rem;
  max-width: 800px;
  margin: 4rem auto;
}

/* MEDIA */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  section { padding: 4rem 1.5rem; }

  .page-hero { padding: 7rem 1.5rem 3.5rem; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 2rem; }

  .prose-row,
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }

  .stat-strip,
  .pillars,
  .related-grid { grid-template-columns: 1fr; }

  .phase { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.6rem; }

  .cta-band { padding: 3.5rem 1.5rem; }
  .related { padding: 3.5rem 1.5rem; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
