/* =================================================================
   Mixfolio — style.css
   Theme: Modern Dark Bar (mobile-first)
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* surfaces */
  --bg-0: #0B0908;
  --bg-1: #141110;
  --bg-2: #1F1A17;
  --bg-3: #2A2421;

  /* brand */
  --accent: #E8743C;
  --accent-soft: #FFB17A;
  --copper: #B87333;
  --champagne: #E8D4A2;
  --gold: #D4A557;

  /* text */
  --text-hi: #F4EFE6;
  --text-md: #C9C0B2;
  --text-lo: #847B6E;

  /* lines */
  --line: rgba(232,212,162,0.12);
  --line-strong: rgba(232,116,60,0.35);
  --shadow: 0 12px 40px rgba(0,0,0,0.55);
  --glow: 0 0 24px rgba(232,116,60,0.35);

  /* sources */
  --src-cointreau: #E8743C;
  --src-ebs:       #5BC489;
  --src-fbtrainer: #6BA4E8;

  /* spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-md);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .18s; }
a:hover { color: var(--accent-soft); }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea { font-family: inherit; }

/* ---------- Background grain ---------- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 15% 12%, rgba(232,116,60,0.06), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(232,212,162,0.05), transparent 30%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- Headings ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 7vw, 4rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(1.625rem, 4.5vw, 2.375rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--s-4);
  padding-right: var(--s-4);
}
@media (min-width: 768px)  { .container { padding: 0 var(--s-6); } }
@media (min-width: 1024px) { .container { padding: 0 var(--s-7); } }

section { padding: var(--s-7) 0; }
@media (min-width: 768px) { section { padding: var(--s-8) 0; } }

/* ---------- Sticky banner ---------- */
.banner-responsibly {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lo);
  text-align: center;
  padding: var(--s-2) var(--s-4);
}
.banner-responsibly strong { color: var(--accent); font-weight: 600; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 30px; z-index: 40;
  background: rgba(11,9,8,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--champagne);
  font-weight: 600;
}
.brand .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}
.nav-links {
  display: flex; gap: var(--s-5);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a {
  color: var(--text-md);
  padding: var(--s-2) 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-hi);
  border-bottom-color: var(--accent);
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
@media (max-width: 767px) {
  .nav-links {
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-4);
    transform: translateY(-110%);
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
  }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-links a { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--s-7) 0 var(--s-8);
  text-align: center;
  position: relative;
}
.hero .eyebrow { margin-bottom: var(--s-4); }
.hero h1 {
  font-style: italic;
  background: linear-gradient(180deg, #F4EFE6 0%, var(--champagne) 50%, var(--copper) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede {
  max-width: 640px;
  margin: var(--s-5) auto 0;
  color: var(--text-md);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  justify-content: center;
  margin-top: var(--s-6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  min-height: 44px;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-0);
  box-shadow: 0 8px 24px rgba(232,116,60,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,116,60,0.45); color: var(--bg-0); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text-hi);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--accent); color: var(--text-hi); }
.btn-sm { padding: 10px 16px; font-size: 11px; min-height: 36px; }

/* ---------- Search ---------- */
.search-wrap { position: relative; max-width: 640px; margin: 0 auto; }
.search-input {
  width: 100%;
  padding: 16px 50px 16px 50px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-hi);
  font-size: 16px;
  transition: border-color .18s, box-shadow .18s;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,116,60,0.15);
}
.search-icon {
  position: absolute; top: 50%; left: 18px;
  transform: translateY(-50%);
  color: var(--text-lo);
  pointer-events: none;
}
.search-clear {
  position: absolute; top: 50%; right: 12px;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  color: var(--text-lo);
}
.search-clear:hover { background: var(--bg-3); color: var(--text-hi); }
.search-input:not(:placeholder-shown) ~ .search-clear { display: inline-flex; }

/* ---------- Filter chips ---------- */
.chips {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-top: var(--s-4);
}
.chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
  background: var(--bg-2);
  color: var(--text-md);
  border: 1px solid var(--line);
  transition: all .18s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--text-hi); }
.chip.active {
  background: var(--accent);
  color: var(--bg-0);
  border-color: var(--accent);
  font-weight: 600;
}
.chip .count {
  margin-left: 6px; font-size: 10px; opacity: 0.7;
  font-family: var(--font-mono);
}

/* ---------- Source badges ---------- */
.src-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}
.src-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.src-cointreau { color: var(--src-cointreau); background: rgba(232,116,60,0.12); }
.src-ebs       { color: var(--src-ebs);       background: rgba(91,196,137,0.12); }
.src-fbtrainer { color: var(--src-fbtrainer); background: rgba(107,164,232,0.12); }

