/*
Theme Name: Bricks Child Theme
Description: Skilletly child theme — customized for skilletly.com (recipe autoblog). Built on Bricks Builder.
Author: Skilletly
Author URI: https://skilletly.com
Template: bricks
Version: 1.1
Text Domain: bricks
*/

/* ============================================================
   SKILLETLY DESIGN SYSTEM v1
   Ported from recipe-post-mockup.html v3.
   Mount: child theme style.css (bricks-child)
   ============================================================ */

:root {
  /* COLOR PALETTE — Diner-modern editorial */
  --cream:       #FAF5EC;  /* warm paper base */
  --paper:       #FFFDF7;  /* slightly whiter card */
  --ink:         #1A1815;  /* warm dark, never pure black */
  --ink-soft:    #4A453F;  /* secondary text */
  --ink-mute:    #8A8479;  /* tertiary / meta */
  --tomato:      #C8392E;  /* accent — CTAs, hover, stamp */
  --tomato-dark: #9B2A22;
  --mustard:     #D4A82B;  /* secondary — labels, numerals */
  --mustard-dark:#8C6E10;  /* AA-compliant for small text on cream */
  --line:        #E5DECE;  /* hairline borders */
  --black:       #1A1815;

  /* TYPOGRAPHY */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Source Serif 4", Georgia, serif;
  --font-ui:      "Archivo", system-ui, sans-serif;

  /* SPACING SCALE */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;
  --s-4: 1rem;     --s-5: 1.5rem;   --s-6: 2rem;
  --s-7: 3rem;     --s-8: 4rem;     --s-9: 6rem;   --s-10: 8rem;

  /* LAYOUT */
  --content-max: 720px;
  --wide-max:    1080px;
}

/* ---------- BRICKS OVERRIDES ---------- */
/* Bricks/UA defaults can leave html font-size unset (Chromium computes ~10px in
   our env), making everything 62.5% smaller than designed. Force 16px so rem
   math matches the mockup. */
html { font-size: 16px; }

/* Bricks's .brxe-container and .brxe-block default to flex-direction: column.
   These rules force row layout where the design needs it. */
.header-inner,
.nav,
.meta-bar,
.recipe-card-meta,
.footer-links,
.tested-tip-label,
.ingredients-list li,
.make-it-yours li,
.byline,
.breadcrumb {
  flex-direction: row !important;
  width: auto !important;
}
.brxe-container { width: 100% !important; }  /* Bricks defaults to fixed 1100px */

/* TESTED stamp must size to content, not inherit 100% width from .brxe-block */
.tested-stamp { width: auto !important; }

/* ---------- RESET / BASE ---------- */
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1, 0 0 0 0 0.1, 0 0 0 0 0.1, 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 90px; /* room for sticky adhesion ad */
}

/* ---------- HEADER / NAV (Bricks elements get these classes) ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.header-inner {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--s-5) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo .dot { color: var(--tomato); }

/* Image logo (header) — when text logo is replaced by SVG/PNG mark */
.logo a { display: inline-block; line-height: 0; }
.logo-image {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 800px) {
  .logo-image { height: 48px; }
}

.nav { display: flex; gap: var(--s-6); align-items: center; }
.nav a {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: var(--s-2) 0;
}
.nav a:hover { color: var(--tomato); }
.nav a.active::after,
.nav a.current-menu-item::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--tomato);
}

/* ---------- HERO ---------- */
.hero {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--s-6) var(--s-6) var(--s-5);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
}
.hero-text {
  position: relative;
  padding-top: var(--s-2);
}
.breadcrumb {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: var(--s-5);
}
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--tomato); }
.breadcrumb .sep { margin: 0 var(--s-2); color: var(--line); }

h1.recipe-title,
.recipe-title h1,
.recipe-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 0;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--s-5);
}
.byline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: var(--s-6);
}
.byline strong { font-style: normal; font-weight: 600; color: var(--ink); }

