:root {
  color-scheme: dark;
  --night: #151e32;
  --paper: #f4e8d0;
  --muted: #c4c9d6;
  --star: #f3cf80;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--star); outline-offset: 5px; }
.skip-link { position: absolute; left: 0; top: .75rem; z-index: 2; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); background: var(--night); }
.skip-link:focus { width: auto; height: auto; padding: .75rem; clip-path: none; }
.nav { position: absolute; inset: 0 0 auto; z-index: 2; }
.top { position: relative; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #566075; font-size: .875rem; color: var(--muted); }
.back { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .24em; }
.hero { min-height: 100svh; display: grid; align-items: center; padding: calc(68px + 2.25rem) 0 2.25rem; }
.spread { display: grid; align-content: center; align-items: center; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 1.75rem 24px; }
.label { color: var(--star); letter-spacing: .12em; font-size: .875rem; margin: 0 0 .7rem; }
h1 { font-size: clamp(2.55rem,5.8vw,5.75rem); letter-spacing: -.065em; line-height: 1.09; margin: 0; font-weight: 750; }
.lead { font-size: clamp(1.4rem,2.75vw,2.5rem); font-weight: 550; line-height: 1.35; letter-spacing: -.04em; margin: 1.2rem 0 .7rem; }
.detail, .action p { margin: 0; color: var(--muted); line-height: 1.55; }
.hero-text { grid-column: 1 / span 6; display: grid; gap: 2rem; }
.book { grid-column: 7 / -1; margin: 0; }
.paper { --mo-light: #fff5dc; background: var(--paper); border-radius: .4rem 1.15rem 1.15rem .4rem; border-left: .55rem solid #bd8c57; color: var(--night); padding: clamp(.9rem,2.6vw,2.45rem); box-shadow: 6px 7px 0 #9b7555, 10px 11px 0 #695849, 12px 26px 65px #070d1c; }
.folio { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 .8rem; color: #504539; font-weight: 650; font-size: .75rem; }
.book img { display: block; width: 100%; aspect-ratio: 20 / 11; height: auto; object-fit: cover; border-radius: .28rem; }
.book-title { margin-top: .85rem; font-weight: 700; font-size: clamp(1rem,2vw,1.65rem); letter-spacing: -.035em; }
.button { display: inline-flex; min-height: 52px; min-width: 11rem; padding: .7rem 1.25rem; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: .48rem; background: var(--star); color: var(--night); font-weight: 750; text-decoration: none; transition: transform .17s ease, background-color .17s ease; }
.button:hover { transform: translateY(-2px); background: #ffdc98; }
.button:active { transform: translateY(1px); }
.action { position: relative; z-index: 1; }
.action p { margin-top: .68rem; font-size: .82rem; }
@media (max-width: 720px) {
  .hero { padding: calc(68px + 1.65rem) 0 1.65rem; }
  .spread { grid-template-columns: minmax(0,1fr); gap: 1.55rem; }
  .hero-text { display: contents; }
  .book { grid-column: auto; grid-row: 2; }
  .action { grid-row: 3; }
  .lead { margin: .85rem 0 .4rem; }
  .desktop-break { display: none; }
  .button { width: 100%; }
}
@media (max-width: 720px) and (max-height: 680px) {
  .action { grid-row: 2; }
  .book { grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