/* ---------- Cocktail cards (catalog) ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 600px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
@media (min-width: 1200px) { .catalog-grid { grid-template-columns: repeat(4, 1fr); } }

.cocktail-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.cocktail-card:hover, .cocktail-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
  outline: none;
}
.cocktail-card .img {
  aspect-ratio: 4/5;
  background: var(--bg-1);
  overflow: hidden;
  position: relative;
}
.cocktail-card .img img, .cocktail-card .img svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cocktail-card .body { padding: var(--s-4); flex: 1; display: flex; flex-direction: column; gap: var(--s-2); }
.cocktail-card .meta { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cocktail-card h3 { color: var(--text-hi); margin-top: 4px; }
.cocktail-card .ings {
  font-size: 13px; color: var(--text-lo);
  margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cocktail-card .arrow {
  margin-top: auto;
  padding-top: var(--s-3);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  margin-bottom: var(--s-6);
}
.section-head .eyebrow { margin-bottom: var(--s-2); display: inline-block; }
.section-head h2 { color: var(--text-hi); }
.section-head .sub { color: var(--text-md); margin-top: var(--s-2); max-width: 540px; margin-left: auto; margin-right: auto; }

/* ---------- Flipbook ---------- */
.flipbook {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  position: relative;
  perspective: 1500px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
@media (min-width: 768px) { .flipbook { padding: var(--s-6); } }

.flipbook-pages {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  min-height: 520px;
}
@media (min-width: 768px) { .flipbook-pages { grid-template-columns: 1fr 1fr; min-height: 580px; } }

.fb-page {
  background: linear-gradient(180deg, #1A1614 0%, #14110F 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  min-height: 0;
  animation: pageIn .48s cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 767px) {
  .fb-page.fb-page-right { display: none; }
}
.fb-page .img { aspect-ratio: 4/5; max-height: 240px; align-self: center; border-radius: var(--radius-sm); overflow: hidden; }
.fb-page .img svg, .fb-page .img img { width: 100%; height: 100%; object-fit: cover; }
.fb-page .label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-lo); }
.fb-page h3 { color: var(--champagne); font-size: 24px; }
.fb-page .desc { color: var(--text-md); font-style: italic; font-size: 14px; }
.fb-page .ings-list { list-style: none; display: grid; gap: 6px; font-size: 14px; }
.fb-page .ings-list li {
  display: grid; grid-template-columns: 90px 1fr;
  gap: var(--s-2);
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}
.fb-page .ings-list .qty {
  font-family: var(--font-mono); color: var(--accent); font-size: 13px;
}
.fb-page .ings-list .ing-name { color: var(--text-md); }
.fb-page .instr { color: var(--text-md); font-size: 13.5px; line-height: 1.6; }
.fb-page .meta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); font-size: 12px; color: var(--text-lo); }
.fb-page .meta-row .item { display: flex; align-items: center; gap: 4px; }
.fb-page .meta-row .item strong { color: var(--text-hi); font-weight: 500; }
.fb-page .tip {
  margin-top: auto;
  padding: var(--s-3);
  background: rgba(232,116,60,0.06);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-style: italic;
}

@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fb-page { animation: none; } }

