:root {
  --font-body: 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
  --font-heading: 'Batang', 'AppleMyungjo', serif;
  --content-width: 1120px;
  --header-width: 1280px;
  --ink: #1d2028;
  --muted-ink: #626875;
  --line: #dddcd8;
  --surface: #ffffff;
  --soft-surface: #f4f1ed;
  --brand-accent: #465349;
  --night: #252a27;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: var(--font-body); word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 5px; }
.editorial-wrap { width: min(var(--content-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -100px; padding: .7rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
#main:focus { outline: 0; }

.editorial-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(221,220,216,.92); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.editorial-header__inner { width: min(var(--header-width), calc(100% - 64px)); min-height: 96px; margin-inline: auto; display: flex; align-items: center; gap: 2rem; }
.wordmark { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.wordmark-hanja { font: 500 2.05rem/1 var(--font-heading); letter-spacing: .08em; }
.wordmark-caption { border-left: 1px solid #cbc9c5; padding-left: 20px; font: 500 .9375rem/1.7 var(--font-body); }
.wordmark-caption > span { display: block; color: var(--muted-ink); font-size: .75rem; font-weight: 400; }
.desktop-navigation { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.desktop-navigation a { padding-block: 1rem; color: var(--ink); font-size: .9375rem; }
.desktop-navigation a:hover { color: var(--brand-accent); }
.parent-link { display: inline-flex; align-items: center; gap: 4px; border-left: 1px solid var(--line); padding-left: 1.6rem; color: var(--muted-ink); font-size: .8125rem; }
.parent-link:hover { color: var(--brand-accent); }
.mobile-toggle { display: none; border: 0; padding: .6rem; background: transparent; color: var(--ink); }
.mobile-navigation { display: none; }

.wellness-site { position: relative; isolation: isolate; width: 100%; overflow: hidden; color: var(--ink); background: rgba(255,255,255,.74); }
.wellness-site h1, .wellness-site h2, .wellness-site h3, .footer-wordmark { font-family: var(--font-heading); letter-spacing: -.035em; }
.wellness-site p, .wellness-site figure, .wellness-site dl, .wellness-site dd { margin: 0; }
.wellness-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 76% 25%, rgba(126,145,129,.19), transparent 28%), linear-gradient(118deg,#fbfaf7 0%,#f1f0ec 58%,#e6e9e5 100%); }
.wellness-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,255,255,.75),transparent 48%,rgba(53,69,58,.055)); }
.wellness-backdrop__halo { position: absolute; display: block; border-radius: 50%; filter: blur(2px); opacity: .42; }
.wellness-backdrop__halo--one { width: 420px; height: 420px; right: 2%; top: -14%; background: radial-gradient(circle,rgba(126,145,129,.28),rgba(126,145,129,0) 68%); animation: wellness-drift-one 22s ease-in-out infinite alternate; }
.wellness-backdrop__halo--two { width: 320px; height: 320px; left: 34%; top: 34%; background: radial-gradient(circle,rgba(70,83,73,.16),rgba(70,83,73,0) 70%); animation: wellness-drift-two 28s ease-in-out infinite alternate; }
.wellness-backdrop__line { position: absolute; display: block; border: 1px solid rgba(70,83,73,.12); border-radius: 50%; transform: rotate(-18deg); }
.wellness-backdrop__line--one { width: 620px; height: 220px; right: -7%; top: 16%; animation: wellness-orbit 38s linear infinite; }
.wellness-backdrop__line--two { width: 480px; height: 180px; right: 6%; top: 27%; animation: wellness-orbit 48s linear infinite reverse; }
.wellness-backdrop__grain { position: absolute; inset: -35%; opacity: .1; background-image: radial-gradient(rgba(26,29,37,.7) .55px,transparent .65px); background-size: 7px 7px; animation: wellness-grain 18s steps(8) infinite; }
@keyframes wellness-drift-one { from { transform: translate3d(-20px,-8px,0) scale(.95); } to { transform: translate3d(32px,30px,0) scale(1.12); } }
@keyframes wellness-drift-two { from { transform: translate3d(0,16px,0) scale(1); } to { transform: translate3d(-48px,-24px,0) scale(1.18); } }
@keyframes wellness-orbit { to { transform: rotate(342deg); } }
@keyframes wellness-grain { 0% { transform: translate3d(-2%,-1%,0); } 50% { transform: translate3d(2%,1%,0); } 100% { transform: translate3d(-1%,2%,0); } }

.kicker { color: var(--muted-ink); font: 400 .875rem/1.6 var(--font-body); letter-spacing: .035em; }
.overline { font: 600 .875rem/1.6 var(--font-body); letter-spacing: .025em; }
.text-button, .quiet-link { display: inline-flex; align-items: center; gap: .75rem; font: 500 .9375rem/1.5 var(--font-body); }
.text-button { padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.text-button:hover, .quiet-link:hover { color: var(--brand-accent); }
.home-intro { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 4rem; padding-block: 64px; align-items: center; }
.intro-text .kicker { margin-bottom: 22px; color: var(--brand-accent); }
.intro-text h1 { margin: 0; font-size: clamp(2.6rem,4vw,3.45rem); font-weight: 500; line-height: 1.46; }
.intro-description { margin-top: 24px !important; color: var(--muted-ink); line-height: 1.95; }
.intro-text > .text-button { margin-top: 28px; }
.intro-footnote { display: flex; align-items: center; gap: 12px; margin-top: 36px; color: #6e717a; font: 400 .75rem/1.5 var(--font-body); }
.intro-footnote > span:first-child { border-right: 1px solid #cbc9c5; padding-right: 12px; color: var(--ink); font: 500 .95rem/1.5 var(--font-heading); letter-spacing: .1em; }
.editorial-portrait { position: relative; margin-top: 4px !important; }
.editorial-portrait img { width: 100%; height: auto; aspect-ratio: 896/640; object-fit: cover; filter: saturate(.72) contrast(1.02); }
.editorial-portrait figcaption { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-block: 13px; color: var(--muted-ink); font: 400 .75rem/1.4 var(--font-body); letter-spacing: .12em; }

.featured-section { position: relative; z-index: 2; border-block: 1px solid var(--line); background: rgba(245,242,238,.96); }
.featured-grid { display: grid; grid-template-columns: 155px minmax(0,1fr) 195px; gap: 40px; padding-block: 46px; align-items: center; }
.section-label { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border-right: 1px solid #d7d3ce; padding-top: 3px; }
.section-label .overline { padding-bottom: 18px; }
.section-label time, .small-type { color: var(--muted-ink); font: 400 .8125rem/1.6 var(--font-body); }
.featured-copy h2 { margin: 14px 0 0; font-size: 1.75rem; font-weight: 500; line-height: 1.65; }
.featured-copy a:hover h2 { color: var(--brand-accent); }
.feature-subtitle { margin-top: 8px !important; color: #4d554f; font: 400 1.05rem/1.8 var(--font-heading); }
.feature-summary { max-width: 560px; margin-top: 18px !important; color: var(--muted-ink); font: 400 .9375rem/1.9 var(--font-body); }
.featured-copy > .text-button { margin-top: 20px; }
.featured-index { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #d3cfc9; padding: 22px 16px; background: #e7e9e4; }
.featured-index > span { color: #5c675e; font: 500 .7rem/1.5 var(--font-body); letter-spacing: .07em; text-align: center; }
.featured-index strong { color: #3c4940; font: 400 5.2rem/1.55 var(--font-heading); }
.featured-index .index-arrow { margin-top: 18px; color: #3c4940; font-size: 1.3rem; }

.archive-section { position: relative; z-index: 2; padding-block: 70px; background: rgba(255,255,255,.98); }
.archive-section::before { content: ''; position: absolute; z-index: -1; inset-block: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: rgba(255,255,255,.98); }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-title-row h2 { margin: 8px 0 0; font-size: 2rem; font-weight: 500; }
.home-posts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 48px; border-top: 1px solid var(--ink); }
.home-post { display: flex; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); padding-block: 28px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--muted-ink); font: 400 .75rem/1.5 var(--font-body); }
.home-post h3 { margin: 18px 0 0; font-size: 1.28rem; font-weight: 500; line-height: 1.7; }
.post-subtitle { margin-top: 8px !important; color: #626963; font: 400 .9375rem/1.7 var(--font-heading); }
.post-read { margin-top: 20px; color: var(--muted-ink); font: 400 .8125rem/1.6 var(--font-body); }
.home-post:hover h3 { color: var(--brand-accent); }

.reading-lenses { position: relative; z-index: 2; padding-block: 54px; color: #fff; background: var(--night); }
.lenses-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; }
.lenses-heading .kicker { color: #c9ceca; }
.lenses-heading h2 { margin: 20px 0 0; font-size: 2.35rem; font-weight: 400; line-height: 1.5; }
.lenses-heading > p:not(.kicker) { max-width: 440px; margin-top: 16px !important; color: #cdd2ce; font: 400 .9375rem/1.95 var(--font-body); }
.lenses-list { list-style: none; margin: 0; padding: 0; }
.lenses-list li { display: flex; align-items: center; gap: 25px; padding-block: 18px; }
.lenses-list li + li { border-top: 1px solid #4a514c; }
.lenses-list > li > span { color: #aab1ac; font: 400 .75rem/1.5 var(--font-body); font-variant-numeric: tabular-nums; }
.lenses-list small { display: block; margin-bottom: 5px; color: #aab1ac; font: 400 .7rem/1.5 var(--font-body); letter-spacing: .08em; }
.lenses-list strong { font: 400 1.15rem/1.7 var(--font-heading); }

.price-strip, .about-strip { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 65px; background: #fff; }
.price-strip::before, .about-strip::before { content: ''; position: absolute; z-index: -1; inset-block: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #fff; }
.price-strip { border-bottom: 1px solid var(--line); }
.price-strip h2, .about-strip h2 { margin: 12px 0 0; font-size: 1.75rem; font-weight: 500; line-height: 1.55; }
.price-note { margin-top: 16px !important; color: var(--muted-ink); font: 400 .8125rem/1.8 var(--font-body); }
.price-list { border-top: 1px solid var(--ink); }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--line); padding-block: 14px; }
.price-list dt { font: 500 .9375rem/1.6 var(--font-body); }
.price-list dt small { margin-left: 8px; color: var(--muted-ink); font-weight: 400; }
.price-list dd { white-space: nowrap; font: 500 1rem/1.6 var(--font-heading); }
.about-strip > div:last-child p { color: var(--muted-ink); font: 400 .9375rem/2 var(--font-body); }
.about-links { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 18px; }

.editorial-footer { position: relative; z-index: 3; border-top: 1px solid var(--line); padding-top: 42px; color: var(--ink); background: #f7f5f2; }
.footer-main { display: grid; grid-template-columns: 190px 1fr auto; gap: 35px; align-items: start; padding-bottom: 32px; }
.footer-wordmark { color: var(--ink); font-size: 1.9rem; line-height: 1.5; }
.footer-wordmark > span { display: block; font: 400 .7rem/2 var(--font-body); letter-spacing: .12em; }
.footer-main p { margin: 0; font: 400 .875rem/1.8 var(--font-body); }
.footer-description { margin-top: 8px !important; color: var(--muted-ink); }
.footer-main nav { display: flex; flex-direction: column; gap: 6px; }
.footer-main nav a { color: var(--ink); font: 400 .8125rem/1.7 var(--font-body); }
.footer-legal { border-top: 1px solid var(--line); padding-block: 16px; }
.footer-legal summary { width: max-content; cursor: pointer; color: var(--muted-ink); font: 500 .75rem/1.6 var(--font-body); }
.footer-legal p { max-width: 740px; margin: 12px 0 0; color: var(--muted-ink); font: 400 .75rem/1.8 var(--font-body); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted-ink); font: 400 .75rem/1.7 var(--font-body); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.editorial-footer a:hover { color: var(--brand-accent); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .editorial-header__inner { gap: 1.5rem; }
  .wordmark-caption > span { display: none; }
  .desktop-navigation { gap: 1.5rem; }
  .parent-link { padding-left: 1rem; }
  .home-intro { gap: 2.5rem; }
  .featured-grid { grid-template-columns: 130px minmax(0,1fr) 160px; gap: 28px; }
  .featured-index strong { font-size: 4.5rem; }
}
@media (max-width: 850px) {
  .editorial-header__inner { width: calc(100% - 40px); min-height: 80px; gap: 1.25rem; }
  .wordmark { gap: 14px; }
  .wordmark-caption { padding-left: 14px; }
  .parent-link { display: none; }
  .desktop-navigation { gap: 1.25rem; }
  .home-intro { gap: 2rem; }
  .intro-text h1 { font-size: 2.4rem; }
  .featured-grid { grid-template-columns: 100px minmax(0,1fr); gap: 25px; }
  .featured-index { display: none; }
  .lenses-layout, .price-strip, .about-strip { gap: 36px; }
  .footer-main { grid-template-columns: 150px 1fr auto; gap: 20px; }
}
@media (max-width: 640px) {
  .editorial-wrap { width: calc(100% - 40px); }
  .editorial-header__inner { min-height: 74px; }
  .wordmark-hanja { font-size: 1.8rem; }
  .wordmark-caption { font-size: .875rem; }
  .wordmark-caption > span { display: block; font-size: .6875rem; }
  .desktop-navigation { display: none; }
  .mobile-toggle { display: inline-flex; margin-left: auto; }
  .mobile-navigation { position: fixed; top: 74px; left: 0; z-index: 39; width: 100vw; height: calc(100dvh - 74px); flex-direction: column; overflow-y: auto; padding: 30px 20px; background: rgba(255,255,255,.98); }
  .menu-open .mobile-navigation { display: flex; }
  .mobile-navigation a { border-bottom: 1px solid var(--line); padding: 18px 4px; color: var(--ink); font: 500 1rem/1.5 var(--font-body); }
  .home-intro { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 40px; }
  .intro-text h1 { font-size: 2.55rem; line-height: 1.5; }
  .intro-text .kicker { margin-bottom: 18px; }
  .intro-description { margin-top: 20px !important; font-size: .9375rem; }
  .desktop-break { display: none; }
  .intro-footnote { margin-top: 25px; }
  .editorial-portrait figcaption { padding-block: 10px; font-size: .65rem; }
  .featured-grid { grid-template-columns: 1fr; gap: 20px; padding-block: 32px; }
  .section-label { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 14px; border: 0; padding: 0; }
  .section-label .overline { padding: 0; }
  .small-type:last-child { display: none; }
  .featured-copy h2 { font-size: 1.55rem; }
  .archive-section { padding-block: 44px; }
  .section-title-row h2 { font-size: 1.65rem; }
  .section-title-row > .quiet-link { font-size: .8125rem; }
  .home-posts { grid-template-columns: 1fr; }
  .home-post { padding-block: 24px; }
  .home-post h3 { font-size: 1.2rem; }
  .reading-lenses { padding-block: 38px; }
  .lenses-layout { grid-template-columns: 1fr; gap: 25px; }
  .lenses-heading h2 { margin-top: 12px; font-size: 2rem; }
  .price-strip, .about-strip { grid-template-columns: 1fr; gap: 26px; padding-block: 42px; }
  .price-strip h2, .about-strip h2 { font-size: 1.55rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-main > div { grid-column: 1 / -1; grid-row: 2; }
  .footer-main nav { justify-self: end; }
  .footer-bottom { flex-direction: column; gap: 18px; padding-block: 20px; }
  .footer-bottom nav { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* v4 — 푸터 「동제당 네트워크」 접기형 + 사업자 정보 (site.css v28과 동일 구조, 홈은 home.css만 로드) */
.footer-legal summary, .footer-network > summary { list-style: none; }
.footer-legal summary::-webkit-details-marker, .footer-network > summary::-webkit-details-marker { display: none; }
.footer-legal summary::after { content: "+"; margin-left: .5rem; color: var(--brand-accent); }
.footer-legal[open] summary::after { content: "–"; }
.footer-network { border-top: 1px solid var(--line); padding-block: 16px; }
.footer-network > summary { display: inline-flex; align-items: center; gap: .5rem; width: max-content; cursor: pointer; color: var(--ink); font: 600 .8125rem/1.6 var(--font-body); }
.footer-network > summary::after { content: "+"; color: var(--brand-accent); font-weight: 400; }
.footer-network[open] > summary::after { content: "–"; }
.footer-network__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; margin-top: 18px; }
.footer-network__grid h3 { margin: 0 0 8px; color: var(--muted-ink); font: 600 .72rem/1.6 var(--font-body); letter-spacing: .08em; }
.footer-network__grid a, .footer-network__grid span { display: block; color: var(--ink); font: 400 .8125rem/1.9 var(--font-body); text-decoration: none; }
.footer-network__grid span { color: var(--muted-ink); }
.footer-network__grid span[aria-current] { color: var(--ink); font-weight: 600; }
.footer-info p { margin: 0; font: 400 .75rem/1.9 var(--font-body); }
.footer-info span { margin-inline: .5rem; opacity: .5; }
.footer-info a { color: inherit; text-decoration: none; }
@media (max-width: 640px) {
  .footer-network__grid { grid-template-columns: 1fr; gap: 16px; }
}