/* TESTED stamp — rotated rubber-stamp look */
.tested-stamp {
  position: absolute;
  top: var(--s-4);
  right: calc(var(--s-4) * -1);
  transform: rotate(-8deg);
  border: 3px solid var(--tomato);
  color: var(--tomato);
  padding: var(--s-3) var(--s-5);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(250, 245, 236, 0.88);
  box-shadow:
    inset 0 0 0 1px var(--tomato),
    1px 1px 0 rgba(200, 57, 46, 0.2),
    -1px -1px 0 rgba(200, 57, 46, 0.2);
  opacity: 0.95;
  z-index: 2;
}
.tested-stamp .sub {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.8;
}

/* Recipe meta bar — masthead-style */
.meta-bar {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: var(--s-4) 0;
}
.meta-item {
  flex: 1;
  text-align: center;
  padding: 0 var(--s-3);
  border-right: 1px solid var(--line);
}
.meta-item:last-child { border-right: none; }
.meta-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mustard-dark);
  margin-bottom: var(--s-1);
  white-space: nowrap;
}
.meta-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: 1.25rem;
  color: var(--ink);
}

.hero-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    0 1px 2px rgba(26, 24, 21, 0.06),
    0 12px 32px rgba(26, 24, 21, 0.12),
    0 30px 60px rgba(26, 24, 21, 0.08);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- ARTICLE BODY ---------- */
.article,
.skilletly-article {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--s-5) var(--s-6);
}

/* Intro — magazine drop cap */
.intro p {
  font-size: 1.1875rem;
  line-height: 1.7;
  margin-bottom: var(--s-5);
  color: var(--ink);
}
.intro p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: 5.5rem;
  line-height: 0.85;
  float: left;
  padding: 0.25rem 0.5rem 0 0;
  color: var(--mustard);
}

/* Section headers */
h2.section-title,
.skilletly-article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-size: 2.25rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: var(--s-6) 0 var(--s-4);
  line-height: 1.1;
  position: relative;
  padding-bottom: var(--s-3);
}
h2.section-title::after,
.skilletly-article h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  background: var(--tomato);
}

/* ---------- PULL QUOTE ---------- */
.pull-quote {
  margin: var(--s-6) 0;
  padding: var(--s-4) 0 var(--s-4) var(--s-6);
  border-left: 3px solid var(--mustard);
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pull-quote .attr {
  display: block;
  margin-top: var(--s-3);
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mustard-dark);
}

/* ---------- RECIPE CARD (wraps WP Recipe Maker shortcode if applicable) ---------- */
.recipe-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--s-7);
  margin: var(--s-6) 0;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(26, 24, 21, 0.04),
    0 4px 12px rgba(26, 24, 21, 0.05);
}
.recipe-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 32px; height: 32px;
  border-top: 4px solid var(--tomato);
  border-left: 4px solid var(--tomato);
}
.recipe-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-size: 1.625rem;
  margin-bottom: var(--s-4);
  color: var(--ink);
}
.recipe-card-meta {
  display: flex;
  gap: var(--s-5);
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.recipe-card-meta span strong {
  color: var(--ink);
  font-weight: 700;
}

/* Ingredients / Instructions section titles */
.ingredients-title, .instructions-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tomato);
  margin: var(--s-6) 0 var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}

/* Ingredients list */
.ingredients-list {
  list-style: none;
  margin-bottom: var(--s-6);
  padding: 0;
}
.ingredients-list li {
  padding: var(--s-2) var(--s-3);
  border-bottom: 1px dotted var(--line);
  font-size: 1.0625rem;
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  position: relative;
  margin-left: calc(var(--s-3) * -1);
  margin-right: calc(var(--s-3) * -1);
  transition: background-color 0.18s ease;
}
.ingredients-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--mustard);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}
.ingredients-list li:last-child { border-bottom: none; }
.ingredients-list li:hover {
  background: rgba(212, 168, 43, 0.08);
}
.ingredients-list li:hover::before {
  transform: translateY(-2px) scale(1.4);
}
.qty {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--ink);
  min-width: 80px;
  font-variant-numeric: tabular-nums;
}

