/* Site-wide type authority. Loaded after page CSS and shared chrome.
   Use the existing Home fonts; page CSS remains responsible for composition. */
@font-face{
  font-family:Inter;
  src:url('../fonts/inter-latin-400-normal.woff2?v=8909904ab6') format('woff2');
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:Inter;
  src:url('../fonts/inter-latin-600-normal.woff2?v=f9a06e79cd') format('woff2');
  font-style:normal;
  font-weight:600;
  font-display:swap;
}
@font-face{
  font-family:Montserrat;
  src:url('../fonts/montserrat-latin-800-normal.woff2?v=ba826fb84c') format('woff2');
  font-style:normal;
  font-weight:800;
  font-display:swap;
}
:root{
  --display:Montserrat,system-ui,sans-serif;
  --body:Inter,system-ui,sans-serif;
  --type-title:clamp(33px,3.8vw,60px);
  --type-section:clamp(23px,2.2vw,31px);
  --type-subheading:14px;
  --type-hero-body:clamp(14px,1.2vw,17px);
  --type-label:10px;
  --type-action:12px;
}
body{
  font-family:var(--body);
  font-size:14px;
  font-weight:400;
  line-height:1.5;
}
button,input,select,textarea{font-family:var(--body)}
b,strong{font-weight:600}

/* The main/ dialog scope deliberately outranks the retained page selectors.
   All pages, including catalog states rendered by JS, share these roles. */
:is(#main,dialog) :is(h1,h2){
  font-family:var(--display);
  font-weight:800;
  font-style:normal;
  letter-spacing:-.04em;
  text-wrap:balance;
}
:is(#main,dialog) h1{
  font-size:var(--type-title);
  line-height:1.13;
  overflow-wrap:break-word;
}
:is(#main,dialog) h2{
  font-size:var(--type-section);
  line-height:1.2;
}
:is(#main,dialog) h3{
  font-family:var(--body);
  font-size:var(--type-subheading);
  font-weight:600;
  line-height:1.3;
  letter-spacing:-.025em;
  overflow-wrap:anywhere;
}
:is(#main,dialog) :is(h1,h2) :is(b,strong){font-weight:inherit}
:is(#main,dialog) :where(p,li,dl,table,blockquote,figcaption,label,legend,summary,pre,.meta){
  font-family:var(--body);
}
:is(#main,dialog) .eyebrow{
  font-family:var(--body);
  font-size:var(--type-label);
  font-weight:600;
  line-height:1.5;
  letter-spacing:.14em;
}
#main .hero .hero-copy>p:not(.eyebrow):not(.breadcrumb):not(.location){
  font-size:var(--type-hero-body);
  font-weight:400;
  line-height:1.5;
  letter-spacing:normal;
}
#main .hero :is(.location,.locations,.hero-locations,.hero-locations span,.breadcrumb){
  font-family:var(--body);
  font-size:11px;
  font-weight:400;
  line-height:1.5;
  letter-spacing:normal;
}
:is(#main,dialog) :is(.button,.text-link,.text-button){
  font-family:var(--body);
  font-size:var(--type-action);
  font-weight:600;
  line-height:1.3;
  letter-spacing:normal;
}
:is(#main,dialog) :is(input,select,textarea){
  font-family:var(--body);
  font-size:12px;
  font-weight:400;
  line-height:1.5;
}
:is(#main,dialog) :is(label,legend,summary){font-weight:600}
/* Retain the decorative quote's size, but use the same display face. */
#main .quality blockquote>span{font-family:var(--display);font-weight:800}
dialog{--type-section:24px}

@media(max-width:1200px){
  :root{--type-title:clamp(32px,3.8vw,50px)}
}
@media(max-width:900px){
  :root{--type-title:clamp(29px,5.5vw,44px);--type-hero-body:14px;--type-label:9px}
}
@media(max-width:600px){
  :is(#main,dialog) :is(input,select,textarea){font-size:16px}
}

/* 任务 18：可读性下限：正文不小于 12px、全大写小标签不小于 11px。按原表顺序重放这些选择器的字号，只放大不缩小；由浏览器在 40 页 × 4 种宽度下实测生成。 */
:root{--type-label:11px}
