:root {
  --ink: #0b1825;
  --ink-soft: #13283a;
  --night: #07111b;
  --paper: #f6f0e4;
  --paper-2: #ebe1cd;
  --gold: #d5ad62;
  --gold-bright: #efd59a;
  --ember: #a84931;
  --text: #17212a;
  --muted: #58626a;
  --line: rgba(11, 24, 37, 0.16);
  --max: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  background: var(--gold-bright);
  color: var(--night);
  padding: .7rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(239, 213, 154, .19);
  background: rgba(7, 17, 27, .94);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { width: 34px; height: 34px; }
.brand-copy { display: grid; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.03rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.brand-type {
  margin-top: .28rem;
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: #d9e0e4;
  font-size: .9rem;
  font-weight: 620;
  text-decoration: none;
  transition: color .2s ease;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current='page'] { color: var(--gold-bright); }
.nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: .42rem; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  background: transparent;
  color: white;
}
.menu-button span, .menu-button::before, .menu-button::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 11, 18, .98) 0%, rgba(4, 11, 18, .91) 34%, rgba(4, 11, 18, .36) 69%, rgba(4, 11, 18, .18) 100%), linear-gradient(0deg, rgba(4, 11, 18, .5), transparent 42%);
}
.hero-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  padding: 7rem 0 8rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.2rem;
  color: var(--gold-bright);
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.hero h1, .page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 7vw, 6.35rem);
  line-height: .96;
  letter-spacing: -.045em;
}
.hero h1 em { color: var(--gold-bright); font-weight: 500; }
.hero-lede {
  max-width: 650px;
  margin: 1.8rem 0 2.25rem;
  color: #d8dee1;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.6;
}
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .75rem 1.25rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--night);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--gold-bright); }
.button-outline { background: transparent; color: white; border-color: rgba(255,255,255,.5); }
.button-outline:hover { background: rgba(255,255,255,.09); }
.button-dark { background: var(--ink); border-color: var(--ink); color: white; }

