/* Avrich - dark and bold. Colours taken from the logo: deep navy + gold. */
:root {
  --bg: #0a1122;
  --surface: #111b33;
  --surface-2: #17233f;
  --line: #24314f;
  --text: #f3f1ea;
  --muted: #a9b0c2;
  --gold: #c9a14a;
  --gold-2: #e6c477;
  --green: #4fbf8a;
  --amber: #e0a43a;
  --grey: #8a93a8;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--gold-2); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1100px, 92vw); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(10,17,34,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: .32em; font-size: 1.05rem; }
.nav { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: #0a1122; background: var(--gold); }

/* hero */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); background:
  radial-gradient(900px 420px at 85% -10%, rgba(201,161,74,.20), transparent 60%),
  radial-gradient(700px 380px at -10% 110%, rgba(40,70,140,.35), transparent 60%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: .85rem; margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; letter-spacing: -.02em; }
h1 .gold, h2 .gold { background: linear-gradient(90deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 850; }
h3 { font-size: 1.25rem; font-weight: 800; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 40ch; }
.hero-logo { justify-self: center; width: min(320px, 70%); filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--gold); }
.btn-primary { background: var(--gold); color: #0a1122; }
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); color: #0a1122; }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--surface); color: #fff; }

/* sections & cards */
section { padding: clamp(48px, 8vw, 88px) 0; }
.page-head { padding: clamp(48px, 8vw, 80px) 0 24px; border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.card .num { font-size: 2.4rem; font-weight: 900; color: var(--gold-2); line-height: 1; margin-bottom: 10px; }
.initiative { display: flex; flex-direction: column; gap: 12px; }
.initiative .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border: 1px solid currentColor; }
.pill.live { color: var(--green); }
.pill.progress { color: var(--amber); }
.pill.idea { color: var(--grey); }
.example { font-size: .75rem; color: #0a1122; background: var(--gold-2); padding: 2px 8px; border-radius: 6px; font-weight: 800; }
.legend { color: var(--muted); font-size: .9rem; margin-top: 24px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { text-align: center; padding: 44px 26px; }
.contact-card .email { font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 900; word-break: break-word; }
.note { color: var(--muted); font-size: .95rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-row p { margin: 0; }

@media (max-width: 800px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: 180px; justify-self: start; }
  body { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }/* mobile safety: never overflow narrow screens */
html, body { overflow-x: hidden; }
p, h1, h2, h3, a { overflow-wrap: anywhere; }
@media (max-width: 480px) { .nav a { padding: 6px 10px; font-size: .9rem; } .btn { padding: 12px 20px; } .brand { letter-spacing: .22em; } }
