@charset "utf-8";

/* =========================================================
   KFC MENU PRICES — "The Bucket Ledger"
   Design system: warm newsprint, diner red, slab headlines
   ========================================================= */

:root {
  --cream: #f6efe1;
  --cream-2: #efe3cf;
  --paper: #fffbf2;
  --ink: #191410;
  --ink-soft: #3b312b;
  --muted: #75695f;
  --red: #d0112b;
  --red-dark: #96091d;
  --gold: #e7a33b;
  --gold-soft: #f3d9a8;
  --line: rgba(25, 20, 16, 0.14);
  --line-strong: rgba(25, 20, 16, 0.34);
  --font-display: "Alfa Slab One", "Rockwell", "Courier New", serif;
  --font-ui: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --radius: 3px;
  --shadow: 6px 6px 0 var(--ink);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(231, 163, 59, 0.14), transparent 32%),
    radial-gradient(circle at 92% 4%, rgba(208, 17, 43, 0.09), transparent 28%),
    linear-gradient(180deg, #f8f2e6 0%, var(--cream) 45%, #f2e8d7 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* lazy-loaded media: hidden until it enters the viewport */
img.lazy-media {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

img.lazy-media.is-loaded {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

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

.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

.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;
}

/* ---------- type ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red);
}

.kicker--light {
  color: var(--gold);
}

.kicker--light::before {
  background: var(--gold);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}

.sec-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1;
  max-width: 18ch;
}

.sec-head__title em {
  font-style: normal;
  color: var(--red);
}

.sec-head__side {
  max-width: 380px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: right;
}

.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 3px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.sec-link:hover {
  color: var(--red);
  gap: 14px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px 13px;
  background: var(--red);
  color: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background 0.2s var(--ease);
}

.btn:hover {
  background: var(--red-dark);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 3px 3px 0 rgba(25, 20, 16, 0.2);
}

.btn--sm {
  padding: 9px 16px 8px;
  font-size: 0.92rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(-6deg);
}

/* ---------- top ticker ---------- */

.ticker {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: var(--gold-soft);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  height: 36px;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__item b {
  color: var(--paper);
  font-weight: 600;
}

.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(246, 239, 225, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.25s var(--ease);
}

.site-head.is-stuck {
  box-shadow: 0 10px 30px -18px rgba(25, 20, 16, 0.55);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-10deg) scale(1.04);
}

.brand__mark svg {
  width: 26px;
  height: 26px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.brand__text span {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--red);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.menu-btn span::before {
  top: -5px;
}

.menu-btn span::after {
  top: 5px;
}

/* mobile drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.drawer.is-open {
  display: block;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 20, 16, 0.6);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.25s var(--ease);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: var(--cream);
  border-left: 3px solid var(--ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  animation: slideIn 0.32s var(--ease);
}

.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}

.drawer__label {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer__nav a::after {
  content: "→";
  font-family: var(--font-ui);
  color: var(--red);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.2s var(--ease);
}

.drawer__nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.drawer__foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

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

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* ---------- search ---------- */

.search {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.search.is-open {
  display: block;
}

.search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 20, 16, 0.72);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s var(--ease);
}

.search__panel {
  position: relative;
  width: min(680px, calc(100% - 36px));
  margin: 12vh auto 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.4);
  padding: 26px;
  animation: popIn 0.28s var(--ease);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.search__top {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
}

.search__top input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: var(--ink);
  padding: 6px 0;
}

.search__top input:focus {
  outline: none;
}

.search__top input::placeholder {
  color: #a4978b;
}

.search__close {
  background: transparent;
  border: 0;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.search__results {
  max-height: 52vh;
  overflow-y: auto;
  margin-top: 10px;
}

.search__hint {
  padding: 18px 4px 8px;
  font-size: 0.92rem;
  color: var(--muted);
}

.search-result {
  display: flex;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.search-result:hover {
  background: var(--cream);
}

.search-result img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--ink);
  flex-shrink: 0;
}

.search-result strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
}

.search-result span {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.search-result p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 3px;
}

