/* ---------- fonts ---------- */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/BebasNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #0d0d12;
  --bg-elevated: #15151f;
  --card: #1a1a24;
  --card-hover: #20202c;
  --text: #f2f2f7;
  --subtext: #9a9aa8;
  --faint: #5c5c6b;
  --accent: #e57709;
  --accent-soft: #e577091a;
  --gold: #f5c518;
  --border: #2a2a38;

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle cinematic vignette across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #e5770912 0%, transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 100%, #00000080 0%, transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--text);
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0d0d12cc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }
.brand span {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.03em;
  color: var(--text);
}
.btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-accent {
  background: var(--accent);
  color: #100900;
  box-shadow: 0 6px 20px -6px #e5770980;
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px #e57709a0; }
.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--card-hover); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-brand span { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--subtext);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: var(--accent); }
.footer-credit { font-family: var(--mono); font-size: 11.5px; color: var(--faint); width: 100%; text-align: center; margin-top: 8px; }

@media (max-width: 560px) {
  footer .wrap { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
