:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --ink: #182d25;
  --muted: #4d5c53;
  --forest: #15392d;
  --yellow: #f8e2a4;
  --line: #dce2d8;
  --shell: 1160px;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

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

a:focus-visible {
  outline: 3px solid #2c8262;
  outline-offset: 5px;
  border-radius: 4px;
}

.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--yellow); }

h1, h2, h3, p { margin: 0; }

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

.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 2;
  padding: 10px 16px;
  background: white;
}

.site-header { background: #fcfbf6; }

.header-inner, .site-nav, .brand { display: flex; align-items: center; }

.header-inner { min-height: 72px; justify-content: space-between; gap: 18px; }

.brand { gap: 11px; font-size: 1.1rem; font-weight: 800; letter-spacing: -.05em; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff5d7;
  background: var(--forest);
  border-radius: 11px 11px 11px 4px;
  font: 800 24px/1 "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.site-nav { gap: clamp(14px, 3vw, 42px); color: #354d42; font-size: .93rem; font-weight: 650; }

.site-nav a, .footer-top { padding-block: 10px; }

.site-nav a:hover, .hero-text-link:hover, .footer-top:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { color: #fffdf3; background: #122e25; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  min-height: 474px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 1; padding-block: 54px 58px; }

.hero-kicker {
  margin-bottom: 16px;
  color: #d9e5d8;
  font-size: .88rem;
  font-weight: 650;
}

.hero h1 {
  font-size: clamp(3.25rem, 6.4vw, 6.1rem);
  font-weight: 850;
  line-height: 1.13;
  letter-spacing: -.077em;
}

.english-title {
  margin-top: 9px;
  color: var(--yellow);
  font: 600 clamp(1.02rem, 2vw, 1.34rem)/1.35 "DM Sans", Arial, sans-serif;
  letter-spacing: .02em;
}

.hero-description { margin-top: 22px; color: #eff4ea; font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.6; }

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 30px; }

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 10px 17px;
  color: #23372a;
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
}

.hero-button:hover { background: #ffedbd; }

.hero-text-link { font-size: .93rem; font-weight: 650; }

.hero-text-link span, .footer-top span { margin-left: 4px; }

.hero-visual {
  position: relative;
  min-width: 0;
  align-self: stretch;
  isolation: isolate;
  container-type: size;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #122e25, transparent 18%, transparent 82%, #122e25),
              linear-gradient(#122e25, transparent 8%, transparent 92%, #122e25);
  content: "";
  pointer-events: none;
}

.hero-map {
  position: absolute;
  inset: 0;
  width: min(100cqw, 125cqh);
  aspect-ratio: 5 / 4;
  margin: auto;
}

.hero-map img { height: 100%; }

.map-island {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 6px;
  border-radius: 45% 55% 48% 52%;
  background: #d7c589;
  box-shadow: 0 1px 2px #0c1e16;
}

.map-island-ulleung { top: 53%; left: 72%; }
.map-island-dokdo { top: 59%; left: 79%; width: 5px; height: 4px; }

.games-section { padding-block: 58px 76px; }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 24px;
}

.section-heading h2, .proposal-heading h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -.075em;
  font-weight: 850;
}

.section-heading p, .proposal-heading > p:last-child { color: var(--muted); }

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

.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce1d8;
  border-radius: 15px;
  background: #fffefa;
  box-shadow: 0 9px 24px -20px #193a2d70;
}

.card-art { background: #d4e4d2; aspect-ratio: 2; overflow: hidden; }

.card-art img { height: 100%; object-fit: cover; }

.game-train .card-art { background: #dec38f; }

.game-board .card-art { background: #172939; }

.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px 21px 20px; }

.difficulty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 100px;
  background: #e8f1e6;
  color: #29553c;
  font-size: .76rem;
  font-weight: 800;
}

.level-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.game-train .difficulty { background: #fcf0d6; color: #795018; }

.game-board .difficulty { background: #e8edf5; color: #34476d; }

.card-body h3 {
  margin-top: 10px;
  font-size: clamp(1.43rem, 2.5vw, 1.88rem);
  line-height: 1.27;
  letter-spacing: -.067em;
  font-weight: 850;
}

.card-body h3 span {
  display: inline-block;
  margin-left: 7px;
  color: var(--muted);
  font-size: .73rem;
  letter-spacing: -.015em;
  font-weight: 650;
}

.card-description { margin: 9px 0 17px; color: var(--muted); font-size: .94rem; line-height: 1.65; }

.card-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid #dce5da;
  border-radius: 7px;
  color: #1c4e39;
  background: #f3f7f0;
  font-size: .88rem;
  font-weight: 800;
}

.card-link:hover { border-color: #a7bfaf; background: #e6efe2; }

.proposal-section { border-top: 1px solid var(--line); background: #edf1e8; padding-block: 67px 76px; }

.proposal-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: 35px 7%; }

.section-label { margin-bottom: 13px; color: #306348; font-size: .87rem; font-weight: 800; }

.proposal-heading > p:last-child { margin-top: 16px; font-size: 1.04rem; }

.proposal-text > section + section { margin-top: 26px; padding-top: 26px; border-top: 1px solid #d1dacf; }

.proposal-text h3 { margin-bottom: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }

.proposal-text p { color: #3b4d42; font-size: .98rem; line-height: 1.85; }

.proposal-text p + p { margin-top: 11px; }

.team-section { padding-block: 58px 76px; }

.team-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fffefa;
}

.team-list strong { font-size: 1.03rem; }

.team-role {
  padding: 0 7px;
  border-radius: 20px;
  color: #664d26;
  background: #f7ead0;
  font-size: .75rem;
  font-weight: 800;
}

.team-region { flex-basis: 100%; color: var(--muted); font-size: .9rem; }

.site-footer { background: var(--forest); color: #fffdf3; }

.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-block: 30px 35px; }

.footer-brand { width: fit-content; }

.footer-brand .brand-mark { background: #f7e4aa; color: var(--forest); }

.footer-inner p { margin-top: 10px; font-size: .91rem; color: #e5eee1; }

.footer-top { flex-shrink: 0; color: #eff2e7; font-size: .85rem; }

@media (max-width: 970px) {
  .shell { width: min(var(--shell), calc(100% - 56px)); }
  .hero-inner { min-height: 424px; }
  .card-body { padding: 16px 15px; }
  .games-grid { gap: 14px; }
  .card-body h3 span { display: block; margin: 5px 0 0; }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 61px; }
  .brand { gap: 8px; font-size: 1rem; }
  .brand-mark { width: 32px; height: 32px; font-size: 21px; }
  .site-nav { font-size: .85rem; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding-block: 43px 21px; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4.8rem); }
  .hero-description { margin-top: 17px; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 21px; }
  .hero-visual { aspect-ratio: 1.25; max-height: 350px; }
  .games-section, .proposal-section, .team-section { padding-block: 40px 48px; }
  .section-heading { display: block; margin-bottom: 17px; }
  .section-heading p { margin-top: 6px; font-size: .92rem; }
  .games-grid, .proposal-grid { grid-template-columns: 1fr; }
  .games-grid { gap: 15px; }
  .card-body { padding: 17px; }
  .card-body h3 span { display: inline-block; margin-left: 7px; }
  .proposal-grid { gap: 22px; }
  .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { padding-block: 24px; }
}

@media (max-width: 370px) {
  .header-inner { gap: 10px; }
  .site-nav { gap: 10px; font-size: .8rem; }
}

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