/* =========================================================================
   The Wok Book — design system
   Translated from /v5 mockup (theme.css + organic.css + whimsy.css + prose.css)
   ========================================================================= */

/* Fonts ---------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Work+Sans:wght@400;600;800;900&display=swap");

/* Design tokens -------------------------------------------------------- */
:root {
  --background: #fef9f3;
  --foreground: #1a0f0a;
  --card: #fffbf5;
  --card-foreground: #1a0f0a;
  --primary: #ff6b35;
  --primary-foreground: #ffffff;
  --secondary: #ffe66d;
  --secondary-foreground: #1a0f0a;
  --accent: #4ecdc4;
  --accent-foreground: #1a0f0a;
  --accent-soft: #95e1d3;
  --pink: #f38181;
  --muted: #f4ebe1;
  --muted-foreground: #8b7355;
  --border: #e8d5c4;
  --max-w: 1280px;

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Base reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
hr { border: none; height: 4px; background: var(--foreground); margin: 3rem 0; }

/* Display headings inherit Bebas Neue ---------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 0.95;
}

/* Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Color utility classes ----------------------------------------------- */
.bg-primary { background: var(--primary); color: var(--primary-foreground); }
.bg-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.bg-accent { background: var(--accent); color: var(--accent-foreground); }
.bg-muted { background: var(--muted); color: var(--foreground); }
.bg-fg { background: var(--foreground); color: var(--background); }
.bg-bg { background: var(--background); color: var(--foreground); }
.bg-white { background: #fff; }
.text-primary { color: var(--primary); }
.text-fg { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }

/* Typography utilities ------------------------------------------------- */
.font-display { font-family: var(--font-display); letter-spacing: 0.02em; }
.font-body { font-family: var(--font-body); }
.font-black { font-weight: 900; }
.font-bold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.04em; }
.tracking-tight { letter-spacing: -0.02em; }
.italic { font-style: italic; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
.text-8xl { font-size: 6rem; }
.text-display-hero {
  font-family: var(--font-display);
  font-size: clamp(6rem, 24vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.text-display-1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 7rem);
  line-height: 0.9;
}
.text-display-2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 0.95;
}
.text-display-3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}

/* Spacing utilities ---------------------------------------------------- */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.my-4 { margin: 1rem 0; }
.my-8 { margin: 2rem 0; }
.my-12 { margin: 3rem 0; }
.my-16 { margin: 4rem 0; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Flex / display ------------------------------------------------------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }

/* Organic blob shapes (border-radius variants) ------------------------- */
.organic-blob-1 { border-radius: 73% 27% 56% 44% / 47% 73% 27% 53%; }
.organic-blob-2 { border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%; }
.organic-blob-3 { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
.organic-blob-4 { border-radius: 42% 58% 70% 30% / 45% 70% 30% 55%; }
.organic-blob-5 { border-radius: 68% 32% 42% 58% / 35% 60% 40% 65%; }
.organic-blob-6 { border-radius: 52% 48% 33% 67% / 58% 41% 59% 42%; }

/* Random rotation utilities ------------------------------------------- */
.rotate-random-1 { transform: rotate(-3deg); }
.rotate-random-2 { transform: rotate(2deg); }
.rotate-random-3 { transform: rotate(-4deg); }
.rotate-random-4 { transform: rotate(3deg); }
.rotate-random-5 { transform: rotate(-2deg); }
.rotate-random-6 { transform: rotate(4deg); }
.hover-rotate-0 { transition: transform 300ms ease; }
.hover-rotate-0:hover { transform: rotate(0deg) scale(1.05); }

/* Decorative styles ---------------------------------------------------- */
.shadow-organic {
  box-shadow:
    -8px 12px 0px -2px rgba(255, 107, 53, 0.15),
    -16px 24px 0px -4px rgba(76, 205, 196, 0.10);
}

.texture-grain { position: relative; }
.texture-grain::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}
.texture-grain > * { position: relative; z-index: 1; }

