@font-face {
  font-family: PlaytestUI;
  src: url("drive.01bee74cf5.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #101615;
  --deep: #131c1a;
  --text: #f5f3e9;
  --mist: #ced4c8;
  --teal: #9be6d1;
  --paper: #eae8dd;
  --paper-ink: #202824;
  --span: 94rem;
  --gutter: clamp(1.35rem, 5.5vw, 5.5rem);
  font-family: PlaytestUI, "DM Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  color: var(--text);
  background: var(--ink);
  scrollbar-color: #788d80 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: 1rem; }
body { margin: 0; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: .08em; }
a:focus-visible, [tabindex]:focus-visible {
  outline: .2rem solid #ffac79;
  outline-offset: .3rem;
}
::selection { background: var(--teal); color: #13251d; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.container { width: min(var(--span), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute;
  top: .75rem;
  left: 1rem;
  z-index: 8;
  padding: .65rem 1rem;
  transform: translateY(-175%);
  background: var(--text);
  color: var(--ink);
}
.skip:focus { transform: none; }

/* The header and the headline share the opening illustration's horizon. */
.mast {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  background: linear-gradient(180deg, #0c1415d9, #0c14158c);
  border-bottom: 1px solid #d7e7d63b;
}
.mast-inner, .mast-title, .mast nav { display: flex; align-items: center; }
.mast-inner { justify-content: space-between; min-height: 4.4rem; gap: 1.3rem; }
.mast-title { gap: .7rem; font-size: 1.13rem; font-weight: 810; letter-spacing: -.032em; white-space: nowrap; }
.mast-title span { padding-left: .7rem; border-left: 1px solid #a2afa5a6; font-size: .82rem; font-weight: 625; letter-spacing: 0; }
.mast a { text-decoration: none; }
.mast nav { gap: clamp(1.2rem, 2.3vw, 2.4rem); }
.mast nav a { padding-block: .65rem; color: #f3f3e9; font-size: .92rem; font-weight: 630; }
.mast nav a:hover, .foot a:hover { text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(40rem, 84svh, 53rem);
  background: #101615;
}
.hero-art { position: absolute; z-index: -2; inset: 0; }
.hero-art img { height: 100%; width: 100%; object-fit: cover; object-position: 52% 54%; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #081112df 0%, #0b1516ac 24%, #0b151667 44%, #0b151612 67%, transparent 82%),
    linear-gradient(0deg, #0b1417a6, transparent 30%, transparent 78%, #10161640);
}
.hero-inner { padding-block: clamp(8rem, 11vw, 11rem) clamp(3.5rem, 6vw, 6.2rem); }
.hero-copy { max-width: 39rem; }
h1 {
  font-size: clamp(3.4rem, 6.45vw, 6rem);
  font-weight: 860;
  letter-spacing: -.04em;
  line-height: 1.03;
}
h1 span { color: #b2f1df; }
.hero-copy > p {
  max-width: 27rem;
  margin-top: 1.42rem;
  font-size: clamp(1rem, 1.28vw, 1.17rem);
  line-height: 1.64;
  color: #e4e8db;
}
.downloads { width: fit-content; max-width: 100%; margin-top: clamp(1.6rem, 3vw, 2.65rem); scroll-margin-top: 2rem; }
.entry-primary {
  --entry-fill: #9be9d2;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .95rem;
  max-width: 100%;
  min-width: min(15.8rem, 100%);
  min-height: 4.05rem;
  padding: .62rem 1.4rem .62rem .76rem;
  color: #102b22;
  text-decoration: none;
  text-align: left;
  line-height: 1.25;
}
.entry-primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--entry-fill);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - .62rem), calc(100% - .62rem) 100%, 0 100%);
  transition: background-color .16s ease-out;
}
.entry-primary[href]:hover { --entry-fill: #c2f8e8; }
.entry-primary[aria-busy="true"] { cursor: progress; }
.entry-primary[aria-disabled="true"], .entry-primary:not([href]) {
  --entry-fill: #bdd2c6;
  color: #293a32;
  cursor: default;
}
.entry-symbol {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 2.62rem;
  height: 2.62rem;
  border: 1px solid #2c594752;
  background: #102b2210;
}
.entry-symbol::before {
  content: "";
  width: .94rem;
  height: 1.07rem;
  background: currentColor;
  clip-path: polygon(13% 0, 100% 50%, 13% 100%);
}
.entry-primary[download] .entry-symbol::before {
  width: 1.05rem;
  height: 1.13rem;
  clip-path: polygon(43% 0,57% 0,57% 51%,79% 32%,89% 43%,50% 80%,11% 43%,21% 32%,43% 51%);
}
.entry-primary[download] .entry-symbol::after {
  content: "";
  position: absolute;
  width: .94rem;
  height: .12rem;
  top: calc(50% + .49rem);
  background: currentColor;
}
.entry-copy { display: grid; gap: .16rem; }
.entry-primary strong { font-size: 1.27rem; font-weight: 805; letter-spacing: -.03em; }
.entry-primary small { font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.entry-primary small:empty { display: none; }
.entry-status { max-width: 27rem; color: #e0e8df; font-size: .85rem; }
.entry-status:not(:empty) { margin-top: .65rem; }
.entry .platform-note { margin-top: .75rem; color: var(--mist); font-size: .85rem; }
.hero-credit, .art-credit { font-size: .75rem; font-weight: 640; letter-spacing: .005em; color: #fffdf4; background: #101918d9; padding: .23rem .6rem; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 1.35rem; }

.section { padding-block: clamp(3.8rem, 6.9vw, 6.5rem); }
.play { color-scheme: light; background: var(--paper); color: var(--paper-ink); }
h2 { font-size: clamp(2rem, 3.65vw, 3.5rem); font-weight: 805; line-height: 1.14; letter-spacing: -.04em; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.scene-tabs { flex: none; display: flex; gap: .2rem; }
.scene-tabs a {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  padding: .5rem 1rem;
  border-bottom: 2px solid #afb9ad;
  font-size: .97rem;
  font-weight: 680;
  line-height: 1.25;
  color: #48564d;
  text-decoration: none;
}
.scene-tabs a[aria-selected="true"] { background: #1b2b26; border-color: #1b2b26; color: #edfaee; }
.scene-tabs a:hover { border-color: #334b40; }
.scene { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(17rem, .88fr); background: #1c2927; color: var(--text); }
.scene + .scene { margin-top: 1.4rem; }
.scene[hidden] { display: none; }
.gallery:has([role="tablist"]) .scene { margin-top: 0; }
.scene-picture { position: relative; isolation: isolate; min-width: 0; background: #253430; overflow: hidden; }
.scene-picture img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.art-credit { position: absolute; left: .8rem; bottom: .7rem; }
.scene figcaption {
  align-self: center;
  padding: clamp(1.3rem, 3vw, 3.4rem);
}
.scene h3 { max-width: 9em; font-size: clamp(1.8rem, 3vw, 2.85rem); font-weight: 770; line-height: 1.15; letter-spacing: -.038em; }
.scene figcaption p { margin-top: 1rem; max-width: 19rem; color: #d5ddd1; font-size: clamp(.96rem, 1.22vw, 1.08rem); line-height: 1.65; }
@media (prefers-reduced-motion: no-preference) {
  .gallery:has([role="tablist"]) .scene:not([hidden]) .scene-picture img { animation: scene-in .32s cubic-bezier(.16,1,.3,1); }
  @keyframes scene-in { from { opacity: .78; transform: scale(1.012); } to { opacity: 1; transform: scale(1); } }
}

.guide { background: var(--deep); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(2rem, 8vw, 9rem); margin-top: 1.9rem; padding-top: 2rem; border-top: 1px solid #68766a; }
.guide h3 { color: var(--teal); font-size: clamp(1.25rem, 1.7vw, 1.55rem); font-weight: 735; line-height: 1.3; letter-spacing: -.022em; }
.entry p { max-width: 36rem; margin-top: .55rem; color: #d3dbd0; }
.entry p + h3 { margin-top: 1.75rem; }
.bindings dl { margin-top: .38rem; }
.bindings dl > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid #3a4b42; padding: .76rem 0; }
.bindings dt { display: flex; align-items: center; gap: .28rem; }
.bindings dt span { margin-inline: .13rem; color: var(--mist); font-size: .72rem; }
.bindings dd { color: #e2e6d8; font-size: .95rem; }
kbd { display: inline-block; min-width: 1.45em; padding: .22rem .34rem; font: 650 .82rem/1.2 PlaytestUI, sans-serif; text-align: center; background: #26352f; border: 1px solid #586c5e; border-radius: .18rem; color: #f4f6ec; }
footer { background: #101615; border-top: 1px solid #36453d; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.7rem; color: #c4cfc2; font-size: .83rem; }
.foot a { color: var(--teal); text-decoration: none; }

@media (max-width: 980px) {
  .hero { min-height: 40rem; }
  .hero-art img { object-position: 53% 52%; }
  .hero-art::after { background: linear-gradient(90deg, #071111df, #0c1616a6 34%, #0c16162e 70%, transparent), linear-gradient(0deg, #0b14178c, transparent 36%); }
  .gallery-head { align-items: start; flex-direction: column; gap: 1rem; }
  .scene { grid-template-columns: minmax(0,1.8fr) minmax(13.5rem,.8fr); }
}
@media (max-width: 700px) {
  html { scroll-padding-block-start: .8rem; }
  .mast-inner { min-height: 3.8rem; gap: .7rem; }
  .mast-title { gap: .4rem; font-size: 1rem; }
  .mast-title span { padding-left: .45rem; font-size: .73rem; }
  .mast nav { gap: .88rem; }
  .mast nav a { font-size: .84rem; }
  .hero { display: block; min-height: 0; }
  .hero-art { inset: 0 0 auto; height: clamp(19rem, 86vw, 28rem); }
  .hero-art img { object-position: 73% 57%; }
  .hero-art::after { background: linear-gradient(0deg, #101615 0, #101615dd 8%, #10161569 30%, transparent 58%); }
  .hero-inner { padding-block: clamp(17.5rem, 79vw, 25rem) 2.65rem; }
  .hero-copy { max-width: 36rem; }
  h1 { font-size: clamp(3rem, 10.5vw, 4.4rem); }
  .hero-copy > p { max-width: 34rem; font-size: 1rem; line-height: 1.58; margin-top: 1.1rem; }
  .downloads { width: 100%; margin-top: 1.4rem; }
  .entry-primary { min-width: min(14.8rem, 100%); min-height: 3.75rem; }
  .hero-credit { inset: clamp(16.15rem, 74vw, 23.7rem) .7rem auto auto; font-size: .69rem; }
  .section { padding-block: 3.15rem; }
  .gallery-head { gap: .9rem; margin-bottom: .9rem; }
  .scene-tabs { width: 100%; gap: .2rem; }
  .scene-tabs a { min-height: 2.75rem; justify-content: center; padding-inline: .6rem; flex: 1; font-size: .91rem; }
  .scene { display: block; }
  .scene[hidden] { display: none; }
  .scene-picture img { height: auto; }
  .scene figcaption { padding: 1.3rem 1.2rem 1.5rem; }
  .scene h3 { max-width: none; font-size: 1.65rem; }
  .scene figcaption p { max-width: 35rem; margin-top: .6rem; }
  .art-credit { left: .55rem; bottom: .55rem; font-size: .69rem; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 1.4rem; padding-top: 1.4rem; }
  .foot { min-height: 4.1rem; font-size: .75rem; }
}
@media (max-width: 365px) {
  .mast-title span { display: none; }
  .bindings dd { font-size: .84rem; }
}
@media (min-width: 701px) and (max-height: 620px) {
  .mast-inner { min-height: 3.4rem; }
  .hero { min-height: 29.5rem; }
  .hero-inner { padding-block: 5.7rem 2.25rem; }
  h1 { font-size: clamp(3rem, 5.2vw, 4.2rem); }
  .hero-copy > p { margin-top: .8rem; }
  .downloads { margin-top: 1.1rem; }
  .hero-credit { bottom: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
