/* Homepage-only navigation, hierarchy and accessible interactions. */
:root{--home-header-height:76px}
html{scroll-padding-top:0}
[id]{scroll-margin-top:calc(var(--home-header-height) + 16px)}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #f3d494;outline-offset:5px}
.home-skip{position:fixed;left:16px;top:-100px;z-index:11000;background:#f0e2cb;color:#1c1030;padding:12px 18px;border-radius:8px}.home-skip:focus{top:10px}
.home-header{position:sticky;top:0;z-index:100;background:rgba(28,16,48,.97);border-bottom:1px solid var(--rule);backdrop-filter:blur(12px)}
.home-header-inner,.home-container{max-width:1120px;margin:auto;padding-left:24px;padding-right:24px}
.home-header-inner{min-height:76px;display:flex;align-items:center;gap:24px;position:relative}
.home-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:800;color:var(--gold-bright);font-size:17px}.home-brand img{width:40px;height:40px;object-fit:contain}
.home-primary{display:flex;gap:26px;margin-left:auto;font-size:14px}.home-primary a{padding:14px 0;white-space:nowrap}.home-primary a:hover,.home-menu a:hover{color:var(--gold-bright);text-decoration:underline;text-underline-offset:5px}
.home-book{padding:10px 16px;border-radius:8px;background:var(--gold-bright);color:var(--primary-deep);font-size:14px;font-weight:800;white-space:nowrap}
.home-menu{display:none}.home-menu summary{cursor:pointer;list-style:none;padding:10px 12px;border:1px solid var(--rule);border-radius:8px;color:var(--gold-bright);font-size:14px}.home-menu summary::-webkit-details-marker{display:none}.home-menu summary::after{content:' +';font-size:16px}.home-menu[open] summary::after{content:' −'}
#home-menu-panel{position:absolute;right:16px;left:16px;top:100%;max-height:calc(100dvh - 150px);overflow:auto;overscroll-behavior:contain;background:#24163b;border:1px solid var(--rule);border-radius:0 0 14px 14px;padding:18px;box-shadow:0 20px 30px #0005}
#home-menu-panel nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}#home-menu-panel a{display:block;padding:10px 8px;min-height:44px;font-size:14px}#home-menu-panel p{color:var(--gold);font-size:12px;padding:14px 8px 6px;border-top:1px solid var(--rule);margin-top:10px}.home-secondary{margin-top:12px;border-top:1px solid var(--rule);padding-top:10px}
.home-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:60px;align-items:center;padding-top:76px;padding-bottom:76px}.home-eyebrow{font-size:12px;letter-spacing:.12em;color:var(--gold-bright);margin-bottom:20px}.home-hero h1{font-family:'Nanum Myeongjo',serif;font-size:clamp(30px,3.6vw,48px);line-height:1.5;color:#f4e9d9;font-weight:800;letter-spacing:-.04em}.home-hero-desc{margin:24px 0;color:#e4d8c8;font-size:16px;line-height:1.9}.home-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.home-hero-actions a{min-height:48px;padding:12px 22px;text-align:center;font-size:15px}.home-hero-note{font-size:12px;color:#c7bba9;margin-top:16px}.home-visit-card{padding:28px;background:#1c1030b8;border:1px solid #c9a87460;border-radius:16px}.home-visit-card .home-eyebrow{margin-bottom:14px}.home-visit-card h2{font-family:'Nanum Myeongjo',serif;font-size:22px;color:var(--gold-bright);font-weight:700;line-height:1.6;margin-bottom:18px}.home-visit-card p{font-size:14px}.home-visit-card a{display:inline-block;color:var(--gold-bright);text-decoration:underline;text-underline-offset:5px;margin-top:16px}.home-visit-card .home-small{font-size:12px;line-height:1.8;color:#c7bba9;margin-top:20px}
.home-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-topic-grid .topic-card{display:flex;flex-direction:column;min-height:220px;background:linear-gradient(135deg,#3b2960,#2c1b48);border-radius:16px}.home-topic-grid .topic-card span{margin-top:auto}.home-topic-grid .topic-card:hover{border-color:var(--gold)}.home-next-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px;padding-top:24px;border-top:1px solid var(--rule)}.home-next-paths .topic-card{background:#241639}.home-next-paths h3{font-size:16px}
.home-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin-bottom:48px}.home-journey li{padding:24px;border:1px solid var(--rule);border-radius:14px;background:#241639}.home-journey span{color:var(--gold);font-family:'Nanum Myeongjo',serif;font-size:26px}.home-journey h3{font-weight:800;margin:12px 0;color:var(--gold-bright)}.home-journey p{font-size:14px;line-height:1.9}
.home-credentials{margin-top:32px;max-width:880px}.home-credentials>details{border:1px solid var(--rule);border-radius:12px}.home-credentials summary{cursor:pointer;padding:20px;color:var(--gold-bright);font-weight:700}.home-original-intro>div{padding:24px!important}.home-original-intro .trust-band{display:flex;flex-wrap:wrap}.home-original-intro h3{font-size:24px}.home-original-intro .award-badge{padding:16px}.reveal{opacity:1!important;transform:none!important}
.khs-modal{overscroll-behavior:contain}.khs-modal-close{width:44px;height:44px}.khs-modal-body{padding-bottom:calc(26px + env(safe-area-inset-bottom))}
@media(max-width:1023px){.home-primary{display:none}.home-menu{display:block}.home-book{margin-left:auto}.home-hero-layout{gap:32px;grid-template-columns:minmax(0,1fr) 260px}.home-brand{font-size:16px}}
@media(max-width:767px){:root{--home-header-height:68px}.home-header-inner{min-height:68px;gap:10px;padding-left:16px;padding-right:16px}.home-brand{font-size:14px;gap:6px}.home-brand img{width:30px;height:30px}.home-book{padding:9px 11px;font-size:12px}.home-menu summary{padding:8px 10px;font-size:12px}.home-container{padding-left:20px;padding-right:20px}.home-hero-layout{grid-template-columns:1fr;gap:28px;padding-top:40px;padding-bottom:36px}.home-hero h1{font-size:32px}.home-hero-desc{font-size:14px;margin:18px 0 22px}.home-desktop-break{display:none}.home-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home-hero-actions a{padding:12px 8px;font-size:13px}.home-eyebrow{font-size:11px;margin-bottom:16px}.home-visit-card{padding:20px}.home-visit-card h2{font-family:inherit;font-size:17px;line-height:1.6;margin-bottom:8px}.home-visit-card h2 br{display:none}.home-visit-card .home-eyebrow{margin-bottom:8px}.home-visit-card .home-small{margin-top:12px}.home-visit-card a{margin-top:8px}.home-topic-grid{grid-template-columns:1fr;gap:12px}.home-topic-grid .topic-card{min-height:0;padding:22px}.home-next-paths{grid-template-columns:1fr;gap:12px}.home-next-paths .topic-card{padding:20px}.home-journey{grid-template-columns:1fr;gap:12px}.home-journey li{padding:20px}.home-journey span{float:left;margin-right:18px}.home-journey h3{margin-top:3px}.home-journey p{clear:both}.sticky-cta{padding-bottom:env(safe-area-inset-bottom);z-index:90;background:var(--primary-deep)}.sticky-cta a{min-height:54px;display:flex;align-items:center;justify-content:center}body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}}
@media(min-width:768px) and (max-width:1023px){.home-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:350px){.home-brand span{max-width:87px;white-space:normal;line-height:1.35}.home-header-inner{gap:8px}.home-hero h1{font-size:28px}.home-hero-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.khsu-lift:hover{transform:none}}

/* Core new layouts remain usable if the existing Tailwind CDN is unavailable. */
body{margin:0}.home-header *, .home-hero *, .home-topic-grid *, .home-next-paths *, .home-journey *{box-sizing:border-box}
#topics{padding:64px 0}#topics>div{max-width:1040px;margin:auto;padding:0 20px}#topics .section-title{margin-bottom:32px}#topics>div>p{text-align:center;margin-bottom:24px}
.home-topic-grid .topic-card,.home-next-paths .topic-card{padding:24px;text-decoration:none}.home-topic-grid h3,.home-next-paths h3{font-size:18px;font-weight:800;color:var(--gold-bright);margin:0 0 12px}.home-topic-grid p,.home-next-paths p{font-size:14px;line-height:1.85;margin:0 0 16px}.home-topic-grid span,.home-next-paths span{font-size:14px;color:var(--gold-bright)}
.home-footer-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 20px;padding-bottom:24px}.home-footer-nav a{padding:10px 0}
body img{max-width:100%}.overflow-x-auto{overflow-x:auto}

/* Keep mobile header controls comfortably tappable. */
.home-brand,.home-book,.home-menu summary{min-width:44px;min-height:44px}
.home-book,.home-menu summary{display:flex;align-items:center;justify-content:center}


/* Captions overlay photos; let a tap reach the existing image handler. */
.gallery-tile .caption{pointer-events:none}


/* 히어로 — 현수막 v1(오로지, 한약 한길) 2026-10-08 */
.hero-oro .oro-frame{position:relative;margin:48px 0;padding:64px 48px;border:1px solid #c9a87459}.hero-oro .oro-frame::after{content:"";position:absolute;inset:10px;border:1px solid #c9a87433;pointer-events:none}
.hero-oro .oro-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}
.hero-oro .oro-brand{font-size:15px;font-weight:700;letter-spacing:.45em;padding-left:.45em;color:var(--gold)}
.hero-oro h1.oro-title{font-family:'Nanum Myeongjo',serif;font-weight:800;font-size:clamp(52px,8.4vw,112px);line-height:1.12;letter-spacing:-.02em;margin:4px 0;background:linear-gradient(180deg,#f0e2cb 0%,#e0c39a 45%,#c9a874 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 4px 14px rgba(0,0,0,.35))}
.hero-oro h1.oro-title span{display:block}
.hero-oro .oro-l2{font-size:clamp(18px,2.2vw,26px);font-weight:500;letter-spacing:.03em;color:#f0e2cb}.hero-oro .oro-l2 b{color:#e0c39a;font-weight:800}
.hero-oro .oro-rule{display:flex;align-items:center;gap:14px;width:min(100%,640px)}.hero-oro .oro-rule i{flex:1;height:1px;background:linear-gradient(90deg,#c9a87400,#c9a874)}.hero-oro .oro-rule i:last-child{background:linear-gradient(270deg,#c9a87400,#c9a874)}.hero-oro .oro-rule b{width:8px;height:8px;transform:rotate(45deg);background:#c9a874}
.hero-oro .oro-l3{font-family:'Nanum Myeongjo',serif;font-weight:800;font-size:clamp(24px,3.2vw,38px);color:#e0c39a;line-height:1.4}
.hero-oro .oro-l4{font-family:'Nanum Myeongjo',serif;font-weight:700;font-size:clamp(17px,2.2vw,26px);color:#f0e2cb;line-height:1.5}
.hero-oro .oro-actions{justify-content:center;margin-top:6px}
.hero-oro .oro-loc{font-size:14px;color:#e4d8c8;line-height:1.8}.hero-oro .oro-loc a{color:var(--gold-bright);text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.hero-oro .oro-res{font-size:12px;letter-spacing:.06em;color:#c7bba9}
@media(max-width:767px){.hero-oro .oro-frame{margin:28px 0;padding:40px 18px}.hero-oro .oro-inner{gap:16px}.hero-oro .oro-brand{font-size:12px;letter-spacing:.3em;padding-left:.3em}.hero-oro h1.oro-title{font-size:clamp(46px,15vw,64px)}.hero-oro .oro-actions{width:100%;grid-template-columns:1fr}.hero-oro .oro-loc{font-size:13px}}
@media(max-width:350px){.hero-oro .oro-frame{padding:32px 12px}.hero-oro .oro-l3{font-size:21px}.hero-oro .oro-l4{font-size:15px}}
.home-hero.hero-oro{background-image:radial-gradient(1100px 760px at 50% 26%,#3b2960f2 0%,#2a1947f5 55%,#1c1030fa 100%),url('clinic-hero.jpg')}
.hero-oro .oro-l2 span,.hero-oro .oro-loc span{white-space:nowrap;display:inline-block}
/* Safari: background-clip:text 와 filter 를 한 요소에 같이 두면 글자가 사라진다 → 그라데이션은 span, 그림자는 h1 */
.hero-oro h1.oro-title{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#e0c39a}
.hero-oro h1.oro-title span{background:linear-gradient(180deg,#f0e2cb 0%,#e0c39a 45%,#c9a874 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}

/* Hero awards: original photographs, with the central message kept clear. */
.hero-oro .oro-awards{position:absolute;inset:58px 32px auto;display:flex;justify-content:space-between;pointer-events:none;z-index:2}
.hero-oro .oro-award{margin:0;width:180px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;pointer-events:auto}
.hero-oro .oro-award figcaption{color:#e0c39a;line-height:1.5}
.hero-oro .oro-award figcaption span{display:block;font-size:16px;font-weight:600;letter-spacing:.08em}
.hero-oro .oro-award figcaption strong{display:block;font-family:'Nanum Myeongjo',serif;font-size:27px;font-weight:800;letter-spacing:.06em}
.hero-oro .oro-award-photo{display:block;position:relative;overflow:hidden;border:1px solid #c9a87499;box-shadow:0 8px 24px #0005;border-radius:3px}
.hero-oro .oro-minister-photo{width:110px;aspect-ratio:495/682}
.hero-oro .oro-minister-photo img{position:absolute;width:200%;max-width:none;height:auto;left:-50%;top:-100.3%}
.hero-oro .oro-governor-photo{width:180px;margin-top:24px}
.hero-oro .oro-governor-photo img{display:block;width:100%;height:auto}
@media(max-width:1000px){
 .hero-oro .oro-awards{position:relative;inset:auto;margin:0 auto 32px;max-width:440px;gap:24px;align-items:flex-start}
 .hero-oro .oro-award{width:calc(50% - 12px);gap:12px}
 .hero-oro .oro-award figcaption span{font-size:14px}
 .hero-oro .oro-award figcaption strong{font-size:23px}
 .hero-oro .oro-minister-photo{width:80px}
 .hero-oro .oro-governor-photo{width:100%;max-width:160px;margin-top:10px}
}
@media(max-width:380px){.hero-oro .oro-awards{gap:12px}.hero-oro .oro-award{width:calc(50% - 6px)}.hero-oro .oro-award figcaption span{font-size:12px}.hero-oro .oro-award figcaption strong{font-size:21px}}
