@font-face {
  font-family: "Asterisk Square";
  src: url("/assets/fonts/asterisk/Square.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Asterisk Freesentation";
  src: url("/assets/fonts/asterisk/Freesentation-5Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
.asterisk-site {
  --studio-bg: #090f13;
  --studio-panel: #101a1f;
  --studio-text: #edf1ed;
  --studio-muted: #9baeb4;
  --studio-accent: #00d4ed;
  --studio-font: "Asterisk Freesentation", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--studio-bg);
  font-family: var(--studio-font);
  font-weight: 500;
}
.asterisk-site [hidden] { display: none !important; }
.asterisk-site [id] { scroll-margin-top: 110px; }
.asterisk-site #overview { scroll-margin-top: 88px; }
.ark-container { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.ark-pixel { font-family: "Asterisk Square", monospace; font-weight: 400; letter-spacing: .8px; }
.ark-product-bar { border-bottom: 1px solid #26363d; background: #0d171c; }
.ark-product-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 64px; }
.ark-product-inner > a img { display: block; width: 116px; height: auto; }
.ark-product-inner nav { display: flex; gap: 30px; font-size: 13px; color: #acbcc0; margin-right: auto; }
.ark-product-inner nav a { padding-block: 15px; }
.ark-product-inner nav a:hover { color: #00d4ed; }
.ark-build-status { font-size: 10px; display: flex; gap: 8px; align-items: center; color: #c9ec46; white-space: nowrap; }
.ark-build-status i, .ark-signal { width: 6px; height: 6px; display: inline-block; background: currentColor; }

.ark-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(860px, calc(100svh - 88px)); padding-block: 100px; overflow: hidden; background: #071116; }
.ark-hero-copy { width: min(540px, 48%); }
.ark-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071116f5 0%, #071116e8 24%, #0711169c 48%, #07111612 80%), linear-gradient(0deg, #071116aa, transparent 40%); }
.studio-site .ark-kicker { font-family: "Asterisk Square", monospace; font-size: 11px; line-height: 1.9; color: #00d4ed; letter-spacing: 1.1px; }
.ark-hero-copy h1 { margin: 18px 0 28px; }
.ark-hero-copy h1 img { width: 100%; max-width: 400px; height: auto; }
.studio-site .ark-hero-copy h2 { font-size: clamp(30px, 2.65vw, 41px); line-height: 1.4; letter-spacing: -1.2px; font-weight: 500; word-break: keep-all; }
.studio-site .ark-intro { color: #a2b3ba; font-size: 15px; line-height: 1.9; margin: 22px 0 28px; word-break: keep-all; }
.ark-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.ark-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 48px; padding: 12px 20px; background: #c9ec46; color: #11190a !important; font-size: 14px; transition: background .2s; }
.ark-button:hover { background: #def78b; }
.ark-button span { font-size: 20px; }
.ark-secondary-link { display: inline-flex; align-items: center; gap: 22px; color: #d6e0e3 !important; font-size: 13px; border-bottom: 1px solid #657e87; padding-bottom: 6px; }
.ark-secondary-link:hover { color: #00d4ed !important; }
.ark-hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; min-width: 0; }
.ark-hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; image-rendering: pixelated; }
.ark-media-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #101d24; padding: 14px 16px; border: 1px solid #29424b; color: #a7c1c9; font-size: 9px; }
.ark-media-bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ark-signal { color: #00d4ed; }
.ark-preview-wrap { position: relative; border: 1px solid #29424b; border-top: 0; background: #040a0e; }
.ark-preview-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 1928 / 1072; object-fit: contain; image-rendering: pixelated; }
.ark-preview-toggle { position: absolute; right: max(32px, calc((100% - 1320px) / 2)); bottom: 24px; border: 1px solid #7a9aa5; background: #081218ed; color: #e3ecef; padding: 9px 12px; font: 500 11px var(--studio-font); cursor: pointer; min-height: 40px; }
.ark-preview-toggle:hover { border-color: #00d4ed; }
.ark-hero-media figcaption { position: absolute; left: max(56px, calc((100% - 1320px) / 2)); bottom: 34px; margin: 0; font-size: 9px; color: #b6cbd2; }
.ark-hero-media figcaption .ark-pixel { font-size: 8px; }
.ark-facts-wrap { border-block: 1px solid #26363d; background: #0d171c; }
.ark-facts { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 24px; padding-block: 27px; margin-block: 0; }
.ark-facts dt { font-size: 9px; color: #79939d; margin-bottom: 9px; }
.ark-facts dd { margin: 0; font-size: 13px; color: #e3eaec; }
.ark-status-mark { display: inline-block; width: 5px; height: 5px; background: #c9ec46; margin-right: 7px; vertical-align: middle; }

.ark-section { padding-block: 96px; }
.ark-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 38px; }
.ark-section-heading .ark-kicker { margin-bottom: 24px; }
.studio-site .ark-section-heading h2 { font-size: 33px; line-height: 1.6; font-weight: 500; letter-spacing: -.8px; word-break: keep-all; }
.studio-site .ark-section-heading h2 .ark-pixel { font-size: clamp(54px, 6vw, 84px); line-height: 1.4; color: #edf1ed; }
.studio-site .ark-section-heading > p { font-size: 14px; color: #9baeb4; line-height: 1.9; margin-bottom: 10px; word-break: keep-all; }
.ark-full-gameplay { margin: 0; }
.ark-full-gameplay video { display: block; width: 100%; aspect-ratio: 1928 / 1072; background: #03080b; border: 1px solid #334b54; image-rendering: pixelated; }
.ark-full-gameplay figcaption { display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: #8ca1aa; padding-block: 17px; border-bottom: 1px solid #26363d; }
.ark-full-gameplay figcaption .ark-pixel { color: #00d4ed; font-size: 10px; }
.ark-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.studio-site .ark-gallery-note { color: #8ca1aa; font-size: 12px; margin-top: 22px; }
.ark-gallery-item { display: block; min-width: 0; }
.ark-gallery-item img { display: block; width: 100%; aspect-ratio: 1928 / 1072; object-fit: contain; border: 1px solid #29424b; image-rendering: pixelated; transition: border-color .2s; }
.ark-gallery-item:hover img { border-color: #00d4ed; }
.ark-gallery-item > span { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 10px; color: #a1b6bf; }
.ark-gallery-item small { font-size: 9px; }

.ark-world { background: #102029; border-block: 1px solid #2a414b; }
.ark-world-grid { display: grid; grid-template-columns: .85fr 1.3fr; align-items: center; gap: 80px; padding-block: 80px; }
.studio-site .ark-world h2, .studio-site .ark-character h2 { font-size: clamp(31px, 3.2vw, 46px); line-height: 1.5; font-weight: 500; letter-spacing: -1px; margin: 22px 0 24px; word-break: keep-all; }
.ark-world h2 span { color: #9aacb0; }
.studio-site .ark-world p:not(.ark-kicker), .studio-site .ark-character p:not(.ark-kicker) { color: #a4b8c0; font-size: 15px; line-height: 2; margin-bottom: 28px; word-break: keep-all; }
.ark-map { margin: 0; background: #050d12; border: 1px solid #38505b; padding: 10px; }
.ark-map a { display: block; }
.ark-map img { width: 100%; height: auto; }
.ark-map figcaption { font-size: 9px; color: #89a6b2; padding: 12px 5px 3px; }
.ark-character { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.ark-character-art { margin: 0; background: #171c1d; border: 1px solid #293a40; position: relative; height: 620px; overflow: hidden; }
.ark-character-art img { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); width: auto; max-width: none; height: 680px; object-fit: contain; }
.ark-character-art figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 20px; font-size: 9px; color: #a0b5b9; background: #0e171ded; border-top: 1px solid #293a40; }
.ark-updates { padding-block: 80px; text-align: center; border-top: 1px solid #26363d; background: #0d171c; }
.studio-site .ark-updates h2 { font-size: clamp(31px, 3.5vw, 48px); line-height: 1.5; font-weight: 500; letter-spacing: -1px; margin: 24px 0 20px; }
.studio-site .ark-updates p:not(.ark-kicker) { font-size: 15px; color: #9baeb4; margin-bottom: 30px; line-height: 1.9; }
.ark-updates .ark-actions { justify-content: center; }
.ark-end-mark { display: block; color: #607a84; font-size: 9px; margin-top: 52px; }

.ark-lightbox { color: #e2edef; background: #0c171e; border: 1px solid #54717d; padding: 18px; width: min(1400px, calc(100vw - 40px)); max-width: none; max-height: calc(100svh - 40px); }
.ark-lightbox::backdrop { background: #020709e8; }
.ark-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.studio-site .ark-lightbox-bar p { font-size: 14px; }
.ark-lightbox-close { background: transparent; color: #dbe8eb; border: 1px solid #54717d; padding: 10px 16px; font: 500 13px var(--studio-font); white-space: nowrap; cursor: pointer; }
.ark-lightbox img { width: auto; max-width: 100%; max-height: calc(100svh - 150px); margin: auto; object-fit: contain; }

/* The home teaser uses the original logo and a real gameplay capture. */
.asterisk-teaser-section { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(860px, calc(100svh - 88px)); background: #0c151b; border-block: 1px solid #28434b; font-family: "Asterisk Freesentation", sans-serif; }
.asterisk-teaser { position: relative; padding-block: 100px; pointer-events: none; }
.asterisk-teaser > div { width: min(540px, 48%); pointer-events: auto; }
.asterisk-teaser-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #071116f5 0%, #071116e8 24%, #0711169c 48%, #07111612 80%), linear-gradient(0deg, #071116aa, transparent 40%); }
.studio-site .asterisk-teaser .ark-kicker { color: #00d4ed; }
.asterisk-teaser-brand { display: block; width: fit-content; max-width: 100%; margin: 18px 0 20px; }
.asterisk-teaser-logo { width: min(390px, 100%); height: auto; margin: 0; }
.studio-site .asterisk-teaser h2 { font-family: "Asterisk Freesentation", sans-serif; font-size: clamp(32px, 3.3vw, 48px); line-height: 1.5; font-weight: 500; letter-spacing: -1px; }
.studio-site .asterisk-teaser p:not(.ark-kicker) { margin: 16px 0 26px; color: #a8bdc4; font-size: 14px; line-height: 1.8; }
.asterisk-teaser .ark-secondary-link { font-family: "Asterisk Freesentation", sans-serif; }
.asterisk-teaser-image { position: absolute; inset: 0; z-index: -2; display: block; }
.asterisk-teaser-image:focus-visible { outline-offset: -8px; }
.asterisk-teaser-image img, .asterisk-teaser-image video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; image-rendering: pixelated; }
.asterisk-background-toggle { position: absolute; right: max(28px, calc((100% - 1280px) / 2)); bottom: 24px; min-height: 40px; padding: 9px 14px; border: 1px solid #527782; background: #081218e8; color: #e3ecef; font: 500 12px "Asterisk Freesentation", sans-serif; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.asterisk-background-toggle:hover { border-color: #00d4ed; background: #10232b; }
.asterisk-background-toggle[hidden] { display: none; }
.ark-gallery-item { transition: transform .35s var(--studio-ease); }
.ark-product-inner nav a, .ark-preview-toggle, .ark-lightbox-close { transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
.ark-lightbox[open] { animation: ark-lightbox-enter .3s var(--studio-ease); }
.ark-lightbox[open]::backdrop { animation: ark-backdrop-enter .25s ease; }
.ark-lightbox[open].is-closing::backdrop { animation: ark-backdrop-enter .18s ease-in reverse forwards; }
@keyframes ark-lightbox-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes ark-backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .ark-gallery-item:hover { transform: translateY(-3px); }
}

@media (max-width: 1100px) {
  .ark-container { width: calc(100% - 64px); }
  .ark-hero { padding-block: 88px; }
  .ark-hero-copy { width: 53%; }
  .studio-site .ark-hero-copy h2 { font-size: 30px; }
  .studio-site .ark-intro { font-size: 13px; }
  .ark-hero-media figcaption { flex-direction: column; gap: 6px; }
  .ark-hero-copy .ark-actions { gap: 20px; }
  .ark-section-heading { gap: 30px; }
  .ark-world-grid { gap: 40px; }
  .ark-character { gap: 55px; }
  .ark-product-inner nav { gap: 24px; }
}
@media (max-width: 760px) {
  .ark-container { width: calc(100% - 40px); }
  .ark-product-inner { min-height: 58px; gap: 20px; }
  .ark-product-inner > a img { width: 96px; }
  .ark-product-inner nav { gap: 18px; margin-right: 0; margin-left: auto; font-size: 12px; }
  .ark-build-status { display: none; }
  .ark-hero { min-height: 0; padding-block: 320px 56px; }
  .ark-hero-copy { width: 100%; }
  .ark-hero-media { bottom: auto; height: 410px; }
  .ark-hero-shade { background: linear-gradient(0deg, #071116 0%, #071116 42%, #071116dd 56%, #07111600 83%); }
  .ark-hero-copy h1 { margin-block: 15px 22px; }
  .ark-hero-copy h1 img { max-width: 360px; }
  .studio-site .ark-hero-copy h2 { font-size: 31px; }
  .studio-site .ark-intro { font-size: 14px; margin-block: 18px 24px; }
  .ark-hero-copy .ark-kicker br { display: none; }
  .ark-hero-copy .ark-kicker { font-size: 9px; }
  .ark-button { font-size: 13px; padding-inline: 18px; gap: 24px; }
  .ark-secondary-link { font-size: 12px; gap: 16px; }
  .ark-hero-media figcaption { left: 20px; top: 20px; bottom: auto; max-width: 150px; font-size: 8px; line-height: 1.8; }
  .ark-hero-media figcaption .ark-pixel { font-size: 7px; }
  .ark-media-bar { padding: 11px; font-size: 7px; }
  .ark-preview-toggle { top: 16px; right: 20px; bottom: auto; padding: 7px 10px; font-size: 10px; min-height: 40px; }
  .ark-facts { grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 25px; }
  .ark-facts dt { font-size: 8px; }
  .ark-facts dd { font-size: 12px; }
  .ark-section { padding-block: 60px; }
  .ark-section-heading { display: block; margin-bottom: 28px; }
  .ark-section-heading .ark-kicker { font-size: 9px; margin-bottom: 16px; }
  .studio-site .ark-section-heading h2 { font-size: 25px; line-height: 1.6; }
  .studio-site .ark-section-heading h2 .ark-pixel { font-size: 49px; }
  .studio-site .ark-section-heading > p { font-size: 13px; margin-top: 20px; }
  .ark-full-gameplay figcaption { flex-direction: column; gap: 7px; font-size: 11px; }
  .ark-full-gameplay figcaption .ark-pixel { font-size: 9px; }
  .ark-gallery { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
  .ark-gallery-item > span { font-size: 11px; margin-top: 10px; }
  .ark-world-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; }
  .studio-site .ark-world h2, .studio-site .ark-character h2 { font-size: 32px; margin-block: 18px 20px; }
  .studio-site .ark-world p:not(.ark-kicker), .studio-site .ark-character p:not(.ark-kicker) { font-size: 14px; }
  .ark-character { grid-template-columns: 1fr; gap: 32px; }
  .ark-character-art { height: 500px; order: 2; }
  .ark-character-art img { height: 560px; }
  .ark-updates { padding-block: 60px; }
  .studio-site .ark-updates h2 { font-size: 32px; }
  .studio-site .ark-updates p:not(.ark-kicker) { font-size: 14px; }
  .ark-updates .ark-actions { flex-direction: column; gap: 22px; }
  .ark-lightbox { padding: 12px; width: calc(100vw - 24px); max-height: calc(100svh - 24px); }
  .studio-site .ark-lightbox-bar p { font-size: 11px; }
  .ark-lightbox-close { font-size: 12px; padding: 9px 12px; }
  .ark-lightbox img { max-height: calc(100svh - 125px); }
  .asterisk-teaser-section { min-height: 0; padding-top: 280px; }
  .asterisk-teaser-image { bottom: auto; height: 360px; }
  .asterisk-background-toggle { top: 16px; right: 16px; bottom: auto; font-size: 11px; }
  .asterisk-teaser-shade { bottom: auto; height: 362px; background: linear-gradient(0deg, #0c151b 0%, #0c151b90 25%, #0c151b00 65%); }
  .asterisk-teaser { padding-block: 32px 56px; }
  .asterisk-teaser > div { width: 100%; }
  .asterisk-teaser-logo { width: 280px; }
  .studio-site .asterisk-teaser h2 { font-size: 28px; }
}
@media (max-width: 700px) {
  .asterisk-site #overview { scroll-margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .asterisk-site *, .asterisk-site *::before, .asterisk-site *::after { transition: none !important; animation: none !important; }
  .ark-lightbox::backdrop { animation: none !important; }
}