/* Numbered instructions with oversized serif numerals (absolute-positioned) */
.instructions-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
}
.instructions-list li {
  counter-increment: step;
  position: relative;
  padding: var(--s-5) 0 var(--s-5) 84px;
  border-bottom: 1px solid var(--line);
  min-height: calc(3rem + var(--s-4));
  font-size: 1.0625rem;
  line-height: 1.6;
}
.instructions-list li:last-child { border-bottom: none; }
.instructions-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: var(--s-5);
  width: 64px;
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: 3rem;
  line-height: 0.9;
  color: var(--mustard);
  font-feature-settings: "lnum";
}
.instructions-list li strong {
  display: block;
  margin-bottom: var(--s-1);
  font-weight: 700;
  color: var(--ink);
}

/* ---------- TESTED TIP CALLOUT ---------- */
.tested-tip {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-6) var(--s-7);
  margin: var(--s-6) calc(var(--s-4) * -1);
  position: relative;
}
.tested-tip-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mustard);
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.tested-tip-label::before {
  content: "★";
  color: var(--mustard);
  font-size: 0.875rem;
}
.tested-tip p {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--cream);
}

/* ---------- MAKE IT YOURS ---------- */
.make-it-yours {
  background: rgba(212, 168, 43, 0.08);
  border-left: 4px solid var(--mustard);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
}
.make-it-yours h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 80, "opsz" 72;
  font-size: 1.5rem;
  margin-bottom: var(--s-4);
  color: var(--ink);
}
.make-it-yours ul { list-style: none; padding: 0; }
.make-it-yours li {
  padding: var(--s-2) 0;
  display: flex;
  gap: var(--s-3);
  align-items: baseline;
}
.make-it-yours li::before {
  content: "→";
  color: var(--mustard-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.make-it-yours strong {
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- FAQ ---------- */
.faq { margin: var(--s-7) 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details[open] { padding-bottom: var(--s-4); }
.faq summary {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-weight: 500;
  font-size: 1.25rem;
  padding: var(--s-4) 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: var(--s-7);
  color: var(--ink);
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
/* Custom +/- toggle */
.faq summary::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 18px; height: 2px;
  background: var(--tomato);
  transform: translateY(-50%);
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 2px; height: 18px;
  background: var(--tomato);
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) scaleY(0); }
.faq summary:hover { color: var(--tomato); }
.faq details p {
  padding: 0 0 var(--s-3);
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* ---------- WHAT TO SERVE WITH ---------- */
.serve-with { margin: var(--s-6) 0; }
.serve-with-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.serve-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s;
}
.serve-card:hover { transform: translateY(-4px); }
.serve-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: var(--s-3);
  background: var(--line);
  border-radius: 2px;
}
.serve-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.serve-card:hover .serve-card-img img { transform: scale(1.06); }
.serve-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 80, "opsz" 36;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--ink);
}
.serve-card-cat {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mustard-dark);
  margin-top: var(--s-2);
}

/* ---------- AD SLOTS (Mediavine / AdSense placeholders) ---------- */
.ad-slot {
  margin: var(--s-5) auto;
  background: rgba(212, 168, 43, 0.04);
  border: 1.5px dashed rgba(212, 168, 43, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mustard-dark);
  border-radius: 2px;
  padding: var(--s-4);
  position: relative;
}
.ad-slot:empty::before {
  content: "AD";
  font-weight: 800;
}
.ad-slot-content     { min-height: 250px; }
.ad-slot-leaderboard { min-height: 90px; max-width: 728px; }
.ad-slot-native      { min-height: 200px; }
.ad-slot-sticky {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  min-height: 80px;
  margin: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.97);
  border: none;
  border-top: 1.5px dashed rgba(212, 168, 43, 0.5);
  backdrop-filter: blur(4px);
}

