:root {
  --ink: #23232f;
  --cream: #f8f7ef;
  --lavender: #c6c5e3;
  --pale: #e7e6f2;
  --muted: #585865;
  --line: #ceced5;
  --purple: #59547c;
  font-family: "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; }
::selection { background: var(--ink); color: var(--cream); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; border-radius: 2px; }
button, a { -webkit-tap-highlight-color: transparent; }
p, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; word-break: keep-all; }
p, dd { line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; }
h1 { font-size: clamp(3.2rem, 7.2vw, 6.7rem); line-height: 1.08; letter-spacing: -.075em; font-weight: 750; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.23; letter-spacing: -.055em; font-weight: 700; }
h3 { font-size: 1.35rem; line-height: 1.4; letter-spacing: -.025em; font-weight: 650; }
.wrap { width: min(100% - 6rem, 1200px); margin-inline: auto; }
.section-space { padding-block: 7rem; }
.eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; line-height: 1.4; }
:lang(ko) .eyebrow { letter-spacing: .04em; }
.muted { color: var(--muted); }
.skip-link { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: 1rem; background: var(--cream); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--lavender); border-bottom: 1px solid rgb(35 35 47 / 15%); }
.header-inner { min-height: 96px; display: flex; align-items: center; gap: 2.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 800; letter-spacing: -.055em; text-decoration: none; }
.brand-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--purple); }
.main-nav { display: flex; gap: 1.9rem; margin-left: auto; }
.main-nav a { font-size: .9rem; font-weight: 550; text-decoration: none; padding-block: .7rem; }
.languages { display: flex; gap: .6rem; align-items: center; font-size: .76rem; white-space: nowrap; }
.languages a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.languages a[aria-current] { font-weight: 750; text-decoration: underline; }
.languages > span { opacity: .45; }
.hero { background: var(--lavender); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 5rem; padding-block: 5.3rem 5rem; }
.hero .eyebrow { margin-bottom: 2rem; }
.hero h1 { margin-bottom: 2rem; }
.hero-body { max-width: 460px; color: #3f3f52; font-size: 1.02rem; }
.hero-actions { display: flex; gap: 1.7rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }
.button { display: inline-flex; min-height: 52px; padding: .8rem 1.2rem; gap: 2.2rem; align-items: center; justify-content: space-between; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: .88rem; font-weight: 600; line-height: 1.4; }
.button:hover { text-decoration: none; background: var(--purple); color: var(--cream); }
.dark { background: var(--ink); color: var(--cream); }
.light { background: var(--cream); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: .9rem; text-decoration: none; font-size: .86rem; font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.brand-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 375px; background: var(--cream); border-radius: 47% 47% 8px 8px; overflow: hidden; }
.brand-panel img { position: relative; width: 196px; height: 196px; object-fit: contain; }
.brand-panel p { position: relative; margin-top: 1.5rem; font-size: .7rem; letter-spacing: .035em; }
.brand-orbit { position: absolute; border: 1px dashed #b7b5ce; width: 280px; height: 280px; border-radius: 50%; top: 33px; }
.hero-facts { display: flex; gap: 5rem; border-top: 1px solid rgb(35 35 47 / 20%); padding-block: 1.8rem; }
.hero-facts > div { display: flex; gap: 1.8rem; align-items: baseline; }
.hero-facts dt { font-size: .72rem; color: #474759; }
.hero-facts dd { font-size: .85rem; font-weight: 650; }
.project-section { background: var(--ink); color: var(--cream); padding-block: 5rem 6rem; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
.status { display: inline-flex; align-items: center; gap: .6rem; font-size: .7rem; line-height: 1.3; border: 1px solid currentColor; padding: .5rem .8rem; border-radius: 50px; }
.status > span { height: 5px; width: 5px; background: currentColor; border-radius: 50%; }
.project-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 6rem; }
.project-layout h2 { margin-bottom: 1.8rem; font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.project-description { font-size: 1rem; max-width: 540px; color: #d6d5df; margin-bottom: 2rem; }
.project-note { padding-left: 3rem; border-left: 1px solid #555460; }
.note-mark { display: block; font-size: 3rem; color: var(--lavender); line-height: 1; margin-bottom: 1.4rem; }
.project-note p { font-size: 1.55rem; line-height: 1.65; font-weight: 500; letter-spacing: -.03em; margin-bottom: 2rem; }
.genre-list { list-style: none; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.genre-list li { border: 1px solid #656472; border-radius: 4px; padding: .5rem .7rem; font-size: .69rem; line-height: 1.4; }
.project-section a:focus-visible { outline-color: var(--lavender); }
.section-heading { max-width: 690px; margin-bottom: 3.5rem; }
.section-heading .eyebrow { color: var(--purple); margin-bottom: 1.5rem; }
.section-heading h2 { margin-bottom: 1.7rem; }
.section-intro { font-size: 1rem; color: var(--muted); }
.principles { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: baseline; padding-block: 2rem; border-bottom: 1px solid var(--line); }
.index { color: var(--purple); font-size: .73rem; font-variant-numeric: tabular-nums; }
.principles p { font-size: .95rem; color: var(--muted); }
.team-section { background: var(--pale); }
.team-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; }
.team-layout .section-heading { margin-bottom: 0; }
.team-layout .section-intro { max-width: 420px; }
.disciplines { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.2rem; }
.disciplines > div { border-top: 1px solid #bcbaca; padding-top: 1.5rem; }
.disciplines dt { font-size: 1.13rem; font-weight: 650; margin-bottom: .7rem; }
.disciplines dd { font-size: .86rem; color: var(--muted); }
.compact { max-width: none; }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-top: 1px solid var(--line); }
.archive-entry { padding: 2rem 4rem 0 0; }
.archive-entry h3 { margin-block: 1rem; font-size: 1.7rem; }
.archive-entry > p:not(.eyebrow) { max-width: 600px; font-size: .92rem; color: var(--muted); }
.archive-entry a { margin-top: 1rem; }
.record-entry { padding: 2rem 0 0 3rem; margin-top: 2rem; border-left: 1px solid var(--line); }
.record-year { display: block; font-size: 2.5rem; letter-spacing: -.06em; font-weight: 600; margin-bottom: 1rem; }
.record-entry p { max-width: 310px; font-size: .85rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: var(--cream); padding-block: 2.5rem; }
.footer-inner { display: flex; gap: 2rem; justify-content: space-between; align-items: center; }
.legal { margin-top: .8rem; color: var(--muted); font-size: .7rem; }
.footer-links { display: flex; gap: 2rem; align-items: center; }
.footer-links a { display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; font-size: .75rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.detail-hero { padding-block: 2rem 4rem; background: var(--lavender); }
.back-link { margin-bottom: 3rem; font-size: .8rem; }
.detail-hero .section-top { margin-bottom: 1.7rem; }
.game-name { font-size: 1.2rem; font-weight: 650; margin-bottom: 1.5rem; }
.detail-hero h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); }
.detail-hero-bottom { display: flex; justify-content: space-between; gap: 4rem; align-items: flex-end; padding-top: 2.5rem; margin-top: 3rem; border-top: 1px solid rgb(35 35 47 / 20%); }
.detail-hero-bottom > p { max-width: 630px; color: #3f3f52; font-size: 1rem; }
.detail-hero .genre-list { max-width: 360px; flex-shrink: 0; }
.detail-hero .genre-list li { border-color: #817e9a; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: center; }
.intro-layout .eyebrow { color: var(--purple); margin-bottom: 1.5rem; }
.concept-section { background: var(--ink); color: var(--cream); }
.concept-section .eyebrow, .concept-section .index { color: var(--lavender); }
.concepts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 5rem; list-style: none; padding: 0; }
.concepts li { border-top: 1px solid #555460; padding-top: 1.5rem; }
.concepts h3 { margin-block: 1.5rem .8rem; font-size: 1.65rem; }
.concepts p { color: #d6d5df; font-size: .94rem; }
.closing-section { background: var(--pale); }
.closing-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: center; }
.closing-layout p { color: var(--muted); margin-bottom: 1rem; }
.error-section { min-height: 62vh; padding-block: 7rem; }
.error-section h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4rem); margin-block: 2rem 1.5rem; }
.error-section > p:not(.eyebrow) { color: var(--muted); max-width: 600px; margin-bottom: 2rem; }

@media (min-width: 1500px) {
  .hero-layout { padding-block: 6.5rem 6rem; }
}
@media (max-width: 980px) {
  .wrap { width: calc(100% - 3rem); }
  .header-inner { gap: 1.5rem; }
  .main-nav { gap: 1.2rem; }
  .hero-layout { gap: 2.5rem; }
  .brand-panel { min-height: 320px; }
  .brand-panel img { width: 172px; height: 172px; }
  .brand-orbit { width: 240px; height: 240px; top: 28px; }
  .project-layout, .team-layout { gap: 3rem; }
  .project-note { padding-left: 2rem; }
  .detail-hero-bottom { display: block; }
  .detail-hero .genre-list { max-width: none; margin-top: 1.5rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 1rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .section-space { padding-block: 4.5rem; }
  h1 { font-size: clamp(3rem, 12vw, 5.4rem); }
  h2 { font-size: clamp(2rem, 7.8vw, 3rem); }
  .header-inner { min-height: 100px; display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding-block: 1rem .3rem; }
  .brand { font-size: .96rem; }
  .languages { grid-column: 2; grid-row: 1; font-size: .71rem; gap: .45rem; }
  .main-nav { grid-column: 1 / -1; margin: 0; gap: 1.8rem; }
  .main-nav a { font-size: .8rem; min-height: 44px; display: flex; align-items: center; padding-block: .5rem; }
  .hero-layout { grid-template-columns: 1fr; padding-block: 3.5rem 3rem; gap: 3rem; }
  .hero .eyebrow { font-size: .7rem; margin-bottom: 1.5rem; }
  .hero-body { font-size: .94rem; max-width: 460px; }
  .hero-actions { gap: 1rem 1.4rem; }
  .brand-panel { width: min(100%, 290px); min-height: 290px; margin-inline: auto; border-radius: 47% 47% 6px 6px; }
  .brand-panel img { width: 166px; height: 166px; }
  .brand-panel p { margin-top: 1rem; font-size: .66rem; }
  .brand-orbit { width: 224px; height: 224px; top: 22px; }
  .hero-facts { gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.5rem; }
  .hero-facts > div { flex-direction: column; gap: .3rem; }
  .hero-facts dt { font-size: .66rem; }
  .hero-facts dd { font-size: .8rem; }
  .project-section { padding-block: 3.5rem 4rem; }
  .section-top { margin-bottom: 2rem; }
  .project-layout { grid-template-columns: 1fr; gap: 3rem; }
  .project-layout h2 { font-size: clamp(1.95rem, 7.4vw, 3rem); }
  .project-description { font-size: .94rem; }
  .project-note { border-left: 0; border-top: 1px solid #555460; padding: 2rem 0 0; }
  .note-mark { font-size: 2.5rem; }
  .project-note p { font-size: 1.6rem; }
  .section-heading { margin-bottom: 2.5rem; }
  .section-heading .eyebrow { margin-bottom: 1.2rem; }
  .section-intro { font-size: .94rem; }
  .principles li { grid-template-columns: 28px 1fr; gap: .7rem 1rem; padding-block: 1.7rem; }
  .principles h3 { font-size: 1.22rem; }
  .principles p { grid-column: 2; font-size: .89rem; }
  .team-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .disciplines { gap: 1.8rem 1.5rem; }
  .disciplines dt { font-size: 1rem; }
  .disciplines dd { font-size: .81rem; }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-entry { padding-right: 0; }
  .record-entry { padding: 1.8rem 0 0; margin-top: 2rem; border-left: 0; border-top: 1px solid var(--line); }
  .record-year { font-size: 2rem; }
  .record-entry p { max-width: 100%; }
  .footer-inner { display: block; }
  .footer-links { gap: 1.4rem; flex-wrap: wrap; margin-top: 1rem; }
  .detail-hero { padding-block: 1.2rem 3rem; }
  .back-link { margin-bottom: 2rem; }
  .game-name { font-size: 1rem; }
  .detail-hero h1 { font-size: clamp(2.5rem, 9.7vw, 4.4rem); }
  .detail-hero-bottom { margin-top: 2rem; padding-top: 2rem; }
  .detail-hero-bottom > p { font-size: .94rem; }
  .intro-layout, .closing-layout { grid-template-columns: 1fr; gap: 2rem; }
  .concepts { grid-template-columns: 1fr; gap: 2.5rem; }
  .concepts h3 { font-size: 1.4rem; margin-top: 1.2rem; }
  .concepts p { font-size: .89rem; }
  .error-section { padding-block: 4.5rem; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { column-gap: .5rem; }
  .brand { font-size: .87rem; gap: .4rem; }
  .languages { font-size: .68rem; }
  .hero-actions { display: block; }
  .hero-actions .text-link { margin-top: .7rem; }
  .disciplines { grid-template-columns: 1fr; gap: 1.5rem; }
  .detail-hero .section-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