.squiggle-underline { position: relative; display: inline-block; }
.squiggle-underline::after {
  content: "";
  position: absolute;
  bottom: -0.25em;
  left: 0; right: 0;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5Q5 0 10 5T20 5T30 5T40 5T50 5T60 5T70 5T80 5T90 5T100 5' stroke='%23ff6b35' stroke-width='3' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 100px 10px;
}

.outline-squiggle {
  border: none;
  outline: 4px dashed currentColor;
  outline-offset: 8px;
}

/* Polaroid frame ------------------------------------------------------- */
.polaroid-frame {
  position: relative;
  background: white;
  padding: 12px 12px 48px 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.polaroid-frame::after {
  content: "";
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 2px;
  background: rgba(0, 0, 0, 0.15);
}
.tape-corner { position: relative; }
.tape-corner::before {
  content: "";
  position: absolute;
  top: -8px; right: 20%;
  width: 80px; height: 30px;
  background: rgba(255, 230, 109, 0.6);
  transform: rotate(-5deg);
  border-left: 2px dashed rgba(255, 230, 109, 0.8);
  border-right: 2px dashed rgba(255, 230, 109, 0.8);
}

/* Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%;
  background: var(--background);
  color: var(--foreground);
  border-bottom: 8px solid var(--foreground);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5.5rem;
}
.site-header__logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: inherit;
}
.site-header__logo svg { width: 2.75rem; height: 2.75rem; }
.site-header__logo .brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.site-nav { display: none; gap: 2rem; align-items: center; }
.site-nav a {
  text-decoration: none;
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: rgba(26, 15, 10, 0.85);
  transition: transform 200ms ease, color 200ms ease;
  display: inline-block;
}
.site-nav a:hover { color: var(--foreground); transform: scale(1.1) rotate(0deg) !important; }
.site-header__actions { display: none; align-items: center; gap: 0.75rem; }
.site-header__search {
  background: transparent; border: none; color: inherit;
  padding: 0.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease;
}
.site-header__search:hover { color: var(--foreground); transform: scale(1.15); }
.site-header__search-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* The field wrapper collapses to zero width when closed and grows
   leftward when open. Holds the <input> plus an inline clear button. */
.site-header__search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header__search-form.open .site-header__search-field {
  width: 18rem;
}
@media (max-width: 1199px) {
  .site-header__search-form.open .site-header__search-field { width: 14rem; }
}

.site-header__search-input {
  width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  border: 3px solid var(--foreground);
  background: #fff;
  color: var(--foreground);
  font-family: var(--font-body, inherit);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 4px 4px 0 0 var(--foreground);
  outline: none;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.site-header__search-input::placeholder {
  color: rgba(26, 15, 10, 0.45);
  font-weight: 500;
}
.site-header__search-input::-webkit-search-cancel-button,
.site-header__search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.site-header__search-input:focus {
  border-color: var(--primary);
  box-shadow: 4px 4px 0 0 var(--primary);
  transform: translate(-1px, -1px);
}

/* Clear button sits inside the input on the right; appears only when
   the form is in the `has-value` state. */
.site-header__search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--foreground);
  color: #fff;
  border: none;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease, background 150ms ease;
}
.site-header__search-form.has-value .site-header__search-clear {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.site-header__search-clear:hover {
  background: var(--primary);
}

/* When the search is open, give the toggle a subtle highlight so the
   user knows it submits the query (or closes the empty field). */
.site-header__search-form.open .site-header__search {
  color: var(--primary);
}
.site-header__cta {
  background: var(--primary); color: #fff;
  text-decoration: none;
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  transition: transform 200ms ease;
}
.site-header__cta:hover { transform: rotate(0deg) scale(1.05); }
.site-header__menu-toggle {
  background: transparent; border: none; color: inherit;
  padding: 0.5rem;
}
@media (min-width: 1024px) {
  .site-nav { display: flex; }
  .site-header__actions { display: flex; }
  .site-header__menu-toggle { display: none; }
}

.site-header__mobile { display: none; padding: 1.5rem 0; border-top: 4px solid rgba(26,15,10,0.15); }
.site-header__mobile.open { display: block; }
.site-header__mobile nav { display: flex; flex-direction: column; gap: 1.25rem; }
.site-header__mobile a {
  color: var(--foreground);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
}

/* Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--foreground);
  color: var(--background);
  margin-top: auto;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer__blob {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  z-index: 0;
}
.site-footer__blob--tl { top: -4rem; left: -4rem; width: 18rem; height: 18rem; background: var(--primary); }
.site-footer__blob--br { bottom: -4rem; right: -4rem; width: 14rem; height: 14rem; background: var(--accent); }
@media (min-width: 768px) {
  .site-footer__blob--tl { top: 0; left: 0; width: 24rem; height: 24rem; }
  .site-footer__blob--br { bottom: 0; right: 0; width: 16rem; height: 16rem; }
}
.site-footer > .container { position: relative; z-index: 1; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 700;
  display: block;
  padding: 0.25rem 0;
  transition: color 200ms ease;
}
.site-footer a:hover { color: #fff; }
.site-footer__brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.site-footer__brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.75rem; text-transform: uppercase;
}
.site-footer__copy {
  text-align: center;
  padding-top: 2rem;
  border-top: 4px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

/* Playful breadcrumbs -------------------------------------------------- */
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem 0;
}
.breadcrumb-item {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--secondary);
  color: var(--foreground);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 200ms ease;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb-item--current { max-width: 100%; }
