:root {
  --black: #030608;
  --black-soft: #091016;
  --panel: #101a21;
  --snow: #eef4f5;
  --snow-soft: #bdc9cd;
  --ice: #87c8df;
  --amber: #f0b344;
  --amber-light: #ffd980;
  --line: rgba(226, 239, 243, 0.16);
  --line-strong: rgba(240, 179, 68, 0.48);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Narrow", "Roboto Condensed", Impact, var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--snow);
  background:
    radial-gradient(circle at 70% 5%, rgba(62, 116, 140, 0.16), transparent 28%),
    var(--black);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--black);
  background: var(--amber-light);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 4px;
}

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

.ebc-shell {
  width: calc(100% - 64px);
  max-width: 1180px;
  margin-inline: auto;
}

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

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

.ebc-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(235, 245, 247, 0.14);
}

.ebc-nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: center;
}

.studio-back {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  justify-self: start;
}

.studio-back > span:first-child {
  color: var(--amber);
}

.studio-back > span:last-child {
  display: grid;
  gap: 2px;
}

.studio-back strong {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.studio-back small {
  color: #9eaaae;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.ebc-links {
  display: flex;
  gap: 28px;
}

.ebc-links a {
  color: #bec8cb;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ebc-links a:hover {
  color: #fff;
}

.steam-link {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 20px;
  padding-inline: 15px;
  color: var(--black);
  background: var(--amber);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ebc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ebc-hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.98) 0%, rgba(3, 6, 8, 0.72) 48%, rgba(3, 6, 8, 0.38) 100%),
    linear-gradient(180deg, rgba(3, 6, 8, 0.12) 35%, var(--black) 100%),
    url("/everest-base-camp/assets/hero.webp") center / cover no-repeat;
}

.ebc-hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.35;
  background: repeating-linear-gradient(
    112deg,
    transparent 0 110px,
    rgba(219, 239, 244, 0.13) 111px,
    transparent 113px
  );
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

.ebc-hero-inner {
  min-height: min(930px, 100svh);
  display: grid;
  grid-template-columns: minmax(500px, 0.92fr) minmax(370px, 0.55fr);
  gap: clamp(60px, 9vw, 138px);
  align-items: center;
  padding-block: 130px 76px;
}

.hud {
  margin: 0;
  color: var(--amber);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-title-block h1 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(70px, 8.6vw, 128px);
  font-stretch: condensed;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  text-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
}

.hero-title-block h1 span {
  display: block;
  margin-top: 22px;
  color: #c8d5d9;
  font-size: 0.55em;
  letter-spacing: 0.03em;
}

.hero-kicker {
  margin: 36px 0 0;
  color: var(--amber-light);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.hero-summary {
  max-width: 650px;
  margin: 21px 0 0;
  color: #c3ced1;
  font-size: 15px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ebc-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-inline: 18px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 14, 0.62);
  font-size: 12px;
  font-weight: 780;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.ebc-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.48);
}

.ebc-button-primary {
  color: #171006;
  border-color: var(--amber);
  background: var(--amber);
}

.ebc-button-primary:hover {
  border-color: var(--amber-light);
  background: var(--amber-light);
}

.mission-card {
  align-self: end;
  margin-bottom: 34px;
  padding: 27px 29px 30px;
  border: 1px solid var(--line-strong);
  background: rgba(5, 11, 15, 0.86);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(14px);
}

.mission-card h2 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.mission-card > p:not(.hud) {
  margin: 20px 0 0;
  color: #aebbbf;
  font-size: 13px;
  line-height: 1.75;
}

.mission-card dl {
  margin: 27px 0 0;
  border-top: 1px solid var(--line);
}

.mission-card dl > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}