.scripture-band { background: var(--ember); color: white; }
.scripture-inner {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 138px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
}
.scripture-inner blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.35;
}
.scripture-inner cite { font-style: normal; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-dark { background: var(--ink); color: white; }
.section-night { background: var(--night); color: white; }
.section-inner { width: min(calc(100% - 2rem), var(--max)); margin: auto; }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.kicker { margin: 0 0 .7rem; color: var(--ember); font-size: .77rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-dark .kicker, .section-night .kicker { color: var(--gold); }
h2, .display-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.section-heading > p:last-child { max-width: 680px; margin-top: 1.3rem; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading > p:last-child, .section-night .section-heading > p:last-child { color: #b8c3ca; }
.gold-rule { width: 60px; height: 2px; margin: 1.25rem 0 1.5rem; background: var(--gold); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { min-height: 310px; padding: 2rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar-number { color: var(--ember); font-family: var(--serif); font-size: 1rem; }
.pillar h3 { margin: 3rem 0 .85rem; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.pillar p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.split-copy p { color: #c2ccd2; font-size: 1.08rem; }
.chapter-card { position: relative; padding: 2.5rem; border: 1px solid rgba(213,173,98,.38); background: rgba(255,255,255,.035); }
.chapter-card::before { content: '22'; position: absolute; right: 1.2rem; top: -.5rem; color: rgba(213,173,98,.11); font-family: var(--serif); font-size: 9rem; line-height: 1; }
.chapter-card h3 { position: relative; margin: 0 0 1rem; color: var(--gold-bright); font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.chapter-card ol { position: relative; margin: 0; padding-left: 1.2rem; color: #d8dfe2; }
.chapter-card li { padding: .55rem 0 .55rem .4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.chapter-card li:last-child { border: 0; }

.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.identity-card { padding: 1.7rem; border-top: 3px solid var(--gold); background: white; box-shadow: 0 12px 32px rgba(11,24,37,.07); }
.identity-card h3 { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.identity-card p { margin: 0; color: var(--muted); }

.cta-panel {
  display: grid;
  grid-template-columns: 1.25fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(213,173,98,.45);
  background: linear-gradient(135deg, rgba(213,173,98,.11), rgba(255,255,255,.025));
}
.cta-panel h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
.cta-panel p { max-width: 650px; margin: .8rem 0 0; color: #b9c5cb; }

.page-hero { padding: clamp(5.5rem, 11vw, 10rem) 0 clamp(4rem, 8vw, 7rem); background: var(--night); color: white; }
.page-hero .section-inner { position: relative; }
.page-hero .section-inner::after { content: ''; position: absolute; width: 280px; height: 1px; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, var(--gold)); }
.page-hero h1 { max-width: 920px; font-size: clamp(3.1rem, 7vw, 6rem); }
.page-hero p:last-child { max-width: 720px; margin: 1.5rem 0 0; color: #bdc8ce; font-size: 1.2rem; }

.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 1.06rem; }
.prose .lead { color: var(--text); font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.45; }
.pullquote { margin: 3rem 0; padding: 1.5rem 0 1.5rem 2rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.7rem; line-height: 1.35; }

.belief-list { counter-reset: belief; border-top: 1px solid var(--line); }
.belief {
  counter-increment: belief;
  display: grid;
  grid-template-columns: 80px minmax(180px, .65fr) 1.35fr;
  gap: 2rem;
  padding: 2.3rem 0;
  border-bottom: 1px solid var(--line);
}
.belief::before { content: counter(belief, decimal-leading-zero); color: var(--ember); font-family: var(--serif); font-size: 1.2rem; }
.belief h2 { font-size: 1.75rem; letter-spacing: -.015em; }
.belief p { margin: 0; color: var(--muted); }

.position-box { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 2rem; background: var(--paper-2); }
.position-box h2 { font-size: 2rem; }
.position-box p { margin: 0; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 25px; bottom: 25px; width: 1px; background: rgba(213,173,98,.55); }
.timeline-item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.5rem; padding: 0 0 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--ink); color: var(--gold-bright); font-family: var(--serif); }
.timeline-copy h3 { margin: .25rem 0 .4rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.timeline-copy p { margin: 0; color: #b8c3ca; }

.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.principle { padding: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.principle h3 { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.principle p { margin: 0; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 1.4rem 3rem 1.4rem 0; font-family: var(--serif); font-size: 1.35rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: .25rem; color: var(--ember); font-family: var(--sans); font-size: 1.4rem; }
details[open] summary::after { content: '−'; }
details p { max-width: 760px; margin: -.3rem 0 1.6rem; color: var(--muted); }

.site-footer { background: #050c12; color: #b8c1c6; }
.footer-main {
  width: min(calc(100% - 2rem), var(--max));
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(2, .6fr);
  gap: 3rem;
  padding: 4.5rem 0;
}
.footer-main .brand { margin-bottom: 1.2rem; }
.footer-main p { max-width: 500px; }
.footer-main h2 { margin: 0 0 1rem; color: white; font-family: var(--sans); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: #b8c1c6; text-decoration: none; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 66px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .8rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 76px; display: none; padding: 1rem; background: var(--night); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 28px rgba(0,0,0,.3); }
  .nav[data-open='true'] { display: grid; }
  .nav a { padding: .7rem .5rem; }
  .hero { min-height: 670px; }
  .hero::after { background: linear-gradient(90deg, rgba(4,11,18,.97), rgba(4,11,18,.71)), linear-gradient(0deg, rgba(4,11,18,.6), transparent); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .split, .cta-panel, .position-box { grid-template-columns: 1fr; }
  .identity-grid { grid-template-columns: 1fr; }
  .belief { grid-template-columns: 55px 1fr; }
  .belief p { grid-column: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .brand-type { display: none; }
  .hero { min-height: 620px; }
  .hero-inner { padding: 5.5rem 0 6rem; }
  .hero-image { object-position: 72% center; opacity: .72; }
  .hero h1, .page-hero h1 { line-height: 1; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .scripture-inner { grid-template-columns: 1fr; gap: .8rem; padding: 1.5rem 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .pillar h3 { margin-top: 1.7rem; }
  .belief { grid-template-columns: 1fr; gap: .6rem; }
  .belief p { grid-column: 1; }
  .principle-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .footer-bottom-inner { padding: 1rem 0; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
