@import url("https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --paper: #f7f5ee;
  --cream: #efede3;
  --olive: #343e34;
  --deep: #29352d;
  --sage: #dfe2d5;
  --muted: #525c51;
  --oak: #795b40;
  --line: #d4d5c9;
  --serif: "Nanum Myeongjo", "Batang", "AppleMyungjo", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --header-height: 79px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.75; background: var(--paper); color: var(--olive); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.32; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: clamp(38px, 4.15vw, 60px); font-weight: 700; }
h2 { font-size: clamp(29px, 3vw, 45px); font-weight: 700; }
h3 { font-size: 25px; }
p { word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 5px; }
.container, .header-inner { width: min(100% - 96px, 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; left: 12px; top: 12px; padding: 10px 16px; transform: translateY(-150%); color: white; background: var(--deep); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 10; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .22s; }
.site-header.scrolled { box-shadow: 0 3px 18px #29352d0d; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1.15; flex-shrink: 0; }
.brand-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; color: inherit; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; gap: 4px; }
.brand-text strong { font-family: var(--serif); font-size: 21px; letter-spacing: -.06em; }
.brand-text small { font-size: 9px; font-weight: 600; letter-spacing: .125em; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; position: relative; padding-block: 9px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--oak); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 3px; border-bottom: 1px solid currentColor; }
.menu-toggle { display: none; }

