/* Syna Nova — site styles (Clean Tech, dark) */
@font-face { font-family: "Geist"; src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("../assets/fonts/fredoka-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0A0A0B;
  --fg: #EDEDEF;
  --muted: #9A9AA3;
  --line: #1F1F23;
  --line-2: #2E2E34;
  --surface: #111113;
  --band: #0D0D0F;
  --chip: #26262B;
  --grid: rgba(255, 255, 255, .05);
  --accent: #FF5A1F;
  --radius: 10px;
  --wrap: 1160px;
  --display: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { opacity: .75; }
::selection { background: var(--chip); color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* ---------- Logo ---------- */
.logo { flex: none; display: block; }
.logo-bg { fill: var(--fg); }
.logo-star { fill: var(--bg); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 65px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.02em; line-height: 1; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--fg); opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 28px; }
.lang-switch { font: 400 13px/1 var(--mono); color: var(--muted); text-decoration: none; }
.nav-cta { text-decoration: none; color: var(--fg); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 1.4; }
.nav-toggle { display: none; background: none; border: 0; color: var(--fg); padding: 6px; cursor: pointer; }

@media (max-width: 820px) {
  .nav { gap: 12px; }
  .nav-end { gap: 10px; margin-left: auto; }
  .nav-toggle { display: block; }
  .nav-cta { padding: 7px 12px; font-size: 13px; }
  .nav-links { position: absolute; top: 65px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 16px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: var(--radius); font: 500 15px/1.2 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: opacity .15s, border-color .15s; }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-ghost { border-color: var(--line-2); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); opacity: 1; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn svg { transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Typography ---------- */
.eyebrow { font: 400 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.h-muted { color: var(--muted); }
.lead { font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: var(--muted); max-width: 560px; }

section { padding: 104px 0; position: relative; }
@media (max-width: 600px) { section { padding: 72px 0; } }
.section-alt { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 40px; }
.section-head .lead { margin: 16px 0 0; }
.section-head-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.section-aside { margin: 0; max-width: 360px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 112px 0 120px; }
.hero h1 { margin: 32px 0 0; max-width: 900px; font-size: clamp(40px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.045em; }
.hero .lead { margin: 28px 0 0; font-size: clamp(17px, 2.4vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 64px; font: 400 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 13px; text-decoration: none; color: var(--muted); text-align: left; }
.pill-tag { font: 500 11px/1.4 var(--mono); color: var(--fg); background: var(--chip); padding: 3px 8px; border-radius: 999px; flex: none; }
@media (max-width: 600px) { .hero-inner { padding: 72px 0 80px; } .hero-platforms { margin-top: 48px; } }

/* ---------- Home: game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.game-card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 10px; display: flex; flex-direction: column; min-width: 0; transition: transform .2s ease, border-color .2s ease; }
.game-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.game-media { width: 100%; aspect-ratio: 1024 / 500; height: auto; object-fit: cover; display: block; border-radius: var(--radius); background: #07070D; }
.game-body { padding: 22px 16px 14px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.game-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.game-top h3 { font-size: 22px; }
.game-top .fredoka { font-family: "Fredoka", var(--display); font-weight: 700; font-size: 24px; letter-spacing: 0; }
.status { display: inline-flex; align-items: center; gap: 7px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--muted)); }
.status-ea { --dot: #22C55E; }
.status-dev { --dot: #F59E0B; }
.game-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.game-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; align-items: center; justify-content: space-between; }
.game-tags { display: flex; gap: 6px; font: 400 11px/1.4 var(--mono); color: var(--muted); }
.game-tags span { border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.game-link { font-size: 14px; font-weight: 500; text-decoration: none; }

/* Shelfmates illustration */
.shelf-art { aspect-ratio: 1024 / 500; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: #BFE3FA; }
.shelf-jars { display: flex; gap: 16px; justify-content: center; align-items: flex-end; }
.jar { width: 50px; height: 118px; border: 3px solid #fff; border-top: 0; border-radius: 0 0 16px 16px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: rgba(255, 255, 255, .3); }
.jar i { display: block; height: 30px; flex: none; }
.jar .y { background: #F6C833; }
.jar .r { background: #E8574E; }
.jar .b { background: #3F8EE6; }
.jar .g { background: #4CC673; }
.jar .p { background: #A070E6; }
.jar .o { background: #F58D3B; }
.jar .t { background: #2CC8B9; }
.shelf-board { height: 18px; background: #D0925B; border-bottom: 6px solid #6B3D1C; }
@media (max-width: 600px) { .shelf-jars { gap: 10px; } .jar { width: 40px; height: 84px; } .jar i { height: 22px; } .shelf-board { height: 12px; border-bottom-width: 4px; } }

/* ---------- Home: services ---------- */
.band-section { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; background: var(--surface); min-width: 0; }
.service:last-child { grid-column: span 2; }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service h3 { font-size: 17px; letter-spacing: -.01em; }
.service p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service:last-child { grid-column: auto; } .service { padding: 24px; } }

/* ---------- Home: about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-top: 40px; }
.stat b { display: block; font: 600 44px/1 var(--display); color: var(--fg); letter-spacing: -.04em; }
.stat span { display: block; color: var(--muted); font-size: 15px; margin-top: 8px; }
.why-text { font-size: 18px; color: var(--muted); margin: 0 0 28px; line-height: 1.6; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 20px; font-size: 15px; color: var(--fg); }
.checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Contact ---------- */
.contact { padding: 120px 0; }
.contact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact h2 { max-width: 720px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; }
.contact .lead { margin: 20px auto 0; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.contact-loc { margin: 24px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.contact-inner .form-card { width: 100%; max-width: 640px; margin-top: 56px; text-align: left; }
@media (max-width: 600px) { .contact { padding: 80px 0; } }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.form-card h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font: 400 12px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; color: var(--fg); font: 15px/1.4 var(--body); padding: 13px 16px; transition: border-color .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5f5f68; }
.field input:focus, .field textarea:focus { border-color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--muted); margin: 4px 0 20px; }
.form-card .btn { width: 100%; }
.form-card .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #6ee7b7; }
.form-status.err { color: #fca5a5; }
@media (max-width: 600px) { .form-card { padding: 24px 20px; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 48px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 280px; }
.footer-brand .brand { font-size: 16px; }
.footer-copy { font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; }
.col-title { font: 400 11px/1.4 var(--mono); color: var(--muted); }

/* ---------- Legal / sub pages ---------- */
.page { padding: 80px 0 120px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 12px; }
.prose h2 { font-size: 22px; margin: 48px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--fg); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.prose .meta { color: var(--muted); font-size: 14px; }

/* ---------- Cards (sub pages) ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card p { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.tag { display: inline-block; font: 400 11px/1.4 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }

/* ---------- Game feature (Shadow Echo page) ---------- */
.game { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 48px; overflow: hidden; position: relative; }
.game-title { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.game-title img { width: 72px; height: 72px; border-radius: 16px; }
.game-title h3 { font-size: 32px; }
.game-title .meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.game p { color: var(--muted); }
.game ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.game li { padding-left: 22px; position: relative; color: var(--muted); font-size: 15px; }
.game li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: #5ef2ff; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.shots img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.shots img:nth-child(2) { transform: translateY(-24px); }
@keyframes pulse { 50% { opacity: .3; } }
.game-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 900px) { .game { grid-template-columns: 1fr; padding: 28px 20px; gap: 36px; } .shots img:nth-child(2) { transform: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s ease, transform .2s ease, border-color .2s ease; }
.reveal.in { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .game-card, .card, .btn svg { transition: none; }
  .game-card:hover, .card:hover, .btn:hover svg { transform: none; }
}

/* grid children must be allowed to shrink below the images' intrinsic width */
.game > *, .shots img, .split > * { min-width: 0; }
.shots { max-width: 520px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .shots { justify-self: stretch; max-width: none; } }
