/* ==========================================================================
   Giant Lygon St · TYPE SYSTEM (loaded last on every page)
   8 styles · 2 weights (400 / 700) · Overpass
   Display · Title · H2 · H3 · Body · Button/Label · Small · Micro
   Impulse: heading font + body font + base size 16 + heading scale. This file is the
   single source of truth; earlier one-off sizes in core/home/templates are overridden here.
   ========================================================================== */
:root {
  --t-display: 700 clamp(44px, 6.47vw, 82.853px) / 1 var(--font);
  --t-title:   700 clamp(36px, 3.6vw, 52px) / 1.04 var(--font);
  --t-h2:      700 24px / 32.2px var(--font);
  --t-h3:      700 16px / 21.6px var(--font);
  --t-body:    400 16px / 21.6px var(--font);
  --t-label:   700 13px / 16.3px var(--font);
  --t-small:   400 13px / 18px var(--font);
  --t-micro:   400 11px / 16px var(--font);
}

/* 1 · Display — hero, collection / about / contact titles */
body .t-display, body .contact__intro .t-display { font: var(--t-display); text-transform: uppercase; letter-spacing: 0; }

/* 2 · Title — product name, article title */
body .buy__title, body .article-head h1, body .hero__ctas a { font: var(--t-title); text-transform: uppercase; letter-spacing: 0; }

/* 3 · H2 — every section title, big numbers, totals, menu-drawer links */
body .t-h2, body .post h2, body .services__tabs button, body .stat b, body dt.total, body dd.total,
body .article-body h2, body .drawer .menu-list a, body #menuDrawer li > a {
  font: var(--t-h2); letter-spacing: 0;
}
body .t-h2, body .post h2, body .services__tabs button, body .stat b, body .article-body h2, body dt.total { text-transform: uppercase; }

/* 4 · H3 — card titles, sales-point titles, bold lead-ins, year tag */
body .pcard__title, body .usp b, body .highlights b, body .acc__body b, body .hours .is-today, body .buy__year, body .mini p:first-child, body .years h3 {
  font: var(--t-h3); letter-spacing: 0; text-transform: none;
}

/* 5 · Body — all running copy */
body .t-body, body .buy > .t-body, body .page-head--coll .page-head__intro, body .acc__body, body .buy .acc__body, body .pdp-details .acc__body,
body .usp p, body .pdp-details__usps .usp, body .usp-row .usp, body .footer-col ul, body .footer-col address, body .footer-col a,
body .contact__quick a, body .check, body .hours dt, body .hours dd, body .cart-row__total, body .qty button,
body .article-body, body .article-body .lede, body .article-body blockquote, body .buy__stock .stock, body .drawer address {
  font: var(--t-body); letter-spacing: 0;
}
body .buy > .t-body { opacity: .75; }

/* 6 · Button / Label — buttons, link buttons, nav, tags, form + option labels, accordion titles, pagination, sort */
body .link-dot, body .btn, body .btn--price, body .shop-pay, body .t-btn, body .t-eyebrow, body .opt__label, body .acc > summary,
body .buy .acc > summary, body .pdp-details .acc > summary, body .filters .acc > summary, body cite, body .tags a, body .pagination a, body .pagination span,
body .toolbar select, body .page-head__tools select, body .field label, body .cart__head, body .pcard__quick, body .post__meta b,
body .pcard__badge, body .opt__sizes button, body .opt__years button, body .site-header__nav a, body .site-header__nav button, body .mega h3 {
  font: var(--t-label); letter-spacing: .5px;
}
body .link-dot, body .btn, body .btn--price, body .t-btn, body .t-eyebrow, body .opt__label, body .acc > summary, body cite, body .tags a,
body .toolbar select, body .page-head__tools select, body .field label, body .cart__head, body .pcard__quick, body .post__meta b, body .pcard__badge, body .mega h3 { text-transform: uppercase; }
body .site-header__nav a, body .site-header__nav button { letter-spacing: 0; text-transform: none; }   /* nav: label size + weight, sentence case */
body .acc > summary::after { font-weight: 400; }

/* 7 · Small — prices, payment line, cm under sizes, specs, captions, notes */
body .pcard__price, body .t-price, body .buy__bnpl, body .crumbs, body .spec dt, body .spec dd, body .check small, body .opt__label button,
body .opt__sizes small, body .geo th, body .geo td, body table th, body table td, body .filters__note, body .form__foot p, body .cart-line__remove,
body .stat span, body .mini .t-price, body .article-body figcaption {
  font: var(--t-small); letter-spacing: 0;
}
body .opt__label button { text-decoration: underline; text-underline-offset: 2px; text-transform: none; }
body .geo th, body table th { font-weight: 700; }
body .opt__sizes small { opacity: .65; white-space: nowrap; }

/* 8 · Micro — card stock tag + sizes, footer legal */
body .pcard .stock, body .pcard__opts .stock, body .pcard .size, body .legal, body .legal a, body .demo-toggle button {
  font: var(--t-micro); letter-spacing: 0;
}
body .pcard .size { font-weight: 700; }