@media (max-width: 639px) {
  .breadcrumb-item--current { max-width: 14rem; }
}
.breadcrumb-item--home { background: var(--primary); color: #fff; }
.breadcrumb-item--mid { background: var(--accent); color: var(--foreground); }
.breadcrumb-item--current { background: var(--secondary); color: var(--foreground); }
a.breadcrumb-item:hover { transform: rotate(0deg) scale(1.1) !important; }
.breadcrumb-arrow {
  font-size: 1.75rem; font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: transform 250ms ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: rotate(0deg) scale(1.05); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--secondary { background: var(--secondary); color: var(--foreground); }
.btn--accent { background: var(--accent); color: var(--foreground); }
.btn--dark { background: var(--foreground); color: var(--background); }
.btn--lg { padding: 1.25rem 2.5rem; font-size: 1.125rem; }
.btn--xl { padding: 1.5rem 3rem; font-size: 1.25rem; }

/* Cards (generic) ------------------------------------------------------ */
.card { background: var(--card); padding: 2rem; }
.card-blob {
  padding: 2.5rem;
  position: relative;
  transition: transform 350ms ease;
}
.card-blob:hover { transform: rotate(0deg) scale(1.05); }

/* Prose (article body) ------------------------------------------------- */
.prose-custom { font-size: 1.125rem; line-height: 1.75; }
.prose-custom h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin: 3rem 0 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.prose-custom h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 2rem 0 1rem;
  letter-spacing: 0.02em;
}
.prose-custom h4 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin: 1.5rem 0 0.75rem;
}
.prose-custom p {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}
.prose-custom ul, .prose-custom ol {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.8;
}
.prose-custom li { margin: 0.5rem 0; }
.prose-custom ul { list-style: none; padding-left: 0; }
.prose-custom ul > li {
  position: relative;
  padding-left: 1.75rem;
}
.prose-custom ul > li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}
.prose-custom strong { font-weight: 800; color: var(--foreground); }
.prose-custom a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 1px;
  transition: background 200ms ease;
}
.prose-custom a:hover { background: rgba(255, 107, 53, 0.1); }
.prose-custom hr {
  border: none; height: 4px; background: var(--foreground);
  margin: 3rem 0;
}
.prose-custom table {
  width: 100%; border-collapse: collapse;
  margin: 2rem 0;
}
.prose-custom th, .prose-custom td {
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(26,15,10,0.15);
  text-align: left;
}
.prose-custom th {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  border-bottom: 4px solid var(--foreground);
}
.prose-custom blockquote {
  border-left: 6px solid var(--primary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-style: italic;
  font-weight: 600;
  margin: 2rem 0;
}
.prose-custom code {
  background: var(--muted);
  padding: 0.1rem 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
}
.prose-custom img { margin: 2rem auto; }

/* Article body — recipe shortcode list styling override ----------------*/
.recipe-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: rec;
}
.recipe-steps > li {
  counter-increment: rec;
  position: relative;
  padding: 0 0 1.5rem 3.5rem;
  margin: 0;
}
.recipe-steps > li::before {
  content: counter(rec);
  position: absolute;
  left: 0; top: -0.25rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--primary);
  font-weight: 400;
  line-height: 1;
}
.recipe-group-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 4px dashed rgba(255, 107, 53, 0.4);
}
.recipe-group-heading strong { font-weight: 400; }

