/* Signika (SIL OFL 1.1, assets/fonts/OFL.txt), self-hosted: no requests to third-party servers. */
@font-face { font-family: Signika; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/signika-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Signika; font-style: normal; font-weight: 300 700; font-display: swap; src: url("assets/fonts/signika-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--night: #0f1418;
	--night-2: #151c21;
	--line: #24303a;
	--frost: #c9d3d9;
	--bone: #ece2cc;
	--bone-ink: #2b2219;
	--rust: #c4583c;
	--rust-deep: #9e3f27;
	--rune: rgb(96, 220, 246);
	--text: #d6dde1;
	--muted: #8b99a3;
	--display: Signika, system-ui, sans-serif;
	--body: Signika, system-ui, -apple-system, sans-serif;
	--gutter: clamp(16px, 4vw, 56px);
	--grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
body::after { content: ""; position: fixed; inset: 0; background: var(--grain); opacity: .08; pointer-events: none; z-index: 100; mix-blend-mode: overlay; }

.kicker { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--rust); margin-bottom: 6px; }
.draft-note { color: var(--muted); font-style: italic; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.site-header.header-over { position: absolute; inset: 0 0 auto 0; border-bottom: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.brand-mark { width: auto; height: 54px; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--display); text-transform: uppercase; }
.brand-word b { font-weight: 700; font-size: 21px; letter-spacing: .12em; }
.brand-word small { font-weight: 600; font-size: 12px; letter-spacing: .62em; color: var(--frost); opacity: .75; margin-top: 4px; }
.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.site-nav a { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--frost); opacity: .85; transition: opacity .2s, color .2s; }
.site-nav a:hover { opacity: 1; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: -2%; z-index: -3; background: url("assets/keyart-2400.jpg") 50% 30% / cover no-repeat; animation: drift 38s ease-in-out infinite alternate; transform-origin: 40% 60%; }
@media (max-width: 900px) { .hero-art { background-image: url("assets/keyart-1280.jpg"); } }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.07) translate(-1.2%, -1%); } }
.hero-embers { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(180deg, rgba(15,20,24,.7) 0%, rgba(15,20,24,0) 18%),
	radial-gradient(ellipse 120% 70% at 50% 40%, rgba(15,20,24,0) 40%, rgba(15,20,24,.55) 100%),
	linear-gradient(180deg, rgba(15,20,24,0) 45%, rgba(15,20,24,.82) 82%, rgba(15,20,24,.95) 100%); }
.hero-content { width: min(980px, 100%); padding: 0 16px 120px; text-align: center; }
.hero-eyebrow { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .32em; text-transform: uppercase; color: var(--bone); text-shadow: 0 1px 2px #000, 0 0 18px rgba(0,0,0,.9); margin-bottom: 8px; opacity: 0; animation: rise .9s .2s ease-out forwards; }
.hero-logo { width: min(760px, 92%); margin: 0 auto 10px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.65)); opacity: 0; animation: slam .9s .35s cubic-bezier(.2,.9,.3,1.15) forwards; }
.hero-tagline { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); letter-spacing: .34em; text-transform: uppercase; color: var(--bone); text-shadow: 0 1px 2px #000, 0 0 18px rgba(0,0,0,.9); margin-bottom: 26px; opacity: 0; animation: rise .9s .65s ease-out forwards; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; opacity: 0; animation: rise .9s .8s ease-out forwards; }
.badge { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--rust); padding: 9px 22px 8px;
	clip-path: polygon(2% 8%, 30% 0, 62% 6%, 99% 0, 100% 52%, 97% 100%, 58% 94%, 24% 100%, 0 95%, 1% 48%); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.store { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: var(--frost); text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.store-icon { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slam { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }

/* ---------- studio band (torn paper) ---------- */
.studio { position: relative; background: var(--bone); color: var(--bone-ink); margin-top: -40px; z-index: 2; }
.studio::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .35; mix-blend-mode: multiply; pointer-events: none; }
.torn { position: absolute; left: 0; width: 100%; height: 40px; fill: var(--bone); }
.torn-top { bottom: 100%; margin-bottom: -1px; }
.torn-bottom { top: 100%; margin-top: -1px; transform: scale(-1, -1); }
.studio-inner { position: relative; max-width: 900px; margin: 0 auto; padding: 46px 16px 54px; text-align: center; }
.studio .kicker { color: var(--rust-deep); }
.studio-statement { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; margin-bottom: 20px; }
.link-arrow { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--rust); padding-bottom: 2px; }
.link-arrow::after { content: " →"; color: var(--rust); }
.link-arrow-dark { color: var(--bone); }

/* ---------- sword divider ---------- */
.sword-divider { background: var(--night-2); padding: 110px var(--gutter) 10px; }
.sword { position: relative; width: min(1000px, 100%); margin: 0 auto; aspect-ratio: 2400 / 552; }
.sword img { width: 100%; height: 100%; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); }
/* canvas reaches above the blade so rune sparks can rise */
.sword-fx { position: absolute; left: 0; top: -60%; width: 100%; height: 160%; pointer-events: none; }

