/* FELCE accessibility and readability refinements — desktop/tablet/mobile.
 * Loaded last so the original art direction and dark/light themes are retained.
 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-stopped { overflow: hidden; }
:where(main, section, article, footer) [id] { scroll-margin-top: 118px; }
body { font-size: 16px; line-height: 1.72; text-rendering: optimizeLegibility; }
html[data-theme="dark"] { --muted: #b2c4b6; }
html[data-theme="light"] { --muted: #526a5e; }
:where(button, input, textarea, select) { font-family: var(--body, "DM Sans", sans-serif); }
:where(input, textarea, select) { font-size: 16px; line-height: 1.5; }
:where(p, li, label) { overflow-wrap: break-word; }

/* Navigation and basic copy */
.nav-item, .desktop-nav .nav-item { font-size: 14px; }
.mobile-nav a { font-size: 16px; min-height: 44px; }
.btn, .btn-nav, .text-link { font-size: 14px; line-height: 1.35; }
.hero-lede, .story-lede, .interior-copy > p, .products-hero-text > p,
.section-side-copy, .section-heading-aside p, .contact-hero-side p,
.story-copy > p, .about-story-content p, .contact-cta p,
.product-outro-copy p { font-size: clamp(16px, 1.12vw, 18px); line-height: 1.8; }
.hero-bottom-note, .gallery-footnote, .faq-answer, .faq-item p,
.footer-brand-block p, .footer-link-col a, .footer-contact span,
.footer-bottom, .form-note, .career-benefit p { font-size: 14px; line-height: 1.75; }
.bento-small p, .bento-wide p, .value-card p, .approach-text p,
.process-card p, .contact-side-card p, .supplier-banner p,
.phase2-product-card p, .phase2-product-card .product-card-body p,
.product-modal-v2 .modal-detail p { font-size: 15px; line-height: 1.7; }
.product-modal-v2 .modal-content > p { font-size: 16px; line-height: 1.75; }
.filter-chip, .gallery-toolbar .filter-chip, .product-search input,
.form-label, .field-label, .form-card label, .contact-form-card label { font-size: 14px; }
.phase2-product-card .product-enquiry { font-size: 13px; }
.phase2-product-card .product-category-label, .product-category-label,
.product-modal-v2 .modal-category, .contact-team-role,
.contact-team-label, .contact-team-name { font-size: 12px; line-height: 1.6; }
.contact-team-name { font-size: 15px; }

/* Uppercase editorial captions: preserve their visual hierarchy, but not 7-9px type. */
.eyebrow, .eyebrow-index, .section-kicker, .scroll-cue,
.fact-label, .bento-index, .process-number, .photo-tag,
.side-story-index, .collection-number, .value-number, .quote-credit,
.results-status, .product-count, .hero-photo-caption small,
.hero-rail-caption, .hero-image-topline, .hero-thumb span,
.hero-visual-v2 .hero-floating-card > span:not(.small-dot),
.hero-visual-v2 .hero-floating-card strong span,
.products-hero-secondary span, .home-collection-grid-v2 .collection-type,
.product-modal-v2 .modal-image-label, .product-modal-v2 .modal-detail span,
.product-modal-v2 .modal-spec-note, .product-modal-v2 #modal-position,
.hero-overline { font-size: 12px; line-height: 1.5; letter-spacing: .08em; }
.brand-small { font-size: 10px; letter-spacing: .12em; }
.hero-visual-v2 .hero-photo-caption > span { line-height: 1.2; }

@media (max-width: 768px) {
  html { scroll-padding-top: 97px; }
  :where(main,section,article,footer) [id] { scroll-margin-top: 97px; }
  body { font-size: 16px; line-height: 1.7; }
  .hero-lede, .interior-copy > p, .products-hero-text > p,
  .section-side-copy, .section-heading-aside p, .contact-hero-side p,
  .story-lede { font-size: 16px; line-height: 1.75; }
  .bento-small p, .approach-text p, .value-card p,
  .phase2-product-card .product-card-body p, .career-benefit p { font-size: 15px; }
  .filter-chip, .gallery-toolbar .filter-chip { font-size: 13px; min-height: 44px; }
  .home-collection-grid-v2 .collection-type,
  .hero-photo-caption small, .hero-image-topline,
  .hero-rail-caption, .hero-thumb span,
  .products-hero-secondary span { font-size: 11px; }
  .hero-photo-caption > span { line-height: 1.22; }
  .footer-links-grid a, .footer-contact a, .footer-contact span { font-size: 14px; line-height: 1.7; }
  .form-card :where(input,textarea,select),
  .contact-form-card :where(input,textarea,select) { font-size: 16px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-title { line-height: 1.08; }
  .hero-bottom-note, .gallery-footnote { font-size: 13px; }
  .contact-hero-side p { font-size: 15px; }
  .home-collection-grid-v2 .collection-type { font-size: 11px; padding: 6px 8px; }
  .hero-rail-caption { max-width: 68px; }
  .hero-thumb span { font-size: 10px; }
  .product-modal-v2 .modal-content h2 { line-height: 1.16; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
