:root {
  --ink: #141414;
  --paper: #ffffff;
  --floor: #eef1f5;
  --floor-dot: #d6dbe3;
  --muted: #5b6270;
  --blue: #1d5fe0;
  --blue-soft: #e7efff;
  --warn: #ff6a2b;
  --skin: #efdee0;
  --hair: #512b28;
  --radius: 18px;
  --shadow: 4px 4px 0 var(--ink);
  --display: "Jua", "Pretendard Variable", sans-serif;
  --body: "Pretendard Variable", Pretendard, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* draft ribbon */
.draft {
  background: var(--ink); color: #fff; font-size: 13px; text-align: center;
  padding: 6px 12px; letter-spacing: .02em;
}
.draft b { color: #ffd84d; }

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--floor); }
.ig-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px;
  white-space: nowrap;
}
.ig-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .top .wrap { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav a { background: var(--floor); font-size: 14px; white-space: nowrap; }
  .ig-btn { margin-left: auto; }
}

/* cleanroom floor background */
.floor {
  background-color: var(--floor);
  background-image: radial-gradient(var(--floor-dot) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
}

/* brush-stroke headline box, like the posters */
.brush { position: relative; display: inline-block; isolation: isolate; }
.brush::before {
  content: ""; position: absolute; inset: -18px -26px; z-index: -1;
  background: var(--paper); border-radius: 40px;
  filter: url(#rough) drop-shadow(0 6px 14px rgba(20,20,20,.08));
}
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.blue { color: var(--blue); }
.warn { color: var(--warn); }

/* hero */
.hero { padding: 64px 0 80px; border-bottom: 2px solid var(--ink); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: 14px;
  background: var(--ink); color: #fff; padding: 6px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.15; margin: 34px 0 30px; }
.hero .lines { list-style: none; padding: 0; margin: 0 0 30px; font-size: 18px; font-weight: 600; }
.hero .lines li { display: flex; gap: 10px; align-items: baseline; }
.hero .lines li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; transform: translateY(-2px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 800; font-size: 16px; padding: 14px 22px; border-radius: 14px;
  border: 2.5px solid var(--ink); box-shadow: var(--shadow); background: var(--paper);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn.primary { background: var(--blue); color: #fff; }

.stack { position: relative; height: 610px; }
.stack a {
  position: absolute; width: 58%; border: 3px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: var(--paper);
  transition: transform .2s;
}
.stack a:nth-child(1) { left: 0; top: 40px; transform: rotate(-7deg); }
.stack a:nth-child(2) { right: 0; top: 70px; transform: rotate(6deg); }
.stack a:nth-child(3) { left: 21%; top: 0; transform: rotate(-1deg); z-index: 2; }
.stack a:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.stack .semi { position: absolute; left: -8px; bottom: 0; width: 170px; z-index: 6; }
.bubble {
  position: absolute; z-index: 7; background: var(--paper); border: 2.5px solid var(--ink);
  border-radius: 22px; padding: 10px 16px; font-family: var(--display); font-size: 18px; line-height: 1.3;
}
.bubble::after {
  content: ""; position: absolute; width: 16px; height: 16px; background: var(--paper);
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
}
.stack .bubble { left: 160px; bottom: 78px; }
.stack .bubble::after { left: -10px; top: 50%; margin-top: -8px; transform: rotate(135deg); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stack { height: 560px; max-width: 460px; width: 100%; margin: 20px auto 10px; }
  .stack .semi { width: 150px; }
  .stack .bubble { left: 142px; bottom: 66px; }
}
@media (max-width: 420px) {
  .stack { height: 450px; }
  .stack .semi { width: 120px; bottom: 0; left: -6px; }
  .stack .bubble { left: 112px; bottom: 50px; font-size: 15px; }
}

/* section heads */
section.block { padding: 84px 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.2; margin: 0; }
.head p { margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.kicker { font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--blue); }
.more { font-weight: 800; text-decoration: none; border-bottom: 2.5px solid var(--ink); padding-bottom: 2px; white-space: nowrap; }

/* toons grid */
.toons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.toon { text-decoration: none; display: block; }
.toon .cover {
  border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; background: var(--floor); transition: transform .15s, box-shadow .15s;
}
.toon .cover img { width: 100%; height: 100%; object-fit: cover; }
.toon:hover .cover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.toon h3 { font-size: 17px; margin: 14px 0 2px; line-height: 1.35; }
.toon .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.tag { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.toon.first { grid-column: span 2; grid-row: span 2; }
.toon.first h3 { font-size: 22px; }
@media (max-width: 860px) {
  .toons { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .toon.first { grid-column: span 2; grid-row: auto; }
}

/* story band */
.story { background: var(--blue); color: #fff; border-block: 2px solid var(--ink); }
.story .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.story .kicker { color: #bcd2ff; }
.story h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.2; margin: 12px 0 20px; }
.story p { font-size: 18px; margin: 0 0 26px; opacity: .95; }
.promises { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.promises li {
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px; padding: 12px 16px; font-weight: 700;
}
.promises li span { display: block; font-weight: 500; font-size: 14px; opacity: .85; }
.story .btn { color: var(--ink); }
.example {
  background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink); padding: 18px; transform: rotate(2deg); text-decoration: none; display: block;
}
.example img { border-radius: 12px; border: 2px solid var(--ink); }
.example .cap { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.example .cap img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); }
.example .cap b { display: block; font-size: 16px; }
.example .cap small { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) {
  .story .wrap { grid-template-columns: 1fr; }
  .example { max-width: 420px; transform: rotate(1deg); }
}



.today { margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; text-decoration: none; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); max-width: 520px; transition: transform .12s, box-shadow .12s; }
.today:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.today-label { grid-row: span 2; font-weight: 800; font-size: 13px; color: #fff; background: var(--blue); border-radius: 10px; padding: 8px 10px; line-height: 1.3; text-align: center; max-width: 76px; }
.today-q { font-weight: 800; font-size: 16px; line-height: 1.35; }
.today-go { font-size: 13px; color: var(--muted); font-weight: 700; }

/* stickers */
.stickers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sticker { border: 2.5px solid var(--ink); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.sticker .pic { display: block; aspect-ratio: 1; background-color: #f7f8fa; background-image: linear-gradient(45deg,#eceff3 25%,transparent 25%,transparent 75%,#eceff3 75%),linear-gradient(45deg,#eceff3 25%,transparent 25%,transparent 75%,#eceff3 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; border-bottom: 2.5px solid var(--ink); }
.sticker .pic img { width: 100%; height: 100%; object-fit: contain; }
.sticker .row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; gap: 6px; }
.sticker .name { font-weight: 800; font-size: 15px; }
.like { display: inline-flex; align-items: center; gap: 5px; border: 2px solid var(--ink); background: var(--paper); border-radius: 999px; padding: 3px 10px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.like svg { width: 16px; height: 16px; fill: none; stroke: var(--warn); stroke-width: 2.4; }
.like[aria-pressed="true"] { background: #fff1ea; }
.like[aria-pressed="true"] svg { fill: var(--warn); }
.request { margin-top: 30px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: var(--ink); color: #fff; border-radius: 22px; padding: 24px 28px; }
.request h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: 26px; }
.request p { margin: 0; color: #c9ccd2; }
.request .btn { color: var(--ink); box-shadow: 4px 4px 0 #ffd84d; border-color: #ffd84d; }
dialog { border: 3px solid var(--ink); border-radius: 22px; padding: 26px; width: min(480px, 100% - 32px); box-shadow: 8px 8px 0 var(--ink); }
dialog::backdrop { background: rgba(20,20,20,.45); }
dialog h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 26px; }
dialog p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
dialog textarea { width: 100%; min-height: 110px; border: 2px solid var(--ink); border-radius: 12px; padding: 12px; font: inherit; resize: vertical; }
dialog .acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 14px; }
dialog .done { display: none; width: 100%; font-weight: 700; color: var(--blue); }
@media (max-width: 960px) { .stickers { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .stickers { grid-template-columns: repeat(2, 1fr); gap: 12px; } .request { grid-template-columns: 1fr; } }


/* community */
.comm { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; }
.panel .label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--blue); }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.3; margin: 8px 0 16px; }
.answers, .qs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.answers li { background: var(--floor); border-radius: 14px; padding: 10px 14px; font-size: 15px; }
.answers li small, .qs li small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.qs li { border-bottom: 1.5px dashed #c9ced6; padding-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-weight: 700; }
.qs li:last-child { border-bottom: 0; }
.qs .cnt { font-size: 13px; font-weight: 800; background: var(--blue-soft); color: var(--blue); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.panel .btn { margin-top: auto; align-self: flex-start; }
.sample { font-size: 12px; font-weight: 800; color: var(--warn); border: 1.5px solid var(--warn); border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.comm-rule { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.comm-rule b { color: var(--ink); }
@media (max-width: 860px) { .comm { grid-template-columns: 1fr; } }

/* study */
.books { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.book {
  border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column;
}
.book .img { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2.5px solid var(--ink); }
.book .img img { width: 100%; height: 100%; object-fit: cover; }
.book .body { padding: 14px 16px 16px; }
.book .code { font-family: var(--display); font-size: 22px; display: flex; align-items: center; gap: 8px; }
.book .code i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.book p { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.book.soon { box-shadow: none; border-style: dashed; background: transparent; }
.book.soon .img { display: grid; place-items: center; background: var(--paper); border-bottom-style: dashed; }
.book.soon .img span { font-family: var(--display); font-size: 40px; color: #c3c9d3; }
.soon-tag { font-size: 12px; font-weight: 800; color: var(--muted); border: 1.5px solid var(--muted); border-radius: 999px; padding: 1px 8px; margin-left: auto; }
.bonus {
  margin-top: 34px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow);
}
.bonus .ico { font-size: 40px; line-height: 1; }
.bonus h3 { margin: 0 0 4px; font-size: 21px; }
.bonus p { margin: 0; color: var(--muted); }
.bonus ol { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.bonus ol li { background: var(--floor); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }
@media (max-width: 960px) { .books { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bonus { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .books { gap: 12px; } .book .code { font-size: 19px; } .book p { font-size: 13px; } }

/* meet semi */
.meet .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.poses { display: flex; justify-content: center; padding: 10px; }
.poses .avatar-big { width: min(280px, 70%); height: auto; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.meet h2 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 18px; line-height: 1.2; }
.meet p { font-size: 17px; margin: 0 0 22px; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.rules li b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
@media (max-width: 860px) {
  .meet .wrap { grid-template-columns: 1fr; }
}

/* footer */
footer { background: var(--ink); color: #c9ccd2; padding: 48px 0 40px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: flex-start; }
footer .brand img { height: 30px; background: #fff; border-radius: 999px; padding: 5px 14px; box-sizing: content-box; }
footer .brand p { margin: 12px 0 0; max-width: 420px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer nav a { color: #fff; text-decoration: none; font-weight: 700; }
footer .copy { width: 100%; border-top: 1px solid #333; padding-top: 18px; color: #8b9099; font-size: 13px; }
.hair-note { background: var(--skin); border: 2px dashed var(--hair); border-radius: 14px; padding: 12px 16px; font-size: 15px; font-weight: 600; }

/* 상식편 friends */
/* official height chart: round 90 < semi 100 < glasses 150 < muscle 190 (hood top to shoe sole) */
.poses { container-type: inline-size; }
/* shrink the whole group together so the ratio holds on narrow columns (sum of widths is about 500 units) */
/* group photo: tall friends stand in the back row (raised 14 units), Semi and the round friend in front.
   Sizes keep the official ratio; the whole group scales with the column (about 310 x 206 units). */
.crew { --u: min(1.55px, calc((100cqw - 90px) / 318)); position: relative; width: calc(var(--u) * 310); height: calc(var(--u) * 206); margin: 0 auto; }
.crew::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: calc(var(--u) * -6); height: calc(var(--u) * 16); border-radius: 50%; background: rgba(20,20,20,.08); z-index: 0; }
.crew img { position: absolute; width: auto; }
.crew .h190 { left: calc(var(--u) * 110); bottom: calc(var(--u) * 14); z-index: 1; }
.crew .h150 { left: 0; bottom: calc(var(--u) * 14); z-index: 2; }
.crew .h100 { left: calc(var(--u) * 92); bottom: 0; z-index: 3; }
.crew .h90 { left: calc(var(--u) * 222); bottom: 0; z-index: 4; }
.crew .h90 { height: calc(var(--u) * 90); } .crew .h100 { height: calc(var(--u) * 100); }
.crew .h150 { height: calc(var(--u) * 150); } .crew .h190 { height: calc(var(--u) * 190); }
.deco { position: absolute; pointer-events: none; height: auto; }
.story-text { position: relative; }
.deco.shh { width: 110px; right: 0; top: -20px; }
#study .head > div { position: relative; }
.deco.idea { width: 96px; left: 330px; top: -10px; }
.request { position: relative; }
.deco.peek { width: 120px; right: 260px; top: -78px; }
.ico-img { width: 76px; height: auto; }
@media (max-width: 860px) { .deco.peek { right: 24px; } .deco.idea { left: auto; right: 0; } }
@media (max-width: 520px) { .deco.shh { width: 78px; top: -10px; } .deco.idea { width: 70px; } .deco.peek { width: 86px; top: -56px; } }

/* polaroid-style group photo card */
.photo { margin: 0; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink);
  padding: 14px 14px 12px; transform: rotate(-2deg); width: fit-content; max-width: 100%; }
.photo .scene { border: 2px solid var(--ink); border-radius: 14px; padding: calc(var(--u, 1px) * 18 + 18px) 18px 22px;
  background-color: #eaf1ff; background-image: radial-gradient(#cdd9f2 1.6px, transparent 1.8px); background-size: 18px 18px; }
.photo figcaption { font-family: var(--display); font-size: 20px; text-align: center; margin-top: 10px; }
.photo figcaption small { display: block; font-family: var(--body); font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }
