/* =====================================================================
   Qiskit Fall Fest 2026 · QSB|SU — public site styles
   Colors come from content.js → theme (primary / accent / secondary)
   and are applied as CSS variables by assets/js/app.js.
   ===================================================================== */

:root {
  --primary: #8a3ffc;
  --accent: #ff7eb6;
  --secondary: #33b1ff;

  --bg: #0b0a1a;
  --bg-2: #12102a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f3f1ff;
  --muted: #aaa6cc;
  --muted-2: #7f7aa6;

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --nav-h: 68px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
body::before {
  /* subtle grid + glow background */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(60% 50% at 20% 0%, color-mix(in srgb, var(--primary) 28%, transparent), transparent 70%),
    radial-gradient(40% 40% at 90% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-color: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding-left: 1.2em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
section.section { padding: clamp(64px, 9vw, 112px) 0; scroll-margin-top: calc(var(--nav-h) + 8px); }
section.section + section.section { border-top: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { color: var(--muted); font-size: 1.08rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.rich p { color: var(--muted); }
.rich p:first-child { color: var(--text); }
.rich strong { color: var(--text); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--accent) 80%, var(--primary)));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--primary) 40%, transparent);
}
.btn-primary:hover { box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 55%, transparent); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------- announcement */
.announce {
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 35%, var(--bg-2)), color-mix(in srgb, var(--accent) 25%, var(--bg-2)));
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  text-align: center;
  padding: 9px 16px;
}
.announce a { color: #fff; font-weight: 600; text-decoration: underline; }
.preview-banner {
  background: #ffb000; color: #1a1400; font-weight: 600; font-size: 0.9rem;
  text-align: center; padding: 8px 16px;
}

/* ------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav .container { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; text-decoration: none !important; min-width: 0; flex: 1; }
.brand img { height: 36px; width: auto; flex: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; font-family: var(--mono); font-size: 0.8rem; color: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text, .brand-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-weight: 500; color: var(--muted); font-size: 0.72rem; font-family: var(--mono); letter-spacing: .06em; }
.nav-links { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; flex: none; }
.nav-links a { color: var(--muted); padding: 8px 10px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: .05em;
  padding: 5px 10px; border-radius: 999px;
}
.lang-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.nav-toggle { display: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1024px) {
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 2px; padding: 12px 20px 16px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,.45);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 1.05rem; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 600px) {
  /* With a club logo in place the text next to it is redundant on phones. */
  .brand img + .brand-text { display: none; }
}

/* ------------------------------------------------------------- hero */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--border-strong); background: var(--surface); padding: 7px 14px; border-radius: 999px;
  color: var(--muted); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tagline { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 30px; }
.hero-meta div { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.hero-meta svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.hero-meta small { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-logo img { max-height: 320px; width: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.hero-card {
  width: 100%; max-width: 420px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong); border-radius: 24px; padding: 28px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 50%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-card .label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 18px; }
.countdown div { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 6px; text-align: center; }
.countdown b { display: block; font-family: var(--mono); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.countdown small { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; }
.countdown-done { font-size: 1.15rem; font-weight: 600; margin: 14px 0 18px; }
.circuit { width: 100%; height: auto; opacity: .9; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-logo { align-items: stretch; }
  .hero-card { max-width: none; }
}

/* ------------------------------------------------------------- grids & cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--border-strong); }
.card h3 { margin-top: 0; }
.icon-badge {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--primary) 25%, transparent); color: var(--accent);
}
.icon-badge svg { width: 22px; height: 22px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0; }
.stat { text-align: center; padding: 18px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat b { display: block; font-family: var(--mono); font-size: 2rem; font-weight: 600; color: var(--accent); }
.stat span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- key dates */
.dates-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.date-item {
  display: grid; grid-template-columns: 190px 1fr auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px;
  position: relative;
}
.date-item.highlight { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.date-item.past { opacity: .55; }
.date-item .when { font-family: var(--mono); line-height: 1.3; }
.date-item .when b { display: block; font-size: 1.1rem; font-weight: 600; white-space: nowrap; }
.date-item .when span { color: var(--muted); font-size: 0.8rem; }
.date-item .what b { display: block; font-size: 1.05rem; }
.date-item .what span { color: var(--muted); font-size: 0.92rem; }
.date-item .status { font-family: var(--mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); }
.date-item .status.soon { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.date-item .status.today { color: #0b0a1a; background: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .date-item { grid-template-columns: 1fr; gap: 8px; }
  .date-item .status { justify-self: start; }
}

/* ------------------------------------------------------------- schedule */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab small { display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 400; opacity: .8; }
.day-panel[hidden] { display: none; }
.sched { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sched li {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 20px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.sched li:last-child { border-bottom: 0; }
.sched .time { font-family: var(--mono); font-size: 0.92rem; color: var(--muted); }
.sched .title { font-weight: 600; }
.sched .sub { color: var(--muted); font-size: 0.88rem; display: block; }
.chip {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); white-space: nowrap;
}
.chip.talk { color: var(--secondary); border-color: color-mix(in srgb, var(--secondary) 50%, transparent); }
.chip.workshop { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.chip.hackathon { color: #c6ff5f; border-color: rgba(198,255,95,.5); }
.chip.social { color: #ffb000; border-color: rgba(255,176,0,.5); }
.sched li.break { background: transparent; }
.sched li.break .title { color: var(--muted); font-weight: 500; }
@media (max-width: 640px) {
  .sched li { grid-template-columns: 1fr; gap: 4px; }
  .sched .chip { justify-self: start; }
}

/* ------------------------------------------------------------- tracks */
.track { position: relative; }
.track .level { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.track .meta { display: flex; gap: 14px; margin-top: 14px; color: var(--muted); font-size: 0.9rem; }
.rules { margin-top: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.rules ol { display: grid; gap: 10px; padding-left: 1.4em; color: var(--muted); }
.rules ol li::marker { color: var(--accent); font-family: var(--mono); }

/* ------------------------------------------------------------- people */
.person { display: flex; gap: 16px; align-items: center; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 1.1rem;
}
.person b { display: block; }
.person span { color: var(--muted); font-size: 0.9rem; display: block; }
.person a { font-size: 0.85rem; }

/* ------------------------------------------------------------- registration */
.reg-layout { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .reg-layout { grid-template-columns: 1fr; } }
.reg-side { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.reg-status { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.reg-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted-2); }
.reg-status.open .dot { background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }
.reg-status.soon .dot { background: #ffb000; }
.reg-status.closed .dot { background: #f87171; }
.reg-dates { display: grid; gap: 8px; font-size: 0.95rem; }
.reg-dates div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; }
.reg-dates div:last-child { border-bottom: 0; }
.reg-dates span { color: var(--muted); }
.reg-dates b { font-family: var(--mono); font-weight: 500; text-align: right; }
.checklist { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.form-frame { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); }
.form-frame iframe { width: 100%; border: 0; display: block; }
.form-note { margin-top: 12px; font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.reg-message { padding: 36px; text-align: center; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); font-size: 1.05rem; }
.reg-message b { color: var(--text); display: block; font-size: 1.25rem; margin-bottom: 8px; }

/* ------------------------------------------------------------- decade timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary)); opacity: .6; }
.timeline li { padding: 30px 18px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.timeline .year { font-family: var(--mono); font-weight: 600; color: var(--accent); font-size: 1.05rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; padding-left: 24px; }
  .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--primary), var(--accent), var(--secondary)); }
  .timeline li { padding: 0 0 24px; }
  .timeline li::before { left: -24px; top: 4px; }
}

/* ------------------------------------------------------------- venue */
.venue-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .venue-grid { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: saturate(.85); }
.address { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 20px; }
.address svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.address b { display: block; }
.address span { color: var(--muted); }

/* ------------------------------------------------------------- faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.3rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { color: var(--muted); padding: 0 0 18px; }

/* ------------------------------------------------------------- partners */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 130px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none !important;
}
.partner:hover { border-color: var(--border-strong); }
.partner img { max-height: 56px; width: auto; }
.partner b { font-size: 1.05rem; }
.partner small { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; }

/* ------------------------------------------------------------- conduct & contact */
.conduct-box { background: linear-gradient(140deg, color-mix(in srgb, var(--primary) 22%, var(--surface)), var(--surface)); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
@media (max-width: 760px) { .conduct-box { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-links { display: grid; gap: 10px; }
.contact-links a {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none !important; font-weight: 500;
}
.contact-links a:hover { border-color: var(--border-strong); }
.contact-links svg { width: 20px; height: 20px; color: var(--accent); }

/* ------------------------------------------------------------- footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 48px; color: var(--muted); font-size: 0.88rem; }
footer .container { display: grid; gap: 14px; }
footer .credits { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer .admin-link { color: var(--muted-2); font-family: var(--mono); font-size: 0.75rem; }

/* ------------------------------------------------------------- misc */
.error-box { margin: 40px auto; max-width: 720px; padding: 24px; background: #3a0d1a; border: 1px solid #ff5c7a; border-radius: 12px; color: #ffd9e0; font-family: var(--mono); font-size: 0.9rem; white-space: pre-wrap; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
@media print {
  body::before, .nav, .announce, .hero-card, .btn, footer .admin-link { display: none !important; }
  body { background: #fff; color: #000; }
}
