:root {
  --ink:       #0c0b10;
  --surface:   #2a2636;
  --card:      #1a1724;
  --border:    rgba(255,255,255,0.07);
  --gold:      #c8a96e;
  --gold-dim:  rgba(200,169,110,0.15);
  --white:     #f5f2ee;
  --muted:     rgba(245,242,238,0.55);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; height: 100%; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  overflow: hidden;
}

/* ── Scroll-snap container ── */
main.snap-container {
  margin-top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  scroll-behavior: smooth;
}

.container { max-width: 860px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; border-bottom: 1px solid var(--border); }
.snap-section:nth-child(odd) { background: var(--ink); }
.snap-section:nth-child(even) { background: var(--surface); }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12,11,16,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .inner {
  padding: 0 32px;
  display: flex; align-items: center;
  height: 64px;
}
nav .nav-links-group {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
nav .logo { flex-shrink: 0; margin-right: auto; }
nav.burger-mode .logo { flex-shrink: 1; min-width: 0; overflow: hidden; }
nav .logo img { height: 40px; display: block; max-width: 100%; }
.nav-menu { display: flex; align-items: center; list-style: none; flex-wrap: nowrap; }
.nav-menu li a {
  display: block;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: 8px 13px; border-radius: 2px;
  transition: color 0.2s; white-space: nowrap;
}
.nav-menu li a:hover { color: var(--gold); }
.nav-menu li a.active {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}
.nav-contact {
  flex-shrink: 0;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border: 1px solid rgba(200,169,110,0.4);
  padding: 7px 16px; border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-contact:hover, .nav-contact.active { background: var(--gold); color: var(--ink); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); }

/* ── Hero ── */
.hero { padding: 120px 0 96px; border-bottom: 1px solid var(--border); }
.hero-eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(42px, 6vw, 72px);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 32px; max-width: 720px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 600px; }

/* ── Headings ── */
.section-label {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
h2 {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 46px);
  font-weight: 300; line-height: 1.15; margin-bottom: 32px;
}
h2 em { font-style: italic; color: var(--gold); }
h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 40px 0 12px; }

p { margin-bottom: 20px; color: rgba(245,242,238,0.82); }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); font-weight: 500; }

/* ── Pull quote ── */
.pull-quote {
  border-left: 2px solid var(--gold); padding: 12px 28px; margin: 40px 0;
  font-family: var(--serif); font-size: 22px; font-style: italic;
  font-weight: 300; color: var(--white); line-height: 1.5;
}

/* ── Stats ── */
.stat-row { display: flex; gap: 2px; margin: 48px 0; }
.stat { flex: 1; background: var(--card); border: 1px solid var(--border); padding: 28px 24px; }
.stat-number {
  font-family: var(--serif); font-size: 38px; font-weight: 300;
  color: var(--gold); line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ── Images ── */
.img-block { margin: 48px 0; border: 1px solid var(--border); overflow: hidden; }
.img-block img { width: 100%; display: block; }
.img-caption {
  font-size: 13px; color: var(--muted);
  padding: 14px 20px; background: var(--card); font-style: italic;
}

/* ── Method cards ── */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 40px 0; }
.method-card { background: var(--card); border: 1px solid var(--border); padding: 36px 32px; }
.method-number {
  font-family: var(--serif); font-size: 48px; font-weight: 300;
  color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 16px;
}
.method-title {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.method-card p { font-size: 15px; }

/* ── Citations ── */
.citation {
  background: var(--card); border-left: 2px solid var(--gold);
  padding: 20px 24px; margin: 12px 0; font-size: 15px; color: var(--muted);
}
.citation strong { color: var(--white); display: block; margin-bottom: 4px; }

/* ── Coming soon ── */
.coming-soon-block {
  margin-top: 48px; padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
}
.coming-soon-label {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.coming-soon-block h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 300;
  color: var(--white); margin: 0 0 14px;
}
.coming-soon-block p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.coming-soon-block p:last-child { margin-bottom: 0; }
.coming-soon-note { font-size: 13px !important; font-style: italic; }
.coming-soon-note a { color: var(--gold); text-decoration: none; }
.coming-soon-note a:hover { text-decoration: underline; }

/* ── Diff block ── */
.diff-block {
  background: var(--gold-dim); border: 1px solid rgba(200,169,110,0.25);
  padding: 40px; margin: 48px 0;
}
.diff-block p {
  font-family: var(--serif); font-size: 20px;
  font-style: italic; line-height: 1.6; color: var(--white);
}
.diff-block p:last-child { margin-bottom: 0; }

/* ── Contact section ── */
.contact-section { padding: 96px 0; border-top: 1px solid var(--border); justify-content: flex-start; }
.contact-box {
  margin-top: 48px;
  padding: 52px 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  max-width: 600px;
}
.contact-box-label {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.contact-box h3 {
  font-family: var(--serif); font-size: 30px; font-weight: 300;
  color: var(--white); margin: 0 0 16px; line-height: 1.2;
}
.contact-box p { font-size: 16px; color: var(--muted); margin-bottom: 32px; }
.contact-email-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  color: var(--gold); text-decoration: none;
  border: 1px solid rgba(200,169,110,0.4);
  padding: 14px 28px; border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.contact-email-link:hover { background: var(--gold); color: var(--ink); }
.contact-email-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 32px 0; background: var(--ink); }
footer .inner {
  max-width: 860px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
footer img { height: 22px; opacity: 0.5; }
footer p { font-size: 13px; color: var(--muted); margin: 0; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.7s ease both; animation-delay: 0s; }
.hero h1      { animation: fadeUp 0.7s ease both; animation-delay: 0.1s; }
.hero-lead    { animation: fadeUp 0.7s ease both; animation-delay: 0.2s; }

/* ── Burger mode (toggled by JS when menu overflows) ── */
nav.burger-mode .nav-toggle { display: flex; }
nav.burger-mode .inner { justify-content: space-between; }
nav.burger-mode .nav-menu {
  display: none; position: absolute; top: 64px; left: 0; right: 0;
  background: rgba(12,11,16,0.98); flex-direction: column;
  padding: 16px 0 24px; border-bottom: 1px solid var(--border);
}
nav.burger-mode .nav-menu.open { display: flex; }
nav.burger-mode .nav-menu li a { padding: 12px 32px; font-size: 13px; }
nav.burger-mode .nav-contact { order: 1; }
nav.burger-mode .nav-toggle { order: 2; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .method-grid { grid-template-columns: 1fr; }
  .stat-row { flex-direction: column; }
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .contact-section { padding: 64px 0; }
  .contact-box { padding: 32px 24px; }
  .diff-block { padding: 28px 24px; }
}
