/*
Theme Name: HEMUK Games
Author: HEMUK Games
Description: A minimal studio landing page with an optional game trailer. Change the headline, logo, and trailer in Appearance > Customize.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hemuk-games
*/

:root { color-scheme: light; --paper: #f0eee9; --ink: #242829; --muted: #656962; --green: #75b52f; }
* { box-sizing: border-box; }
html { min-height: 100%; border-top: 4px solid var(--green); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.landing { min-height: calc(100svh - 4px); display: flex; flex-direction: column; }
.site-header, .site-footer { width: min(100% - 80px, 1360px); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-header { padding-top: 33px; }
.eyebrow { margin: 0; font-size: 10px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.studio-status { display: inline-flex; align-items: center; gap: 9px; }
.studio-status::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--green); }
.landing-main { flex: 1; display: grid; place-items: center; padding: 75px 24px 90px; }
.hero { text-align: center; width: min(100%, 960px); }
.brand { position: relative; overflow: hidden; width: min(100%, 850px); aspect-ratio: 3.85; margin: 0 auto 34px; mix-blend-mode: darken; }
.brand img { position: absolute; width: 140%; max-width: none; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.brand.custom { aspect-ratio: auto; overflow: visible; mix-blend-mode: normal; }
.brand.custom img { position: static; display: block; width: auto; max-width: 100%; max-height: 280px; margin: auto; transform: none; }
h1 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 450; line-height: 1.4; letter-spacing: -.035em; text-wrap: balance; }
.coming-soon { margin: 18px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .025em; }
.coming-soon::before { content: ""; display: block; margin: 0 auto 18px; width: 28px; height: 2px; background: var(--green); }
.site-footer { padding-bottom: 27px; color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; }
.trailer { max-width: 880px; margin: 42px auto 0; }
.trailer h2 { margin: 0 0 15px; font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.video-frame { aspect-ratio: 16 / 9; background: #242829; border-radius: 5px; overflow: hidden; }
.video-frame iframe, .video-frame video { display: block; width: 100%; height: 100%; border: 0; }
.trailer-link { display: inline-block; padding: 12px 20px; color: var(--ink); border: 1px solid var(--green); border-radius: 3px; text-underline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px; color: var(--ink); background: white; }
.skip-link:focus { top: 16px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.content-page { width: min(100% - 48px, 800px); margin: 65px auto; flex: 1; line-height: 1.7; }
.content-page h1 { margin-bottom: 24px; }
.content-page img, .content-page video { max-width: 100%; height: auto; }
.content-page a { color: #446e1b; }
@media (max-width: 600px) {
  .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { padding-top: 24px; }
  .eyebrow { font-size: 8px; letter-spacing: .12em; }
  .studio-status { gap: 6px; }
  .landing-main { padding: 75px 24px; }
  .brand { margin-bottom: 34px; }
  .site-footer { padding-bottom: 22px; font-size: 10px; }
}
