:root {
  --cream: #f6f0e0;
  --cream-deep: #eadfc5;
  --paper: #fffdf7;
  --navy: #172541;
  --navy-soft: #263a5e;
  --ink: #33291c;
  --muted: #756956;
  --coral: #f25f4c;
  --coral-deep: #d94736;
  --teal: #2fb7aa;
  --teal-deep: #138d84;
  --gold: #f4c84a;
  --line: rgba(23, 37, 65, 0.13);
  --line-light: rgba(255, 253, 247, 0.18);
  --shadow-soft: 0 24px 70px rgba(23, 37, 65, 0.12);
  --shadow-small: 0 12px 30px rgba(23, 37, 65, 0.1);
  --page-width: 1180px;
  --gutter: clamp(20px, 4vw, 38px);
  --section-space: clamp(76px, 10vw, 136px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(244, 200, 74, 0.13), transparent 24rem),
    radial-gradient(circle at 93% 8%, rgba(47, 183, 170, 0.09), transparent 28rem),
    var(--cream);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: radial-gradient(rgba(23, 37, 65, 0.18) 0.55px, transparent 0.55px);
  background-size: 12px 12px;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  transform: translateY(-160%);
  border-radius: 14px;
  color: var(--paper);
  background: var(--navy);
  font-weight: 800;
  transition: transform 160ms ease;
}

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

