/* tahurgame.com, in the game's own print: four inks on cream paper, hard ink shadows. */
@font-face { font-family: 'Alfa Slab One'; src: url('/fonts/alfa-slab-one.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Bitter'; src: url('/fonts/bitter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Bitter'; src: url('/fonts/bitter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Special Elite'; src: url('/fonts/special-elite.woff2') format('woff2'); font-display: swap; }

:root {
  --paper: #f3e9d2; --paper-2: #e4d3ae; --ink: #1b1714; --ink-2: #4a3f35;
  --night: #121a2e; --night-2: #1e2944; --felt: #1f5b48;
  --red: #e23b3b; --mustard: #f5b841; --teal: #1fa39a; --blue: #3c7be0;
  --hard: 5px 5px 0 var(--ink);
}
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0; color: var(--paper); font: 500 18px/1.55 Bitter, Georgia, serif;
  background: radial-gradient(circle, rgba(243,233,210,.08) 1.1px, transparent 1.6px) 0 0 / 7px 7px, var(--night);
}
a { color: inherit; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-family: 'Alfa Slab One', Georgia, serif; font-weight: 400; letter-spacing: .01em; line-height: 1.1; margin: 0 0 .4em; }
h2 { font-size: clamp(28px, 4.5vw, 44px); text-shadow: 3px 3px 0 var(--red); }
.cap { font-family: 'Special Elite', monospace; letter-spacing: .03em; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
header.top img { width: 44px; height: 44px; }
header.top nav { display: flex; gap: 18px; font-family: 'Special Elite', monospace; }
header.top nav a { text-decoration: none; }
header.top nav a:hover { text-decoration: underline; }

.hero { text-align: center; padding: 24px 0 56px; }
.hero .logo { width: min(640px, 100%); height: auto; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); }
.hero p.lede { font-size: clamp(19px, 2.4vw, 23px); max-width: 640px; margin: 18px auto 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 14px 26px 12px; border-radius: 8px; text-decoration: none;
  font: 400 22px 'Alfa Slab One', Georgia, serif; color: var(--paper); background: var(--red);
  box-shadow: 0 0 0 3px var(--ink), var(--hard); transition: transform .1s, box-shadow .1s;
}
.btn small { font: 13px 'Special Elite', monospace; opacity: .9; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 0 0 0 3px var(--ink), 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 3px var(--ink), 2px 2px 0 var(--ink); }
.btn.paper { color: var(--ink); background: var(--paper); }
.btn.soon { color: var(--ink-2); background: var(--paper-2); cursor: default; }
.btn.soon:hover { transform: none; box-shadow: 0 0 0 3px var(--ink), var(--hard); }

section { padding: 48px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.card {
  color: var(--ink); background: var(--paper); border-radius: 10px; padding: 20px;
  box-shadow: 0 0 0 3px var(--ink), var(--hard);
}
.card:nth-child(odd) { transform: rotate(-.6deg); }
.card:nth-child(even) { transform: rotate(.5deg); }
.card .pip { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; color: var(--paper); font: 26px 'Alfa Slab One'; box-shadow: 0 0 0 3px var(--ink), 3px 3px 0 var(--ink); }
.card p { color: var(--ink-2); margin: 0; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.shots img { height: min(520px, 70vh); border-radius: 12px; box-shadow: 0 0 0 3px var(--ink), var(--hard); scroll-snap-align: center; }
.felt { background: radial-gradient(circle, rgba(0,0,0,.2) 1.2px, transparent 1.8px) 0 0 / 8px 8px, var(--felt); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.fair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.fair li { list-style: none; padding-left: 30px; position: relative; }
.fair li::before { content: '♠'; position: absolute; left: 0; color: var(--red); font-size: 22px; line-height: 1.1; }
.stamp { display: inline-block; padding: 4px 14px 2px; border: 3px double var(--red); color: var(--red); font: 20px 'Alfa Slab One'; text-transform: uppercase; transform: rotate(-4deg); }

footer { padding: 36px 0 60px; font-size: 15px; color: rgba(243,233,210,.75); }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Long-form pages (privacy, press) are printed on paper. */
.doc { color: var(--ink); background: var(--paper); border-radius: 10px; padding: clamp(20px, 4vw, 44px); margin: 12px auto 48px; box-shadow: 0 0 0 3px var(--ink), var(--hard); }
.doc h1 { font-size: clamp(30px, 5vw, 46px); }
.doc h2 { font-size: 24px; text-shadow: none; margin-top: 1.6em; }
.doc p, .doc li { color: var(--ink-2); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.doc td, .doc th { text-align: left; padding: 8px 6px; border-bottom: 1px dashed rgba(27,23,20,.35); vertical-align: top; }
.grid-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.grid-dl a { display: block; text-decoration: none; color: var(--ink); background: var(--paper-2); padding: 10px; border-radius: 8px; box-shadow: 0 0 0 2px var(--ink); }
.grid-dl img { width: 100%; height: 130px; object-fit: contain; background: var(--night); border-radius: 4px; }

/* Early Access: a mustard stamp on the logo, the trailer on its own band, the roadmap. */
.logo-wrap { position: relative; display: inline-block; width: min(640px, 100%); }
.hero .logo-wrap .logo { width: 100%; }
.stamp.ea { position: absolute; right: -2%; top: 2%; font-size: clamp(13px, 2.4vw, 19px); color: var(--mustard); border-color: var(--mustard); background: rgba(18, 26, 46, .7); transform: rotate(8deg); }
.hero .note { margin: 22px auto 0; font-size: 15px; color: rgba(243, 233, 210, .78); }
.trailer-band { padding: 36px 0 56px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px var(--ink), var(--hard); }
.video video { display: block; width: 100%; height: 100%; }
p.intro { max-width: 720px; margin: 0 0 26px; font-size: 19px; }
.roadmap .card ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); }
.roadmap .card li { margin: 4px 0; }
.roadmap .card a { color: var(--red); font-weight: 700; }
.tag { display: inline-block; padding: 3px 10px 2px; border-radius: 4px; font: 400 15px 'Alfa Slab One', Georgia, serif; color: var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.tag.now { background: var(--teal); }
.tag.next { background: var(--blue); }
.tag.talk { background: var(--red); }
/* Phones: a shorter nav, and the stamp under the logo instead of over the spade. */
@media (max-width: 640px) {
  header.top nav { gap: 14px; font-size: 15px; }
  header.top nav a[href="#early-access"] { display: none; }
  .stamp.ea { position: static; margin-top: 14px; transform: rotate(-3deg); }
}

/* Forms: the waitlist and the feedback page, on a paper card. */
.form-card { display: grid; gap: 14px; max-width: 560px; color: var(--ink); background: var(--paper); border-radius: 10px; padding: 22px; box-shadow: 0 0 0 3px var(--ink), var(--hard); }
.form-card .field { display: grid; gap: 6px; font-weight: 700; }
.form-card input[type=email], .form-card input[type=text], .form-card textarea { font: 500 17px/1.4 Bitter, Georgia, serif; color: var(--ink); background: #fffaf0; border: 0; border-radius: 6px; padding: 10px 12px; box-shadow: 0 0 0 2px var(--ink); width: 100%; }
.form-card textarea { resize: vertical; min-height: 140px; }
.form-card fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form-card legend { font-weight: 700; margin-bottom: 6px; width: 100%; }
.form-card label:not(.field) { display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.form-card input[type=checkbox], .form-card input[type=radio] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.form-card .btn { justify-self: start; border: 0; cursor: pointer; }
.form-card .btn:disabled { opacity: .6; cursor: wait; }
.form-card a { color: var(--red); font-weight: 700; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 700; }
.form-status.good { color: var(--felt); }
.form-status.bad { color: #b02a2a; }
.cap.small { font-size: 13px; margin: 0; color: var(--ink-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#notify .form-card { margin-top: 8px; }
.doc .summary { padding: 12px 16px; border-radius: 8px; background: rgba(245, 184, 65, .18); box-shadow: inset 0 0 0 2px var(--mustard); }
.updates h2 { margin-top: 1.6em; }
.updates .rel-date { font-family: 'Special Elite', monospace; font-size: 15px; color: var(--ink-2); }
.doc .form-card { background: none; box-shadow: none; padding: 0; margin-top: 18px; }
