:root {
  --navy: #0c2340;
  --navy-mid: #163558;
  --gold: #c4922a;
  --gold-light: #e8b84b;
  --gold-pale: #f5e8c8;
  --cream: #faf7f2;
  --ink: #0d1f33;
  --muted: #556677;
  --white: #fff;
  --line: rgba(12,35,64,.11);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); line-height: 1.7; }
a { color: inherit; }
.container { width: min(calc(100% - 48px), 1120px); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 20; transform: translateY(-160%); padding: 10px 16px; border-radius: 10px; background: white; color: var(--navy); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(196,146,42,.22); background: rgba(250,247,242,.96); backdrop-filter: blur(16px); box-shadow: 0 5px 22px rgba(12,35,64,.07); }
.nav { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: var(--gold); font-size: 29px; }
.brand strong { display: block; font: 900 1.35rem/1.15 var(--serif); }
.brand small { color: var(--muted); font-size: .78rem; line-height: 1.2; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { position: relative; color: var(--muted); font-size: .86rem; font-weight: 700; text-decoration: none; transition: color .2s; }
.nav-links a:not(.button)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transition: transform .22s ease; }
.nav-links a:not(.button):hover { color: var(--navy); }
.nav-links a:not(.button):hover::after, .nav-links a:not(.button):focus-visible::after { transform: scaleX(1); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; background: var(--gold); color: white !important; font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(196,146,42,.24); }
.nav-links .button { min-height: 46px; padding: 0 22px; font-size: .86rem; }
.button.secondary { background: var(--navy); box-shadow: 0 8px 24px rgba(12,35,64,.18); }

.page-hero { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 124px) 0; background: var(--navy); color: white; }
.page-hero::after { content: '★'; position: absolute; right: -2vw; bottom: -18vw; color: rgba(255,255,255,.035); font-size: min(56vw, 680px); line-height: 1; }
.eyebrow { margin-bottom: 16px; color: var(--gold-light); font-size: .77rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.page-hero h1 { position: relative; z-index: 1; max-width: 820px; margin: 0 0 22px; font: 700 clamp(2.6rem, 7vw, 5.2rem)/1.03 var(--serif); letter-spacing: -.04em; }
.page-hero p { position: relative; z-index: 1; max-width: 660px; margin: 0 0 30px; color: rgba(255,255,255,.72); font-size: 1.05rem; }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

.content-wrap { padding: clamp(64px, 9vw, 110px) 0; }
.content-grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(42px, 7vw, 84px); align-items: start; }
.contents { position: sticky; top: 116px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.contents strong { display: block; margin-bottom: 10px; color: var(--navy); font-size: .77rem; letter-spacing: .08em; text-transform: uppercase; }
.contents a { display: block; padding: 6px 0; color: var(--muted); font-size: .84rem; text-decoration: none; }
.prose { max-width: 760px; }
.prose h2 { margin: 0 0 14px; padding-top: 18px; color: var(--navy); font: 700 clamp(1.7rem, 4vw, 2.4rem)/1.16 var(--serif); letter-spacing: -.02em; }
.prose h2 + p { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; color: var(--navy); font-size: 1.05rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 21px; }
.prose li { margin-bottom: 8px; }
.callout { margin: 34px 0; padding: 28px; border-left: 4px solid var(--gold); border-radius: 0 18px 18px 0; background: var(--gold-pale); }
.callout strong { display: block; margin-bottom: 6px; color: var(--navy); }
.callout p { margin: 0; }
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.area-card { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--navy); font-weight: 700; }
.page-cta { margin-top: 46px; padding: clamp(28px, 6vw, 46px); border-radius: 26px; background: var(--navy); color: white; }
.page-cta h2 { padding: 0; color: white; }
.page-cta p { color: rgba(255,255,255,.66); }

footer { padding: 48px 0 34px; background: var(--ink); color: white; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 430px; }
.footer-brand strong { font: 700 1.15rem var(--serif); }
.footer-brand p { color: rgba(255,255,255,.48); font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .82rem; text-decoration: none; }
.fineprint { width: 100%; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.4); font-size: .72rem; }

a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
@media (max-width: 800px) {
  .container { width: calc(100% - 32px); }
  .brand small { display: none; }
  .nav-links a:not(.button) { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .contents { position: static; }
  .area-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
