/* PAKLAB — Core styles */

:root {
  --red: #B30000;
  --red-deep: #8A0000;
  --bone: #F4F1EC;
  --ink: #0A0A0A;
  --smoke: #1A1A1A;
  --ash: #2A2A2A;
  --line: rgba(10,10,10,0.14);
  --line-dark: rgba(255,255,255,0.12);
  --muted: rgba(10,10,10,0.55);
  --muted-dark: rgba(255,255,255,0.55);

  --font-display: 'Bebas Neue', 'Helvetica Neue', Impact, sans-serif;
  --font-body: 'Helvetica Neue', 'Inter', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.dark {
  background: var(--ink);
  color: var(--bone);
}
body.dark { --line: var(--line-dark); --muted: var(--muted-dark); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.88;
  text-transform: uppercase;
}
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.caps {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}
.hr { height: 1px; background: var(--line); width: 100%; }
.vr { width: 1px; background: var(--line); align-self: stretch; }

.section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}
.section.tight { padding: 80px 0; }

.section-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: baseline;
  margin-bottom: 64px;
}
.section-head .n { color: var(--red); }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
body.dark .nav { background: var(--ink); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 32px;
}
.nav-left { display: flex; align-items: center; gap: 28px; }
.wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.wordmark .dot { width: 7px; height: 7px; background: var(--red); display: inline-block; }
.nav-links { display: flex; gap: 22px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.nav-links a:hover { border-bottom-color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.cta-red {
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .15s;
}
.cta-red:hover { background: var(--red-deep); }
.cta-ghost {
  border: 1px solid currentColor;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background .15s, color .15s;
}
.cta-ghost:hover { background: var(--ink); color: var(--bone); }
body.dark .cta-ghost:hover { background: var(--bone); color: var(--ink); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--bone);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ticker-item .dot { width: 5px; height: 5px; background: var(--red); border-radius: 0; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 40px;
  margin-top: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
.footer h4 {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list a { font-size: 14px; }
.footer-list a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.footer-wordmark .dot { color: var(--red); }
.footer-tag { color: rgba(255,255,255,0.6); max-width: 340px; line-height: 1.5; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-wordmark { font-size: 56px; }
}
