/* AOOTC mockup design system — navy / gold / Cinzel / EB Garamond
   Spec companion: README.md */

:root {
  --ink: #0a1733;
  --ink-2: #0d2050;
  --ink-3: #142440;
  --gold: #c9a227;
  --gold-hi: #e6cd86;
  --gold-lo: #b9944a;
  --body: #c3cbdc;
  --muted: #9fb0d0;
  --hint: #8ea0c0;
  --parchment: #efe7d4;
  --parchment-ink: #1a2438;
  --parchment-muted: #4a5568;
  --rule: rgba(201, 162, 39, 0.35);
  --hair: rgba(201, 162, 39, 0.22);
  --white: #f7f4ea;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --read: 42rem;
  --page: 68rem;
  --radius: 4px;
  --radius-pill: 999px;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "EB Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  overflow-x: hidden;
}
.wrap, main, .prose, p, li, a { overflow-wrap: anywhere; word-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--gold-hi); }
a:hover { color: var(--gold); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 8px; top: 8px; z-index: 100;
  background: var(--gold-hi); color: var(--ink);
  padding: 8px 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.header-inner {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex-wrap: nowrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gold-hi);
  min-width: 0;
  flex: 1 1 auto;
}
.logo-mark {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: screen;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
  min-width: 0;
}
.logo-text strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.64rem;
  letter-spacing: 0.12em;
}
.logo-text span {
  display: block;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 18rem;
}
.logo-name {
  font-size: 1.12rem;
  color: var(--gold-hi);
}
.logo-org {
  font-size: 1.12rem;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--gold-hi);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.site-nav a {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--body);
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-hi);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.35rem;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.3;
}
.btn-gold {
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  color: #0f1a2e;
  font-weight: 600;
}
.btn-gold:hover { color: #0f1a2e; filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-hi);
}
.btn-ghost:hover { background: rgba(201,162,39,0.08); color: var(--gold-hi); }
.site-nav .btn-gold { margin-left: 0.5rem; font-size: 0.95rem; padding: 0.4rem 1.1rem; }

/* Layout */
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--read); }
main { flex: 1; }
.section { padding: var(--space-7) 0; }
.section-tight { padding: var(--space-6) 0 var(--space-7); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-hi);
  line-height: 1.25;
  letter-spacing: 0.04em;
}
h1 { font-size: clamp(1.85rem, 3.4vw, 2.45rem); margin: 0 0 1rem; }
h2 { font-size: 1.35rem; margin: 0 0 0.85rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.lead {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.5rem 0;
}
.divider .line { width: 56px; height: 1px; background: var(--rule); }
.divider .diamond { color: var(--gold); font-size: 0.7rem; }

/* Hero */
.hero {
  text-align: center;
  padding: var(--space-8) 1.25rem var(--space-7);
}
.hero .prose { margin: 0 auto; }
.hero-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.gold-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi));
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--ink-3);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
}
.card h3 { color: var(--gold-hi); }
.card p { margin: 0; color: var(--body); font-size: 1.05rem; }

.band {
  background: var(--ink-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.band-gold {
  background: linear-gradient(180deg, rgba(201,162,39,0.12), transparent);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}

/* Parchment reading surface */
.parchment {
  background: var(--parchment);
  color: var(--parchment-ink);
}
.parchment h1, .parchment h2, .parchment h3 { color: #8a6d1c; }
.parchment .eyebrow { color: #6d7c99; }
.parchment p, .parchment li { color: var(--parchment-ink); }
.parchment .lead { color: var(--parchment-muted); }
.parchment a { color: #7a5e12; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.35rem 3rem;
  border-left: 1px solid var(--rule);
  margin-left: 0.7rem;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -0.85rem;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--ink-2);
  border: 1px solid var(--gold);
  color: var(--gold-hi);
  font-family: var(--font-display);
  font-size: 0.75rem;
  display: grid;
  place-items: center;
}

/* Forms */
form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 0.55rem 0.75rem;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
textarea { min-height: 7rem; resize: vertical; }
.form-note {
  font-size: 0.98rem;
  color: var(--hint);
  margin: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.req { color: var(--gold); }

/* Leadership grid */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.officer {
  border: 1px solid var(--hair);
  background: var(--ink-3);
  text-align: center;
  padding: 0 0 1.1rem;
}
.officer.vacant { opacity: 0.85; border-style: dashed; }
.portrait {
  aspect-ratio: 3 / 4;
  background: repeating-linear-gradient(
    -45deg,
    #101c3a,
    #101c3a 8px,
    #142444 8px,
    #142444 16px
  );
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hair);
  padding: 0.75rem;
}
.officer h3 {
  margin: 0.85rem 0 0.2rem;
  font-size: 0.95rem;
  color: var(--gold-hi);
}
.officer p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.vacant-label {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.15rem 0.45rem;
}

/* Newsletter */
.issue-featured {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--ink-3);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}
.issue-kicker {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}
.issue-list { display: grid; gap: 1rem; }
.issue {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--hair);
  padding: 1.1rem 1.2rem;
  background: var(--ink-3);
}
.issue .month { font-family: var(--font-display); color: var(--gold-hi); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  color: var(--muted);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--hair);
  padding: 2rem 1.25rem 2.4rem;
  background: #081228;
}
.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
}
.site-footer h2 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}
.site-footer p, .site-footer li, .site-footer a {
  font-size: 1rem;
  color: var(--muted);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.25rem 0; }
.site-footer a { text-decoration: none; color: var(--gold-hi); }
.fineprint {
  max-width: var(--page);
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hair);
  font-size: 0.92rem;
  color: var(--hint);
}

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    z-index: 30;
    background: var(--ink);
    border-bottom: 1px solid var(--hair);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav .btn-gold { margin-left: 0; align-self: flex-start; }
  .card-grid, .officer-grid { grid-template-columns: repeat(2, 1fr); }
  .issue, .issue-featured { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-split, .join-split, .two-col { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .card-grid, .officer-grid, .form-row { grid-template-columns: 1fr; }
  .logo-text span { display: none; }
  .header-inner { padding: 0.55rem 0.85rem; gap: 0.5rem; }
  .logo-mark { width: 36px; height: 36px; font-size: 10px; }
  .hero { padding: 2.25rem 0.85rem 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .wrap { padding: 0 0.85rem; }
  .section { padding: 2.25rem 0; }
  .gold-badge { letter-spacing: 0.12em; padding: 0.35rem 0.7rem; max-width: 100%; }
  form { max-width: 100%; }
  input, select, textarea { width: 100%; max-width: 100%; }
  .btn { max-width: 100%; }
}
@media (max-width: 390px) {
  body { font-size: 1.05rem; }
  h1 { font-size: 1.55rem; }
  .gold-badge { font-size: 0.58rem; letter-spacing: 0.08em; line-height: 1.4; }
  .hero-actions { gap: 0.65rem; margin-top: 1.25rem; }
  .site-nav a { padding: 0.15rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
