/* Editorial presentation shared by the studio and game guide. */
.editorial {
  --bg: #08140f;
  --surface: #101e16;
  --surface-2: #15271e;
  --fg: #f0efdf;
  --fg-secondary: #d6dacb;
  --fg-muted: #aebbae;
  --border: #42564a;
  --hairline: #57685a;
  --accent: #a3ed8d;
  --accent-strong: #36774a;
  --editorial-margin: clamp(1.15rem, 3.5vw, 3.25rem);
  background: var(--bg);
}

.editorial-container {
  width: min(100% - var(--editorial-margin) * 2, 92rem);
  margin-inline: auto;
}

.editorial-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}

.editorial-header-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.25vw, 2.8rem);
  min-height: 4.6rem;
}

.editorial-brand {
  flex: none;
  margin-right: auto;
}

.editorial-brand img {
  width: clamp(7rem, 13vw, 13.25rem);
  height: auto;
}

.editorial-nav {
  display: flex;
  gap: clamp(.75rem, 2.3vw, 2.8rem);
  align-items: center;
  font-size: clamp(.9rem, 1.42vw, 1.25rem);
  font-weight: 650;
}

.editorial-nav a,
.editorial-contact a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.editorial-nav a {
  min-height: 44px;
}

.editorial-nav a:hover,
.editorial-contact a:hover {
  color: var(--accent);
}

.editorial-social {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--hairline);
  border-radius: .2rem;
}

.editorial-social:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.editorial-hero {
  display: grid;
  grid-template-columns: .41fr .59fr;
  gap: clamp(1.75rem, 3.1vw, 4rem);
  align-items: start;
  padding: clamp(2.2rem, 3.35vw, 4.15rem) 0 clamp(2.65rem, 4vw, 4.8rem);
}

.editorial-hero-copy {
  padding-top: clamp(.8rem, 3.3vw, 4rem);
}

.editorial-hero h1 {
  font-size: clamp(3rem, 5.15vw, 5.8rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.062em;
}

.editorial-hero h1 span {
  color: var(--accent);
}

.editorial-hero-copy > p {
  max-width: 30rem;
  margin-top: clamp(1.05rem, 2vw, 1.75rem);
  font-size: clamp(1.2rem, 2.05vw, 2rem);
  line-height: 1.24;
  color: var(--fg-secondary);
}

.editorial-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.6rem;
}

.editorial-hero .editorial-actions {
  margin-top: clamp(1.45rem, 3vw, 3.4rem);
}

.editorial-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  width: fit-content;
  padding: .68rem 1.3rem;
  background: var(--accent);
  color: #0b1b0d;
  border: 1px solid transparent;
  border-radius: .2rem;
  text-align: center;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 750;
}

.editorial-primary:hover {
  background: #c1f5ad;
}

.editorial-primary:active {
  background: #8cda75;
}

.editorial-text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .22em;
  color: var(--accent);
  font-weight: 650;
}

.editorial-hero .editorial-text-link {
  color: var(--fg);
}

.editorial-text-link:hover {
  color: white;
}

.editorial-feature {
  min-width: 0;
}

.editorial-video-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #050906;
  border: 1px solid var(--hairline);
}

.editorial-video-frame video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.editorial-play {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(3.3rem, 6vw, 5.5rem);
  aspect-ratio: 1;
  border: 2px solid var(--fg);
  border-radius: 50%;
  background: rgba(6, 13, 8, .78);
  color: var(--fg);
}

.editorial-play .icon-svg {
  width: 45%;
  height: 45%;
  margin-left: 7%;
}

.editorial-play:hover {
  background: var(--fg);
  color: var(--bg);
}

.editorial-feature figcaption {
  display: grid;
  margin-top: .6rem;
}

.editorial-feature figcaption strong {
  font-size: clamp(1.05rem, 1.72vw, 1.65rem);
  line-height: 1.16;
}

.editorial-feature figcaption span {
  margin-top: .18rem;
  color: var(--fg-secondary);
  font-size: clamp(.88rem, 1.33vw, 1.2rem);
}

.editorial-error {
  padding-block: .5rem;
  color: var(--fg-secondary);
}

.editorial-error a {
  text-decoration: underline;
}

.editorial-games {
  padding: clamp(2rem, 3.6vw, 4rem) 0 clamp(2.25rem, 3.7vw, 4rem);
  border-top: 1px solid var(--hairline);
}

.editorial-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem 1.5rem;
  margin-bottom: clamp(1.25rem, 2.45vw, 2.25rem);
}

.editorial-section-heading h2 {
  font-size: clamp(2.65rem, 4.55vw, 4.85rem);
  font-weight: 800;
  letter-spacing: -.048em;
  line-height: 1;
}

.editorial-section-heading p {
  color: var(--fg-secondary);
}

.editorial-clip-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 1.5vw, 1.5rem);
  list-style: none;
}

.editorial-clip-list li {
  display: flex;
  min-width: 0;
}

.editorial-clip {
  display: flex;
  width: 100%;
  flex-direction: column;
  border: 1px solid var(--hairline);
}

.editorial-clip:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.editorial-clip img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: cover;
  border-bottom: 1px solid var(--hairline);
}

.editorial-clip-copy {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .85rem;
  padding: .9rem 1.1rem 1.15rem;
}

.editorial-clip-copy h3,
.editorial-info h2 {
  font-size: clamp(1.45rem, 2.35vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.023em;
}

.editorial-clip-copy p {
  margin-top: .35rem;
  color: var(--fg-secondary);
}

.editorial-clip-copy .icon-svg {
  align-self: center;
  width: 1.3rem;
  height: 1.3rem;
  color: var(--accent);
}

.editorial-game-link {
  margin-top: .6rem;
}

.editorial-studio-band {
  background: var(--surface);
  border-block: 1px solid var(--hairline);
}

.editorial-info {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.6rem, 3.2vw, 3.3rem);
  padding-block: clamp(2rem, 4vw, 4rem);
}

