@font-face { font-family: 'Montserrat'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --navy: #0b1226;
  --navy-2: #131b36;
  --navy-3: #1c2647;
  --gold: #c9a24b;
  --gold-soft: #e2c47e;
  --white: #ffffff;
  --text: #e9ecf5;
  --muted: #9aa3bd;
  --line: #27315a;
  --official: #3fae7a;
  --reference: #5b8def;
  --self: #c9a24b;
  --radius: 10px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--gold-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--white); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.draft-banner {
  background: var(--gold);
  color: var(--navy);
  font: 700 13px/1 var(--font-head);
  letter-spacing: .08em;
  text-align: center;
  padding: 9px 12px;
}

.site-header { border-bottom: 1px solid var(--line); background: var(--navy); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.wordmark-text { font: 800 22px var(--font-head); letter-spacing: .04em; color: var(--white); }
.wordmark-sub { font: 700 11px var(--font-head); letter-spacing: .32em; color: var(--gold); margin-top: 3px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font: 600 13px var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--gold-soft); border-color: var(--gold); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--white); }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -.01em; margin: .2em 0 .35em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; margin: 0 0 .6em; }
h3 { font-size: 19px; font-weight: 700; margin: .5em 0 .3em; }
.kicker { font: 700 12px var(--font-head); letter-spacing: .28em; color: var(--gold); margin: 0 0 8px; }
.kicker a { color: inherit; text-decoration: none; }
.lead { font-size: 20px; color: var(--text); max-width: 760px; }
.note { border-left: 3px solid var(--gold); padding: 8px 14px; background: var(--navy-2); color: var(--muted); max-width: 760px; font-size: 15px; }

.hero { padding: 84px 0 64px; background: radial-gradient(1200px 400px at 85% -10%, #1b2750 0%, transparent 60%), var(--navy); border-bottom: 1px solid var(--line); }
.page-head { padding: 56px 0 28px; border-bottom: 1px solid var(--line); }
.section { padding: 48px 0; }

.btn { display: inline-block; background: var(--gold); color: var(--navy); font: 700 13px var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 13px 22px; border-radius: 6px; text-decoration: none; margin: 4px 8px 4px 0; }
.btn:hover { background: var(--gold-soft); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--gold-soft); border: 1px solid var(--gold); }
.btn-ghost:hover { background: var(--navy-3); color: var(--white); }

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: .4em 0; }
.meta { color: var(--muted); font-size: 14px; margin: .2em 0; }
.more { font-weight: 600; }

.badge { display: inline-block; font: 700 11px var(--font-head); letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; margin: 0 6px 6px 0; }
.badge-official { color: var(--official); }
.badge-reference { color: var(--reference); }
.badge-self { color: var(--self); }
.legend { color: var(--muted); font-size: 14px; }

.timeline { max-width: 820px; }
.t-item { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.t-date { font: 700 14px var(--font-head); letter-spacing: .08em; color: var(--gold); margin: .3em 0 0; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }

.site-footer { border-top: 1px solid var(--line); background: var(--navy-2); padding: 40px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer-title { font: 700 12px var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.site-footer a { text-decoration: none; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .grid2, .grid3, .footer-grid { grid-template-columns: 1fr; }
  .t-item { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding: 56px 0 44px; }
  .nav { gap: 14px; }
}

.wordmark img { height: 46px; width: auto; display: block; }
@media (max-width: 760px) { .wordmark img { height: 38px; } }

/* Home hero with portrait */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-copy .lead { max-width: 560px; }
.cta { margin-top: 28px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hero-photo::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border: 1px solid var(--gold); border-radius: var(--radius); opacity: .55; z-index: -1; }
.statement-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.statement .prose p { font-size: 19px; }
@media (max-width: 860px) {
  .hero-grid, .statement-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 420px; }
  .hero-copy h1 { max-width: none; }
}

/* Footer */
.site-footer { background: #080d1c; border-top: 1px solid var(--line); padding: 64px 0 28px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.1fr; gap: 44px; }
.f-brand img { display: block; height: 40px; width: auto; margin-bottom: 18px; }
.f-blurb { color: var(--muted); font-size: 13px; font-weight: 400; max-width: 300px; margin: 0; }
.footer-title { font: 500 11.5px var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin: 0 0 9px; }
.f-links a, .f-email a { color: #c3c9dc; text-decoration: none; font-size: 13px; font-weight: 400; }
.f-links a:hover, .f-email a:hover { color: var(--gold-soft); }
.f-email { margin: 0 0 18px; font-size: 13px; font-weight: 400; }
.f-social { display: flex; gap: 12px; margin-bottom: 20px; }
.f-icon { width: 38px; height: 38px; border: 1.5px solid var(--gold); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gold-soft); text-decoration: none; font: 600 14px var(--font-head); transition: background .15s, color .15s; }
.f-icon svg { width: 19px; height: 19px; }
.f-icon:hover { background: var(--gold); color: var(--navy); }
.f-main { display: inline-block; font: 600 11.5px var(--font-head); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--gold-soft); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.f-main:hover { color: var(--white); }
.f-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; }
.f-bottom p { color: var(--muted); font-size: 12px; font-weight: 400; margin: 0 0 6px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Lists in prose */
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .55em 0; }
.prose h2 { margin-top: 1.6em; }

/* Legal pages */
.legal h2 { font-size: 21px; margin: 1.8em 0 .5em; }
.legal p { color: var(--text); }

/* Motion (disabled for reduced-motion users; content stays visible without JS) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }
@keyframes glow { 0%,100% { opacity: .35; } 50% { opacity: .7; } }

.hero { position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.22), transparent 65%); animation: glow 7s ease-in-out infinite; pointer-events: none; }
.hero-copy .kicker { animation: fadeUp .7s .05s both; }
.hero-copy h1 { animation: fadeUp .8s .15s both; }
.hero-copy .lead { animation: fadeUp .8s .3s both; }
.hero-copy .cta { animation: fadeUp .8s .45s both; }
.hero-photo { animation: fadeIn 1.1s .3s both, drift 9s 1.4s ease-in-out infinite; }
.hero-photo::before { animation: fadeIn 1.4s .8s both; }
.page-head .kicker, .page-head h1, .page-head .lead { animation: fadeUp .7s both; }
.page-head h1 { animation-delay: .08s; }
.page-head .lead { animation-delay: .18s; }
.page-head { position: relative; }
.page-head::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 120px; background: var(--gold); transform-origin: left; animation: drawLine .9s .35s both; }
.wrap.page-head-inner { position: relative; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.card, .t-item { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); }
.btn { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(201,162,75,.6); }
.nav a { transition: color .2s ease, border-color .2s ease; }
.f-icon { transition: transform .2s ease, background .15s, color .15s; }
.f-icon:hover { transform: translateY(-3px); }
.t-date { position: relative; }
.t-item .t-date::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: 10px; box-shadow: 0 0 0 4px rgba(201,162,75,.18); }
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.8); background: rgba(11,18,38,.94); backdrop-filter: blur(8px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
