/* Palmera type system: Brygada 1918 (headings, italic voice) + Funnel Sans (text). 2026-11-20.
   Loaded last on every page. One scale, used by role; sizes step down on phones. */
:root{
  --t-display:clamp(40px,5.4vw,72px);   /* home + trade hero headline */
  --t-h1:clamp(34px,4vw,52px);          /* page titles */
  --t-h2:clamp(28px,3vw,42px);          /* section titles */
  --t-h3:clamp(22px,2vw,26px);          /* sub-sections */
  --t-title:20px;                       /* artwork names, card + list titles */
  --t-lead:18px;                        /* intro paragraphs, prices */
  --t-body:16px;                        /* reading text */
  --t-ui:14px;                          /* nav, buttons, filters, links */
  --t-small:13px;                       /* notes, captions, footer legal */
  --t-label:12px;                       /* uppercase category labels */
  --track-label:.1em;
}
@media (max-width:700px){
  :root{--t-title:18px;--t-lead:17px;--t-body:15px}
}

/* ---------- Families & rendering ---------- */
body{font-family:var(--sans);font-optical-sizing:auto;text-rendering:optimizeLegibility}
h1,h2,h3,h4,.serif{font-family:var(--display);font-weight:500;letter-spacing:-.01em}
h1,h2,h3{text-wrap:balance}
p,li,dd,.pdp-desc{text-wrap:pretty}
button,input,select,textarea{font-family:var(--sans)}
.price,.card-price,.pdp-price,.mc-row .price,.cart-summary .row,.size-table td{font-variant-numeric:tabular-nums}

/* ---------- Headings ---------- */
.hero-copy :is(h1,h2),
.trade-hero-copy :is(h1,h2){font-size:var(--t-display);line-height:1.04;letter-spacing:-.02em;font-weight:500}

.section-head h1,
.wrap>h1,
.cart-page>h1,
.checkout-page h1{font-size:var(--t-h1);line-height:1.08;letter-spacing:-.018em;font-weight:500}

.pdp-info h1{font-size:clamp(32px,3.4vw,46px);line-height:1.08;letter-spacing:-.018em;font-weight:500}

.section-head h2,
.trade-section-head h2,
.wrap>h2,
.frame-arrival-copy h2,
.studio-favorites h2,
.collection-category-head h3{font-size:var(--t-h2);line-height:1.12;letter-spacing:-.015em;font-weight:500}

.size-guide-heading h3,
.collection-series-head h4,
.cart-page>h2,
.order-next-title,
li>h3{font-size:var(--t-h3);line-height:1.2;letter-spacing:-.01em}

/* re-assert the bigger roles after the generic div>h2 rule */
.section-head h2,.trade-section-head h2,.wrap>h2,.frame-arrival-copy h2,.studio-favorites h2,
.section-head>div>h2,.trade-section-head>div>h2{font-size:var(--t-h2);line-height:1.12;letter-spacing:-.015em}
.hero-copy>h2,.trade-hero-copy>h2{font-size:var(--t-display);line-height:1.04;letter-spacing:-.02em}

.card-title,
.value-item h4,
.persona h4,
.feature-item h2,.feature-item h4,
.cart-row h4,
.mini-cart-head .mini-cart-title,
.faq-item summary,
.trade-faqs summary,
.orientation-title,
.collection-tile-label .ct-cat{font-size:var(--t-title);line-height:1.25;letter-spacing:-.005em;font-weight:500}
.mc-row h4{font-size:16px;font-weight:500;letter-spacing:-.005em}

/* Tagline over the hero video, and other italic voice lines */
.hero-full-tag{font-family:var(--display);font-style:italic;font-weight:400;font-size:clamp(20px,2vw,26px);letter-spacing:0}
.hero-subhead,.pdp-subtitle,.quote-block p{font-family:var(--display);font-style:italic;font-weight:400}
.pdp-subtitle{font-size:var(--t-lead)}

