/* Core tokens, reset, navigation, and marquee styles. */

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;700;900&family=Permanent+Marker&display=swap');

:root {
  --paper: #f4ebdd;
  --paper-warm: #ead9bd;
  --ink: #111111;
  --white: #ffffff;
  --taxi: #ffd51e;
  --signal-red: #f0181d;
  --royal-blue: #0057d8;
  --acid-green: #8dff4f;
  --pop-pink: #ff9bcb;
  --asphalt: #202020;
  --concrete: #d7d1c6;
  --muted: #5d574e;
  --hairline: 1px solid rgba(17, 17, 17, 0.22);
  --line: 2px solid var(--ink);
  --heavy-line: 3px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --soft-shadow: 0 18px 42px rgba(17, 17, 17, 0.14);
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --radius-pill: 999px;
  --max: 1180px;
  --topbar-offset: 116px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 96px;
  padding: 18px clamp(20px, 4vw, 48px);
  background: var(--paper);
  border-bottom: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: var(--royal-blue);
  border: var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(18px, 2.6vw, 38px);
  min-width: 0;
  overflow: visible;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  color: var(--ink);
  font: 800 clamp(22px, 2.2vw, 32px)/0.94 "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--royal-blue);
  outline: 0;
}

.marquee {
  display: flex;
  gap: 24px;
  overflow: hidden;
  white-space: nowrap;
  border-top: var(--line);
  border-bottom: var(--line);
  background: var(--taxi);
}

.marquee-track {
  display: flex;
  flex: 0 0 auto;
  gap: 24px;
  min-width: 100%;
  padding: 10px 0;
  animation: marquee 22s linear infinite;
}

.marquee span {
  flex: 0 0 auto;
  font: 900 21px/1 "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 24px)); }
}
