:root {
  --paper: #F4F1EB;
  --ink: #1B2420;
  --muted: #4A554F;
  --faint: #6A736E;
  --rule: #D6D0C4;
  --rule-soft: #E2DCD1;
  --navy: #10336A;
  --accent: #41658A;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, sans-serif;
  --section-pad: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--navy); }
em { font-style: italic; }

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

/* Hero */
.hero { position: relative; height: 920px; overflow: hidden; display: flex; flex-direction: column; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-haze { position: absolute; left: 0; right: 0; top: 0; height: 100%;
  background:
    linear-gradient(to bottom, rgba(244,241,235,.55) 0%, rgba(244,241,235,0) 22%),
    linear-gradient(100deg, rgba(244,241,235,.9) 0%, rgba(244,241,235,.72) 32%, rgba(244,241,235,0) 58%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(to bottom, rgba(244,241,235,0) 0%, rgba(244,241,235,.75) 60%, var(--paper) 100%); }

.site-header { position: relative; border-bottom: 1px solid rgba(27,36,32,.14); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand-sub { font-size: 11px; letter-spacing: .2em; line-height: 1.35; color: var(--navy);
  border-left: 1px solid rgba(16,51,106,.3); padding-left: 14px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; }
.btn-nav { background: var(--navy); color: #fff; text-decoration: none; padding: 11px 20px;
  border-radius: 999px; font-weight: 500; white-space: nowrap; }
.btn-nav:hover { color: #fff; background: #0B2550; }

.hero-inner { position: relative; width: 100%; padding-top: 72px; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 13px; letter-spacing: .2em; color: #5E3A26; font-weight: 500; }
h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 120px); line-height: .96; }
.hero-lede { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.6; font-weight: 500; }

/* Ledger sections */
main > .wrap:first-child { padding-top: 24px; }
.ledger { display: flex; flex-wrap: wrap; gap: 20px 64px; padding: var(--section-pad) 0; border-top: 1px solid var(--rule); }
.ledger-last { padding-bottom: 96px; }
.label { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.content { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.statement { flex: 999 1 560px; min-width: 0; margin: 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.3; }
.content .statement { flex: none; }
.content { gap: 16px; }
.content h2 + .rows, .content h2 + .muted { margin-top: 8px; }
h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 64px); line-height: 1.02; }
.muted { margin: 0; color: var(--muted); max-width: 680px; }

.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 64px minmax(0,1fr) minmax(0,2fr); gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--rule-soft); }
.row:last-child { border-bottom: 1px solid var(--rule-soft); }
.row .idx { color: var(--faint); }
.row-plain { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
.row .title { font-weight: 500; }
.row .desc { color: var(--muted); }

/* Photo band */
.band { position: relative; height: 440px; overflow: hidden; margin: 24px 0 40px; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.band-shade { position: absolute; inset: 0; background: rgba(17,22,20,.38); }
.band-inner { position: relative; height: 100%; display: flex; align-items: center; }
.band p { margin: 0; max-width: 820px; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; color: #fff; }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 680px; }
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.form-row label { flex: 1 1 240px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.form input, .form select {
  background: transparent; border: 0; border-bottom: 1px solid #8E958F; color: var(--ink);
  font: inherit; font-size: 16px; letter-spacing: 0; padding: 10px 0; border-radius: 0;
}
.form textarea {
  background: #fff; border: 1px solid #C9C2B5; border-radius: 6px; color: var(--ink);
  font: inherit; font-size: 16px; letter-spacing: 0; padding: 12px 14px; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn { align-self: flex-start; margin-top: 4px; background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 15px 34px; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .06em; cursor: pointer; min-height: 48px; }
.btn:hover { background: var(--navy); color: #fff; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1px solid rgba(27,36,32,.35); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: .06em; background: rgba(244,241,235,.6); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-actions .btn { margin-top: 0; }
.text-link { color: var(--navy); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Key facts strip */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding: 40px 0;
  border-top: 1px solid var(--rule); }
.fact { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 2px solid var(--accent); }
.fact-title { font-family: var(--serif); font-size: 28px; line-height: 1.15; color: var(--navy); }
.fact-desc { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { margin-top: 0; }
.footer-photo { position: relative; height: 420px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.footer-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.footer-shade { position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--paper) 0%, rgba(16,34,60,.35) 30%, rgba(16,34,60,.55) 100%); }
.footer-logo { position: relative; width: 320px; max-width: 70%; height: auto; display: block;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.25)); }
.footer-bar { background: #0F2440; color: #C9D3E0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-top: 22px; padding-bottom: 22px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: #C9D3E0; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* Legal pages */
.doc-header { border-bottom: 1px solid var(--rule); }
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 28px; margin: 40px 0 8px; }
.doc p, .doc li { color: #2F3A35; }
.doc ul { padding-left: 20px; }
.doc .note { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; font-size: 14px; color: var(--muted); }

/* Load-in motion */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.rise { animation: rise 1.4s cubic-bezier(.2,.7,.1,1) both; }
.r1 { animation-delay: .2s; } .r2 { animation-delay: .45s; } .r3 { animation-delay: .7s; }
.settle { animation: settle 3.2s cubic-bezier(.2,.7,.1,1) both; }
@media (prefers-reduced-motion: reduce) { .rise, .settle { animation: none; } html { scroll-behavior: auto; } }

/* Phone */
@media (max-width: 720px) {
  .nav-links, .brand-sub { display: none; }
  .hero { height: auto; min-height: 640px; }
  .hero-inner { padding-top: 40px; padding-bottom: 220px; }
  .row { grid-template-columns: 36px minmax(0,1fr); row-gap: 2px; }
  .row .desc { grid-column: 2; }
  .row-plain { grid-template-columns: minmax(0,1fr); }
  .row-plain .desc { grid-column: 1; }
  .label { flex-direction: row; gap: 12px; }
  .band { height: 300px; }
  .facts { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .footer-photo { height: 300px; }
  h1 { font-size: 54px; line-height: .98; }
  h1 .h1-line { display: block; }
  h1 br { display: none; }
  .hero-lede { font-size: 16.5px; line-height: 1.55; }
  .hero-inner { gap: 18px; }
  .btn-ghost { background: var(--paper); border-color: var(--paper); }
  .hero-actions a { flex: 1 1 auto; justify-content: center; }
  .hero-haze { background: linear-gradient(to bottom, rgba(244,241,235,.9) 0%, rgba(244,241,235,.75) 45%, rgba(244,241,235,0) 70%); }
  .hero-photo { object-position: 62% 60%; }
}
