:root {
  --navy: #1c2e42;
  --navy-deep: #142132;
  --gold: #e0c064;
  --gold-soft: #ead489;
  --yellow: #f7c948;
  --yellow-dark: #e0b530;
  --muted: #6b7686;
  --border: #e3e6ea;
  --bg-soft: #faf8f3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.5;
}

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; margin: 0; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}
.topbar a { color: var(--navy-deep); text-decoration: underline; text-underline-offset: 2px; }
.topbar .sep { opacity: .4; margin: 0 10px; }
.topbar-full { display: none; }
@media (min-width: 640px) { .topbar { white-space: normal; } .topbar-full { display: inline; } }

/* Nav */
.nav {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 40;
}
.nav .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo-footer { height: 48px; }
.brand-crest { height: 30px; width: auto; display: block; }

.nav-links { display: none; gap: 18px; font-size: 13.5px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
@media (min-width: 1024px) { .nav-links { display: flex; } }
@media (min-width: 1200px) { .nav-links { gap: 22px; font-size: 14px; } }

.nav-cta.btn { display: none; }
@media (min-width: 1024px) { .nav-cta.btn { display: inline-block; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.nav-mobile a.active { color: var(--gold); }
.nav-mobile .btn { margin-top: 16px; text-align: center; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }

.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-navy { background: var(--navy-deep); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero { min-height: 78vh; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; position: relative; overflow: hidden; }
.hero-video-bg { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); z-index: 0; overflow: hidden; pointer-events: none; }
.hero-video-bg iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 100vh; min-width: 100%; min-height: 56.25vw; transform: translate(-50%, -50%); border: 0; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,34,.78) 0%, rgba(10,20,34,.88) 100%); z-index: 1; }
.hero-centered.hero > .wrap { position: relative; z-index: 2; }

/* Secondary page hero with background photo/graphic */
.page-hero { position: relative; color: #fff; padding: 64px 0; background-size: cover; background-position: center; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,34,.82) 0%, rgba(10,20,34,.90) 100%); }
.page-hero > .wrap { position: relative; z-index: 1; }
.hero p { max-width: 460px; color: rgba(255,255,255,.8); margin-top: 18px; }
.hero .actions { max-width: 380px; margin-top: 32px; display: grid; gap: 12px; }

.hero-centered { text-align: center; justify-content: center; }
.hero-centered .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-logo { height: 96px; width: auto; margin-bottom: 28px; filter: drop-shadow(0 4px 18px rgba(0,0,0,.4)); }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .35em; font-size: 12px; color: var(--gold); margin-bottom: 18px; }
.hero-centered h1 { font-size: 60px; line-height: 1.05; max-width: 820px; }
.hero-centered p.lede { max-width: 620px; margin: 20px auto 0; color: rgba(255,255,255,.75); font-size: 17px; }
.hero-rule { width: 64px; height: 2px; background: var(--gold); margin: 26px auto; border: 0; }
.hero-centered .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: none; margin-top: 34px; }
.hero-centered .actions .btn { min-width: 200px; }
@media (max-width: 640px) { .hero-centered h1 { font-size: 36px; } .hero-logo { height: 70px; } }

.pillars { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3,1fr); } }
.pillar { text-align: center; padding: 8px 12px; }
.pillar .mark { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: "Cormorant Garamond",serif; font-size: 20px; color: var(--gold); }
.pillar h3 { font-size: 19px; }
.pillar p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Sections */
section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .3em; font-size: 13px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { border-left: 2px solid var(--gold); padding: 8px 0 8px 16px; text-align: center; }
.stat .n { font-family: "Cormorant Garamond", serif; font-size: 34px; }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 4px; }

.grid-cards { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .grid-cards.cols-2 { grid-template-columns: repeat(2,1fr); } .grid-cards.cols-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .grid-cards.cols-4 { grid-template-columns: repeat(4,1fr); } }
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 24px;
  transition: box-shadow .15s, border-color .15s;
}
.card:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.card h3 { font-size: 20px; color: var(--navy); }
.card p { color: var(--muted); font-size: 14px; margin-top: 8px; }

.cta { background: var(--gold); text-align: center; }
.cta h2 { font-size: 40px; color: var(--navy-deep); }
.cta p { max-width: 560px; margin: 12px auto 0; color: var(--navy-deep); }

footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.7);
  padding: 56px 0;
  font-size: 14px;
}
footer .grid { display: grid; gap: 32px; }
@media (min-width: 768px) { footer .grid { grid-template-columns: repeat(4,1fr); } }
footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; font-family: inherit; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a:hover { color: var(--gold); }
footer .fine { color: rgba(255,255,255,.45); font-size: 12px; margin-top: 12px; line-height: 1.6; }

/* Notices */
.notice {
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
}
.notice-warn { background: rgba(224,192,100,.12); border: 1px solid rgba(224,192,100,.5); }
.notice-error { background: rgba(200,50,50,.06); border: 1px solid rgba(200,50,50,.3); color: #a33; }
.notice-success { background: rgba(60,140,90,.08); border: 1px solid rgba(60,140,90,.35); color: #2e7048; text-align: center; }

/* Forms / wizard */
.wizard-header { border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 0; z-index: 40; }
.wizard-header .wrap { max-width: 760px; padding: 12px 24px; }
.wizard-header .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wizard-header .step-label { font-size: 12px; color: var(--muted); }

.stepper { display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; margin-top: 10px; overflow-x: auto; }
.step { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; color: var(--muted); white-space: nowrap; }
.step .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--border); color: var(--muted); display: grid; place-items: center; font-size: 10px; font-weight: 600; }
.step.active { background: var(--navy); color: #fff; }
.step.active .dot { background: var(--gold); color: var(--navy-deep); }
.step.done .dot { background: var(--navy); color: #fff; }
.step-arrow { color: var(--border); margin: 0 2px; }

.wizard-main { max-width: 760px; margin: 0 auto; padding: 40px 24px; }
.panel { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 24px 32px; }
.panel h1 { font-size: 28px; }
.panel .desc { color: var(--muted); font-size: 14px; margin-top: 4px; }

.field { min-width: 0; margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224,192,100,.25);
}
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row.cols-2 { grid-template-columns: repeat(2,1fr); } }

.tier-option { display: block; cursor: pointer; border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.tier-option.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224,192,100,.25); }
.tier-option .price { font-family: monospace; color: var(--gold); margin-top: 4px; }
.tier-option ul { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: var(--navy); }

.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 24px; margin-top: 8px; }

.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.summary-row .label { color: var(--muted); }
.summary-row .value { font-family: monospace; }
.summary-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px; }
.summary-total .amount { font-family: "Cormorant Garamond", serif; font-size: 28px; color: var(--gold); }

.pledge-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 16px; font-size: 14px; color: rgba(28,46,66,.85); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-top: 16px; }