/* Inline content callouts (blob-shaped) ------------------------------- */
.callout-blob {
  padding: 2.5rem;
  margin: 2.5rem 0;
  position: relative;
}
.callout-blob h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.callout-blob p {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* Affiliate disclosure box (new look) --------------------------------- */
.affiliate-disclosure {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(78, 205, 196, 0.2);
  border-left: 8px solid var(--accent);
}
.affiliate-disclosure__icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900;
  flex-shrink: 0;
}
.affiliate-disclosure__body { display: flex; gap: 1rem; align-items: flex-start; }
.affiliate-disclosure__heading { font-weight: 900; font-size: 1.1rem; margin-bottom: 0.4rem; }
.affiliate-disclosure__text { font-size: 0.95rem; line-height: 1.6; }
.affiliate-disclosure__dot {
  position: absolute;
  top: -0.75rem; right: -0.75rem;
  width: 3rem; height: 3rem;
  background: var(--accent);
  opacity: 0.4;
}

/* Brand partner disclosure -------------------------------------------- */
.brand-disclosure {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 107, 53, 0.12);
  border-left: 8px solid var(--primary);
}
.brand-disclosure__body { display: flex; gap: 1rem; align-items: flex-start; }
.brand-disclosure__heading { font-weight: 900; font-size: 1.1rem; margin-bottom: 0.4rem; }
.brand-disclosure__text { font-size: 0.95rem; line-height: 1.6; }

/* Product CTA (3 variants) -------------------------------------------- */
.product-cta { margin: 3rem 0; position: relative; }
.product-cta--blob {
  background: var(--secondary);
  padding: 2.5rem;
}
.product-cta--blob .dot {
  position: absolute; top: -1rem; right: -1rem;
  width: 4rem; height: 4rem;
  background: var(--primary);
}
.product-cta--boxed {
  background: var(--accent);
  border: 8px solid var(--foreground);
  padding: 2rem;
  position: relative;
}
.product-cta--boxed .pill {
  position: absolute;
  top: -0.75rem; left: 2rem;
  background: var(--foreground); color: var(--background);
  padding: 0.5rem 1.5rem;
  font-weight: 900; text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.product-cta--tilted {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem;
}
.product-cta--tilted h3, .product-cta--tilted p { color: #fff; }
.product-cta--tilted .btn--primary { background: #fff; color: var(--primary); }
.product-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.product-cta p {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

/* Book CTA (evergreen) ------------------------------------------------ */
.book-cta {
  margin: 4rem 0;
  position: relative;
}
.book-cta__inner {
  background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(78,205,196,0.2));
  padding: 3rem;
  position: relative;
  transition: transform 350ms ease;
}
.book-cta__inner:hover { transform: rotate(0deg); }
.book-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .book-cta__grid { grid-template-columns: 220px 1fr; }
}
.book-cta__image {
  display: flex; justify-content: center;
}
.book-cta__image .polaroid-frame { width: 200px; }
.book-cta__image .polaroid-frame > div {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #fff0d6, #ffe1bd);
  overflow: hidden;
}
.book-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.book-cta__text {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  max-width: 38rem;
}

/* Article hero --------------------------------------------------------- */
.article-hero {
  position: relative;
  padding: 3rem 0 2rem;
}
.article-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--foreground);
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.article-meta__author {
  display: flex; align-items: center; gap: 0.75rem;
}
.article-meta__author-initials {
  width: 4rem; height: 4rem;
  background: var(--primary);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}
.article-meta__name { font-weight: 900; font-size: 1.1rem; }
.article-meta__role { color: var(--muted-foreground); font-weight: 700; font-size: 0.95rem; }
.article-meta__date {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--muted-foreground);
  font-weight: 700;
}
.article-meta__read {
  background: var(--muted);
  padding: 0.4rem 1rem;
  font-weight: 900; text-transform: uppercase;
  font-size: 0.85rem;
}

