/* Reading-first typography for Korean, Japanese and English. */
html{font-size:16px}body{-webkit-text-size-adjust:100%}
html:lang(ko) body{font-family:'Noto Sans KR','Noto Sans JP',system-ui,sans-serif}
html:lang(ja) body{font-family:'Noto Sans JP','Noto Sans KR',system-ui,sans-serif}
html:lang(en) body{font-family:'DM Sans','Noto Sans JP',system-ui,sans-serif}
/* Shared editorial navigation and long-form text */
.nav nav a{font-size:14px;line-height:1.55}.guide-languages a{font-size:14px;min-height:40px;display:inline-flex;align-items:center}
.hero p,.simple p,.simple li,article p,article li{font-size:16px;line-height:1.95}
.layout aside a{font-size:14px;line-height:1.55}.callout p,.dictionary p,.grade-grid p,.language-notes p{font-size:15px;line-height:1.8}
.dictionary small,.dictionary span,.search-label,.grade-grid span{font-size:13px}.search-label{letter-spacing:.04em}
input{font-size:16px}.primary,.text-link,.back{font-size:15px}
/* Location cards and filters */
.places-hero .hero-content p,.places-intro p,.travel-notice p{font-size:16px;line-height:1.9}
.directory .filters button,.directory .theme-filters button{font-size:14px;min-height:44px;line-height:1.4}
.directory .theme-heading,.directory .count,.directory .place-search label{font-size:14px;line-height:1.6}
.directory .place-search input{font-size:16px}.directory .place h2 small,.directory .place-location{font-size:14px;line-height:1.6}
.directory .place-body h3{font-size:15px;line-height:1.55;margin-bottom:6px}
.directory .place-body p{font-size:16px;line-height:1.85}.directory .place-links a{font-size:14px;line-height:1.6;padding:4px 0}
.directory .place-body{gap:18px}.directory .faith-context,.directory .visit-plan{padding:16px}
/* Home, machine controls and the fortune result */
.top .toolbar button{font-size:13px;min-height:44px}.top .main-nav a{font-size:14px;line-height:1.45}
.welcome-copy>span{font-size:13px;line-height:1.5}.welcome-copy p,.home-places-head p,.journal-copy p,.ritual-copy p{font-size:16px;line-height:1.85}
.welcome-actions a,.home-places-head>a,.journal-copy a{font-size:14px;line-height:1.5}.home-place-cards span{font-size:14px;line-height:1.7}
.marquee #experienceName{font-size:13px;letter-spacing:.04em;line-height:1.5}.caption span:last-child{font-size:12px;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
.display-intro span,.display-intro span:last-child{font-size:13px;line-height:1.5}.ticket h2{font-size:14px;line-height:1.4;min-height:40px}.ticket small{font-size:10px;line-height:1.4;letter-spacing:.02em}
.steps{font-size:11px;line-height:1.5;gap:6px}.steps b{font-size:13px}.led{font-size:13px;line-height:1.4}.slot{font-size:14px;line-height:1.5}
.ritual-steps strong{font-size:15px;line-height:1.5}.ritual-steps span{font-size:14px;line-height:1.65}
.slip .fortune-intro,.slip .poem,.slip .reflection p{font-size:16px;line-height:1.85}.slip .detail{font-size:15px;line-height:1.8}.slip .detail strong{font-size:15px}.slip .detail strong small{font-size:12px;line-height:1.5}.slip .detail-note{font-size:14px;line-height:1.8}.slip #note{font-size:14px;line-height:1.8}
/* Footer links and explanatory text */
footer.site-footer .sf-description,footer.site-footer .sf-links a,footer.site-footer .sf-disclaimer{font-size:14px;line-height:1.75}
footer.site-footer .sf-group h2,footer.site-footer .sf-bottom,footer.site-footer .sf-languages a{font-size:13px}
@media(max-width:800px){
 .nav{height:auto;min-height:82px;gap:12px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
 .nav nav{flex-wrap:wrap;justify-content:flex-end;gap:6px 12px}.nav nav a{font-size:13px;line-height:1.5;padding:4px 0}
 .hero p,.simple p,.simple li,article p,article li{font-size:16px}.layout aside a{font-size:13px}
 .callout p,.dictionary p,.grade-grid p,.language-notes p{font-size:15px}
 .directory .place-body p{font-size:16px}.directory .place-body h3{font-size:15px}
 .top .main-nav a{font-size:13px}.top .toolbar button{font-size:13px}
 .slip .detail{grid-template-columns:88px minmax(0,1fr)}
}
@media(max-width:380px){.top .main-nav{gap:2px 5px}.top .main-nav a{padding:8px 6px;font-size:13px}.steps{font-size:10px}.steps b{font-size:12px}.display-intro{flex-wrap:wrap}.display-intro span:last-child{max-width:none}.slip .detail{grid-template-columns:80px minmax(0,1fr)}}
/* Keep Korean words intact where space allows; exceptionally long strings may wrap. */
html:lang(ko) .simple h1{font-size:clamp(30px,8vw,42px);line-height:1.35;word-break:keep-all;overflow-wrap:break-word}
html:lang(ko) .simple p,html:lang(ko) .simple li{word-break:keep-all;overflow-wrap:break-word}
