:root {
  color-scheme: light;
  --ink: #0c263b;
  --body: #43596a;
  --blue: #245c83;
  --rule: #dce7ee;
  --ice: #f2f7fb;
  --white: #fff;
  --font: "Aptos", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font: 100%/1.55 var(--font);
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid #387caa; outline-offset: 5px; }
.shell { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 5; padding: .75rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 5.125rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; width: fit-content; text-decoration: none; }
.wordmark img { width: 3.25rem; height: auto; }
.wordmark span { display: block; font-size: 1rem; font-weight: 760; letter-spacing: -.025em; line-height: 1.05; white-space: nowrap; }
.wordmark small { display: block; margin-top: .31rem; font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.header-inner nav { display: flex; gap: 2.25rem; align-items: center; }
.header-inner nav a, .header-contact { font-size: .94rem; font-weight: 640; text-decoration: none; }
.header-inner nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .4em; }
.header-contact { justify-self: end; padding: .55rem .95rem; border: 1px solid #cadbe7; border-radius: .38rem; white-space: nowrap; }
.header-contact:hover { background: var(--ice); border-color: #9fbccd; }

.hero { overflow: hidden; border-bottom: 1px solid var(--rule); background: linear-gradient(110deg, #f8fbfd 4%, #edf5fb 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: 2rem; min-height: 33.5rem; padding-block: 3.5rem; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--blue); font-size: .82rem; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 1.55rem; height: 1px; background: #5887a8; content: ""; }
.hero h1 { margin-top: 1.05rem; font-size: clamp(4.2rem, 7.7vw, 7rem); font-weight: 760; line-height: .91; letter-spacing: -.085em; }
.hero h1 em { color: var(--blue); font-family: var(--serif); font-weight: 400; letter-spacing: -.08em; }
.hero-intro { margin-top: 1.6rem; max-width: 28rem; color: var(--body); font-size: 1.13rem; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.2rem; border: 1px solid transparent; border-radius: .38rem; font-size: .96rem; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-dark { margin-top: 1.75rem; color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--blue); }
.button-outline { color: var(--ink); border-color: #acc6d8; }
.button-outline:hover { color: var(--blue); border-color: #779fba; background: var(--white); }
.hero-art { position: relative; display: grid; min-width: 0; min-height: 24rem; place-items: center; isolation: isolate; }
.hero-art img { position: relative; width: min(90%, 38rem); height: auto; mix-blend-mode: multiply; }
.plot { --grid: rgb(48 104 145 / 9%); position: absolute; inset: 0; border: 1px solid rgb(48 104 145 / 13%); border-radius: .25rem; background: repeating-linear-gradient(0deg, transparent 0 23px, var(--grid) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, var(--grid) 23px 24px), radial-gradient(ellipse at 58% 50%, rgb(160 197 225 / 25%) 5%, transparent 73%); }
.plot i { position: absolute; width: .75rem; height: .75rem; border-color: #7b9fb8; border-style: solid; }
.plot i:nth-child(1) { inset: -1px auto auto -1px; border-width: 1px 0 0 1px; }
.plot i:nth-child(2) { inset: -1px -1px auto auto; border-width: 1px 1px 0 0; }
.plot i:nth-child(3) { inset: auto -1px -1px auto; border-width: 0 1px 1px 0; }
.plot i:nth-child(4) { inset: auto auto -1px -1px; border-width: 0 0 1px 1px; }

.games { padding-block: 4.2rem 5rem; background: var(--ink); color: #fff; }
.games h2 { color: #fff; }
.games :focus-visible { outline-color: #badcf1; }
h2 { font-size: clamp(2.65rem, 5vw, 4.45rem); font-weight: 750; line-height: .99; letter-spacing: -.073em; }
.section-heading { margin-bottom: 1.65rem; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; align-items: start; }
.game-card { overflow: hidden; border: 1px solid #42647e; border-radius: .65rem; background: #15344a; }
.game-image { position: relative; aspect-ratio: 2.1; overflow: hidden; isolation: isolate; background-color: #16374d; }
.geobee .game-image { background-color: #183f42; }
.game-image img { width: 100%; height: 100%; object-fit: cover; }
.game-status { position: absolute; top: .95rem; left: .95rem; padding: .3rem .62rem; border: 1px solid rgb(255 255 255 / 41%); border-radius: .3rem; background: rgb(8 28 39 / 91%); color: var(--white); font-size: .8075rem; font-weight: 680; }
.game-body { padding: 1.35rem 1.5rem; }
.game-body h3 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 740; letter-spacing: -.055em; line-height: 1.05; }
.game-body p { max-width: 30rem; margin-top: .55rem; color: #e4eff7; }
.game-play { margin-top: 1rem; color: #fff; background: #245477; border-color: #8ab2ce; }
.game-play:hover { background: #31678e; }
.game-body details { margin-top: 1rem; }
.game-body summary { width: fit-content; color: #badcf1; font-weight: 680; cursor: pointer; }
.game-body summary:hover { text-decoration: underline; text-underline-offset: .24em; }
.game-body details[open] p { padding-left: .85rem; border-left: 2px solid #b7cedf; }

.studio { border-block: 1px solid var(--rule); background: var(--ice); }
.studio-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding-block: 4.5rem; }
.studio-inner h2 { margin-top: .8rem; }
.studio-description { max-width: 33rem; }
.studio-description p { color: var(--body); font-size: 1.14rem; }
.studio-description .button { margin-top: 1rem; }
.contact { padding-block: 4rem 2rem; }
.contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; padding: clamp(1.6rem, 5vw, 3.25rem); border-radius: .65rem; background: var(--ink); color: var(--white); }
.contact-inner h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.7rem); }
.contact-inner p { margin-top: .6rem; color: #e4eff7; }
.contact-inner .contact-email { color: #fff; background: #245477; border-color: #8ab2ce; overflow-wrap: anywhere; }
.contact-inner .contact-email:hover { background: #31678e; }
.contact-inner :focus-visible { outline-color: #badcf1; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.2rem; padding-block: 1rem 1.65rem; color: var(--body); font-size: .875rem; }

@media (max-width: 57rem) {
  .shell { width: min(100% - 3rem, 76rem); }
  .hero-inner { gap: 1.3rem; min-height: 29rem; }
  .hero h1 { font-size: clamp(3.7rem, 8.8vw, 5rem); }
  .hero-art { min-height: 19rem; }
}
@media (max-width: 42rem) {
  .shell { width: min(100% - 2rem, 76rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .65rem; min-height: 4.5rem; }
  .header-inner nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.5rem 1.4rem; }
  .hero h1 { font-size: clamp(3.25rem, 13vw, 5rem); }
  .hero-intro { margin-top: 1.2rem; font-size: 1.05rem; }
  .button-dark { margin-top: 1.25rem; }
  .hero-art { min-height: 0; aspect-ratio: 1.62; }
  .hero-art img { width: 81%; }
  .games { padding-block: 2.75rem 3rem; }
  .game-grid, .studio-inner { grid-template-columns: 1fr; }
  .game-grid { gap: 1rem; }
  .game-body { padding: 1.15rem; }
  .studio-inner { gap: 1.25rem; padding-block: 2.8rem; }
  .studio-inner h2 br { display: none; }
  .contact { padding-top: 2.75rem; }
}
@media (max-width: 22rem) {
  .wordmark { gap: .45rem; }
  .wordmark img { width: 2.5rem; }
  .header-contact { padding-inline: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
