:root {
  --ink: #1a3029;
  --forest: #245744;
  --leaf: #3e6c52;
  --muted: #53665a;
  --paper: #fffefa;
  --wash: #f6f5eb;
  --stroke: #d9ded2;
  font-family: Inter, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #a95d30; outline-offset: 3px; }
main:focus { outline: none; }
.wrap { width: min(1060px, calc(100% - 80px)); margin-inline: auto; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; inset: 8px auto auto 8px; z-index: 2; background: var(--paper); padding: 8px 14px; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--stroke); }
.head-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark, .footer-brand { display: inline-flex; align-items: center; gap: .32em; color: var(--forest); font-weight: 800; text-decoration: none; letter-spacing: -.08em; }
.wordmark { flex: none; min-height: 48px; font-size: 28px; }
.bookmark { position: relative; width: 21px; height: 30px; background: var(--forest); border-radius: 3px 3px 0 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.bookmark::after { content: ''; position: absolute; inset: 6px 7px auto; height: 7px; border: 1.6px solid #fcf5dd; border-radius: 50%; }
.topnav { min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 17px; }
.topnav a, .crumb a, .back-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.topnav a { justify-content: center; min-width: 54px; color: var(--forest); font-size: 15px; font-weight: 650; }
.topnav a:hover, .topnav a[aria-current], .crumb a:hover, .back-link:hover { text-decoration: underline; }
.home-banner { background: var(--wash); border-bottom: 1px solid #dedfd2; }
.home-banner .wrap { padding-block: clamp(40px, 5.2vw, 72px); }
h1, h2, p { margin: 0; }
h1, h2, .story-row strong { letter-spacing: -.055em; text-wrap: pretty; }
.home-banner h1 { max-width: 18em; font-size: clamp(36px, 4.7vw, 62px); line-height: 1.16; font-weight: 760; color: var(--forest); }
.home-banner p { max-width: 38em; margin-top: 13px; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); letter-spacing: -.025em; }
.collections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: start; padding-block: clamp(28px, 3.5vw, 48px) 70px; }
.collection { border: 1px solid var(--stroke); border-radius: 16px; overflow: hidden; scroll-margin-top: 14px; background: white; }
.collection[tabindex]:focus-visible { outline-offset: 4px; }
.collection-head { display: grid; grid-template-columns: 1fr 51%; overflow: hidden; background: #e9eee4; }
.dog .collection-head { background: #f3e6d6; }
.cat .collection-head { background: #e8eee2; }
.collection-head.text-only { grid-template-columns: 1fr; min-height: 112px; }
.collection-head img { height: clamp(132px, 13vw, 176px); width: 100%; object-fit: cover; object-position: 50% 36%; }
.cat .collection-head img { object-position: 59% 46%; }
.collection-title { align-self: end; padding: 16px clamp(16px, 2.3vw, 30px) 10px; }
.collection-title h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; color: #365741; }
.dog .collection-title h2 { color: #553f2f; }
.collection-title h2 a, .all-link { text-decoration: none; }
.collection-title h2 a:hover, .all-link:hover { text-decoration: underline; }
.all-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #485345; font-size: 14px; }
.collection-categories { display: flex; flex-wrap: wrap; gap: 0 12px; padding: 2px clamp(16px, 2.3vw, 30px); border-bottom: 1px solid var(--stroke); }
.collection-categories a { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); font-size: 14px; }
.story-list, .sources ul, .article-aside ul { margin: 0; padding: 0; list-style: none; }
.story-list li + li { border-top: 1px solid var(--stroke); }
.story-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 20px clamp(16px, 2.3vw, 30px); align-items: center; text-decoration: none; }
.story-row:hover { background: #f8faf4; }
.story-row:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.story-row strong { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.52; font-weight: 675; }
.story-row small { display: block; margin-bottom: 2px; font-size: 13px; color: var(--muted); }
.row-arrow { color: var(--leaf); font-size: 20px; }
.hub-banner .wrap { padding-block: clamp(18px, 3vw, 36px) clamp(32px, 4vw, 50px); }
.hub-banner .crumb { margin-bottom: 8px; }
.hub-list { padding-block: clamp(24px, 4vw, 42px) 65px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.category-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 16px; background: #eff3e9; border-radius: 22px; color: var(--forest); text-decoration: none; }
.category-nav a:hover { text-decoration: underline; }
.hub-group { scroll-margin-top: 16px; max-width: 760px; }
.hub-group + .hub-group { margin-top: 32px; }
.hub-group h2, .related h2 { font-size: clamp(22px, 2vw, 27px); line-height: 1.4; margin-bottom: 12px; }
.hub-group .story-list, .related .story-list { border: 1px solid var(--stroke); border-radius: 12px; overflow: hidden; background: white; }
.article-shell { display: grid; grid-template-columns: minmax(0, 700px) minmax(180px, 1fr); column-gap: clamp(45px, 7vw, 100px); padding-block: 18px 65px; }
.article-heading h1 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.24; font-weight: 760; margin-top: 13px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--forest); font-size: 14px; }
.crumb span { color: #829181; }
.article-meta { color: var(--muted); font-size: 14px; margin-top: 13px; }
.article-meta time { margin-left: .2em; font-variant-numeric: tabular-nums; }
.answer { padding: 17px 21px; margin: 23px 0 30px; border-left: 3px solid #437558; border-radius: 0 12px 12px 0; background: #eff3e9; color: #254435; font-size: clamp(17px, 1.4vw, 19px); font-weight: 580; line-height: 1.75; letter-spacing: -.025em; }
.guide-photo { margin: 0 0 25px; }
.guide-photo img { display: block; width: 100%; height: clamp(160px, 28vw, 300px); border-radius: 12px; object-fit: cover; object-position: center 37%; }
.guide-photo figcaption { font-size: 13px; color: var(--muted); }
.guide-photo summary { display: list-item; width: fit-content; padding-block: 11px; min-height: 44px; cursor: pointer; }
.credit-line, .photo-changes { display: block; }
.photo-changes + .credit-line { margin-top: 6px; }
.body-section { scroll-margin-top: 14px; margin-block: 28px; }
.body-section h2, .sources h2 { font-size: clamp(22px, 2vw, 27px); font-weight: 710; line-height: 1.44; margin-bottom: 11px; }
.body-section p { font-size: 17px; line-height: 1.88; letter-spacing: -.016em; }
.body-section p + p { margin-top: 12px; }
.article-aside { align-self: start; position: sticky; top: 30px; margin-top: 75px; padding: 0 0 8px 18px; border-left: 1px solid var(--stroke); }
.article-aside h2 { font-size: 16px; margin-bottom: 8px; color: var(--forest); }
.article-aside a { display: inline-block; padding-block: 6px; line-height: 1.55; color: var(--muted); font-size: 14px; text-decoration: none; }
.article-aside a:hover { text-decoration: underline; }
.sources { margin-top: 36px; border-top: 1px solid var(--stroke); padding-top: 22px; scroll-margin-top: 12px; }
.sources h2 { font-size: 21px; }
.sources li + li { margin-top: 10px; }
.sources li span { display: block; font-size: 13px; color: var(--muted); }
.sources li a { color: var(--forest); font-size: 15px; }
.related { margin-top: 32px; }
.related .story-row { padding: 12px 16px; }
.related .story-row strong { font-size: 16px; }
.back-link { margin-top: 20px; font-size: 15px; font-weight: 650; color: var(--forest); }
.footer { border-top: 1px solid var(--stroke); color: var(--muted); background: #f5f6ef; }
.footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 17px; }
.footer-brand { min-height: 44px; font-size: 20px; }
@media (max-width: 800px) {
  .wrap { width: min(700px, calc(100% - 40px)); }
  .article-shell { display: block; }
  .article-aside { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .head-inner { min-height: 58px; gap: 12px; }
  .wordmark { font-size: 24px; }
  .bookmark { width: 18px; height: 26px; }
  .bookmark::after { inset: 5px 6px auto; height: 6px; }
  .topnav { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; gap: 4px; padding: 3px; }
  .topnav a { flex: none; min-width: 48px; font-size: 14px; }
  .home-banner .wrap { padding-block: 29px; }
  .home-banner h1 { font-size: clamp(28px, 7.8vw, 40px); }
  .home-banner p { margin-top: 9px; font-size: 15px; }
  .hub-banner .wrap { padding-block: 12px 25px; }
  .hub-list { padding-block: 21px 40px; }
  .collections { grid-template-columns: 1fr; padding-block: 22px 38px; gap: 18px; }
  .collection-head { grid-template-columns: 1fr 48%; }
  .collection-head img { height: 106px; }
  .collection-title { padding: 12px 18px 6px; }
  .collection-title h2 { font-size: 27px; }
  .story-row { padding: 15px 18px; }
  .article-shell { padding-block: 6px 38px; }
  .article-heading h1 { font-size: clamp(27px, 7.7vw, 38px); margin-top: 6px; }
  .article-meta { margin-top: 9px; font-size: 13px; }
  .answer { margin: 17px 0 22px; padding: 13px 15px; }
  .body-section { margin-block: 23px; }
  .body-section p { font-size: 16px; }
}
@media print {
  .masthead, .footer, .article-aside, .back-link { display: none; }
  .article-shell { display: block; width: 100%; }
}
