/* Quarterdrop LLC — site styles. One ground, one ink, one accent. */
@font-face{font-family:Archivo;src:url(fonts/archivo-latin.woff2) format("woff2");font-weight:400 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(fonts/jetbrains-mono-latin.woff2) format("woff2");font-weight:500 700;font-display:swap}

:root{
  --ground:#EEF0EB; --ink:#14161A; --body:#2A2E36; --muted:#5A6170;
  --night:#14161A; --night-card:#1E2127; --night-rule:#2E323A; --night-text:#D3D7DE; --night-muted:#A7ADB8;
  --accent:#2B4BDB; --accent-deep:#1A33A8; --accent-soft:#E4E9FF; --accent-on-night:#9DB0FF;
  --coin:#C9CED5; --coin-rim:#8A919C; --coin-ridge:#B4BAC3; --paper:#FFFFFF; --rule:#D3D7D0;
  --display:Archivo,system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--display);font-size:17px;line-height:1.6;-webkit-text-size-adjust:100%}
a{color:var(--accent)} a:hover{color:var(--accent-deep)}
a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.night a:focus-visible,.band a:focus-visible{outline-color:#FFFFFF}
img{max-width:100%;height:auto}

.wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px;z-index:10}
.skip:focus{left:16px}

.eyebrow{margin:0;font-family:var(--mono);font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.h2{margin:0;font-weight:900;font-stretch:118%;font-size:clamp(40px,6vw,72px);line-height:1;letter-spacing:-.02em;text-wrap:balance}

/* header */
.top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;padding-bottom:24px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand-coin{width:28px;height:28px;border-radius:50%;background:var(--coin);border:3px solid var(--coin-rim);display:block}
.brand-name{font-weight:800;font-stretch:112%;font-size:20px;letter-spacing:-.01em}
.nav{display:flex;flex-wrap:wrap;gap:4px}
.nav a{color:var(--ink);text-decoration:none;font-weight:600;padding:10px 14px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center}
.nav a:hover{background:#E1E4DE;color:var(--ink)}

/* buttons */
.btn{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:999px;text-decoration:none;font-weight:700;border:2px solid transparent}
.btn-ink{background:var(--ink);color:#fff} .btn-ink:hover{background:#2A2E36;color:#fff}
.btn-line{border-color:var(--ink);color:var(--ink)} .btn-line:hover{background:var(--ink);color:#fff}
.btn-light{background:#F2F3F0;color:var(--ink)} .btn-light:hover{background:#fff;color:var(--ink)}
.btn-paper{background:#fff;color:var(--ink);font-size:18px;min-height:52px} .btn-paper:hover{background:var(--accent-soft);color:var(--ink)}
.row{display:flex;flex-wrap:wrap;gap:12px}

/* hero */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:56px;padding-top:56px;padding-bottom:96px}
.hero-copy{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:24px}
.wordmark{margin:0;font-weight:900;font-stretch:125%;font-size:clamp(56px,9vw,128px);line-height:.92;letter-spacing:-.03em}
.lede{margin:0;max-width:34rem;font-size:21px;line-height:1.5;color:var(--body)}
.hero-art{flex:1 1 320px;display:flex;justify-content:center}
.slot{position:relative;width:320px;height:400px}
.coin{position:absolute;left:96px;top:0;width:128px;height:128px;border-radius:50%;
  background:repeating-conic-gradient(var(--coin-rim) 0deg 3deg,var(--coin-ridge) 3deg 6deg);
  display:flex;align-items:center;justify-content:center;transform:rotate(-14deg);animation:drop 3.2s cubic-bezier(.5,0,.75,0) infinite}
.coin-face{width:108px;height:108px;border-radius:50%;background:var(--coin);border:2px solid #A3A9B2;display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-weight:700;font-size:34px;color:var(--muted)}
.trail{position:absolute;left:159px;top:140px;display:flex;flex-direction:column;gap:8px}
.trail span{width:2px;height:10px;background:var(--coin-rim);display:block}
.plate{position:absolute;left:0;top:196px;width:320px;height:204px;border-radius:28px;background:var(--night);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}
.plate-slot{width:150px;height:18px;border-radius:9px;background:#000;box-shadow:inset 0 2px 0 #2E323A}
.plate-label{font-family:var(--mono);font-weight:700;font-size:14px;letter-spacing:.3em;color:var(--coin)}
.lights{display:flex;gap:10px}
.lights span{width:14px;height:14px;border-radius:50%;background:#3A3F48;display:block}
.lights span:first-child{background:var(--accent);animation:blink 3.2s steps(1) infinite}
@keyframes drop{0%,55%{transform:translateY(0) rotate(-14deg);opacity:1}
  80%{transform:translateY(150px) rotate(0deg);opacity:1}
  81%,100%{transform:translateY(150px) rotate(0deg);opacity:0}}
@keyframes blink{0%,79%{background:#3A3F48}80%,100%{background:var(--accent)}}
@media (prefers-reduced-motion:reduce){.coin,.lights span:first-child{animation:none}}

/* games */
.night{background:var(--night);color:#F2F3F0}
.games{padding-top:96px;padding-bottom:96px;display:flex;flex-direction:column;gap:40px}
.games-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px}
.night .eyebrow{color:var(--night-muted)}
.game{background:var(--night-card);border:1px solid var(--night-rule);border-radius:28px;padding:32px;display:flex;flex-wrap:wrap;align-items:center;gap:40px}
.game-icon{width:220px;height:220px;border-radius:48px;object-fit:cover;flex:0 0 auto}
.game-body{flex:999 1 420px;min-width:0;display:flex;flex-direction:column;gap:16px}
.game-title{margin:0;font-weight:900;font-stretch:112%;font-size:44px;line-height:1.05;letter-spacing:-.02em}
.game-copy{margin:0;max-width:36rem;font-size:19px;color:var(--night-text)}
.chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{padding:6px 12px;border-radius:999px;border:1px solid #4A505B;color:var(--night-text);font-size:14px;font-weight:600}
.chips li.live{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700}
.night .textlink{display:inline-flex;align-items:center;min-height:48px;padding:0 8px;color:var(--accent-on-night);font-weight:600}
.night .textlink:hover{color:#fff}
.next{border:2px dashed #3A3F48;border-radius:28px;padding:28px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.next p{margin:0}
.next-head{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:8px}
.next-title{margin:0;font-weight:900;font-stretch:112%;font-size:32px;line-height:1.1;letter-spacing:-.01em}
.next-copy{color:var(--night-muted);max-width:28rem}
.embed{flex:0 1 552px;min-width:0;max-width:100%}
.embed iframe{display:block;width:100%;max-width:552px;height:167px;border:0;border-radius:12px;background:#464646}

/* studio */
.studio{padding-top:96px;padding-bottom:96px;display:flex;flex-wrap:wrap;gap:56px}
.studio-copy{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:20px}
.studio-copy p{margin:0;max-width:36rem;font-size:19px;color:var(--body)}
.facts{flex:1 1 300px;margin:0;background:var(--paper);border-radius:24px;padding:28px;display:grid;gap:18px;align-self:start}
.facts dt{font-family:var(--mono);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.facts dd{margin:4px 0 0;font-weight:700}

/* contact band */
.contact{padding-bottom:96px}
.band{background:var(--accent);color:#fff;border-radius:32px;padding:56px 40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.band h2{font-size:clamp(32px,5vw,56px);line-height:1.05}
.band p{margin:8px 0 0;font-size:19px;color:var(--accent-soft)}

/* footer */
.foot{border-top:1px solid var(--rule)}
.foot .wrap{padding-top:28px;padding-bottom:40px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;color:var(--muted);font-size:15px}
.foot p{margin:0}
.foot nav{display:flex;flex-wrap:wrap;gap:20px}

/* long-form pages (privacy, 404) */
.doc{max-width:44rem;margin:0 auto;padding:24px 24px 96px}
.doc h1{margin:0 0 .5rem;font-weight:900;font-stretch:118%;font-size:clamp(40px,7vw,64px);line-height:1;letter-spacing:-.02em}
.doc .updated{color:var(--muted);margin:0 0 2.5rem}
.doc h2{font-weight:800;font-stretch:112%;font-size:24px;line-height:1.25;margin:2.5rem 0 .5rem}
.doc p,.doc li{color:var(--body)}
.doc ul{padding-left:1.2rem}
.doc li{margin:.35rem 0}

@media (max-width:560px){
  .game{padding:24px;gap:24px}
  .game-icon{width:140px;height:140px;border-radius:32px}
  .band{padding:40px 24px}
  .slot{transform:scale(.8);transform-origin:top center;height:320px}
}
