/* ==========================================================================
   toolbout — design system
   "The Ringside Ledger" — a premium, warm, editorial comparison site.
   The "bout" as a title card: two tools face off, one wins, decided on record.
   Rich and comfortable: deep warm ink on bone, one copper accent, calm motion.
   ========================================================================== */

:root {
  /* ground */
  --bone: #f3eee3;
  --paper: #faf7f0;
  --espresso: #241c14;
  --espresso-soft: #2e2519;

  /* ink */
  --ink: #211a13;
  --ink-soft: #5c5347;
  --ink-faint: #8b8071;

  /* accent — copper, rich not neon */
  --copper: #b06e35;
  --copper-deep: #8a5426;
  --copper-tint: #f3e3d2;

  /* semantic */
  --sage: #3f6b52;
  --sage-tint: #e6efe8;
  --loss: #a05a4a;

  /* lines + shadows */
  --line: #e2dacb;
  --line-strong: #d3c9b6;
  --shadow-sm: 0 1px 2px rgba(33, 26, 19, 0.06), 0 4px 12px rgba(33, 26, 19, 0.05);
  --shadow-md: 0 2px 6px rgba(33, 26, 19, 0.07), 0 14px 34px rgba(33, 26, 19, 0.09);
  --shadow-lg: 0 4px 10px rgba(33, 26, 19, 0.08), 0 30px 70px rgba(33, 26, 19, 0.14);

  /* type */
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Schibsted Grotesk", "Inter", system-ui, -apple-system, sans-serif;

  --measure: 72ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  /* smooth scrolling is handled by Lenis (assets/lenis.min.js); native jump
     remains the correct reduced-motion fallback */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05";
}

/* paper grain — a whisper of texture so flat color reads as heavyweight
   stock, not CSS. Fixed, inert, imperceptible to readability. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- themed browser chrome ---------- */
::selection { background: var(--copper); color: var(--paper); }

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

a {
  color: var(--copper-deep);
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-soft);
}
a:hover { color: var(--copper); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bone); }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 6px;
  border: 3px solid var(--bone);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-faint); }

/* ---------- layout ---------- */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.wrap--narrow { max-width: 760px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); max-width: 16ch; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 0.4em; }

p { margin: 0 0 1.1em; }

.lede {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
}

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

/* no kickers / eyebrows — headings carry their own weight */

/* ---------- nav ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.site-head.scrolled {
  background: color-mix(in srgb, var(--bone) 97%, #ffffff);
  box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(33, 26, 19, 0.07);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.brand:hover { color: var(--ink); }
.brand .vs-mark { flex: 0 0 auto; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  color: var(--copper-deep);
  line-height: 0;
}
.brand-mark svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--espresso-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.5rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 0;
}
.nav-toggle:hover { border-color: var(--copper); color: var(--copper-deep); }

/* ---------- the VS device ---------- */
.vs-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
  color: var(--copper-deep);
  font-family: var(--serif);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
  background: radial-gradient(circle at 35% 30%, #fdfbf6, var(--copper-tint));
}
.vs-mark--lg { width: 3.4rem; height: 3.4rem; font-size: 1.15rem; border-width: 2px; }

/* ---------- tool monograms ----------
   Every tool gets a small identity tile — one letter, its ring, its accent.
   Keeps the "who is fighting" readable at a glance without resorting to a
   busy logo wall. Three accents (ink / copper / sage) stay in the palette. */
