:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --paper-deep: #eee5d6;
  --ink: #171713;
  --muted: #656158;
  --orange: #f25a16;
  --teal: #18a995;
  --line: rgba(23, 23, 19, 0.24);
  --gutter: clamp(20px, 4.2vw, 68px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, 0.58), transparent 34rem),
    var(--paper);
  font-family: "Segoe UI", "Arial", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.page-gutter {
  width: min(100% - var(--gutter) * 2, 1440px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 38px;
  place-items: center;
}

.brand-mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.brand-mark:hover img {
  transform: rotate(-8deg) scale(1.08);
}

.main-nav {
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  font-weight: 700;
  font-size: 0.94rem;
}

.main-nav a,
.footer-brand {
  transition: color 180ms ease;
}

.main-nav a:hover,
.footer-brand:hover {
  color: var(--orange);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) 1.12fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding-block: clamp(34px, 5.3vw, 76px);
}

.wordmark {
  width: fit-content;
  line-height: 0.82;
}

.wordmark-name {
  display: block;
  font-family: "Arial", "Segoe UI", sans-serif;
  font-size: clamp(3.35rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.085em;
}

.wordmark-subtitle {
  display: block;
  margin-top: 14px;
  padding-left: 0.33em;
  font-size: clamp(0.65rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.75em;
}

.intro-copy {
  padding-left: clamp(24px, 4vw, 58px);
  border-left: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.intro-copy .eyebrow {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.8vw, 2.45rem);
  letter-spacing: -0.045em;
  text-transform: none;
}

.intro-copy h1 {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
}

.feature {
  margin-bottom: clamp(68px, 9vw, 128px);
}

.feature-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 1;
  min-height: 310px;
  background: #22231f;
  isolation: isolate;
}

.feature-image,
.feature-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  animation: image-arrive 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.feature-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 17, 18, 0.2), transparent 55%), linear-gradient(0deg, rgba(12, 14, 15, 0.7), transparent 57%);
}

.development-badge {
  position: absolute;
  top: clamp(18px, 3vw, 40px);
  right: clamp(18px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: white;
  background: rgba(18, 20, 20, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.development-badge span,
.coming-note span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 90, 22, 0.2);
}

.feature-caption {
  position: absolute;
  right: clamp(22px, 4vw, 54px);
  bottom: clamp(22px, 4vw, 54px);
  max-width: 390px;
  padding: 20px 24px;
  background: rgba(18, 20, 20, 0.76);
  backdrop-filter: blur(8px);
  color: white;
  animation: caption-arrive 700ms 180ms ease both;
}

.feature-kicker {
  margin: 0 0 7px;
  color: #ffba68;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.feature-caption h2 {
  margin: 0;
  font-family: "Arial", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.feature-caption > p:not(.feature-kicker) {
  margin: 12px 0 19px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.image-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.game-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(30px, 9vw, 140px);
  align-items: end;
  padding-bottom: clamp(76px, 10vw, 144px);
}

.section-heading h2,
.gallery-heading h2,
.studio-note h2 {
  margin: 0;
  font-family: "Arial", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.game-description {
  max-width: 510px;
  padding-bottom: 5px;
}

.game-description > p:first-child {
  margin: 0 0 24px;
  color: #46443d;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.8;
}

.coming-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.coming-note span {
  width: 8px;
  height: 8px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 169, 149, 0.16);
}

.screenshots {
  padding-bottom: clamp(76px, 10vw, 140px);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.gallery-heading h2 {
  font-size: clamp(1.8rem, 3.9vw, 3.2rem);
}

.gallery-hint {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

.gallery-hint span {
  display: inline-block;
  margin-left: 8px;
  color: var(--orange);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.screenshot-card {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  aspect-ratio: 1.56;
  border: 0;
  background: var(--paper-deep);
  cursor: zoom-in;
  text-align: left;
}

.screenshot-card-wide {
  grid-column: span 3;
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.screenshot-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(10, 12, 13, 0.72));
  content: "";
  opacity: 0.92;
  transition: opacity 250ms ease;
}

.screenshot-card:hover img,
.screenshot-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.screenshot-card:hover::after,
.screenshot-card:focus-visible::after {
  opacity: 1;
}

.screenshot-caption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.screenshot-card:hover .screenshot-caption,
.screenshot-card:focus-visible .screenshot-caption {
  opacity: 1;
  transform: translateY(0);
}

.studio-note {
  display: grid;
  grid-template-columns: 0.5fr 1.4fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(38px, 6vw, 78px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio-note-mark {
  color: var(--orange);
  font-family: "Arial", "Segoe UI", sans-serif;
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 0.8;
}

.studio-note-mark span {
  color: var(--ink);
}

.studio-note h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
}

.studio-location {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.studio-location strong {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 30px;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--ink);
  font-weight: 800;
}

.lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: white;
}

.lightbox::backdrop {
  background: rgba(12, 13, 13, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  margin: 0;
}

.lightbox figure img {
  max-height: 78vh;
  width: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes image-arrive {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}

@keyframes caption-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 42px 32px;
  }

  .wordmark-name {
    font-size: clamp(3.5rem, 14vw, 6.2rem);
  }

  .intro-copy {
    padding-left: 17px;
  }

  .intro-copy .eyebrow {
    margin-bottom: 4px;
    font-size: 1.45rem;
  }

  .feature {
    width: 100%;
    margin-bottom: 74px;
  }

  .feature-art {
    min-height: 460px;
    aspect-ratio: auto;
  }

  .feature-image {
    object-position: 57% center;
  }

  .feature-shade {
    background: linear-gradient(0deg, rgba(12, 14, 15, 0.85), transparent 72%);
  }

  .development-badge {
    top: 16px;
    right: var(--gutter);
    padding: 9px 11px;
    font-size: 0.62rem;
  }

  .feature-caption {
    bottom: 28px;
    left: var(--gutter);
    right: var(--gutter);
    max-width: none;
    padding: 18px 20px;
  }

  .image-note {
    display: none;
  }

  .game-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 82px;
  }

  .gallery-heading {
    display: block;
  }

  .gallery-hint {
    margin-top: 12px;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .screenshot-card,
  .screenshot-card-wide {
    grid-column: span 1;
    aspect-ratio: 1.15;
  }

  .screenshot-card:last-child {
    grid-column: span 2;
    aspect-ratio: 1.7;
  }

  .screenshot-card::after {
    inset: 45% 0 0;
    opacity: 1;
  }

  .screenshot-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 0.68rem;
    opacity: 1;
    transform: none;
  }

  .studio-note {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .studio-note-mark {
    font-size: clamp(4.5rem, 17vw, 7rem);
  }

  .studio-location {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 460px) {
  .site-header {
    min-height: 62px;
  }

  .main-nav {
    gap: 22px;
    font-size: 0.88rem;
  }

  .wordmark-name {
    font-size: 3.2rem;
  }

  .wordmark-subtitle {
    margin-top: 11px;
    font-size: 0.6rem;
  }

  .feature-art {
    min-height: 410px;
  }

  .feature-caption h2 {
    font-size: 2.3rem;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card,
  .screenshot-card-wide,
  .screenshot-card:last-child {
    grid-column: span 1;
    aspect-ratio: 1.55;
  }

  .site-footer {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .site-footer p {
    order: 1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
