@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
}

:root {
  --bg: #09090d;
  --bg-2: #111118;
  --ink: #f5f2ea;
  --muted: rgba(245, 242, 234, 0.62);
  --line: rgba(245, 242, 234, 0.14);
  --lime: #d7ff3a;
  --pink: #ff4f9a;
  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tile-w: clamp(220px, 22vw, 380px);
  --gap: clamp(12px, 1.2vw, 20px);
  color-scheme: dark;
}

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

html { background: var(--bg); overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--lime);
  color: #000;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- header ---------- */

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 700 20px/1 var(--display);
  letter-spacing: -0.02em;
}

.brand .mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lime);
  color: #09090d;
  transform: rotate(-6deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover .mark { transform: rotate(6deg) scale(1.08); }
.brand .mark svg { width: 24px; height: 24px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 9, 13, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.wall {
  position: absolute;
  inset: -30% -20%;
  z-index: -2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--gap);
  transform: rotate(-9deg);
}

.row { overflow: visible; }

.track {
  display: flex;
  width: max-content;
  gap: var(--gap);
  animation: slide 90s linear infinite;
}
.row:nth-child(2n) .track { animation-direction: reverse; animation-duration: 110s; }
.row:nth-child(3n) .track { animation-duration: 75s; }
.row:hover .track { animation-play-state: paused; }

.set {
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

@keyframes slide {
  to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}

.tile {
  position: relative;
  flex: none;
  width: var(--tile-w);
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
}
.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(9, 9, 13, 0.8);
  font: 700 12px/1 var(--display);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.tile:hover {
  z-index: 2;
  transform: scale(1.08) rotate(-1.5deg);
  box-shadow: 0 0 0 3px var(--lime), 0 28px 60px rgba(0, 0, 0, 0.6);
}
.tile:hover figcaption { opacity: 1; transform: none; }

.shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 9, 13, 0.75) 0%, rgba(9, 9, 13, 0.1) 26%, rgba(9, 9, 13, 0.25) 55%, var(--bg) 96%),
    radial-gradient(ellipse 70% 60% at 22% 78%, rgba(9, 9, 13, 0.92) 0%, rgba(9, 9, 13, 0.55) 55%, rgba(9, 9, 13, 0) 100%);
}

.hero-copy {
  position: relative;
  padding: 0 clamp(16px, 4vw, 56px) clamp(40px, 8vh, 96px);
  max-width: 1100px;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 9, 13, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.eyebrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(215, 255, 58, 0.7);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  to { box-shadow: 0 0 0 12px rgba(215, 255, 58, 0); }
}

h1 {
  margin: 0;
  font: 800 clamp(44px, 8.2vw, 132px)/0.94 var(--display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 .hl {
  color: var(--lime);
  display: inline-block;
  transform: rotate(-3deg);
}
h1 .amp {
  color: var(--pink);
  font-weight: 400;
}

.lede {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 16px;
  background: var(--lime);
  color: #09090d;
  font: 700 15px/1 var(--display);
  text-decoration: none;
  box-shadow: 0 6px 0 #8fb01c;
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #8fb01c; }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 #8fb01c; }

/* ---------- ticker ---------- */

.band {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 48px 0;
  margin: -48px 0;
}

.ticker {
  --gap: 0px;
  position: relative;
  z-index: 5;
  margin: 0 -2%;
  padding: 16px 0;
  overflow: hidden;
  background: var(--lime);
  color: #09090d;
  transform: rotate(-2deg);
}
.ticker .track { animation-duration: 40s; }
.ticker .set { gap: 0; }
.ticker li {
  flex: none;
  padding-right: 36px;
  font: 800 clamp(20px, 2.6vw, 34px)/1 var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker li::after {
  content: "✦";
  margin-left: 36px;
  color: var(--pink);
}

/* ---------- footer ---------- */

.foot {
  padding: clamp(96px, 12vw, 160px) clamp(16px, 4vw, 56px) 32px;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(255, 79, 154, 0.22), transparent 70%);
}

.big {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font: 800 clamp(48px, 13vw, 210px)/0.9 var(--display);
  letter-spacing: -0.06em;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s;
}
.big span {
  display: inline-block;
  color: var(--lime);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.big:hover span { transform: rotate(-8deg) scale(1.1); }

.mail {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.mail:hover { color: var(--ink); }

.legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(56px, 9vw, 110px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  .pill .long { display: none; }
  h1 { font-size: 13.5vw; }
  .wall { inset: -40% -60%; }
  .shade {
    background:
      linear-gradient(180deg, rgba(9, 9, 13, 0.7) 0%, rgba(9, 9, 13, 0.2) 22%, rgba(9, 9, 13, 0.75) 52%, var(--bg) 88%);
  }
  .legal { justify-content: center; text-align: center; }
  .legal nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .track,
  .eyebrow .dot { animation: none; }
  .tile,
  .big span,
  .brand .mark { transition: none; }
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
