:root {
  --navy: #1F2A44;
  --navy-deep: #141C30;
  --gold: #C9A24A;
  --gold-light: #E0B85C;
  --cream: #F6F3EC;
  --paper: #FFFFFF;
  --ink: #1F2A44;
  --muted: #5A6170;
  --line: #E3DCCB;
  --red: #C02C2C;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}
a { color: inherit; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; }
img { max-width: 100%; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--navy); color: var(--cream); border-bottom: 3px solid var(--gold); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: Georgia, serif; font-weight: 700; font-size: 20px; letter-spacing: 0.5px; }
.brand img { width: 44px; height: 44px; }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 15px; color: #D7DBE5; }
.site-nav a:hover { color: var(--cream); background: rgba(255, 255, 255, 0.08); }
.site-nav a[aria-current="page"] { color: var(--navy); background: var(--gold-light); font-weight: 600; }

/* Hero */
.hero { background: radial-gradient(circle at 50% 30%, #26335A 0%, var(--navy) 50%, var(--navy-deep) 100%); color: var(--cream); text-align: center; padding: 64px 0 72px; }
.hero .seal { width: 150px; height: 150px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35)); }
.hero h1 { font-size: clamp(32px, 6vw, 52px); margin: 18px 0 8px; }
.tagline { color: var(--gold-light); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 20px; }
.lead { font-size: 19px; max-width: 620px; margin: 0 auto; color: #E4E7EE; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

.button { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 11px 20px; border-radius: 8px; border: 2px solid var(--gold); background: var(--gold); color: var(--navy); cursor: pointer; font-family: inherit; }
.button:hover { background: var(--gold-light); border-color: var(--gold-light); }
.button.ghost { background: transparent; color: var(--cream); border-color: rgba(224, 184, 92, 0.7); }
.button.ghost:hover { background: rgba(224, 184, 92, 0.12); }

/* Page sections */
.page-head { background: var(--navy); color: var(--cream); padding: 44px 0 40px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 44px); }
.page-head p { margin: 0; color: #D7DBE5; max-width: 680px; }
.section { padding: 44px 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 10px; padding: 20px 22px; }
.card h2, .card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }

/* Stock facts */
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin: 0; overflow: hidden; }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { margin: 0; }
.ticker { font-family: Georgia, serif; font-weight: 700; letter-spacing: 2px; color: var(--gold); }

.notice { margin-top: 18px; background: #FBF6E8; border: 1px solid #EAD9A8; border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 18px; font-size: 15px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-align: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); font-family: Georgia, serif; font-weight: 700; font-size: 22px; border: 2px solid var(--gold); }
.member h3 { margin: 0; font-size: 20px; }
.member .title { margin: 4px 0 0; font-weight: 600; }
.member .unit { margin: 6px 0 0; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--red); }
.member.lead-officer { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 162, 74, 0.25); }

/* Shop */
.lock-banner { display: flex; gap: 16px; align-items: flex-start; background: var(--navy); color: var(--cream); border: 2px solid var(--gold); border-radius: 12px; padding: 20px 22px; }
.lock-banner svg { flex: none; width: 34px; height: 34px; margin-top: 2px; }
.lock-banner h2 { margin: 0 0 4px; font-size: 22px; color: var(--gold-light); }
.lock-banner p { margin: 0; color: #E4E7EE; }
.unlock { margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; max-width: 520px; }
.unlock label { display: block; font-weight: 700; margin-bottom: 8px; }
.unlock .row { display: flex; gap: 10px; flex-wrap: wrap; }
.unlock input { flex: 1 1 220px; font: inherit; padding: 10px 12px; border: 1px solid #C9C2AF; border-radius: 8px; background: #FFFDF8; color: var(--ink); }
.unlock input:focus { outline: 3px solid rgba(201, 162, 74, 0.45); border-color: var(--gold); }
.unlock .status { min-height: 1.6em; margin: 10px 0 0; font-size: 15px; }
.unlock .status.error { color: var(--red); }
.shop-content { margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 22px; max-width: 640px; }
.shop-content h2 { margin-top: 0; }
.fine { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9CFDC; padding: 28px 0; font-size: 14px; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--gold-light); }

/* Coming-soon and 404 pages */
body.soon { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #26335A 0%, var(--navy) 45%, var(--navy-deep) 100%); color: var(--cream); text-align: center; padding: 32px 16px; }
.soon-main { max-width: 640px; }
.soon .seal { width: 168px; height: 168px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35)); }
.soon h1 { font-size: clamp(32px, 7vw, 54px); margin: 22px 0 6px; letter-spacing: 1px; }
.soon .tagline { margin: 0 0 28px; }
.soon .note { font-size: 20px; margin: 0 0 6px; }
.soon .contact { margin: 28px 0 0; font-size: 15px; color: #C9CFDC; }
.soon .contact a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(224, 184, 92, 0.5); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { font-size: 18px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .hero { padding: 44px 0 52px; }
}

/* Before filing: status strip, filing progress, unnamed officer cards */
.status-strip { margin: 0; background: #FBF6E8; border-bottom: 1px solid #EAD9A8; font-size: 15px; }
.status-strip .wrap { display: block; padding-top: 10px; padding-bottom: 10px; }
.status-strip a { font-weight: 600; }
.section-title { margin: 34px 0 14px; font-size: 26px; }
.section-title:first-child { margin-top: 0; }
.notice-top { margin: 0 0 22px; }
.steps { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.steps li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: baseline; padding: 13px 22px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps .mark { font-weight: 700; color: var(--muted); }
.steps .state { font-size: 14px; color: var(--muted); }
.steps .done .mark, .steps .done .state { color: #2E7D4F; font-weight: 600; }
.steps .next .mark, .steps .next .state { color: var(--red); font-weight: 600; }
.avatar img { width: 46px; height: 46px; }
@media (max-width: 560px) {
  .steps li { grid-template-columns: 24px 1fr; }
  .steps .state { grid-column: 2; }
}
.member .reports { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.faq { margin: 0; }
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 4px 0 0; color: var(--muted); }

/* Team cards link to each officer's page */
a.member { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
a.member:hover, a.member:focus-visible { border-color: var(--gold); box-shadow: 0 6px 18px rgba(31, 42, 68, 0.12); }
.member .more { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--navy); }

/* Officer pages */
.crumb { margin: 0 0 10px; font-size: 14px; }
.crumb a { color: var(--gold-light); text-decoration: none; }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; }
.avatar.big { width: 120px; height: 120px; font-size: 40px; margin: 0; }
.blurb { font-size: 19px; margin: 0 0 20px; }
@media (max-width: 560px) {
  .person { grid-template-columns: 1fr; gap: 18px; }
  .avatar.big { width: 88px; height: 88px; font-size: 30px; }
}

/* Unlocked shop details */
.shop-content { max-width: 720px; }
.shop-content h3 { margin: 24px 0 8px; font-size: 19px; }
.shop-content ol, .shop-content ul { margin: 0; padding-left: 22px; }
.shop-content li + li { margin-top: 8px; }
.shop-content .fine { margin-top: 22px; }
