:root {
  --paper: #f4eedf;
  --paper-deep: #ebe2cc;
  --ink: #1f2a1c;
  --ink-soft: #4a5644;
  --meadow: #3d5a2e;
  --meadow-deep: #2a4020;
  --sun: #d9a441;
  --line: rgba(31, 42, 28, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  /* faint paper grain */
  background-image:
    radial-gradient(rgba(60, 50, 20, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(60, 50, 20, 0.035) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
}

a { color: var(--meadow); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--meadow-deep); text-decoration-thickness: 2px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding-top: 26px; padding-bottom: 26px;
  font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mark svg { width: 28px; height: 28px; }
.top nav a { color: var(--ink-soft); text-decoration: none; margin-left: 22px; }
.top nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 660px; padding: 80px 0 0; overflow: hidden; background: #8ac4ea; }
.voxel-meadow { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.voxel-meadow .wheel { animation: spin 9s linear infinite; }
.voxel-meadow .cloud { animation: drift 40s ease-in-out infinite alternate; }
.voxel-meadow .cloud.slow { animation-duration: 60s; }
.voxel-meadow .cloud.slower { animation-duration: 80s; animation-direction: alternate-reverse; }
.hero h1 { color: #1d3550; }
.hero .lede { color: #2b4a6b; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 9vw, 104px); line-height: 0.98; letter-spacing: -0.02em;
  margin: 0; max-width: 11ch;
  animation: rise 0.9s 0.25s ease-out backwards;
}
.lede {
  font-size: 20px; color: var(--ink-soft); max-width: 38ch; margin: 28px 0 0;
  animation: rise 0.9s 0.45s ease-out backwards;
}
.hero .wrap { position: relative; z-index: 1; }

/* ---------- sections ---------- */
.band { background: var(--meadow-deep); color: #e9e4cf; }
.band a { color: #f0c766; }
.band .wrap { padding-top: 64px; padding-bottom: 80px; }

.grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.grid + .grid { margin-top: 72px; padding-top: 64px; border-top: 1px solid rgba(233, 228, 207, 0.18); }

h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; margin: 0;
}
h2 small {
  display: block; font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; margin-bottom: 14px;
}
.band p { margin: 0 0 1em; color: #d6d1bb; }
.band p:last-child { margin-bottom: 0; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(233, 228, 207, 0.18);
}
.facts li span:first-child { opacity: 0.65; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.facts li span:last-child { text-align: right; }

.contact { padding-top: 80px; padding-bottom: 64px; }
.contact h2 { max-width: 16ch; }
.contact .mail {
  display: inline-block; margin-top: 26px;
  font-family: var(--serif); font-size: clamp(22px, 3.6vw, 34px);
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px; font-size: 14px; color: var(--ink-soft);
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--ink-soft); }

/* ---------- policy page ---------- */
.doc { max-width: 680px; padding: 48px 0 80px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 58px); line-height: 1.05; margin: 0 0 8px; }
.doc .updated { color: var(--ink-soft); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc p { color: #2e3a2a; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top { padding-top: 18px; padding-bottom: 18px; font-size: 12px; }
  .top nav a { margin-left: 0; margin-right: 14px; }
  .hero { min-height: 0; padding-top: 40px; display: flex; flex-direction: column; background: #6fb0e2; }
  .hero .wrap { width: 100%; }
  .voxel-meadow { position: static; order: 2; height: 300px; margin-top: -20px; }
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .facts li { flex-direction: column; gap: 2px; }
  .facts li span:last-child { text-align: left; }
}

/* ---------- game ---------- */
.game {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 96px;
}
.kicker {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--meadow); margin: 0 0 14px;
}
.game h2 { font-size: clamp(40px, 6vw, 64px); }
.punch {
  font-family: var(--serif); font-style: italic; color: var(--meadow);
  font-size: clamp(22px, 2.8vw, 28px); line-height: 1.3; margin: 22px 0 0;
}
.plain { color: var(--ink-soft); font-size: 18px; margin: 16px 0 0; max-width: 34ch; }
.soon {
  display: inline-block; margin: 30px 0 0; padding: 10px 18px;
  border: 1px solid var(--meadow); border-radius: 999px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--meadow-deep);
}
.phone { margin: 0; justify-self: center; max-width: 300px; }
.phone img {
  display: block; width: 100%; height: auto;
  border-radius: 38px; border: 8px solid #1a1a1a;
  box-shadow: 0 30px 60px -20px rgba(31, 42, 28, 0.45), 0 10px 20px -10px rgba(31, 42, 28, 0.3);
  transform: rotate(2deg);
}
@media (max-width: 720px) {
  .game { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 72px; }
  .phone { max-width: 250px; }
}
