:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --ink: #222222;
  --mute: #666666;
  --line: #e5e5e5;
  --accent: #e53935;
  --max: 980px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 99;
  background: #fff;
  border: 1px solid #000;
  padding: 8px 12px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  height: 54px;
  background: #111;
  color: #fff;
}
.bar a { text-decoration: none; color: #fff; }
.logo {
  font-size: 1.125rem;
  font-weight: 700;
}
.bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.875rem;
}
.bar nav a { color: #ddd; }
.bar nav a:hover,
.bar nav a[aria-current="page"] { color: #fff; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.marquee { display: none; }
.stamp { display: none; }

.stage {
  display: block;
  background: #fff;
}
.stage-media {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: #222;
}
.stage-media picture,
.stage-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.stage-copy {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  padding: 28px 0 8px;
}
.stage-copy .eyebrow {
  margin: 0 0 8px;
  color: var(--mute);
  font-size: 0.875rem;
  font-weight: 500;
}
.stage h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
}
.stage-lead {
  margin: 0 0 18px;
  color: var(--mute);
  font-size: 0.975rem;
  max-width: 40rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 4px;
}
.btn:hover { filter: brightness(0.95); }
.btn.ghost {
  background: #fff;
  color: #222;
  border-color: #ccc;
}
.btn.ghost:hover {
  border-color: #999;
  filter: none;
}

.wrap {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
}
.block {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.block:nth-child(even) {
  background: var(--bg-soft);
}
.block h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}
.lede {
  margin: 0 0 20px;
  color: var(--mute);
  font-size: 0.95rem;
  max-width: 40rem;
}

.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.board article {
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}
.board article:last-child {
  border-color: #f0b4b2;
  background: #fff8f8;
}
.board .label {
  display: block;
  margin-bottom: 6px;
  color: var(--mute);
  font-size: 0.875rem;
  font-weight: 600;
}
.board strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.split > :first-child {
  background: transparent;
  color: inherit;
  border: 0;
  padding: 0;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.steps p {
  margin: 0;
  color: #333;
  font-size: 0.95rem;
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.rail div {
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.rail h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
}
.rail p {
  margin: 0;
  color: var(--mute);
  font-size: 0.875rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  background: #ddd;
}

.map-shell {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
    url("../img/space/hongdae-night.webp") center/cover;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.map-shell.is-on {
  padding: 0;
  background: #eee;
}
.map-shell iframe {
  width: 100%;
  height: 360px;
  border: 0;
}
.map-note {
  margin: 10px 0 0;
  color: #fff;
  font-size: 0.875rem;
}
.map-load-btn {
  background: #fff !important;
  color: #111 !important;
  border-color: #fff !important;
}

.qa {
  border-top: 1px solid var(--line);
  background: #fff;
}
.qa details {
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.975rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "▼";
  float: right;
  font-size: 0.7rem;
  color: #999;
}
.qa details[open] summary::after { content: "▲"; }
.qa p {
  margin: 0 0 14px;
  color: var(--mute);
  font-size: 0.925rem;
}

.foot {
  padding: 28px 14px 100px;
  background: #111;
  color: #aaa;
  text-align: center;
  font-size: 0.875rem;
}
.foot a {
  color: #fff;
  text-decoration: none;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.foot p { margin: 4px 0; }

.dock {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 50;
  display: none;
  gap: 6px;
}
.dock .btn {
  flex: 1;
  min-height: 44px;
  border-radius: 4px;
}

.page-top {
  padding: 28px 0 20px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-top h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
}
.crumb {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  color: var(--mute);
}
.crumb a {
  color: #333;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .board,
  .rail,
  .split,
  .strip { grid-template-columns: 1fr 1fr; }
  .stage-media img,
  .stage-media picture { height: 260px; }
  .stage-media { max-height: 260px; }
}

@media (max-width: 640px) {
  .bar nav { display: none; }
  .dock { display: flex; }
  .board,
  .rail,
  .split,
  .strip { grid-template-columns: 1fr; }
}
