.mobile-menu-toggle,.studio-preview-jump{display:none}
.mobile-chapters{width:min(460px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;margin:0 0 0 auto;padding:24px;color:#214C43;background:#F5F1E6;border:0;border-left:2px solid #C6A35B;overflow:auto;overscroll-behavior:contain}
.mobile-chapters::backdrop{background:#0d2118b8}
.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #c6a35b66;padding-bottom:14px}
.mobile-menu-head strong{font:26px/1.4 var(--serif)}
.mobile-menu-close{width:48px;height:48px;font-size:30px}
.mobile-chapters nav{display:grid;margin:14px 0}
.mobile-chapters nav a{display:flex;gap:20px;align-items:center;min-height:68px;padding:7px 12px;border-bottom:1px solid #214c4320;font-size:19px}
.mobile-chapters nav a[aria-current="location"]{background:#214c4310;border-left:3px solid #b19351}
.mobile-chapters nav img{width:54px;height:54px;object-fit:contain}
.mobile-menu-account{min-height:48px;padding:8px 16px;border:1px solid #214c4370;font-size:16px}
@media(max-width:999px){
  .mobile-menu-toggle{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;border:1px solid currentColor;margin-left:10px;font-size:15px}
  .site-head .site-nav,.site-head .head-login{display:none}
  .site-head{padding-inline:16px;gap:0}
  .site-head .head-action{margin-left:auto;min-height:44px;font-size:14px;padding:8px 12px;letter-spacing:.02em}
}
@media(min-width:761px) and (max-width:999px){
  .studio-panel{height:450px}
}
@media(max-width:760px){
  html{scrollbar-gutter:auto}
  body{overflow-wrap:break-word}
  button,a,input,summary{-webkit-tap-highlight-color:transparent}
  input,select,textarea{font-size:16px!important}
  .brand{gap:9px}.brand-text{font-size:17px;letter-spacing:.08em}
  .brand-seal{width:29px;height:32px}
  .site-head .head-action{padding:8px 10px;font-size:13px}
  .head-action span{display:none}
  .chapter{padding-block:44px}
  .chapter-head{display:block}
  .chap-no{margin-bottom:14px;gap:14px;font-size:14px}
  .chap-icon{width:108px;height:108px}
  .chapter-head .brush{height:48px;margin:0 0 16px;max-width:100%}
  .chapter-head .brush--plate{height:58px}
  .chapter-head .lede{font-size:16px;line-height:1.85;margin:0}
  .hero{min-height:760px;min-height:max(760px,100svh);padding:104px 20px 190px}
  .hero-copy{margin-top:3vh}
  .hero-copy>.eyebrow{font-size:18px;line-height:1.8;letter-spacing:.05em;max-width:20em}
  .hero-copy h1 img{height:auto;max-height:120px;width:min(100%,420px);object-fit:contain;object-position:left}
  .hero-lede{font-size:16px;line-height:1.9}
  .hero-actions{gap:10px;flex-wrap:wrap}
  .hero-actions .btn{padding:12px 17px;min-height:48px;font-size:14px;letter-spacing:.04em}
  .hero-facts{gap:16px;bottom:30px;left:20px;right:20px}
  .hero-facts b{font-size:30px}.hero-facts span{font-size:13px;letter-spacing:.02em}
  .chapter::after{opacity:.20;pointer-events:none}
  .region-grid{gap:24px}.region-item{min-height:64px;padding-block:12px}
  .map-frame{max-height:390px}
  .map-frame svg{max-height:370px}
  .scene-panel h3{font-size:24px}.hotspot{min-width:44px;min-height:44px}
  .steps{gap:0}.step{padding:18px 12px}.step h3{font-size:22px}.step p{font-size:15px}
  .illus-strip{gap:20px 12px;margin-top:24px}
  .illus-strip figure{grid-column:auto!important}
  .illus-strip figure:last-child{grid-column:1/-1!important}
  .illus-strip img{height:155px}.illus-strip figcaption{font-size:14px;letter-spacing:.03em;padding-left:0}
  .illus-strip figcaption::before{display:none}
  .weave-bar{flex-wrap:wrap;position:relative;left:auto;right:auto;bottom:auto;margin:14px;gap:12px;padding:12px}
  .weave-bar p{width:100%;font-size:14px}.weave-bar input{flex:1;min-width:80px}
  .weave-bar .weave-actions button{min-height:44px;padding:8px 12px}
  .cat-cards{gap:12px}.cat-title{font-size:21px}.cat-count{font-size:14px}
  .archive-bar{margin-top:24px;gap:12px}.search-field{min-height:48px}
  .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .p-cell span{font-size:12px;padding:8px;line-height:1.5}
  .ico-btn,.reset-cat{min-height:44px;font-size:14px}
  .pattern-dialog{width:calc(100vw - 20px);max-width:none;max-height:calc(100dvh - 20px);padding:0;overflow:auto}
  .dialog-body{display:block;padding:18px}.dialog-close{position:sticky;top:8px;float:right;z-index:5;min-width:44px;min-height:44px}
  .dialog-figure{margin:0}.dialog-figure img{max-height:35dvh;object-fit:contain}
  .dialog-info{padding:16px 0 0}.dialog-info h2{font-size:25px}
  .dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .dialog-actions .btn{padding:10px 8px;font-size:14px;letter-spacing:0;min-height:48px}
  .ax-toolbar{gap:12px;padding-bottom:12px}
  .ax-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:0;overflow:visible;padding:0}
  .ax-tabs button{font-size:14px;padding:8px 2px;min-height:46px}
  .ax-actions{width:100%;justify-content:flex-end}.ax-actions button{min-height:44px;font-size:14px}
  .ax-heading{padding-top:20px}.ax-heading h3{font-size:25px}
  .ax-plot{height:clamp(320px,95vw,410px);min-height:320px}
  .ax-legend{gap:0 12px}.ax-legend button{min-height:44px;font-size:14px}
  .ax-detail{scroll-margin-top:calc(var(--site-header-height) + 16px)}
  .ax-number strong{font-size:40px}.ax-number span{font-size:13px}
  .ax-detail-copy{font-size:15px}.ax-samples{gap:8px}
  .ax-data{overflow:auto}.ax-data table{min-width:480px}
  .ax-data summary{min-height:48px;font-size:14px}
  .atlas-exp.is-expanded,.atlas-exp:fullscreen{padding:12px 16px 24px;overflow:auto;overscroll-behavior:contain}
  .atlas-exp.is-expanded .ax-plot,.atlas-exp:fullscreen .ax-plot{height:360px;min-height:320px}
  .pattern-studio{margin-top:24px}
  .studio-bar{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:14px}
  .studio-forms,.studio-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
  .studio-bar button{min-height:46px;padding:10px 4px;font-size:15px;letter-spacing:0}
  .studio-grid{gap:18px}.studio-desk{height:300px;--studio-height:240px;padding:18px 16px 42px}
  .studio-panel{height:500px}.studio-tool-tabs button{font-size:16px}
  .studio-motifs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .studio-pick-head{margin-bottom:8px}.studio-pick-head h3{font-size:21px}
  .studio-selection{margin-top:8px;font-size:14px}.studio-inspire{font-size:16px}
  .studio-range input{height:44px}.studio-layouts button{font-size:16px}
  .studio-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
  .studio-status{width:100%;font-size:14px;line-height:1.6}
  .studio-preview-jump{display:inline-flex;align-items:center;min-height:46px;padding:8px 16px;border:1px solid #c6a35b88;color:#214C43}
  .studio-caption{bottom:8px}.studio-caption strong{font-size:15px}
  .lx-head{display:block}.lx-tools{max-width:none;margin-top:16px;justify-content:flex-start}
  .lx-tools button{min-height:44px;font-size:14px}.lx-story{min-height:0;padding-bottom:20px}
  .lx-story-text{font-size:17px;line-height:1.9}.lx-person{min-height:52px}
  .timeline li{grid-template-columns:65px minmax(0,1fr);gap:12px}.timeline p{font-size:16px}
  .foot-inner{gap:28px}.foot-links a{min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:360px){
  .site-head{padding-inline:12px}.brand-text{font-size:16px}.brand-seal{display:none}
  .mobile-menu-toggle{margin-left:8px;width:44px}.site-head .head-action{font-size:13px;padding:8px}
  .studio-motifs{gap:6px}.studio-panel{height:420px}
  .lx-story{display:block}.lx-story-age{margin:12px 0 20px}
}
