:root {
  color-scheme: light;
  --bg: #f5f7f6;
  --text: #1f2623;
  --muted: #65706c;
  --line: #d7dfdc;
  --surface: #ffffff;
  --accent: #127568;
  --accent-ink: #ffffff;
  --warm: #bd5148;
  --shadow: 0 24px 60px rgba(31, 38, 35, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 0;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 247, 246, 0)),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

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

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, 40px);
  height: 36px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 520px;
  padding: 80px 0 96px;
}

.hero-copy {
  max-width: 880px;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.1rem, 7.7vw, 6.3rem);
  text-wrap: balance;
}

html[lang="ko"] .hero h1 {
  word-break: keep-all;
}

.hero .lead {
  max-width: 720px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 650;
}

.release-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.section-intro {
  max-width: 400px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

section[id] {
  scroll-margin-top: 28px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  font-size: clamp(3.4rem, 12vw, 8.5rem);
}

h2 {
  max-width: 600px;
  font-size: clamp(1.55rem, 3.6vw, 3rem);
}

.lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.35;
}

.lead.compact {
  max-width: 700px;
  margin-bottom: 46px;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.body-copy,
.details-list {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.body-copy p {
  max-width: 660px;
  margin: 0;
}

.game-list {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.game-card {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.game-icon {
  display: block;
  width: 144px;
  height: 144px;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(31, 38, 35, 0.14);
  object-fit: cover;
}

.game-copy {
  min-width: 0;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 117, 104, 0.11);
  color: var(--accent);
}

.status-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.game-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.product-title-link {
  text-decoration: none;
}

.product-title-link:hover {
  color: var(--accent);
}

.product-detail-link {
  margin-top: 8px;
}

.product-page {
  padding-top: 36px;
}

.back-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.8fr);
  align-items: center;
  gap: 64px;
  padding: 48px 0 80px;
}

.product-heading h1 {
  max-width: 720px;
  font-size: clamp(2.5rem, 5.4vw, 4.75rem);
  line-height: 1.08;
  text-wrap: balance;
}

.product-tagline {
  margin: 24px 0 14px;
  color: var(--accent);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 650;
  line-height: 1.4;
}

.product-description {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.product-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 20px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
}

.product-icon {
  width: 192px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.product-art .status-badge {
  font-size: 0.8rem;
  font-weight: 650;
}

.feature-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.feature-item {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.feature-number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
}

.feature-item h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
  line-height: 1.4;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.related-section {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
}

.related-section h2 {
  font-size: 1.4rem;
  line-height: 1.4;
}

.related-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.related-game {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
}

.related-game:hover {
  border-color: var(--accent);
}

.related-game img {
  border-radius: 12px;
}

html[lang="ko"] .product-page {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.game-copy p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.store-link:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.store-link:focus-visible {
  outline: 3px solid rgba(18, 117, 104, 0.28);
  outline-offset: 3px;
}

.details-list {
  display: grid;
  gap: 20px;
  margin: 0;
}

.details-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.details-list dt {
  color: var(--text);
  font-weight: 750;
}

.details-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.document {
  max-width: 820px;
  padding: 78px 0 72px;
}

.document h1 {
  font-size: clamp(2.6rem, 8vw, 5.8rem);
}

.document section {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.document h2 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.document p,
.document li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.document ul {
  margin: 0;
  padding-left: 1.2rem;
}

.updated {
  margin: 16px 0 52px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  display: flex;
  gap: 10px;
}

@media (max-width: 760px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 0 48px;
  }

  .product-art {
    flex-direction: row;
    justify-content: flex-start;
    padding: 24px;
    border-radius: 24px;
  }

  .product-icon {
    width: 88px;
    border-radius: 20px;
  }

  .feature-list,
  .related-games {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-page {
    padding-top: 20px;
  }

  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 132px;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 58px 0 72px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  .details-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .game-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
  }

  .game-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .document {
    padding: 52px 0 56px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }
}

@media (max-width: 480px) {
  .game-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-link {
    transition: none;
  }
}

/* Studio portfolio — shared by the landing and the four developing games. */
:root { --bg: #f7f7f2; }
html { scroll-behavior: smooth; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #127568; outline-offset: 5px;
}
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 12px 20px; background: #fff; }
.skip-link:focus { top: 12px; }
.brand { gap: 10px; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; background: var(--accent); color: white; border-radius: 7px; font-size: 23px; line-height: 1; }
.portfolio-site { background: var(--bg); }
.portfolio-site h1, .portfolio-site h2 { letter-spacing: -.04em; }
html[lang="ko"] .portfolio-site { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ko"] .portfolio-site h1, html[lang="ko"] .portfolio-site h2 { letter-spacing: -.045em; }
.studio-hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; padding: 76px 0 70px; }
.studio-hero h1 { font-size: clamp(3.4rem, 6.6vw, 5.65rem); max-width: 550px; line-height: 1.04; text-wrap: balance; }
.studio-hero .lead { font-size: 1.12rem; line-height: 1.8; margin-top: 26px; max-width: 490px; }
.studio-hero .eyebrow { font-size: .7rem; letter-spacing: .04em; }
.studio-hero .release-note { font-size: .78rem; max-width: 370px; }
.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; transform: rotate(2deg); padding: 8px; }
.mosaic-tile { position: relative; height: 240px; overflow: hidden; border-radius: 16px; text-decoration: none; box-shadow: 0 12px 30px #172f2220; background: #edf0e6; }
.mosaic-tile:nth-child(even) { transform: translateY(28px); }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; transition: transform .25s ease; }
.mosaic-tile.cat img { object-position: center 43%; }
.mosaic-tile.jewel img { object-position: center 39%; }
.mosaic-tile:hover img { transform: scale(1.045); }
.mosaic-tile > span { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 8px; background: #ffffffed; padding: 11px 13px; font-size: .75rem; font-weight: 700; }
.studio-strip { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.studio-strip p { margin: 0; }
.studio-strip p:first-child { color: var(--text); font-weight: 600; }
.work-section { padding: 90px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 38px; }
.section-heading h2 { max-width: 570px; line-height: 1.15; }
.section-heading .section-intro { max-width: 365px; margin: 0; font-size: .96rem; flex: 0 1 365px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 30px; }
.work-card { min-width: 0; }
.work-image { display: flex; justify-content: center; align-items: flex-start; height: 365px; overflow: hidden; border-radius: 20px; padding: 34px 28px 0; }
.city .work-image, .city.gallery-figure { background: #d7e6e3; }
.magic .work-image, .magic.gallery-figure { background: #e0e5d0; }
.cat .work-image, .cat.gallery-figure { background: #f7dfb9; }
.jewel .work-image, .jewel.gallery-figure { background: #eedfdf; }
.work-image img { display: block; width: 235px; height: auto; border-radius: 14px 14px 0 0; box-shadow: 0 12px 32px #20352b24; transition: transform .25s ease; }
.work-card.city .work-image img { width: 275px; }
.work-card.jewel .work-image img { width: 250px; }
.work-image:hover img { transform: translateY(-5px); }
.work-copy { padding: 23px 3px 0; }
.work-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; font-size: .72rem; color: var(--muted); }
.dev-badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #68602f; }
.dev-badge::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #b78e3b; }
.work-copy h3 { font-size: 1.6rem; letter-spacing: -.025em; margin: 14px 0 10px; }
.work-copy h3 a { text-decoration: none; }
.work-copy p { color: var(--muted); line-height: 1.75; font-size: 1rem; margin: 0; max-width: 470px; }
.work-copy .text-link { margin-top: 12px; gap: 12px; }
.api-section { background: #193e36; color: #f4f6ed; padding: 52px; border-radius: 28px; margin-bottom: 90px; }
.api-section .section-label { color: #abcbbc; }
.api-section .section-intro { color: #d0dfd8; }
.api-section .section-heading { align-items: flex-start; }
.api-section h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.api-status { color: #d2d9bc; font-size: .8rem; line-height: 1.7; margin: 0 0 26px; }
.api-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid #648175; }
.api-tabs button { border: 1px solid #698879; padding: 11px 15px; border-radius: 999px; color: #e5efe6; background: transparent; font: inherit; font-size: .82rem; cursor: pointer; min-height: 44px; }
.api-tabs button[aria-selected="true"] { background: #d3e5bd; color: #15382f; border-color: #d3e5bd; font-weight: 700; }
.api-section :focus-visible { outline-color: #dfedc7; }
.api-panel { display: grid; grid-template-columns: .85fr 1.2fr; align-items: start; gap: 38px; padding: 32px 0; }
.api-example { background: #254e43; padding: 26px; border-radius: 14px; }
.api-example .eyebrow { color: #aecaac; font-size: .65rem; }
.api-example blockquote { margin: 18px 0 24px; font-size: 1.4rem; line-height: 1.6; font-weight: 550; letter-spacing: -.02em; }
.example-label { display: block; font-size: .68rem; color: #c1d5c9; line-height: 1.7; }
.api-explanation h3 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.5; }
.api-explanation > p { font-size: .96rem; color: #d0dfd8; line-height: 1.8; margin: 0 0 20px; }
.api-io { display: grid; gap: 14px; margin: 0; }
.api-io div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 14px; }
.api-io dt { font-size: .76rem; color: #b9d6a2; font-weight: 650; line-height: 1.65; }
.api-io dd { font-size: .83rem; line-height: 1.7; margin: 0; color: #e3ede6; }
.api-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; border-top: 1px solid #648175; padding-top: 24px; }
.api-principles h3 { margin: 0 0 10px; font-size: .94rem; line-height: 1.6; }
.api-principles p { margin: 0; font-size: .82rem; line-height: 1.8; color: #c6d9cd; }
.player-letter { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding: 8px 0 90px; }
.letter-mark { display: block; font-size: 120px; line-height: 1; color: #cfdbbd; margin-top: 36px; }
.letter-copy h2 { font-size: clamp(1.8rem,3.5vw,2.75rem); line-height: 1.25; margin-bottom: 26px; }
.letter-copy p { color: var(--muted); line-height: 1.9; font-size: 1.04rem; margin: 0 0 20px; }
.letter-copy .letter-signature { color: var(--text); font-weight: 750; font-size: .95rem; margin-top: 30px; }
.portfolio-site #released .game-card { box-shadow: none; }
.portfolio-site #released .game-copy h3 { font-size: 1.35rem; }
.portfolio-site #released .game-copy p { font-size: .9rem; }
.portfolio-site #released .game-card { grid-template-columns: 80px minmax(0,1fr); gap: 24px; padding: 24px; }
.portfolio-site #released .game-icon { width: 80px; height: 80px; border-radius: 18px; }
.portfolio-site #released .store-link { font-size: .75rem; }
.portfolio-site #released .product-detail-link { font-size: .8rem; display: flex; }
.portfolio-site #studio .text-link { margin-top: 24px; }
.development-page { padding-top: 24px; }
.development-hero { display: grid; grid-template-columns: 1.25fr .9fr; gap: 70px; align-items: center; padding: 34px 0 64px; }
.development-copy h1 { font-size: clamp(2.7rem,5.6vw,4.6rem); line-height: 1.05; margin-top: 22px; text-wrap: balance; }
.development-tagline { font-size: 1.45rem; color: var(--accent); margin: 22px 0 16px; font-weight: 550; line-height: 1.5; }
.development-description { color: var(--muted); line-height: 1.9; font-size: 1.06rem; }
.development-cover { margin: 0; padding: 24px 30px 16px; border-radius: 26px; text-align: center; background: #d7e6e3; }
.magic .development-cover { background: #e0e5d0; }
.cat .development-cover { background: #f7dfb9; }
.jewel .development-cover { background: #eedfdf; }
.development-cover img { width: auto; display: block; max-height: 520px; margin: auto; border-radius: 14px; box-shadow: 0 8px 24px #132e2528; }
.development-cover figcaption { font-size: .7rem; color: #46564d; margin-top: 14px; }
.game-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.game-facts > div { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 24px; border-right: 1px solid var(--line); }
.game-facts > div:last-child { border: 0; }
.game-facts strong { font-size: 2.5rem; letter-spacing: -.04em; font-weight: 600; }
.game-facts span { font-size: .82rem; color: var(--muted); max-width: 115px; line-height: 1.6; }
.gameplay-section { padding: 72px 0; }
.gameplay-section h2 { max-width: 760px; line-height: 1.18; }
.gameplay-section .feature-list { margin-top: 35px; }
.game-gallery { border-top: 1px solid var(--line); padding: 65px 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.gallery-figure { margin: 0; border-radius: 20px; padding: 28px 24px 20px; }
.gallery-figure a { display: flex; justify-content: center; align-items: center; height: 530px; }
.gallery-figure img { max-height: 100%; width: auto; object-fit: contain; border-radius: 10px; }
.gallery-figure figcaption { font-size: .83rem; color: #46564d; text-align: center; line-height: 1.6; padding-top: 20px; }
.game-planned { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; background: #e9eee1; border-radius: 24px; padding: 46px; margin: 10px 0 70px; }
.game-planned h2 { font-size: 2rem; line-height: 1.25; }
.game-planned p { color: var(--muted); line-height: 1.85; }
.game-planned .plan-stage { font-size: .82rem; color: #6e653f; }
.game-planned blockquote { margin: 0; padding: 25px; align-self: center; border-left: 2px solid #adc399; }
.game-planned blockquote p { font-size: 1.4rem; color: var(--text); line-height: 1.6; }
.game-planned cite { font-size: .75rem; font-style: normal; color: var(--muted); }
.development-contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 60px; }
.development-contact h2 { font-size: 2rem; line-height: 1.3; }
.development-contact p { color: var(--muted); line-height: 1.8; }
.development-contact .store-link { flex-shrink: 0; }
.other-games { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.other-games a { display: flex; justify-content: space-between; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; line-height: 1.6; }
@media (max-width: 980px) {
  .studio-hero { gap: 32px; }
  .studio-hero h1 { font-size: 3.8rem; }
  .hero-mosaic { gap: 12px; }
  .mosaic-tile { height: 215px; }
  .api-section { padding: 36px; }
  .api-panel { gap: 25px; grid-template-columns: .85fr 1fr; }
  .api-io div { grid-template-columns: 1fr; gap: 3px; }
  .development-hero { gap: 35px; }
}
@media (max-width: 760px) {
  .site-header { gap: 16px; min-height: 125px; }
  .nav-links { gap: 9px 16px; font-size: .85rem; }
  .studio-hero { grid-template-columns: 1fr; padding: 45px 0 55px; gap: 32px; }
  .studio-hero h1 { max-width: 620px; font-size: clamp(3rem,11vw,5rem); }
  .studio-hero .lead { max-width: 580px; font-size: 1.05rem; }
  .hero-mosaic { max-width: 510px; margin: 0 auto; width: 100%; padding: 10px 12px 25px; transform: rotate(1deg); }
  .mosaic-tile { height: 225px; }
  .studio-strip { flex-direction: column; gap: 8px; padding: 20px 0; }
  .work-section { padding: 55px 0; }
  .section-heading { display: block; }
  .section-heading .section-intro { max-width: 580px; margin-top: 20px; }
  .work-grid { gap: 35px 18px; }
  .work-image { height: 260px; padding: 22px 20px 0; border-radius: 14px; }
  .work-copy { padding-top: 18px; }
  .work-copy h3 { font-size: 1.3rem; }
  .work-copy p { font-size: .94rem; }
  .api-section { padding: 30px 24px; margin-bottom: 55px; border-radius: 20px; }
  .api-panel { grid-template-columns: 1fr; }
  .api-example blockquote { font-size: 1.3rem; margin: 14px 0; }
  .api-tabs { gap: 8px; }
  .api-tabs button { font-size: .76rem; padding: 9px 12px; }
  .api-principles { grid-template-columns: 1fr; gap: 20px; }
  .api-io div { grid-template-columns: 105px minmax(0,1fr); gap: 12px; }
  .player-letter { grid-template-columns: 1fr; gap: 12px; padding-bottom: 55px; }
  .letter-mark { display: none; }
  .letter-copy p { font-size: 1rem; }
  .development-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 20px; }
  .development-copy h1 { font-size: clamp(2.7rem,10vw,4rem); }
  .development-tagline { font-size: 1.3rem; }
  .development-cover { max-width: 440px; width: 100%; margin: 0 auto; }
  .development-cover img { max-height: 500px; }
  .game-facts > div { flex-direction: column; text-align: center; gap: 5px; padding: 4px 8px; }
  .game-facts strong { font-size: 2.2rem; }
  .game-facts span { font-size: .72rem; }
  .gameplay-section, .game-gallery { padding: 45px 0; }
  .gallery-grid { gap: 16px; }
  .gallery-figure { padding: 18px 14px; border-radius: 14px; }
  .gallery-figure a { height: 370px; }
  .gallery-figure figcaption { font-size: .75rem; }
  .game-planned { grid-template-columns: 1fr; padding: 28px 24px; gap: 8px; margin-bottom: 45px; }
  .game-planned h2 { font-size: 1.65rem; }
  .game-planned blockquote { padding: 0 0 0 20px; }
  .development-contact { display: block; padding-bottom: 45px; }
  .development-contact h2 { font-size: 1.65rem; }
  .other-games { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .hero-mosaic { gap: 10px; }
  .mosaic-tile { height: 175px; }
  .mosaic-tile:nth-child(even) { transform: translateY(15px); }
  .mosaic-tile > span { padding: 10px; font-size: .62rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-image { height: 325px; padding-top: 25px; }
  .work-image img { width: 235px; }
  .section-heading h2 { font-size: 1.9rem; }
  .api-section { padding: 28px 19px; }
  .api-io div { grid-template-columns: 1fr; gap: 3px; }
  .api-explanation h3 { font-size: 1.18rem; }
  .api-example { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-figure a { height: 465px; }
  .portfolio-site #released .game-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mosaic-tile img, .work-image img { transition: none; }
}

/* Five on the Island — concept-stage survival game. */
.island-status { display: inline-flex; padding: 7px 12px; border: 1px solid #b48b53; border-radius: 999px; color: #795424; background: #f6e8cc; font-weight: 750; font-size: .73rem; line-height: 1.4; }
.concept-note { color: #707569; font-size: .72rem; line-height: 1.7; margin: 12px 0 0; }
.island-featured { display: grid; grid-template-columns: 1.35fr 1fr; background: #eee9db; border-radius: 24px; overflow: hidden; margin: 0 0 48px; }
.island-featured-art { display: block; min-height: 355px; }
.island-featured-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.island-featured-copy { align-self: center; padding: 36px; }
.island-featured h3 { margin: 19px 0 14px; font-size: 2.25rem; line-height: 1.15; letter-spacing: -.045em; }
.island-featured-copy > p:not(.concept-note) { color: #566258; font-size: 1rem; line-height: 1.8; }
.island-featured .store-link { margin-top: 8px; background: #254b3f; }
.api-game-link { color: #d6e5bd; display: inline-flex; gap: 10px; margin-top: 20px; min-height: 44px; align-items: center; font-size: .83rem; }
.island-page { padding-top: 24px; }
.island-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding: 38px 0 42px; align-items: center; }
.island-intro h1 { font-size: clamp(3.2rem,6.5vw,5.6rem); max-width: 610px; line-height: 1.05; text-wrap: balance; }
.island-intro .eyebrow { color: #8c683c; }
.island-tagline { font-size: 1.3rem; line-height: 1.6; margin: 22px 0 0; color: #566b60; }
.island-intro-side > p { font-size: 1rem; line-height: 1.9; color: var(--muted); margin: 20px 0; }
.island-key-art { margin: 0; }
.island-key-art img { display: block; width: 100%; height: auto; border-radius: 20px; }
.island-key-art figcaption, .council-art figcaption, .island-world-art figcaption { text-align: right; }
.island-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 34px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.island-facts > div { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 18px; padding: 8px 24px; border-right: 1px solid var(--line); }
.island-facts > div:last-child { border: 0; }
.island-facts strong { font-size: 3.15rem; font-weight: 550; line-height: 1; color: #345b49; }
.island-facts span { font-size: .8rem; color: var(--muted); line-height: 1.65; }
.island-section { padding: 74px 0; border-bottom: 1px solid var(--line); }
.island-section .section-label { color: #8c683c; }
.island-section h2 { line-height: 1.2; }
.island-pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; margin-top: 40px; }
.island-pillars article { padding-top: 22px; border-top: 1px solid #b8c4b8; }
.island-number { color: #8c683c; font-size: .75rem; font-weight: 750; }
.island-pillars h3 { margin: 18px 0 12px; font-size: 1.22rem; line-height: 1.5; }
.island-pillars p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.85; }
.council-art, .island-world-art { margin: 0; }
.council-art img, .island-world-art img { display: block; width: 100%; height: auto; border-radius: 20px; }
.survivor-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; margin-top: 36px; }
.survivor { --identity: #344d60; position: relative; padding: 22px 0 0; border-top: 3px solid var(--identity); }
.survivor.mara { --identity: #aa7937; }
.survivor.jun { --identity: #708464; }
.survivor.nia { --identity: #b76342; }
.survivor.eli { --identity: #386c6b; }
.survivor-swatch { display: none; }
.survivor-role { font-size: .67rem; font-weight: 650; line-height: 1.6; color: var(--identity); margin: 0 0 10px; }
.survivor h3 { margin: 0 0 13px; font-size: 1.6rem; letter-spacing: -.025em; }
.survivor > p:not(.survivor-role) { color: var(--muted); line-height: 1.85; font-size: .88rem; margin: 0; }
.survivor blockquote { margin: 20px 0 0; font-size: .86rem; line-height: 1.7; color: #3b4d40; }
.promise-section { background: #eee8d8; padding: 45px; border-radius: 24px; margin: 70px 0 0; }
.promise-section h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); }
.promise-section .section-label { color: #8c683c; }
.scenario-note { font-size: .77rem; line-height: 1.7; color: #73664b; margin-bottom: 22px; }
.promise-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.promise-choice { font: inherit; font-size: .86rem; font-weight: 650; min-height: 52px; line-height: 1.5; cursor: pointer; text-align: left; padding: 13px 18px; color: #344d42; border: 1px solid #b2bdab; border-radius: 10px; background: #ffffff75; }
.promise-choice[aria-pressed="true"] { background: #2b5544; color: #fff7e7; border-color: #2b5544; }
.promise-outcomes { margin-top: 20px; background: #ffffff70; border: 1px solid #d8d6c4; border-radius: 14px; padding: 25px 28px; }
.promise-outcome blockquote { margin: 0 0 14px; color: #254b3f; font-size: 1.3rem; line-height: 1.65; font-weight: 550; }
.promise-outcome p { color: #5a665b; font-size: .96rem; line-height: 1.8; margin: 0; }
.island-locations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 35px; }
.island-locations article { display: flex; align-items: flex-start; gap: 15px; }
.location-number { font-size: .74rem; color: #9c7440; font-weight: 700; padding-top: 5px; }
.island-locations h3 { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.5; }
.island-locations p { color: var(--muted); margin: 0; font-size: .87rem; line-height: 1.75; }
.island-days { padding: 0; margin: 36px 0 0; list-style: none; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 14px; }
.island-days li { border-top: 2px solid #b8c8b4; padding-top: 18px; }
.day-num { color: #809473; font-size: 2rem; line-height: 1; font-weight: 550; }
.island-days h3 { font-size: .97rem; line-height: 1.45; margin: 20px 0 10px; }
.island-days p { color: var(--muted); font-size: .82rem; line-height: 1.8; margin: 0; }
.island-days li:last-child { border-color: #a9773d; }
.island-days li:last-child .day-num { color: #a9773d; }
.island-ai { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; padding: 48px; margin: 70px 0; border-radius: 24px; background: #1e3e34; color: #f4f2e7; }
.island-ai .section-label { color: #c7d5ad; }
.island-ai h2 { font-size: 2.6rem; line-height: 1.15; }
.island-ai > div > p:not(.section-label) { color: #ced9cb; line-height: 1.9; font-size: .96rem; margin-top: 25px; }
.island-ai-steps { padding: 0; margin: 0; list-style: none; display: grid; gap: 24px; }
.island-ai-steps li { display: flex; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #5c7867; }
.island-ai-steps li:last-child { border: 0; padding: 0; }
.island-ai-steps li > span { color: #c7d5ad; font-size: .75rem; font-weight: 700; padding-top: 5px; }
.island-ai-steps h3 { margin: 0 0 9px; font-size: 1.08rem; line-height: 1.5; }
.island-ai-steps p { color: #ced9cb; line-height: 1.8; font-size: .9rem; margin: 0; }
.island-progress { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding-bottom: 65px; border-bottom: 1px solid var(--line); align-items: center; }
.island-progress h2 { font-size: 2.3rem; line-height: 1.3; margin-top: 22px; }
.island-progress p { color: var(--muted); line-height: 1.9; }
.progress-list { display: grid; gap: 20px; }
.progress-list > div { display: grid; grid-template-columns: 12px minmax(0,1fr) auto; align-items: center; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: .87rem; line-height: 1.7; }
.progress-list small { color: var(--muted); font-size: .7rem; }
.progress-dot { width: 9px; height: 9px; border: 1px solid #a1afa0; border-radius: 50%; }
.progress-dot.done { background: #42724e; border-color: #42724e; }
.island-contact { text-align: center; padding: 70px 0; max-width: 710px; margin: auto; }
.island-contact h2 { max-width: none; line-height: 1.2; }
.island-contact > p:not(.section-label) { color: var(--muted); line-height: 1.9; font-size: 1.05rem; margin: 25px 0; }
.island-contact .section-label { color: #8c683c; }
.island-related { grid-template-columns: repeat(4,minmax(0,1fr)); }
@media(max-width:980px) {
  .island-featured-copy { padding: 28px; }
  .island-intro { gap: 35px; }
  .island-facts > div { padding: 8px 14px; gap: 13px; }
  .survivor-grid { gap: 14px; }
  .survivor-role { font-size: .64rem; }
  .island-days { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 18px; }
  .island-ai { padding: 36px; gap: 32px; }
  .island-ai h2 { font-size: 2.2rem; }
}
@media(max-width:760px) {
  .island-featured { grid-template-columns: 1fr; }
  .island-featured-art { min-height: 0; }
  .island-featured-art img { height: auto; aspect-ratio: 16/9; }
  .island-featured-copy { padding: 26px; }
  .island-featured h3 { font-size: 2rem; }
  .island-intro { grid-template-columns: 1fr; padding: 28px 0; gap: 26px; }
  .island-intro h1 { font-size: clamp(2.9rem,10vw,4.6rem); }
  .island-tagline { font-size: 1.15rem; }
  .island-intro-side > p { margin: 18px 0; }
  .island-key-art img, .council-art img, .island-world-art img { border-radius: 13px; }
  .island-facts { grid-template-columns: 1fr 1fr; gap: 18px 0; padding: 18px 0; margin-top: 22px; }
  .island-facts > div:nth-child(2) { border: 0; }
  .island-facts strong { font-size: 2.7rem; }
  .island-facts span { font-size: .76rem; }
  .island-section { padding: 48px 0; }
  .island-pillars { grid-template-columns: 1fr; gap: 25px; }
  .island-pillars h3 { margin-top: 12px; }
  .survivor-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .survivor-role { font-size: .7rem; }
  .survivor h3 { font-size: 1.5rem; }
  .promise-section { padding: 30px 25px; margin-top: 48px; }
  .promise-section .section-heading { margin-bottom: 20px; }
  .promise-options { grid-template-columns: 1fr; gap: 8px; }
  .promise-outcomes { padding: 20px; }
  .promise-outcome blockquote { font-size: 1.12rem; }
  .island-locations { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .island-days { grid-template-columns: 1fr 1fr; }
  .island-days li:last-child { grid-column: 1/-1; }
  .island-ai { grid-template-columns: 1fr; padding: 32px 25px; margin: 48px 0; }
  .island-ai h2 { font-size: 2rem; }
  .island-progress { grid-template-columns: 1fr; gap: 25px; padding-bottom: 48px; }
  .island-progress h2 { font-size: 1.9rem; }
  .island-contact { padding: 48px 0; }
  .island-related { grid-template-columns: 1fr 1fr; }
}
@media(max-width:480px) {
  .island-featured-copy { padding: 24px 20px; }
  .island-status { font-size: .68rem; }
  .island-facts > div { padding: 6px 10px; gap: 10px; }
  .survivor-grid { grid-template-columns: 1fr; }
  .survivor { padding-top: 18px; }
  .survivor blockquote { margin-top: 12px; }
  .promise-section { padding: 26px 19px; }
  .island-locations { grid-template-columns: 1fr; }
  .island-related { grid-template-columns: 1fr; }
  .island-contact h2 { font-size: 1.9rem; }
}
