/* Level Up Logic Games — leveluplogic.games */
@font-face { font-family: Anton; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/anton-latin.woff2) format("woff2"); }
:root {
  --ink: #17120e;
  --ink-2: #211a14;
  --ink-3: #2c231b;
  --line: #3d3126;
  --paper: #f0e8d2;
  --muted: #c2b69d;
  --red: #e03a2b;
  --yellow: #ffd21f;
  --teal: #2a9d96;
  --wrap: 1140px;
  --display: Anton, Impact, "Haettenschweiler", "Avenir Next Condensed", "Arial Narrow", "Franklin Gothic Bold", sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; font-style: italic; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.98; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 50; font-weight: 700; }
.skip:focus { left: 8px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: var(--ink); border-bottom: 4px solid var(--yellow); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-style: italic; font-size: 1.35rem; text-transform: uppercase; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand b { color: var(--yellow); font-weight: inherit; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; padding: 12px 12px; color: var(--muted); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--yellow); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-family: var(--display); font-style: italic; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffe163; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.on-dark .btn, .btn.on-dark { border-color: var(--paper); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6); }

/* hero */
.hero { position: relative; background: var(--red); color: var(--ink); padding: 84px 0 96px; overflow: hidden; border-bottom: 4px solid var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.2;
  background-image: radial-gradient(var(--ink) 22%, transparent 23%);
  background-size: 18px 18px; transform: rotate(-8deg) scale(1.4);
  mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 100%);
}
.hero .wrap { position: relative; }
.stamp { display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 12px; transform: rotate(-2deg); }
.hero h1 { font-size: clamp(3.4rem, 11vw, 8.2rem); margin-top: 22px; color: var(--paper); text-shadow: 5px 5px 0 var(--ink); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; max-width: 11ch; }
.hero h1 span { color: var(--yellow); }
.hero .lede { margin-top: 28px; max-width: 54ch; font-size: clamp(1.1rem, 1.7vw, 1.3rem); font-weight: 600; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.ticker { background: var(--yellow); color: var(--ink); border-bottom: 4px solid var(--ink); font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.04em; }
.ticker ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 34px; list-style: none; margin: 0 auto; padding: 12px 20px; }

/* games */
.games { padding: 88px 0 40px; }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--yellow); }
.section-head p { margin-top: 14px; color: var(--muted); max-width: 60ch; }

.game { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--ink-2); border: 3px solid var(--paper); box-shadow: 8px 8px 0 #000; margin-bottom: 56px; }
.game:nth-of-type(even) .game-art { order: 2; border-right: 0; border-left: 3px solid var(--paper); }
.game-art { position: relative; min-height: 340px; background: #000; border-right: 3px solid var(--paper); overflow: hidden; }
.game-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-art.contain { background: #fff; }
.game-art.contain img { object-fit: contain; padding: 18px; }
.game-art.phone { background: radial-gradient(circle at 50% 40%, #3b1d6b, #120a24 75%); }
.game-art.phone img { object-fit: contain; padding: 22px 0; }
.game-body { padding: 36px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.status { align-self: flex-start; font-weight: 800; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 11px; background: var(--yellow); color: var(--ink); transform: rotate(-1.5deg); }
.status.red { background: var(--red); color: #fff; }
.game h3 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.game .tagline { font-weight: 700; color: var(--yellow); font-size: 1.1rem; }
.game p { color: var(--muted); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 4px 0 0; font-size: 15px; }
.meta dt { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--muted); padding-top: 3px; }
.meta dd { margin: 0; }
.content-note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--red); padding-left: 12px; }

/* studio */
.studio { background: var(--teal); color: var(--ink); border-block: 4px solid var(--ink); padding: 80px 0; position: relative; overflow: hidden; }
.studio::before { content: ""; position: absolute; inset: 0; opacity: 0.16; background-image: radial-gradient(var(--ink) 22%, transparent 23%); background-size: 22px 22px; transform: rotate(45deg) scale(1.6); pointer-events: none; }
.studio .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.studio h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--paper); text-shadow: 4px 4px 0 var(--ink); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.studio p { margin-top: 18px; font-weight: 600; max-width: 54ch; }
.studio .panel { background: var(--ink); color: var(--paper); border: 3px solid var(--ink); box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.45); padding: 30px; }
.studio .panel h3 { font-size: 1.7rem; color: var(--yellow); }
.studio .panel p { color: var(--muted); font-weight: 400; margin-top: 12px; }
.studio .panel .cta-row { margin-top: 22px; }
.studio .panel a.text { color: var(--yellow); font-weight: 700; }
.mail { font-weight: 700; margin-top: 16px; word-break: break-word; }

/* footer */
footer { padding: 40px 0 48px; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
footer address { font-style: normal; margin-top: 10px; line-height: 1.7; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; align-content: start; }
footer a { text-decoration: none; padding: 6px 0; }
footer a:hover { color: var(--yellow); text-decoration: underline; }

/* legal */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); color: var(--yellow); }
.legal h2 { font-size: 1.8rem; margin-top: 44px; color: var(--paper); }
.legal h3 { font-family: var(--sans); font-style: normal; text-transform: none; font-size: 1.1rem; line-height: 1.3; margin-top: 26px; }
.legal p, .legal ul { color: var(--muted); margin-top: 14px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--yellow); }
.legal .updated { font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }
.legal .draft { border: 3px solid var(--red); padding: 14px 18px; color: var(--paper); margin-top: 22px; }

@media (max-width: 900px) {
  .game { grid-template-columns: 1fr; }
  .game-art, .game:nth-of-type(even) .game-art { order: 0; min-height: 0; aspect-ratio: 16 / 9; border: 0; border-bottom: 3px solid var(--paper); }
  .game-art.phone { aspect-ratio: 4 / 3; }
  .game-body { padding: 26px; }
  .studio .wrap { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .nav-links a:not(.keep) { display: none; }
  .hero { padding: 56px 0 68px; }
  .hero h1 { -webkit-text-stroke: 1.5px var(--ink); text-shadow: 3px 3px 0 var(--ink); }
  .games { padding-top: 64px; }
  .game { box-shadow: 5px 5px 0 #000; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