/* ---------- EQUIPMENT USED (affiliate widget) ---------- */
.equipment-box {
  margin: var(--s-6) 0;
  padding: var(--s-5) var(--s-6) var(--s-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--mustard);
}
.equipment-box-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mustard-dark);
  margin-bottom: var(--s-2);
}
.equipment-box h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 80, "opsz" 72;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: var(--s-5);
  line-height: 1.2;
}
.equipment-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-4);
}
.equipment-item {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease;
}
.equipment-item:hover { transform: translateY(-2px); }
.equipment-item-img {
  aspect-ratio: 1;
  background: var(--cream);
  border: 1px solid var(--line);
  margin-bottom: var(--s-3);
  overflow: hidden;
  border-radius: 2px;
}
.equipment-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.equipment-item:hover .equipment-item-img img { transform: scale(1.04); }
.equipment-item-name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--s-2);
  font-weight: 500;
}
.equipment-item-cta {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tomato);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.equipment-item-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}
.equipment-item:hover .equipment-item-cta::after { transform: translateX(3px); }
.equipment-disclosure {
  font-size: 0.8125rem;
  color: var(--ink-mute);
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
  margin-top: var(--s-5);
  font-family: var(--font-body);
  line-height: 1.5;
}

/* ---------- FTC GLOBAL DISCLOSURE banner ---------- */
.disclosure-banner {
  max-width: var(--wide-max);
  margin: var(--s-7) auto 0;
  padding: var(--s-3) var(--s-6);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* ---------- MORE RECIPES (staggered grid) ---------- */
.more-recipes {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--s-9) var(--s-6);
  border-top: 1px solid var(--line);
}
.more-recipes h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: 2.75rem;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.more-recipes-sub {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: var(--s-7);
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.more-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.more-card:nth-child(2) { transform: translateY(var(--s-6)); }
.more-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: var(--s-4);
  border-radius: 2px;
}
.more-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.more-card:hover .more-card-img img { transform: scale(1.04); }
.more-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.more-card-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mustard-dark);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-8) var(--s-6) var(--s-6);
  margin-top: var(--s-9);
}
.footer-inner {
  max-width: var(--wide-max);
  margin: 0 auto;
  text-align: center;
}
.footer-inner .logo { color: var(--cream); }
.footer-inner .logo .dot { color: var(--tomato); }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: 1.125rem;
  color: var(--mustard);
  margin: var(--s-3) 0 var(--s-6);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--s-6);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--s-6);
}
.footer-links a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.7;
}
.footer-links a:hover { opacity: 1; color: var(--mustard); }
.copyright {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--ink-mute);
  opacity: 0.7;
}

/* ---------- ACCESSIBILITY ---------- */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--tomato);
  outline-offset: 2px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HOMEPAGE
   ============================================================ */
.home-hero {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--s-9) var(--s-6) var(--s-7);
  text-align: center;
  position: relative;
}
.home-tagline-small {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--mustard-dark);
  margin-bottom: var(--s-4);
  display: block;
}
.home-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 auto var(--s-5);
  max-width: 20ch;
}
.home-hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 36;
  font-size: 1.5rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin: 0 auto;
}

/* Featured recipe */
.featured-section {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--s-7) var(--s-6) var(--s-9);
}
.featured-card {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
}
.featured-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  box-shadow:
    0 1px 2px rgba(26, 24, 21, 0.06),
    0 12px 32px rgba(26, 24, 21, 0.12),
    0 30px 60px rgba(26, 24, 21, 0.08);
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: var(--s-3);
  display: block;
}
.featured-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: 2.75rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.featured-title a { color: inherit; text-decoration: none; }
.featured-title a:hover { color: var(--tomato); }
.featured-teaser {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: var(--s-5);
}
.featured-cta {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tomato);
  text-decoration: none;
  border-bottom: 2px solid var(--tomato);
  padding-bottom: 2px;
  display: inline-block;
}
.featured-cta:hover { color: var(--tomato-dark); border-bottom-color: var(--tomato-dark); }

