:root {
  --bg: #050505;
  --ink: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.7);
  --hairline: rgba(245, 241, 232, 0.18);
  --page-x: clamp(1.25rem, 4vw, 4.5rem);
  --page-y: clamp(1rem, 2.7vw, 2.25rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  overflow: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 76%, rgba(255, 255, 255, 0.055), transparent 34%),
    linear-gradient(180deg, #090909 0%, #020202 100%);
}

.landing::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.06) 0%, transparent 26%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.34), transparent 24%, transparent 76%, rgba(5, 5, 5, 0.34));
}

.masthead {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--page-y) var(--page-x);
}

.wordmark {
  font-size: clamp(1rem, 1.65vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: var(--page-y) var(--page-x);
}

.hero::before,
.hero::after {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2rem);
  z-index: 4;
  color: rgba(245, 245, 240, 0.45);
  font-size: clamp(0.625rem, 0.75vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.hero::before {
  left: var(--page-x);
  content: "© 2026 KITMOSAIC";
}

.hero::after {
  right: var(--page-x);
  content: "FOOTBALL, PIECE BY PIECE.";
}

.hero-copy {
  position: absolute;
  top: clamp(7rem, 13.8vh, 7.8rem);
  left: var(--page-x);
  right: var(--page-x);
  z-index: 4;
  max-width: none;
  text-align: center;
  animation: copy-in 900ms ease-out both;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.7rem, 3.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  white-space: nowrap;
}

.hero-copy h1 span {
  display: inline;
}

.hero-copy h1 span:first-child::after {
  content: ",";
}

.hero-copy p {
  max-width: 26rem;
  margin: clamp(0.6rem, 1vw, 0.9rem) auto 0;
  color: var(--muted);
  font-size: clamp(0.86rem, 1.12vw, 1rem);
  font-weight: 500;
  line-height: 1.45;
}

.kitline {
  position: absolute;
  right: 50%;
  top: clamp(6.25rem, 12.1vh, 6.8rem);
  z-index: 3;
  display: block;
  width: min(90vw, 1500px);
  max-width: none;
  height: auto;
  transform: translateX(50%) scale(1);
  transform-origin: center top;
  filter: saturate(1.03) contrast(1.02);
  animation: kit-in 1050ms ease-out both;
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kit-in {
  from {
    opacity: 0;
    transform: translateX(50%) scale(1.015);
  }

  to {
    opacity: 1;
    transform: translateX(50%) scale(1);
  }
}

@media (max-width: 700px) {
  :root {
    --page-x: clamp(1rem, 5.2vw, 1.4rem);
    --page-y: clamp(1rem, 4vw, 1.2rem);
  }

  .landing {
    min-height: 640px;
  }

  .masthead {
    align-items: flex-start;
  }

  .status {
    max-width: 6rem;
    text-align: right;
    line-height: 1.25;
  }

  .hero-copy {
    top: clamp(5.25rem, 10.5vh, 6.1rem);
    left: var(--page-x);
    right: var(--page-x);
    bottom: auto;
    max-width: calc(100vw - (var(--page-x) * 2));
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10.8vw, 3.05rem);
    line-height: 0.95;
    white-space: normal;
  }

  .hero-copy h1 span {
    display: block;
  }

  .hero-copy p {
    max-width: 19rem;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(0.84rem, 3.45vw, 0.96rem);
  }

  .kitline {
    top: auto;
    right: 48%;
    bottom: clamp(13.6rem, 26.5vh, 15rem);
    width: clamp(41rem, 184vw, 47rem);
  }
}

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