@font-face {
  font-family: "Infinity Sans";
  src: url("/assets/fonts/NunitoSans-Variable.ttf") format("truetype");
  font-display: swap;
  font-weight: 200 900;
}

:root {
  --ink: #22262c;
  --muted: #5f6670;
  --line: #dfe4e8;
  --soft: #f5f7f8;
  --blue: #2e9fe6;
  --blue-dark: #1475ad;
  --purple: #74358d;
  --pink: #e94f8f;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Infinity Sans", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: inherit; }
p { margin: 0 0 1.2rem; }
h1, h2, h3 { margin: 0; line-height: 1.13; letter-spacing: -0.025em; }
h1 { font-size: clamp(3rem, 6.5vw, 5.4rem); font-weight: 380; }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.65rem); font-weight: 520; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 750; }

.skip-link { position: fixed; z-index: 1000; top: .7rem; left: .7rem; padding: .55rem .9rem; color: #fff; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-shell { width: min(calc(100% - 2rem), var(--max)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand-link img { width: 205px; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { padding: .35rem 0; color: #343941; border-bottom: 2px solid transparent; font-size: .82rem; font-weight: 750; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--blue-dark); border-color: var(--blue); }
.nav-toggle { display: none; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: .4rem; color: var(--ink); background: #fff; font: inherit; font-weight: 750; }

.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero::before { content: none; }
.hero-grid { width: min(calc(100% - 2rem), var(--max)); min-height: auto; margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 1fr; gap: 3.25rem; text-align: center; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 980px; margin: 0 auto; color: var(--ink); }
.hero h1 span { color: var(--ink); }
.hero-copy > p { max-width: 700px; margin: 1.35rem auto 1.8rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.eyebrow, .kicker { margin: 0 0 .85rem; color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: block; }
.eyebrow::before { content: none; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.button { display: inline-flex; min-height: 46px; padding: .7rem 1.15rem; align-items: center; justify-content: center; border: 1px solid var(--blue); border-radius: .42rem; color: #fff; background: var(--blue); font-size: .92rem; font-weight: 750; line-height: 1.2; text-decoration: none; transition: background 140ms ease, border-color 140ms ease; }
.button:hover, .button:focus-visible { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { color: var(--blue-dark); background: #fff; border-color: #9bcfed; }
.button.secondary:hover, .button.secondary:focus-visible { color: #fff; background: var(--blue-dark); }
.button.dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.hero-art { display: grid; grid-template-columns: 1.35fr .9fr; gap: 1rem; min-height: 0; }
.hero-card { position: static; overflow: hidden; border: 0; border-radius: .8rem; box-shadow: none; transform: none !important; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.main { aspect-ratio: 16 / 8.2; }
.hero-card.small { width: auto; aspect-ratio: auto; }
.ticker { display: none; }

.section { padding: clamp(4rem, 8vw, 7rem) 1rem; }
.section-shell { width: min(100%, var(--max)); margin: 0 auto; }
.section-intro { max-width: 750px; margin: 0 auto clamp(2.25rem, 5vw, 4rem); text-align: center; }
.section-intro p { max-width: 680px; margin: 1rem auto 0; color: var(--muted); }
.games-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; align-items: stretch; }
.game-card { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: .7rem; box-shadow: none; }
.game-card.absurd, .game-card.bin-it, .game-card.brom { color: var(--ink); background: #fff; }
.game-visual { order: -1; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #edf0f2; }
.game-visual img { width: 100%; height: 100%; object-fit: cover; transition: none; }
.game-card.brom .game-visual img { object-position: left center; }
.game-card:hover .game-visual img { transform: none; }
.game-copy { padding: 1.55rem; display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.game-copy h3 { font-size: 1.8rem; }
.game-copy p { margin: .75rem 0 1.2rem; color: var(--muted); font-size: .98rem; }
.game-copy .button { margin-top: auto; }
.game-status { display: inline-block; margin-bottom: .65rem; padding: 0; border: 0; border-radius: 0; color: var(--purple); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.values { color: var(--ink); background: var(--soft); border-block: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.values h2 span { color: var(--ink); }
.value-list { display: grid; border-top: 1px solid var(--line); }
.value-item { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.value-number { color: var(--pink); font-size: .85rem; font-weight: 850; }
.value-item h3 { font-size: 1.25rem; }
.value-item p { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }
.contact-card { padding: clamp(2rem, 5vw, 4rem); color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: .7rem; box-shadow: none; }
.contact-card::after { content: none; }
.contact-card p { max-width: 680px; margin: 1rem 0 1.5rem; color: var(--muted); }

.site-footer { position: relative; padding: 3.25rem 1rem 1.6rem; color: var(--ink); background: #f5f1e8; border-top: 1px solid #ddd5c7; font-size: .9rem; }
.site-footer::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--purple) 25% 50%, var(--pink) 50% 75%, #f0c83d 75% 100%); }
.footer-shell { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 1.6fr) minmax(150px, .55fr) minmax(150px, .55fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.footer-brand img { width: 190px; }
.footer-brand p { max-width: 430px; margin: 1rem 0 0; color: #555b63; }
.footer-column { display: grid; gap: .45rem; align-content: start; }
.footer-column strong { margin-bottom: .25rem; color: #6a466f; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { width: fit-content; color: #343941; text-decoration-color: #c2b9aa; text-underline-offset: .18em; }
.footer-column a:hover, .footer-column a:focus-visible { color: var(--blue-dark); text-decoration-color: var(--blue); }
.footer-legal { width: min(100%, var(--max)); margin: 2.4rem auto 0; padding-top: 1.1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .45rem 1.5rem; border-top: 1px solid #d8d0c2; color: #6b7077; font-size: .8rem; }
.footer-legal a { color: inherit; }

.page-hero, .page-hero.absurd-theme, .page-hero.bin-theme, .page-hero.brom-theme, .page-hero.fromerge-theme { padding: clamp(4rem, 8vw, 7rem) 1rem; color: var(--ink); background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero-shell { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 5.5rem); }
.page-hero p, .page-hero.bin-theme p { max-width: 640px; margin: 1.2rem 0 1.6rem; color: var(--muted); font-size: 1.1rem; }
.page-hero .button-row { justify-content: flex-start; }
.page-hero-image { overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: .7rem; box-shadow: none !important; transform: none; background: #fff; }
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.fact-strip { color: var(--ink); background: #fff !important; border-bottom: 1px solid var(--line); }
.facts { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 1.25rem; border-left: 1px solid var(--line); }
.fact:last-child { border-right: 1px solid var(--line); }
.fact strong { display: block; font-size: 1rem; font-weight: 800; }
.fact span { color: var(--muted); font-size: .82rem; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.prose { max-width: 790px; }
.prose h2 { margin-top: 2.8rem; font-size: clamp(2rem, 4vw, 3rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; font-size: 1.4rem; }
.prose p, .prose li { color: #414851; }
.prose a { color: var(--blue-dark); font-weight: 700; }
.prose ul { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.policy-meta { margin-bottom: 2rem; padding: .9rem 1rem; border-left: 4px solid var(--blue); background: #eef8fd; }
.policy-meta p { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { min-height: 190px; padding: 1.4rem; border: 1px solid var(--line); border-radius: .55rem; background: #fff; }
.feature strong { display: block; margin-bottom: .5rem; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature:nth-child(2) { transform: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.phone-shot { overflow: hidden; margin: 0; border: 1px solid #cfd5d9; border-radius: 1rem; background: #000; box-shadow: none; }
.phone-shot img { width: 100%; height: auto; }
.gallery .phone-shot:nth-child(2) { transform: none; box-shadow: none; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.privacy-card { padding: 1.8rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; text-decoration: none; }
.privacy-card:hover, .privacy-card:focus-visible { border-color: #8bc8ed; transform: none; box-shadow: none; }
.privacy-card .status { color: var(--purple); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.privacy-card h2 { margin: .45rem 0 .6rem; font-size: 2rem; }
.privacy-card p { margin: 0; color: var(--muted); }
.support-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.support-option { padding: 1.8rem; border: 1px solid var(--line); border-radius: .6rem; background: #fff; }
.support-option h2 { font-size: 2rem; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 1rem; left: 1rem; padding: .8rem; display: none; flex-direction: column; align-items: stretch; gap: .2rem; background: #fff; border: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem; text-align: center; }
  .hero-art { grid-template-columns: 1fr; }
  .hero-card.small { display: none; }
  .games-stack { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .game-card { display: grid; grid-template-columns: 1fr 1.05fr; }
  .game-visual { aspect-ratio: auto; }
  .values-grid, .split, .page-hero-shell { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-shell { min-height: 68px; }
  .brand-link img { width: 160px; }
  .hero-grid { padding: 3.75rem 0 3rem; gap: 2rem; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 3.6rem); }
  .hero-art { display: block; }
  .hero-card.main { aspect-ratio: 16 / 10; }
  .game-card { display: flex; }
  .game-visual { aspect-ratio: 16 / 9; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .feature-grid, .gallery, .privacy-grid, .support-options { grid-template-columns: 1fr; }
  .gallery { max-width: 380px; margin-inline: auto; }
  .footer-shell { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 420px) {
  .footer-shell { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-brand { grid-column: auto; }
}

/* Homepage: a simple studio shell with each game retaining its own world. */
.studio-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.studio-hero::after {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -24rem;
  bottom: -30rem;
  border: 9px solid rgba(46,159,230,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(233,79,143,.08), 0 0 0 27px rgba(116,53,141,.06);
  pointer-events: none;
}
.studio-hero-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  min-height: 760px;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.5rem) 0 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
}
.studio-label { margin: 0 0 1rem; color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.studio-heading h1 { font-size: clamp(5rem, 11vw, 10rem); font-weight: 260; line-height: .78; letter-spacing: -.065em; }
.studio-heading h1 span { color: var(--blue-dark); font-weight: 620; }
.studio-intro { max-width: 520px; padding-top: 2rem; }
.studio-tagline { color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 650; line-height: 1.18; letter-spacing: -.025em; }
.studio-intro > p:not(.studio-tagline) { color: var(--muted); }
.text-link, .world-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--blue-dark); font-weight: 800; text-underline-offset: .28em; }
.colour-threads { width: 100%; max-width: 430px; margin-top: 3.5rem; display: grid; grid-template-columns: 2fr 1.2fr .8fr .45fr; gap: 5px; }
.colour-threads i { height: 5px; background: var(--blue); border-radius: 99px; }
.colour-threads i:nth-child(2) { background: var(--pink); }
.colour-threads i:nth-child(3) { background: #f0c928; }
.colour-threads i:nth-child(4) { background: var(--purple); }
.studio-peeks {
  grid-column: 1 / -1;
  align-self: end;
  height: 250px;
  margin-top: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.studio-peek {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: #171823;
  text-decoration: none;
}
.studio-peek + .studio-peek { border-left: 5px solid #fff; }
.studio-peek img { width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.studio-peek:hover img, .studio-peek:focus-visible img { transform: scale(1.025); }
.studio-peek > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.6rem 1.4rem .9rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.studio-peek strong { font-size: .95rem; }
.studio-peek small { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; opacity: .82; }
.peek-bin img { object-position: center 42%; }
.peek-brom img { object-position: left center; }
.peek-fromerge img { object-position: center; }
.game-world { padding: clamp(4rem, 8vw, 7.5rem) 1rem; }
.game-world-shell { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.game-world-shell.reverse .world-copy { order: 2; }
.game-world-shell.reverse .world-art { order: 1; }
.world-copy { min-width: 0; }
.world-status { margin: 0 0 1rem; font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.world-logo { width: auto; max-width: 100%; max-height: 230px; margin-bottom: 1.25rem; object-fit: contain; object-position: left center; }
.absurd-logo { max-height: 245px; }
.binit-logo { max-height: 165px; }
.world-copy > p:not(.world-status) { max-width: 520px; margin-bottom: 1.5rem; font-size: 1.08rem; }
.world-copy h2 { margin-bottom: 1.2rem; font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: .9; }
.world-facts { margin: 0 0 1.7rem; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid currentColor; }
.world-facts div { padding: .8rem .6rem .85rem 0; }
.world-facts dt { font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; opacity: .68; }
.world-facts dd { margin: .1rem 0 0; font-weight: 800; }
.world-link { color: inherit; font-size: 1rem; }
.world-art { overflow: hidden; margin: 0; aspect-ratio: 16 / 10; border-radius: .6rem; background: rgba(255,255,255,.1); }
.world-art img { width: 100%; height: 100%; object-fit: cover; }
.absurd-world { color: #f7edcf; background: #171823; }
.absurd-world .world-art { border: 1px solid rgba(255,255,255,.24); }
.absurd-world .world-link { color: #f0df4f; }
.binit-world { color: #20272d; background: #f5f1e6; }
.binit-world .world-art { border: 1px solid rgba(32,39,45,.18); }
.binit-world .world-link { color: #486b7e; }
.brom-world { color: #f7ead0; background: #1b1411; }
.brom-world .world-art { border: 1px solid #5e3b25; }
.brom-world .world-link { color: #efa84d; }
.fromerge-world { color: #fff2ce; background: #3d1e0f; }
.fromerge-world .world-art { border: 1px solid #a6652a; }
.fromerge-world .world-link { color: #9ee281; }
.fromerge-logo { max-height: 200px; }
.brom-logo { max-height: 185px; }
.brom-art img { object-position: center; }
.brom-page-logo { width: min(100%, 570px); max-height: 260px; object-fit: contain; object-position: left center; }
.absurd-page-logo { width: min(100%, 560px); max-height: 300px; object-fit: contain; object-position: left center; }
.bin-page-logo { width: min(100%, 500px); max-height: 230px; object-fit: contain; object-position: left center; }
.fromerge-page-logo { width: min(100%, 540px); max-height: 285px; object-fit: contain; object-position: left center; }
.page-hero.absurd-theme { color: #f7edcf; background: #171823; border-bottom-color: #35364b; }
.page-hero.absurd-theme p { color: #ddd5c1; }
.page-hero.absurd-theme .eyebrow { color: #f0df4f; }
.page-hero.absurd-theme .button { color: #201b16; background: #f0df4f; border-color: #f0df4f; }
.page-hero.absurd-theme .button.secondary { color: #f7edcf; background: transparent; border-color: #77738d; }
.page-hero.absurd-theme .page-hero-image { border-color: #4b4c68; }
.page-hero.bin-theme { color: #20272d; background: #f5f1e6; border-bottom-color: #d8d0bd; }
.page-hero.bin-theme p { color: #4e5a61; }
.page-hero.bin-theme .eyebrow { color: #a36c00; }
.page-hero.bin-theme .button { color: #fff; background: #20272d; border-color: #20272d; }
.page-hero.bin-theme .button.secondary { color: #3d5b69; background: transparent; border-color: #7597a7; }
.page-hero.bin-theme .page-hero-image { border-color: #c9bd9e; }
.page-hero.brom-theme { color: #f7ead0; background: #211815; border-bottom-color: #5e3b25; }
.page-hero.brom-theme p { color: #dfcfb8; }
.page-hero.brom-theme .eyebrow { color: #efa84d; }
.page-hero.brom-theme .button { background: #bd3e2f; border-color: #bd3e2f; }
.page-hero.brom-theme .button.secondary { color: #f7ead0; background: transparent; border-color: #a77b55; }
.page-hero.brom-theme .page-hero-image { border-color: #754b2e; }
.page-hero.fromerge-theme { color: #fff2ce; background: #40200f; border-bottom-color: #81512b; }
.page-hero.fromerge-theme p { color: #f4dfbd; }
.page-hero.fromerge-theme .eyebrow { color: #9ee281; }
.page-hero.fromerge-theme .button { color: #173419; background: #8ed26f; border-color: #8ed26f; }
.page-hero.fromerge-theme .button.secondary { color: #fff2ce; background: transparent; border-color: #d59a4b; }
.page-hero.fromerge-theme .page-hero-image { border-color: #a6652a; }
.fromerge-screens { color: #fff2ce; background: #261308; }
.fromerge-screens .section-intro p { color: #e7cfaa; }
.fromerge-screens .kicker { color: #9ee281; }
.fromerge-screens .phone-shot { border-color: #a6652a; background: #40200f; }
.fromerge-gallery { background: #f7ecd3; }
.square-art, .portrait-art { overflow: hidden; margin: 0; border: 1px solid #c99755; border-radius: 1rem; background: #40200f; }
.square-art img, .portrait-art img { width: 100%; height: 100%; object-fit: cover; }
.portrait-art { aspect-ratio: 9 / 16; }
.square-art { aspect-ratio: 1; }
.studio-note { padding: clamp(4rem, 8vw, 7rem) 1rem; background: #fff; }
.studio-note-shell { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.studio-note-shell p { color: var(--muted); }
.plain-links { display: flex; flex-wrap: wrap; gap: 1rem 1.7rem; }
.plain-links a { color: var(--blue-dark); font-weight: 800; text-underline-offset: .25em; }
.store-buttons { justify-content: flex-start; margin: 1.25rem 0; }

@media (max-width: 900px) {
  .studio-hero-shell, .game-world-shell, .studio-note-shell { grid-template-columns: 1fr; }
  .studio-hero-shell { min-height: 0; gap: 2rem; }
  .studio-intro { padding-top: 0; }
  .studio-peeks { grid-column: auto; height: auto; grid-template-columns: 1fr; }
  .studio-peek { min-height: 210px; }
  .studio-peek + .studio-peek { border-top: 5px solid #fff; border-left: 0; }
  .game-world-shell.reverse .world-copy, .game-world-shell.reverse .world-art { order: initial; }
  .world-art { order: -1; }
  .world-logo { max-height: 190px; }
}

@media (max-width: 640px) {
  .studio-hero-shell { padding: 3.5rem 0 0; }
  .studio-heading h1 { font-size: clamp(4.4rem, 24vw, 6.3rem); }
  .studio-tagline { font-size: 1.7rem; }
  .colour-threads { margin-top: 2.5rem; }
  .studio-peeks { margin-inline: -1rem; }
  .studio-peek { min-height: 190px; }
  .studio-peek > span { padding-inline: 1rem; }
  .game-world { padding-block: 3.5rem; }
  .world-art { aspect-ratio: 16 / 10; }
  .world-facts { grid-template-columns: 1fr; }
  .world-facts div + div { border-top: 1px solid currentColor; }
  .world-logo { max-height: 150px; }
  .world-copy h2 { font-size: 3.6rem; }
}

/* The three scrolling shooters share a game system, not a visual identity. */
.shooter-logo { max-height: 175px; }
.shooter-world-art {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .28);
}
.shooter-world-art img { width: 100%; height: 100%; object-fit: contain; }
.storm-world { color: #e9f5f7; background: #071d2e; }
.storm-world .world-art { border: 1px solid #386b7c; background: radial-gradient(circle at 52% 40%, #174b61, #061521 72%); }
.storm-world .world-link { color: #66d7ed; }
.dragon-world { color: #f5ead1; background: #17382f; }
.dragon-world .world-art { border: 1px solid #728f5b; background: radial-gradient(circle at 48% 42%, #356552, #112a24 75%); }
.dragon-world .world-link { color: #f4a038; }
.war-world { color: #eee0c4; background: #25201b; }
.war-world .world-art { border: 1px solid #9d6d3e; background: radial-gradient(circle at 50% 42%, #4a3829, #1b1714 75%); }
.war-world .world-link { color: #65cad3; }

.shooter-page-logo {
  width: min(100%, 590px);
  max-height: 245px;
  object-fit: contain;
  object-position: left center;
}
.portrait-hero {
  width: min(100%, 430px);
  justify-self: center;
  aspect-ratio: 9 / 16;
  border-radius: 1.1rem;
}
.portrait-hero img { object-fit: cover; }

.page-hero.storm-theme {
  color: #edf7f7;
  background:
    radial-gradient(circle at 82% 18%, rgba(50, 170, 197, .20), transparent 34%),
    linear-gradient(135deg, #061521, #0b2b40 62%, #123c4b);
  border-bottom-color: #2e6a7a;
}
.page-hero.storm-theme p { color: #c5dfe5; }
.page-hero.storm-theme .eyebrow { color: #63d5eb; }
.page-hero.storm-theme .button { color: #071d2e; background: #f3b847; border-color: #f3b847; }
.page-hero.storm-theme .button:hover, .page-hero.storm-theme .button:focus-visible { background: #ffd474; border-color: #ffd474; }
.page-hero.storm-theme .button.secondary { color: #dff4f7; background: transparent; border-color: #5e9eac; }
.page-hero.storm-theme .page-hero-image { border-color: #5e9eac; background: #061521; }

.page-hero.dragon-theme {
  color: #fff0d0;
  background:
    radial-gradient(circle at 14% 75%, rgba(224, 78, 31, .22), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(68, 190, 193, .18), transparent 34%),
    linear-gradient(135deg, #102c26, #1b493a 64%, #283923);
  border-bottom-color: #718b58;
}
.page-hero.dragon-theme p { color: #d9dfc5; }
.page-hero.dragon-theme .eyebrow { color: #f5a03b; }
.page-hero.dragon-theme .button { color: #30160c; background: #f09133; border-color: #f09133; }
.page-hero.dragon-theme .button:hover, .page-hero.dragon-theme .button:focus-visible { background: #ffb357; border-color: #ffb357; }
.page-hero.dragon-theme .button.secondary { color: #f5ebd2; background: transparent; border-color: #9aa775; }
.page-hero.dragon-theme .page-hero-image { border-color: #8aa16c; background: #102c26; }

.page-hero.war-theme {
  color: #f1e4c9;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    radial-gradient(circle at 82% 20%, rgba(52, 167, 178, .16), transparent 30%),
    linear-gradient(135deg, #1c1815, #33271f 68%, #3b2d22);
  background-size: 28px 28px, 28px 28px, auto, auto;
  border-bottom-color: #8d663f;
}
.page-hero.war-theme p { color: #d5c6aa; }
.page-hero.war-theme .eyebrow { color: #60cbd3; }
.page-hero.war-theme .button { color: #171412; background: #bd8a45; border-color: #bd8a45; }
.page-hero.war-theme .button:hover, .page-hero.war-theme .button:focus-visible { background: #d7aa67; border-color: #d7aa67; }
.page-hero.war-theme .button.secondary { color: #eee0c4; background: transparent; border-color: #957352; }
.page-hero.war-theme .page-hero-image { border-color: #9f7448; background: #171412; }

.shooter-screens { color: #f2f5f5; }
.shooter-screens .section-intro p { color: rgba(240, 246, 247, .75); }
.shooter-screens .phone-shot { box-shadow: 0 24px 55px rgba(0, 0, 0, .22); }
.storm-screens { background: #061923; }
.storm-screens .kicker { color: #62d2e8; }
.storm-screens .phone-shot { border-color: #356d7b; }
.dragon-screens { background: #142d25; }
.dragon-screens .kicker { color: #f29b39; }
.dragon-screens .phone-shot { border-color: #718b58; }
.war-screens { background: #211b17; }
.war-screens .kicker { color: #63cbd2; }
.war-screens .phone-shot { border-color: #976b40; }

@media (max-width: 900px) {
  .portrait-hero { max-width: 380px; }
  .shooter-page-logo { max-height: 205px; }
}

@media (max-width: 640px) {
  .portrait-hero { width: min(100%, 340px); }
  .shooter-page-logo { max-height: 165px; object-position: center; }
  .page-hero.storm-theme .page-hero-shell,
  .page-hero.dragon-theme .page-hero-shell,
  .page-hero.war-theme .page-hero-shell { text-align: center; }
  .page-hero.storm-theme .button-row,
  .page-hero.dragon-theme .button-row,
  .page-hero.war-theme .button-row { justify-content: center; }
}


/* Squint One Word: approved paper, charcoal and lime identity. */
.squint-page, .squint-world { --squint-paper: #F7F5EC; --squint-ink: #292C23; --squint-lime: #E6F17B; font-family: Arial, sans-serif; color: var(--squint-ink); background: var(--squint-paper); }
.squint-page { font-size: 1.0625rem; }
.squint-page h1, .squint-page h2, .squint-page h3 { font-weight: 700; }
.squint-page .page-hero.squint-theme { color: var(--squint-ink); background: var(--squint-paper); border-color: #d6d8c8; }
.squint-page .page-hero-shell { grid-template-columns: 1.15fr .85fr; }
.squint-page .page-hero-shell > * { min-width: 0; }
.squint-page .eyebrow, .squint-page .kicker, .squint-page .prose p, .squint-page .prose a, .squint-page .page-hero p, .squint-page .feature p, .squint-page .section-intro p { color: var(--squint-ink); }
.squint-page .eyebrow, .squint-page .kicker { font-size: .875rem; }
.squint-logo-clearspace { padding: 1.25rem; margin: 0 0 1.5rem; }
.squint-logo { width: min(100%, 400px); height: auto; }
.squint-page .page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1.04; letter-spacing: -.045em; overflow-wrap: anywhere; }
.squint-page .page-hero p.squint-availability { display: inline-block; max-width: 100%; margin: .3rem 0 1.4rem; padding: .55rem .85rem; background: var(--squint-lime); font-size: 1rem; font-weight: 700; }
.squint-page .button { color: var(--squint-paper); background: var(--squint-ink); border: 2px solid var(--squint-ink); font-size: 1rem; }
.squint-page .button.secondary { color: var(--squint-ink); background: transparent; }
.squint-page .button:hover, .squint-page .button:focus-visible { color: var(--squint-ink); background: var(--squint-lime); border-color: var(--squint-ink); }
.squint-page a:focus-visible, .squint-world a:focus-visible { outline: 3px solid var(--squint-ink); outline-offset: 5px; }
.squint-app-art { width: min(100%, 360px); margin: 0; justify-self: center; }
.squint-app-art img { width: 100%; height: auto; }
.squint-page .fact span { color: var(--squint-ink); font-size: .875rem; }
.squint-page .feature { background: var(--squint-paper); border-color: #b9beaa; }
.squint-page .feature p { font-size: 1rem; }
.squint-page .squint-release { border-top: 1px solid #d6d8c8; background: #edf0d7; }
.squint-page .prose a, .squint-page .plain-links a { color: var(--squint-ink); text-underline-offset: .25em; font-weight: 700; overflow-wrap: anywhere; }
.squint-world .world-art { width: min(100%, 360px); aspect-ratio: 1; justify-self: center; border-radius: 0; }
.squint-world .world-art img { object-fit: contain; }
.squint-world .world-logo { width: min(100%, 400px); height: auto; max-height: none; padding: 1.25rem; }
.squint-world .world-status, .squint-world .world-facts dt { font-size: .875rem; opacity: 1; }
.squint-world .world-facts dd { font-size: 1rem; }
@media (max-width: 900px) { .squint-page .page-hero-shell { grid-template-columns: 1fr; } .squint-app-art { width: min(75%, 300px); } }
@media (max-width: 640px) { .squint-page .page-hero { padding-top: 2.75rem; } .squint-page .facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); } .squint-page .fact { padding: 1rem .8rem; } .squint-world .world-facts { grid-template-columns: 1fr; } .squint-world .world-facts div + div { border-top: 1px solid #b9beaa; } }
