:root {
  --ink: #171813;
  --ink-soft: #34352d;
  --night: #0c1018;
  --night-soft: #151a24;
  --paper: #f4f0e7;
  --paper-bright: #fbf8f1;
  --mist: #e9e4d9;
  --line: rgba(61, 52, 35, 0.18);
  --line-dark: rgba(240, 221, 175, 0.2);
  --gold: #a87524;
  --gold-bright: #dbad51;
  --blue: #397f98;
  --serif: Georgia, "Times New Roman", "Noto Serif CJK SC", "Songti SC", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "Noto Sans JP", "Noto Sans KR", Arial, sans-serif;
  --shell: 1240px;
  --shadow: 0 24px 70px rgba(36, 27, 13, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(119, 93, 46, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 93, 46, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 7vw, 7.1rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--night);
  transform: translateY(-150%);
}

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

.eyebrow {
  margin-bottom: 17px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 74px;
  border-bottom: 1px solid rgba(30, 31, 26, 0.12);
  background: rgba(246, 242, 233, 0.92);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 74px;
  gap: 38px;
}

.brand {
  display: block;
  width: 125px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.language-switcher {
  display: flex;
  align-items: center;
  color: rgba(23, 24, 19, 0.38);
  gap: 6px;
  white-space: nowrap;
}

.language-switcher button {
  padding: 7px 3px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 670;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] {
  color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 118px;
  background:
    radial-gradient(circle at 86% 15%, rgba(86, 144, 165, 0.13), transparent 26%),
    radial-gradient(circle at 16% 80%, rgba(190, 131, 32, 0.12), transparent 28%),
    var(--paper-bright);
}

.hero::before {
  position: absolute;
  top: 42px;
  right: 4%;
  width: min(58vw, 820px);
  height: min(58vw, 820px);
  border: 1px solid rgba(128, 94, 37, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(128, 94, 37, 0.025), 0 0 0 180px rgba(128, 94, 37, 0.018);
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(50px, 8vw, 108px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__tagline {
  max-width: 730px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.58rem);
  line-height: 1.55;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 34px;
  gap: 10px;
}

.hero__badges span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #585143;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 640;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--ink);
}

.button--primary:hover {
  background: #313126;
}

.button--secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--secondary:hover {
  color: #fff;
  background: var(--ink);
}

.button--text {
  min-height: auto;
  padding-right: 7px;
  padding-left: 7px;
  color: var(--gold);
}

.button--text::after {
  margin-left: 8px;
  content: "↓";
  font-size: 1rem;
}

.hero__art {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(90, 66, 28, 0.22);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
  transform: rotate(1.1deg);
}

.hero__art::before,
.hero__art::after {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold);
  content: "";
}

.hero__art::before {
  top: 4px;
  left: 4px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero__art::after {
  right: 4px;
  bottom: 4px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero__art img {
  width: 100%;
  height: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section--paper {
  background: var(--paper-bright);
}

.section--mist {
  background: var(--mist);
}

.section--ink {
  color: #f5efe2;
  background:
    radial-gradient(circle at 90% 10%, rgba(54, 115, 138, 0.16), transparent 25%),
    radial-gradient(circle at 8% 92%, rgba(181, 126, 39, 0.11), transparent 28%),
    var(--night);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.66fr);
  align-items: end;
  margin-bottom: 54px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  gap: 56px;
}

.section-heading > p {
  max-width: 590px;
  margin-bottom: 0;
  color: #5c5c51;
  font-size: 1rem;
}

.section-heading--stacked {
  display: block;
}

.section-heading--dark {
  border-color: var(--line-dark);
}

.section-heading--dark > p {
  color: rgba(245, 239, 226, 0.68);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: minmax(118px, 0.34fr) 1fr;
  min-width: 0;
  min-height: 90px;
  margin: 0;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.fact dt {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.fact dd {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fact a {
  color: inherit;
  text-decoration-color: rgba(168, 117, 36, 0.45);
  text-underline-offset: 4px;
}

.description-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.quote-card {
  position: sticky;
  top: 110px;
  padding: 42px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.045);
}

.quote-card::before {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-bright);
  content: "“";
  font-family: var(--serif);
  font-size: 5.5rem;
  line-height: 0.8;
}

.quote-card__title-row,
.long-description__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 22px;
}

.quote-card h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.quote-card__lead {
  margin-bottom: 0;
  color: rgba(250, 246, 235, 0.87);
  font-family: var(--serif);
  font-size: clamp(1.16rem, 1.8vw, 1.42rem);
  line-height: 1.7;
}

.copy-button {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(224, 187, 111, 0.4);
  border-radius: 999px;
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.copy-button:hover {
  border-color: var(--gold-bright);
  background: rgba(219, 173, 81, 0.08);
}

.copy-button--light {
  border-color: rgba(224, 187, 111, 0.36);
}

.long-description {
  padding-top: 12px;
}

.long-description__body p {
  margin-bottom: 24px;
  color: rgba(245, 239, 226, 0.73);
  font-size: 1.02rem;
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 286px;
  padding: 34px 32px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 40px;
  border: 1px solid rgba(168, 117, 36, 0.36);
  border-radius: 50%;
  color: var(--gold);
  place-items: center;
}

.feature__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.feature p {
  margin-bottom: 0;
  color: #5c5c52;
  font-size: 0.94rem;
  line-height: 1.75;
}

.angle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 68px;
}

.angle {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  gap: 22px;
}

.angle__index {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.92rem;
}

.angle p {
  margin-bottom: 0;
  color: #55554d;
  line-height: 1.78;
}

.section--developer {
  overflow: hidden;
  background: #dfd8ca;
}

.section--developer::before {
  position: absolute;
  top: 50%;
  left: -130px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(126, 90, 31, 0.11);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.developer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: clamp(58px, 9vw, 128px);
}

.developer-mark {
  position: relative;
  display: grid;
  width: 220px;
  height: 280px;
  border: 1px solid rgba(96, 67, 26, 0.35);
  background: var(--night);
  box-shadow: 24px 24px 0 rgba(168, 117, 36, 0.14);
  place-items: center;
}

.developer-mark span {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 7rem;
}

.developer-mark div {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(219, 173, 81, 0.26);
}

.developer-copy > p:last-child {
  max-width: 820px;
  margin: 30px 0 0;
  color: #4e4c43;
  font-size: 1.03rem;
  line-height: 1.9;
}

.developer-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 26px;
  color: #5a5549;
  gap: 12px;
}

.developer-byline strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.developer-byline i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

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

.media-card {
  margin: 0;
}

.media-card__image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ded9cf;
  cursor: zoom-in;
}

.media-card__image-button::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 12, 16, 0.66);
  content: "+";
  font-size: 1.35rem;
  place-items: center;
  transition: transform 160ms ease, background-color 160ms ease;
}

