/* Phone reading layout, including short touch-screen landscape viewports.
   Shared after header-features.css so direct loads and route swaps agree. */
@media(max-width:650px),(max-width:1000px) and (max-height:500px) and (pointer:coarse){
 :root{--site-nav-top:calc(10px + env(safe-area-inset-top,0px));--site-anchor-gap:96px;--phone-gutter:max(18px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))}
 html{-webkit-text-size-adjust:100%}
 body,body.page-inner{padding-bottom:0;font-family:system-ui,-apple-system,"Segoe UI","Malgun Gothic",sans-serif}
 body.page-home .desktop-dock,body.page-inner .desktop-dock{top:var(--site-nav-top);bottom:auto;width:min(420px,calc(100% - 24px));height:62px}
 body .desktop-dock .dock-selection{top:6px;height:48px}
 body .desktop-dock .dock-links{padding:6px}
 body .desktop-dock .dock-links a{flex-direction:column;gap:3px;font-size:11px;min-width:0;min-height:44px;line-height:1.2}
 body .desktop-dock .dock-links a svg{width:20px;height:20px}
 body.page-home .desktop-dock.is-compact,body.page-inner .desktop-dock.is-compact{height:58px}
 body .desktop-dock.is-compact .dock-selection{height:44px}
 body .desktop-dock.is-compact .dock-links a{flex-direction:row;gap:4px;font-size:10px}
 body .desktop-dock.is-compact .dock-links a svg{width:16px;height:16px}
 .header-preview,.page-about .about-header nav,.region-header>nav[aria-label="주 메뉴"]{display:none}
 .site-tools{top:calc(84px + env(safe-area-inset-top,0px));right:var(--phone-gutter);font-size:11px}
 .site-colors-toggle{min-height:44px;padding:8px 13px}
 .site-colors-panel{max-height:calc(100dvh - 148px);overflow:auto;overscroll-behavior:contain}
 .site-back-top{width:44px;height:44px;right:var(--phone-gutter);bottom:calc(18px + env(safe-area-inset-bottom,0px))}
 body .page-loading{top:calc(76px + env(safe-area-inset-top,0px));bottom:auto;font-size:10px;pointer-events:none}
 .page-platform>.region-header,.page-about>.about-header,.page-catalog>.catalog-header{position:absolute;top:calc(98px + env(safe-area-inset-top,0px));padding:0 112px 0 var(--phone-gutter);right:0;left:0;width:auto}
 .page-about .about-header>p,.page-catalog .catalog-header>p{display:none}
 body.page-inner:not(.page-platform):not(.page-about):not(.page-catalog)>.region-header{padding:calc(98px + env(safe-area-inset-top,0px)) var(--phone-gutter) 20px}
 body.page-inner:not(.page-platform):not(.page-about):not(.page-catalog)>.region-header>a{display:inline-block;min-height:32px;padding-right:100px}
 .page-item nav[aria-label="현재 위치"]{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
 .page-item main{width:auto;max-width:none;padding:0 var(--phone-gutter)}
 .page-item .region-content{font-size:14px;line-height:1.85}
 .page-item h1,.page-platform h1{overflow-wrap:anywhere}
 .page-item .item-product{padding:18px;border-radius:14px}
 .page-item .item-product>img{height:clamp(190px,32svh,260px)}
 .page-item dl{grid-template-columns:minmax(76px,29%) minmax(0,1fr)}
 .page-item dd,.page-item dt{min-width:0;font-size:13px;overflow-wrap:anywhere}
 .page-item .item-sections{gap:8px 20px;margin:24px 0;padding-bottom:8px}
 .page-item .item-sections a{box-sizing:border-box;min-height:44px;padding:10px 0}
 .page-item .item-sources a{overflow-wrap:anywhere}
 .page-item .region-footer{padding:20px var(--phone-gutter) calc(30px + env(safe-area-inset-bottom,0px))}

 .page-home .home-stage{display:flex;flex-direction:column;gap:0;height:auto;min-height:0;padding:calc(136px + env(safe-area-inset-top,0px)) var(--phone-gutter) 18px}
 .page-home .home-intro{display:contents}
 .home-eyebrow{order:1;font-size:9px;margin:0 0 10px}
 .page-home #page-title{order:2;font-size:clamp(52px,16vw,70px);margin:0 0 14px}
 .page-home .home-exhibit{order:5;align-self:stretch;height:clamp(160px,24svh,230px);min-height:0;margin:16px 0 24px}
 .page-home .concept-device{width:auto;height:100%;max-width:72%;filter:drop-shadow(8px 12px 10px #111a3129)}
 .page-home .concept-device svg{height:100%;width:auto;max-width:100%}
 .page-home .exhibit-band{left:calc(-1 * var(--phone-gutter));right:calc(-1 * var(--phone-gutter));top:40%;height:30%}
 .exhibit-index{font-size:8px}.exhibit-side{display:none}.exhibit-caption{font-size:8px;bottom:-8px}.exhibit-caption span{font-size:9px}
 .home-intro h2{order:3;font-size:24px;margin:0 0 10px}
 .home-description{order:4;font-size:13px;line-height:1.8;margin:0}
 .home-enter{order:6;align-self:flex-start;min-height:48px;padding:8px 0}
 .page-home .home-footer,.page-about .about-footer,.page-catalog .catalog-footer{position:static;display:block;margin:0;padding:0 var(--phone-gutter) calc(28px + env(safe-area-inset-bottom,0px));font-size:11px;line-height:1.8}
 .home-footer nav{margin-top:14px;gap:24px}.home-footer a{display:inline-flex;align-items:center;min-height:44px}.home-footer p:last-child{display:none}
 .page-about .about-stage,.page-catalog .catalog-stage{display:block;min-height:0;height:auto;padding:calc(154px + env(safe-area-inset-top,0px)) var(--phone-gutter) 32px}
 .page-about .about-intro{margin-bottom:32px}
 .page-about #page-title{font-size:clamp(58px,17vw,78px);margin-bottom:22px}
 .about-intro h2{font-size:28px}.about-eyebrow{margin-bottom:18px}.about-note{font-size:13px}
 .about-writing p{font-size:15px;line-height:1.95;word-break:normal;overflow-wrap:anywhere}.about-writing .about-lead{font-size:21px}.wide-break{display:none}
 .about-enter{min-height:48px}.about-footer p+p,.catalog-footer p+p{margin-top:8px}
 .page-catalog #page-title{font-size:clamp(32px,8.8vw,38px)}
 .catalog-description{font-size:14px;line-height:1.8}.catalog-platforms{grid-template-columns:1fr;gap:14px}
 .platform-card{display:grid;grid-template-columns:minmax(0,1fr) 80px;grid-template-rows:auto 1fr;gap:8px 12px;min-height:136px;padding:16px 18px}.platform-card-top{grid-column:1/-1}.platform-card-bottom{grid-column:1;grid-row:2;align-self:center}.platform-art{grid-column:2;grid-row:2;padding:0}.platform-art svg{width:80px;height:68px}.platform-card-bottom p{font-size:13px}.catalog-note{font-size:12px;line-height:1.9;margin-top:20px}
 .page-platform main{margin:0;width:100%;padding:calc(186px + env(safe-area-inset-top,0px)) var(--phone-gutter) 36px;min-height:100svh}
 .page-platform nav[aria-label="현재 위치"]{font-size:12px;line-height:1.8}
 .page-platform li{line-height:1.8;overflow-wrap:anywhere}

 .page-platform.page-showcase>.region-header{position:relative;top:0;padding:calc(98px + env(safe-area-inset-top,0px)) 112px 18px var(--phone-gutter);gap:8px;flex-wrap:wrap;align-items:flex-start}
 .page-showcase nav[aria-label="현재 위치"]{border:0;padding:0;white-space:normal;font-size:11px}
 .page-showcase:before{position:absolute;background:linear-gradient(160deg,#f5f4f0 15%,#e2e9f3 100%)}
 .page-platform.page-showcase main{min-height:0;padding:12px var(--phone-gutter) 32px}
 .page-showcase .showcase-categories{position:static;display:flex;gap:8px;margin:0 0 14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b7c5dc transparent}
 .showcase-categories button{justify-content:center;flex:1 0 78px;min-height:46px;font-size:12px;padding:10px 4px;gap:5px;scroll-snap-align:start;white-space:nowrap}
 .showcase-categories button span{font-size:10px}
 .showcase-controls{position:static;width:100%;display:grid;grid-template-columns:44px 1fr 44px;gap:12px;margin:0 0 12px}
 .showcase-controls button,.showcase-controls button[data-showcase-step="1"]{position:static;width:44px;height:44px;font-size:22px;background:none}
 .showcase-controls progress,.showcase-count-category{display:none}
 .showcase-slide,.showcase-slide.is-wide{display:flex;flex-direction:column;align-items:stretch;min-height:0}
 .showcase-stage{touch-action:pan-y pinch-zoom}
 .showcase-copy{display:contents}
 .showcase .showcase-eyebrow{order:0;margin:0 0 10px;font-size:10px}
 .showcase-copy h2,.showcase-slide.is-wide .showcase-copy h2{order:1;font-size:clamp(32px,9.5vw,48px);line-height:1.15;margin:0 0 12px;max-width:100%;overflow-wrap:anywhere}
 .showcase-copy h2 span{display:inline}.showcase-copy h2 span:before{content:" "}
 .page-showcase .showcase-copy .showcase-tagline{order:2;font-size:16px;line-height:1.6;color:#344359;margin:0 0 12px;max-width:none}
 body.page-platform.page-showcase .showcase-product,body.page-platform.page-showcase .showcase-product.is-wide-product{order:3;grid-area:auto;width:100%;height:clamp(170px,26svh,250px);min-height:0;justify-content:center;margin:0 0 42px}
 .page-showcase .showcase-product img,.page-showcase .showcase-product.is-concept img{height:100%;width:auto;max-width:100%;max-height:100%;object-fit:contain}
 .page-showcase .showcase-product.is-wide-product img{width:100%;height:100%;max-height:100%;max-width:100%}
 .showcase-product figcaption,.showcase-product.is-wide-product figcaption{left:0;bottom:-34px;transform:none;width:100%;max-width:100%;text-align:center;font-size:11px;line-height:1.5;color:#526177}
 .showcase-model-note{display:none}
 .showcase-ghost,.showcase-slide.is-wide .showcase-ghost{top:130px;right:0;width:100%;font-size:clamp(44px,14vw,70px);color:#38578c08}
 .showcase-specs,.showcase-slide.is-wide .showcase-specs{order:4;position:static;grid-area:auto;width:100%;align-self:stretch;grid-template-columns:1fr 1fr;margin:0 0 14px;padding-top:0;gap:10px}
 .page-showcase .showcase-specs div,.page-showcase .showcase-specs div+div{padding:10px 12px;gap:5px}
 .page-showcase .showcase-specs dd,.page-showcase .showcase-slide.is-wide .showcase-specs dd{font-size:16px;overflow-wrap:anywhere}
 .page-showcase .showcase-specs dt{font-size:13px}
 .showcase .showcase-eyebrow{font-size:11px;color:#596b81}
 .page-item .item-brief{padding:18px;margin:24px 0}
 .page-item main>.region-hero{margin:12px 0 22px;padding:10px 0}
 .page-item main>.region-content{margin:0}
 .page-item .region-content>p:first-child{font-size:12px;margin:0 0 16px}
 .page-item .item-product{margin:16px 0 24px;padding:16px}
 .page-item .item-product>img{height:clamp(170px,25svh,220px)}
 .page-item .item-brief>p{font-size:16px;line-height:1.7}
 .page-item .item-brief dl{grid-template-columns:1fr 1fr;gap:16px}
 .page-item .item-brief dt{font-size:13px}.page-item .item-brief dd{font-size:16px}
 .page-item .item-specs-disclosure{padding:0 12px}
 .page-item .item-specs-disclosure>summary{font-size:15px}
 .home-description,.catalog-description,.platform-card-bottom p,.about-writing p{color:#3f4d60}
 .catalog-description,.platform-card-bottom p{font-size:14px}
 .page-showcase.page-platform .region-content .showcase-detail{order:5;display:inline-flex;align-self:flex-start;min-height:48px;padding:12px 24px;font-size:13px}
 .page-platform.page-showcase .region-footer{display:none}
 .showcase-empty{min-height:45svh;padding:24px 0}.showcase-empty h2{font-size:38px}.showcase-empty h2 span{font-size:22px}
}
@media(max-width:1000px) and (max-height:500px) and (pointer:coarse){
 /* Landscape stays in reading mode instead of squeezing the desktop scene. */
 .page-home .home-exhibit{height:220px}
 .page-home .concept-device{width:200px}
 .page-home .home-stage,.page-about .about-stage,.page-catalog .catalog-stage,.page-platform main{max-width:760px;margin-left:auto;margin-right:auto}
 .page-showcase .showcase-categories button{flex-basis:100px}
}
