.keywords { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #3a0a2b; border: 2px solid #3a0a2b; border-radius: 22px; overflow: hidden; margin-bottom: 72px; }
.keywords > div { background: #fffafd; padding: 28px; }
.keywords b { display: block; font: 900 clamp(2.4rem,5vw,4.4rem)/1 Impact, "Arial Black", sans-serif; color: var(--pink); }
.keywords span { font-weight: 900; font-size: 1.1rem; }
.keywords p { font-size: .92rem; margin-top: 8px; }

/* 왼쪽 설명, 오른쪽 디자인 */
.gd { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.4fr); gap: 36px; align-items: start; padding: 48px 0; border-top: 1px solid #3a0a2b40; }
.gd > header { position: sticky; top: 96px; }
.gd h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -.04em; margin-bottom: 10px; }
.gd header p:last-child { font-size: .95rem; line-height: 1.8; }
.gd-body figure { margin: 0; }
.gd figcaption { padding-top: 8px; font: 500 .8rem/1.55 inherit; color: #4a2340; }
.gd figcaption b { display: block; font: 800 .75rem var(--mono); letter-spacing: .1em; color: #c4158a; }

.anatomy { position: relative; padding: 36px 24px; border-radius: 22px; background: linear-gradient(#3a0a2b14 1px, transparent 1px) 0 0/28px 28px, linear-gradient(90deg,#3a0a2b14 1px, transparent 1px) 0 0/28px 28px, #fff; }
.anatomy img { width: 100%; display: block; }
.anatomy i { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; translate: -50% -50%; border-radius: 50%; border: 2px solid #fff; background: #17151f; color: #d7ff3f; font: 900 .85rem var(--mono); box-shadow: 0 0 0 6px #17151f22; }
.legend { list-style: none; padding: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: l; }
.legend li { counter-increment: l; font-size: .86rem; line-height: 1.6; border-top: 3px solid #17151f; padding-top: 8px; }
.legend b { display: block; font-size: .95rem; }
.legend b::before { content: counter(l) ". "; color: var(--pink); }

.versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.versions figure > div { height: 150px; display: grid; place-items: center; padding: 18px; border-radius: 16px; box-shadow: 0 0 0 1px #3a0a2b22; overflow: hidden; }
.versions img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.rules span { position: relative; display: grid; place-items: center; height: 100px; border-radius: 14px; background: #fff; overflow: hidden; }
.rules img { width: 70%; }
.rules .clear span img { outline: 2px dashed var(--pink); outline-offset: 12px; width: 60%; }
.rules p { font-size: .8rem; padding-top: 8px; line-height: 1.5; }
.rules b { color: #c4158a; margin-right: 4px; }
.rules .bad::after { content: "✕"; position: absolute; right: 8px; top: 4px; color: #e4163f; font-weight: 900; font-size: 1.2rem; }
.rules .stretch img { transform: scaleY(1.9) scaleX(.7); }
.rules .tilt img { rotate: -24deg; }
.rules .busy { background: url("assets/drawer.png") center/cover; }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); border-radius: 18px; overflow: hidden; }
.swatches > div:nth-child(-n+2) { grid-column: span 3; min-height: 230px; }
.swatches > div:nth-child(n+3) { grid-column: span 3; }
.swatches > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 170px; padding: 18px; }
.swatches span { align-self: flex-start; font: 800 .7rem var(--mono); border: 1px solid currentColor; border-radius: 99px; padding: 0 10px; margin-bottom: auto; }
.swatches b { font: 900 1.25rem/1.2 Impact, "Arial Black", sans-serif; letter-spacing: .04em; }
.swatches code { font: 700 .72rem/1.6 var(--mono); }
.swatches p { font-size: .8rem; }
.ratio { display: flex; height: 38px; margin-top: 14px; border-radius: 99px; overflow: hidden; border: 2px solid #fff; }
.ratio i { display: grid; place-items: center; font: 800 .72rem var(--mono); font-style: normal; color: #17151f; }
.ratio i:nth-child(-n+2) { color: #fff; }

.types { display: grid; gap: 14px; }
.types > div { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 16px; padding: 22px 26px; border-radius: 18px; background: #fff; }
.types p { grid-column: 1 / -1; line-height: 1.15; margin-bottom: 12px; overflow-wrap: anywhere; }
.types b { font: 800 .75rem var(--mono); color: #c4158a; } .types span { font-size: .8rem; }
.t-display { font: 900 clamp(2.4rem,6vw,5rem)/1 Impact, "Arial Black", sans-serif; }
.t-body { font-weight: 900; font-size: clamp(1.8rem,3.6vw,3rem); letter-spacing: -.05em; }
.t-mono { font: 700 clamp(1.4rem,3vw,2.4rem) var(--mono); color: #7a2a6a; }

.elements { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.elements figure > div { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; padding: 14px; border-radius: 18px; background: radial-gradient(#fff 2px, transparent 3px) 0 0/14px 14px, #ffd3ec; }
.elements img { width: 100%; height: 100%; object-fit: contain; min-height: 0; filter: drop-shadow(0 8px 10px #5a104340); }
.elements .puff { font-size: .8rem; padding: 6px 10px; }
.winchip { display: block; width: 100%; padding: 8px; border: 2px solid #f78ac6; border-radius: 8px; background: #fff; font: 700 .72rem/2 var(--mono); }
.winchip em { font-style: normal; color: #c4158a; }

.voices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.voices > div { padding: 24px; border-radius: 18px; background: #fff; }
.voices b { display: inline-block; padding: 2px 12px; border-radius: 99px; margin-bottom: 12px; font-size: .85rem; }
.voices .yes b { background: #c6f432; } .voices .no b { background: #e5e5ee; }
.voices .yes p { font-weight: 900; font-size: 1.25rem; }
.voices .no p { color: #7a7585; text-decoration: line-through; }

.applies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.applies figure > div:first-child { margin: 0 auto; }
.applies figure { display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border-radius: 18px; background: linear-gradient(160deg,#bfe6ff,#e9dcff); text-align: center; min-height: 270px; }
.mini-pouch { position: relative; width: 150px; margin: auto; }
.mini-pouch > img:first-child { width: 100%; display: block; }
.mini-pouch > img:last-child { position: absolute; width: 48%; left: 26%; top: 46%; rotate: -9deg; filter: drop-shadow(0 4px 6px #0006); }
.sheet-stk { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; padding: 12px; background: #fff; border-radius: 12px; rotate: -3deg; margin: auto; }
.sheet-stk img { width: 74px; height: 74px; object-fit: contain; }

@media (max-width: 1000px) { .gd { grid-template-columns: 1fr; gap: 18px; } .gd > header { position: static; } }
@media (max-width: 640px) {
  .keywords, .legend, .voices, .applies { grid-template-columns: 1fr; }
  .versions, .rules { grid-template-columns: repeat(2, 1fr); }
  .elements { grid-template-columns: repeat(2, 1fr); }
  .swatches > div:nth-child(n) { grid-column: span 6; min-height: 140px; }
}

/* 사이트 상단(header) 스타일이 설명 열에 적용되지 않게 */
.gd > header { display: block; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; z-index: auto; }
.gd figcaption { font-family: Pretendard, "Malgun Gothic", system-ui, sans-serif; }
.elements canvas { height: 100%; width: auto; max-width: 100%; }
@media (max-width: 1000px) { .gd > header { position: static; } }

/* ===== 가독성 정리: 설명은 위, 디자인은 넓게, 간격은 8px 배수 ===== */
.identity-guide { max-width: 1040px; padding-left: 24px; padding-right: 24px; }
.identity-guide .sec-head { margin-bottom: 56px; }
.keywords { margin-bottom: 40px; }
.keywords > div { padding: 40px 32px; }
.keywords span { display: block; margin-top: 12px; font-size: 1.25rem; }
.keywords p { font-size: 1rem; line-height: 1.8; }

.gd { display: block; padding: 96px 0 0; border-top: 0; }
.gd > header { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: end; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid #3a0a2b; }
.gd > header .sec-no { grid-column: 1 / -1; margin-bottom: 16px; }
.gd h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gd header p:last-child { font-size: 1.05rem; line-height: 1.85; }
.gd figcaption { padding-top: 12px; font-size: .95rem; line-height: 1.7; }
.gd figcaption b { margin-bottom: 4px; font-size: .82rem; }

.anatomy { padding: 56px 40px; }
.legend { margin-top: 32px; gap: 32px; }
.legend li { padding-top: 16px; font-size: .98rem; line-height: 1.75; }
.legend b { margin-bottom: 4px; font-size: 1.1rem; }

.versions { gap: 32px 24px; }
.versions figure > div { height: 180px; padding: 28px; }
.clearspace { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; margin-top: 40px; padding: 32px; border-radius: 18px; background: #fff; }
.clearspace span { display: grid; place-items: center; padding: 24px; }
.clearspace img { width: min(220px, 80%); outline: 2px dashed var(--pink); outline-offset: 20px; }
.clearspace p { font-size: 1rem; line-height: 1.85; }
.clearspace b { display: block; font: 800 .82rem var(--mono); letter-spacing: .1em; color: #c4158a; margin-bottom: 8px; }

.swatches { gap: 16px; border-radius: 0; overflow: visible; }
.swatches > div:nth-child(n) { grid-column: span 2; min-height: 240px; padding: 24px; border-radius: 18px; gap: 8px; }
.swatches b { font-size: 1.35rem; }
.swatches code { font-size: .82rem; }
.swatches p { font-size: .92rem; line-height: 1.6; }
.ratio { margin-top: 24px; height: 44px; }

.types { gap: 24px; }
.types > div { padding: 32px 36px; }
.types p { margin-bottom: 24px; }
.types b { font-size: .85rem; } .types span { font-size: .95rem; }

.elements { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.elements figure > div { aspect-ratio: 4 / 3; padding: 24px; }
.elements .puff { font-size: 1.1rem; padding: 10px 20px; }
.winchip { max-width: 190px; padding: 12px 16px; font-size: .9rem; }

.voices { grid-template-columns: 1fr; }
.voices > div { padding: 40px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: center; text-align: center; }
.voices b { grid-column: 1 / -1; justify-self: center; margin: 0; padding: 4px 16px; font-size: .95rem; }
.voices .yes p { padding: 20px 12px; border-radius: 99px; background: #fff0f8; font-size: 1.1rem; }

.applies { gap: 24px; }
.applies figure { min-height: 340px; padding: 32px 20px 20px; }

@media (max-width: 720px) {
  .gd { padding-top: 64px; }
  .gd > header, .clearspace { grid-template-columns: 1fr; row-gap: 12px; }
  .anatomy { padding: 32px 16px; }
  .legend, .applies, .voices > div { grid-template-columns: 1fr; gap: 16px; }
  .elements, .versions { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .versions figure > div { height: 130px; padding: 16px; }
  .swatches > div:nth-child(n) { grid-column: span 3; min-height: 220px; padding: 16px; }
}
.identity-guide { overflow-x: clip; }
.swatches code, .swatches p { overflow-wrap: anywhere; }
@media (max-width: 720px) { .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }

/* 설명 제목은 스크롤을 따라오지 않습니다 */
.identity-guide .gd > header { position: static; top: auto; }

/* 큰 주제어를 크게, 설명은 아래 한 줄 기준으로 */
.identity-guide .gd > header { display: block; margin-bottom: 32px; padding-bottom: 20px; }
.gd h3 { display: flex; align-items: baseline; gap: 16px; margin: 0 0 12px; font: 900 clamp(2.2rem, 5.2vw, 3.8rem)/1.05 Impact, "Arial Black", sans-serif; letter-spacing: .01em; }
.gd h3 span { font: 900 1rem var(--mono); color: #d7ff3f; background: #3a0a2b; padding: 4px 12px; border-radius: 99px; translate: 0 -.5em; }
.identity-guide .gd header p { max-width: 40em; font-size: 1.05rem; }
/* 보이스: 상황 → 말 → 브랜드와의 연결 */
.identity-guide .voices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.identity-guide .voices > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; text-align: left; }
.voices small { font: 800 .8rem var(--mono); color: #c4158a; }
.identity-guide .voices p { align-self: stretch; margin: 0; padding: 18px 20px; border-radius: 24px 24px 24px 6px; background: #fff0f8; font-weight: 900; font-size: 1.15rem; word-break: keep-all; }
.voices span { font-size: .98rem; line-height: 1.75; word-break: keep-all; }
@media (max-width: 720px) { .identity-guide .voices { grid-template-columns: 1fr; gap: 12px; } }
/* 적용 시안은 모두 칸 가운데에 */
.identity-guide .applies figure > div:first-child { margin: auto; }