/* Article hero image with blob backdrop ------------------------------- */
.article-hero-image {
  position: relative;
  margin: 2.5rem 0;
  overflow: hidden;            /* contain decorative blob overflow on mobile */
  padding: 1rem 0;
}
@media (min-width: 1024px) {
  .article-hero-image { overflow: visible; padding: 2rem 0; }
}
.article-hero-image__blob {
  background: var(--primary);
  padding: 1.5rem;
  display: inline-block;
  position: relative;
  transition: transform 500ms ease;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .article-hero-image__blob { padding: 3rem; }
}
.article-hero-image__blob:hover { transform: rotate(0deg); }
.article-hero-image__blob .polaroid-frame { display: inline-block; max-width: 100%; }
.article-hero-image__blob img {
  width: 100%; height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.article-hero-image__dot1 {
  position: absolute;
  bottom: -1.5rem; right: -1rem;
  width: 6rem; height: 6rem;
  background: var(--accent);
  z-index: -1;
}
.article-hero-image__dot2 {
  position: absolute;
  top: -1rem; left: -1rem;
  width: 5rem; height: 5rem;
  background: var(--secondary);
  z-index: -1;
}
@media (min-width: 1024px) {
  .article-hero-image__dot1 { width: 10rem; height: 10rem; bottom: -2.5rem; right: -2.5rem; }
  .article-hero-image__dot2 { width: 8rem; height: 8rem; top: -2rem; left: -2rem; }
}

/* Article layout w/ sidebar ------------------------------------------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 2rem 0 4rem;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 1fr 340px; gap: 4rem; }
}
.article-aside {
  display: flex; flex-direction: column; gap: 3rem;
}
@media (min-width: 1024px) {
  .article-aside { position: sticky; top: 7rem; align-self: start; }
}

.toc-card {
  position: relative;
}
.toc-card__shadow {
  position: absolute;
  inset: -0.5rem;
  background: rgba(255,230,109,0.6);
}
.toc-card__inner {
  position: relative;
  background: #fff;
  border-top: 8px solid rgba(26,15,10,0.8);
  border-bottom: 8px solid rgba(26,15,10,0.8);
  padding: 2rem;
}
.toc-card__body {
  border-left: 4px dashed rgba(255, 107, 53, 0.4);
  padding-left: 1.5rem;
}
.toc-card__heading {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-decoration-color: var(--primary);
}
.toc-list { display: flex; flex-direction: column; gap: 0.75rem; }
.toc-list a {
  display: flex; gap: 0.75rem; align-items: flex-start;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  line-height: 1.4;
  transition: color 150ms ease;
}
.toc-list a:hover { color: var(--primary); }
.toc-list a .num {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.5rem;
  font-family: var(--font-display);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 150ms ease;
}
.toc-list a:hover .num { transform: scale(1.25); }

.related-card { position: relative; }
.related-card__heading {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--foreground);
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
}
.related-list { display: flex; flex-direction: column; gap: 1.5rem; }
.related-list a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 300ms ease;
}
.related-list a:hover { transform: rotate(0deg) scale(1.05) !important; }
.related-list .related-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--muted), rgba(244,235,225,0.5));
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.related-list .related-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.related-list .cat {
  font-size: 0.75rem; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.related-list .title { font-weight: 900; font-size: 1rem; line-height: 1.3; }

/* Comparison table (shortcode) ---------------------------------------- */
.comparison-table-wrap {
  margin: 3rem 0;
  position: relative;
}
.comparison-table-blob {
  background: rgba(78, 205, 196, 0.3);
  padding: 2.5rem 2rem 2rem;
  position: relative;
}
.comparison-table-title {
  position: absolute;
  top: -1rem; left: 2rem;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.5rem;
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.comparison-table-wrap table {
  width: 100%; border-collapse: collapse;
  margin-top: 1.5rem;
}
.comparison-table-wrap th {
  text-align: left; padding: 0.75rem 0.75rem;
  font-family: var(--font-display);
  text-transform: uppercase; font-size: 1.1rem;
  border-bottom: 4px solid var(--foreground);
  font-weight: 400;
}
.comparison-table-wrap td {
  padding: 0.85rem 0.75rem;
  border-bottom: 2px solid rgba(26,15,10,0.15);
  font-weight: 700;
}
.comparison-table-wrap tr.highlight { background: var(--secondary); }
.comparison-table-wrap td.name a { font-weight: 900; text-decoration: underline; color: inherit; }
.comparison-table-wrap td.price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }

/* Article index — filter pills + card grid ---------------------------- */
.filter-pills {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-pill {
  padding: 0.75rem 1.75rem;
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--muted);
  color: var(--foreground);
  border: 4px solid rgba(26,15,10,0.15);
  text-decoration: none;
  transition: transform 250ms ease;
}
.filter-pill:hover { transform: rotate(0deg) scale(1.1) !important; }
.filter-pill--active { background: var(--foreground); color: var(--background); border-color: transparent; }

/* Article card (used in homepage featured + index) -------------------- */
.article-card { display: block; text-decoration: none; color: inherit; transition: transform 300ms ease; }
.article-card:hover { transform: rotate(0deg) scale(1.05) !important; }
.article-card__inner {
  padding: 2rem;
  min-height: 24rem;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.article-card__cat {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-bottom: 1.25rem;
}
.article-card__img { margin: 0.5rem 0 1.5rem -0.5rem; }
.article-card__img .polaroid-frame img,
.article-card__img .polaroid-frame > div {
  aspect-ratio: 16/9; overflow: hidden;
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) {
  .article-card__title { font-size: 1.75rem; }
}
@media (min-width: 1024px) {
  .article-card__title { font-size: 2rem; }
}
.article-card__inner { min-height: 0; padding: 1.75rem; }
@media (min-width: 1024px) {
  .article-card__inner { padding: 2rem; min-height: 24rem; }
}
.article-card__read {
  font-weight: 900;
  font-size: 1.125rem;
  margin-top: 1rem;
  transition: transform 200ms ease;
  display: inline-block;
}
.article-card:hover .article-card__read { transform: translateX(0.5rem); }

/* Pagination ---------------------------------------------------------- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem;
  padding: 2rem 0 4rem;
  flex-wrap: wrap;
}
.pagination button, .pagination a {
  font-family: var(--font-body);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--muted); color: var(--foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: transform 200ms ease;
}
.pagination .nav-btn { background: var(--foreground); color: var(--background); padding: 0.75rem 2rem; }
.pagination .page-num {
  width: 3.25rem; height: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
  font-size: 1.125rem;
}
.pagination .page-num.active { background: var(--primary); color: #fff; }
.pagination button:disabled, .pagination .disabled { opacity: 0.4; cursor: not-allowed; }
.pagination button:hover:not(:disabled), .pagination a:hover {
  transform: rotate(0deg) scale(1.1) !important;
}

/* Hero (homepage / page-title regions) -------------------------------- */
.hero {
  position: relative;
  padding: 3rem 0;
  background: rgba(255, 230, 109, 0.25);
  overflow: hidden;
}
.hero--home {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.hero__blob1, .hero__blob2 {
  position: absolute; pointer-events: none;
}
.hero__blob1 { top: 0; right: -3rem; width: 18rem; height: 18rem; background: var(--primary); opacity: 0.2; }
.hero__blob2 { bottom: 0; left: -3rem; width: 14rem; height: 14rem; background: var(--accent); opacity: 0.2; }
.hero h1 { margin: 1rem 0; }
.hero__sub { font-size: 1.5rem; font-weight: 800; max-width: 36rem; line-height: 1.5; }

/* Hero grid w/ template-areas — on mobile: title, image, body stacked.
   On desktop: title+body in left column, image spans both rows on right. */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "image"
    "body";
  gap: 2rem;
  align-items: start;
}
.hero-grid__title { grid-area: title; }
.hero-grid__image { grid-area: image; }
.hero-grid__body  { grid-area: body; }

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title image"
      "body  image";
    gap: 2rem 3rem;
    align-items: center;
  }
  .hero-grid__title { margin-bottom: 1rem; }
}

