* {
  box-sizing:border-box
}
html {
  color-scheme:light;
  scroll-behavior:smooth
}
body {
  margin:0;
  font-family:"Segoe UI",Arial,sans-serif;
  color:#333;
  background:radial-gradient(ellipse at 48% 82%,#f2f1ed 0,#bbbdbb 52%,#494c4f 100%);
  background-attachment:fixed;
  min-height:100vh
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  font:inherit;
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button:disabled {
  cursor:default
}
.shell {
  width:calc(100% - 96px);
  max-width:1100px;
  margin:auto;
  position:relative
}
.ribbons {
  position:fixed;
  right:-140px;
  top:-20%;
  height:140vh;
  width:240px;
  transform:skew(-19deg);
  background:linear-gradient(90deg,transparent 0 5%,#b8dc1380 5% 24%,#70ab2680 24% 43%,#b2d71d90 43% 53%,#6aaa2980 53% 73%,#99ce2980 73%);
  pointer-events:none;
  z-index:-1
}
.skip {
  position:fixed;
  top:-100px;
  background:white;
  padding:16px;
  z-index:10
}
.skip:focus {
  top:0
}
header {
  padding-top:32px
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:white;
  font-size:25px;
  font-weight:300
}
.project-mark {
  border-radius:50%;
  width:37px;
  height:37px;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:600;
  color:white;
  background:radial-gradient(circle at 35% 30%,#a0d447,#328219);
  box-shadow:0 1px 4px #2225
}
.profile {
  float:right;
  display:flex;
  align-items:center;
  gap:12px;
  color:#eee;
  font-size:13px;
  text-align:right
}
.profile small {
  display:block;
  color:#ccc;
  font-size:11px;
  margin-top:3px
}
.avatar {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  background:#558d36;
  color:white;
  font-size:15px
}
nav {
  display:flex;
  gap:25px;
  overflow-x:auto;
  padding:28px 4px 20px;
  margin:0 -4px;
  scrollbar-width:thin;
  align-items:center
}
nav a {
  font-size:29px;
  font-weight:300;
  color:#c1c2c2;
  white-space:nowrap;
  line-height:1.25
}
nav a:hover,nav a[aria-current] {
  color:#fff
}
nav a:focus-visible {
  outline:2px solid #9ade3a;
  outline-offset:4px
}
main {
  min-height:440px
}
.intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  color:#f1f1ef;
  margin:2px 0 20px
}
.intro h1 {
  font-size:17px;
  font-weight:400;
  margin:0
}
.intro>span {
  font-size:11px;
  color:#e2e3df
}
.tile {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  text-align:left;
  border:0;
  border-radius:0;
  padding:16px;
  min-width:0;
  color:white;
  box-shadow:0 1px 2px #2223;
  transition:transform .14s,box-shadow .14s;
  overflow:hidden
}
.tile[data-nav]:hover,.tile[data-nav]:focus-visible {
  transform:scale(1.025);
  z-index:2;
  box-shadow:0 0 0 3px #a2d853,0 8px 20px #244b2655;
  outline:0
}
.tile-title {
  font-size:21px;
  font-weight:400;
  line-height:1.18
}
.tile small {
  font-size:12px;
  line-height:1.4;
  margin-top:7px;
  opacity:.85
}
.tile-icon {
  font-family:"Segoe UI Symbol","Segoe UI",sans-serif;
  font-size:45px;
  line-height:1.2;
  margin:auto;
  align-self:center;
  font-weight:300
}
.green {
  background:linear-gradient(145deg,#59a33b,#2d7015)
}
.blue {
  background:linear-gradient(135deg,#368bb5,#20577c)
}
.purple {
  background:linear-gradient(135deg,#765692,#4b306b)
}
.orange {
  background:linear-gradient(135deg,#c28935,#946126)
}
.paper {
  background:#eaece9;
  color:#333
}
.home-board {
  display:grid;
  grid-template-columns:174px 1fr 1fr 212px;
  grid-template-rows:repeat(3,158px);
  gap:4px
}
.left-one {
  grid-area:1/1
}
.left-two {
  grid-area:2/1
}
.left-three {
  grid-area:3/1
}
.hero {
  grid-area:1/2/3/4;
  padding:0;
  background:#1d292f;
  display:block
}
.hero-link {
  display:block;
  width:100%;
  height:100%;
  position:relative
}
.hero img {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block
}
.hero .image-caption {
  padding-bottom:34px
}
.image-caption {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  background:#101719d9;
  color:#fff;
  padding:10px 12px;
  font-size:17px;
  line-height:1.3
}
.image-caption strong {
  display:block;
  font-weight:400;
  font-size:25px
}
.image-caption>span {
  display:block;
  font-size:12px;
  margin-top:4px
}
.carousel {
  position:absolute;
  bottom:4px;
  right:8px;
  display:flex;
  align-items:center;
  gap:10px;
  color:white;
  font-size:11px
}
.carousel button {
  border:0;
  background:#2229;
  color:white;
  width:30px;
  height:28px;
  font-size:18px
}
.carousel button:focus-visible,.gallery-bar button:focus-visible {
  outline:2px solid #a3d94c
}
.island {
  grid-area:3/2
}
.inventory {
  grid-area:3/3
}
.right-one {
  grid-area:1/4
}
.right-two {
  grid-area:2/4
}
.right-three {
  grid-area:3/4
}
.right-one .tile-title {
  color:#538729
}
.right-two .tile-title {
  color:#538729
}
.image-tile {
  padding:0;
  background:#172832
}
.image-tile img {
  width:100%;
  height:100%;
  object-fit:contain;
  display:block
}
.home-board>.image-tile {
  padding-bottom:32px
}
.home-board .image-tile .image-caption {
  padding:7px 10px;
  font-size:15px
}
.page-heading {
  color:white;
  margin:4px 0 25px
}
.eyebrow {
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:2px;
  opacity:.8
}
.page-heading h1 {
  font-size:36px;
  line-height:1.16;
  font-weight:300;
  margin:8px 0 10px
}
.page-heading p {
  font-size:15px;
  line-height:1.5;
  margin:0;
  color:#e7e7e4
}
.panel {
  padding:26px
}
.panel h2 {
  font-size:25px;
  font-weight:300;
  line-height:1.2;
  margin:0 0 16px
}
.panel p {
  line-height:1.6;
  font-size:15px;
  margin:0 0 16px
}
.panel small {
  line-height:1.5;
  font-size:12px
}
.panel>.tile-icon {
  display:block;
  margin:0 0 24px
}
.panel.green {
  color:white
}
.about-grid {
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:4px
}
.about-grid>.paper {
  grid-row:span 2
}
.about-image {
  aspect-ratio:16/9;
  padding-bottom:35px
}
.about-image .image-caption {
  font-size:13px
}
.action {
  display:inline-block;
  border:0;
  padding:12px 17px;
  background:#397c1e;
  color:white;
  font-size:14px
}
.action:hover {
  background:#2a6413
}
.action:focus-visible {
  outline:3px solid #a7d951;
  outline-offset:3px
}
.action.light {
  background:#edf3e8;
  color:#386126
}
.feature-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px
}
.feature-grid>.tile {
  min-height:200px;
  padding:20px
}
.feature-grid .tile-icon {
  font-size:58px
}
.roadmap-grid {
  display:grid;
  grid-template-columns:280px 1fr;
  gap:5px;
  align-items:start
}
.roadmap-grid aside {
  position:sticky;
  top:20px
}
.phases {
  display:grid;
  gap:5px
}
.phase {
  display:flex;
  gap:23px;
  padding:22px
}
.phase-number {
  font-weight:300;
  font-size:36px;
  color:#9caaa0
}
.phase h2 {
  font-size:24px;
  font-weight:300;
  margin:6px 0 8px
}
.phase p {
  font-size:14px;
  line-height:1.5;
  margin:0
}
.status {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1px
}
.done {
  color:#337817
}
.progress {
  color:#8a6008
}
.planned {
  color:#686b68
}
.screenshots-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:5px
}
.screenshot {
  padding:0 0 48px;
  background:#15242b
}
.screenshot img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:contain
}
.screenshot .image-caption {
  font-size:16px
}
.screenshot .image-caption small {
  display:block;
  margin:2px 0 0;
  font-size:11px
}
.trailer-row {
  margin-top:5px
}
.trailer-row>.tile {
  width:100%;
  min-height:95px;
  padding:20px;
  display:grid;
  grid-template-columns:70px 1fr;
  grid-template-rows:auto auto;
  align-items:center
}
.trailer-row .tile-icon {
  grid-row:span 2
}
.trailer-row small {
  margin:0
}
.credits-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px
}
.credits-grid>.panel {
  min-height:310px
}
.credit-note {
  margin-top:5px
}
.downloads-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px
}
.download-card {
  min-height:205px;
  justify-content:flex-end
}
.download-card-icon {
  font-size:50px;
  margin:auto;
  align-self:center
}
.download-card h2 {
  font-size:21px;
  font-weight:400;
  margin:8px 0;
  overflow-wrap:anywhere
}
.download-card p {
  font-size:13px;
  margin:0
}
.download-button {
  display:block;
  margin-top:12px;
  border-top:1px solid #ffffff40;
  padding-top:10px;
  font-size:15px
}
.download-empty {
  color:#333;
  background:#e9ebe6;
  padding:30px;
  grid-column:1/-1;
  font-size:17px
}
#retry-downloads {
  margin-top:15px
}
[hidden] {
  display:none!important
}
footer {
  padding:42px 0 22px;
  color:#444
}
.footer-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:12px
}
.controls {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:15px
}
.controls i {
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  width:21px;
  height:21px;
  color:white;
  font-style:normal;
  font-size:12px;
  box-shadow:inset 0 1px 2px #fff5,0 1px 2px #3333;
  margin-right:3px
}
.a {
  background:#70a930
}
.b {
  background:#a85747
}
.controls .keyboard {
  font-size:11px;
  opacity:.8
}
.disclaimer {
  font-size:11px;
  line-height:1.6;
  margin:15px 0 0
}
dialog {
  border:0;
  padding:36px;
  width:min(540px,calc(100% - 32px));
  color:#333;
  background:#f1f2ec;
  box-shadow:0 20px 80px #0006
}
dialog::backdrop {
  background:#1b232cc9
}
dialog h2 {
  font-size:30px;
  font-weight:300;
  margin:12px 0
}
dialog p {
  font-size:16px;
  line-height:1.6
}
dialog .close {
  position:absolute;
  right:8px;
  top:7px;
  border:0;
  background:transparent;
  font-size:28px;
  color:#555
}
.close:focus-visible {
  outline:2px solid #7fab36
}
#gallery {
  width:min(1200px,calc(100% - 32px));
  padding:38px 12px 10px;
  background:#18252c;
  color:white;
  max-height:95vh
}
#gallery>.close {
  color:white
}
#gallery>img {
  width:100%;
  max-height:75vh;
  object-fit:contain;
  display:block
}
.gallery-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px
}
.gallery-bar p {
  margin:10px 0;
  font-size:14px
}
.gallery-bar button {
  border:0;
  background:#3a7226;
  color:white;
  font-size:22px;
  width:45px;
  height:36px
}