.tool-mark {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1;
  flex: 0 0 auto;
  border: 1px solid transparent;
}
.tool-mark--ink    { background: var(--ink);    color: var(--bone);  border-color: var(--espresso); }
.tool-mark--copper { background: var(--copper-tint); color: var(--copper-deep); border-color: color-mix(in srgb, var(--copper) 30%, var(--line)); }
.tool-mark--sage   { background: var(--sage-tint); color: var(--sage); border-color: color-mix(in srgb, var(--sage) 28%, var(--line)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s;
  text-decoration: none;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--espresso-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-deep); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, var(--copper-tint) 0%, transparent 60%),
    radial-gradient(50% 70% at 8% 90%, rgba(63, 107, 82, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-title { margin-bottom: 1.4rem; }
.hero-title em {
  font-style: italic;
  color: var(--copper-deep);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.9rem;
}

/* bout number — the card is numbered, like a real fight card */
.bout-no {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.bout-no span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--copper-deep);
  letter-spacing: 0;
  text-transform: none;
}

/* the ring — concentric lines breathing behind the card, inert */
.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 58%,
    transparent 0 148px, color-mix(in srgb, var(--copper) 14%, transparent) 148px 149px,
    transparent 149px 175px);
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(circle at 50% 58%, #000 0 42%, transparent 68%);
          mask-image: radial-gradient(circle at 50% 58%, #000 0 42%, transparent 68%);
}

/* the fight card — a raised "poster" for Bout #001 */
.fight-card {
  margin-top: clamp(2.6rem, 6vw, 4.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 720px;
}
.fight-card-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.8rem, 5vw, 2.8rem) clamp(1.5rem, 4vw, 2.6rem) clamp(1.4rem, 4vw, 2rem);
}
.corner {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}
.corner .tool-mark { width: 2.9rem; height: 2.9rem; font-size: 1.5rem; border-radius: 0.85rem; }
.corner .tool {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.corner .cat { color: var(--ink-faint); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* the referee's scorecard — who takes each round */
.scorecard {
  border-top: 1px solid var(--line);
  background: var(--bone);
  padding: 1.15rem clamp(1.5rem, 4vw, 2.6rem) 1.35rem;
}
.score-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}
.score-row + .score-row { border-top: 1px dashed var(--line); }
.score-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.score-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.score-fill {
  height: 100%;
  display: block;
  border-radius: 999px;
  background: var(--copper);
  transform-origin: left;
  animation: score-grow 0.9s var(--ease-out) both;
}
.score-fill--a { background: var(--ink); }
.score-fill--b { background: var(--copper); }
.score-fill--c { background: var(--sage); }
.score-row:nth-child(2) .score-fill { animation-delay: 0.09s; }
.score-row:nth-child(3) .score-fill { animation-delay: 0.18s; }
.score-val {
  font-family: var(--serif);
  font-size: 0.98rem;
  color: var(--ink-soft);
  min-width: 5.5rem;
  text-align: right;
}
.fight-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 0.85rem clamp(1.5rem, 4vw, 2.6rem);
  background: var(--paper);
}
.verdict-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.verdict-flag--win { color: var(--sage); }
.verdict-flag svg { flex: 0 0 auto; }
.fight-date { color: var(--ink-faint); font-size: 0.82rem; letter-spacing: 0.04em; }

@keyframes score-grow {
  from { transform: translateX(-100%) scaleX(0); }
  to   { transform: translateX(0) scaleX(1); }
}