.container {
  width: min(100% - (var(--gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 240, 224, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand-lockup > span:not(.duck-mark) {
  display: block;
  width: 154px;
  height: 36px;
  overflow: hidden;
  background: url("/assets/house-duck-wordmark.png") center / contain no-repeat;
  font-size: 0;
}

.duck-mark {
  display: inline-block;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: url("/assets/house-duck-logo.png") center / contain no-repeat;
}

.duck-mark::before {
  display: none;
}

.duck-mark::after {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .language-link {
  color: var(--teal-deep);
}

.language-picker {
  position: relative;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.language-picker summary {
  display: inline-flex;
  min-width: 58px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  list-style: none;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary::after {
  content: "▾";
  color: var(--teal-deep);
  font-size: 0.72rem;
}

.language-picker[open] summary::after {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  display: grid;
  min-width: 172px;
  overflow: hidden;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.site-nav .language-menu a {
  min-height: 44px;
  padding: 0 11px;
  border-radius: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav .language-menu a::after {
  display: none;
}

.site-nav .language-menu a:hover,
.site-nav .language-menu a[aria-current="page"] {
  color: var(--teal-deep);
  background: rgba(47, 183, 170, 0.1);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  cursor: pointer;
}

.menu-button-lines,
.menu-button-lines::before,
.menu-button-lines::after {
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button-lines {
  position: relative;
  margin: auto;
}

.menu-button-lines::before,
.menu-button-lines::after {
  content: "";
}

.menu-button-lines::before {
  transform: translateY(-6px);
}

.menu-button-lines::after {
  transform: translateY(6px);
}

.menu-button[aria-expanded="true"] .menu-button-lines {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button-lines::before {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button-lines::after {
  transform: rotate(-45deg);
}

.eyebrow,
.section-kicker,
.status-pill {
  margin: 0;
  color: var(--coral-deep);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: var(--gold);
}

.display-title {
  margin: 18px 0 28px;
  color: var(--navy);
  font-size: clamp(3.65rem, 10.2vw, 8.4rem);
  font-weight: 900;
  letter-spacing: -0.072em;
  line-height: 0.86;
  text-wrap: balance;
}

.display-title .accent {
  color: var(--coral);
}

.section-title {
  margin: 14px 0 24px;
  color: var(--navy);
  font-size: clamp(2.25rem, 5.3vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-title-light {
  color: var(--paper);
}

.lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.3rem);
  font-weight: 520;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button::after {
  content: "↗";
  font-size: 1.1em;
}

.button-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 6px 0 var(--coral-deep);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--coral-deep);
}

.button-primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--coral-deep);
}

.button-secondary {
  border-color: var(--line);
  color: var(--navy);
  background: var(--paper);
  box-shadow: 0 5px 0 rgba(23, 37, 65, 0.13);
}

.button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(23, 37, 65, 0.13);
}

.button-muted {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 5px 0 #d6a92e;
  cursor: default;
}

.button-muted::after {
  content: "●";
  color: var(--coral);
  font-size: 0.65rem;
}

.studio-hero {
  position: relative;
  display: grid;
  min-height: min(840px, calc(100svh - 78px));
  align-items: center;
  padding-block: clamp(64px, 9vw, 112px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-showcase {
  position: relative;
  padding: clamp(8px, 1.1vw, 14px);
  border: 2px solid var(--navy);
  border-radius: clamp(24px, 3vw, 38px);
  background: var(--paper);
  box-shadow: 13px 15px 0 var(--navy), var(--shadow-soft);
  transform: rotate(1deg);
}

.hero-showcase img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: clamp(17px, 2.2vw, 28px);
}

.hero-showcase-note {
  position: absolute;
  right: 22px;
  bottom: -22px;
  padding: 9px 13px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  color: var(--paper);
  background: var(--navy);
  box-shadow: 4px 5px 0 var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-duo {
  min-height: clamp(420px, 42vw, 560px);
  overflow: hidden;
  background: var(--navy);
}

.hero-duo figure {
  position: absolute;
  margin: 0;
}

.hero-duo-quirky {
  top: 8%;
  right: 6%;
  left: 6%;
  overflow: hidden;
  border: 2px solid var(--paper);
  border-radius: clamp(16px, 2vw, 26px);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.23);
  transform: rotate(-1deg);
}

.hero-duo .hero-duo-quirky img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-duo-k {
  right: 8%;
  bottom: -9%;
  z-index: 2;
  width: 29%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: clamp(13px, 2vw, 21px);
  background: #0b110e;
  box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.36);
  transform: rotate(3deg);
}

.hero-duo .hero-duo-k img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.section {
  padding-block: var(--section-space);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.58fr);
  align-items: end;
  gap: 44px;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-heading .lead {
  justify-self: end;
}

.featured-game-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.72fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(28px, 5vw, 48px);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.featured-game-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(8px, 1.3vw, 16px);
  min-height: 430px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 50px);
  background:
    radial-gradient(circle at 15% 12%, rgba(244, 200, 74, 0.22), transparent 30%),
    radial-gradient(circle at 88% 84%, rgba(47, 183, 170, 0.25), transparent 34%),
    var(--navy);
}

.featured-game-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 3px solid var(--paper);
  border-radius: clamp(14px, 2vw, 22px);
  box-shadow: 7px 10px 0 rgba(0, 0, 0, 0.24);
}

.featured-game-visual img:first-child {
  transform: translateY(12px) rotate(-2.5deg);
}

.featured-game-visual img:nth-child(2) {
  position: relative;
  z-index: 1;
  transform: scale(1.06);
}

.featured-game-visual img:last-child {
  transform: translateY(12px) rotate(2.5deg);
}

.featured-game-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.featured-logo {
  width: min(240px, 70%);
  height: auto;
  margin: 24px 0;
}

.featured-game-content h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.featured-game-content p {
  margin: 0;
  color: var(--muted);
}

.games-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.game-catalog-card {
  display: grid;
  grid-template-rows: minmax(390px, 0.95fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(28px, 4vw, 42px);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.game-catalog-visual {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(13px, 2.2vw, 24px);
  overflow: hidden;
  padding: clamp(32px, 5vw, 54px) clamp(28px, 4vw, 48px) 0;
}

.game-catalog-visual::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent 78%, rgba(0, 0, 0, 0.22));
}

.game-catalog-visual img {
  position: relative;
  z-index: 1;
  width: min(39%, 190px);
  height: auto;
  object-fit: contain;
  border: 2px solid var(--paper);
  border-radius: clamp(14px, 2vw, 21px) clamp(14px, 2vw, 21px) 0 0;
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.24);
}

.game-catalog-visual img:first-child {
  transform: translateY(18px) rotate(-2deg);
}

.game-catalog-visual img:last-child {
  transform: rotate(2deg);
}

.game-catalog-visual-quirky {
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 200, 74, 0.26), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(47, 183, 170, 0.28), transparent 34%),
    var(--navy);
}

.game-catalog-visual-quirky img {
  width: min(29%, 145px);
}

.game-catalog-visual-k {
  background:
    linear-gradient(rgba(225, 201, 77, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(225, 201, 77, 0.035) 1px, transparent 1px),
    #0b110e;
  background-size: 22px 22px;
}

.game-catalog-visual-k img {
  border-color: #e1c94d;
  border-radius: 0;
  image-rendering: pixelated;
}

.game-catalog-copy {
  padding: clamp(32px, 4.5vw, 50px);
}

.game-catalog-copy .featured-logo {
  width: min(210px, 62%);
  margin: 22px 0 20px;
}

.game-catalog-copy h3 {
  margin: 20px 0 16px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.game-catalog-copy p {
  margin: 0 0 24px;
  color: var(--muted);
}

.catalog-k-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(183, 44, 56, 0.23);
  border-radius: 999px;
  color: #8e202b;
  background: rgba(183, 44, 56, 0.09);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-k-name {
  margin: 24px 0 0 !important;
  color: #172019 !important;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid rgba(47, 183, 170, 0.25);
  border-radius: 999px;
  color: var(--teal-deep);
  background: rgba(47, 183, 170, 0.11);
}

.status-pill::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 183, 170, 0.13);
}

.dark-section {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
}

.dark-section::before {
  position: absolute;
  top: -240px;
  right: -200px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid var(--line-light);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 253, 247, 0.025), 0 0 0 160px rgba(255, 253, 247, 0.018);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  position: relative;
  min-height: 290px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line-light);
  border-radius: 30px;
  background: var(--navy-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.value-card:nth-child(2) {
  transform: translateY(28px);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 200, 74, 0.55);
}

.value-card:nth-child(2):hover {
  transform: translateY(23px);
}

.value-number {
  display: block;
  margin-bottom: 54px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.value-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.value-card p {
  margin: 0;
  color: rgba(255, 253, 247, 0.7);
}

.studio-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.studio-note .duck-mark {
  width: 72px;
  height: 72px;
}

.studio-note h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.studio-note p {
  margin: 0;
  color: var(--muted);
}

/* Founder story */
.story-hero {
  display: grid;
  min-height: min(780px, calc(100svh - 78px));
  align-items: center;
  padding-block: clamp(66px, 9vw, 118px);
}

.story-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.55fr);
  align-items: center;
  gap: clamp(46px, 8vw, 110px);
}

