:root {
  /* Local layout controls in ../preview/ can export these overrides. */
  --page-max: 1280px;
  --page-gutter: clamp(18px, 5vw, 76px);
  --hero-height: 600px;
  --hero-focus: 62%;
  --hero-shade: .79;
  --section-gap: 72px;
  --accent: #ff5938;

  --paper: #f5f4ef;
  --ink: #171815;
  --muted: #50514a;
  --line: #d6d5cd;
  --site-font: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

:root:lang(zh-CN) { --site-font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
:root:lang(en) { --site-font: "Helvetica Neue", Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Helvetica Neue", Arial, var(--site-font); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #8272eb; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
[id] { scroll-margin-top: 22px; }
.shell { width: min(calc(100% - 2 * var(--page-gutter)), var(--page-max)); margin-inline: auto; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-weight: 650; letter-spacing: .12em; }
.skip { position: absolute; top: 8px; left: 8px; padding: 10px; background: white; z-index: 2; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { min-height: 83px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.wordmark { justify-self: start; display: inline-flex; gap: 5px; align-items: center; font-size: 21px; font-weight: 900; letter-spacing: -.075em; white-space: nowrap; }
.wordmark-tail { font-weight: 520; }
.brand-mark { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; margin-right: 5px; background: var(--accent); clip-path: polygon(0 0, 49% 0, 49% 36%, 64% 36%, 64% 0, 100% 0, 100% 49%, 64% 49%, 64% 65%, 100% 65%, 100% 100%, 51% 100%, 51% 65%, 36% 65%, 36% 100%, 0 100%, 0 51%, 36% 51%, 36% 36%, 0 36%); }
.site-nav { display: flex; gap: clamp(22px, 4vw, 62px); }
.site-nav .mobile-contact { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.language-nav { display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.language-nav a { padding: 8px 5px; color: var(--muted); font-size: 11px; font-weight: 650; border-bottom: 2px solid transparent; }
.language-nav a:hover, .language-nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }
.site-nav a, .header-contact { font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.site-nav a { padding-block: 12px; }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-contact { display: inline-flex; white-space: nowrap; gap: 19px; align-items: center; padding: 11px 13px; border: 1px solid var(--ink); }
.header-contact:hover { color: var(--paper); background: var(--ink); }
.header-contact span { font-size: 16px; line-height: 1; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--hero-height);
  color: #f9f7ee;
  isolation: isolate;
  background-color: #191a1a;
  background-image: linear-gradient(90deg, rgb(10 12 13 / var(--hero-shade)), rgb(10 12 13 / calc(var(--hero-shade) * .66)) 41%, rgb(10 12 13 / .07) 78%), url("assets/sol-redux-hero.jpg");
  background-position: center, var(--hero-focus) center;
  background-size: cover;
}
.hero-copy { width: 100%; padding: 64px clamp(26px, 5.2vw, 80px) 73px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 27px; font-size: 11px; }
.hero-kicker span { width: 8px; height: 8px; background: var(--accent); }
.hero h1 { font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; font-weight: 900; text-transform: uppercase; font-size: clamp(66px, 9.75vw, 141px); letter-spacing: -.086em; line-height: .79; }
.hero h1 > span { display: block; }
.title-period { color: var(--accent); }
.hero-description { margin: 31px 0 26px; font: 600 clamp(14px, 1.45vw, 18px)/1.75 var(--site-font); letter-spacing: .055em; text-shadow: 0 1px 10px #141617; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 37px; padding: 0 16px; color: #171815; background: var(--accent); font: 750 13px/1.3 var(--site-font); }
.button:hover { background: #faf7ee; }
.button span { font: 600 23px/1 "Helvetica Neue", Arial, sans-serif; }
.art-note { position: absolute; bottom: 15px; right: 17px; padding: 4px 6px; background: rgb(10 12 13 / .70); color: #f9f7ee; font: 10px/1.4 var(--site-font); letter-spacing: .04em; }

.section { margin-top: var(--section-gap); }
.game { border-top: 1px solid var(--ink); padding-top: 31px; }
.section-heading, .studio { display: grid; grid-template-columns: 1.07fr 1fr; gap: 38px; align-items: end; }
.eyebrow { display: flex; gap: 10px; align-items: center; font-size: 11px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.section h2 { margin-top: 13px; font: 850 clamp(29px, 4.3vw, 57px)/1.1 var(--site-font); letter-spacing: -.055em; }
.section-heading > p, .features p, .studio-details > p:first-child { color: var(--muted); font: 500 15px/1.9 var(--site-font); }
.section-heading > p { max-width: 34em; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.features article { background: #eeede7; border-top: 1px solid var(--line); padding: 24px; }
.features h3 { margin-bottom: 8px; font: 750 18px/1.5 var(--site-font); }
.studio { padding: clamp(24px, 5vw, 66px); background: #20211e; color: var(--paper); }
.studio h2 { font-family: "Helvetica Neue", Arial, sans-serif; font-size: clamp(44px, 6vw, 88px); letter-spacing: -.075em; }
.studio-details > p:first-child { color: #e1e0d8; }
.studio-contact { margin-top: 18px; }
.studio-contact a { display: inline-block; padding-block: 5px; border-bottom: 1px solid var(--accent); font-size: 16px; overflow-wrap: anywhere; }
.studio-contact span { margin-left: 6px; }
.site-footer { display: flex; justify-content: space-between; padding-block: 24px 28px; color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .site-header { min-height: 0; grid-template-columns: 1fr auto; gap: 2px 12px; padding-block: 10px 6px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
  .site-nav .mobile-contact { display: inline; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-contact { display: none; }
  .wordmark { font-size: 17px; }
  .brand-mark { width: 20px; height: 20px; margin-right: 1px; }
  .site-nav { gap: 15px; }
  .site-nav a { padding-block: 8px; font-size: 11px; letter-spacing: .06em; }
  .hero { min-height: clamp(440px, 85vw, var(--hero-height)); }
  .hero h1 { font-size: clamp(47px, 12vw, 88px); }
  .hero-copy { padding-block: 54px 65px; }
  .hero-description { margin-block: 24px 22px; }
  .section { margin-top: min(50px, var(--section-gap)); }
  .section-heading, .studio { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 460px) {
  .features { grid-template-columns: 1fr; }
  .features article { padding: 18px; }
}

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