:root {
  color-scheme: dark;
  --background: #141210;
  --panel: #1d1916;
  --raised: #25201c;
  --ink: #f8f0e5;
  --muted: #c8bdb1;
  --amber: #e4b984;
  --line: #40362e;
  --shell: min(1120px, calc(100% - 56px));
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--background); color: var(--ink); line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.045em; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 9; padding: 10px 18px; background: var(--ink); color: var(--background); }
.skip:focus { top: 12px; }
.site-head { position: relative; z-index: 3; border-bottom: 1px solid var(--line); }
.head-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--amber); color: var(--amber); font: 700 16px Georgia, serif; letter-spacing: -.06em; }
.brand-copy { display: grid; gap: 4px; line-height: 1.1; font-size: 19px; font-weight: 800; }
.brand-copy small { font: 600 9px system-ui, sans-serif; color: var(--amber); letter-spacing: .2em; }
.top-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.top-nav a, .mobile-nav a, .footer-links a { text-decoration: none; }
.top-nav a { font-size: 14px; color: var(--muted); }
.top-nav a:hover, .top-nav a[aria-current="page"], .footer-links a:hover { color: var(--amber); }
.top-nav .head-phone { border: 1px solid var(--line); padding: 9px 13px; color: var(--ink); white-space: nowrap; }
.mobile-nav { display: none; }
.eyebrow { color: var(--amber); font: 700 12px/1.45 system-ui, sans-serif; letter-spacing: .16em; }
.hero { position: relative; display: grid; align-items: center; min-height: clamp(520px, 69vh, 690px); overflow: hidden; isolation: isolate; }
.hero-img, .hero::after { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-img { inset-inline-start: auto; width: 71%; object-fit: cover; object-position: 52% 55%; }
.hero::after { content: ""; background: linear-gradient(90deg,#141210 15%,rgba(20,18,16,.91) 34%,rgba(20,18,16,.31) 71%,rgba(20,18,16,.20)),linear-gradient(0deg,rgba(20,18,16,.64),transparent 26%); }
.hero-copy { padding-block: 72px 82px; }
.hero h1 { font-size: clamp(45px, 7.3vw, 94px); font-weight: 820; margin-top: 20px; letter-spacing: -.075em; }
.hero h1 span { display: block; color: var(--amber); font-size: .61em; margin-top: .19em; letter-spacing: -.06em; }
.hero .lead { max-width: 33rem; margin-top: 26px; color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); }
.hero-caption { position: absolute; right: max(28px, calc((100% - 1120px) / 2)); bottom: 17px; color: var(--ink); font-size: 11px; opacity: .85; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 17px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 750; }
.btn:hover { border-color: var(--amber); }
.btn-primary { color: #1b120a; background: var(--amber); border-color: var(--amber); }
.btn-primary:hover { background: #f2cb9a; }
.tag-rail { color: #1b120a; background: var(--amber); }
.tags { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 16px; list-style: none; margin-block: 0; padding-inline: 0; text-align: center; font-size: 13px; font-weight: 750; }
.tags li + li { border-left: 1px solid #bc986c; }
.section { padding-block: clamp(54px, 8vw, 100px); }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--panel); }
.section-title { max-width: 640px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-title h2, .feature h2 { font-size: clamp(32px, 5.3vw, 59px); margin-top: 10px; }
.section-title p:last-child, .feature-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(20px, 3vw, 30px); background: var(--panel); border: 1px solid var(--line); }
.section-alt .card { background: var(--raised); }
.card h2, .card h3 { font-size: clamp(21px, 2.6vw, 29px); margin-top: 20px; }
.card > p:not(.eyebrow) { margin: 13px 0 23px; color: var(--muted); font-size: 15px; }
.card a { margin-top: auto; }
.text-link { color: var(--amber); font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(27px, 6vw, 82px); align-items: center; }
.feature figure { position: relative; }
.feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.feature figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.feature-copy .text-link { display: inline-block; margin-top: 20px; }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 13px 0; font-weight: 730; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; color: var(--amber); font-size: 23px; line-height: 1; font-weight: 400; }
.questions details[open] summary::after { content: '−'; }
.questions details p { color: var(--muted); margin-bottom: 19px; max-width: 52rem; }
.callout { padding-block: clamp(39px, 6vw, 64px); background: #2b211a; border-block: 1px solid var(--line); }
.callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.callout h2 { margin-top: 7px; font-size: clamp(26px, 4.1vw, 44px); }
.callout p:last-child { margin-top: 9px; color: var(--muted); }
.callout .btn { flex-shrink: 0; }
.site-foot { padding-block: 36px 108px; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 21px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 19px; color: var(--muted); font-size: 14px; }
.foot-note { margin-top: 23px; color: var(--muted); font-size: 12px; }
.subhead { padding-block: clamp(43px, 8vw, 95px); background: radial-gradient(ellipse at 95% 10%, #3b2b20, #1b1714 64%); border-bottom: 1px solid var(--line); }
.subhead h1 { margin: 12px 0; font-size: clamp(39px, 6.5vw, 70px); }
.subhead .lead { color: var(--muted); max-width: 45rem; font-size: 17px; }
.prose { max-width: 730px; }
.prose > section + section { margin-top: 38px; }
.prose h2 { font-size: clamp(24px, 3.7vw, 34px); margin-bottom: 13px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 13px; }
.prose ul, .prose ol { padding-inline-start: 1.45em; }
.prose li + li { margin-top: 7px; }
.archive { margin-top: 34px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.archive summary { cursor: pointer; }
.archive a { color: var(--amber); }
@media (max-width: 780px) {
  :root { --shell: calc(100% - 36px); }
  .head-inner { min-height: 64px; }
  .top-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; list-style: none; border: 1px solid var(--line); padding: 8px 12px; font-size: 14px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; inset-inline: 0; top: 100%; display: grid; background: var(--panel); border-bottom: 1px solid var(--line); padding: 5px 18px 13px; }
  .mobile-nav nav a { padding: 9px 2px; }
  .mobile-nav nav a + a { border-top: 1px solid var(--line); }
  .hero { min-height: 535px; align-items: end; }
  .hero-img { width: 100%; object-position: center 40%; }
  .hero::after { background: linear-gradient(0deg,#141210 5%,rgba(20,18,16,.89) 29%,rgba(20,18,16,.46) 77%,rgba(20,18,16,.17)),linear-gradient(90deg,rgba(20,18,16,.47),transparent); }
  .hero-copy { padding-block: 115px 56px; }
  .hero h1 { font-size: clamp(43px, 9vw, 66px); }
  .hero-caption { right: 18px; bottom: 11px; }
  .tags { font-size: 11px; padding-block: 13px; }
  .grid-three, .feature { grid-template-columns: 1fr; }
  .callout-inner { display: grid; justify-items: start; gap: 16px; }
  .site-foot { padding-bottom: 36px; }
}