.editorial-about {
  display: grid;
  grid-template-columns: minmax(6rem, 29%) 1fr;
  align-items: start;
  gap: clamp(.8rem, 1.55vw, 1.5rem);
}

.editorial-hound {
  width: 100%;
  align-self: center;
}

.editorial-info p {
  margin-top: .65rem;
  color: var(--fg-secondary);
  max-width: 37rem;
}

.editorial-quip {
  display: block;
  color: var(--fg-secondary);
}

.editorial-press {
  border-left: 1px solid var(--hairline);
  padding-left: clamp(1.3rem, 3vw, 3rem);
}

.editorial-info .editorial-actions,
.editorial-ask {
  margin-top: .5rem;
}

.editorial-footer {
  padding: 1.4rem 0 1.65rem;
}

.editorial-contact {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  color: var(--accent);
  font-weight: 650;
}

.editorial-legal {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: .78rem;
}

.editorial :is(#games, #manifesto, #press, #contact, #gameplay-stage, #tabs-anchor) {
  scroll-margin-top: 5.7rem;
}

.game-page {
  background: linear-gradient(rgba(7, 17, 12, .82) 0, var(--bg) 59rem), url("../assets/crypt_bg.webp") center top / min(100%, 130rem) auto no-repeat;
}

.game-page .editorial-container,
.game-page .container {
  width: min(100% - var(--editorial-margin) * 2, 80rem);
  max-width: none;
  padding-inline: 0;
}

.game-page .editorial-header-inner {
  border-bottom: 1px solid var(--hairline);
}

.game-page .editorial-brand {
  margin-right: 0;
}

.game-page .game-hero-wrap {
  padding-top: 1.25rem;
  padding-bottom: 1.4rem;
}

.editorial-game-intro {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .95rem clamp(.9rem, 2.4vw, 2.7rem);
  padding-block: .4rem 1.4rem;
}

.editorial-game-intro h1 img {
  width: clamp(8rem, 16vw, 15rem);
  max-height: 7rem;
  object-fit: contain;
  object-position: left;
}

.editorial-game-tagline {
  max-width: 26rem;
  font-size: clamp(1.02rem, 1.6vw, 1.5rem);
  font-weight: 700;
}

.editorial-game-status {
  margin-left: auto;
  color: var(--accent);
  font-weight: 650;
}

.game-page #gameplay-stage {
  border: 0;
  margin: .2rem 0 0;
  background: transparent;
}

.game-page .stage-heading,
.editorial-guide-heading {
  padding: 0;
  margin-bottom: .7rem;
  background: transparent;
  font-size: clamp(1.75rem, 3.3vw, 3.45rem);
  text-transform: none;
}

.game-page #main-stage-slot {
  border: 1px solid var(--hairline);
  width: 100%;
}

.game-page .stage-toolbar {
  background: transparent;
  padding: .4rem 0 .8rem;
  width: 100%;
  border: 0;
}

.game-page .stage-dots-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  gap: .4rem;
  margin: 0;
}

.game-page .stage-dot-btn {
  border-radius: .2rem;
  padding: .35rem .25rem;
  font-size: clamp(.84rem, 1.35vw, 1.13rem);
  text-transform: none;
  letter-spacing: 0;
}

.game-page .metrics-bar {
  margin-top: 0;
  background: transparent;
  border: 1px solid var(--hairline);
  border-inline: none;
}

.game-page .metric-val {
  color: var(--accent);
}

.game-page .verify-banner {
  margin-top: 1.1rem;
}

.editorial-guide-heading {
  font-weight: 750;
}

@media (min-width: 1020px) {
  .game-page #main-stage-slot,
  .game-page #main-stage-video {
    max-height: 59svh;
  }
}

@media (max-width: 920px) {
  .editorial-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .editorial-hero-copy {
    padding-top: 0;
  }
  .editorial-hero h1 {
    font-size: clamp(3rem, 10vw, 5.75rem);
  }
  .editorial-info {
    gap: 1.6rem;
  }
}

@media (max-width: 620px) {
  .editorial-header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 0;
    padding-block: .55rem .2rem;
  }
  .editorial-nav {
    order: 2;
    justify-content: space-between;
    width: 100%;
    gap: .45rem;
  }
  .editorial-social {
    min-height: 2.45rem;
    min-width: 2.45rem;
  }
  .editorial-hero {
    padding-top: 1.5rem;
  }
  .editorial-hero h1 {
    font-size: clamp(2.45rem, 9.8vw, 3.9rem);
  }
  .editorial-clip-list,
  .editorial-info {
    grid-template-columns: 1fr;
  }
  .editorial-press {
    border-top: 1px solid var(--hairline);
    border-left: 0;
    padding: 1.2rem 0 0;
  }
  .game-page .editorial-game-intro {
    justify-content: space-between;
  }
  .editorial-game-status {
    margin-left: 0;
  }
  .game-page .stage-dots-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editorial :is(#games, #manifesto, #press, #contact, #gameplay-stage, #tabs-anchor) {
    scroll-margin-top: 7.4rem;
  }
}


.launch-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 2rem;
  justify-content: space-between;
  padding-block: 1.65rem;
  border-block: 1px solid var(--hairline);
  scroll-margin-top: 7.4rem;
}

.launch-panel h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.launch-panel p {
  max-width: 34rem;
  margin-top: .55rem;
  color: var(--fg-secondary);
}


.editorial-about h3 {
  margin-top: 1rem;
  font-size: 1rem;
}

.editorial-about h3 + p {
  margin-top: .3rem;
}