/* ---- Stragglers: older rules with higher specificity, mapped to the 8 styles ---- */
body .summary dl dt, body .summary dl dd, body .mega__col .t-menu a, body ul.t-menu a { font: var(--t-body); letter-spacing: 0; }                 /* Body */
body .summary dl dt.total, body .summary dl dd.total { font: var(--t-h2); }                                                                       /* H2 */
body .pdp-details__usps .usp b, body .timeline b, body .delivery b { font: var(--t-h3); }                                                          /* H3 */
body .wall__slide cite, body .cols .num, body .share a { font: var(--t-label); letter-spacing: .5px; text-transform: uppercase; }                 /* Label */
body .post__meta, body .post__meta span, body .contact__quick small { font: var(--t-small); letter-spacing: 0; }                                  /* Small */
body .post__meta b { font: var(--t-label); letter-spacing: .5px; }
body .drawer .stock, body .cart-row .stock, body .cart-row__prod .stock { font: var(--t-micro); letter-spacing: 0; }                             /* Micro */
body .menu-store span:not(.t-eyebrow), body .menu-store span a { font: var(--t-small); letter-spacing: 0; }   /* menu drawer store details → Small (VISIT US keeps the Label style, as in the footer, 11 Nov). Scoped to the menu drawer so the cart SUBTOTAL label keeps Label 700 */
@media (max-width: 900px) { body .opt__sizes small { font: var(--t-micro); } }   /* phones: cm under sizes uses Micro so it fits the square */
body .opt__sizes small { margin-top: 6px; }     /* letter ↔ cm: visible gap ~9px → ~13px (+20% twice) */
body .opt__sizes .is-out { display: none; }   /* sold-out sizes are hidden, not crossed out */
body .cart-line__price { font: var(--t-body); }   /* cart drawer price → Body (was 15px) */
body .cart-line__meta { font: var(--t-small); }   /* variant line → Small (was 12px) */
body .cart-note-acc { margin-top: 0; }
body .cart-note-acc > summary { padding: 19px 0 17px; }   /* caps text optically centred between the two lines */

/* ---- Rollout pages + shared drawer/footer stragglers ---- */
body .cart-ship, body .cart-note { font: var(--t-small); letter-spacing: 0; }
body .cart-ship { font-weight: 700; }   /* 11 Nov · free-shipping line = Small in bold (700) */                                   /* Small */
body .newsletter__form input, body .timeline span, body .field select, body .field input, body .field textarea { font: var(--t-body); letter-spacing: 0; }   /* Body */
body .cart-sum strong { font: var(--t-h2); letter-spacing: 0; }                                                                    /* H2 (drawer subtotal amount) */
body .price-range input, body .form .field select { font: var(--t-body); letter-spacing: 0; }   /* filter price inputs, contact topic select → Body */

/* Quantity box: number and − / + in the Small size (13px), one shared centre line in the 32px box */
body .qty { align-items: stretch; }
body .qty button, body .qty input { font: 400 13px / 32px var(--font); height: 32px; padding: 0; margin: 0; display: grid; place-items: center; text-align: center; }
body .qty input { width: 32px; }

/* Journal story titles in sentence case (10 Nov): same H2 size/weight, no caps */
body .posts-lead .post h2, body .posts .post h2 { text-transform: none; font-weight: 500; }   /* Journal headlines: sentence case, medium weight (the only 500 in the type system) */
/* Journal cards: topic ("Guides") styled exactly like the date — Small, regular, sentence case, muted */
body .posts-lead .post__meta b, body .posts .post__meta b { font: var(--t-small); letter-spacing: 0; text-transform: none; color: var(--asphalt); opacity: .65; }
/* Article title: Title size, sentence case, medium (matches the Journal headlines); meta like the Journal cards (date first, all Small + muted) */
body .article-head h1 { text-transform: none; font-weight: 500; }
body .article-head .post__meta b, body .article-head .post__meta span { font: var(--t-small); letter-spacing: 0; text-transform: none; color: var(--asphalt); opacity: .65; }
/* Article text, split layout (10 Nov): larger reading size — Body Large 20/30 for paragraphs + lists, lede 24/34. Article-only exception to the 8 styles. */
body .article-split .article-body p, body .article-split .article-body li, body .article-split .article-body blockquote { font: 400 20px / 30px var(--font); letter-spacing: 0; }
body .article-split .article-body .lede { font: 400 24px / 34px var(--font); }
body .article-split .article-body figcaption, body .article-split .article-body .inline-product p { font: var(--t-small); }
body .article-split .article-head .post__meta b { font: var(--t-small); text-transform: none; letter-spacing: 0; color: var(--asphalt); opacity: .65; }
/* Article tags (Guides, Nutrition): same as the date + the Journal card topic — Small, regular, sentence case, grey */
body .article-tags a { font: var(--t-small); letter-spacing: 0; text-transform: none; color: var(--asphalt); opacity: .65; text-decoration: none; }
body .article-tags a:hover { opacity: 1; }
body .article-share a { font: var(--t-label); font-weight: 400; letter-spacing: 0; text-transform: none; text-decoration: none; }   /* share links: 13px regular, sentence case, underline on hover only */
body .article-share a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Article author line = date style; inline product card text = product card text (title H3, price Small muted) */
body .article-byline { font: var(--t-small); letter-spacing: 0; color: var(--asphalt); opacity: .65; }
body .article-split .article-body .inline-product .inline-product__title { font: var(--t-h3); }
body .article-split .article-body .inline-product .inline-product__price { font: var(--t-small); opacity: .65; }
body .article-share a { color: var(--velocity); }   /* share links in the highlight blue (Velocity) */
/* Article pull-quote: bigger and more visual — 32/40 medium (matches the medium sentence-case headlines) */
body .article-split .article-body blockquote { font: 500 32px / 40px var(--font); letter-spacing: -.2px; }
@media (max-width: 900px) { body .article-split .article-body blockquote { font: 500 24px / 31px var(--font); } }

