:root {
  --paper: #ffffff;
  --ink: #19171d;
  --muted: #55515b;
  --band: #f4f2f5;
  --accent: #77132f;
  --accent-text: #ffffff;
  --footer: #211720;
  --measure: 73ch;
  --gutter: clamp(18px, 4vw, 64px);
  --column-gap: clamp(28px, 5vw, 86px);
  --text: clamp(16px, 1.45vw, 18px);
  --heading: clamp(27px, 3vw, 43px);
  --display: clamp(42px, 6.5vw, 94px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 27px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: var(--text) / 1.66 "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { display: block; width: 100%; height: auto; }
figure, p, h1, h2, h3, blockquote { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[id] { scroll-margin-top: .8rem; }
.shell { width: min(calc(100% - 2 * var(--gutter)), 1360px); margin-inline: auto; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.64fr); gap: var(--column-gap); }
.skip { position: fixed; inset: 10px auto auto 10px; z-index: 5; background: var(--paper); padding: 12px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 75px; }
.logo { flex: none; display: flex; align-items: center; background: var(--paper); text-decoration: none; font-weight: 750; gap: 1px; }
.logo img { object-fit: contain; width: 137px; }
.logo span { white-space: nowrap; }
.header-row nav { display: flex; gap: clamp(15px, 3vw, 38px); }
.header-row nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-row nav a:hover, .phone-link:hover { color: var(--accent); }
.hero { padding-bottom: clamp(38px, 5.5vw, 83px); }
.masthead { overflow: hidden; height: clamp(215px, 32vw, 440px); background: var(--band); }
.masthead img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-text { margin-top: clamp(21px, 3.2vw, 49px); margin-left: calc((100% - var(--column-gap)) / 2.64 + var(--column-gap)); }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: var(--display); font-weight: 850; letter-spacing: -.072em; line-height: 1.07; }
h1 span { display: block; overflow: hidden; padding-bottom: .08em; }
h1 b { display: inline-block; font: inherit; }
.standfirst { margin-top: 11px; max-width: 37ch; font-size: clamp(19px, 2vw, 23px); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 23px; margin-top: 23px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 18px; background: var(--accent); color: var(--accent-text); font-weight: 750; text-decoration: none; transition: transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.phone-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration-thickness: 1.5px; font-weight: 700; }
.phone-link span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.save-number { color: var(--muted); margin-top: 7px; font-size: 16px; }
h2 { font-size: var(--heading); letter-spacing: -.048em; font-weight: 820; line-height: 1.23; }
h3 { font-size: clamp(18px, 1.62vw, 22px); line-height: 1.45; letter-spacing: -.025em; font-weight: 800; }
.section-band { padding: clamp(41px, 6.7vw, 100px) 0; }
.summary { background: var(--band); }
.section-lead p { margin-top: 12px; max-width: 32ch; }
.summary-list, .contents ol { margin: 0; }
.summary-list { padding: 0; list-style: none; }
.summary-list li + li { margin-top: 5px; }
.summary-list li:nth-child(odd) { background: var(--paper); }
.summary-list a {
  display: grid; min-height: 53px; grid-template-columns: minmax(105px, 1fr) minmax(0, 2.8fr) auto;
  align-items: baseline; gap: 7px 14px; text-decoration: none; padding: 12px 14px; transition: transform .18s ease;
}
.summary-list a:hover { color: var(--accent); transform: translateX(3px); }
.summary-list b { font-weight: 800; }
.summary-list i { color: var(--accent); font-style: normal; }
.details-layout { padding-top: clamp(50px, 7.5vw, 106px); padding-bottom: clamp(30px, 6vw, 96px); align-items: start; }
.contents { background: var(--band); padding: 22px 24px; }
.contents h2 { font-size: clamp(23px, 2.8vw, 34px); }
.contents ol { padding: 8px 0 0 20px; }
.contents a { display: inline-flex; align-items: center; min-height: 42px; padding: 4px 0; font-weight: 680; }
.contents a:hover { color: var(--accent); }
article { min-width: 0; max-width: 870px; }
.chapter { margin: 0 0 clamp(78px, 8.3vw, 124px); }
.chapter h2 { margin-bottom: 20px; }
.chapter-copy { max-width: var(--measure); }
.chapter-copy h3:not(:first-child) { margin-top: 24px; }
.chapter-copy p { margin-top: 6px; }
.chapter-copy ul, .chapter-copy ol, .questions { margin: 8px 0 0; padding-left: 1.25em; }
.chapter-copy li + li, .questions li + li { margin-top: 4px; }
.chapter-copy blockquote { font-size: clamp(18px, 1.75vw, 22px); margin-top: 22px; padding: 17px 20px; background: var(--band); }
.story-image { margin: 0 0 24px; }
.story-image img { aspect-ratio: 2 / 1; object-fit: cover; object-position: center 47%; }
.story-image figcaption { margin-top: 7px; font-size: 16px; color: var(--muted); }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 23px; }
.image-pair img { aspect-ratio: 1.12; object-fit: cover; }
table { border-collapse: collapse; width: 100%; margin-top: 16px; text-align: left; }
tr:nth-child(odd) { background: var(--band); }
thead tr { background: var(--accent); color: var(--accent-text); }
th, td { padding: 10px 13px; vertical-align: top; }
table th:first-child { width: 8em; }
.family { background: var(--band); }
.family-main { max-width: var(--measure); }
.checklist {
  padding: 14px 18px 18px; margin: 30px 0 0; min-width: 0;
  border: 0; background: var(--paper);
}
.checklist legend { padding: 0 4px; font-size: clamp(18px, 1.62vw, 22px); font-weight: 800; }
.checklist label { display: flex; align-items: flex-start; gap: 11px; min-height: 46px; padding: 8px 0; cursor: pointer; }
.checklist input { flex: none; inline-size: 20px; block-size: 20px; margin: .2em 0 0; accent-color: var(--accent); }
.checklist label:has(input:checked) { color: var(--accent); }
.site-footer { background: var(--footer); color: var(--paper); padding: clamp(32px, 5vw, 72px) 0; }
.site-footer .thanks { font-size: clamp(19px, 2.1vw, 23px); }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 3px 24px; }
.site-footer nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.site-footer a:focus-visible { outline-color: var(--paper); }
@media (min-width: 900px) {
  .contents { position: sticky; top: 28px; }
}
@media (max-width: 740px) {
  :root { --gutter: clamp(16px, 4.8vw, 24px); --display: clamp(37px, 10vw, 55px); }
  .header-row { min-height: 62px; }
  .logo img { width: 102px; }
  .logo span { font-size: 15px; }
  .header-row nav { gap: 14px; }
  .header-row nav a { font-size: 15px; }
  .hero-text { margin-left: 0; }
  .masthead { height: clamp(174px, 52vw, 250px); }
  .masthead img { object-position: center 39%; }
  .hero-actions { margin-top: 16px; gap: 3px 14px; }
  .save-number { margin-top: 5px; }
  .columns { grid-template-columns: minmax(0,1fr); gap: 21px; }
  .section-lead h2 br { display: none; }
  .section-lead h2 br::after { content: " "; }
  .summary-list a { grid-template-columns: 1fr auto; padding: 11px 10px; }
  .summary-list a strong { grid-column: 1; }
  .summary-list a span { grid-column: 1; }
  .summary-list a i { grid-column: 2; grid-row: 1; }
  .story-image img { aspect-ratio: 1.55; }
  .contents { padding: 15px 18px; }
  .details-layout { gap: 30px; }
  .chapter { margin-bottom: 50px; }
  table th:first-child { width: 6.25em; }
  th, td { padding: 9px 10px; }
}
@media (max-width: 374px) {
  .header-row nav a:first-child { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  h1 b { animation: title-enter .86s cubic-bezier(.2,.75,.25,1) both; }
  .featured-enter { animation: content-enter .48s ease-out both; }
  .masthead img { animation: masthead-enter 1.2s ease-out both; }
  @keyframes title-enter { from { transform: translateY(105%); } }
  @keyframes masthead-enter { from { transform: scale(1.035); } }
  @keyframes content-enter { from { transform: translateY(12px); opacity: .76; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none; transition: none; }
}
@media print {
  :root { --gutter: 0px; --text: 11pt; }
  .header-row nav, .hero-actions, .contents, .skip { display: none; }
  .shell { width: 100%; }
  .columns { grid-template-columns: minmax(0, 1fr); }
  .hero-text { margin-left: 0; }
  .masthead { height: 150px; }
  .story-image, .image-pair { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .site-footer { background: white; color: black; }
}
