/* Shared foundation: fonts, design tokens, typography and common components. */
@font-face { font-family: Manrope; src: url('../fonts/manrope-latin.woff2') format('woff2'); font-style: normal; font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('../fonts/dm-serif-display-italic-latin.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  --background: #f4f7fb; --surface: #fff; --text: #152033; --muted: #5c6d86;
  --accent: #0078f5; --paper: #e8eef8; --ink: #101828; --line: #d5e0ee;
  --font: Manrope, 'Segoe UI', Arial, sans-serif; --serif: 'DM Serif Display', Georgia, serif;
  --space: clamp(20px, 4.5vw, 64px); --max-width: 1400px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--text); background: var(--background); font: 400 15px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
p, h1, h2, h3, h4, figure, dl { margin: 0; }
h1, h2, h3, h4 { font-weight: 550; line-height: 1.12; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 6vw, 88px); }
h2 { font-size: clamp(36px, 4vw, 56px); }
strong { font-weight: 650; }
::selection { background: #c9ddff; color: var(--ink); }
:focus-visible { outline: 2px solid #0078f5; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--space); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-160%); padding: 12px 20px; background: var(--accent); color: #fff; z-index: 100; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }
.icon { width: 20px; height: 20px; vertical-align: middle; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .14em; line-height: 1.7; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 54px; padding: 16px 24px; font-size: 12px; font-weight: 650; line-height: 1.4; border: 1px solid transparent; border-radius: 7px; transition: background .2s, transform .2s; }
.button .icon { width: 19px; height: 19px; transition: transform .2s; }
.button:hover .icon, .text-link:hover .icon, .header-contact:hover .icon { transform: translate(2px,-2px); }
.button-accent, .button-dark { background: var(--accent); color: #fff; }
.button-accent:hover, .button-dark:hover { background: #0057c8; }
.button-line { background: #fff; color: var(--text); border-color: #b7c6db; }
.button-line:hover { background: #fff; color: #0c3d8c; border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 18px; width: fit-content; padding-block: 8px; font-size: 12px; font-weight: 650; line-height: 1.5; border-bottom: 1px solid var(--line); }
.text-link .icon { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover { color: #0c3d8c; border-color: var(--accent); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 31px; }
.hero-actions .text-link { border: 0; }
.section { padding-top: 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 38px; }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 19px; }
.section-heading-aside { max-width: 360px; padding-bottom: 3px; }
.section-heading-aside p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 14px; }
.section-heading.compact h2 { font-size: 38px; }
.section-heading.compact { margin-bottom: 31px; }
.archive-heading { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 70px; padding-top: 30px; padding-bottom: 48px; }
.archive-heading .eyebrow { color: var(--muted); margin-bottom: 22px; }
.archive-heading h1 { font-size: clamp(47px,5.8vw,80px); }
.archive-heading > p { max-width: 350px; color: var(--muted); font-size: 12px; padding-bottom: 6px; }
.woocommerce-pagination, .pagination { margin-top: 45px; }
.woocommerce-pagination ul.page-numbers, .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination .page-numbers, .pagination .page-numbers { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; }
.woocommerce-pagination .page-numbers.current, .pagination .current { color: #fff; background: var(--accent); border-color: var(--accent); }
.prose { font-size: 14px; line-height: 1.95; color: var(--muted); }
.prose p + p, .prose ul, .prose ol { margin-top: 20px; }
.prose h2, .prose h3 { color: var(--text); margin-top: 32px; margin-bottom: 17px; font-size: 30px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.prose img { height: auto; border-radius: 10px; margin-block: 25px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px; text-align: left; }
.prose iframe, .prose video { max-width: 100%; }
@media (max-width: 900px) {
  .section { padding-top: 72px; }
  .section-heading h2 { font-size: 45px; }
  .section-heading-aside { max-width: 240px; }
  .archive-heading { grid-template-columns: 1fr; gap: 25px; padding-top: 20px; }
  .archive-heading > p { max-width: 500px; }
}
@media (max-width: 600px) {
  :root { --space: 20px; }
  body { font-size: 14px; }
  .hero-actions { gap: 16px; margin-top: 25px; }
  .hero-actions .button { min-height: 50px; padding: 14px 16px; gap: 14px; font-size: 10px; }
  .hero-actions .text-link { gap: 10px; font-size: 10px; }
  .section { padding-top: 58px; }
  .section-heading { flex-direction: column; align-items: start; gap: 22px; margin-bottom: 29px; }
  .section-heading .eyebrow { font-size: 8px; margin-bottom: 17px; }
  .section-heading h2 { font-size: 37px; }
  .section-heading-aside { max-width: 100%; }
  .section-heading-aside p { font-size: 11px; margin-bottom: 11px; }
  .section-heading .text-link { font-size: 10px; }
  .section-heading.compact h2 { font-size: 33px; }
  .archive-heading { gap: 23px; padding-top: 15px; padding-bottom: 33px; }
  .archive-heading .eyebrow { font-size: 8px; margin-bottom: 20px; }
  .archive-heading h1 { font-size: clamp(42px,11vw,60px); }
  .archive-heading > p { font-size: 11px; }
  .prose { font-size: 12px; }
  .prose h2, .prose h3 { font-size: 27px; }
}
@media (max-width: 374px) {
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 12px; gap: 10px; font-size: 9px; }
  .hero-actions .text-link { font-size: 9px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
