@font-face {
  font-family: Pyo Sans;
  src: url('/site-assets/plex-sans-kr-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Pyo Sans;
  src: url('/site-assets/plex-sans-kr-600.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: Pyo Serif;
  src: url('/site-assets/noto-serif-kr-900.woff2') format('woff2');
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --bg: #f7f1e4;
  --raised: #fffaf0;
  --ink: #241b12;
  --muted: #6b5c48;
  --line: #d9cdb4;
  --brass: #8a5f15;
  --focus: #8a5f15;
  --accent: #d9a84a;
  --hero-glow: rgba(177, 121, 38, 0.15);
  --nav-bg: rgba(247, 241, 228, 0.95);
  --scene-line: rgba(138, 95, 21, 0.26);
  --panel: #ede3cf;
  --display: 'Pyo Serif', 'Noto Serif KR', serif;
  --sans: 'Pyo Sans', 'Apple SD Gothic Neo', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16120f;
    --raised: #221c17;
    --ink: #f1e8d6;
    --muted: #a89b86;
    --line: #3a3028;
    --brass: #d9a84a;
    --focus: #f3d27a;
    --hero-glow: rgba(217, 168, 74, 0.17);
    --nav-bg: rgba(22, 18, 15, 0.96);
    --scene-line: rgba(217, 168, 74, 0.25);
    --panel: #1c1713;
  }
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}
body:has(.games-disclosure[open]) main::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #0005;
  backdrop-filter: blur(4px);
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
button {
  font: inherit;
}
p {
  margin: 0 0 20px;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.marketing main {
  max-width: none;
  padding: 0;
}
.document-page main {
  max-width: 800px;
  padding: 48px 24px 80px;
  min-height: 60vh;
}
.document-page main h1 {
  font-family: var(--display);
  margin: 12px 0 24px;
}
.document-page main a:not(.button) {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.document-page main summary {
  min-height: 48px;
  padding: 10px 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: none;
  padding: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: block;
}
.header-inner {
  max-width: 1280px;
  min-height: 88px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: auto;
}
.pyo-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.045em;
  white-space: nowrap;
  min-height: 48px;
  color: var(--ink);
}
.pyo-symbol {
  width: 46px;
  height: auto;
  aspect-ratio: 80 / 84;
  display: block;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}
.site-nav > a,
.games-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  min-width: 48px;
  padding: 0 12px;
  cursor: pointer;
  color: var(--muted);
  border-radius: 8px;
}
.site-nav > a:hover,
.games-disclosure > summary:hover,
.site-nav [aria-current],
.games-disclosure > summary.nav-active,
.games-disclosure[open] > summary {
  color: var(--ink);
}
.games-disclosure {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: none;
}
.games-disclosure > summary {
  list-style: none;
}
.games-disclosure > summary::-webkit-details-marker {
  display: none;
}
.games-disclosure[open] > summary svg {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 48px 100px #0005;
  max-height: calc(100dvh - 88px);
  overflow: auto;
  animation: menu-in 0.24s ease both;
}
.mega-inner {
  max-width: 1280px;
  margin: auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
}
.mega-heading > p {
  font: 900 30px/1.5 var(--display);
  margin: 18px 0 24px;
}
.mega-game {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.mega-game:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
}
.mega-art {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2a2117;
}
.mega-art img {
  width: 190%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 20% 50%;
  transform: translateX(-10%);
  transition: transform 0.5s;
}
.mega-game:hover img {
  transform: translateX(-10%) scale(1.06);
}
.mega-game-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.mega-game-copy strong {
  font: 900 32px/1.5 var(--display);
}
.mega-game-copy > span:not(.eyebrow):not(.text-link) {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
}
.mega-game-copy .text-link {
  margin-top: 15px;
}
.mega-bottom {
  max-width: 1216px;
  margin: auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow:lang(en) {
  letter-spacing: 0.16em;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 14px var(--accent);
}
.studio-hero {
  position: relative;
  max-width: 1440px;
  min-height: 790px;
  margin: auto;
  padding: 142px max(32px, calc((100% - 1216px) / 2)) 110px;
  isolation: isolate;
  overflow: clip;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 58%;
  pointer-events: none;
}
.hero-copy a {
  pointer-events: auto;
}
.studio-hero h1 {
  font: 900 clamp(38px, 4.5vw, 68px)/1.45 var(--display);
  margin: 28px 0 28px;
  letter-spacing: 0;
  white-space: nowrap;
}
h1 em,
h2 em,
.janggi-hero .lead em {
  color: var(--brass);
  font-style: normal;
}
.hero-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.pill:hover {
  transform: translateY(-3px);
}
.pill.primary {
  background: linear-gradient(145deg, #f3d27a, #d9a84a);
  color: #241b12;
  border: 1px solid #f3d27a;
  box-shadow: 0 5px 30px #d9a84a20;
}
.pill.primary:hover {
  box-shadow: 0 8px 32px #d9a84a45;
}
.pill.secondary {
  border: 1px solid var(--line);
  background: var(--bg);
}
.pill span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.hero-footnote {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: max(32px, calc((100% - 1216px) / 2));
  right: max(32px, calc((100% - 1216px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.scroll-cue > span:last-child {
  font-size: 22px;
}
.scene-wrap {
  position: absolute;
  right: 0;
  top: 50px;
  width: 57%;
  height: 640px;
  z-index: 1;
}
.piece-scene {
  width: 100%;
  height: 100%;
  position: relative;
  perspective: 1400px;
  contain: layout;
}
.scene-glow {
  position: absolute;
  inset: -50px -60px -30px -100px;
  background: radial-gradient(ellipse at 60% 48%, var(--hero-glow), transparent 66%);
  pointer-events: none;
}
.scene-orbit {
  position: absolute;
  width: 490px;
  height: 490px;
  left: 16%;
  top: 15%;
  border: 1px solid var(--scene-line);
  border-radius: 50%;
  transform: rotateX(65deg) rotateZ(-28deg);
  box-shadow:
    0 0 0 45px #d9a84a04,
    0 0 0 90px #d9a84a03;
}
.scene-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
}
.scene-board {
  position: absolute;
  left: 18%;
  top: 25%;
  width: 68%;
  height: 76%;
  border: 1px solid var(--scene-line);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--raised), var(--bg));
  transform: rotateX(62deg) rotateZ(-28deg);
  box-shadow:
    0 3px 0 var(--line),
    0 7px 0 var(--bg),
    0 9px 0 var(--line),
    0 40px 55px #0003;
}
.board-lines {
  position: absolute;
  inset: 8%;
  border: 1px solid var(--scene-line);
  background:
    linear-gradient(to right, var(--scene-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--scene-line) 1px, transparent 1px);
  background-size: 12.5% 11.1111%;
}
.palace {
  position: absolute;
  width: 21%;
  height: 18.666%;
  left: 39.5%;
  background:
    linear-gradient(
      45deg,
      transparent calc(50% - 0.5px),
      var(--scene-line) 50%,
      transparent calc(50% + 1px)
    ),
    linear-gradient(
      -45deg,
      transparent calc(50% - 0.5px),
      var(--scene-line) 50%,
      transparent calc(50% + 1px)
    );
}
.palace-top {
  top: 8%;
}
.palace-bottom {
  bottom: 8%;
}
.sculpture {
  --size: 270px;
  --depth: 65px;
  position: absolute;
  width: var(--size);
  height: var(--size);
  transform-style: preserve-3d;
}
.motion-ready .sculpture {
  animation-name: piece-float;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.sculpture-han {
  left: 49%;
  top: 16%;
  --face: #211915;
  --edge: #6b5440;
  --highlight: #554237;
  --rim: #d9a84a;
  --inset: #120d09;
  animation-delay: -3s;
}
.sculpture-cho {
  left: 15%;
  top: 39%;
  --size: 250px;
  --depth: 58px;
  --face: #f8f1dd;
  --edge: #b5a17b;
  --highlight: #f4e7c7;
  --rim: #e6d3ac;
  --inset: #e1cfa5;
}
.piece-solid {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(43deg) rotateY(-14deg) rotateZ(-27deg);
}
.sculpture-han .piece-solid {
  transform: rotateX(42deg) rotateY(-18deg) rotateZ(-18deg);
}
.piece-face,
.piece-bottom {
  position: absolute;
  inset: 0;
  clip-path: polygon(
    29.2893% 0,
    70.7107% 0,
    100% 29.2893%,
    100% 70.7107%,
    70.7107% 100%,
    29.2893% 100%,
    0 70.7107%,
    0 29.2893%
  );
  background: var(--rim);
}
.piece-bottom {
  transform: translateZ(0);
  background: var(--edge);
}
.piece-face {
  transform: translateZ(var(--depth));
  backface-visibility: hidden;
  background: linear-gradient(135deg, #fff0bb, var(--rim) 30%, var(--edge) 70%, var(--rim));
  display: grid;
  place-items: center;
}
.piece-inlay {
  position: absolute;
  inset: 4px;
  clip-path: inherit;
  background: radial-gradient(ellipse at 20% 10%, var(--highlight), var(--face) 65%);
  display: grid;
  place-items: center;
}
.piece-inlay:before {
  content: '';
  position: absolute;
  inset: 12px;
  clip-path: inherit;
  background: var(--rim);
  opacity: 0.25;
}
.piece-inlay:after {
  content: '';
  position: absolute;
  inset: 14px;
  clip-path: inherit;
  background: linear-gradient(135deg, var(--highlight), var(--face) 65%);
  box-shadow: inset 0 2px 5px #0005;
}
.piece-inlay img {
  position: relative;
  z-index: 1;
  width: 86%;
  height: 86%;
  filter: drop-shadow(0 -1px 1px #0008) drop-shadow(0 1px 0 #fff5);
}
.piece-wall {
  position: absolute;
  left: calc(50% + var(--wall-x));
  top: calc(50% + var(--wall-y));
  width: calc(var(--size) * 0.414214 + 1px);
  height: var(--depth);
  transform: translate(-50%, -50%) translateZ(calc(var(--depth) / 2)) rotateZ(var(--wall-angle))
    rotateX(90deg);
  background: linear-gradient(
    to bottom,
    var(--rim),
    var(--highlight) 5%,
    var(--edge) 12%,
    var(--face) 85%,
    var(--edge) 95%,
    var(--rim)
  );
  filter: brightness(calc(0.72 + var(--wall-light) * 0.13));
  backface-visibility: hidden;
}
.scene-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  gap: 12px;
}
.scene-caption > span:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 16px;
}
.caption-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--brass);
}
.section-wrap {
  max-width: 1280px;
  padding: 0 32px;
  margin: 0 auto;
}
.games-section {
  padding-top: 64px;
  padding-bottom: 110px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-heading h2 {
  font: 900 34px/1.5 var(--display);
  margin: 14px 0 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}
.text-link:hover {
  color: var(--brass);
}
.text-link > span {
  font-size: 21px;
  font-weight: 400;
}
.featured-game {
  display: grid;
  grid-template-columns: 42% 58%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  min-height: 530px;
}
.game-card-copy {
  padding: 52px 48px;
  position: relative;
  z-index: 1;
}
.game-card-copy h2 {
  font: 900 52px/1.5 var(--display);
  margin: 16px 0 20px;
}
.game-card-copy .game-tagline {
  font: 900 25px/1.6 var(--display);
  color: var(--ink);
}
.game-card-copy > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}
.game-tags > span {
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}
.game-play-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 190px;
  min-height: 48px;
  font-size: 12px;
  margin-top: 8px;
}
.game-card-art {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1c1713;
}
.game-card-art:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 70%, #16120fc9);
}
.game-card-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  transition: transform 1s ease;
}
.art-caption {
  position: absolute;
  bottom: 30px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #f1e8d6;
  z-index: 1;
  font-size: 12px;
}
.art-caption > span {
  font-size: 10px;
  opacity: 0.75;
}
.studio-statement {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  padding-top: 74px;
  padding-bottom: 110px;
  border-top: 1px solid var(--line);
}
.studio-statement h2 {
  font: 900 36px/1.6 var(--display);
  margin: 20px 0 0;
}
.studio-statement > div:last-child {
  padding-top: 40px;
}
.studio-statement p {
  font-size: 20px;
  line-height: 1.9;
}
.studio-statement .muted {
  color: var(--muted);
  font-size: 14px;
}
.faq-section {
  padding-top: 65px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
}
.faq-section > h2 {
  font: 900 30px var(--display);
  margin: 16px 0 32px;
}
.faq-section details {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.faq-section summary {
  min-height: 72px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  list-style: none;
}
.faq-section summary::-webkit-details-marker {
  display: none;
}
.faq-section summary:after {
  content: '+';
  font-size: 23px;
  color: var(--brass);
}
.faq-section details[open] > summary:after {
  content: '−';
}
.faq-section details p {
  font-size: 14px;
  max-width: 830px;
  margin: 0;
  padding: 0 32px 24px 0;
  color: var(--muted);
  line-height: 1.9;
}
.faq-section > .note {
  margin-top: 30px;
  font-size: 12px;
}
.faq-section .en {
  padding-top: 32px;
}
.faq-section .en h3 {
  font-size: 14px;
}
.faq-section .en p {
  font-size: 13px;
  color: var(--muted);
}
.collection-intro {
  padding-top: 84px;
  padding-bottom: 55px;
}
.collection-intro h1 {
  font:
    400 clamp(70px, 10vw, 140px)/1.15 Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 20px 0 25px;
}
.title-dot {
  color: var(--brass);
}
.collection-intro > p {
  font-size: 17px;
  color: var(--muted);
}
.collection-games {
  padding-bottom: 80px;
}
.collection-note {
  padding-top: 55px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}
.collection-note > p {
  font: 900 28px/1.6 var(--display);
  margin: 18px 0;
}
.about-hero {
  padding-top: 100px;
  padding-bottom: 65px;
}
.about-hero h1 {
  font: 900 clamp(34px, 5vw, 64px)/1.5 var(--display);
  margin: 26px 0 30px;
}
.about-hero > p {
  color: var(--muted);
  font-size: 17px;
}
.about-art {
  max-width: 1440px;
  margin: auto;
  overflow: hidden;
  background: #2a2117;
}
.about-art img {
  width: 100%;
  height: auto;
  display: block;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.values h2 {
  font: 900 22px/1.6 var(--display);
  margin: 20px 0;
}
.values p {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}
.about-cta {
  padding-top: 70px;
  padding-bottom: 85px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.about-cta h2 {
  font: 900 40px/1.6 var(--display);
  margin: 24px 0 32px;
}
.credits {
  padding-top: 32px;
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
}
.credits h2 {
  font-size: 14px;
  margin: 0 0 20px;
}
.credits p {
  font-size: 12px;
  color: var(--muted);
  max-width: 850px;
}
.credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.janggi-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 80px;
}
.janggi-intro {
  min-width: 0;
}
.game-back {
  display: flex;
  width: fit-content;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  gap: 12px;
}
.janggi-hero h1 {
  font: 900 clamp(46px, 5.8vw, 80px)/1.3 var(--display);
  margin: 24px 0 32px;
  letter-spacing: -0.06em;
}
.janggi-hero h1 > span {
  display: block;
  font: 400 11px/1.5 var(--sans);
  letter-spacing: 0.5em;
  color: var(--muted);
  margin: 14px 0 0 4px;
}
.janggi-hero .lead {
  font: 900 clamp(23px, 2.3vw, 30px)/1.65 var(--display);
  margin-bottom: 22px;
}
.janggi-hero .description {
  color: var(--muted);
  max-width: 490px;
  font-size: 15px;
}
.janggi-hero-art {
  min-width: 0;
  position: relative;
  isolation: isolate;
  perspective: 1200px;
  padding: 34px 0 0;
}
.board-halo {
  position: absolute;
  inset: 3% -4% 9%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--hero-glow), transparent 70%);
}
.board-halo:after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid var(--scene-line);
  transform: rotateX(60deg) rotateZ(-25deg);
}
.janggi-board-tilt {
  transition: transform 0.5s ease-out;
}
.janggi-board-float {
  transform-origin: 50% 60%;
}
.janggi-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 1098;
  object-fit: contain;
}
.board-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 32px 30px 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.board-caption > span:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 900 18px var(--display);
}
.board-caption i {
  width: 40px;
  height: 1px;
  background: var(--line);
}
.janggi-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.janggi-hero .note {
  font-size: 12px;
  margin: 8px 0 0;
}
.janggi-availability {
  margin-top: 24px;
}
.janggi-availability .status-dot {
  display: inline-block;
  margin-right: 6px;
}

