/* CrispyCounter — warm kitchen brand (visual polish 2026-10-27) */
:root {
  --bg: #f6efe6;
  --bg-deep: #efe4d6;
  --surface: #fffdf9;
  --surface-2: #fff7ed;
  --ink: #1c1410;
  --muted: #5c534c;
  --line: #e8dccd;
  --line-strong: #d6c4ae;
  --accent: #d9480f;
  --accent-dark: #9f2d00;
  --accent-soft: #fff1e6;
  --accent-glow: rgba(217, 72, 15, 0.18);
  --ok: #166534;
  --warn: #9a3412;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 20, 16, 0.05), 0 10px 28px rgba(28, 20, 16, 0.07);
  --shadow-hover: 0 4px 10px rgba(28, 20, 16, 0.08), 0 18px 40px rgba(217, 72, 15, 0.12);
  --max: 720px;
  --wide: 1100px;
  --font-display: "Fraunces", "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 12% -10%, rgba(253, 186, 116, 0.35), transparent 60%),
    radial-gradient(900px 420px at 92% 8%, rgba(217, 72, 15, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image: url("assets/grain.svg");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}
.disclosure-bar,
.site-header,
main,
.site-footer { position: relative; z-index: 1; }

a { color: var(--accent-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
code {
  font-size: 0.9em;
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* —— Disclosure —— */
.disclosure-bar {
  background: linear-gradient(90deg, #fff4e6, #ffedd5 50%, #fff4e6);
  border-bottom: 1px solid #fdba74;
  color: var(--warn);
  font-size: 0.875rem;
  text-align: center;
  padding: 0.55rem 1rem;
  font-weight: 500;
}
.disclosure-bar a { color: var(--warn); font-weight: 700; }

/* —— Header —— */
.site-header {
  background: rgba(255, 253, 249, 0.86);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.logo::before {
  content: "";
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 7px;
  background: url("assets/favicon.svg") center / cover no-repeat;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 0.2rem 0.15rem; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { color: var(--accent); background: var(--accent-soft); }
.nav a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* —— Layout —— */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}
main.wide { max-width: var(--wide); }

h1, h2, h3, .logo {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--ink);
}
h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  font-weight: 650;
}
h3 { font-family: var(--font-display); font-weight: 650; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  margin: 0.5rem 0 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(700px 280px at 85% 20%, rgba(234, 88, 12, 0.14), transparent 55%),
    radial-gradient(500px 240px at 10% 90%, rgba(253, 186, 116, 0.35), transparent 50%),
    linear-gradient(145deg, #fffdf9 0%, #fff4e8 55%, #ffe8d2 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/grain.svg");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #fdba74;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin: 0 0 1rem;
}
.hero h1 { max-width: 16ch; }
.lead {
  font-size: 1.175rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 1.35rem;
  line-height: 1.55;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  list-style: none;
  padding: 0;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(28, 20, 16, 0.04);
}
.hero-badges img {
  width: 1.6rem;
  height: 1.6rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: linear-gradient(180deg, #ea580c 0%, var(--accent) 100%);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 45, 0, 0.35);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 6px 16px var(--accent-glow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn:hover {
  background: linear-gradient(180deg, #f97316 0%, var(--accent-dark) 100%);
  filter: brightness(1.02);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 22px var(--accent-glow);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 2px 6px var(--accent-glow);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink) !important;
  border: 1px solid var(--line-strong);
  box-shadow: 0 1px 2px rgba(28, 20, 16, 0.04);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark) !important;
  background: var(--surface);
  filter: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 0.5rem; }

/* —— Cards —— */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
  margin: 1.5rem 0 2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #fdba74);
  opacity: 0;
  transition: opacity 0.18s;
}
a.card:hover {
  border-color: #f0b27a;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
a.card:hover::before { opacity: 1; }
.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.35rem;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  border: 1px solid #fed7aa;
}
.card-icon img { width: 1.85rem; height: 1.85rem; }
.card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
.card .tag,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  margin-bottom: 0.35rem;
}

/* —— Sections —— */
.section { margin: 2.75rem 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.section h2 { margin-bottom: 0.35rem; }
.section-kicker {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 1rem;
  max-width: 40rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.checklist li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem 1rem 1rem;
  box-shadow: var(--shadow);
  position: relative;
  padding-left: 2.6rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 1.15rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.checklist strong { color: var(--ink); font-family: var(--font-display); }

/* —— Tables —— */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  margin: 1rem 0 1.5rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: linear-gradient(180deg, #fff7ed, #ffedd5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warn);
  font-weight: 700;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255, 247, 237, 0.55); }
td .btn { padding: 0.55rem 0.95rem; font-size: 0.88rem; white-space: nowrap; }

/* —— Notes / placeholders —— */
.affiliate-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fef3c7;
  color: #78350f;
  border: 1px dashed #d97706;
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.affiliate-placeholder:hover { background: #fde68a; color: #78350f; }
.affiliate-placeholder::before { content: "⏳"; }

.note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.15rem;
  border-radius: 0 12px 12px 0;
  color: var(--muted);
  font-size: 0.97rem;
  box-shadow: 0 1px 2px rgba(28,20,16,0.04);
}
.note strong { color: var(--ink); }

/* —— Article / prose —— */
.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.35rem;
}
.prose {
  max-width: 40.5rem;
}
/* Drop cap on first body paragraph after article meta */
.prose h1 + .article-meta + p::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.15rem;
  float: left;
  line-height: 0.82;
  padding: 0.1rem 0.5rem 0 0;
  color: var(--accent-dark);
}
.prose h2 { margin-top: 2.35rem; scroll-margin-top: 5rem; }
.prose h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: 0.4rem 0; }
.prose p { margin: 0.9rem 0; }

.stub {
  opacity: 0.9;
  border-style: dashed;
  background: repeating-linear-gradient(
    -45deg,
    var(--surface),
    var(--surface) 10px,
    #faf6f0 10px,
    #faf6f0 20px
  );
}
.stub .tag { color: var(--muted); background: #f5f5f4; border-color: var(--line); }

/* —— CTA / Our pick —— */
.cta-box {
  background:
    linear-gradient(135deg, #fffdf9 0%, #fff7ed 100%);
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.35rem;
  margin: 1.65rem 0;
  box-shadow: var(--shadow), 0 0 0 4px rgba(253, 186, 116, 0.2);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "Our pick";
  position: absolute;
  top: 0.85rem;
  right: -2.1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 2.4rem;
  transform: rotate(35deg);
  box-shadow: 0 2px 8px var(--accent-glow);
}
.cta-box h3 {
  margin: 0 0 0.65rem;
  padding-right: 4.5rem;
  font-size: 1.2rem;
}
.cta-box .btn { margin-top: 0.35rem; }
.cta-box p { margin: 0 0 0.75rem; color: var(--muted); }

/* —— Page hero for hubs —— */
.page-hero {
  margin: 0 0 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero .lead { margin-bottom: 0.75rem; }

/* —— Footer —— */
.site-footer {
  border-top: 1px solid #292524;
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(234, 88, 12, 0.18), transparent 60%),
    linear-gradient(180deg, #1c1917 0%, #0c0a09 100%);
  color: #d6d3d1;
  padding: 2.5rem 1.25rem 2rem;
  font-size: 0.92rem;
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.45rem;
}
.footer-brand span { color: #fdba74; }
.footer-tagline {
  color: #a8a29e;
  max-width: 28rem;
  margin: 0 0 0.85rem;
  line-height: 1.5;
}
.footer-disclosure {
  font-size: 0.82rem;
  color: #a8a29e;
  max-width: 32rem;
  line-height: 1.45;
}
.site-footer a { color: #fdba74; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fed7aa; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  align-content: flex-start;
  justify-content: flex-end;
}
.footer-col-title {
  width: 100%;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.footer-bottom {
  max-width: var(--wide);
  margin: 1.75rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid #292524;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: #78716c;
  font-size: 0.82rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* —— Mobile —— */
@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 1rem;
    gap: 0.5rem;
  }
  .logo { font-size: 1.15rem; }
  .nav {
    width: 100%;
    gap: 0.15rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
  }
  .nav a {
    font-size: 0.88rem;
    padding: 0.35rem 0.6rem;
    white-space: nowrap;
  }
  .hero {
    padding: 1.5rem 1.15rem 1.4rem;
    margin-top: 0.25rem;
  }
  .hero h1 { max-width: none; }
  .cards { grid-template-columns: 1fr; gap: 0.9rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .cta-box::before {
    right: -2.4rem;
    top: 0.65rem;
    font-size: 0.62rem;
    padding: 0.25rem 2.2rem;
  }
  th, td { padding: 0.7rem 0.65rem; font-size: 0.88rem; }
  .affiliate-placeholder { white-space: normal; }
  .btn-row .btn { width: 100%; }
  td .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  a.card:hover { transform: none; }
  .btn:hover, .btn:active { transform: none; }
}

/* cc-deploy visual-polish 2026-10-27T21:30-05:00 */