.hero { padding-block: clamp(54px, 6.2vw, 96px) clamp(42px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: clamp(36px, 6vw, 92px); align-items: center; }
.hero-copy h1 { margin-top: 14px; }
.eyebrow { display: block; color: var(--oak); font-size: 12px; font-weight: 700; letter-spacing: .115em; line-height: 1.5; }
.hero-description { margin-top: 23px; max-width: 38ch; color: var(--muted); line-height: 1.85; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 10px 19px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 600; line-height: 1.45; white-space: nowrap; cursor: pointer; transition: color .2s, background-color .2s, border-color .2s; }
.button.primary { color: var(--paper); background: var(--olive); border-color: var(--olive); }
.button.primary:hover { background: #49574a; border-color: #49574a; }
.button.secondary { color: var(--olive); background: transparent; border-color: #aeb4a7; }
.button.secondary:hover { background: var(--sage); border-color: var(--olive); }
.button svg, .text-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.hero-visual figure, .hero-visual img { border-radius: 2px; }
.hero-visual img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--cream); }
.image-caption, figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; }
.hero-foot { border-block: 1px solid var(--line); background: #eeeee5; }
.quick-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px clamp(22px, 4vw, 58px); min-height: 65px; padding-block: 14px; font-size: 13px; color: var(--muted); }
.quick-facts > span { display: inline-flex; align-items: center; gap: 8px; }
.quick-facts > span + span::before { content: ""; margin-right: clamp(8px, 2vw, 24px); height: 13px; border-left: 1px solid #bfc4b8; }

.section { padding-block: clamp(58px, 7vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(26px, 4vw, 50px); }
.section-heading h2, .doctor-copy h2, .visit-copy h2 { margin-top: 10px; }
.section-heading p:not(.eyebrow), .visit-copy p:not(.eyebrow) { margin-top: 15px; max-width: 47ch; color: var(--muted); }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
.principle-grid, .reading-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px clamp(24px, 4vw, 56px); }
.principle, .reading-card { padding-top: 22px; border-top: 1px solid #aeb4a7; }
.number, .article-category { display: block; margin-bottom: 9px; color: var(--oak); font-size: 12px; font-weight: 700; letter-spacing: .09em; }
.principle p, .reading-card p, .treatment-grid article p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.reading-card { display: flex; flex-direction: column; align-items: flex-start; }
.reading-card p { flex: 1; }
.reading-card .text-link { margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--oak); }

.philosophy-band { overflow: hidden; padding-block: clamp(48px, 6vw, 88px); background: var(--deep); color: var(--paper); }
.philosophy-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.band-copy { position: relative; z-index: 1; }
.band-copy .eyebrow { color: #ddd1b9; margin-bottom: 10px; }
.band-copy p { max-width: 56ch; margin: 14px 0 20px; color: #e0e4d8; }
.band-copy .text-link:hover { color: #ddd1b9; }
.circle-mark { width: clamp(110px, 17vw, 240px); color: #a9b4a0; opacity: .65; flex-shrink: 0; }
.circle-mark svg { display: block; width: 100%; height: auto; }

.doctor-grid, .visit-grid, .treatment-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 110px); }
.doctor-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); }
.portrait { max-width: 440px; }
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--cream); border-radius: 2px; }
.doctor-name { margin-top: 15px; font-family: var(--serif); font-size: clamp(23px, 2.2vw, 33px); font-weight: 700; }
.doctor-copy p:not(.eyebrow):not(.doctor-name) { margin-top: 12px; color: var(--muted); }
.credentials { margin-block: 16px 24px; padding-left: 1.2em; color: var(--muted); font-size: 15px; }
.credentials li + li { margin-top: 3px; }
.care-list, .topic-list { border-top: 1px solid #aeb4a7; }
.care-link, .topic-row { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 14px; min-height: 65px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.care-link:hover, a.topic-row:hover { background: #e8e9df; }
.care-link .number, .topic-row .number { margin: 0; }
.care-link h3, .topic-row h3 { font-size: 23px; }
.care-link > :last-child, .topic-row > :last-child { justify-self: end; }
.visit-grid { align-items: start; }
.hours-panel { padding: clamp(18px, 3vw, 32px); background: var(--cream); border-block: 1px solid var(--line); }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.hours th, .hours td { padding: 8px 0; text-align: left; border-bottom: 1px solid var(--line); }
.hours th { padding-right: 12px; font-weight: 600; }
.hours tr:last-child > * { border-bottom: 0; }

.page-hero { padding-block: clamp(46px, 6.4vw, 94px); border-bottom: 1px solid var(--line); background: #eeeee5; }
.page-hero h1 { margin-top: 10px; }
.page-hero p:not(.eyebrow), .page-hero .lead { max-width: 54ch; margin-top: 17px; color: var(--muted); }
.breadcrumb, .breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.breadcrumb a:hover, .breadcrumbs a:hover { text-decoration: underline; }
.content-grid, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .34fr); gap: clamp(28px, 6vw, 92px); align-items: start; }
.prose { overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.35em; font-size: clamp(26px, 2.6vw, 36px); }
.prose h3 { margin-top: 1.25em; font-size: clamp(21px, 2vw, 27px); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: .85em; }
.prose li + li { margin-top: 5px; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose a:not(.button) { text-decoration: underline; text-underline-offset: .22em; }
.prose blockquote { margin: 24px 0; padding: 14px 19px; border-left: 2px solid var(--oak); background: var(--cream); }
.prose blockquote > :first-child { margin-top: 0; }
.sidebar, .article-aside { padding: 18px 0; border-block: 1px solid var(--line); font-size: 14px; }
.sidebar h2, .article-aside h2 { font-size: 23px; }
.sidebar ul, .article-aside ul { list-style: none; padding: 0; }
.sidebar a:hover, .article-aside a:hover { text-decoration: underline; }
.wide-image { margin-block: 24px; }
.wide-image img, .treatment-image img { border-radius: 2px; background: var(--cream); object-fit: cover; }
.treatment-copy p { margin-top: 15px; color: var(--muted); }
.treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.treatment-grid article { padding-top: 20px; border-top: 1px solid #aeb4a7; }
.treatment-grid article h2 { font-size: clamp(24px, 2.5vw, 34px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 16px 32px 16px 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; right: 7px; content: "+"; font-size: 18px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 25px 18px 0; color: var(--muted); }
.map-panel { padding: clamp(20px, 4vw, 45px); background: var(--sage); border: 1px solid #d0d6c9; }
.map-mark { display: block; width: 30px; height: 30px; margin-bottom: 10px; }
.map-mark svg { width: 100%; height: 100%; }
.map-panel .button { margin-top: 15px; }

.site-footer { background: var(--deep); color: var(--paper); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 25px 45px; padding-block: 42px 28px; }
.footer-top p { margin-top: 12px; color: #dae1d7; font-size: 13px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 22px; border-top: 1px solid #697569; padding-block: 17px 24px; color: #dae1d7; font-size: 12px; }
.mobile-contact { display: none; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .hero-copy { animation: appear .5s ease-out both; }
  .hero-visual { animation: appear .55s .08s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 960px) {
  .container, .header-inner { width: min(100% - 56px, 1280px); }
  .header-inner { gap: 16px; }
  .nav-links { gap: 17px; }
  .hero-grid { gap: 32px; }
}
@media (max-width: 760px) {
  :root { --header-height: 64px; }
  body { font-size: 15px; }
  .container, .header-inner { width: min(100% - 40px, 1280px); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: 19px; }
  .menu-toggle { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 5px 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 12px; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .site-header nav { position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--header-height)); overflow: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px #29352d0d; }
  .site-header .menu-toggle[aria-expanded="false"] ~ nav, .site-header:has(.menu-toggle[aria-expanded="false"]) nav { display: none; }
  .nav-links { display: grid; gap: 0; padding: 8px 20px 16px; }
  .nav-links a { min-height: 44px; padding: 10px 0; }
  .nav-links > * + * { border-top: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { content: none; }
  h1 { font-size: clamp(33px, 9.2vw, 43px); }
  .hero { padding-block: 42px 36px; }
  .hero-grid, .doctor-grid, .visit-grid, .treatment-layout, .content-grid, .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-description { margin-top: 17px; }
  .button-row { margin-top: 23px; }
  .quick-facts { align-items: flex-start; gap: 5px 14px; }
  .quick-facts > span + span::before { display: none; }
  .section { padding-block: 48px; }
  .split-heading { display: block; }
  .split-heading > .text-link { margin-top: 12px; }
  .principle-grid, .reading-grid, .treatment-grid { grid-template-columns: 1fr; gap: 20px; }
  .principle, .reading-card, .treatment-grid article { padding-top: 15px; }
  .philosophy-band .container { gap: 0; }
  .circle-mark { position: absolute; right: -30px; bottom: -73px; width: 145px; opacity: .22; }
  .portrait { max-width: 340px; }
  .care-link, .topic-row { grid-template-columns: 32px 1fr auto; gap: 9px; }
  .care-link h3, .topic-row h3 { font-size: 21px; }
  .site-footer { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .mobile-contact { position: fixed; z-index: 9; inset: auto 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); display: grid; grid-template-columns: 1fr 1fr; background: var(--deep); color: var(--paper); border-top: 1px solid #697569; }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px; min-height: 54px; font-size: 14px; font-weight: 600; }
  .mobile-contact a + a { border-left: 1px solid #697569; }
  .mobile-contact a:focus-visible { outline-offset: -5px; }
  .mobile-contact svg { width: 18px; height: 18px; }
}

.copy-address[hidden] { display: none; }
.copy-status { display: inline-block; margin-left: 12px; font-size: 13px; color: var(--muted); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-copy h1 em { color: #576751; font-style: normal; }
.hero-visual .image-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 13px; }
.hero-visual .image-caption span { text-align: end; }
.header-phone, .phone-number { font-variant-numeric: tabular-nums; }
.nav-links .header-phone { padding-inline: 11px; border: 1px solid var(--line); }
.quick-facts > a { margin-left: auto; font-weight: 600; }
.quick-facts > a:hover, .phone-number:hover, .footer-address > a:hover { color: var(--oak); }
.quick-facts > a span { margin-left: 3px; }
.circle-mark { display: grid; place-items: center; gap: 10px; aspect-ratio: 1; padding: clamp(17px, 3vw, 40px); border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: clamp(12px, 1.25vw, 18px); }
.circle-mark svg { width: min(100%, 70px); }
.doctor-copy h3 { margin-top: 23px; font-size: 20px; }
.doctor-copy h3 + .credentials { margin-top: 8px; }
.doctor-name span, .doctor-copy h2 .light { color: var(--muted); font-size: .66em; }
.care-list + .text-link { margin-top: 17px; }
.care-section, .research-section { background: #eeeee5; }
.visit-copy .phone-number, .hours-panel .phone-number { display: inline-block; margin-top: 15px; font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; letter-spacing: -.035em; }
.visit-copy p.small-note, .hours-panel .small-note, .treatment-copy .small-note, .medical-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.visit-copy .address-large { font-weight: 600; }
.hours-panel h2, .hours-panel h3 { margin: 6px 0 14px; }
.hours tr.muted { color: var(--muted); }
.hours-note { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hours-note p + p { margin-top: 4px; }
.hours-note strong { margin-left: 5px; }
.treatment-copy .topic-list, .visit-copy .topic-list { margin-top: 18px; }
.topic-row { grid-template-columns: minmax(90px, .6fr) minmax(0, 1fr); align-items: start; }
.topic-row > :last-child { justify-self: start; }
.topic-row h3 { font-size: 17px; }
.topic-row p { margin: 0; font-size: 14px; }
.content-grid, .article-layout { grid-template-columns: minmax(175px, .42fr) minmax(0, 1fr); }
.content-grid > .section-heading { margin-bottom: 0; }
.content-grid .prose > .text-link { margin-top: 14px; }
.article-layout > .prose { max-width: 73ch; }
.article-aside p { margin-top: 10px; color: var(--muted); }
.article-intro { font-size: clamp(17px, 2vw, 21px); font-weight: 500; }
.source-note { margin-top: 24px; padding: 14px 18px; border-left: 2px solid var(--oak); background: var(--cream); }
.source-note h3 { margin-top: 0; }
.prose .research-list { padding: 0; list-style: none; }
.research-list li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.research-list li span { color: var(--muted); font-size: 13px; }
.article-end { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line); }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 5px 22px; font-size: 14px; }
.footer-address > a { display: inline-block; margin-top: 4px; }
.footer-address > a:hover { color: #e5d7bc; }
.visit-copy p.copy-status { margin: 0; }
.visit-copy p.copy-status:not(:empty) { margin-top: 8px; }

@media (min-width: 761px) and (max-width: 960px) {
  .nav-links .header-phone { display: none; }
}
@media (max-width: 760px) {
  .menu-toggle { grid-auto-flow: column; gap: 6px; }
  .menu-icon { width: 14px; height: 9px; border-block: 1px solid currentColor; }
  .nav-links .header-phone { padding-inline: 0; border-inline: 0; border-bottom: 0; }
  .quick-facts > a { margin-left: 0; }
  .topic-row { grid-template-columns: minmax(73px, .5fr) minmax(0, 1fr); }
  .content-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside p { display: none; }
}
