:root {
  --bg: #FBF7F1;
  --bg-alt: #F3ECE2;
  --ink: #2E2A26;
  --body: #4A433D;
  --muted: #6B5848;
  --line: #E5DACB;
  --autumn: #E2A86F;
  --snow: #A9C2D9;
  --serif: 'Gowun Batang', serif;
  --sans: 'Gowun Dodum', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-x: hidden;
}
a { color: var(--ink); }
a:hover { color: #8A5A34; }
img, svg { display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.alt { background: var(--bg-alt); }
.section { padding-top: 96px; padding-bottom: 96px; }

.eyebrow { margin: 0; font-size: 15px; letter-spacing: 0.08em; color: var(--muted); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.35; }
p { margin: 0; }

/* header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand span { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.nav a { text-decoration: none; padding: 10px 12px; min-height: 44px; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-size: 16px; border: 1.5px solid var(--ink); color: var(--ink); }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: #4A433D; color: var(--bg); }
.btn { gap: 10px; }
.btn .icon { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.3; letter-spacing: -0.01em; }
.hero .lead { max-width: 34em; color: #5C534B; font-size: 18px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.blob { position: absolute; border-radius: 50%; }
.blob.a { left: 4%; top: 14%; width: 56%; height: 56%; background: var(--autumn); opacity: 0.32; filter: blur(28px); }
.blob.b { right: 4%; top: 26%; width: 50%; height: 50%; background: var(--snow); opacity: 0.4; filter: blur(30px); }
.blob.c { left: 22%; bottom: 8%; width: 56%; height: 24%; background: #E8D9C4; opacity: 0.7; filter: blur(18px); }
.hero-art svg { position: relative; width: 100%; height: 100%; }

/* about */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; color: var(--body); }

/* game */
.game { display: flex; flex-direction: column; gap: 40px; }
.game .desc { max-width: 40em; color: var(--body); }
.tag { font-family: var(--sans); font-weight: 400; font-size: 16px; color: var(--muted); vertical-align: middle; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); }
.shot { aspect-ratio: 9 / 16; max-height: 460px; border-radius: clamp(14px, 2vw, 24px); background: #EFE6DA; border: 1.5px dashed #C4B29C; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: clamp(12px, 1.4vw, 15px); text-align: center; padding: 16px; }
.shot.cool { background: #E6ECF1; border-color: #A9B8C6; color: #4F5E6C; }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.fact { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.fact span:first-child { font-size: 14px; color: var(--muted); }
.fact span:last-child { font-size: 18px; }

/* cats */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cat { background: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.cat .dot { width: 72px; height: 72px; border-radius: 50%; }
.cat .dot.autumn { background: var(--autumn); opacity: 0.85; }
.cat .dot.snow { background: #fff; border: 2px solid #C9D3DD; }
.cat-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 4px solid transparent; }
.cat-photo.autumn { border-color: color-mix(in srgb, var(--autumn) 70%, transparent); }
.cat-photo.snow { border-color: var(--snow); }
.cat h3 { font-size: 28px; }
.cat h3 small { font-size: 16px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.cat p { color: var(--body); }
.cat .role { font-size: 15px; color: var(--muted); }

/* contact */
.contact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.contact p { max-width: 32em; color: var(--body); }
.contact .btns { justify-content: center; }

/* footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* policy page */
.policy { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.policy h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.35; margin-bottom: 8px; }
.policy .meta { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.policy h2 { font-size: 22px; margin: 48px 0 12px; }
.policy p, .policy li { color: var(--body); }
.policy p + p { margin-top: 12px; }
.policy ul, .policy ol { padding-left: 1.3em; margin: 12px 0 0; }
.policy li + li { margin-top: 6px; }
.policy table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.policy th, .policy td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); color: var(--body); }
.policy th { color: var(--ink); font-weight: 700; background: var(--bg-alt); }
.table-box { overflow-x: auto; }
.todo { background: #FCEFD9; padding: 0 4px; border-radius: 4px; }
