:root {
  color-scheme: light;
  --ink: #161514;
  --muted: #5d5a52;
  --page: #f1f1ef;
  --card: #fffdf6;
  --yellow: #ffd331;
  --yellow-deep: #ffc21a;
  --green: #62a866;
  --blue: #5a91b8;
  --red: #d9674a;
  --line: rgba(20, 20, 18, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 7% 92%, rgba(255, 211, 49, 0.24), transparent 27%),
    radial-gradient(circle at 88% 18%, rgba(98, 168, 102, 0.14), transparent 25%),
    linear-gradient(135deg, #fffdf6 0%, #fff9ed 58%, #f3f2ef 100%);
  color: var(--ink);
  overflow-x: hidden;
}

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

.page-shell {
  width: 100%;
  min-height: 100svh;
}

.construction-card {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), transparent 54%),
    radial-gradient(circle at 78% 72%, rgba(217, 103, 74, 0.08), transparent 26%);
}

.scrabble-brand {
  position: absolute;
  top: clamp(34px, 5.2vw, 82px);
  left: 50%;
  z-index: 3;
  display: grid;
  gap: clamp(4px, 0.7vw, 9px);
  justify-items: center;
  transform: translateX(-50%) rotate(-1deg);
}

.word {
  display: flex;
  justify-content: center;
  gap: clamp(0px, 0.08vw, 2px);
}

.word-place {
  transform: translateX(clamp(10px, 1.5vw, 30px)) rotate(1.2deg);
}

.word img {
  width: clamp(44px, 5vw, 92px);
  height: clamp(44px, 5vw, 92px);
  display: block;
  padding: 0;
  filter: invert(10%) sepia(3%) saturate(560%) hue-rotate(22deg) brightness(94%) contrast(92%);
  opacity: 0.94;
}

.word-place img {
  filter: invert(10%) sepia(3%) saturate(560%) hue-rotate(22deg) brightness(94%) contrast(92%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(920px, 88%);
  margin-top: clamp(150px, 17vw, 310px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 960px;
  margin: 0 auto 22px;
  font-size: clamp(3rem, 6.7vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 790px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.75vw, 1.55rem);
  line-height: 1.35;
}

.expect-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.expect-list li {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(16, 16, 15, 0.08);
  border-radius: 999px;
  background: #fff;
  padding: 8px 14px;
  color: #171715;
  font-size: 0.95rem;
  font-weight: 850;
  box-shadow: 0 8px 18px rgba(20, 20, 18, 0.08);
  animation: chipIn 520ms ease both;
  animation-delay: var(--delay);
}

.expect-list li:nth-child(2) {
  background: #fff4bf;
}

.expect-list li:nth-child(3) {
  background: #e9f2df;
}

.expect-list li:nth-child(4) {
  background: #e9f4fb;
}

.expect-list li:nth-child(5) {
  background: #f8e6df;
}

.asset {
  display: block;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.mascot-piece {
  position: absolute;
  left: clamp(-86px, -3vw, -34px);
  bottom: clamp(-112px, -7vw, -62px);
  width: clamp(220px, 21vw, 390px);
  aspect-ratio: 1;
  color: var(--yellow);
  animation: pieceBob 5.8s ease-in-out infinite;
}

.meeple {
  width: 100%;
  height: 100%;
  color: var(--yellow);
  filter: drop-shadow(0 22px 32px rgba(206, 142, 0, 0.16));
  -webkit-mask-image: url("assets/meeple-svgrepo-com.svg");
  mask-image: url("assets/meeple-svgrepo-com.svg");
}

.board-asset {
  position: absolute;
  z-index: 1;
  width: clamp(70px, 7.5vw, 140px);
  height: clamp(70px, 7.5vw, 140px);
  opacity: 0.94;
  filter: drop-shadow(0 16px 24px rgba(20, 20, 18, 0.12));
}

.dice-asset {
  top: 20%;
  right: 12%;
  color: var(--blue);
  transform: rotate(12deg);
  animation: iconFloat 6s ease-in-out infinite;
  -webkit-mask-image: url("assets/dice-twenty-faces-one-svgrepo-com.svg");
  mask-image: url("assets/dice-twenty-faces-one-svgrepo-com.svg");
}

.chess-asset {
  right: 18%;
  bottom: 16%;
  color: var(--red);
  transform: rotate(-10deg);
  animation: iconFloatAlt 6.5s ease-in-out infinite;
  -webkit-mask-image: url("assets/chess-5-svgrepo-com.svg");
  mask-image: url("assets/chess-5-svgrepo-com.svg");
}

.spark {
  position: absolute;
  z-index: 1;
  width: clamp(34px, 4vw, 70px);
  aspect-ratio: 1;
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  animation: twinkle 3.2s ease-in-out infinite;
}

.spark-one {
  left: 12%;
  bottom: 41%;
}

.spark-two {
  left: 31%;
  bottom: 12%;
  width: clamp(28px, 3.1vw, 52px);
  animation-delay: 1.1s;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.992);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pieceBob {
  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

@keyframes twinkle {
  50% {
    transform: scale(0.82) rotate(18deg);
    opacity: 0.68;
  }
}

@keyframes iconFloat {
  50% {
    transform: translateY(-10px) rotate(-8deg);
  }
}

@keyframes iconFloatAlt {
  50% {
    transform: translateY(9px) rotate(8deg);
  }
}

@media (max-width: 760px) {
  .page-shell {
    min-height: 100svh;
  }

  .construction-card {
    min-height: 100svh;
  }

  .scrabble-brand {
    top: 28px;
  }

  .word img {
    width: clamp(34px, 9vw, 56px);
    height: clamp(34px, 9vw, 56px);
  }

  .hero-copy {
    width: min(90%, 560px);
    margin-top: 160px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .lead {
    font-size: 1.05rem;
  }

  .mascot-piece {
    left: -72px;
    bottom: -96px;
    width: 230px;
  }

  .board-asset {
    width: 78px;
    height: 78px;
  }

  .dice-asset {
    right: 9%;
    top: 16%;
  }

  .chess-asset {
    display: none;
  }

  .spark-one {
    left: 10%;
    bottom: 37%;
  }

  .spark-two {
    left: 54%;
    bottom: 14%;
  }
}

@media (max-width: 440px) {
  .hero-copy {
    margin-top: 150px;
  }

  .expect-list {
    gap: 8px;
  }

  .expect-list li {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 0.86rem;
  }
}

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