.hero-grid__image {
  display: flex; justify-content: center;
  position: relative;
}
.hero-grid__image-inner {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.hero-grid__blob {
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: center;
}
.hero-grid__blob .polaroid-frame { display: inline-block; }
.hero-grid__blob img {
  width: clamp(220px, 60vw, 380px);
  height: auto;
}
@media (min-width: 1024px) {
  .hero-grid__blob { padding: 3rem; }
  .hero-grid__blob img { width: clamp(280px, 28vw, 400px); }
}
.hero-grid__dot1, .hero-grid__dot2 {
  position: absolute; pointer-events: none;
}
.hero-grid__dot1 {
  bottom: -2rem; right: -1.5rem;
  width: 9rem; height: 9rem;
  background: var(--secondary);
}
.hero-grid__dot2 {
  top: -1.5rem; left: -1.5rem;
  width: 6.5rem; height: 6.5rem;
  background: var(--accent);
}
@media (min-width: 1024px) {
  .hero-grid__dot1 { width: 11rem; height: 11rem; bottom: -2.5rem; right: -2rem; }
  .hero-grid__dot2 { width: 7.5rem; height: 7.5rem; top: -2rem; left: -2rem; }
}

/* Reviews marquee — continuous horizontal scroll. The track holds two
   identical copies of the review set; animating translateX from 0 to -50%
   produces a seamless infinite loop. */
.reviews-marquee {
  width: 100%;
  overflow: hidden;
  /* Soft edge fade so cards appear/disappear gracefully */
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
          mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.reviews-marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 2rem 1rem;
  animation: reviews-scroll 90s linear infinite;
  will-change: transform;
}
.reviews-marquee:hover .reviews-marquee__track,
.reviews-marquee:focus-within .reviews-marquee__track {
  animation-play-state: paused;
}
.reviews-marquee__card {
  flex: 0 0 22rem;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 20rem;
}
.reviews-marquee__quote {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  max-width: 18rem;
}
.reviews-marquee__author {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: 0.02em;
}
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee__track { animation: none; }
}
@media (max-width: 767px) {
  /* On mobile, give up on the auto-scroll and let users swipe naturally. */
  .reviews-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .reviews-marquee__track {
    animation: none;
    padding: 1.5rem 1rem;
  }
  .reviews-marquee__card {
    flex-basis: 18rem;
    scroll-snap-align: center;
    min-height: 18rem;
  }
}

