:root {
  --navy: #0d2232;
  --navy-2: #13304a;
  --navy-deep: #081723;
  --slate: #273c4a;
  --yellow: #fedc2d;
  --yellow-dim: #e9c917;
  --ink: #13110d;
  --paper: #ffffff;
  --mist: #f3f4f1;
  --line: #e2e5e3;
  --muted: #5d6b74;
  --up: #2e870d;
  --down: #c62828;
  --radius: 14px;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, Segoe UI, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ticker band */
.band { background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 600; overflow: hidden; white-space: nowrap; }
.band-track { display: inline-flex; gap: 48px; padding: 8px 0; animation: scroll 40s linear infinite; }
.band-track span { display: inline-flex; gap: 8px; align-items: center; }
.band .dot { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; display: inline-block; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* header */
header.site { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 22px; width: auto; }
.brand small { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); font-weight: 700; border-left: 1px solid rgba(255,255,255,.25); padding-left: 14px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; color: rgba(255,255,255,.82); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--ink); background: var(--yellow); }
.quote-pill { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.08); padding: 7px 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.quote-pill .chg.up { color: #7ee05a; } .quote-pill .chg.down { color: #ff8a80; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 1180px) { .brand small { display: none; } }
@media (max-width: 1040px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 12px 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 14px; }
  .quote-pill { display: none; }
}

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, var(--navy-2), transparent 60%), var(--navy); color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid var(--yellow); opacity: .9; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; max-width: 15ch; }
.hero p { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.78); max-width: 52ch; margin: 0 0 32px; }
.hero .wrap { position: relative; z-index: 1; }
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; margin: 0; }
.page-hero p { color: rgba(255,255,255,.75); margin: 12px 0 0; max-width: 60ch; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }

.btn { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--font); padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--ink); color: var(--yellow); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--slate); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

section.block { padding: 72px 0; }
section.alt { background: var(--mist); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 0; }
.link-arrow { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stock-card { background: var(--navy); color: #fff; border: 0; }
.stock-card .sym { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--yellow); }
.stock-card .px { font-size: 44px; font-weight: 800; margin: 8px 0 2px; letter-spacing: -0.03em; }
.stock-card .chg { font-weight: 700; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); }
.stock-card .chg.up { color: #7ee05a; } .stock-card .chg.down { color: #ff8a80; }
.stock-card .asof { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 6px; }

.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: baseline; }
.news-item:hover h3 { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.news-item time { font-size: 14px; color: var(--muted); font-weight: 600; }
.news-item h3 { font-size: 19px; font-weight: 700; margin: 0; }
.news-item p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.news-item .arrow { font-weight: 800; }
@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; gap: 6px; } .news-item .arrow { display: none; } }

.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.article h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.article .sub { font-size: 19px; color: var(--muted); margin-bottom: 24px; }
.article .meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; font-size: 14px; color: var(--muted); font-weight: 600; }
.prose { font-size: 17px; line-height: 1.7; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.prose ul { padding-left: 1.2em; }
.back { display: inline-block; margin-bottom: 24px; font-weight: 700; text-decoration: none; color: var(--muted); }

.person { display: flex; flex-direction: column; gap: 14px; cursor: pointer; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.person .ph { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--navy); overflow: hidden; display: grid; place-items: center; color: var(--yellow); font-size: 48px; font-weight: 800; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.person:hover .ph img { transform: scale(1.03); }
.person h3 { font-size: 19px; margin: 0; }
.person .role { color: var(--muted); font-size: 14px; font-weight: 600; }

.doc { display: flex; gap: 16px; align-items: center; padding: 18px 20px; text-decoration: none; transition: border-color .15s; }
.doc:hover { border-color: var(--ink); }
.doc .ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.doc h4 { margin: 0; font-size: 16px; }
.doc span { color: var(--muted); font-size: 13px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: #fff; padding: 18px 20px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 6px 0 0; font-weight: 700; font-size: 17px; }

.highlights { counter-reset: h; }
.highlights .card { position: relative; padding-top: 56px; }
.highlights .card::before { counter-increment: h; content: '0' counter(h); position: absolute; top: 20px; left: 24px; font-weight: 800; color: var(--navy); background: var(--yellow); border-radius: 999px; font-size: 13px; padding: 3px 10px; }

.event { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; }
.event .day { background: var(--navy); color: #fff; border-radius: 12px; text-align: center; padding: 10px 0; }
.event .day b { display: block; font-size: 28px; line-height: 1; color: var(--yellow); }
.event .day span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.empty { color: var(--muted); padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.tv-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; }

.modal-bg { position: fixed; inset: 0; background: rgba(8,23,35,.7); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 18px; max-width: 760px; width: 100%; max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 240px 1fr; }
.modal .ph { background: var(--navy); min-height: 280px; }
.modal .ph img { width: 100%; height: 100%; object-fit: cover; }
.modal .body { padding: 32px; position: relative; }
.modal .x { position: absolute; top: 12px; right: 12px; background: var(--mist); border: 0; border-radius: 50%; width: 36px; height: 36px; cursor: pointer; font-size: 20px; }
@media (max-width: 640px) { .modal { grid-template-columns: 1fr; } .modal .ph { min-height: 220px; max-height: 300px; } }

footer.site { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 56px 0 32px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
footer.site a { color: rgba(255,255,255,.8); text-decoration: none; display: block; margin: 6px 0; }
footer.site a:hover { color: var(--yellow); }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 700px) { footer.site .cols { grid-template-columns: 1fr; } }

.loading { padding: 120px 0; text-align: center; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 600px) { .grid.team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .person h3 { font-size: 16px; } .person .role { font-size: 13px; } }