@media(min-width:1600px) {
  .shell {
  max-width:1200px
}
header {
  padding-top:45px
}
nav {
  padding-top:35px;
  padding-bottom:24px;
  gap:32px
}
nav a {
  font-size:32px
}
.home-board {
  grid-template-columns:192px 1fr 1fr 236px;
  grid-template-rows:repeat(3,177px)
}
.intro {
  margin-bottom:24px
}
.intro h1 {
  font-size:18px
}
footer {
  padding-top:50px
}

}

@media(max-width:1000px) {
  .shell {
  width:calc(100% - 48px)
}
nav {
  gap:20px
}
nav a {
  font-size:25px
}
.home-board {
  grid-template-columns:140px 1fr 1fr 180px;
  grid-template-rows:repeat(3,145px)
}
.tile {
  padding:12px
}
.tile-title {
  font-size:18px
}
.intro>span {
  display:none
}
.controls .keyboard {
  display:none
}
.roadmap-grid {
  grid-template-columns:230px 1fr
}
.panel {
  padding:20px
}

}

@media(max-width:760px) {
  .shell {
  width:calc(100% - 32px)
}
header {
  padding-top:18px
}
.brand {
  font-size:22px
}
.profile {
  font-size:11px
}
.profile small {
  font-size:9px
}
.avatar {
  width:29px;
  height:29px;
  font-size:12px
}
.project-mark {
  width:31px;
  height:31px;
  font-size:14px
}
nav {
  gap:20px;
  padding:23px 4px 18px
}
nav a {
  font-size:26px
}
.intro {
  margin-bottom:17px
}
.intro h1 {
  font-size:15px;
  line-height:1.5;
  max-width:320px
}
.home-board {
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:auto 115px 155px 155px 140px
}
.hero {
  grid-area:1/1/2/4;
  aspect-ratio:16/11
}
.hero .image-caption strong {
  font-size:23px
}
.hero .image-caption>span {
  font-size:11px
}
.left-one {
  grid-area:2/1
}
.left-two {
  grid-area:2/2
}
.left-three {
  grid-area:2/3
}
.left-one small,.left-two small,.left-three small {
  display:none
}
.tile-icon {
  font-size:35px
}
.tile-title {
  font-size:16px
}
.left-one,.left-two,.left-three {
  padding:12px 8px
}
.island {
  grid-area:3/1/4/3
}
.right-one {
  grid-area:3/3
}
.inventory {
  grid-area:4/1/5/3
}
.right-two {
  grid-area:4/3
}
.right-three {
  grid-area:5/1/6/4;
  align-items:center
}
.right-three .tile-icon {
  margin:0
}
.home-board .paper small {
  font-size:11px
}
.home-board .paper {
  padding:11px
}
.home-board .paper .tile-title {
  font-size:16px
}
.page-heading h1 {
  font-size:31px
}
.page-heading p {
  font-size:14px
}
.about-grid,.roadmap-grid {
  grid-template-columns:1fr
}
.about-grid>.paper {
  grid-row:auto
}
.about-image {
  min-height:200px
}
.feature-grid {
  grid-template-columns:repeat(2,1fr)
}
.feature-grid>.tile {
  min-height:180px;
  padding:15px
}
.feature-grid .tile-icon {
  font-size:46px
}
.roadmap-grid aside {
  position:static
}
.phase {
  padding:18px;
  gap:15px
}
.phase-number {
  font-size:28px
}
.phase h2 {
  font-size:23px
}
.screenshots-grid,.credits-grid,.downloads-grid {
  grid-template-columns:1fr
}
.credits-grid>.panel {
  min-height:0
}
.credits-grid>.panel .tile-icon {
  float:right;
  margin:0
}
.download-card {
  min-height:180px
}
.footer-line {
  align-items:flex-start;
  font-size:11px;
  gap:8px
}
.controls {
  gap:10px;
  font-size:13px
}
footer {
  padding-top:30px
}
.disclaimer {
  font-size:11px
}
.ribbons {
  opacity:.5;
  right:-195px
}
dialog {
  padding:28px
}
#gallery {
  padding-top:38px
}
.gallery-bar p {
  font-size:12px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
.tile {
  transition:none
}
.tile[data-nav]:hover,.tile[data-nav]:focus-visible {
  transform:none
}

}


/* Keep captions outside the screenshots so the complete frame stays visible. */
.hero-link  {
   display: flex;
   flex-direction: column;

}

.hero img  {
   height: calc(100% - 86px);
   flex: 1;
   min-height: 0;

}

.hero .image-caption  {
   position: static;
   flex: 0 0 86px;
   width: 100%;

}

@media (max-width: 760px)  {
  .hero .image-caption  {
   flex-basis: 78px;

}

  .hero img  {
   height: calc(100% - 78px);

}


}


.tile-icon svg { display: block; }