.story-hero h1 {
  margin: 18px 0 28px;
  color: var(--navy);
  font-size: clamp(3rem, 7.2vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.068em;
  line-height: 0.92;
  text-wrap: balance;
}

.story-hero h1 span {
  color: var(--coral);
}

.story-lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.8;
}

.story-signal {
  display: grid;
  gap: 14px;
}

.story-signal div {
  display: grid;
  min-height: 134px;
  align-content: center;
  padding: 24px 28px;
  border: 2px solid var(--navy);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 7px 8px 0 var(--navy);
}

.story-signal div:nth-child(2) {
  margin-left: 36px;
  border-color: var(--coral-deep);
  box-shadow: 7px 8px 0 var(--coral-deep);
}

.story-signal div:nth-child(3) {
  margin-right: 26px;
  border-color: var(--teal-deep);
  box-shadow: 7px 8px 0 var(--teal-deep);
}

.story-signal strong {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.story-signal span {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.story-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 168px;
  width: 2px;
  content: "";
  background: var(--line);
}

.story-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 48px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.story-timeline li::before {
  position: absolute;
  top: 47px;
  left: 161px;
  width: 16px;
  height: 16px;
  content: "";
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 2px var(--navy);
}

.story-year {
  padding-top: 8px;
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.story-timeline h3 {
  margin: 0 0 11px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
}

.story-timeline p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
}

.story-dark {
  color: var(--paper);
  background: var(--navy);
}

.story-dark-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
  gap: clamp(48px, 9vw, 130px);
}

