:root {
  --night: #160f0d;
  --night-soft: #241612;
  --paper: #fff7e6;
  --paper-deep: #f3dfbd;
  --wood: #5f3424;
  --wood-dark: #2d1711;
  --red: #b6261e;
  --red-bright: #e14a35;
  --gold: #f1bd63;
  --ink: #261611;
  --muted: #745e52;
  --line: rgba(95, 52, 36, .22);
  --night-line: rgba(255, 237, 198, .15);
  --shadow: 0 24px 70px rgba(18, 6, 3, .24);
  --radius: 22px;
  --content: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(177, 38, 30, .08), transparent 32rem),
    #f7ead2;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: .2em; }
a:hover { color: #7e1712; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: .75rem 1rem;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.wrap { width: min(calc(100% - 36px), var(--content)); margin-inline: auto; }
.adult-note {
  color: #f9e8c7;
  background: #0f0b0a;
  border-bottom: 1px solid var(--night-line);
  font-size: .88rem;
}
.adult-note .wrap {
  display: flex;
  gap: .7rem;
  align-items: center;
  padding-block: .55rem;
}
.adult-badge {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #fff;
  background: var(--red);
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  font-weight: 850;
  line-height: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff5df;
  background: rgba(27, 15, 12, .94);
  border-bottom: 1px solid var(--night-line);
  backdrop-filter: blur(16px);
}
.nav-row { min-height: 74px; display: flex; align-items: center; gap: 2rem; }
.brand {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  color: #fff7e8;
  text-decoration: none;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand:hover { color: #fff; }
.brand-lantern {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  color: #fff;
  background: linear-gradient(90deg, #881912, #e33d2e 48%, #8e1a13);
  border-radius: 45% 45% 38% 38%;
  box-shadow: 0 0 22px rgba(226, 61, 46, .42);
  font-size: .82rem;
}
.brand-lantern::before, .brand-lantern::after {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 3px;
  content: "";
  background: var(--gold);
  border-radius: 2px;
}
.brand-lantern::before { top: -3px; }
.brand-lantern::after { bottom: -3px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: .3rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: .65rem .78rem;
  color: #ead8b8;
  border-radius: 10px;
  text-decoration: none;
  font-size: .94rem;
  font-weight: 680;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.menu-toggle {
  display: none;
  margin-left: auto;
  padding: .55rem .72rem;
  color: #fff;
  background: transparent;
  border: 1px solid var(--night-line);
  border-radius: 10px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  display: grid;
  align-items: center;
  color: #fff8e9;
  background: #1a100e;
  overflow: hidden;
}
.hero picture, .hero picture::after, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero picture::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 8, 6, .96) 5%, rgba(24, 11, 8, .88) 38%, rgba(22, 10, 8, .25) 72%, rgba(18, 8, 6, .18)),
    linear-gradient(0deg, rgba(16, 8, 6, .82), transparent 48%);
}
.hero picture img { object-fit: cover; object-position: center; }
.hero-copy { max-width: 720px; padding-block: 8rem 9rem; }
.eyebrow {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--red);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #ffc978; }
.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7.3rem);
  line-height: .94;
  letter-spacing: -.07em;
}
.hero .lead { max-width: 620px; margin: 1.6rem 0 0; color: #f2dec1; font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.05rem;
  color: #fff;
  background: var(--red);
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(108, 18, 13, .25);
  text-decoration: none;
  font-weight: 800;
}
.button:hover { color: #fff; background: #8f1d17; }
.button.secondary { color: #fff5df; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); box-shadow: none; }
.button.secondary:hover { background: rgba(255,255,255,.13); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2.4rem; padding: 0; list-style: none; color: #e9d5b7; font-size: .92rem; }
.hero-proof li::before { margin-right: .4rem; color: #ffb45c; content: "●"; }

.main { padding-block: 4.8rem 6rem; }
.page-head {
  padding-block: 4.5rem 3.2rem;
  color: #fff7e5;
  background:
    radial-gradient(circle at 80% 20%, rgba(198, 49, 36, .26), transparent 28rem),
    linear-gradient(145deg, #1a0f0c, #301712);
  border-bottom: 5px solid var(--red);
}
.page-head h1 { max-width: 880px; margin: .15rem 0 1rem; font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: 1.03; letter-spacing: -.055em; }
.page-head .lead { max-width: 800px; margin: 0; color: #ead7bd; font-size: 1.15rem; }
.breadcrumbs { margin-bottom: 1.2rem; color: #d7c2a5; font-size: .88rem; }
.breadcrumbs a { color: #f4c980; }
.breadcrumbs span { margin-inline: .45rem; color: #8e7464; }

.section { margin-top: 4.8rem; }
.section:first-child { margin-top: 0; }
.section-head { max-width: 760px; margin-bottom: 1.8rem; }
.section h2, .article h2 { margin: 0 0 .8rem; font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.18; letter-spacing: -.04em; }
.section h3, .article h3 { margin: 2rem 0 .55rem; font-size: 1.3rem; line-height: 1.35; }
.section p, .article p { margin: .75rem 0; }
.muted { color: var(--muted); }
.kicker { color: var(--red); font-weight: 850; }

.paper {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.paper::before {
  position: absolute;
  inset: 9px;
  pointer-events: none;
  content: "";
  border: 1px dashed rgba(104, 54, 33, .14);
  border-radius: calc(var(--radius) - 7px);
}
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.menu-card { position: relative; padding: 1.55rem; overflow: hidden; }
.menu-card > * { position: relative; z-index: 1; }
.menu-card .number { color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .1em; }
.menu-card h3 { margin: .45rem 0 .55rem; }
.menu-card p { color: var(--muted); font-size: .96rem; }
.menu-card a.stretched::after { position: absolute; inset: 0; content: ""; }
.text-link { display: inline-flex; gap: .35rem; align-items: center; font-weight: 800; }
.text-link::after { content: "→"; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.split.wide-copy { grid-template-columns: 1.12fr .88fr; }
.visual { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article-visual { margin: 1.8rem 0 2.2rem; }
.caption { margin: .6rem 0 0; color: var(--muted); font-size: .8rem; }

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  padding: 1.25rem 1.35rem;
  background: #fff2d8;
  border: 1px solid #e8be74;
  border-radius: 16px;
}
.notice strong { display: block; margin-bottom: .15rem; }
.notice-icon { color: var(--red); font-weight: 900; }
.notice.danger { background: #fff0eb; border-color: #eab0a6; }

.review-rail { display: grid; gap: .75rem; }
.review-row {
  display: grid;
  grid-template-columns: 1.05fr 2fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.review-row b { font-size: 1rem; }
.status {
  display: inline-flex;
  padding: .28rem .55rem;
  color: #624a39;
  background: #efe0c3;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}
.status.ok { color: #28552f; background: #ddefd8; }
.status.warn { color: #7f261c; background: #f5d6cf; }

.check-list, .plain-list { margin: 1rem 0; padding: 0; list-style: none; }
.check-list li, .plain-list li { position: relative; margin: .7rem 0; padding-left: 1.7rem; }
.check-list li::before { position: absolute; left: 0; color: var(--red); content: "✓"; font-weight: 900; }
.plain-list li::before { position: absolute; left: .2rem; color: var(--red); content: "•"; font-weight: 900; }

.table-wrap { overflow-x: auto; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: #fff4dd; background: var(--wood-dark); font-size: .9rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(111, 61, 36, .045); }

.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; align-items: start; }
.article { max-width: 790px; }
.article .intro { margin: 0 0 2rem; padding-bottom: 1.7rem; color: #5d4436; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.article blockquote { margin: 1.7rem 0; padding: 1.25rem 1.4rem; color: #5d3125; background: #f5dbac; border-left: 5px solid var(--red); border-radius: 0 14px 14px 0; }
.toc { position: sticky; top: 100px; padding: 1.25rem; }
.toc strong { display: block; margin-bottom: .65rem; }
.toc a { display: block; padding: .35rem 0; color: #66483a; text-decoration: none; font-size: .9rem; }
.toc a:hover { color: var(--red); }
.byline { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin: 0 0 2rem; color: #7a6254; font-size: .85rem; }

.stat-band { margin-top: -2.5rem; position: relative; z-index: 3; }
.stat-band-inner { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; color: #fbe9ca; background: #25140f; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: var(--shadow); }
.stat-band .stat { padding: 1.2rem 1.5rem; border-right: 1px solid rgba(255,255,255,.12); }
.stat-band .stat:last-child { border-right: 0; }
.stat b { display: block; color: #fff8e8; font-size: 1.05rem; }
.stat span { color: #cdb99c; font-size: .86rem; }

.cta-panel { padding: 2rem; color: #fff6e5; background: linear-gradient(140deg, #30150f, #681e17); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #ead0b3; }
.cta-panel .button { background: #f1b45f; color: #2b160f; }
.cta-panel .button:hover { background: #ffd28b; color: #2b160f; }

.site-footer { padding: 3.7rem 0 2rem; color: #cfbda3; background: #160e0c; border-top: 5px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { margin-top: 0; color: #fff4de; }
.site-footer a { color: #d9c8ae; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .35rem 0; }
.footer-note { max-width: 560px; }
.copyright { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--night-line); font-size: .84rem; }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: var(--red); font-size: clamp(4rem, 12vw, 9rem); line-height: 1; }

@media (max-width: 940px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; margin: 0; padding: 1rem 18px 1.3rem; background: #1b0f0c; border-bottom: 1px solid var(--night-line); }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
  .site-nav a { padding: .85rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .article-shell { grid-template-columns: 1fr; }
  .article { max-width: none; }
  .toc { position: static; order: -1; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 26px), var(--content)); }
  .adult-note .wrap { align-items: flex-start; }
  .hero { min-height: 620px; }
  .hero picture::after { background: linear-gradient(90deg, rgba(16,8,6,.94), rgba(20,9,7,.64)), linear-gradient(0deg, rgba(16,8,6,.88), transparent); }
  .hero-copy { padding-block: 6.5rem 8rem; }
  .hero h1 { font-size: clamp(3.3rem, 18vw, 5.6rem); }
  .main { padding-block: 3.4rem 4.5rem; }
  .page-head { padding-block: 3rem 2.5rem; }
  .card-grid, .split, .split.wide-copy, .footer-grid { grid-template-columns: 1fr; }
  .review-row { grid-template-columns: 1fr; gap: .3rem; }
  .stat-band-inner { grid-template-columns: 1fr; }
  .stat-band .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-band .stat:last-child { border-bottom: 0; }
  .hero-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .adult-note, .site-header, .toc, .site-footer, .hero-actions { display: none !important; }
  body { color: #000; background: #fff; }
  .page-head { color: #000; background: #fff; border: 0; }
  .page-head .lead { color: #333; }
  .main { padding: 1rem 0; }
}