/* "More from J. Kenji" book card — polaroid above text on mobile,
   overlay layout on desktop. */
.book-card {
  padding: 2rem;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.book-card__image {
  width: 11rem;
  max-width: 70%;
  margin-bottom: 0;
}
.book-card__body {
  position: relative;
  z-index: 0;
  text-align: center;
}
@media (min-width: 768px) {
  .book-card { padding: 2.5rem; min-height: 24rem; display: block; }
  .book-card__image {
    position: absolute;
    top: -1rem;
    right: -2rem;
    width: 11rem;
    max-width: none;
    z-index: 10;
  }
  .book-card__body { max-width: 55%; padding-right: 1rem; text-align: left; }
}

/* About page section blocks (used by about/_index or page template) --- */
.about-section {
  position: relative;
  padding: 2.5rem;
  margin: 2.5rem 0;
}
.about-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.about-section p, .about-section li { font-size: 1.05rem; line-height: 1.6; }

/* Misc helpers --------------------------------------------------------- */
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.min-h-screen { min-height: 100vh; }
.z-10 { z-index: 10; }
.z-0 { z-index: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-60 { opacity: 0.6; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }

/* Backward-compat — legacy Bootstrap-ish class names used in old
   buyer's-guide HTML blocks inside markdown bodies. Maps them onto the
   new design language so we don't have to migrate every post immediately. */
.prose-custom .card {
  background: var(--secondary);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  position: relative;
  border-radius: 38% 62% 63% 37% / 70% 33% 67% 30%;
  box-shadow: -8px 12px 0 -2px rgba(255,107,53,0.15), -16px 24px 0 -4px rgba(76,205,196,0.10);
  transform: rotate(-2deg);
  transition: transform 300ms ease;
}
.prose-custom .card:hover { transform: rotate(0deg) scale(1.02); }
.prose-custom .card-header {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}
.prose-custom .card-body { padding: 0; }
.prose-custom .card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0.25rem 0 1rem;
}
.prose-custom .btn-main {
  display: inline-block;
  background: var(--foreground); color: var(--background);
  padding: 0.75rem 1.5rem;
  font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 200ms ease;
  border: none;
}
.prose-custom .btn-main:hover { transform: scale(1.05); }
.prose-custom .recipe-group-heading { background: transparent; }

/* Site search page --------------------------------------------------- */
.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;
}
.site-search-form {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  max-width: 48rem; margin: 0 auto 2rem;
}
@media (max-width: 599px) {
  .site-search-form { gap: 0.6rem; }
  .site-search-form__btn { width: 100%; }
}
.site-search-form__input {
  flex: 1 1 14rem;
  min-width: 0;
  font-family: var(--font-body, inherit);
  font-size: 1.15rem;
  padding: 0.9rem 1.1rem;
  border: 3px solid var(--foreground, #1a0f0a);
  border-radius: 0;
  background: #fff;
  box-shadow: 6px 6px 0 0 var(--foreground, #1a0f0a);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.site-search-form__input:focus {
  outline: none;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--primary, #ff6b35);
}
.site-search-form__btn {
  font-family: var(--font-display, inherit);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary, #ff6b35);
  border: 3px solid var(--foreground, #1a0f0a);
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  box-shadow: 6px 6px 0 0 var(--foreground, #1a0f0a);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.site-search-form__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--foreground, #1a0f0a);
}
.site-search-status {
  margin: 0 0 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(26, 15, 10, 0.75);
}
.site-search-empty {
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(26, 15, 10, 0.75);
}
/* Results render `.article-card` markup (see static/js/search.js)
   so the grid + hover styles come from the existing list view. */
.site-search-grid + .site-search-fuzzy-divider { margin-top: 3rem; }
.site-search-fuzzy-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.site-search-fuzzy-divider::before,
.site-search-fuzzy-divider::after {
  content: '';
  flex: 1;
  height: 3px;
  background: var(--foreground, #1a0f0a);
}
.site-search-fuzzy-divider span {
  font-family: var(--font-display, inherit);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  background: #ffe66d;
  border: 3px solid var(--foreground, #1a0f0a);
  box-shadow: 3px 3px 0 0 var(--foreground, #1a0f0a);
}
.site-search-empty {
  font-size: 1.1rem;
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(26, 15, 10, 0.75);
}
.site-search-results mark {
  background: #ffe66d;
  color: inherit;
  padding: 0 0.15em;
  border-radius: 0;
}

/* Accessibility ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rotate-random-1, .rotate-random-2, .rotate-random-3,
  .rotate-random-4, .rotate-random-5, .rotate-random-6 { transform: none; }
}