.media-card__image-button:hover::after {
  background: var(--gold);
  transform: rotate(90deg);
}

.media-card__image-button img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 220ms ease;
}

.media-card__image-button:hover img {
  transform: scale(1.012);
}

.media-card__image-button.is-broken {
  min-height: 250px;
  cursor: default;
}

.media-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 14px;
  gap: 18px;
}

.media-card__meta h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.media-card__meta a {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.gif-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 28px;
}

.gif-card {
  margin: 0;
}

.gif-card__media {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #06080d;
}

.gif-card__media img {
  width: 100%;
  min-height: 180px;
  object-fit: contain;
}

.gif-card .media-card__meta h3 {
  color: #f5efe2;
}

.section--trailer {
  background: #d5dedc;
}

.trailer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 80px;
}

.trailer-card {
  position: relative;
  min-height: 310px;
  padding: 52px;
  overflow: hidden;
  border: 1px solid rgba(34, 60, 66, 0.21);
  background:
    radial-gradient(circle at 82% 20%, rgba(110, 188, 213, 0.25), transparent 28%),
    var(--night);
  color: #fff;
}

.trailer-card::after {
  position: absolute;
  right: -76px;
  bottom: -76px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(218, 177, 92, 0.2);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 34px rgba(218, 177, 92, 0.05), 0 0 0 68px rgba(218, 177, 92, 0.025);
}

