/* VPCC Design System */
:root {
  --green: #5a1822;
  --green-deep: #380c12;
  --green-mid: #6e1f2c;
  --green-line: #7a2632;
  --cream: #f5f0e3;
  --cream-warm: #ede5d0;
  --paper: #faf6ec;
  --yellow: #f5c518;
  --yellow-deep: #d9a800;
  --ink: #14110a;
  --ink-soft: #3a3528;
  --rule: rgba(20, 17, 10, 0.18);
  --rule-faint: rgba(20, 17, 10, 0.08);
  --rule-cream: rgba(245, 240, 227, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  font-weight: 400;
}

.serif { font-family: "Poppins", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; }
.mono { font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace; }

a { color: inherit; text-decoration: none; }

/* ───────── Top bar ───────── */
.topbar {
  background: var(--green);
  color: var(--cream);
  border-bottom: 1px solid var(--green-line);
}
.topbar-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.topbar-meta { display: flex; gap: 28px; opacity: 0.78; }
.topbar-meta span { display: flex; align-items: center; gap: 8px; }
.topbar-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); display: inline-block; }
.topbar-dot.live { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(245, 197, 24, 0); }
}

/* ───────── Nav ───────── */
.nav {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 240, 227, 0.92);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-left { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); }
.nav-left .logo-mini { width: 32px; height: 32px; padding: 3px; background: var(--green); border-radius: 4px; display: grid; place-items: center; }
.nav-left .logo-mini img { width: 100%; height: 100%; object-fit: contain; }
.nav-left .name-mini { font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.nav-left .name-mini .sub { font-weight: 400; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.nav-brand { display: none; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-brand .crest {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 4px;
  display: grid; place-items: center;
  padding: 4px;
}
.nav-brand .crest img { width: 100%; height: 100%; object-fit: contain; }
.nav-brand .wordmark { line-height: 1; }
.nav-brand .wordmark .name { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.nav-brand .wordmark .sub { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 28px; }
.nav-right a { font-size: 13px; letter-spacing: 0.01em; font-weight: 500; position: relative; padding: 4px 0; color: var(--ink); }
.nav-right a:hover { color: var(--green); }
.nav-right a.active { color: var(--green); }
.nav-right a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--yellow); }

/* ───────── Sections ───────── */
section { padding: 96px 32px; }
.container { max-width: 1320px; margin: 0 auto; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--ink-soft); display: inline-block; }

h1, h2, h3 { font-family: "Poppins", sans-serif; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }

.h-display { font-size: clamp(56px, 9vw, 132px); line-height: 0.95; letter-spacing: -0.02em; }
.h-1 { font-size: clamp(40px, 5.5vw, 76px); }
.h-2 { font-size: clamp(28px, 3.4vw, 44px); }
.h-3 { font-size: clamp(20px, 2vw, 26px); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
}
.btn:hover { background: var(--green); border-color: var(--green); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ───────── Footer ───────── */
.footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: 80px 32px 32px;
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-cream);
}
.footer-brand .crest { display: inline-grid; place-items: center; width: 56px; height: 56px; padding: 6px; background: var(--green); border-radius: 4px; }
.footer-brand .crest img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand h3 { font-size: 22px; margin: 18px 0 8px; font-weight: 600; }
.footer-brand p { opacity: 0.7; font-size: 14px; max-width: 320px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { opacity: 0.78; font-size: 14px; }
.footer-col a:hover { opacity: 1; color: var(--yellow); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6;
}

/* ───────── Page header (subpages) ───────── */
.page-header {
  background: var(--green);
  color: var(--cream);
  padding: 80px 32px 100px;
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .eyebrow { color: var(--yellow); }
.page-header .eyebrow::before { background: var(--yellow); }
.page-header h1 { font-size: clamp(48px, 7vw, 96px); margin-top: 18px; }
.page-header .lede { max-width: 620px; margin-top: 24px; opacity: 0.78; font-size: 17px; line-height: 1.55; }
.page-header .crest-bg {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 280px; height: 280px; opacity: 0.07;
  background: url('../assets/vpcc-logo.png') center/contain no-repeat;
  filter: brightness(0) invert(1);
}

/* ───────── Utility ───────── */
.divider { height: 1px; background: var(--rule); margin: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: 1px solid var(--rule);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--paper);
}
.tag-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); font-weight: 500; }
.tag-live { background: #c91111; color: white; border-color: #c91111; }
.tag-live::before { content: ""; width: 6px; height: 6px; background: white; border-radius: 50%; animation: pulse-white 1.4s infinite; }
@keyframes pulse-white {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ───────── Mobile nav toggle ───────── */
.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--rule);
  padding: 10px 12px; cursor: pointer;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
}
.nav-toggle:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-right {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px;
  }
  .nav-right.open { display: flex; }
  .nav-right a {
    padding: 14px 0; font-size: 15px;
    border-bottom: 1px solid var(--rule-faint);
  }
  .nav-right a:last-child { border-bottom: 0; }
  .nav-right a.active::after { display: none; }
  .nav { position: relative; }
}

