/* ==========================================================
   Baseballers.club — Diamond Performance design system
   Tokens follow Brand Style Guide v2.0
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Inter:wght@400;500&family=Montserrat:wght@600;700&display=swap');

:root {
  --color-black: #0B0F14;
  --color-white: #FFFFFF;
  --color-red: #E63946;          /* accents, highlights, red on dark */
  --color-red-cta: #C1121F;      /* accessible CTA background (white text ≈ 6.2:1) */
  --color-red-cta-hover: #9B0E19;
  --color-navy: #1E3A5F;
  --color-sand: #D9C29C;
  --color-text: #15191F;
  --color-muted: #59616C;
  --color-surface: #F5F6F7;
  --color-border: #E1E4E8;
  --color-dark-2: #131922;

  --font-display: 'Barlow Condensed', Impact, sans-serif;
  --font-ui: 'Montserrat', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  --container-max: 1280px;
  --article-max: 800px;
  --radius-card: 12px;
  --radius-button: 6px;

  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;
  --section-pad: clamp(56px, 8vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 0.9rem + 0.3vw, 18px);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(44px, 5.6vw, 72px); font-weight: 800; }
h2 { font-size: clamp(34px, 3.8vw, 48px); font-weight: 700; }
h3, h4 { font-family: var(--font-ui); line-height: 1.25; margin: 0 0 0.5em; }
h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; }
h4 { font-size: clamp(21px, 1.8vw, 24px); font-weight: 600; }

:focus-visible { outline: 3px solid var(--color-red); outline-offset: 3px; border-radius: 2px; }

.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: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--color-white); color: var(--color-black);
  padding: 10px 16px; font-family: var(--font-ui); font-weight: 700; border-radius: var(--radius-button);
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.section { padding: var(--section-pad) 0; }
.section-surface { background: var(--color-surface); }
.section-dark { background: var(--color-black); color: var(--color-white); }
.section-navy { background: var(--color-navy); color: var(--color-white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--color-muted); max-width: 52ch; }
.section-dark .section-head p, .section-navy .section-head p { color: #C9CED6; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui); font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-red-cta); margin-bottom: var(--s3);
}
.section-dark .eyebrow, .section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--color-red); }
.section-navy .eyebrow { color: var(--color-sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius-button); border: 2px solid transparent;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--color-red-cta); color: var(--color-white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--color-red-cta-hover); }
.btn-outline { border-color: rgba(255,255,255,.7); color: var(--color-white); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--color-white); color: var(--color-black); border-color: var(--color-white); }
.btn-dark { background: var(--color-black); color: var(--color-white); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--color-navy); }
.btn-ghost { border-color: var(--color-text); color: var(--color-text); background: transparent; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--color-text); color: var(--color-white); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.text-link { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--color-red-cta); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-dark .text-link, .section-navy .text-link { color: var(--color-red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-black); color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s4); }

