/* Sketchify Studio · site styles
   Palette drawn from the logo: night ink, pencil gold. */
:root {
  --bg: #07080d;
  --bg-2: #0d0f18;
  --surface: #12151f;
  --surface-2: #181c29;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f5f5f7;
  --muted: #9ba1b5;
  --dim: #6c7286;
  --accent: #ffbe3b;
  --accent-2: #ff9a2e;
  --ok: #3fd07a;
  --radius: 20px;
  --head: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 88px); letter-spacing: -.04em; }
h2 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.035em; }
h3 { font-size: clamp(20px, 2vw, 24px); }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.label { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.accent { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--accent); color: #111; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #14100a; }
.btn--primary:hover { background: #ffcb5e; transform: translateY(-1px); }
.btn--outline { border-color: var(--line-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--text); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--text { padding: 0; height: auto; color: var(--text); gap: 8px; }
.btn--text svg { transition: transform .2s var(--ease); }
.btn--text:hover svg { transform: translateX(4px); }

/* Store badge (black, as store badges usually are) */
.store { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 18px; border-radius: 14px; background: #000; border: 1px solid rgba(255, 255, 255, .28); color: #fff; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.store:hover { border-color: #fff; transform: translateY(-1px); }
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; font: 600 19px/1.05 var(--body); letter-spacing: -.01em; }
.store small { font: 500 10px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; background: linear-gradient(180deg, rgba(7, 8, 13, .9), rgba(7, 8, 13, 0)); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(7, 8, 13, .82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; height: 76px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span { font: 600 15px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; margin: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 170px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0 0 30%; z-index: -1; background: radial-gradient(800px 420px at 85% 0%, rgba(255, 190, 59, .10), transparent 70%), radial-gradient(700px 400px at 0% 10%, rgba(70, 120, 255, .10), transparent 70%); }
.hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; }
.hero h1 { margin-top: 26px; }
.hero__side { display: grid; gap: 28px; padding-bottom: 10px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* Featured banner */
.feature { position: relative; display: block; margin-top: 72px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); min-height: clamp(420px, 52vw, 620px); text-decoration: none; isolation: isolate; }
.feature { background: radial-gradient(700px 500px at 80% 50%, rgba(124, 92, 255, .22), transparent 70%), linear-gradient(135deg, #0f1020, #15122a); }
.feature__art { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 60%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); transition: transform 1.2s var(--ease); }
.feature:hover .feature__art { transform: scale(1.025); }
.feature__body { position: absolute; left: clamp(24px, 5vw, 64px); top: 50%; transform: translateY(-50%); width: min(500px, 46%); display: grid; gap: 18px; }
.feature__body h2 { font-size: clamp(32px, 4.4vw, 56px); }
.feature__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(63, 208, 122, .2); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-top: 96px; }
.facts div { padding: 30px 28px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.facts dd { margin: 0; font: 600 20px/1.3 var(--head); letter-spacing: -.01em; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.section__head h2 { margin-top: 18px; }
.section__head .lead { margin-top: 18px; }

/* Games grid */
.games { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: border-color .25s, transform .35s var(--ease); }
a.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 26px 28px 28px; display: grid; gap: 12px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; font-weight: 500; color: var(--muted); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.card--soon { justify-content: center; align-items: flex-start; padding: 36px; gap: 16px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .018) 14px 28px), var(--surface); }
.card--soon .icon-box { margin-bottom: 8px; }

/* Studio */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.split h2 { margin-top: 18px; }
.principles { list-style: none; padding: 0; margin: 0; display: grid; }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 19px; margin-bottom: 6px; }
.principles p { color: var(--muted); font-size: 15px; }
.icon-box { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 190, 59, .08); border: 1px solid rgba(255, 190, 59, .2); color: var(--accent); }
.icon-box svg { width: 22px; height: 22px; }

/* Press */
.press { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.press__panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 22px; align-content: start; }
.press__list { list-style: none; padding: 0; margin: 0; display: grid; }
.press__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.press__list li:first-child { padding-top: 0; }
.press__list li span:first-child { color: var(--muted); }
.press__list li span:last-child { text-align: right; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); }
.contact h2 { font-size: clamp(44px, 7vw, 84px); margin-top: 18px; }
.contact__rows { display: grid; }
.contact__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .25s var(--ease); }
.contact__row:last-child { border-bottom: 1px solid var(--line); }
.contact__row:hover { padding-left: 10px; }
.contact__row h3 { font-size: 20px; margin-bottom: 4px; }
.contact__row p { color: var(--muted); font-size: 14px; }
.contact__row svg { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform .25s var(--ease); }
.contact__row:hover svg { transform: translate(3px, -3px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 36px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__top p { color: var(--muted); max-width: 34ch; margin-top: 18px; }
.footer h4 { font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- Game page ---------- */
.game-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; padding: 140px 0 72px; isolation: isolate; overflow: hidden; }
.game-hero { background: radial-gradient(900px 600px at 80% 40%, rgba(124, 92, 255, .2), transparent 70%); }
.game-hero__art { position: absolute; top: 0; right: 0; bottom: 0; z-index: -2; width: 58%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.game-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.game-hero__body { max-width: 600px; display: grid; gap: 22px; }
.game-hero__title { display: flex; align-items: center; gap: 20px; }
.game-hero__title img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.game-hero h1 { font-size: clamp(40px, 6vw, 76px); }
.game-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.trailer { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.trailer video { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-list li { background: var(--surface); padding: 26px; display: grid; gap: 6px; }
.feature-list b { font: 600 17px/1.3 var(--head); }
.feature-list span { color: var(--muted); font-size: 15px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.specs div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.specs dd { margin: 0; font-weight: 500; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--surface); }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.cta-band { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(40px, 6vw, 80px); border: 1px solid var(--line); background: radial-gradient(600px 300px at 100% 100%, rgba(255, 190, 59, .14), transparent 70%), var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); max-width: 16ch; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1280px, 94vw); overflow: visible; }
.lightbox::backdrop { background: rgba(4, 5, 9, .92); backdrop-filter: blur(4px); }
.lightbox img { border-radius: 14px; width: 100%; height: auto; }
.lightbox__close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* Document pages (privacy) */
.doc { max-width: 760px; padding: 150px 0 100px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0 10px; }
.doc h2 { font-size: 22px; letter-spacing: -.015em; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 12px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--accent); }
.doc .card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-top: 28px; color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .split, .contact, .press, .games { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .section__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current]::after { display: none; }
  .menu-btn { display: grid; }
  .header .btn--sm { display: none; }
  .header { background: rgba(7, 8, 13, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
  .hero { padding-top: 130px; }
  .feature { margin-top: 48px; min-height: 0; display: flex; flex-direction: column; }
  .feature__art { position: relative; width: 100%; height: auto; aspect-ratio: 1 / .85; object-position: center 30%; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
  .feature__body { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 0 22px 28px; margin-top: -40px; }
  .facts { margin-top: 64px; }
  .facts div { padding: 22px 16px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-list, .specs { grid-template-columns: 1fr; }
  .game-hero { padding-top: 110px; min-height: 0; }
  .game-hero__art { width: 100%; height: 52vh; bottom: auto; object-position: center 30%; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 40%); mask-image: linear-gradient(0deg, transparent 0%, #000 40%); }
  .game-hero::after { display: none; }
  .game-hero__body { padding-top: 32vh; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