/* ---------- game ---------- */
.game { background: var(--night-2); padding: 50px var(--gutter) 110px; }
.game-inner { max-width: 1180px; margin: 0 auto; }
.game h2 { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 7vw, 92px); line-height: .95; text-transform: uppercase; color: var(--bone); margin-bottom: 18px; }
.game-lead { max-width: 720px; font-size: clamp(19px, 2vw, 22px); color: var(--bone); line-height: 1.45; margin-bottom: 28px; }
.game-lead strong { color: #fff; }
.showreel { position: relative; max-width: 1080px; margin: 0 0 36px; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.showreel-video { display: block; width: 100%; height: 100%; }
.showreel-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: linear-gradient(180deg, rgba(15,20,24,0) 55%, rgba(15,20,24,.35)); cursor: pointer; }
.showreel-play span { width: 92px; height: 92px; border-radius: 50%; background: var(--rust); box-shadow: 0 10px 30px rgba(0,0,0,.6); position: relative; transition: transform .2s; }
.showreel-play span::after { content: ""; position: absolute; left: 36px; top: 28px; border-left: 28px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.showreel-play:hover span { transform: scale(1.08); }
.showreel.is-playing .showreel-play { display: none; }
.game-features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; max-width: 980px; margin-bottom: 34px; }
.game-features li { border-left: 3px solid var(--rust); padding: 4px 0 4px 16px; color: var(--text); }
@media (max-width: 760px) { .game-features { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-main { width: min(820px, 100%); margin: 0 auto; padding: 70px 16px 90px; }
.page-main h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1; text-transform: uppercase; color: var(--bone); margin-bottom: 24px; }
.page-main h2 { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .04em; color: var(--bone); margin: 34px 0 10px; }
.page-main p, .page-main li { margin-bottom: 12px; }
.page-main ul { padding-left: 22px; }
.legal-meta { color: var(--muted); font-size: 15px; margin-top: -12px; margin-bottom: 28px; }
.page-main a { color: var(--bone); text-decoration-color: var(--rust); text-underline-offset: 3px; }

/* ---------- about ---------- */
.about { width: min(1180px, 100%); margin: 0 auto; padding: 60px var(--gutter) 100px; }
.about-hero { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 70px; }
.about-mark { position: relative; text-align: center; }
.about-mark::before { content: ""; position: absolute; inset: 8% 4% 18%; background: radial-gradient(closest-side, rgba(96, 220, 246, .14), rgba(96, 220, 246, 0)); z-index: -1; }
.about-mark img, .about-mark .studio-mark { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
/* same crop as the about.png fallback (mark bbox in the 1024 canvas), so the swap to the animated SVG is seamless */
.about-mark .studio-mark { aspect-ratio: 871 / 912; flex: none; }
.about-intro h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.5vw, 66px); line-height: 1; text-transform: uppercase; color: var(--bone); margin-bottom: 20px; }
.about-lead { font-size: clamp(20px, 2vw, 24px); color: var(--bone); line-height: 1.4; margin-bottom: 16px; }
.about-intro p { margin-bottom: 12px; }
.about a { color: var(--bone); text-decoration-color: var(--rust); text-underline-offset: 3px; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card { background: var(--night-2); border: 1px solid var(--line); border-top: 3px solid var(--rust); padding: 24px 24px 18px; }
.about-card h2 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); margin-bottom: 10px; }
.about-card p { margin-bottom: 10px; color: var(--text); }
@media (max-width: 860px) {
	.about-hero { grid-template-columns: 1fr; }
	.about-mark { max-width: 320px; margin: 0 auto; }
	.about-grid { grid-template-columns: 1fr; }
}

/* ---------- products ---------- */
.products { width: min(1180px, 100%); margin: 0 auto; padding: 60px var(--gutter) 100px; }
.products h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1; text-transform: uppercase; color: var(--bone); margin-bottom: 16px; }
.products-lead { font-size: clamp(19px, 2vw, 22px); color: var(--bone); margin-bottom: 12px; max-width: 760px; }
.products-note { color: var(--muted); font-size: 15px; max-width: 760px; margin-bottom: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.product { background: var(--night-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-platform { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--rust); margin-bottom: 6px; }
.product h2 { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--bone); margin-bottom: 8px; }
.product-body > p:not(.product-platform):not(.product-price) { color: var(--text); margin-bottom: 14px; }
.product-price { margin-top: auto; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--bone); }

/* ---------- footer ---------- */
.site-footer { background: #0b0f12; border-top: 1px solid var(--line); padding: 54px var(--gutter) 28px; font-size: 15px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-style: normal; color: var(--muted); }
.footer-col h3 { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--frost); margin-bottom: 6px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--bone); }
.footer-copy { max-width: 1180px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: #6a7781; font-size: 14px; }

@media (max-width: 860px) {
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.brand-word b { font-size: 17px; }
	.brand-mark { height: 44px; }
	.site-nav { gap: 14px; }
	.site-nav a { font-size: 15px; }
	.hero-content { padding-bottom: 90px; }
	.sword-divider { padding-top: 80px; }
}
@media (max-width: 480px) {
	.site-header { flex-direction: column; gap: 12px; }
	.footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.hero-art { animation: none; }
	.hero-eyebrow, .hero-logo, .hero-tagline, .hero-meta { animation: none; opacity: 1; }
}
