@font-face {
  font-family: "Open Sans Condensed";
  src: url("assets/open-sans-condensed-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #101512;
  --deep: #0c110e;
  --panel: #171e18;
  --edge: #354136;
  --ivory: #f2edde;
  --subtle: #b8bdb2;
  --sage: #a1ad93;
  --rust: #bd704b;
  --rust-light: #e7a781;
  --display: "Open Sans Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --cut: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

*, *::after, *::before { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 400 1rem/1.6 var(--body); }
body:has(.lightbox[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #f0b28c; outline-offset: 5px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 5;
  padding: .5rem 1rem;
  transform: translateY(-170%);
  background: var(--ivory);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1220px, calc(100% - 7rem)); margin-inline: auto; }
.section-pad { padding-block: clamp(4.1rem, 7vw, 6.75rem); }

.masthead { position: relative; z-index: 2; background: #111713; border-bottom: 1px solid #63735963; }
.masthead-inner { min-height: 4.5rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; }
.brand-icon { flex: 0 0 auto; width: 2.15rem; height: 2.15rem; background: url("assets/icon.svg") center / contain no-repeat; }
.brand-name { font: 700 1.37rem/1 var(--display); letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.brand-name span { color: #d1d5c4; }
.main-nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.9rem); }
.main-nav a, .site-footer nav a { color: var(--subtle); font-size: .875rem; font-weight: 600; transition: color .18s; }
.main-nav a:hover, .site-footer nav a:hover { color: var(--ivory); }

.button {
  --fill: #182019;
  --outline: #68765f;
  display: inline-flex;
  position: relative;
  isolation: isolate;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.2rem;
  padding: .7rem 1.24rem;
  color: var(--ivory);
  font-size: .875rem;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.button::before, .button::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: var(--cut);
  transition: background .18s;
}
.button::before { inset: 0; background: var(--outline); }
.button::after { inset: 1px; background: var(--fill); }
.button-header { --fill: #241c16; --outline: #96573b; min-height: 2.6rem; padding-inline: 1.05rem; color: #f0be9f; }
.button-header:hover { --fill: #41291e; --outline: #cf8a60; }
.button-primary { --fill: #a24c29; --outline: #df9a70; color: #fff8ec; min-width: 9.6rem; }
.button-primary:hover { --fill: #bb6038; --outline: #f3b388; }
.button-secondary:hover { --fill: #262e23; --outline: #9ba88e; }
.button svg { width: 1.14rem; height: 1.14rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); border-bottom: 1px solid #7281656a; }
.hero-art, .hero::after { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: center 54%; }
.hero::after {
  content: "";
  background:
    linear-gradient(90deg, #090e0ce8 0%, #0b100ec4 23%, #0c110e61 47%, transparent 72%),
    linear-gradient(0deg, #0d130fe6, transparent 27%, transparent 80%, #1015123b);
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(35rem, 46vw, 43rem); padding-block: 4.3rem; }
.hero-copy { width: min(100%, 34rem); }
.eyebrow { display: flex; align-items: center; gap: .72rem; color: var(--rust-light); font: 650 .81rem/1.35 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: block; width: 1.6rem; height: 1px; background: currentColor; }
.hero h1 { width: min(100%, 29rem); margin: 1.45rem 0 1.7rem; }
.wordmark { width: 100%; height: auto; filter: brightness(1.12) sepia(.10) drop-shadow(0 5px 12px #080b09af); }
.hero-description { color: #d0d2c6; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; max-width: 26rem; }
.hero-actions { display: flex; gap: .72rem; flex-wrap: wrap; margin-top: 1.62rem; }
.platform-note { margin-top: 1.03rem; color: #bac4af; font-size: .875rem; font-weight: 550; }
.art-caption { position: absolute; right: 0; bottom: 1.25rem; color: #e5dbca; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.experience, .screenshots { position: relative; }
.experience { background: radial-gradient(ellipse at 18% 0%, #262d214d, transparent 58%), var(--ink); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: end; gap: 1.5rem 3.2rem; margin-bottom: 2.15rem; }
h2 { font: 700 clamp(2.6rem, 5.2vw, 4.45rem)/.99 var(--display); text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance; }
.section-intro h2, .release h2 { margin-top: .65rem; }
.section-intro > p, .release p:not(.eyebrow) { color: var(--subtle); font-size: 1.025rem; line-height: 1.65; }
.section-intro > p { padding-bottom: .08rem; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.feature { padding: clamp(1.2rem, 2.2vw, 1.8rem); background: linear-gradient(145deg, #1c251d, #151c17 64%); border: 1px solid var(--edge); border-top-color: #5d6b54; }
.feature-icon { display: grid; place-items: center; position: relative; isolation: isolate; width: 3rem; height: 3rem; margin-bottom: 1.04rem; color: #d4dcc7; }
.feature-icon::before, .feature-icon::after { content: ""; position: absolute; z-index: -1; clip-path: var(--cut); }
.feature-icon::before { inset: 0; background: #69765f; }
.feature-icon::after { inset: 1px; background: #242f23; }
.feature-icon svg { width: 1.63rem; height: 1.63rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font: 700 clamp(1.55rem, 2.25vw, 2.1rem)/1.07 var(--display); text-transform: uppercase; }
.feature p { margin-top: .55rem; color: var(--subtle); }

.screenshots {
  background: #0e1410;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.gallery { width: min(100%, 65rem); margin-inline: auto; }
.gallery-stage { background: #19211a; border: 1px solid #607159; }
.gallery-image-link { display: block; position: relative; }
.gallery-image-link > img { aspect-ratio: 20 / 9; width: 100%; height: auto; object-fit: contain; background: #101512; }
.expand-icon { position: absolute; right: .85rem; top: .85rem; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border: 1px solid #839078; background: #121912e8; color: var(--ivory); }
.gallery-image-link:hover .expand-icon { background: #293426; }
.expand-icon svg, .gallery-controls svg, .lightbox-close svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery-caption { min-height: 4.85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-top: 1px solid var(--edge); }
.gallery-caption-copy { display: grid; gap: .2rem; }
.gallery-caption-copy strong { font-size: 1rem; line-height: 1.25; }
.gallery-caption-copy > span { color: var(--subtle); font-size: .875rem; line-height: 1.45; }
.gallery-controls { display: flex; gap: .62rem; align-items: center; flex: 0 0 auto; }
.gallery-controls button, .lightbox-close { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; background: #252f25; border: 1px solid #52634f; }
.gallery-controls button:hover, .lightbox-close:hover { background: #374836; }
#screenshot-count { color: var(--sage); font-size: .8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gallery-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.thumbnail { position: relative; display: grid; min-width: 0; background: var(--panel); border: 1px solid #3d4b3d; }
.thumbnail img { width: 100%; height: auto; aspect-ratio: 20 / 9; object-fit: cover; opacity: .68; transition: opacity .2s; }
.thumbnail span { display: block; padding: .6rem .75rem; font-size: .875rem; font-weight: 600; color: var(--subtle); }
.thumbnail[aria-current], .thumbnail:hover { border-color: #c88862; }
.thumbnail[aria-current] img, .thumbnail:hover img { opacity: 1; }
.thumbnail[aria-current] span, .thumbnail:hover span { color: var(--ivory); }
.thumbnail[aria-current] span { background: #35251e; }
.lightbox { padding: 0; width: min(90vw, 88rem); max-width: none; max-height: 95dvh; color: var(--ivory); background: var(--panel); border: 1px solid #74846a; }
.lightbox::backdrop { background: #070b09e8; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; padding: .45rem .6rem .45rem 1rem; border-bottom: 1px solid var(--edge); gap: 1rem; }
.lightbox img { width: 100%; max-height: calc(95dvh - 4rem); object-fit: contain; }

.release {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 87% 50%, #4a2c1d4c, transparent 48%),
    repeating-linear-gradient(134deg, transparent 0 21px, #a9ba9c0a 22px 23px, transparent 24px 28px),
    #171e18;
}
.release-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); align-items: center; gap: 1.75rem 3.5rem; }
.release h2 { text-wrap: auto; }
.release p:not(.eyebrow) { margin-top: .9rem; }
.stores { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.store-card { display: flex; align-items: center; gap: .95rem; padding: .92rem 1rem; min-height: 4.55rem; border: 1px solid #52624f; background: #101712ed; }
.store-card > div { display: grid; gap: .1rem; }
.store-icon { flex: 0 0 auto; width: 2rem; height: 2rem; }
.store-status { color: var(--sage); font-size: .8125rem; font-weight: 600; line-height: 1.2; }
.store-card strong { font-size: 1.15rem; line-height: 1.25; }
.store-link { margin-left: auto; color: var(--rust-light); text-decoration: underline; text-underline-offset: .2em; font-size: .875rem; }
.store-live { border-color: var(--rust); }
.site-footer { background: var(--deep); border-top: 1px solid var(--edge); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; min-height: 5.7rem; padding-block: 1rem; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 4rem); }
  .hero-inner { min-height: 35rem; }
  .hero-art { object-position: 56% 55%; }
  .section-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 1rem 2rem; }
  .release-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 1.5rem; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2.5rem); }
  .masthead-inner { grid-template-columns: 1fr auto; gap: .6rem; min-height: 4rem; }
  .masthead .main-nav { display: none; }
  .hero-inner { align-items: end; min-height: clamp(36rem, 105vw, 43rem); padding-block: 9rem 3.3rem; }
  .hero-art { object-position: 68% 30%; }
  .hero::after {
    background:
      linear-gradient(0deg, #0b100ef9 0%, #0c110eea 18%, #0c110eb5 40%, #0b100e40 70%, #0b100e12 100%),
      linear-gradient(90deg, #0a0e0c52, transparent);
  }
  .hero-copy { max-width: 28rem; }
  .hero h1 { width: min(100%, 24rem); margin-block: 1.12rem 1.32rem; }
  .hero-description { max-width: 23rem; }
  .hero-actions { gap: .56rem; margin-top: 1.35rem; }
  .button { padding-inline: .9rem; }
  .button-primary { min-width: 0; }
  .art-caption { bottom: .82rem; }
  .section-intro, .release-inner { grid-template-columns: 1fr; gap: .9rem; }
  .section-intro { margin-bottom: 1.45rem; }
  .section-intro > p { max-width: 33rem; }
  .features { grid-template-columns: 1fr; gap: .65rem; }
  .feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .feature p { margin-top: .4rem; }
  .gallery-picker { gap: .38rem; margin-top: .42rem; }
  .thumbnail span { padding: .48rem .4rem; line-height: 1.22; }
  .gallery-caption { padding: .7rem .6rem; gap: .5rem; }
  .gallery-controls { gap: .28rem; }
  .gallery-controls button { width: 2.5rem; }
  .expand-icon { right: .45rem; top: .45rem; }
  .release h2 { text-wrap: balance; }
  .footer-inner { flex-wrap: wrap; }
  .site-footer nav { gap: 1.15rem; flex-wrap: wrap; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 1.6rem); }
  .button { font-size: .8rem; padding-inline: .68rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-icon { width: 1.8rem; height: 1.8rem; }
  .hero-inner { min-height: 33rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.masthead-actions { display: flex; justify-content: end; align-items: center; gap: .65rem; }
.language-select { position: relative; flex: 0 0 auto; }
.language-select summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.7rem;
  padding: .45rem .62rem;
  list-style: none;
  color: var(--ivory);
  background: #19221a;
  border: 1px solid #657460;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 700;
}
.language-select summary::-webkit-details-marker { display: none; }
.language-select summary:hover, .language-select[open] summary { background: #2a3729; }
.language-select summary svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.language-options {
  position: absolute;
  top: calc(100% + .35rem);
  right: 0;
  z-index: 3;
  display: grid;
  min-width: 10rem;
  padding: .3rem;
  background: #172019;
  border: 1px solid #657460;
  box-shadow: 0 .8rem 1.8rem #0006;
}
.language-options a { padding: .48rem .72rem; color: var(--subtle); font-size: .94rem; }
.language-options a:hover, .language-options a[aria-current] { color: var(--ivory); background: #303c2e; }
.site-footer .footer-links { flex-wrap: wrap; gap: .7rem 1.45rem; }
.footer-credit { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem 1.55rem; border-top: 1px solid var(--edge); color: var(--subtle); font-size: .875rem; }
.developer-credit { display: inline-flex; align-items: center; gap: .68rem; }
.developer-credit img, .legal-contact img { flex: 0 0 auto; }
.developer-credit strong { color: var(--ivory); }
.developer-credit:hover strong { color: var(--rust-light); }

.legal-page {
  background: radial-gradient(ellipse at 22% 0%, #2b352848, transparent 44%), var(--ink);
  padding-block: clamp(2.5rem, 7vw, 5.75rem);
}
.legal-wrap { max-width: 56rem; }
.legal-breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--sage); font-size: .875rem; }
.legal-breadcrumb a { color: var(--ivory); }
.legal-breadcrumb a:hover { text-decoration: underline; }
.legal-heading { margin: 1.35rem 0 1.65rem; }
.legal-heading h1 { font: 700 clamp(2.8rem, 7vw, 5.25rem)/1 var(--display); text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.legal-heading p { margin-top: .85rem; color: var(--subtle); max-width: 44rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.legal-nav .button { min-height: 2.7rem; white-space: normal; }
.legal-nav a[aria-current] { --fill: #30241d; --outline: #bd815f; }
.legal-content, .legal-contact { padding: clamp(1.15rem, 3.65vw, 2.3rem); background: var(--panel); border: 1px solid var(--edge); border-top-color: #607159; }
.legal-content section + section { margin-top: 1.65rem; padding-top: 1.5rem; border-top: 1px solid var(--edge); }
.legal-content h2, .legal-contact h2 { letter-spacing: normal; font: 700 clamp(1.5rem, 3.2vw, 2rem)/1.15 var(--display); text-transform: none; }
.legal-content section > p, .legal-contact p { color: var(--subtle); margin-top: .47rem; }
.legal-notice { padding: .86rem 1rem; margin-bottom: 1.5rem; color: #f3d4bf; background: #35251e; border-inline-start: 3px solid var(--rust); }
.legal-date { color: var(--sage); margin-bottom: 1.25rem; font-size: .9rem; }
.legal-contact { display: flex; align-items: center; gap: .95rem; margin-top: 1rem; overflow-wrap: anywhere; }
.legal-contact a { color: var(--rust-light); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 950px) {
  .masthead-inner { gap: 1rem; }
  .main-nav { gap: 1.15rem; }
}
@media (max-width: 740px) {
  .masthead-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .masthead .main-nav { display: none; }
}
@media (max-width: 540px) {
  .masthead-actions { gap: .42rem; }
  .masthead-actions .button-header { display: none; }
  .footer-inner { align-items: flex-start; }
  .footer-credit { flex-wrap: wrap; }
  .store-card.store-live { flex-wrap: wrap; }
  .store-card.store-live .store-link { margin-left: 2.95rem; }
}