.trailer-card h3 {
  max-width: 650px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.trailer-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.82;
}

.trailer-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 12px;
}

.trailer-card iframe,
.trailer-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.trailer-card video {
  display: block;
  background: #05070b;
  object-fit: contain;
}

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

.brand-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.brand-preview {
  display: grid;
  min-height: 268px;
  padding: 32px;
  overflow: hidden;
  background-color: #e8e3da;
  background-image: linear-gradient(45deg, rgba(84, 80, 70, 0.07) 25%, transparent 25%), linear-gradient(-45deg, rgba(84, 80, 70, 0.07) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(84, 80, 70, 0.07) 75%), linear-gradient(-45deg, transparent 75%, rgba(84, 80, 70, 0.07) 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  place-items: center;
}

.brand-preview--dark {
  background: #080a12;
}

.brand-preview--light {
  background: #f5efe2;
}

.brand-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.brand-preview--icon img {
  width: 170px;
  height: 170px;
}

.brand-preview--key-art img {
  max-height: none;
}

.brand-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  gap: 20px;
}

.brand-card__meta h3 {
  margin: 0 0 3px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 740;
}

.brand-card__meta small {
  color: #767369;
  font-size: 0.69rem;
}

.brand-card__meta a {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.download-section {
  padding: 84px 0;
  background: #cbc1ae;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: clamp(36px, 6vw, 76px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(23, 24, 19, 0.98), rgba(23, 24, 19, 0.92)),
    url("assets/brand/CCR_Key_Art.png") center / cover;
  gap: 58px;
  box-shadow: var(--shadow);
}

.download-card h2 {
  max-width: 720px;
  margin-bottom: 20px;
}

.download-card p {
  max-width: 770px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.download-card small {
  color: rgba(255, 255, 255, 0.5);
}

.download-card .button--primary {
  color: var(--ink);
  background: var(--gold-bright);
}

.download-card .button--secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.download-card__actions {
  display: grid;
  min-width: 270px;
  gap: 12px;
}

.section--contact {
  background: var(--paper-bright);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(400px, 1fr);
  align-items: start;
  gap: clamp(58px, 10vw, 140px);
}

.contact-grid > div:first-child > p:last-child {
  max-width: 580px;
  margin-top: 28px;
  color: #5d5a50;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) 1fr;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.contact-row span:first-child {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-row a,
.contact-row span:last-child {
  font-weight: 650;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(168, 117, 36, 0.42);
  text-underline-offset: 4px;
}

.contact-row--pending span:last-child {
  color: #747166;
  font-weight: 500;
}

.site-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.64);
  background: #090c12;
}

.site-footer__inner,
.site-footer__inner p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  gap: 12px;
}

.site-footer p {
  font-size: 0.76rem;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  margin-left: 20px;
  color: var(--gold-bright);
  text-decoration: none;
}

.lightbox {
  width: min(95vw, 1500px);
  max-width: none;
  height: min(94vh, 1050px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 194, 128, 0.28);
  color: #fff;
  background: #080a0f;
}

.lightbox::backdrop {
  background: rgba(3, 4, 7, 0.87);
  backdrop-filter: blur(8px);
}

.lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 17px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  gap: 22px;
}

.lightbox__toolbar h2 {
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 680;
  letter-spacing: 0;
}

.lightbox__counter {
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.09em;
}

.lightbox__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lightbox__actions a {
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.lightbox__actions button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  place-items: center;
}