.mission-card dt {
  color: #6f7c81;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.mission-card dd {
  margin: 0;
  color: var(--snow);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.mission-strip {
  border-block: 1px solid var(--line);
  background: var(--black-soft);
}

.mission-strip-grid {
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.mission-strip-grid > div {
  display: flex;
  gap: 15px;
  padding-inline: 24px;
}

.mission-strip-grid > div + div {
  border-left: 1px solid var(--line);
}

.mission-strip-grid span {
  color: var(--amber);
  font-size: 9px;
  font-weight: 850;
}

.mission-strip-grid p {
  margin: 0;
  color: #b4c0c3;
  font-size: 11px;
  font-weight: 700;
}

.story-section {
  padding-block: clamp(104px, 10vw, 154px);
}

.chapter-heading {
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(340px, 0.62fr);
  gap: clamp(70px, 10vw, 158px);
  align-items: end;
}

.chapter-heading h2 {
  max-width: 760px;
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(47px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.chapter-heading > p {
  margin: 0;
  color: #aebbbf;
  font-size: 14px;
  line-height: 1.9;
}

.opening-frame {
  position: relative;
  margin: 78px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.opening-frame img {
  width: 100%;
  max-height: 690px;
  object-fit: cover;
}

.opening-frame figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 7px;
  padding: 16px 18px;
  background: rgba(3, 7, 10, 0.86);
}

.opening-frame figcaption span {
  color: var(--amber);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.opening-frame figcaption strong {
  font-size: 14px;
}

.systems-section {
  padding-block: clamp(104px, 10vw, 154px);
  color: #182127;
  background: #e8e8e3;
}

.chapter-heading-light .hud {
  color: #90651a;
}

.chapter-heading-light > p {
  color: #5d686d;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 76px;
  border-top: 1px solid rgba(24, 33, 39, 0.2);
}

.systems-grid article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 27px 26px 31px 0;
  border-bottom: 1px solid rgba(24, 33, 39, 0.2);
}

.systems-grid article + article {
  padding-left: 26px;
  border-left: 1px solid rgba(24, 33, 39, 0.2);
}

.systems-grid span {
  color: #86652c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.systems-grid h3 {
  margin: auto 0 0;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.systems-grid p {
  margin: 17px 0 0;
  color: #5b676c;
  font-size: 12px;
  line-height: 1.8;
}

.gameplay-section {
  padding-block: clamp(104px, 10vw, 154px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 22%, rgba(65, 123, 145, 0.13), transparent 30%),
    #060b0f;
}

.gameplay-section .chapter-heading {
  max-width: 880px;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.gameplay-section .chapter-heading h2 {
  margin-inline: auto;
}

.gameplay-section .chapter-heading > p {
  max-width: 700px;
  margin-inline: auto;
}

.capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 68px auto 0;
}

.capture-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #020405;
}

.capture-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.capture-card:hover img {
  filter: brightness(1.06);
  transform: scale(1.012);
}

.capture-card figcaption {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 15px 17px;
  border-top: 1px solid var(--line);
  background: #080e12;
}

.capture-card figcaption span {
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.capture-card figcaption strong {
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.status-section {
  padding-block: clamp(100px, 10vw, 146px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.98), rgba(3, 6, 8, 0.7)),
    url("/everest-base-camp/assets/hero.webp") center / cover no-repeat;
}

.status-inner {
  display: grid;
  grid-template-columns: minmax(400px, 0.9fr) minmax(360px, 0.64fr);
  gap: clamp(70px, 10vw, 158px);
  align-items: end;
}

.status-inner h2 {
  max-width: 760px;
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(48px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.status-inner > div:last-child > p {
  margin: 0;
  color: #b7c3c6;
  font-size: 14px;
  line-height: 1.9;
}

.status-inner .ebc-button {
  margin-top: 29px;
}

.ebc-footer {
  border-top: 1px solid var(--line);
  background: #020405;
}

.ebc-footer-inner {
  min-height: 230px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px 60px;
  align-content: center;
}

.ebc-footer-inner strong {
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ebc-footer-inner > div p {
  margin: 8px 0 0;
  color: #748187;
  font-size: 10px;
}

.ebc-footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.ebc-footer-inner nav a {
  color: #8f9ba0;
  font-size: 10px;
  font-weight: 720;
}

.ebc-footer-inner nav a:hover {
  color: var(--snow);
}

.ebc-copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 21px;
  color: #59666b;
  border-top: 1px solid var(--line);
  font-size: 9px;
}

/* Privacy */
.policy-hero {
  position: relative;
  overflow: hidden;
  padding-block: 172px 92px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.98), rgba(3, 6, 8, 0.54)),
    url("/everest-base-camp/assets/hero.webp") center / cover no-repeat;
}

.policy-hero h1 {
  max-width: 900px;
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.policy-hero .hero-summary {
  max-width: 690px;
}

.policy-date {
  margin: 25px 0 0;
  color: var(--amber-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(70px, 10vw, 150px);
  padding-block: 94px 140px;
}

.policy-summary {
  align-self: start;
  padding: 24px;
  border-top: 2px solid var(--amber);
  background: var(--black-soft);
}

.policy-summary ul {
  margin: 24px 0 0;
  padding-left: 18px;
  color: #aebbbf;
  font-size: 12px;
  line-height: 1.85;
}

.policy-summary li + li {
  margin-top: 9px;
}

.policy-document {
  max-width: 760px;
}

.policy-document section {
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.policy-document section:first-child {
  padding-top: 0;
}

.policy-document h2 {
  margin: 0 0 17px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.policy-document p {
  margin: 0;
  color: #aebbbf;
  font-size: 13px;
  line-height: 1.9;
}

.policy-document p + p {
  margin-top: 13px;
}

.policy-document a {
  color: var(--amber-light);
  border-bottom: 1px solid rgba(255, 217, 128, 0.38);
}

@media (max-width: 1000px) {
  .ebc-shell {
    width: calc(100% - 52px);
    max-width: 900px;
  }

  .ebc-nav {
    grid-template-columns: 1fr auto;
  }

  .ebc-links {
    display: none;
  }

  .ebc-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 180px;
  }

  .mission-card {
    max-width: 560px;
    margin-bottom: 0;
  }

  .chapter-heading,
  .status-inner {
    grid-template-columns: 1fr 1fr;
    gap: 55px;
  }

  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .systems-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .systems-grid article:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 700px) {
  .ebc-shell {
    width: calc(100% - 36px);
  }

  .ebc-header {
    position: absolute;
  }

  .ebc-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 15px;
  }

  .steam-link {
    justify-self: start;
  }

  .ebc-hero-inner {
    gap: 50px;
    padding-block: 170px 64px;
  }

  .hero-title-block h1 {
    font-size: clamp(62px, 21vw, 90px);
  }

  .mission-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 11px;
  }

  .mission-strip-grid > div {
    padding: 13px 8px;
  }

  .mission-strip-grid > div + div {
    border-left: 0;
  }

  .mission-strip-grid > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .chapter-heading,
  .status-inner,
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .chapter-heading h2,
  .status-inner h2 {
    font-size: 44px;
  }

  .opening-frame {
    margin-top: 52px;
  }

  .opening-frame figcaption {
    position: static;
  }

  .systems-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .systems-grid article {
    min-height: 235px;
    padding: 27px 0;
    border-left: 0 !important;
  }

  .capture-grid {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .capture-card figcaption {
    align-items: start;
  }

  .ebc-footer-inner {
    grid-template-columns: 1fr;
    padding-block: 62px;
  }

  .ebc-copyright {
    grid-column: auto;
  }

  .policy-hero {
    padding-block: 180px 76px;
  }

  .policy-layout {
    padding-block: 70px 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