/* the promise band — one dark moment for contrast */
.promise { background: var(--espresso); }
.promise-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.promise-line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  color: var(--bone);
  margin: 0;
  max-width: 24ch;
}
.promise-line em { color: var(--copper); font-style: italic; }
.promise .section-head p { color: #b8ac9a; }
.link-arrow {
  color: #d8ccbb !important;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.25s var(--ease-soft), gap 0.25s var(--ease-soft);
}
.link-arrow span { transition: transform 0.25s var(--ease-soft); }
.link-arrow:hover { color: var(--copper) !important; }
.link-arrow:hover span { transform: translateX(4px); }
/* ---------- hero entrance: "the bout begins" ----------
   One rehearsed sequence: the headline rises through a mask, the copy
   settles, then the two corners slide in from left and right and meet at
   the VS ring, which lands last and takes up its pulse. */
.mask-line { overflow: hidden; }
.mask-line h1 { animation: rise-mask 0.75s var(--ease-out) backwards; }
.hero-anim--2 { animation: rise-in 0.7s 0.18s var(--ease-out) backwards; }
.hero-anim--3 { animation: rise-in 0.7s 0.32s var(--ease-out) backwards; }
.hero-anim--corner-l { animation: slide-left 0.8s 0.55s var(--ease-out) backwards; }
.hero-anim--corner-r { animation: slide-right 0.8s 0.62s var(--ease-out) backwards; }
.hero-anim--vs {
  animation: vs-land 0.55s 0.85s var(--ease-out) backwards,
             pulse-mark 3.4s 1.6s var(--ease-soft) infinite;
}
.hero-anim--card { animation: card-in 0.85s 0.42s var(--ease-out) backwards; }

@keyframes rise-mask {
  from { transform: translateY(112%); }
  to   { transform: translateY(0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slide-left {
  from { opacity: 0; transform: translateX(-44px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes slide-right {
  from { opacity: 0; transform: translateX(44px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes vs-land {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 8% 0 round 24px); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 24px); }
}

@keyframes pulse-mark {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(176, 110, 53, 0); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(176, 110, 53, 0.12); }
}

/* ---------- section rhythm ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tinted { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--espresso); color: var(--bone); }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { color: var(--ink-soft); max-width: 46ch; }
.section--dark .section-head p { color: #b8ac9a; }

/* ---------- bout cards (fight card) ---------- */
.bouts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}
.bout-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.bout-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
  color: var(--ink);
}

.bout-card .match {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.bout-card .match .vs-mark { width: 1.7rem; height: 1.7rem; font-size: 0.62rem; }
.bout-card .cat { color: var(--ink-faint); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; }
.bout-card .blurb { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.bout-card .verdict {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.verdict--win { color: var(--sage); }
.verdict--tie { color: var(--copper-deep); }

/* the winner's check draws itself when the card enters view */
.verdict--win svg path,
.verdict-card .who svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}
.reveal.is-in .verdict--win svg path {
  animation: draw-check 0.45s 0.35s var(--ease-out) forwards;
}
.verdict-card .who svg path {
  animation: draw-check 0.45s 1s var(--ease-out) forwards;
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }

/* the VS mark gives a small nod on card hover */
.bout-card .vs-mark { transition: transform 0.35s var(--ease-out); }
.bout-card:hover .vs-mark { transform: rotate(14deg) scale(1.15); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.cat-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-tile h3 { margin-bottom: 0.5rem; }
.cat-tile ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.cat-tile li { padding: 0.35rem 0; border-top: 1px solid var(--line); }
.cat-tile li:first-child { border-top: 0; }
.cat-tile li a { color: var(--ink-soft); font-size: 0.95rem; }
.cat-tile li a:hover { color: var(--copper-deep); }

/* ---------- trust / how we compare ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.trust-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.trust-item h3 { font-size: 1.35rem; }
.trust-item p { color: var(--ink-soft); max-width: 34ch; }
.trust-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ---------- article (bout report) ---------- */
.article-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.crumbs { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1.5rem; }
.crumbs a { color: var(--ink-soft); }
.article-hero h1 { max-width: 18ch; }

.verdict-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
}
.verdict-card .who {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage-tint);
  color: var(--sage);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.verdict-card .who svg { flex: 0 0 auto; }
.verdict-card .line { color: var(--ink-soft); font-size: 0.95rem; }

/* article referee's scorecard — compact variant on bone */
.scorecard--article {
  margin-top: 1.75rem;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.3rem;
}
.scorecard--article .score-row { padding: 0.45rem 0; }
.score-row--lead .score-label { color: var(--copper-deep); }
.score-val--win { color: var(--sage); font-weight: 600; }

.article-body {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  font-size: 1.08rem;
}
.article-body h2 { margin-top: 2.2em; }
.article-body h3 { margin-top: 1.8em; font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }
.article-body p, .article-body ul { max-width: var(--measure); }
.article-body ul { padding-left: 1.2em; }

/* head-to-head table */
.htable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.4rem 0;
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.htable th, .htable td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.htable thead th {
  background: var(--espresso);
  color: var(--bone);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
}
.htable th:first-child { color: var(--ink-faint); font-weight: 500; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; background: var(--bone); }
.htable tr:last-child td { border-bottom: 0; }
.htable .win-cell { color: var(--sage); font-weight: 600; }

.note {
  background: var(--copper-tint);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 1.6rem 0;
}
.note strong { color: var(--copper-deep); }

/* sources */
.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); font-size: 0.88rem; }
.sources h3 { font-family: var(--sans); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.sources ol { padding-left: 1.2em; color: var(--ink-soft); }
.sources a { color: var(--ink-soft); text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot {
  background: var(--espresso);
  color: #b8ac9a;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
.site-foot a { color: #d8ccbb; }
.site-foot a:hover { color: #f3e3d2; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-foot .brand { color: var(--bone); font-size: 1.9rem; }
.site-foot h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin: 0 0 0.8rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { padding: 0.3rem 0; }
.disclosure {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #8d8274;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  max-width: 70ch;
}

/* ---------- motion: scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .verdict--win svg path,
  .verdict-card .who svg path { stroke-dashoffset: 0; }
  .score-fill { animation: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--line-strong);
    padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.55rem 0; }
  .nav-links a { display: inline-block; font-size: 1.05rem; }
  .nav-cta { display: inline-block; margin-top: 0.4rem; text-align: center; }

  .foot-grid { grid-template-columns: 1fr; }
  .fight-card-top { grid-template-columns: 1fr; gap: 1.1rem; }
  .fight-card-top .vs-mark--lg { justify-self: center; }
  .score-row { grid-template-columns: 64px 1fr auto; gap: 0.7rem; }
  .score-label { letter-spacing: 0.06em; }
  .score-val { min-width: auto; font-size: 0.92rem; }
  .htable { font-size: 0.85rem; }
  .htable th, .htable td { padding: 0.7rem 0.75rem; }
}