.lightbox__stage {
  position: relative;
  display: grid;
  height: calc(100% - 82px);
  padding: 22px 68px;
  place-items: center;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox__stage button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 72px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(10, 12, 16, 0.7);
  cursor: pointer;
  font-size: 2.1rem;
  transform: translateY(-50%);
  place-items: center;
}

#lightbox-prev {
  left: 10px;
}

#lightbox-next {
  right: 10px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  padding: 12px 17px;
  border: 1px solid rgba(224, 187, 111, 0.36);
  color: #fff;
  background: var(--night);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.noscript {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  padding: 12px 24px;
  color: #fff;
  background: #8b2e2e;
  text-align: center;
}

@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
    gap: 22px;
  }

  .primary-nav {
    display: none;
  }

  .language-switcher {
    justify-self: end;
  }

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

  .hero__copy {
    max-width: 900px;
  }

  .hero__art {
    width: min(100%, 860px);
  }

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

  .download-card {
    grid-template-columns: 1fr;
  }

  .download-card__actions {
    display: flex;
    min-width: 0;
  }
}

@media (max-width: 800px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header__inner {
    min-height: 66px;
  }

  .brand {
    width: 100px;
  }

  .language-switcher {
    gap: 3px;
  }

  .language-switcher button {
    font-size: 0.67rem;
  }

  .hero {
    padding: 78px 0 86px;
  }

  .hero__grid {
    gap: 50px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading,
  .description-grid,
  .trailer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading {
    align-items: start;
  }

  .fact-grid,
  .angle-list,
  .screenshot-grid,
  .gif-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    position: static;
  }

  .developer-grid {
    grid-template-columns: 150px 1fr;
    align-items: start;
    gap: 36px;
  }

  .developer-mark {
    width: 140px;
    height: 182px;
    box-shadow: 12px 12px 0 rgba(168, 117, 36, 0.14);
  }

  .developer-mark span {
    font-size: 4.5rem;
  }

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

@media (max-width: 560px) {
  .site-header {
    position: relative;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    padding: 13px 0 12px;
    gap: 6px;
  }

  .brand {
    justify-self: center;
  }

  .language-switcher {
    justify-self: center;
  }

  .hero {
    padding-top: 58px;
  }

  .hero::before {
    right: -50%;
    width: 130vw;
    height: 130vw;
  }

  .button-row,
  .download-card__actions {
    display: grid;
    width: 100%;
  }

  .button--text {
    min-height: 44px;
  }

  .hero__art {
    padding: 7px;
  }

  .section-heading {
    margin-bottom: 38px;
    padding-bottom: 22px;
  }

  .fact {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 7px;
  }

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

  .feature {
    min-height: 0;
  }

  .quote-card {
    padding: 28px 24px;
  }

  .quote-card__title-row,
  .long-description__title-row {
    display: block;
  }

  .quote-card__title-row .copy-button,
  .long-description__title-row .copy-button {
    margin-top: 16px;
  }

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

  .developer-mark {
    width: 112px;
    height: 142px;
  }

  .trailer-card {
    min-height: 0;
    padding: 32px 24px 44px;
  }

  .brand-preview {
    min-height: 210px;
    padding: 22px;
  }

  .brand-card__meta {
    align-items: flex-start;
  }

  .download-card {
    padding: 34px 24px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer__inner,
  .site-footer__inner p {
    display: block;
    text-align: center;
  }

  .site-footer__inner p + p {
    margin-top: 9px;
  }

  .site-footer a {
    display: block;
    margin: 6px 0 0;
  }

  .lightbox {
    width: 100vw;
    height: 100dvh;
    border: 0;
  }

  .lightbox__toolbar {
    min-height: 106px;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .lightbox__actions a {
    display: none;
  }

  .lightbox__stage {
    height: calc(100% - 106px);
    padding: 16px 42px;
  }

  .lightbox__stage button {
    width: 36px;
    height: 60px;
  }

  #lightbox-prev {
    left: 2px;
  }

  #lightbox-next {
    right: 2px;
  }
}

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