/* ---------- tags / chips ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 4px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.79rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  transition: 0.2s var(--ease);
}

.chip:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.chip--red {
  border-color: var(--red);
  color: var(--red);
}

.chip--red:hover {
  background: var(--red);
  color: var(--paper);
}

/* ---------- article cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}

/* shared card grid: home, archive, and related lists */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 26px;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 22px;
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  background: var(--cream-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease), opacity 0.45s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--gold);
  border: 1.5px solid var(--ink);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

/* headline printed on the cover art */

.card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 18px 18px 16px;
  color: var(--cream);
  background: linear-gradient(
    to top,
    rgba(14, 10, 8, 0.9) 0%,
    rgba(14, 10, 8, 0.62) 30%,
    rgba(14, 10, 8, 0.12) 58%,
    rgba(14, 10, 8, 0) 78%
  );
  pointer-events: none;
}

.card__overlay-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.card__overlay-kicker::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--gold);
}

.card__overlay-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.14;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.card__overlay-meta {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 251, 242, 0.64);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 18px;
  flex: 1;
}

.card__cat {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.26rem;
  line-height: 1.28;
  letter-spacing: -0.005em;
}

.card:hover .card__title {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.card__dek {
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.card__meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.79rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--ink);
  border-block: 2px solid var(--ink);
  color: var(--gold-soft);
  padding: 14px 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "✦";
  color: var(--red);
  font-family: var(--font-body);
  font-size: 1.1rem;
}

/* ---------- price ledger ---------- */

.ledger {
  border-top: 2px solid var(--ink);
}

.ledger__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 18px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s var(--ease), padding 0.18s var(--ease);
}

.ledger__row:hover {
  background: rgba(255, 251, 242, 0.75);
  padding-left: 14px;
}

.ledger__n {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.ledger__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ledger__name .leader {
  flex: 1;
  border-bottom: 1.5px dotted rgba(25, 20, 16, 0.3);
  transform: translateY(-4px);
}

.ledger__name small {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger__price {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  color: var(--red);
  white-space: nowrap;
}

.ledger__arrow {
  font-family: var(--font-ui);
  color: var(--muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.ledger__row:hover .ledger__arrow {
  color: var(--red);
  transform: translateX(4px);
}

.ledger__note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- article prose (shared) ---------- */

.prose {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose > p {
  margin: 0 0 1.02em;
}

.prose > p:first-child {
  font-size: 1.25rem;
  color: var(--ink);
}

.prose > p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.9rem;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--red);
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.08;
  color: var(--ink);
  margin: 1.6em 0 0.55em;
  padding-top: 0.45em;
  border-top: 2px solid var(--ink);
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--red);
}

.prose h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 1.4em 0 0.45em;
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose em {
  font-style: italic;
}

.prose a {
  color: var(--red);
  border-bottom: 1.5px solid rgba(208, 17, 43, 0.35);
  transition: border-color 0.2s var(--ease);
}

.prose a:hover {
  border-color: var(--red);
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 0;
  list-style: none;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.45em;
}

.prose ul li::before {
  content: "■";
  position: absolute;
  left: 2px;
  top: 0.05em;
  color: var(--red);
  font-size: 0.62em;
}

.prose ol {
  counter-reset: item;
}

.prose ol li {
  counter-increment: item;
  padding-left: 34px;
}

.prose ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--red);
  letter-spacing: 0.05em;
}

.prose blockquote {
  margin: 1.9em 0;
  padding: 22px 26px 20px;
  background: var(--paper);
  border-left: 5px solid var(--red);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 4px 4px 0 rgba(25, 20, 16, 0.1);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--ink);
}

.prose blockquote p {
  margin: 0;
}

.prose blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose hr {
  border: 0;
  border-top: 1px dashed var(--line-strong);
  margin: 2.4em 0;
}

/* price tables */

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0 1.8em;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-size: 0.97rem;
}

.price-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
}

.price-table th {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 14px;
}

.price-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:nth-child(even) {
  background: rgba(239, 227, 207, 0.35);
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  font-family: var(--font-ui);
  font-weight: 600;
  white-space: nowrap;
}

