:root {
  --ink: #13202f;
  --ink-2: #3a4757;
  --muted: #6b7684;
  --navy: #10233a;
  --navy-2: #1a3352;
  --stone: #f6f3ee;
  --stone-2: #ece6dc;
  --line: #d9d1c4;
  --gold: #a8844c;
  --gold-2: #c9a46a;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } body { font-size: 16px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.1; color: var(--navy); }
.brand-name small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav a.btn-login { border: 1px solid var(--navy); padding: 8px 16px; color: var(--navy); }
.nav a.btn-login:hover { background: var(--navy); color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--stone); border-bottom: 1px solid var(--line); padding: 8px 18px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn-login { margin-top: 14px; text-align: center; }
}

/* Type */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.2vw, 46px); }
h3 { font-size: 26px; font-weight: 600; }
.lead { font-size: 20px; color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--muted); }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #d7dee8; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold-2); }
.section-dark .eyebrow::before { background: var(--gold-2); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: 1fr; gap: 32px; } }
.prose { max-width: 680px; }
.prose p { color: var(--ink-2); }
.section-dark .prose p { color: #c8d1dd; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #d7dee8; overflow: hidden; padding: 0; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; min-height: 640px; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero .lead { color: #c3ccd8; max-width: 560px; }
.hero-art { justify-self: end; width: 100%; max-width: 440px; }
.hero-grid { position: absolute; inset: 0; opacity: 0.08; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; padding-bottom: 64px; }
  .hero-art { justify-self: start; max-width: 300px; }
}

.page-hero { background: var(--navy); color: #c3ccd8; padding: 96px 0 80px; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: clamp(40px, 5.4vw, 60px); max-width: 820px; }
.page-hero .eyebrow { color: var(--gold-2); }
.page-hero .eyebrow::before { background: var(--gold-2); }
.page-hero .lead { color: #c3ccd8; max-width: 680px; margin: 0; }
@media (max-width: 640px) { .page-hero { padding: 64px 0 56px; } }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn { display: inline-block; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 15px 26px; border: 1px solid var(--gold-2); background: var(--gold-2); color: var(--navy); transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--gold-2); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn.ghost:hover { border-color: var(--white); }
.btn.dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn.dark:hover { background: transparent; color: var(--navy); }

/* Definition / quote */
.definition { border-left: 2px solid var(--gold); padding: 6px 0 6px 28px; }
.definition blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.3; color: var(--navy); font-style: italic; }
.definition cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }

.scripture { text-align: center; max-width: 820px; margin: 0 auto; }
.scripture p { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; color: var(--white); font-style: italic; margin: 0 0 18px; }
.scripture cite { font-style: normal; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-2); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); padding: 40px 36px; display: flex; flex-direction: column; }
.card .num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.12em; margin-bottom: 18px; }
.card h3 { font-size: 24px; }
.card p { color: var(--ink-2); font-size: 16px; }
.card .more { margin-top: auto; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.card .more:hover { color: var(--gold); }
.card-icon { width: 44px; height: 44px; margin-bottom: 22px; color: var(--gold); }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } .card { padding: 32px 24px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; }
.stat { padding: 32px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 58px); color: var(--white); line-height: 1; margin-bottom: 12px; }
.stat span { font-size: 14px; color: #aab6c5; letter-spacing: 0.02em; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.14); } }

/* Content blocks */
.block { padding: 56px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: 56px; }
.block:first-child { border-top: 0; padding-top: 0; }
.block h2 { font-size: clamp(28px, 3.2vw, 38px); }
.block .tag { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
@media (max-width: 900px) { .block { grid-template-columns: 1fr; gap: 12px; padding: 44px 0; } }

/* Figures */
figure { margin: 0; }
.figure-card { background: var(--white); border: 1px solid var(--line); padding: 36px; }
.figure-card figcaption { margin-top: 18px; font-size: 13px; color: var(--muted); }
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.diagram-scroll svg { min-width: 760px; width: 100%; height: auto; }
@media (max-width: 640px) { .figure-card { padding: 20px 16px; } }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.steps li b { color: var(--navy); font-weight: 600; display: block; }
.steps .badge { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 600; display: grid; place-items: center; margin-top: 2px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.duties { columns: 2; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.duties li { break-inside: avoid; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: 15.5px; }
.duties li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 800px) { .duties { columns: 1; } }

/* CTA band */
.cta { background: var(--stone-2); border-top: 1px solid var(--line); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); max-width: 620px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-grid > div { background: var(--white); padding: 44px 40px; }
.contact-grid h3 { font-size: 22px; margin-bottom: 16px; }
.contact-grid address { font-style: normal; color: var(--ink-2); line-height: 1.8; }
.contact-grid a { color: var(--navy); font-weight: 500; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid > div { padding: 32px 24px; } }

/* Footer */
.site-footer { background: #0b1828; color: #8e9bab; font-size: 14px; padding: 64px 0 36px; }
.site-footer .brand-name { color: var(--white); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top h4 { color: var(--white); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: 8px; }
.footer-top a { text-decoration: none; color: #b4bfcc; }
.footer-top a:hover { color: var(--gold-2); }
.footer-top address { font-style: normal; line-height: 1.8; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

.fine { font-size: 13px; color: var(--muted); }

.scroll-hint { display: none; }
@media (max-width: 800px) { .scroll-hint { display: inline; } }
address a { overflow-wrap: anywhere; }