.rank-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 90px;
  border-top: 1px solid var(--line);
}
.rank-copy h2 {
  font: 900 clamp(26px, 2.5vw, 36px)/1.6 var(--display);
  margin: 20px 0 26px;
}
.rank-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.rank-copy .note {
  font-size: 12px;
}
.rank-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  background: radial-gradient(ellipse at 50% 35%, var(--hero-glow), transparent 68%);
}
.rank-step {
  text-align: center;
  min-width: 0;
}
.rank-piece {
  display: grid;
  place-items: center;
  height: 210px;
  perspective: 800px;
}
.rank-step .sculpture {
  position: relative;
  left: auto;
  top: auto;
  --size: 120px;
  --depth: 6px;
}
.rank-dan .sculpture {
  --depth: 45.6px;
  animation-delay: -2s;
}
.rank-master .sculpture {
  --depth: 79.2px;
  animation-delay: -4s;
}
.rank-step strong {
  display: block;
  font: 900 22px/1.6 var(--display);
}
.rank-step > span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}
.section-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 3px;
}
.play-styles,
.materials-section {
  padding-top: 76px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
}
.play-style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.play-style {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--raised);
}
.story-gold {
  --story-glow: #d9a84a28;
}
.story-blue {
  --story-glow: #5c85b928;
}
.story-green {
  --story-glow: #65ac8828;
}
.story-art,
.value-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  height: 230px;
  background: radial-gradient(ellipse, var(--story-glow), transparent 70%);
}
.story-art img,
.value-art img {
  width: 152px;
  height: auto;
  aspect-ratio: 1;
}
.story-orbit {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotateX(65deg) rotateZ(-20deg);
  bottom: 5px;
}
.story-copy {
  padding: 16px 28px 30px;
}
.story-copy h3 {
  font: 900 22px/1.6 var(--display);
  margin: 18px 0;
}
.story-copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.story-detail {
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.play-more {
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.value-art {
  margin: 0 0 36px;
  height: 200px;
}
.craft-section {
  padding-top: 10px;
  padding-bottom: 80px;
}
.craft-teaser {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #281f17;
  color: #f1e8d6;
}
.craft-art {
  display: grid;
  align-items: center;
  overflow: hidden;
  min-width: 0;
  background: #30261b;
}
.craft-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1140 / 450;
}
.craft-copy {
  padding: 48px 44px;
}
.craft-copy h2 {
  font: 900 clamp(28px, 3vw, 38px)/1.5 var(--display);
  margin: 22px 0;
}
.craft-copy .eyebrow,
.craft-copy h2 em,
.craft-copy .text-link {
  color: #d9a84a;
}
.craft-copy p {
  color: #c5b69f;
  font-size: 13px;
  line-height: 2;
}
.craft-teaser:hover .text-link > span {
  transform: translate(3px, -3px);
}
.text-link > span,
.pill > span {
  transition: transform 0.25s ease;
}
.pill:hover > span {
  transform: translate(2px, -2px);
}
.game-chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid var(--line);
}
.game-chapters a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.game-chapters a > span {
  color: var(--brass);
}
.game-chapters a:hover {
  color: var(--brass);
}
.materials-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--raised);
}
.materials-stage {
  background: #30261b;
  color: #f1e8d6;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
}
.material-frame {
  display: none;
  margin: 0;
  height: 100%;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.material-frame:first-child {
  display: grid;
}
.materials-lab:has(input:checked) .material-frame {
  display: none;
}
.materials-lab:has([value='ivory']:checked) .material-ivory,
.materials-lab:has([value='walnut']:checked) .material-walnut,
.materials-lab:has([value='marble']:checked) .material-marble,
.materials-lab:has([value='bronze']:checked) .material-bronze,
.materials-lab:has([value='silver']:checked) .material-silver,
.materials-lab:has([value='gold']:checked) .material-gold,
.materials-lab:has([value='titanium']:checked) .material-titanium,
.materials-lab:has([value='ebony']:checked) .material-ebony {
  display: grid;
}
.material-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1140 / 450;
}
.material-frame figcaption {
  position: relative;
  padding: 20px 32px 30px;
  background: #30261b;
}
.material-frame strong {
  display: block;
  font: 900 26px/1.5 var(--display);
  margin-bottom: 6px;
}
.material-frame figcaption > span {
  color: #c5b69f;
  font-size: 12px;
}
.materials-picker {
  min-width: 0;
  margin: 0;
  padding: 30px 28px;
  border: 0;
}
.materials-picker legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
  font: 900 20px/1.6 var(--display);
}
.materials-picker > p {
  clear: both;
  font-size: 12px;
  color: var(--muted);
}
.material-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.material-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  position: relative;
  margin: 0;
}
.material-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.material-option:has(input:checked) {
  border-color: var(--brass);
  box-shadow: inset 0 0 0 1px var(--brass);
  color: var(--brass);
}
.material-option:hover {
  border-color: var(--brass);
}
.material-option:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.material-swatch {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #0002;
  box-shadow: inset 0 1px 2px #fff6;
}
.swatch-ivory {
  background: linear-gradient(135deg, #fffaf0, #d6c39d);
}
.swatch-walnut {
  background: linear-gradient(135deg, #a16d47, #452b1b);
}
.swatch-marble {
  background: linear-gradient(125deg, #f6f6f0 35%, #a9aaa5 40%, #eeeeea 50%, #c4c6c3 90%);
}
.swatch-bronze {
  background: linear-gradient(135deg, #e6b77d, #8f512a);
}
.swatch-silver {
  background: linear-gradient(135deg, #e6eaef, #767b87, #c9ced4);
}
.swatch-gold {
  background: linear-gradient(135deg, #fff0a0, #a57816, #ffd645);
}
.swatch-titanium {
  background: linear-gradient(135deg, #9584d6, #3b52d6, #a5c9d5);
}
.swatch-ebony {
  background: linear-gradient(135deg, #655047, #191410);
  border-color: #dcaa45;
}
.materials-picker .material-caption {
  font-size: 10px;
  margin: 18px 0 0;
}
.materials-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 22px 0 0;
}
.play-invite {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
}
.play-invite h2 {
  font: 900 clamp(30px, 4vw, 48px)/1.5 var(--display);
  margin: 22px 0;
}
.play-invite p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.invite-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: radial-gradient(ellipse, var(--hero-glow), transparent 65%);
}
.invite-art img {
  width: 190px;
  height: auto;
  aspect-ratio: 1;
}
.invite-art > span {
  font: 900 18px/1.8 var(--display);
  text-align: center;
  color: var(--muted);
}
.faq-section .english-details {
  border-bottom: 0;
}
.faq-section .english-details > summary {
  font: 900 20px/1.6 var(--display);
}
.faq-section .english-copy p {
  padding: 0;
  margin: 8px 0 24px;
}
.site-footer {
  max-width: 1280px;
  border-top: 1px solid var(--line);
  padding: 45px 32px 28px;
  font-size: 12px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 34px;
}
.footer-top > p {
  margin: 0;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.site-footer .footer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  line-height: 1.5;
}
.site-footer a:hover {
  color: var(--brass);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.footer-bottom > a {
  min-height: 48px;
  display: flex;
  align-items: center;
}
@keyframes piece-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateZ(-2deg);
  }
  50% {
    transform: translate3d(0, -20px, 16px) rotateZ(3deg);
  }
}
.motion-ready .janggi-board-float {
  animation: board-float 9s ease-in-out infinite;
}
.motion-ready .scene-orbit {
  animation: orbit-drift 18s ease-in-out infinite;
}
.rank-showcase.motion-ready .sculpture {
  animation-name: rank-float;
  animation-duration: 7s;
}
.game-card-art.motion-ready img,
.about-art.motion-ready img,
.mega-art.motion-ready img {
  animation: image-drift 16s ease-in-out infinite alternate;
}
.story-art.motion-ready img,
.value-art.motion-ready img,
.invite-art.motion-ready img {
  animation: rank-float 7s ease-in-out infinite;
}
.craft-art.motion-ready img,
.materials-stage.motion-ready img {
  animation: image-drift 16s ease-in-out infinite alternate;
}
.story-art.motion-ready .story-orbit {
  animation: orbit-drift 18s ease-in-out infinite;
}
.motion-off .sculpture,
.motion-off .scene-orbit,
.motion-off .janggi-board-float,
.motion-off .story-orbit,
.motion-off img {
  animation-play-state: paused !important;
}
.reveal-pending {
  opacity: 0;
}
.reveal-in {
  animation: section-in 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
@keyframes board-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.75deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(0.75deg);
  }
}
@keyframes orbit-drift {
  0%,
  100% {
    transform: rotateX(65deg) rotateZ(-28deg);
  }
  50% {
    transform: rotateX(70deg) rotateZ(-18deg);
  }
}
@keyframes rank-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateZ(-1deg);
  }
  50% {
    transform: translate3d(0, -7px, 0) rotateZ(2deg);
  }
}
@keyframes image-drift {
  from {
    transform: scale(1.015) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.055) translate3d(-0.5%, -0.5%, 0);
  }
}
@keyframes section-in {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .studio-hero {
    padding-left: 112px;
    padding-right: 112px;
  }
  .scroll-cue {
    left: 112px;
    right: 112px;
  }
}
@media (max-width: 1100px) {
  .studio-hero {
    min-height: 730px;
    padding-top: 130px;
  }
  .studio-hero h1 {
    font-size: 48px;
  }
  .scene-wrap {
    right: -65px;
    transform: scale(0.85);
    transform-origin: 70% 40%;
    width: 680px;
  }
  .hero-copy {
    width: 65%;
  }
  .game-card-copy {
    padding: 38px 32px;
  }
  .game-card-copy h2 {
    font-size: 44px;
  }
  .mega-inner {
    gap: 30px;
  }
  .mega-bottom {
    margin: 0 32px;
  }
  .studio-statement {
    gap: 45px;
  }
  .studio-statement h2 {
    font-size: 30px;
  }
}
@media (max-width: 800px) {
  .play-style-grid {
    gap: 14px;
  }
  .story-copy {
    padding: 12px 18px 22px;
  }
  .story-copy h3 {
    font-size: 18px;
  }
  .story-copy p {
    font-size: 13px;
  }
  .story-art {
    height: 190px;
  }
  .story-art img {
    width: 122px;
  }
  .craft-teaser,
  .materials-lab {
    grid-template-columns: 1fr;
  }
  .craft-copy {
    padding: 36px;
  }
  .craft-art {
    min-height: 220px;
  }
  .material-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .materials-stage {
    min-height: 310px;
  }
  .section-heading:has(.section-intro) {
    align-items: flex-start;
    flex-direction: column;
  }
  .play-styles,
  .materials-section {
    padding-top: 50px;
    padding-bottom: 55px;
  }
  .craft-section {
    padding-bottom: 55px;
  }
  .header-inner {
    min-height: 76px;
    padding: 0 24px;
  }
  .site-nav {
    gap: 8px;
  }
  .site-nav > a,
  .games-disclosure > summary {
    padding: 0 8px;
    font-size: 13px;
  }
  .pyo-logo {
    font-size: 20px;
    gap: 9px;
  }
  .pyo-symbol {
    width: 38px;
  }
  .mega-menu {
    max-height: calc(100dvh - 76px);
  }
  .mega-inner {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
  .mega-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }
  .mega-heading > p {
    display: none;
  }
  .mega-heading .eyebrow {
    font-size: 9px;
  }
  .mega-game {
    min-height: 230px;
  }
  .mega-bottom {
    margin: 0 24px;
    font-size: 10px;
    gap: 20px;
  }
  .studio-hero {
    padding: 68px 24px 80px;
    min-height: 1060px;
  }
  .hero-copy {
    width: 100%;
    text-align: center;
  }
  .studio-hero h1 {
    font-size: clamp(36px, 7vw, 54px);
    margin: 22px 0;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-footnote {
    margin-top: 18px;
  }
  .scene-wrap {
    top: 415px;
    left: 50%;
    right: auto;
    width: 680px;
    height: 610px;
    transform: translateX(-50%) scale(0.9);
    transform-origin: 50% 0;
  }
  .scroll-cue {
    left: 24px;
    right: 24px;
    bottom: 22px;
  }
  .section-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .games-section {
    padding-top: 45px;
    padding-bottom: 65px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .featured-game {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .game-card-copy {
    padding: 36px;
  }
  .game-card-copy .game-tagline {
    font-size: 22px;
  }
  .game-card-art {
    height: 400px;
  }
  .game-card-art img {
    object-position: center 42%;
  }
  .studio-statement {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 50px;
    padding-bottom: 65px;
  }
  .studio-statement > div:last-child {
    padding-top: 0;
  }
  .studio-statement p {
    font-size: 18px;
  }
  .faq-section {
    padding-top: 45px;
    padding-bottom: 65px;
  }
  .collection-intro {
    padding-top: 60px;
  }
  .collection-games {
    padding-bottom: 55px;
  }
  .values {
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 55px;
  }
  .values h2 {
    font-size: 18px;
  }
  .about-hero {
    padding-top: 65px;
  }
  .about-hero > p {
    font-size: 15px;
  }
  .janggi-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 55px;
    gap: 32px;
  }
  .janggi-hero-art {
    width: 100%;
    max-width: 570px;
    margin: 0 auto;
    padding-top: 8px;
  }
  .janggi-intro .description {
    max-width: 540px;
  }
  .rank-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 55px;
    padding-bottom: 65px;
  }
  .rank-showcase {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }

  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top > p {
    display: none;
  }
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 480px) {
  .play-style-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .story-art {
    height: 200px;
  }
  .story-copy {
    padding: 12px 24px 26px;
  }
  .story-copy h3 {
    font-size: 22px;
  }
  .value-art {
    height: 180px;
    margin-bottom: 24px;
  }
  .craft-copy {
    padding: 30px 24px;
  }
  .craft-art {
    min-height: 180px;
  }
  .game-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
  }
  .game-chapters a {
    font-size: 11px;
  }
  .materials-picker {
    padding: 24px 20px;
  }
  .material-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .materials-stage {
    min-height: 250px;
  }
  .material-frame figcaption {
    padding: 16px 24px 24px;
  }
  .material-frame strong {
    font-size: 22px;
  }
  .play-invite {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 50px;
    padding-bottom: 55px;
  }
  .invite-art {
    flex-direction: row;
    gap: 24px;
  }
  .invite-art img {
    width: 120px;
  }
  .invite-art > span {
    font-size: 14px;
  }
  .faq-section .english-details > summary {
    font-size: 17px;
  }
  .header-inner {
    padding: 0 16px;
    gap: 8px;
    min-height: 72px;
  }
  .pyo-logo {
    font-size: 17px;
    letter-spacing: -0.6px;
    gap: 7px;
  }
  .pyo-symbol {
    width: 32px;
  }
  .site-nav {
    gap: 0;
  }
  .site-nav > a,
  .games-disclosure > summary {
    font-size: 12px;
    padding: 0 8px;
  }
  .games-disclosure > summary {
    gap: 5px;
  }
  .mega-menu {
    max-height: calc(100dvh - 72px);
  }
  .mega-inner {
    padding: 20px 16px;
  }
  .mega-game {
    grid-template-columns: 0.8fr 1fr;
    min-height: 210px;
  }
  .mega-game-copy {
    padding: 20px 16px;
    gap: 6px;
  }
  .mega-game-copy strong {
    font-size: 26px;
  }
  .mega-game-copy .eyebrow {
    font-size: 9px;
  }
  .mega-game-copy > span:not(.eyebrow):not(.text-link) {
    font-size: 12px;
  }
  .mega-bottom {
    margin: 0 16px;
  }
  .mega-bottom > span:last-child {
    display: none;
  }
  .studio-hero {
    padding-top: 52px;
    min-height: 920px;
  }
  .studio-hero h1 {
    font-size: 35px;
    line-height: 1.55;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    gap: 8px;
  }
  .pill {
    font-size: 12px;
    padding: 12px 20px;
    gap: 16px;
  }
  .hero-footnote {
    font-size: 10px;
  }
  .scene-wrap {
    top: 365px;
    transform: translateX(-50%) scale(0.68);
    height: 650px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading > .text-link {
    font-size: 11px;
    gap: 10px;
    margin-top: 25px;
  }
  .game-card-copy {
    padding: 30px 25px;
  }
  .game-card-copy h2 {
    font-size: 42px;
  }
  .game-card-art {
    height: 300px;
  }
  .art-caption {
    left: 20px;
    right: 20px;
  }
  .art-caption > span {
    display: none;
  }
  .studio-statement h2 {
    font-size: 28px;
  }
  .faq-section > h2 {
    font-size: 25px;
  }
  .faq-section summary {
    font-size: 13px;
  }
  .faq-section details p {
    font-size: 12px;
  }
  .collection-intro h1 {
    font-size: 84px;
  }
  .collection-intro > p {
    font-size: 14px;
  }
  .collection-note > p {
    font-size: 23px;
  }
  .about-hero h1 {
    font-size: 32px;
  }
  .about-art img {
    width: 170%;
    max-width: none;
    margin-left: -35%;
  }
  .values {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .values article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }
  .values article:last-child {
    border: 0;
  }
  .values h2 {
    font-size: 23px;
  }
  .about-cta h2 {
    font-size: 29px;
  }
  .janggi-hero h1 {
    font-size: clamp(42px, 13vw, 56px);
  }
  .janggi-hero .lead {
    font-size: 24px;
  }
  .game-back {
    margin-bottom: 16px;
  }
  .janggi-hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .board-caption {
    margin: 24px 4px 0;
    font-size: 8px;
  }
  .rank-showcase {
    gap: 6px;
  }
  .rank-piece {
    height: 150px;
  }
  .rank-step .sculpture {
    --size: 82px;
    --depth: 4.1px;
  }
  .rank-dan .sculpture {
    --depth: 31.16px;
  }
  .rank-master .sculpture {
    --depth: 54.12px;
  }
  .rank-step strong {
    font-size: 19px;
  }
  .rank-step > span {
    font-size: 10px;
  }
  .footer-nav {
    gap: 4px 20px;
  }
  .footer-bottom {
    gap: 0 16px;
  }
  .footer-bottom > span:first-child {
    width: 100%;
    font-size: 10px;
  }
  .footer-bottom > span:nth-child(2) {
    margin-right: auto;
  }
}
@media (max-width: 360px) {
  .pyo-logo {
    font-size: 15px;
    gap: 5px;
  }
  .pyo-symbol {
    width: 28px;
  }
  .site-nav > a,
  .games-disclosure > summary {
    padding: 0 7px;
  }
  .studio-hero h1 {
    font-size: 30px;
  }
  .studio-hero {
    padding-left: 16px;
    padding-right: 16px;
  }
  .scene-wrap {
    transform: translateX(-50%) scale(0.59);
    top: 390px;
  }
  .hero-actions .pill {
    padding: 12px 16px;
    font-size: 11px;
  }
  .section-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  [data-tilt-layer] {
    transform: none !important;
  }
  .reveal-pending {
    opacity: 1;
  }
}

/* Keep the scene caption outside the scaled 3D viewport. */
.scene-meta {
  position: absolute;
  left: 58%;
  right: max(32px, calc((100% - 1216px) / 2));
  bottom: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 3;
}
@media (max-width: 800px) {
  .scene-meta {
    left: 24px;
    right: 24px;
    bottom: 105px;
  }
}
@media (max-width: 480px) {
  .scene-meta .scene-caption > span:first-child {
    font-size: 14px;
  }
}