.flipbook-controls {
  margin-top: var(--s-5);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
}
.fb-btn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-md);
  transition: all .18s;
}
.fb-btn:hover:not(:disabled) {
  background: var(--accent); color: var(--bg-0);
  border-color: var(--accent);
}
.fb-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.fb-progress {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.fb-progress .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-lo);
  letter-spacing: 0.08em;
}
.fb-progress .bar {
  width: 100%; max-width: 280px;
  height: 2px;
  background: var(--bg-2);
  border-radius: 2px;
  overflow: hidden;
}
.fb-progress .bar > span {
  display: block; height: 100%;
  background: var(--accent);
  transition: width .35s cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reference Table ---------- */
.ref-toolbar {
  display: flex; flex-direction: column; gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.ref-counts {
  font-size: 12px; color: var(--text-lo);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.ref-table thead th {
  position: sticky; top: 60px;
  background: var(--bg-1);
  text-align: left;
  padding: var(--s-3) var(--s-4);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-lo);
  border-bottom: 1px solid var(--line-strong);
  font-weight: 600;
  z-index: 10;
}
.ref-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .18s;
}
.ref-table tbody tr:hover { background: var(--bg-2); }
.ref-table td {
  padding: var(--s-3) var(--s-4);
  vertical-align: top;
}
.ref-table .col-img { width: 80px; }
.ref-table .col-img .thumb {
  width: 70px; height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.ref-table .col-img svg, .ref-table .col-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ref-table .col-name { min-width: 160px; }
.ref-table .col-name .nm {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text-hi);
  font-weight: 600;
  margin-bottom: 4px;
}
.ref-table .col-ings { min-width: 220px; }
.ref-table .col-ings .ing-line {
  display: block;
  font-size: 12.5px;
  color: var(--text-md);
  padding: 2px 0;
}
.ref-table .col-ings .ing-line .qty {
  font-family: var(--font-mono);
  color: var(--accent);
  display: inline-block;
  min-width: 60px;
}
.ref-table .col-method, .ref-table .col-glass, .ref-table .col-garnish { min-width: 110px; color: var(--text-md); }
.ref-table .col-action { width: 110px; text-align: right; }

@media (max-width: 767px) {
  .ref-table { display: block; }
  .ref-table thead { display: none; }
  .ref-table tbody, .ref-table tr, .ref-table td { display: block; }
  .ref-table tr {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--s-4);
    margin-bottom: var(--s-4);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--s-3);
  }
  .ref-table tr:hover { background: var(--bg-2); }
  .ref-table .col-img { grid-row: span 6; }
  .ref-table .col-img .thumb { width: 70px; height: 70px; }
  .ref-table td {
    padding: 0;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 6px;
  }
  .ref-table td:last-child { border-bottom: 0; }
  .ref-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-lo);
    margin-bottom: 2px;
    font-weight: 600;
  }
  .ref-table .col-img::before { content: ''; }
  .ref-table .col-action { text-align: left; }
}

/* ---------- Liquor cards ---------- */
.liquor-hero {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  margin-bottom: var(--s-7);
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 768px) { .liquor-hero { grid-template-columns: 280px 1fr; padding: var(--s-7); align-items: center; } }
.liquor-hero .img { max-width: 280px; margin: 0 auto; }
.liquor-hero h2 {
  font-style: italic;
  color: var(--accent);
}
.liquor-hero .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-4); }
.liquor-hero .meta-grid .it { font-size: 13px; }
.liquor-hero .meta-grid .it strong { color: var(--champagne); display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

.liquor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (min-width: 700px)  { .liquor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .liquor-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

.liquor-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: all .25s;
}
.liquor-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}
.liquor-card .img { aspect-ratio: 5/8; max-height: 200px; align-self: center; }
.liquor-card .img svg, .liquor-card .img img { width: 100%; height: 100%; object-fit: contain; }
.liquor-card h3 { color: var(--text-hi); font-size: 18px; }
.liquor-card .type { font-size: 11px; color: var(--text-lo); letter-spacing: 0.1em; text-transform: uppercase; }
.liquor-card .flavor { font-size: 13px; color: var(--text-md); }
.liquor-card .brand { font-size: 12px; color: var(--accent-soft); font-style: italic; }
.liquor-card .used-in { font-size: 11px; color: var(--text-lo); border-top: 1px dashed var(--line); padding-top: var(--s-3); margin-top: auto; }
.liquor-card .used-in strong { display: block; letter-spacing: 0.1em; text-transform: uppercase; color: var(--champagne); margin-bottom: 4px; font-size: 10px; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: var(--s-4);
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.modal.open { display: flex; animation: modalFade .25s ease; }
.modal-content {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 5;
  color: var(--text-md);
}
.modal-close:hover { background: var(--accent); color: var(--bg-0); }
.modal .video-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.modal .video-wrap iframe { width: 100%; height: 100%; border: 0; }
.modal .modal-body { padding: var(--s-5); }
.modal .modal-body h3 { color: var(--champagne); margin-bottom: var(--s-2); }
.modal .modal-body .source-line { font-size: 12px; color: var(--text-lo); margin-bottom: var(--s-3); }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Empty state ---------- */
.empty {
  text-align: center;
  padding: var(--s-8) var(--s-4);
  color: var(--text-lo);
}
.empty .icon { font-size: 48px; opacity: 0.4; }
.empty h3 { color: var(--text-md); margin: var(--s-3) 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: var(--s-7) 0 var(--s-5);
  margin-top: var(--s-9);
  text-align: center;
}
.site-footer .brand { justify-content: center; margin-bottom: var(--s-4); }
.site-footer .legal { font-size: 12px; color: var(--text-lo); margin: var(--s-3) 0; }
.site-footer .sources {
  font-size: 11px;
  color: var(--text-lo);
  letter-spacing: 0.06em;
  margin-top: var(--s-4);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center;
}
.site-footer .sources a { color: var(--text-md); }

/* ---------- Utils ---------- */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