.price-table tr.is-highlight td {
  background: var(--gold-soft);
  font-weight: 600;
}

/* wide tables scroll inside their own box instead of stretching the page */

.table-scroll {
  max-width: 100%;
  margin: 1.8em 0 2em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}

.post-content .table-scroll .price-table {
  margin: 0;
  border: 0;
  min-width: 560px;
}

@media (max-width: 620px) {
  .price-table {
    font-size: 0.86rem;
  }
  .price-table th,
  .price-table td {
    padding: 8px 10px;
  }
  .post-content .table-scroll .price-table {
    min-width: 480px;
  }
}

/* callout */

.callout {
  margin: 1.8em 0;
  border: 1.5px solid var(--ink);
  background: var(--gold-soft);
  padding: 20px 24px;
  box-shadow: 4px 4px 0 var(--ink);
}

.callout__label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin-bottom: 6px;
}

.callout p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- footer ---------- */

.site-foot {
  margin-top: 48px;
  background: var(--ink);
  color: #cbbfb2;
  border-top: 4px solid var(--red);
  position: relative;
  overflow: hidden;
}

.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.foot__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 44px 0 32px;
}

.foot__brand .brand__text strong {
  color: var(--cream);
}

.foot__brand .brand__text span {
  color: #9b8f83;
}

.foot__brand p {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 34ch;
  color: #a99c8f;
}

.foot__col h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.foot__col a {
  display: block;
  padding: 6px 0;
  font-size: 0.98rem;
  color: #cbbfb2;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.foot__col a:hover {
  color: var(--paper);
  padding-left: 5px;
}

.foot__wordmark {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 7.3rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(246, 239, 225, 0.28);
  white-space: nowrap;
  user-select: none;
  padding-bottom: 8px;
  overflow: hidden;
}

.foot__wordmark span {
  color: var(--red);
  -webkit-text-stroke: 1.5px var(--red);
}

.foot__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(246, 239, 225, 0.16);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f8377;
}

.foot__disclaimer {
  position: relative;
  padding: 0 0 28px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #7e7267;
  max-width: 92ch;
}

/* ---------- reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .foot__top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .foot__col:last-child {
    display: none;
  }
}

@media (max-width: 920px) {
  .site-head {
    position: sticky;
    top: 0;
    background: var(--cream);
    backdrop-filter: none;
  }
  .site-head.is-stuck {
    box-shadow: 0 8px 22px -18px rgba(25, 20, 16, 0.6);
  }
  .site-head__inner {
    min-height: 56px;
    max-height: 56px;
    gap: 12px;
  }
  .brand {
    gap: 9px;
  }
  .brand__mark {
    width: 34px;
    height: 34px;
  }
  .brand__mark svg {
    width: 19px;
    height: 19px;
  }
  .brand__text strong {
    font-size: 0.98rem;
  }
  .brand__text span {
    font-size: 0.6rem;
    margin-top: 3px;
  }
  .head-actions {
    gap: 8px;
  }
  .icon-btn {
    width: 38px;
    height: 38px;
  }
  .menu-btn {
    padding: 6px 10px;
    font-size: 0.84rem;
  }
  .ticker {
    height: 28px;
  }
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .head-actions .btn {
    display: none;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .sec-head__side {
    text-align: left;
    max-width: 60ch;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .wrap {
    width: min(100% - 30px, var(--wrap));
  }
  .foot__top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 44px;
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
  .foot__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ledger__row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
  }
  .ledger__arrow {
    display: none;
  }
  .ledger__name {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .ledger__name .leader {
    display: none;
  }
  .ledger__name small {
    width: 100%;
  }
  .price-table {
    font-size: 0.88rem;
  }
  .price-table th,
  .price-table td {
    padding: 8px 8px;
  }
  .prose {
    font-size: 1.05rem;
  }
}

.adslot {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px auto;
  padding: 2px;
  border-radius: 2px;
  background: #f6e4d9;
}

.adslot__label {
  margin-bottom: 4px;
  color: var(--ink-dim);
  font-size: .64rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}