:root {
  color-scheme: dark;
  --bg: #191f2b;
  --text: #fff9ef;
  --sub: #c2c7d1;
  --muted: #aab1bf;
  --line: #38404c;
  --accent: #ff824e;
  --frame: 1220px;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.19; letter-spacing: -.055em; }
h1, h2 { font-weight: 800; }
.inner { width: min(var(--frame), calc(100% - clamp(40px, 8vw, 112px))); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: #111; transform: translateY(-160%); }
.skip:focus { transform: none; }
.mast { display: grid; justify-items: center; row-gap: clamp(12px,1.3vw,20px); padding-bottom: clamp(20px,2vw,28px); }
.mast-nav { min-height: 58px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(20px,3.5vw,52px); }
.mast-nav > a { font-size: .94rem; font-weight: 700; color: var(--sub); position: relative; padding: 10px 0; }
.mast-nav > a[aria-current], .mast-nav > a:hover { color: var(--text); }
.mast-nav > a[aria-current]::after { content: ""; display: block; width: 14px; height: 2px; margin: auto; position: absolute; inset: auto 0 2px; background: var(--accent); }
.brand-lockup { display: inline-flex; align-items: center; gap: .18em; color: #fff; font-weight: 900; font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; letter-spacing: -.095em; line-height: 1; white-space: nowrap; }
.wordmark { font-size: clamp(2.375rem,4vw,3.375rem); }
.brand-icon { display: block; width: 1.15em; height: 1.15em; overflow: hidden; }
.brand-icon img { width: 312.5%; max-width: none; height: 100%; }
.eyebrow { font-size: .87rem; font-weight: 700; color: #ffac86; }
.rule::before { content: ""; display: inline-block; width: 23px; height: 2px; vertical-align: middle; margin-right: 9px; background: var(--accent); }
.home-intro { display: grid; justify-items: center; text-align: center; padding-bottom: clamp(32px,3.5vw,48px); }
.home-intro h1 { font-size: clamp(1.95rem,4vw,3.6rem); line-height: 1.2; }
.home-intro .deck { max-width: 100%; margin-top: clamp(18px,2.5vw,32px); font-size: clamp(1rem,1.9vw,1.48rem); font-weight: 650; line-height: 1.6; text-wrap: balance; }
.home-intro .actions { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,3fr); width: min(100%,720px); gap: clamp(10px,2vw,20px); margin-top: clamp(22px,3vw,38px); }
.home-intro .button { min-height: clamp(52px,7vw,82px); padding-inline: 10px; border-radius: 999px; font-size: clamp(1.05rem,2.3vw,1.7rem); }
.home-intro .primary { box-shadow: 3px 4px 0 #584034; }
.site-address { display: grid; place-items: center; width: min(100%,405px); min-height: clamp(46px,5vw,58px); margin-top: clamp(24px,3.2vw,38px); padding: 5px 14px; border: 2px solid transparent; background: linear-gradient(var(--bg),var(--bg)) padding-box, linear-gradient(100deg,#fa703d,#ffac69 60%,#f9e7ca) border-box; color: var(--accent); font-size: clamp(1.2rem,2vw,1.55rem); font-weight: 750; line-height: 1.25; }
.address-note { margin-top: clamp(14px,2vw,24px); color: var(--sub); font-size: .94rem; text-wrap: balance; }
.home-intro + .home-section { margin-top: 0; padding-top: clamp(26px,3.5vw,46px); border-top: 1px solid var(--line); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; min-height: 48px; padding: 10px 22px; font-weight: 750; line-height: 1.4; }
.primary { background: var(--accent); color: #24150e; }
.primary:hover { background: #ffa477; }
.secondary { border: 1px solid #888991; color: #fff; background: rgba(19,25,38,.65); }
.secondary:hover { border-color: #fff; }
.home-section { margin-top: clamp(46px,6vw,82px); }
.section-heading, .brand-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.section-heading { margin-bottom: 22px; }
.section-heading h2, .note-copy h2, .brand-row h2 { font-size: clamp(1.7rem,2.65vw,2.65rem); }
.section-heading p, .genre-copy p, .brand-row p, .note-copy > p:not(.eyebrow) { color: var(--sub); }
.section-heading p { margin-top: 8px; }
.text-link { display: inline-block; width: fit-content; color: #ffd0b7; border-bottom: 1px solid #956951; padding-bottom: 2px; font-size: .95rem; font-weight: 700; }
.text-link:hover { color: white; border-color: white; }
.genre-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px,1.8vw,25px); }
.genre-art, .detail-art, .wide-art, .note-art { overflow: hidden; border-radius: 6px; background: #242d3a; }
.genre-art img, .detail-art img { width: 100%; aspect-ratio: 660/398; object-fit: cover; }
.genre-card:hover h3, .note-copy h2 a:hover { color: #ffb693; }
.genre-copy { padding: 14px 0 0; }
.genre-copy h3 { font-size: clamp(1.2rem,1.75vw,1.6rem); }
.genre-copy p { font-size: .91rem; margin-top: 4px; }
.note-feature { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(22px,5vw,80px); }
.note-art img { width: 100%; aspect-ratio: 1.95; object-fit: cover; }
.note-copy h2 { margin: 12px 0; line-height: 1.3; }
.note-copy .text-link, .brand-row .text-link { margin-top: 16px; }
.brand-row { border-top: 1px solid var(--line); padding-top: 35px; align-items: start; }
.brand-row > div { max-width: 58ch; width: 55%; }
.brand-row p + p { margin-top: 12px; }
.site-foot { margin-top: clamp(56px,7vw,100px); border-top: 1px solid var(--line); }
.foot-inner { padding: 30px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 35px; }
.foot-logo { font-size: 1.5rem; }
.foot-inner nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .9rem; color: var(--sub); }
.foot-inner nav a:hover, .crumb a:hover { text-decoration: underline; }
.foot-inner small { margin-left: auto; font-size: .8rem; color: var(--muted); }
.crumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: .87rem; }
.crumb span[aria-current] { color: var(--sub); }
.inside { padding-top: clamp(32px,4vw,60px); min-height: 48vh; }
.page-intro { max-width: 850px; margin-bottom: clamp(28px,4vw,50px); }
.page-intro h1 { font-size: clamp(2.2rem,4.3vw,4rem); line-height: 1.2; }
.page-intro > .eyebrow { margin-bottom: 12px; }
.page-intro > p:not(.eyebrow) { max-width: 65ch; margin-top: 16px; color: var(--sub); }
.wide-art img { width: 100%; aspect-ratio: 3.2; object-fit: cover; object-position: center 56%; }
.reading { max-width: 720px; margin: clamp(32px,4.5vw,65px) auto 0; }
.reading.left { margin-left: 0; }
.illustrated-section { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(22px,4vw,64px); align-items: start; }
.illustrated-section .reading { margin: 0; }
.guide-figure { margin: 0; }
.guide-figure img { width: 100%; border-radius: 8px; }
.guide-figure figcaption { color: var(--sub); margin-top: 8px; font-size: .9rem; }
.post-links { margin: 12px 0 0; padding-left: 1.4rem; }
.post-links li + li { margin-top: 10px; }
.post-links a { color: #ffbf9f; text-decoration: underline; text-underline-offset: 3px; }
.reading section + section { margin-top: 36px; }
.reading p, .genre-detail p { color: #d6d9df; line-height: 1.9; margin-top: 12px; }
.reading h2, .genre-detail h2 { font-size: clamp(1.45rem,2.2vw,2rem); }
.reading p a { color: #ffbf9f; text-decoration: underline; text-underline-offset: 3px; }
.reading > .text-link, .reading section > .text-link { margin-top: 22px; }
.genre-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.genre-nav a { background: #232c39; border: 1px solid #485261; border-radius: 999px; padding: 7px 20px; }
.genre-nav a:hover { border-color: var(--accent); }
.genre-detail { border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: minmax(200px,.8fr) 1.5fr; gap: clamp(20px,4vw,60px); align-items: center; }
.byline { color: var(--muted); font-size: .88rem; }
.note-copy .byline { margin-top: 14px; }
.blog-column { max-width: 1000px; }
.post-column { max-width: 740px; }
.blog-column .note-feature { gap: clamp(20px,3vw,44px); }
.blog-column .reading { margin-top: 32px; }
.post-column .page-intro { margin-bottom: clamp(18px,2vw,26px); }
.post-column .page-intro h1 { font-size: clamp(1.9rem,3.3vw,2.75rem); line-height: 1.25; }
.post-column .page-intro > p:not(.eyebrow) { max-width: none; }
.post-column .page-intro .byline { font-size: .85rem; color: var(--muted); }
.post-column .wide-art img { aspect-ratio: 3.1; object-position: center 52%; }
.post-column .reading { max-width: none; margin: clamp(24px,3vw,32px) 0 0; }
.post-column .reading h2 { font-size: clamp(1.35rem,2vw,1.65rem); line-height: 1.4; }
.post-column .reading p { line-height: 1.85; }
.post-column .reading section + section { padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  .genre-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 25px; }
  .foot-inner small { margin-left: 0; }
  .brand-row { display: grid; }
  .brand-row > div { width: 100%; }
}
@media (max-width: 600px) {
  .inner { width: calc(100% - 36px); }
  .mast-nav { min-height: 50px; gap: 0 clamp(14px,4.5vw,26px); }
  .mast-nav > a { font-size: .875rem; }
  .home-intro .deck { max-width: 34ch; }
  .site-address { width: min(82%,405px); }
  .actions { gap: 9px; margin-top: 19px; }
  .button { padding: 10px 16px; }
  .note-feature, .genre-detail, .illustrated-section { grid-template-columns: 1fr; gap: 18px; }
  .section-heading { align-items: start; flex-wrap: wrap; gap: 8px 15px; }
  .genre-grid { column-gap: 12px; }
  .wide-art img, .note-art img { aspect-ratio: 1.9; }
  .post-column .wide-art img { aspect-ratio: 2.15; }
  .foot-inner { align-items: start; flex-direction: column; gap: 15px; }
  .genre-nav { gap: 6px; }
  .genre-nav a { padding: 7px 13px; }
  .genre-detail { padding: 24px 0; }
  .inside { min-height: 35vh; }
}
@media (max-width: 355px) {
  .inner { width: calc(100% - 28px); }
  .genre-nav a { padding-inline: 10px; }
}