.story-dark h2 {
  margin: 14px 0 0;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.story-prose {
  align-self: end;
}

.story-prose p {
  margin: 0 0 22px;
  color: rgba(255, 253, 247, 0.76);
  font-size: 1.04rem;
}

.story-quote {
  position: relative;
  margin: 0;
  padding: clamp(42px, 7vw, 86px);
  border: 2px solid var(--navy);
  border-radius: 36px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 12px 14px 0 var(--navy);
}

.story-quote::before {
  position: absolute;
  top: 12px;
  left: 28px;
  content: "“";
  color: rgba(23, 37, 65, 0.16);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.story-quote p {
  position: relative;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.24;
}

.story-quote footer {
  margin-top: 28px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.story-proof-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.48fr) minmax(0, 0.52fr);
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow-small);
}

.story-proof-card div {
  grid-row: 1 / span 2;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
}

.story-proof-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-proof-card span {
  align-self: end;
  color: var(--coral-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.story-proof-card strong {
  align-self: start;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.story-proof-k div {
  border-radius: 0;
  background: #0b110e;
}

.story-proof-k img {
  image-rendering: pixelated;
}

.story-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(40px, 7vw, 78px);
  border-radius: 38px;
  color: var(--paper);
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.story-manifesto h2 {
  margin: 13px 0 0;
  font-size: clamp(2.2rem, 4.7vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.story-manifesto p {
  margin: 0;
  color: rgba(255, 253, 247, 0.72);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 850;
}

.text-link::after {
  content: "→";
  color: var(--coral);
  font-size: 1.35em;
  transition: transform 150ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

/* Studio-home readability overrides live here so shared public UI stays in one contract. */
body[data-page="studio"] .journal-toolbar .text-link {
  color: var(--studio-ink);
}

body[data-page="studio"] .theme-toggle {
  min-width: 44px;
  width: 44px;
  height: 44px;
}

body[data-page="studio"] .post-tab {
  min-height: 44px;
}

body[data-page="studio"] .project-copy p {
  font-size: 0.9375rem;
}

body[data-page="studio"] .project-copy .text-link {
  font-size: 0.875rem;
}

body[data-page="studio"] .post-preview-copy p {
  font-size: 0.9rem;
}

/* Quirky Ball product page */
.game-hero {
  padding-block: clamp(62px, 9vw, 120px);
}

.game-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: clamp(44px, 7vw, 94px);
}

.game-logo {
  width: min(380px, 86%);
  height: auto;
  margin: 24px 0 34px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(23, 37, 65, 0.13));
}

.game-title {
  margin: 0 0 24px;
  color: var(--navy);
  font-family: "Do Hyeon", "Montserrat", sans-serif;
  font-size: clamp(3.35rem, 7vw, 6.65rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.game-title .accent {
  color: var(--coral);
}

.game-visual {
  position: relative;
  padding: clamp(10px, 2vw, 18px);
  border: 2px solid var(--navy);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--paper);
  box-shadow: 14px 16px 0 var(--navy), var(--shadow-soft);
  transform: rotate(1.2deg);
}

.game-visual::before {
  position: absolute;
  top: -24px;
  left: -30px;
  width: 70px;
  height: 70px;
  content: "";
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset -8px -10px 0 rgba(23, 37, 65, 0.12), 6px 7px 0 rgba(23, 37, 65, 0.18);
}

.game-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: clamp(20px, 3vw, 34px);
}

.loop-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 70px);
}

.loop-step {
  position: relative;
  padding-top: 18px;
}

.loop-index {
  display: block;
  margin-bottom: 20px;
  color: rgba(244, 200, 74, 0.22);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.7;
}

.loop-step:nth-child(2) .loop-index {
  color: rgba(242, 95, 76, 0.25);
}

.loop-step:nth-child(3) .loop-index {
  color: rgba(47, 183, 170, 0.25);
}

.loop-step h2 {
  margin: 0 0 18px;
  color: var(--paper);
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.loop-step p {
  margin: 0;
  color: rgba(255, 253, 247, 0.68);
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-small);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.feature-symbol {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 52px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 24px;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 5px 6px 0 var(--navy);
  font-size: 2rem;
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-symbol {
  color: #fff;
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-symbol {
  color: #fff;
  background: var(--teal);
}

.feature-card h3 {
  margin: 0 0 15px;
  color: var(--navy);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.feature-card p {
  margin: 0 0 28px;
  color: var(--muted);
}

.feature-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--coral-deep);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-auto-columns: clamp(230px, 25vw, 286px);
  grid-auto-flow: column;
  gap: clamp(16px, 2.4vw, 28px);
  overflow-x: auto;
  padding: 8px 12px 30px;
  scroll-padding-inline: 12px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--coral) rgba(23, 37, 65, 0.08);
  scrollbar-width: thin;
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 6px solid var(--navy);
  border-radius: 30px;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease;
  scroll-snap-align: start;
}

.shot:hover {
  transform: translateY(-6px) rotate(-0.5deg);
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 22px 22px 0 0;
}

.shot figcaption {
  padding: 16px 18px;
  color: var(--paper);
  background: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closing-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: clamp(34px, 7vw, 78px);
  border-radius: clamp(30px, 5vw, 52px);
  color: var(--paper);
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.closing-card::after {
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  content: "";
  border: 50px solid rgba(47, 183, 170, 0.16);
  border-radius: 50%;
}

.closing-card > * {
  position: relative;
  z-index: 1;
}

.closing-card h2 {
  max-width: 760px;
  margin: 8px 0 14px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.closing-card p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 253, 247, 0.7);
}

.site-footer {
  margin-top: var(--section-space);
  padding-block: 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 253, 247, 0.52);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}

.footer-links a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--coral-deep);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keep the complete studio introduction visible on wide but short desktop windows. */
@media (min-width: 901px) and (max-height: 980px) {
  .studio-hero {
    min-height: calc(100dvh - 78px);
    height: calc(100dvh - 78px);
    padding-block: clamp(22px, 4.2dvh, 36px);
  }

  .studio-hero .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
    gap: clamp(32px, 4vw, 58px);
  }

  .studio-hero .display-title {
    margin: clamp(8px, 1.5dvh, 14px) 0 clamp(14px, 2.6dvh, 22px);
    font-size: clamp(4rem, 11.5dvh, 6.1rem);
    line-height: 0.84;
  }

  .studio-hero .lead {
    max-width: 620px;
    font-size: clamp(0.96rem, 2.35dvh, 1.1rem);
    line-height: 1.52;
  }

  .studio-hero .button-row {
    margin-top: clamp(16px, 3dvh, 24px);
  }

  .studio-hero .button {
    min-height: 48px;
    padding: 11px 21px;
  }

  .studio-hero .hero-showcase {
    width: min(46vw, 570px);
    justify-self: end;
  }

  .studio-hero .hero-duo {
    min-height: min(52dvh, 440px);
  }

  .game-hero {
    display: grid;
    min-height: calc(100dvh - 78px);
    height: calc(100dvh - 78px);
    align-items: center;
    padding-block: clamp(22px, 3.4dvh, 32px);
  }

  .game-logo {
    width: min(280px, 72%);
    margin: 14px 0 18px;
  }

  .game-title {
    margin-bottom: 14px;
    font-size: clamp(3.4rem, 9.5dvh, 5.35rem);
  }

  .game-hero .lead {
    font-size: clamp(0.96rem, 2.2dvh, 1.08rem);
    line-height: 1.55;
  }

  .game-hero .button-row {
    margin-top: 18px;
  }

  .game-hero .button {
    min-height: 48px;
    padding: 11px 20px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .game-hero-grid,
  .featured-game-card,
  .games-catalog,
  .story-hero-grid,
  .story-dark-grid,
  .story-manifesto,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .studio-hero {
    min-height: auto;
  }

  .hero-showcase {
    width: min(100%, 680px);
    justify-self: center;
  }

  .section-heading .lead {
    justify-self: start;
  }

  .featured-game-visual {
    min-height: auto;
  }

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

  .value-card,
  .feature-card {
    min-height: 0;
  }

  .value-card:nth-child(2),
  .value-card:nth-child(2):hover {
    transform: none;
  }

  .loop-grid {
    gap: 26px;
  }

  .loop-step h2 {
    font-size: clamp(2.1rem, 6vw, 3.5rem);
  }

  .studio-note {
    grid-template-columns: auto 1fr;
  }

  .studio-note .text-link {
    grid-column: 1 / -1;
  }

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

  .story-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 70px;
  }

  .menu-button {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: rgba(47, 183, 170, 0.09);
  }

  .site-nav a::after {
    display: none;
  }

  .language-picker summary {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding-inline: 12px;
  }

  .language-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    margin-top: 5px;
    border-radius: 12px;
    box-shadow: none;
  }

  .display-title {
    font-size: clamp(3.5rem, 18vw, 5.8rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-showcase {
    box-shadow: 9px 11px 0 var(--navy), var(--shadow-small);
  }

  .hero-duo {
    min-height: min(106vw, 470px);
  }

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

  .loop-step {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 18px;
  }

  .loop-index {
    grid-row: 1 / span 2;
    margin: 10px 0 0;
    font-size: 4rem;
  }

  .gallery {
    grid-auto-columns: min(74vw, 320px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .story-hero {
    min-height: auto;
  }

  .story-signal div:nth-child(2),
  .story-signal div:nth-child(3) {
    margin: 0;
  }

  .story-timeline::before {
    left: 7px;
  }

  .story-timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 36px;
  }

  .story-timeline li::before {
    top: 46px;
    left: 0;
  }
}

@media (max-width: 480px) {
  .brand-lockup {
    gap: 9px;
    font-size: 0.96rem;
  }

  .brand-lockup .duck-mark {
    width: 38px;
    height: 38px;
  }

  .display-title {
    max-width: 100%;
    font-size: clamp(3rem, 13vw, 4.8rem);
    letter-spacing: -0.065em;
    overflow-wrap: anywhere;
  }

  .featured-game-visual {
    min-height: 250px;
    padding: 24px 18px;
  }

  .featured-game-content,
  .game-catalog-copy,
  .value-card,
  .feature-card {
    padding: 28px 24px;
  }

  .game-catalog-card {
    grid-template-rows: minmax(320px, auto) auto;
  }

  .game-catalog-visual {
    min-height: 320px;
    padding-inline: 22px;
  }

  .studio-note {
    grid-template-columns: 1fr;
  }

  .studio-note .duck-mark {
    width: 58px;
    height: 58px;
  }

  .game-visual {
    box-shadow: 8px 10px 0 var(--navy), var(--shadow-small);
  }

  .shot {
    width: 100%;
  }

  .story-proof-card {
    grid-template-columns: 128px minmax(0, 1fr);
    padding: 18px;
  }

  .story-quote {
    border-radius: 26px;
    box-shadow: 8px 10px 0 var(--navy);
  }

  .story-manifesto {
    padding: 34px 26px;
    border-radius: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
