:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #121212;
  --panel-2: #1a1514;
  --ink: #ffffff;
  --muted: #c8c0bd;
  --soft: #8f8581;
  --line: rgba(255, 255, 255, 0.16);
  --red: #7e0716;
  --red-dark: #31070d;
  --orange: #cf7210;
  --orange-bright: #f7941d;
  --cyan: #75d7e5;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

p,
h1,
h2,
h3,
blockquote {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  min-height: 76px;
  padding: 18px 40px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.82));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.brand img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/critical-shift/hero-desktop.jpg");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.1) 42%, rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at 50% 40%, rgba(207, 114, 16, 0.18), transparent 38%);
}

.hero-content {
  width: min(92vw, 560px);
  padding-top: 54px;
  text-align: center;
}

.hero-logo {
  width: 430px;
  margin: 0 auto 26px;
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero p {
  margin: 0 auto;
  max-width: 540px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.button-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.button-secondary {
  background: rgba(31, 6, 7, 0.88);
  border-color: rgba(255, 255, 255, 0.78);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.section {
  background: var(--panel);
  scroll-margin-top: 84px;
}

.section-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.section-movie {
  overflow: hidden;
  background: #080808;
}

.section-game {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 900px;
  margin-top: -90px;
  padding: 226px 0 136px;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.2), rgba(13, 10, 10, 0.06) 48%, rgba(7, 10, 12, 0.14)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(18, 8, 8, 0.2)),
    url("assets/critical-shift/atmosphere-panel.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  clip-path: polygon(0 8%, 8% 6.4%, 17% 7.5%, 28% 5.4%, 41% 7%, 55% 5%, 68% 6.6%, 80% 4.7%, 91% 6.2%, 100% 5.2%, 100% 100%, 0 100%);
}

.section-game > .section-inner {
  position: relative;
  z-index: 1;
}

.copy-block {
  max-width: 620px;
}

.critical-layout {
  display: grid;
  gap: 44px;
  align-items: start;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.critical-copy {
  max-width: 820px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--orange-bright);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  max-width: 740px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
}

.lead,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.copy-block .lead {
  margin-top: 22px;
}

.feature-strips {
  display: grid;
  max-width: 1040px;
}

.feature-strips article {
  position: relative;
  display: grid;
  grid-template-columns: 6px minmax(230px, 0.32fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 26px 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.feature-strips article::before {
  content: "";
  width: 6px;
  height: 38px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orange-bright), var(--orange));
  box-shadow: 0 0 18px rgba(247, 148, 29, 0.34);
  align-self: center;
}

.feature-strips article + article {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.feature-strips p,
.feature-strips p {
  margin-top: 0;
  font-size: 16px;
  line-height: 1.55;
}

.section-studio {
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 124px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 148, 29, 0.09), transparent 34%),
    linear-gradient(180deg, #151515, #0d0d0d);
}

.studio-statement {
  width: min(100% - 64px, 780px);
  max-width: 780px;
  margin: 0 auto;
  justify-self: center;
  text-align: center;
}

.studio-statement h2 {
  max-width: none;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

.studio-statement p {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 300;
  text-wrap: balance;
}

.studio-statement p span {
  color: var(--orange-bright);
  font-weight: 400;
  white-space: nowrap;
}

.movie-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 700px;
  height: 100vh;
  isolation: isolate;
  background-image: url("assets/she-sees-red/key-art.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.movie-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 46%, rgba(0, 0, 0, 0.74)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.42));
}

.movie-content {
  display: grid;
  justify-items: end;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  text-align: center;
}

.movie-copy {
  display: grid;
  justify-items: center;
  width: min(48vw, 590px);
}

.movie-logo {
  width: min(100%, 560px);
  margin-bottom: 30px;
}

.movie-content p {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.52;
  font-weight: 300;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.58);
}

.polygon-logo {
  width: 160px;
  margin-top: 34px;
}

.store-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 0;
}

.store-grid a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.store-grid a:hover,
.store-grid a:focus-visible {
  outline: none;
  opacity: 0.82;
}

.store-grid img {
  width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.store-grid a:nth-child(1) {
  width: 168px;
}

.store-grid a:nth-child(2) {
  width: 167px;
}

.store-grid a:nth-child(3) {
  width: 255px;
}

.store-grid a:nth-child(4) {
  width: 221px;
}

.store-grid a:nth-child(5) {
  width: 180px;
}

.movie-platforms {
  padding: 48px 0;
  background:
    linear-gradient(90deg, rgba(96, 35, 0, 0.46), rgba(207, 114, 16, 0.04) 24%, rgba(207, 114, 16, 0.03) 70%, rgba(64, 23, 0, 0.44)),
    linear-gradient(180deg, #d17a19 0%, #bd650d 48%, #8c3e06 100%);
}

.movie-platforms-inner {
  max-width: 1140px;
}

.section-research {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #071012;
}

.research-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/research/bga.jpeg");
  background-position: center;
  background-size: cover;
}

.section-research::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.46) 45%, rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.5));
}

