@font-face { font-family: "Cerebri"; src: url("v2/fonts/CerebriSans-Book.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cerebri"; src: url("v2/fonts/CerebriSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cerebri"; src: url("v2/fonts/CerebriSans-ExtraBold.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --paper: #f3f3f1;
  --card: #ffffff;
  --ink: #111211;
  --muted: #5f5a54;
  --red: #e11200;
  --blue: #1f5fe0;
  --amber: #f09a00;
  --line: rgba(17, 18, 17, 0.14);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Cerebri", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("v2/img/grain.jpg") center / 600px repeat;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
h2 { font-weight: 900; font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.02; letter-spacing: -0.015em; }
.c-blue { color: var(--blue); } .c-red { color: var(--red); } .c-amber { color: var(--amber); }
.eyebrow { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: rgba(243, 243, 241, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 22%; }
.brand b { color: var(--red); }
.top nav { display: flex; gap: clamp(12px, 3vw, 28px); font-weight: 700; font-size: 0.95rem; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

main > section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gutter) 0; }

/* ---------- hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.wordmark { font-weight: 900; font-size: clamp(3.6rem, 11vw, 8.2rem); line-height: 0.92; letter-spacing: -0.02em; margin-top: 10px; }
.wordmark .o { color: var(--red); }
.subline { margin-top: 12px; font-weight: 900; letter-spacing: 0.14em; font-size: clamp(1rem, 2.4vw, 1.45rem); }
.lead { margin-top: 26px; max-width: 34ch; font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: #2c2a27; }
.store {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 30px;
  padding: 18px 32px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.95rem; text-decoration: none;
}
.store.is-soon { background: #fff; color: var(--ink); border: 3px solid var(--ink); cursor: default; }
.fine { margin-top: 12px; font-size: 0.9rem; color: var(--muted); font-weight: 700; }

.hero-art { position: relative; justify-self: center; width: min(100%, 380px); padding: 30px 40px 40px; }
.phone {
  position: relative; border-radius: 13% / 6%; background: #0d0d0f; padding: 3.2%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22), 0 6px 18px rgba(0, 0, 0, 0.14);
}
.phone img { border-radius: 10.5% / 4.8%; width: 100%; height: auto; }
.hero .phone { transform: rotate(3deg); }
.mark { position: absolute; width: 22%; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.m1 { left: -4%; top: 6%; transform: rotate(-10deg); }
.m2 { right: -6%; top: 16%; animation-delay: -1s; }
.m3 { left: -8%; bottom: 26%; animation-delay: -2s; }
.m4 { right: -2%; bottom: 8%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- pause (drawn in CSS) */
.pause {
  --r: 60px;
  position: absolute; width: calc(var(--r) * 2); height: calc(var(--r) * 2); border-radius: 50%;
  background: #fff; border: 3px solid #d7d1c7; box-shadow: 0 14px 26px rgba(0,0,0,.16);
  display: flex; align-items: center; justify-content: center; gap: calc(var(--r) * 0.28);
}
.pause i {
  width: calc(var(--r) * 0.2); height: calc(var(--r) * 0.3); border-radius: 99px; background: var(--ink);
  animation: look 6s ease-in-out infinite, blink 4.5s steps(1) infinite;
}
@keyframes look { 0%, 20%, 100% { translate: 0 -2px; } 30%, 45% { translate: calc(var(--r) * -0.16) -2px; } 55%, 70% { translate: calc(var(--r) * 0.16) -2px; } }
@keyframes blink { 0%, 94%, 100% { scale: 1 1; } 96% { scale: 1 0.12; } }
.peek { --r: 46px; right: 2%; bottom: -6px; }
.pause-stage { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero-pause { --r: clamp(90px, 16vw, 150px); position: relative; animation: hop 3.2s cubic-bezier(.3,.7,.4,1) infinite; }
.hero-pause i:first-child { rotate: 12deg; } .hero-pause i:last-child { rotate: -12deg; }
.hero-pause i { height: calc(var(--r) * 0.2); }
@keyframes hop { 0%, 60%, 100% { translate: 0 0; } 70% { translate: 0 -34px; } 80% { translate: 0 0; } 86% { translate: 0 -12px; } 92% { translate: 0 0; } }
.floor { position: absolute; left: 10%; right: 10%; bottom: 40px; height: 8px; border-radius: 99px; background: var(--ink); }
.pause-stage .hero-pause { margin-bottom: 48px; }

/* ---------- film */
.film h2 { text-align: center; margin-bottom: clamp(20px, 4vw, 40px); }
.film video { width: 100%; height: auto; border-radius: clamp(16px, 2.4vw, 28px); background: #000; box-shadow: 0 30px 70px rgba(0,0,0,.2); }

/* ---------- features */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); }
.feature.flip .copy { order: 2; }
.feature .copy p { margin-top: 20px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #2c2a27; max-width: 40ch; }
.feature .art { justify-self: center; width: min(100%, 500px); }
.feature .phone { width: min(78%, 330px); margin: 0 auto; }
.tilt-r { transform: rotate(3deg); }
.big-line { font-size: clamp(1.4rem, 3vw, 2rem) !important; line-height: 1.25; color: var(--muted) !important; }
.big-line strong { color: var(--ink); }
.note { font-weight: 700; }

.board { position: relative; aspect-ratio: 1; background: var(--card); border: 3px solid rgba(17,18,17,.35); border-radius: 28px; padding: 6%; box-shadow: 0 20px 40px rgba(0,0,0,.1); }
.board svg { width: 100%; height: 100%; display: block; }
.board .sheet { fill: none; }
.board .claimed { fill: #cfdcf0; }
.board .thin path { stroke: #a39d92; stroke-width: 0.35; }
.board .thick path { stroke: #2b2b2b; stroke-width: 1; stroke-linecap: round; }
.board .cell { position: absolute; width: calc(88% / 9 * 0.72); left: calc(6% + 88% / 9 * (var(--x) + 0.14)); top: calc(6% + 88% / 9 * (var(--y) + 0.14)); }
.board .big { position: absolute; width: calc(88% / 3 * 0.8); left: calc(6% + 88% / 3 * 1.1); top: calc(6% + 88% / 3 * 1.1); }

/* ---------- moves */
.moves h2, .moves .sub { text-align: center; }
.moves .sub { margin: 14px auto 0; max-width: 40ch; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.move-grid { list-style: none; padding: 0; margin: clamp(28px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.move-grid li { background: var(--card); border-radius: 22px; padding: 20px; box-shadow: 0 8px 22px rgba(0,0,0,.06); border: 1px solid var(--line); }
.move-grid img { width: 64px; height: 64px; }
.move-grid b { display: block; margin-top: 10px; font-weight: 900; font-size: 1.25rem; letter-spacing: 0.02em; text-transform: uppercase; }
.move-grid p { margin-top: 8px; color: #3c3934; font-size: 0.98rem; }
.role { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 99px; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.role.attack { background: #fde3df; color: #a32d2d; }
.role.defend { background: #dce8ff; color: #0c447c; }
.role.control { background: #fff0cc; color: #854f0b; }
.role.chaos { background: #eeedfe; color: #3c3489; }

.emotes { display: flex; gap: 12px; margin-top: 24px; }
.emotes img { width: clamp(52px, 9vw, 72px); background: #fff; border-radius: 28%; padding: 8px; box-shadow: 0 8px 18px rgba(0,0,0,.1); }
.emotes img:nth-child(odd) { rotate: -5deg; } .emotes img:nth-child(even) { rotate: 5deg; }
.note { margin-top: 14px !important; }

/* ---------- art strip */
.art-feature .copy { text-align: center; }
.art-feature .copy p { margin: 16px auto 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #2c2a27; }
.strip { display: flex; gap: 16px; margin-top: clamp(28px, 5vw, 48px); overflow-x: auto; padding: 10px 4px 26px; scroll-snap-type: x mandatory; }
.strip img { flex: 0 0 auto; width: clamp(150px, 22vw, 210px); aspect-ratio: 1 / 1.29; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 30px rgba(0,0,0,.2); scroll-snap-align: center; }
.strip img:nth-child(odd) { rotate: -2deg; } .strip img:nth-child(even) { rotate: 2deg; }

/* ---------- support + footer */
.support { text-align: center; }
.support > * { max-width: 620px; margin-inline: auto; }
.support h2 { margin-top: 8px; }
.support p:not(.eyebrow) { margin-top: 16px; font-size: 1.1rem; color: #2c2a27; }
.mail { display: inline-block; margin-top: 22px; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 900; text-decoration: none; word-break: break-all; }
.support .social { margin-top: 18px !important; font-weight: 700; }
.support .social a { color: var(--blue); text-underline-offset: 4px; }
footer { max-width: var(--max); margin: clamp(64px, 10vw, 120px) auto 0; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); text-align: center; font-size: 0.9rem; color: var(--muted); }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; font-weight: 700; color: var(--ink); }

/* legacy redirect pages */
.legal-page { max-width: 640px; margin: 80px auto; padding: 0 var(--gutter); font-size: 1.1rem; }

/* ---------- small screens */
@media (max-width: 760px) {
  .hero, .feature { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-art { width: min(80%, 300px); }
  .feature.flip .copy { order: 0; }
  .feature .copy { text-align: center; }
  .feature .copy p { margin-inline: auto; }
  .emotes { justify-content: center; }
  .top nav a:first-child { display: none; }
  .move-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .move-grid li { padding: 14px; border-radius: 18px; }
  .move-grid img { width: 48px; height: 48px; }
  .move-grid b { font-size: 1.02rem; }
  .move-grid p { font-size: 0.88rem; }
  .store { padding: 16px 24px; font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
