:root {
  --paper: #fffdf7;
  --paper-2: #f6f3e9;
  --ink: #151515;
  --muted: #65645f;
  --line: #dedbd0;
  --yellow: #ffd62e;
  --red: #a70716;
  --pink: #ff66d9;
  --blue: #62bff2;
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .7rem 1rem; color: #fff; background: var(--ink); border-radius: 999px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.page-shell, .site-header, .footer-inner { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-size: 1.05rem; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.brand img { width: 3.15rem; height: 3.15rem; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); }
.site-nav a, .footer-links a { color: var(--muted); font-size: .88rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--ink); }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.kicker { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.4rem; color: var(--muted); font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.kicker span { width: 1.5rem; height: .22rem; background: var(--red); border-radius: 999px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 1.5rem; font-size: clamp(4rem, 8.4vw, 7.2rem); line-height: .9; letter-spacing: -.075em; }
h1 em, .contact-section h2 em { position: relative; z-index: 0; color: var(--red); font-style: normal; }
h1 em::after { position: absolute; right: -.1em; bottom: .05em; left: 0; height: .14em; z-index: -1; content: ""; background: var(--yellow); transform: rotate(-1deg); }
.hero-intro { max-width: 620px; margin-bottom: 2.1rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.button-row, .store-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; padding: .75rem 1.3rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .88rem; font-weight: 850; text-decoration: none; transition: transform 150ms ease, box-shadow 150ms ease; }
.button-dark { color: #fff; background: var(--ink); }
.button-light { background: transparent; }
.button:hover, .button:focus-visible { box-shadow: 0 6px 0 var(--yellow); transform: translateY(-2px); }

.hero-art { position: relative; min-height: 560px; display: grid; place-items: center; isolation: isolate; }
.hero-disc { position: absolute; width: min(92%, 500px); aspect-ratio: 1; z-index: -2; background: var(--yellow); border-radius: 50%; }
.hero-art > img { width: min(104%, 570px); height: auto; object-fit: contain; filter: drop-shadow(0 28px 25px rgba(25, 20, 0, .13)); }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(21, 21, 21, .28); border-radius: 50%; }
.hero-orbit-one { width: 105%; height: 48%; transform: rotate(18deg); }
.hero-orbit-two { width: 45%; height: 104%; transform: rotate(28deg); }
.hero-note { position: absolute; right: 0; bottom: 2.2rem; width: 7.6rem; aspect-ratio: 1; display: grid; align-content: center; margin: 0; color: #fff; background: var(--red); border: 6px solid var(--paper); border-radius: 50%; text-align: center; transform: rotate(6deg); }
.hero-note strong { font-size: 1.35rem; line-height: 1; }
.hero-note span { font-size: .68rem; font-weight: 800; text-transform: uppercase; }

.games-section { padding-block: clamp(5rem, 10vw, 9rem); background: var(--paper-2); border-block: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-heading h2, .studio-card h2, .contact-section h2, .legal-page h1 { margin-bottom: 0; font-size: clamp(3rem, 6.6vw, 5.7rem); line-height: .94; letter-spacing: -.065em; }
.section-heading > p { max-width: 510px; margin-bottom: .35rem; color: var(--muted); font-size: 1.05rem; }
.game-list { display: grid; gap: 1.5rem; }
.game-card { --card-accent: var(--yellow); display: grid; grid-template-columns: minmax(310px, .82fr) minmax(0, 1.18fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 1.6rem; box-shadow: 0 15px 50px rgba(31, 28, 20, .06); }
.game-puss { --card-accent: var(--pink); }
.game-cock { --card-accent: var(--blue); }
.game-visual { position: relative; min-height: 430px; display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem); overflow: hidden; background: color-mix(in srgb, var(--card-accent) 75%, white); }
.game-visual::before { position: absolute; width: 80%; aspect-ratio: 1; content: ""; background: rgba(255, 255, 255, .33); border-radius: 50%; }
.game-visual img { position: relative; width: min(100%, 350px); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 1.4rem; box-shadow: 0 24px 50px rgba(0, 0, 0, .22); transform: rotate(-3deg); transition: transform 220ms ease; }
.game-card:nth-child(even) .game-visual img { transform: rotate(3deg); }
.game-card:hover .game-visual img { transform: rotate(0) scale(1.025); }
.game-number { position: absolute; top: 1.2rem; left: 1.4rem; z-index: 1; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.game-copy { display: grid; align-content: center; padding: clamp(2rem, 6vw, 5rem); }
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; }
.tag-row span { padding: .32rem .65rem; color: var(--muted); background: #f4f2ec; border-radius: 999px; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.game-copy h3 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .95; letter-spacing: -.06em; }
.game-copy > p { max-width: 590px; margin-bottom: 1.8rem; color: var(--muted); font-size: 1.03rem; }
.trailer-jump { width: max-content; display: inline-flex; gap: .55rem; margin-top: 1.25rem; padding-bottom: .2rem; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 800; text-decoration: none; }
.trailer-jump:hover, .trailer-jump:focus-visible { color: var(--ink); border-color: var(--ink); }

.store-link { height: 3.5rem; display: inline-flex; border-radius: .65rem; text-decoration: none; transition: filter 150ms ease, transform 150ms ease; }
.store-link img { width: auto; height: 100%; object-fit: contain; }
.store-link:hover, .store-link:focus-visible { filter: brightness(1.12); transform: translateY(-2px); }

.trailers-section { padding-block: clamp(5rem, 10vw, 9rem); background: var(--paper); }
.trailer-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.trailer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.trailer-card { scroll-margin-top: 1rem; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: 0 15px 50px rgba(31, 28, 20, .06); }
.video-embed, .video-frame { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }
.video-embed { position: relative; overflow: hidden; color: #fff; background: var(--ink); text-decoration: none; isolation: isolate; }
.video-embed::after { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .72)); }
.video-embed img { width: 100%; height: 100%; object-fit: cover; transition: transform 250ms ease, opacity 250ms ease; }
.video-embed:hover img, .video-embed:focus-visible img { opacity: .85; transform: scale(1.025); }
.play-button { position: absolute; top: 50%; left: 50%; z-index: 2; width: 4.2rem; aspect-ratio: 1; display: grid; place-items: center; padding-left: .2rem; color: var(--ink); background: var(--yellow); border: 5px solid rgba(255, 255, 255, .9); border-radius: 50%; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transform: translate(-50%, -50%); }
.video-label { position: absolute; right: 1.2rem; bottom: 1rem; left: 1.2rem; z-index: 2; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.trailer-card > div { padding: 1.5rem; }
.trailer-index { margin-bottom: .5rem; color: var(--red); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.trailer-card h3 { margin-bottom: .5rem; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.05em; }
.trailer-card > div > p:last-child { margin-bottom: 0; color: var(--muted); }

.studio-section { padding-block: clamp(5rem, 10vw, 9rem); }
.studio-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(3rem, 8vw, 8rem); padding: clamp(2rem, 7vw, 6rem); color: #fff; background: var(--ink); border-radius: 1.8rem; }
.kicker-light { color: #aaa9a5; }
.kicker-light span { background: var(--yellow); }
.studio-copy > p:not(.kicker) { max-width: 620px; margin: 1.8rem 0; color: #bdbcb7; font-size: 1.04rem; }
.text-link { display: inline-flex; gap: .65rem; padding-bottom: .3rem; color: var(--yellow); border-bottom: 1px solid currentColor; font-weight: 800; text-decoration: none; }
.studio-facts { display: grid; align-content: center; gap: 0; margin: 0; }
.studio-facts div { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: 1.3rem 0; border-bottom: 1px solid #383838; }
.studio-facts dt { align-self: end; color: #999893; font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.studio-facts dd { grid-row: span 2; margin: 0; color: var(--yellow); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.studio-facts span { color: #d1d0ca; font-size: .88rem; }

.contact-section { padding-block: clamp(3rem, 8vw, 7rem) clamp(6rem, 12vw, 10rem); text-align: center; }
.contact-section .kicker { justify-content: center; }
.contact-section h2 { margin-bottom: 2rem; }
.contact-mail { display: inline-flex; gap: .8rem; padding-bottom: .35rem; border-bottom: 2px solid var(--red); font-size: clamp(1.15rem, 2.5vw, 1.65rem); font-weight: 850; text-decoration: none; }

.site-footer { color: #fff; background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 2rem; align-items: center; padding-block: 3rem; }
.footer-brand { color: #fff; }
.footer-brand img { width: 2.75rem; height: 2.75rem; }
.footer-inner > p { margin: 0; color: #9f9e99; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.footer-links a { color: #bbb9b3; }
.copyright { grid-column: 1 / -1; padding-top: 1.4rem; color: #777671; border-top: 1px solid #343434; font-size: .72rem; }

.legal-page { max-width: 820px; padding-block: clamp(4rem, 10vw, 8rem); }
.legal-page .eyebrow { margin: 0 0 1rem; color: var(--red); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.legal-page .lead { margin: 1.5rem 0 3rem; color: var(--muted); font-size: 1.08rem; }
.draft-note { margin-bottom: 3rem; padding: 1rem 1.1rem; color: #5a4810; background: #fff5c7; border: 1px solid #ead988; border-radius: .8rem; }
.legal-page section { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.legal-page section h2 { font-size: 1.35rem; letter-spacing: -.025em; }
.legal-page section p, .legal-page section li { color: var(--muted); }
.legal-page section ul { padding-left: 1.2rem; }

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-art { min-height: 500px; }
  .section-heading, .studio-card { grid-template-columns: 1fr; }
  .studio-facts { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .studio-facts div { display: block; }
  .studio-facts dd { margin: .4rem 0; }
}

@media (max-width: 760px) {
  .game-card { grid-template-columns: 1fr; }
  .game-visual { min-height: 360px; }
  .game-copy { padding: 2rem; }
  .trailer-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: auto; }
}

@media (max-width: 560px) {
  .site-header { min-height: 5rem; }
  .brand img { width: 2.65rem; height: 2.65rem; }
  .site-nav { gap: .7rem; }
  .site-nav a { font-size: .76rem; }
  .site-nav a:last-child { display: none; }
  .hero { padding-top: 3.5rem; }
  .hero-art { min-height: 390px; }
  .hero-orbit-one { width: 98%; }
  .hero-note { right: 0; bottom: 0; width: 6.8rem; }
  .game-visual { min-height: 320px; }
  .studio-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