.research-content {
  padding: 138px 0;
}

.research-content .copy-block {
  max-width: 570px;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 52px 24px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.055), transparent 34%),
    linear-gradient(180deg, #181818 0%, #111111 100%);
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.footer-logo {
  width: 188px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-social a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.footer-social svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1020px) {
  .site-header {
    padding: 16px 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .critical-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .critical-copy {
    max-width: 740px;
  }

  .movie-hero {
    min-height: 680px;
    background-position: 38% center;
  }

  .movie-content {
    justify-items: center;
  }

  .movie-logo {
    width: 500px;
  }

  .polygon-logo {
    width: 132px;
    margin-top: 30px;
  }

  .movie-platforms-inner {
    max-width: 760px;
  }

  .store-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 42px;
  }

  .store-grid a {
    flex: 0 0 auto;
  }

  .studio-statement h2 {
    font-size: 34px;
  }

  .studio-statement p {
    font-size: 20px;
  }

  .copy-block {
    max-width: none;
  }

  .feature-strips article {
    min-height: auto;
  }

}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    min-height: 0;
    padding: 18px 18px;
  }

  .brand img {
    width: 138px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
    height: 100svh;
    place-items: start center;
  }

  .hero-media {
    background-image: url("assets/critical-shift/hero-mobile.jpg");
    background-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.04) 42%, rgba(0, 0, 0, 0.58)),
      radial-gradient(circle at 50% 42%, rgba(207, 114, 16, 0.14), transparent 36%);
  }

  .hero-content {
    width: min(100% - 36px, 360px);
    padding-top: 178px;
  }

  .hero-logo {
    width: 300px;
    margin-bottom: 22px;
  }

  .hero p {
    max-width: 300px;
    font-size: 16px;
    line-height: 1.5;
  }

  .button-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
  }

  .button {
    width: min(100%, 270px);
    min-height: 48px;
    font-size: 13px;
  }

  .section-inner {
    width: min(100% - 36px, var(--max));
  }

  .section-game,
  .section-movie,
  .section-studio {
    padding: 68px 0;
  }

  .section-movie {
    padding: 0;
  }

  .section-studio {
    min-height: 430px;
    padding: 88px 0;
  }

  .section-game {
    min-height: auto;
    margin-top: -58px;
    padding: 146px 0 88px;
    background-image:
      linear-gradient(90deg, rgba(7, 7, 7, 0.2), rgba(13, 10, 10, 0.06) 48%, rgba(7, 10, 12, 0.14)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(18, 8, 8, 0.2)),
      url("assets/critical-shift/atmosphere-panel-mobile.jpg");
    clip-path: polygon(0 7.2%, 13% 5.8%, 25% 7.1%, 39% 5.4%, 55% 6.8%, 70% 5%, 84% 6.5%, 100% 5.4%, 100% 100%, 0 100%);
  }

  h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .studio-statement h2 {
    font-size: 26px;
    line-height: 1.22;
  }

  .studio-statement p {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.52;
  }

  .lead,
  .section-heading p {
    font-size: 16px;
    line-height: 1.55;
  }

  .feature-strips article {
    grid-template-columns: 6px minmax(0, 1fr);
    gap: 14px 16px;
    align-items: center;
    padding: 24px 0;
  }

  .feature-strips article h3,
  .feature-strips article p {
    grid-column: 2;
  }

  .feature-strips article::before {
    grid-row: 1;
  }

  .movie-hero {
    min-height: 620px;
    height: auto;
    padding: 104px 0 76px;
    background-position: 34% center;
  }

  .movie-hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.26) 36%, rgba(0, 0, 0, 0.72)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.22));
  }

  .movie-content {
    width: min(100% - 36px, 360px);
  }

  .movie-copy {
    width: 100%;
  }

  .movie-content p {
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
  }

  .movie-logo {
    width: min(100%, 310px);
    margin-bottom: 24px;
  }

  .polygon-logo {
    width: 96px;
    margin-top: 28px;
  }

  .movie-platforms {
    padding: 40px 0;
  }

  .store-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .store-grid a:nth-child(1) {
    width: 168px;
  }

  .store-grid a:nth-child(2) {
    width: 167px;
  }

  .store-grid a:nth-child(3) {
    width: 255px;
  }

  .store-grid a:nth-child(4) {
    width: 221px;
  }

  .store-grid a:nth-child(5) {
    width: 180px;
  }

  .section-research {
    min-height: auto;
  }

  .section-research::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.78)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.24));
  }

  .research-media {
    background-image: url("assets/research/bga-mobile.jpeg");
    background-position: center bottom;
  }

  .research-content {
    padding: 264px 0 90px;
  }

  .site-footer {
    padding: 42px 18px 30px;
  }

  .footer-logo {
    width: 172px;
  }

  .footer-social {
    gap: 12px;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 168px;
  }

  .hero-logo {
    width: 284px;
  }

}