/* ---------- Reading text ---------- */
.hero-copy>p:not(.eyebrow):not(.hero-note),
.section-head p:not(.eyebrow),
.trade-section-head p:not(.eyebrow),
.trade-lede,.try-intro,.ty-p,
.pdp-desc,
.value-item p,.feature-item p,
.persona ul,
.faq-item p,.product-detail p,
li>p,dd,
.footer-grid p{font-size:var(--t-body);line-height:1.65}
.hero-copy>p:not(.eyebrow):not(.hero-note){max-width:44ch}
.pdp-desc,.faq-item p,.product-detail p{max-width:62ch}
.shop-favorites-head p{font-size:var(--t-body)}

.pdp-price{font-size:var(--t-lead)}
.card-price{font-size:var(--t-ui)}

/* ---------- Interface text ---------- */
.navlinks a{font-size:13px;letter-spacing:.06em}
.lang-toggle,.lang-toggle span{font-size:13px!important}
.cart-btn{font-size:13px}
.cart-count{font-size:11px}
.btn,.hero-copy .btn,.email-form button,.persona a,.filter-btn,.filters button,
.gallery-tools button,.size-opt,.back-link,.series-back,.explore-below,.intro-line a,
.mobile-purchase-options span{font-size:var(--t-ui)}
.mobile-drawer a{font-size:16px}
.form-row label,.field-label,label{font-size:var(--t-small)}
.form-row input,.form-row select,.form-row textarea,.email-form input{font-size:16px}

/* ---------- Small text ---------- */
.hero-note,.hero-copy .hero-note,
.purchase-note,.gallery-caption,.form-note,
.size-guide-heading p,
.footer-bottom,.footer-bottom a,.footer-bottom span,
.intro-line,.intro-line span,
.trade-hero-photo figcaption,
.hero-room figcaption,.hero-room figcaption span,
figcaption p,figcaption span,figcaption a,
.size-table,.size-table caption,.size-table th,.size-table td,
.pdp-meta-row,.cart-row .meta,.mc-row .meta,
dt{font-size:var(--t-small)!important;line-height:1.5}
.size-opt small,.size-guide-inches,.size-guide-facts small,.size-guide-sofa-label,
.size-guide-facts>div>span,button small{font-size:12px!important;line-height:1.4}

/* ---------- Labels (uppercase, tracked) ---------- */
.eyebrow,.section-head p.eyebrow,.hero-copy .eyebrow,
.card-cat,.size-guide-eyebrow,.frame-arrival-copy p,
.footer-heading,.ty-label{font-size:var(--t-label)!important;letter-spacing:var(--track-label);text-transform:uppercase;font-weight:500;line-height:1.4}
.size-guide-facts>div>span{letter-spacing:.08em}
#view-trade .trade-form label{font-size:12px}
.mobile-purchase-options>span:not(.mobile-purchase-chevron){font-size:13px}

@media (max-width:700px){
  .hero-copy :is(h1,h2),.trade-hero-copy :is(h1,h2),.hero-copy>h2,.trade-hero-copy>h2{line-height:1.04}
  .navlinks a{font-size:14px}
}

/* Trade page rules carry an ID; match them so the scale holds there too */
#view-trade #trade-heading{font-size:var(--t-display);line-height:1.04;letter-spacing:-.02em}
#view-trade .trade-split h2,#view-trade .trade-section-head h2,#view-trade .trade-process h2{font-size:var(--t-h2);line-height:1.12;letter-spacing:-.015em}
#shopGrid .collection-category-head h3{font-size:clamp(26px,2.6vw,34px);line-height:1.15;letter-spacing:-.015em;font-weight:500}
html[lang] #mobileAddToCartBtn{font-size:13px;letter-spacing:.03em;padding-left:12px;padding-right:12px}

.frame-arrival-copy h2,.size-guide-heading h3,.collection-series-head h4,.orientation-title{font-weight:500}

/* Labels above headings: plain sentence voice in the text face, no caps (2026-11-21) */
.eyebrow:is(:has(+h1),:has(+h2)):not(.pdp-info .eyebrow),
#collectionBack+.eyebrow,
.size-guide-eyebrow{font-size:15px!important;letter-spacing:0!important;text-transform:none!important;font-weight:500;line-height:1.4}
#collectionBack:not([hidden])+.eyebrow{display:none}
