:root {
  --navy: #12283d;
  --navy-deep: #0b1c2c;
  --gold: #b98a2e;
  --gold-soft: #d9b979;
  --ink: #22303c;
  --ink-soft: #55636f;
  --paper: #faf7f1;
  --white: #ffffff;
  --line: #e5ded1;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.2; }
h1 { font-size: 2.4rem; margin-bottom: .6em; }
h2 { font-size: 1.7rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.2em 0 .4em; }
p { margin-bottom: 1em; }
a { color: var(--navy); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: var(--white); padding: 8px; z-index: 99; }

header.site {
  background: var(--navy);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.nav-wrap {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  min-height: 64px;
}
.brand { color: var(--white); text-decoration: none; font-family: Georgia, serif; font-size: 1.32rem; letter-spacing: .01em; padding: 10px 0; }
.brand span { color: inherit; }
nav.main ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
nav.main a { color: #dbe4ec; text-decoration: none; padding: 8px 10px; border-radius: 4px; font-size: .95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { background: rgba(255,255,255,.12); color: var(--white); }
nav.main a.cta {
  background: var(--gold); color: var(--navy-deep); font-weight: 600; margin-left: 6px;
}
nav.main a.cta:hover { background: var(--gold-soft); }

.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e8eef4; padding: 72px 20px; }
.hero .inner { max-width: var(--max); margin: 0 auto; }
.hero h1 { color: var(--white); max-width: 21ch; }
.hero .kicker { color: var(--gold-soft); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; max-width: 62ch; color: #cdd9e4; }
.hero .actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; padding: 13px 22px; border-radius: 6px; font-weight: 600;
}
.btn.gold { background: var(--gold); color: var(--navy-deep); }
.btn.gold:hover { background: var(--gold-soft); }
.btn.ghost { border: 1px solid #7e91a3; color: #e8eef4; }
.btn.ghost:hover { border-color: var(--white); color: var(--white); }
/* ghost buttons sitting on the light paper background, not the dark hero or band */
.section .btn.ghost { border-color: #97a6b4; color: var(--navy); }
.section .btn.ghost:hover { border-color: var(--navy); background: rgba(18,40,61,.06); color: var(--navy); }

main { display: block; }
.section { max-width: var(--max); margin: 0 auto; padding: 44px 20px; }
.section.narrow { max-width: 800px; }
.lede { font-size: 1.12rem; color: var(--ink); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 26px;
  display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; }
.card p { flex: 1; color: var(--ink-soft); }
.card a.more { font-weight: 600; text-decoration: none; color: var(--gold); }
.card a.more:hover { text-decoration: underline; }

.band {
  background: var(--navy); color: #dfe8ef; padding: 46px 20px; text-align: center;
}
.band h2 { color: var(--white); margin-top: 0; }
.band p { max-width: 60ch; margin: 0 auto 18px; }
.band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.callout {
  background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0;
  padding: 20px 24px; margin: 24px 0; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.callout p:last-child { margin-bottom: 0; }

details.faq {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 20px; margin-bottom: 12px;
}
details.faq summary { font-weight: 600; cursor: pointer; color: var(--navy); font-size: 1.02rem; }
details.faq[open] summary { margin-bottom: 10px; }

ul.checks { list-style: none; margin: 12px 0 18px; }
ul.checks li { padding-left: 28px; position: relative; margin-bottom: 9px; }
ul.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.ep-list { list-style: none; margin: 14px 0; }
.ep-list li { margin-bottom: 10px; padding-left: 24px; position: relative; }
.ep-list li::before { content: "\25B8"; position: absolute; left: 0; color: var(--gold); }

table.simple { border-collapse: collapse; width: 100%; margin: 18px 0; background: var(--white); }
table.simple th, table.simple td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
table.simple th { background: #f1ebdf; color: var(--navy); }

footer.site { background: var(--navy-deep); color: #aebccb; padding: 48px 20px 28px; margin-top: 40px; }
footer.site .inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
footer.site h3 { color: var(--white); font-size: 1.02rem; margin-top: 0; }
footer.site a { color: #cfdae4; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 7px; }
.fineprint { max-width: var(--max); margin: 30px auto 0; border-top: 1px solid #24384c; padding-top: 18px; font-size: .85rem; color: #8798a8; }

.breadcrumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-soft); }

@media (max-width: 720px) {
  h1 { font-size: 1.85rem; }
  .hero { padding: 52px 20px; }
  nav.main ul { gap: 0; }
  nav.main a { padding: 8px 7px; font-size: .88rem; }
}

figure.chart { margin: 26px 0; }
figure.chart svg { width: 100%; height: auto; display: block; }
figure.chart figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.55; }

/* Name-forward hero (home page) */
.hero.intro .inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) 150px;
  gap: 36px;
  align-items: center;
}
.hero .name {
  font-size: 3.3rem;
  color: var(--white);
  max-width: none;
  margin-bottom: .12em;
}
.hero .name span { color: inherit; }
.hero .role {
  color: var(--gold-soft);
  font-size: 1rem;
  letter-spacing: .03em;
  max-width: 48ch;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(217,185,121,.32);
}
.hero .headline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--white);
  max-width: 24ch;
  margin-bottom: .55em;
}
.hero .portrait {
  width: 150px; height: 150px; display: block;
  object-fit: cover; object-position: 50% 16%;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,.35), 0 0 0 1px rgba(217,185,121,.45);
}

.hero.guide h1 { max-width: 26ch; }

/* Powered By CSSI strip */
.partner { background: var(--white); border-bottom: 1px solid var(--line); }
.partner .inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap; text-align: center;
}
.partner img { width: 120px; height: auto; display: block; }
.partner p { margin: 0; font-size: .93rem; color: var(--ink-soft); max-width: 44ch; }

@media (max-width: 780px) {
  .hero.intro .inner { grid-template-columns: 1fr; gap: 0; }
  .hero .portrait-wrap { order: -1; margin-bottom: 20px; }
  .hero .portrait {
    width: 104px; height: 104px;
    object-position: 50% 16%;
  }
  .hero .name { font-size: 2.25rem; }
  .hero .headline { font-size: 1.35rem; }
  .partner .inner { gap: 14px; padding: 18px 20px; }
}

/* Contact form */
.contact-form { max-width: 560px; margin: 22px 0 8px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 5px; color: var(--navy); }
.contact-form label .opt { font-weight: 400; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 3px solid rgba(185,138,46,.35); outline-offset: 1px; border-color: var(--gold);
}
.contact-form ::placeholder { color: #9aa6b1; }
.contact-form button { border: 0; cursor: pointer; font-size: 1rem; }
.contact-form .formnote { font-size: .88rem; color: var(--ink-soft); margin: 12px 0 0; }
.contact-form .hp { position: absolute; left: -9999px; }