/* Brand (2A placeholder — swap for approved SVG; see assets/brand/README.md) */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border: 2px dashed rgba(255,255,255,.55); border-radius: 6px;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 28px; line-height: 1;
  color: var(--color-white);
}
.brand-word {
  font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: 0.02em; line-height: 1;
  color: var(--color-white);
}
.brand-dot { color: var(--color-red); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px; text-decoration: none;
  color: #D5DAE1; border-radius: 4px;
}
.site-nav a:not(.btn):hover { color: var(--color-white); }
.site-nav a[aria-current="page"] { color: var(--color-white); box-shadow: inset 0 -3px 0 var(--color-red); }
.site-nav li:last-child { margin-left: 10px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--color-white);
  cursor: pointer; border-radius: 6px;
}
.bars, .bars::before, .bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin: 0 auto; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-black); border-bottom: 1px solid rgba(255,255,255,.1);
    display: none; padding: 8px clamp(16px, 4vw, 32px) 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { padding: 0 4px; border-bottom: 1px solid rgba(255,255,255,.07); min-height: 52px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--color-red); padding-left: 14px; }
  .site-nav li:last-child { margin: 16px 0 0; }
  .site-nav .btn { width: 100%; }
  .brand-word { font-size: 22px; }
}
@media (max-width: 380px) { .brand-word { font-size: 19px; } .brand-mark { width: 34px; height: 34px; font-size: 22px; } }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative; overflow: hidden; background-color: var(--color-dark-2);
  background-image:
    radial-gradient(120% 90% at 80% 10%, rgba(30,58,95,.85), transparent 60%),
    radial-gradient(90% 80% at 10% 100%, rgba(217,194,156,.22), transparent 60%),
    linear-gradient(160deg, #18202B, #0B0F14);
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  font: 500 12px/1.3 var(--font-body); color: rgba(255,255,255,.62); letter-spacing: .02em;
}
.ph-sand { background-image: radial-gradient(100% 80% at 30% 20%, rgba(217,194,156,.55), transparent 65%), linear-gradient(160deg, #3A3226, #15191F); }
.ph-navy { background-image: radial-gradient(100% 80% at 70% 20%, rgba(76,120,170,.6), transparent 60%), linear-gradient(160deg, #1E3A5F, #0B0F14); }
.ph-red { background-image: radial-gradient(90% 80% at 80% 20%, rgba(230,57,70,.45), transparent 60%), linear-gradient(160deg, #241418, #0B0F14); }

/* ---------- Photos (Unsplash, see assets/img/CREDITS.md) ---------- */
.card-media, .split-media, .article-cover, .hero-media { overflow: hidden; background-color: var(--color-dark-2); }
.card-media > img, .split-media > img, .article-cover > img, .hero-media > img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--color-white); background: var(--color-black); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media::before { /* diamond motif */
  content: ""; position: absolute; right: -8%; top: 50%; width: min(70vw, 760px); aspect-ratio: 1;
  transform: translateY(-50%) rotate(45deg);
  border: 2px solid rgba(255,255,255,.07); box-shadow: inset 0 0 0 60px rgba(255,255,255,.015), 0 0 0 80px rgba(255,255,255,.02);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,15,20,.96) 0%, rgba(11,15,20,.82) 45%, rgba(11,15,20,.35) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(72px, 12vw, 150px) 0 clamp(72px, 10vw, 130px); max-width: 760px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--color-red); }
.hero-lede { font-size: clamp(17px, 1.3vw, 20px); color: #D5DAE1; max-width: 58ch; margin-bottom: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-size: 12px; color: rgba(255,255,255,.5); }
.hero-stripe { height: 6px; background: linear-gradient(90deg, var(--color-red) 0 22%, var(--color-navy) 22% 30%, var(--color-black) 30%); }

/* Page hero (category / shop / blog) */
.page-hero { background: var(--color-black); color: var(--color-white); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero p { color: #C9CED6; max-width: 62ch; font-size: clamp(17px, 1.2vw, 19px); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s6); align-items: center; }
.secondary-mark {
  aspect-ratio: 1; max-width: 260px; justify-self: end; width: 100%;
  display: grid; place-items: center; text-align: center; padding: 24px;
  border: 2px dashed rgba(255,255,255,.28); border-radius: var(--radius-card);
  color: rgba(255,255,255,.6); font: 500 13px/1.45 var(--font-body);
}
.secondary-mark strong { display: block; font-family: var(--font-ui); color: var(--color-white); font-size: 15px; margin-bottom: 4px; }
@media (max-width: 800px) { .page-hero-grid { grid-template-columns: 1fr; } .secondary-mark { display: none; } }

/* Breadcrumbs */
.breadcrumbs { font: 600 13px/1.4 var(--font-ui); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { color: #AEB5BF; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #6B737E; }
.breadcrumbs a { color: #D5DAE1; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--color-white); }
.breadcrumbs [aria-current] { color: var(--color-white); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-card);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(11,15,20,.45); border-color: #CDD2D8; }
.card-media { aspect-ratio: 16 / 10; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole-card click target */
.card-link { position: relative; }
.card p { color: var(--color-muted); font-size: 16px; }
.card-meta { margin-top: auto; padding-top: 12px; font: 600 13px/1.4 var(--font-ui); color: var(--color-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.tag {
  display: inline-block; align-self: flex-start; margin-bottom: 12px;
  font: 700 12px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase;
  color: var(--color-red-cta); background: #FCEBEC; padding: 6px 9px; border-radius: 4px;
}
.tag-navy { color: var(--color-navy); background: #E6EDF5; }
.tag-sand { color: #5E4A28; background: #F4ECDD; }

/* Category tiles */
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px;
  padding: 24px; border-radius: var(--radius-card); color: var(--color-white); text-decoration: none; overflow: hidden;
  background: var(--color-dark-2); border: 1px solid rgba(255,255,255,.08);
  transition: transform .2s ease, border-color .2s ease;
}
.cat-tile::before { content: ""; position: absolute; top: 22px; left: 24px; width: 34px; height: 4px; background: var(--color-red); }
.cat-tile:hover { transform: translateY(-3px); border-color: rgba(230,57,70,.6); }
.cat-tile h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 32px; font-weight: 700; margin: 0 0 4px; }
.cat-tile p { margin: 0; color: #C2C8D0; font-size: 15px; }
.cat-tile .arrow { position: absolute; top: 16px; right: 20px; font-size: 22px; color: rgba(255,255,255,.4); transition: transform .2s ease, color .2s ease; }
.cat-tile:hover .arrow { transform: translateX(4px); color: var(--color-red); }

/* Product cards (affiliate) */
.product-card .card-media { aspect-ratio: 4 / 3; }
.product-card .card-body { padding: 20px; }
.product-card h3 { font-size: 18px; }
.product-card .btn { margin-top: auto; }
.product-card .retailer { font: 500 13px/1.4 var(--font-body); color: var(--color-muted); margin: 10px 0 0; text-align: center; }
.sample-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font: 700 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase;
  background: var(--color-sand); color: var(--color-black); padding: 6px 8px; border-radius: 4px;
}
.product-card .card-media { position: relative; }
.product-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--color-muted); font-size: 15px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); }
.chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--color-border); background: var(--color-white); color: var(--color-text);
  font: 600 14px/1 var(--font-ui); cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--color-text); }
.chip[aria-pressed="true"] { background: var(--color-black); border-color: var(--color-black); color: var(--color-white); }
[data-filter-item][hidden] { display: none !important; }
.filter-empty { color: var(--color-muted); }

/* Disclosure */
.disclosure {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-sand);
  border-radius: 8px; padding: 14px 18px; font-size: 15px; color: var(--color-muted); margin-bottom: var(--s5);
}
.disclosure strong { color: var(--color-text); }
.disclosure a { color: var(--color-text); font-weight: 500; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media { aspect-ratio: 4 / 3; border-radius: var(--radius-card); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; background: var(--color-red); transform: rotate(45deg) scale(.7); }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s6); align-items: center; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input {
  flex: 1 1 240px; min-height: 52px; padding: 12px 16px;
  font: 400 16px var(--font-body); border-radius: var(--radius-button);
  border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: var(--color-white);
}
.form-row input::placeholder { color: #AEB5BF; }
.form-row input:focus-visible { border-color: var(--color-white); outline-offset: 2px; }
.form-note { font-size: 14px; color: #AEB5BF; margin-top: 12px; }
label.field-label { display: block; font: 600 14px var(--font-ui); margin-bottom: 8px; }
.form-status { margin-top: 12px; font-weight: 500; color: var(--color-sand); min-height: 1.5em; }

/* ---------- Article ---------- */
.article-hero { background: var(--color-black); color: var(--color-white); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.article-hero .wrap { max-width: var(--article-max); }
.article-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.article-hero .standfirst { font-size: clamp(18px, 1.4vw, 21px); color: #D5DAE1; margin-bottom: 24px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 14px/1.4 var(--font-ui); color: #AEB5BF; }
.byline strong { color: var(--color-white); }
.article-cover { max-width: 1040px; margin: 0 auto; aspect-ratio: 21 / 9; border-radius: 0 0 var(--radius-card) var(--radius-card); }
.prose { max-width: var(--article-max); margin: 0 auto; padding: var(--s6) clamp(16px, 4vw, 32px) var(--s7); }
.prose h2 { font-size: clamp(30px, 3vw, 40px); margin-top: 1.6em; }
.prose h3 { font-size: clamp(21px, 1.9vw, 25px); margin-top: 1.5em; }
.prose p, .prose li { max-width: 72ch; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--color-red-cta); font-weight: 500; text-underline-offset: 3px; }
.prose a.btn { color: var(--color-white); }
.prose blockquote, .callout {
  margin: 1.6em 0; padding: 18px 22px; border-radius: 8px;
  background: var(--color-surface); border-left: 4px solid var(--color-red);
}
.callout p:last-child { margin-bottom: 0; }
.callout-title { font: 700 14px/1.2 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; color: var(--color-text); }
.toc { border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px 24px; margin-bottom: var(--s5); }
.toc h2 { font-family: var(--font-ui); font-size: 14px; letter-spacing: .12em; margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--color-text); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--color-red-cta); text-decoration: underline; }

.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border: 1px solid var(--color-border); border-radius: var(--radius-card); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
caption { text-align: left; padding: 14px 18px; font: 700 15px var(--font-ui); background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
th, td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
thead th { font: 700 13px var(--font-ui); letter-spacing: .08em; text-transform: uppercase; background: var(--color-black); color: var(--color-white); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-family: var(--font-ui); font-weight: 600; }

.product-box {
  display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 20px; margin: 2em 0;
}
.product-box .ph { aspect-ratio: 1; border-radius: 8px; }
.product-box h3 { margin: 4px 0 8px; font-size: 20px; }
.product-box p { font-size: 16px; color: var(--color-muted); }
@media (max-width: 560px) { .product-box { grid-template-columns: 1fr; } .product-box .ph { aspect-ratio: 16/9; } }

/* Retailer product photos: show the whole product on white, never cropped */
.product-card .product-img { background: #fff; }
.product-card .product-img > img { object-fit: contain; padding: 12px; }
.product-box-img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--color-border); padding: 8px; }
.product-box-list { margin: 0 0 16px; padding-left: 1.1em; font-size: 16px; }
.product-box-list li { margin: 4px 0; }
@media (max-width: 560px) { .product-box-img { max-width: 220px; } }
.product-box--text { grid-template-columns: 1fr; border-left: 4px solid var(--color-red); }

.drill { border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 22px 24px; margin: 1.6em 0; }
.drill h3 { margin-top: 0; display: flex; gap: 12px; align-items: baseline; }
.drill-num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--color-red-cta); line-height: 1; }
.drill dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 12px; font-size: 16px; }
.drill dt { font: 700 13px/1.9 var(--font-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); }
.drill dd { margin: 0; }

.faq details { border-bottom: 1px solid var(--color-border); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font: 600 18px/1.4 var(--font-ui); list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--color-red-cta); }
.faq details[open] summary::after { content: "–"; }

.author-box { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--color-border); margin-top: var(--s6); padding-top: var(--s4); font-size: 15px; color: var(--color-muted); }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--color-black); color: var(--color-white); font: 800 italic 24px var(--font-display); border: 2px dashed rgba(255,255,255,.4); }

.positions-field { max-width: 460px; margin: 1.6em auto; }
.positions-field text { font-family: var(--font-ui); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-black); color: #C2C8D0; padding: var(--s7) 0 var(--s4); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s5); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { max-width: 36ch; margin-top: 16px; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: .03em; color: var(--color-white); }
.site-footer h2 { font: 700 13px/1.2 var(--font-ui); letter-spacing: .14em; color: var(--color-white); margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.site-footer li a:hover { color: var(--color-white); text-decoration: underline; }
.footer-bottom { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8E96A1; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--color-muted); }
.stack-lg > * + * { margin-top: var(--s4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .cat-tile:hover { transform: none; }
}
