/* Homepage rhythm and readable, touch-friendly layouts start with small screens. */
body.home-refined{--home-muted:#53666b}
body.home-refined main .home-shell{width:calc(100% - 40px);max-width:1120px}
body.home-refined main .home-section{padding-block:56px}
body.home-refined main h2{font-size:clamp(26px,5vw,36px);line-height:1.4;letter-spacing:-.035em;word-break:keep-all}
body.home-refined main p{word-break:keep-all;overflow-wrap:break-word}
body.home-refined main .home-text-link{display:inline-flex;align-items:center;gap:16px;min-height:44px;font-size:16px;line-height:1.5;text-align:left}
body.home-refined main .home-button{min-height:48px;font-size:15px}
body.home-refined main .home-note,body.home-refined main .home-case-note{font-size:13px;line-height:1.75}
body.home-refined main .home-section-heading{margin-bottom:28px}
body.home-refined main .home-section-heading>p:last-child{font-size:16px;line-height:1.8}
body.home-refined main .home-tiers article{padding:24px 0}
body.home-refined main .home-tiers article:first-child{padding-top:0}
body.home-refined main .home-tiers article>p,body.home-refined main .home-tier-benefits{font-size:16px;line-height:1.8}
body.home-refined main .home-training-visual{margin:0}
body.home-refined main .home-training-visual figcaption{font-size:13px;line-height:1.6}
body.home-refined main .home-story-controls[hidden]{display:none!important}
body.home-refined main .home-story-controls{justify-content:flex-end;margin-bottom:20px}
body.home-refined main .home-stories.home-stories-carousel{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:100%;gap:24px;min-height:0;padding-bottom:12px;align-items:start}
body.home-refined main .home-stories-carousel>.home-case{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;max-width:none;margin:0}
body.home-refined main .home-case-photo{aspect-ratio:4/3;border-radius:6px;background:#fffdf8}
body.home-refined main .home-case-copy{padding:24px 0 0;min-width:0}
body.home-refined main .home-case h3{font-size:24px;line-height:1.5;word-break:keep-all;margin-bottom:16px}
body.home-refined main .home-case-summary{font-size:16px;line-height:1.85;-webkit-line-clamp:4;margin-bottom:16px}
body.home-refined main .home-case-tag{font-size:13px;line-height:1.6}
body.home-refined main .home-case-note{margin-top:20px}
body.home-refined #story .brand-overview{display:grid;gap:28px}
body.home-refined #story .brand-intro{margin:0}
body.home-refined #story #home-story-title{white-space:normal;font-size:clamp(26px,5vw,36px);margin-bottom:20px}
body.home-refined #story .brand-intro>p{font-size:18px;line-height:1.8}
body.home-refined #story .brand-intro>.home-eyebrow{font-size:11px}
body.home-refined #story .brand-intro>.brand-description{font-size:16px;line-height:1.85;color:var(--home-muted);max-width:460px;margin:16px 0}
body.home-refined #story .brand-metrics{width:100%;max-width:none;margin:0;gap:16px;align-self:center}
body.home-refined #story .brand-metrics>.home-origin{padding:24px 4px;gap:12px}
body.home-refined #story .home-origin strong{font-size:clamp(36px,10vw,58px)}
body.home-refined #story .home-origin .metric-unit{display:inline;font-size:18px;margin-left:4px}
body.home-refined #story .brand-metrics>.home-origin>span{font-size:14px}
body.home-refined #story .brand-join{margin-top:36px;padding:32px 24px;text-align:left;border-radius:6px}
body.home-refined #story .brand-join h3{font-size:26px;line-height:1.5}
body.home-refined #story .brand-join p{font-size:16px;line-height:1.75}
body.home-refined #story .brand-join .home-button{width:100%;justify-content:center;margin-top:24px}
body.home-refined .site-business-footer.site-business-footer{padding:32px 20px}
body.home-refined .site-business-footer.site-business-footer p,body.home-refined .site-business-footer.site-business-footer a{font-size:14px;line-height:1.75}
body.home-refined .site-business-footer.site-business-footer .site-business-footer-inner{gap:20px}
body.home-refined .site-business-footer.site-business-footer .site-business-footer-links{gap:4px 16px}
body.home-refined .site-business-footer.site-business-footer .site-business-footer-links>a{min-height:44px;display:flex;align-items:center;justify-self:start;text-align:left}
@media(min-width:741px){
 body.home-refined main .home-shell{width:calc(100% - 80px)}
 body.home-refined main .home-section{padding-block:80px}
 body.home-refined main .home-tiers article{padding:8px 28px}
 body.home-refined main .home-tiers article:first-child{padding-left:0}
 body.home-refined main .home-tiers article:last-child{padding-right:0}
 body.home-refined main .home-stories-carousel>.home-case{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:center}
 body.home-refined main .home-case-copy{padding:0}
 body.home-refined main .home-stories-carousel>.home-case-no-photo{grid-template-columns:1fr}
 body.home-refined #story .brand-overview{grid-template-columns:1.1fr 1fr;gap:56px}
 body.home-refined #story .brand-join{display:grid;grid-template-columns:1fr auto;gap:8px 40px;align-items:center;padding:36px 40px;margin-top:48px}
 body.home-refined #story .brand-join h3{grid-column:1;margin:0}
 body.home-refined #story .brand-join p{grid-column:1;margin:0}
 body.home-refined #story .brand-join .home-button{grid-column:2;grid-row:1/3;margin:0;width:auto}
 body.home-refined .site-business-footer.site-business-footer{padding:40px}
 body.home-refined .site-business-footer.site-business-footer .site-business-footer-inner{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);column-gap:48px}
 body.home-refined .site-business-footer.site-business-footer .site-business-footer-links{grid-column:2;grid-row:1/3}
}
@media(prefers-reduced-motion:reduce){body.home-refined .home-stories-carousel{scroll-behavior:auto}}

/* Section navigation stays beneath the measured shared header. */
.home-section-nav{position:sticky;top:var(--home-header,88px);z-index:39;background:#fffdf8f5;border-bottom:1px solid var(--home-line);backdrop-filter:blur(12px)}
.home-section-nav-inner{display:flex;gap:4px;max-width:1120px;margin:auto;padding:4px 20px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.home-section-nav a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:8px 12px;color:var(--petrol);font-size:14px;font-weight:500;white-space:nowrap;border-radius:4px;border-bottom:2px solid transparent}
.home-section-nav a[aria-current="location"]{background:transparent;color:#94703b;border-bottom-color:#c8ab78}
.home-section-nav a:focus-visible{outline:2px solid var(--petrol);outline-offset:-2px}
html:has(body.home-refined){scroll-padding-top:calc(var(--home-header,88px) + var(--home-subnav,53px) + 16px)}
body.home-refined main section[id]{scroll-margin-top:0}
body.home-refined main .metric-unit{font-size:.35em;letter-spacing:0;margin-left:4px}
@media(min-width:741px){.home-section-nav-inner{justify-content:center;gap:16px}.home-section-nav a{font-size:15px}}
@media(max-width:380px){body.home-refined main .home-shell{width:calc(100% - 32px)}.home-section-nav-inner{padding-inline:16px}}


/* Fit all five Korean section links within a mobile viewport. */
@media(max-width:740px){
 html[lang="ko"] .home-section-nav-inner{box-sizing:border-box;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;width:100%;padding:4px 8px;overflow-x:hidden}
 html[lang="ko"] .home-section-nav a{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px 1px;font-size:clamp(11px,3.05vw,13px);line-height:1.4;letter-spacing:-.025em;text-align:center}
}

/* Match the shared page submenu height: 52px desktop, 48px mobile. */
.home-section-nav-inner{box-sizing:border-box;min-height:52px;align-items:center;padding-block:0}
.home-section-nav a{box-sizing:border-box;height:48px;min-height:48px}
@media(max-width:740px){
 .home-section-nav-inner,html[lang="ko"] .home-section-nav-inner{min-height:48px;padding-block:0}
 .home-section-nav a,html[lang="ko"] .home-section-nav a{height:48px;min-height:48px}
}

/* Plain section links match the shared submenu, without button boxes. */
.home-section-nav a{border-radius:0;background:transparent;box-shadow:none}
.home-section-nav a:active{background:transparent;box-shadow:none}
/* Keep primary navigation in document flow; only the compact section bar sticks. */
body.home-refined>.header.site-header{position:relative;top:auto;bottom:auto;inset-inline:auto;min-height:80px;padding-block:10px}
body.home-refined>.home-section-nav{top:0;background:#fffdf8;backdrop-filter:none}
html:has(body.home-refined){scroll-padding-top:calc(var(--home-subnav,53px) + 20px)}
body.home-refined>.home-skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden;white-space:nowrap}
body.home-refined main .home-hero-grid{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:36px}
body.home-refined main .home-hero-copy,
body.home-refined main .home-hero-copy :is(.home-eyebrow,.home-kicker,#home-title,.home-lead,.home-note){text-align:left}
body.home-refined main .home-hero .home-actions{justify-content:flex-start}
body.home-refined main .home-hero .home-eyebrow{margin-bottom:16px;font-size:11px;letter-spacing:.12em}
body.home-refined main .home-hero h1{font-size:clamp(29px,7.8vw,40px);line-height:1.35;margin-bottom:20px}
body.home-refined main .home-hero .home-lead{font-size:16px;line-height:1.8;margin-bottom:24px}
body.home-refined main .home-hero-visual{width:100%;max-width:none;justify-self:stretch;margin:0}
body.home-refined main .home-hero-visual img{width:100%;height:auto!important;aspect-ratio:3/2!important;object-fit:cover!important;border-radius:4px}
body.home-refined main .home-hero-visual:after{display:none}
body.home-refined main .home-product-grid{align-items:center;gap:32px}
body.home-refined main .home-product-grid>div{padding-top:0}
body.home-refined main .home-features .home-volume-copy{white-space:normal;font-size:16px}
body.home-refined main #home-education-title{white-space:normal}
body.home-refined main .home-training-visual{width:100%}
body.home-refined main .home-hero .home-actions{display:flex;flex-wrap:wrap;gap:12px}
body.home-refined main .home-hero .home-button{flex:1 1 140px;padding-inline:12px;gap:12px}
@media(min-width:741px){
 body.home-refined main .home-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;padding-block:56px;align-items:center}
 body.home-refined main .home-hero h1{font-size:clamp(32px,3vw,46px);letter-spacing:-.04em}
 body.home-refined main .home-hero .home-lead{font-size:17px}
 body.home-refined main .home-hero .home-button{flex:0 1 auto;padding-inline:18px}
 body.home-refined main .home-product-grid{grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:64px}
 body.home-refined main .home-volume-art,body.home-refined main .home-volume-comparison figcaption{max-width:440px}
 body.home-refined main .home-hero .home-kicker{margin-bottom:16px}
}
@media(min-width:1281px){
 html[lang="ko"] body.home-refined>.header.site-header{padding-inline:32px;gap:20px}
 html[lang="ko"] body.home-refined>.header.site-header .nav>a{height:auto;min-height:44px;padding:10px 8px!important}
}
@media(max-width:740px){body.home-refined main .home-hero .home-note{margin-top:16px;font-size:12px}}

/* Let the comparison image and product copy fill the available section. */
body.home-refined main #product.home-section{padding-block:40px}
body.home-refined main #product>.home-shell>.home-eyebrow{margin-bottom:20px}
body.home-refined main #product .home-product-grid{gap:28px}
body.home-refined main #product .home-product-visual{width:100%;order:0}
body.home-refined main #product :is(.home-volume-art,.home-volume-comparison img,.home-volume-comparison figcaption){width:100%;max-width:none}
body.home-refined main #product #home-product-title{white-space:normal;font-size:30px;line-height:1.35;margin-bottom:24px}
body.home-refined main #product .home-features{gap:20px;margin:0 0 20px}
body.home-refined main #product .home-features dt{font-size:20px;line-height:1.5}
body.home-refined main #product .home-features dd{font-size:17px;line-height:1.75;white-space:normal}
body.home-refined main #product .home-volume-comparison figcaption{font-size:13px;line-height:1.6;margin-top:12px}
body.home-refined main #product .home-text-link{font-size:17px}
@media(min-width:741px){
 body.home-refined main #product.home-section{padding-block:48px}
 body.home-refined main #product>.home-shell{width:calc(100% - 64px);max-width:1200px}
 body.home-refined main #product .home-product-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center}
 body.home-refined main #product #home-product-title{font-size:clamp(34px,3.1vw,44px);margin-bottom:28px}
 body.home-refined main #product .home-features{gap:24px;margin-bottom:24px}
 body.home-refined main #product .home-features dt{font-size:23px}
 body.home-refined main #product .home-features dd{font-size:19px}
 body.home-refined main #product .home-text-link{font-size:18px}
 body.home-refined main #product .home-volume-comparison figcaption{font-size:14px}
}
@media(min-width:1440px){body.home-refined main #product .home-product-grid{gap:56px}}