/* ONE topic-tag style (Journal topic filter, Journal cards, article meta, Keep reading): GUIDES caps label, grey like the date; hover = Velocity (no underline since 16 Nov) */
body .post__tag, body .tags a { font: var(--t-label); letter-spacing: .5px; text-transform: uppercase; color: var(--asphalt); opacity: .65; text-decoration: none; transition: color .2s, opacity .2s; }
body .post__tag:hover, body .tags a:hover { color: var(--velocity); opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
body .tags a[aria-current] { color: var(--asphalt); opacity: 1; }

/* VERSION B (10 Nov) — existing styles only. Journal B: every card headline = the Journal headline (H2 size, medium, sentence case). Article B reuses the article reading sizes. */
body .posts.posts--b .post h2, body .posts.posts--b .post:nth-child(n of .post) h2 { font: var(--t-h2); font-weight: 500; letter-spacing: 0; text-transform: none; }   /* (10 Nov) ONE headline style on every story card: the Journal headline, H2 size, medium, sentence case */
body .article-b .article-body p, body .article-b .article-body li { font: 400 20px / 30px var(--font); letter-spacing: 0; }
body .article-b .article-body .lede { font: 400 24px / 34px var(--font); }
body .article-b .article-body blockquote { font: 500 32px / 40px var(--font); letter-spacing: -.2px; }
body .article-b .article-body figcaption, body .article-b .article-body .inline-product p { font: var(--t-small); }
body .article-b .article-body .inline-product .inline-product__title { font: var(--t-h3); }
body .article-b .article-body .inline-product .inline-product__price { font: var(--t-small); opacity: .65; }
body .article-b .article-head h1 { max-width: 680px; text-wrap: balance; }   /* headline follows the 680 text column */
@media (max-width: 900px) { body .article-b .article-body blockquote { font: 500 24px / 31px var(--font); } }
/* Article B quote (10 Nov): more air between lines — 32/46 (was 32/40); phones 24/34 */
body .article-b .article-body blockquote { line-height: 46px; }
@media (max-width: 900px) { body .article-b .article-body blockquote { line-height: 34px; } }
/* Cart clean-up (10 Nov): product name = H3 (product card title); option text Small */
body .cart-row__title { font: var(--t-h3); letter-spacing: 0; }
body .delivery span { font: var(--t-small); }
/* About clean-up (10 Nov): statement + column titles = the Journal headline (H2 size, medium, sentence case); timeline year = H3, line = Body */
body .richtext .richtext__statement, body .col h2.t-h2 { font: var(--t-h2); font-weight: 500; text-transform: none; letter-spacing: 0; }
body .timeline b { font: var(--t-h3); }
body .timeline span { font: var(--t-body); }
/* Cart DRAWER = cart page type (10 Nov): name H3, variant Small at .5, price Body, Remove Small underlined */
body .cart-line__title { font: var(--t-h3); letter-spacing: 0; }
body .cart-line__meta { font: var(--t-small); opacity: .65; }
body .contact-list p { font: var(--t-body); }
body .contact-list small { font: var(--t-small); }

/* 11 Nov a11y: every grey text is Asphalt at 65% (was 45–60%, 3.2–4.3:1). 65% passes 4.5:1 on white and #F7F7F7. */
/* 12 Nov · phone Menu drawer: secondary links (About, Journal, Contact, FAQs, Account, Wishlist) = Body, so they read as the quiet second level under the caps H2 list and all six fit above VISIT US */
@media (max-width: 767px) { body #menuDrawer .menu-list--secondary li > a { font: var(--t-body); letter-spacing: 0; text-transform: none; padding: 6px 0; } }
/* 12 Nov · Menu drawer second list (About, Journal, Contact, FAQs, Account, Wishlist): regular weight on desktop too (H2 size kept, 400 instead of 700), like the phone version */
body #menuDrawer .menu-list--secondary li > a { font-weight: 400; }

/* 16 Nov · Journal topic filter: hover = blue type only, no underline (the active topic already has its blue bar, so hover gave a double line) */
body .tags a:hover { text-decoration: none; }
/* 16 Nov, later · same for every topic tag (Journal cards, article date line, Keep reading): hover = blue type only, no underline (Bruno) */
body .post__tag:hover { text-decoration: none; }