/* Category explore */
.category-section {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--s-9) var(--s-6);
  border-top: 1px solid var(--line);
}
.category-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.category-sub {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  margin-bottom: var(--s-7);
}
.category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.category-tile {
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: var(--s-5) var(--s-4);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  display: block;
  text-align: center;
  color: inherit;
  border-radius: 2px;
  position: relative;
}
.category-tile::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 24px;
  height: 3px;
  background: var(--mustard);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.category-tile:hover {
  background: var(--cream);
  transform: translateY(-3px);
  border-color: var(--mustard);
}
.category-tile:hover::before { opacity: 1; }
.category-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard-dark);
  display: block;
  margin-bottom: var(--s-3);
}
.category-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 80, "opsz" 72;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

/* Latest tested */
.latest-section {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--s-9) var(--s-6);
  border-top: 1px solid var(--line);
}
.latest-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: 2.75rem;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.latest-sub {
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: var(--s-7);
}
.latest-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.latest-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.latest-card:nth-child(2) { transform: translateY(var(--s-6)); }
.latest-card-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: var(--s-4);
  border-radius: 2px;
}
.latest-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.latest-card:hover .latest-card-img img { transform: scale(1.04); }
.latest-card-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mustard-dark);
  margin-bottom: var(--s-2);
  display: block;
}
.latest-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

/* About strip — full-width dark band */
.about-strip {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-9) var(--s-6);
  text-align: center;
}
.about-strip-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.about-strip-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: var(--s-4);
  display: block;
}
.about-strip-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 72;
  font-size: 1.875rem;
  line-height: 1.4;
  color: var(--cream);
  margin: 0;
}

/* Homepage mobile */
@media (max-width: 800px) {
  .featured-card { grid-template-columns: 1fr !important; gap: var(--s-5); }
  .category-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .latest-grid { grid-template-columns: 1fr !important; }
  .latest-card:nth-child(2) { transform: none; }
  .home-hero-title { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .home-hero-sub { font-size: 1.25rem; }
  .home-hero { padding: var(--s-7) var(--s-5) var(--s-6); }
  .featured-section { padding: var(--s-6) var(--s-5); }
  .category-section, .latest-section { padding: var(--s-7) var(--s-5); }
  .featured-title { font-size: 2rem; }
  .category-heading, .latest-heading { font-size: 2rem; }
  .about-strip-quote { font-size: 1.5rem; }
  .about-strip { padding: var(--s-7) var(--s-5); }
}

/* ---------- HAMBURGER (mobile nav toggle) ---------- */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: var(--s-2);
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 10;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--tomato); outline-offset: 2px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 800px) {
  .site-header { position: relative; }
  .nav-toggle { display: flex !important; }
  .nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: var(--s-4) var(--s-6);
    border-bottom: 1px solid var(--line);
    gap: var(--s-3);
    box-shadow: 0 8px 16px rgba(26, 24, 21, 0.08);
    z-index: 9;
  }
  .nav.nav-open { display: flex !important; }
  .nav a { width: 100%; padding: var(--s-2) 0; font-size: 0.875rem; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: var(--s-6) var(--s-5);
    gap: var(--s-6);
  }
  .hero-image { order: -1; aspect-ratio: 4/3; }
  .tested-stamp { right: 0; top: 0; }
  h1.recipe-title { font-size: clamp(2rem, 6vw, 3rem); }
  .serve-with-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid { grid-template-columns: 1fr; }
  .more-card:nth-child(2) { transform: none; }
  .article, .skilletly-article { padding: var(--s-6) var(--s-5); }
  .meta-bar { flex-wrap: wrap; }
  .meta-item { flex: 0 0 50%; border-right: none; padding: var(--s-3); }
  .meta-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pull-quote { font-size: 1.375rem; padding-left: var(--s-5); }
}
@media (max-width: 700px) {
  .equipment-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .recipe-card { padding: var(--s-5); margin-left: calc(var(--s-3) * -1); margin-right: calc(var(--s-3) * -1); }
  .instructions-list li { padding-left: 60px; }
  .instructions-list li::before { font-size: 2.25rem; width: 48px; }
  .intro p:first-child::first-letter { font-size: 3.75rem; padding: 0.5rem 0.5rem 0 0; }
  .pull-quote { font-size: 1.25rem; padding-left: var(--s-4); }
}
