/* ──────────────────────────────────────────────────────────
   Nick's Kitchen — Design System
   Aesthetic: Desert Modernism · Fine Dining · Santa Fe
   Ref: Noma, Eleven Madison Park, SingleThread
   ────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ── Surface ── */
  --bg:              #F7F4F0;   /* Warm parchment */
  --bg-card:         #FDFCFA;   /* Off-white card surface */
  --bg-card-hover:   #F3EFE9;   /* Toasted sand hover */
  --bg-input:        #FDFCFA;

  /* ── Borders ── */
  --border:          rgba(44, 36, 22, 0.09);
  --border-hover:    rgba(44, 36, 22, 0.16);
  --border-strong:   rgba(44, 36, 22, 0.18);

  /* ── Text ── */
  --text:            #1E1810;   /* Near-black earth */
  --text-muted:      #7A6A55;   /* Warm stone */
  --text-dim:        #A9927A;   /* Faded clay */

  /* ── Accent — Adobe Clay, used with restraint ── */
  --accent:          #B5601A;   /* Deeper terracotta */
  --accent-hover:    #944E14;
  --accent-light:    #C97840;
  --accent-dim:      rgba(181, 96, 26, 0.08);
  --accent-border:   rgba(181, 96, 26, 0.22);

  /* ── Chip / filter ── */
  --chip-bg:         #EDE8E1;

  /* ── Radius ── */
  --radius:          4px;        /* Restrained — fine dining is angular */
  --radius-sm:       3px;
  --radius-lg:       6px;
  --radius-full:     9999px;

  /* ── Typography ── */
  --font-serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Shadows — ultra subtle ── */
  --shadow-card:  0 1px 2px rgba(44, 36, 22, 0.05), 0 4px 24px rgba(44, 36, 22, 0.04);
  --shadow-hover: 0 2px 6px rgba(44, 36, 22, 0.08), 0 12px 40px rgba(44, 36, 22, 0.07);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
input, textarea { font: inherit; }

/* ── Subtle grain — single layer, very quiet ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ────────────────────────────────────────
   HEADER
   Clean, minimal — a restaurant's signage
───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 240, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* Wordmark — no emoji, pure type */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { display: none; }
.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
  font-style: normal;
  line-height: 1;
}
.logo-title em {
  font-style: italic;
  font-weight: 300;
}
.logo-divider {
  width: 1px;
  height: 12px;
  background: var(--border-strong);
  flex-shrink: 0;
}
.logo-sub {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.btn-icon:hover {
  background: rgba(44, 36, 22, 0.05);
  color: var(--text);
}
.btn-icon.active { color: var(--accent); }
.fav-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 8px;
  font-weight: 600;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.fav-count.visible { display: flex; }

.header-home-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.header-home-link:hover { color: var(--text); }

/* ────────────────────────────────────────
   HERO
   Elegant — no glow blobs, no dot grids
   Just typography and generous space
───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 64px;
  text-align: center;
  overflow: hidden;
}

/* Refined horizontal rule above title */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-strong));
}

/* Remove the glow and dot grid */
.hero-glow { display: none; }
.hero::after { display: none; }

/* Season label — refined, not a badge */
.hero-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 32px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Thin lines on either side — refined divider treatment */
.hero-label::before,
.hero-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--border-strong);
}

/* No pulsing dot */
.hero-label-dot { display: none; }

.hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text);     /* No accent color on the title — let form do the work */
}

.hero-subtitle {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 52px;
  font-weight: 400;
  letter-spacing: 0.04em;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Search ── */
.search-wrap {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 18px;
  color: var(--text-dim);
  pointer-events: none;
  flex-shrink: 0;
}
#searchInput {
  width: 100%;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0 48px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
}
#searchInput::placeholder {
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.03em;
}
#searchInput:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.search-clear {
  position: absolute;
  right: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--text-dim);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.search-clear:hover { color: var(--text); }

/* ────────────────────────────────────────
   FILTERS
───────────────────────────────────────── */
.filters-section {
  padding: 0 0 32px;
  position: relative;
  z-index: 1;
}
.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.filters-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.filters-scroll::-webkit-scrollbar { display: none; }

.filter-chip {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  letter-spacing: 0.04em;
}
.filter-chip:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.filter-chip.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  font-weight: 500;
}

.view-toggle {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.view-btn {
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  transition: color 0.15s;
}
.view-btn:hover { color: var(--text-muted); }
.view-btn.active { color: var(--text); }

.results-meta {
  font-size: 11px;
  color: var(--text-dim);
  min-height: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ────────────────────────────────────────
   RECIPE GRID
───────────────────────────────────────── */
.recipes-section {
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* List view override */
.recipe-grid.list-view {
  grid-template-columns: 1fr;
  gap: 0;
}

/* ── Recipe Card ── */
.recipe-card {
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  border: none; /* Grid gap provides the lines */
}
.recipe-card:hover {
  background: var(--bg-card-hover);
}

/* Category bar — replaces emoji header */
.card-category-bar {
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.recipe-card:hover .card-category-bar {
  background: var(--accent-border);
}

/* No emoji panel */
.card-emoji { display: none; }

.card-body {
  padding: 28px 28px 24px;
}
.card-number {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  color: var(--text);
}
.card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
  min-height: 0;
}
.card-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 16px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Single unified tag style — no semantic color explosion */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Remove all semantic tag color overrides — single palette */
.tag.seafood, .tag.chicken, .tag.beef, .tag.baking,
.tag.vegetarian, .tag.soup, .tag.pasta, .tag.breakfast,
.tag.salad, .tag.sauce {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-dim);
}

/* Favorite button — quiet, contextual */
.card-fav {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
  color: var(--text-dim);
}
.recipe-card:hover .card-fav { opacity: 1; }
.card-fav.active {
  opacity: 1;
  color: var(--accent);
}

/* List view card style */
.recipe-grid.list-view .recipe-card {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.recipe-grid.list-view .card-category-bar {
  display: none;
}
.recipe-grid.list-view .card-body {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
}
.recipe-grid.list-view .card-number { margin-bottom: 0; }
.recipe-grid.list-view .card-title {
  font-size: 17px;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}
.recipe-grid.list-view .card-desc { display: none; }
.recipe-grid.list-view .card-divider { display: none; }
.recipe-grid.list-view .card-meta { margin-bottom: 0; flex-shrink: 0; }
.recipe-grid.list-view .card-tags { flex-shrink: 0; }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 100px 24px;
}
.empty-icon  { font-size: 32px; margin-bottom: 24px; opacity: 0.3; }
.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
}
.empty-state p  {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  font-size: 12px;
  border-radius: var(--radius);
  transition: opacity 0.15s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-primary:hover { opacity: 0.8; }

/* ── Back Button ── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 36px 0 28px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  background: none;
  border: none;
}
.back-btn:hover { color: var(--text); }
.back-btn svg { opacity: 0.6; }

/* ────────────────────────────────────────
   RECIPE DETAIL
   Feels like reading a menu at a restaurant
───────────────────────────────────────── */
.recipe-detail {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 120px;
}

.detail-header { margin-bottom: 48px; }
.detail-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.detail-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.detail-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}
.detail-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
  max-width: 560px;
}

/* Meta bar — horizontal rule style, not a grid */
.detail-meta-grid {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 48px;
  overflow: hidden;
}
.detail-meta-item {
  background: var(--bg-card);
  padding: 16px 24px;
  text-align: center;
  flex: 1;
  border-right: 1px solid var(--border);
}
.detail-meta-item:last-child { border-right: none; }
.detail-meta-label {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}
.detail-meta-value {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.detail-fav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail-fav-btn:hover {
  border-color: var(--text);
  color: var(--text);
}
.detail-fav-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}
.detail-source {
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}
.detail-source a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-hover);
  transition: color 0.15s;
}
.detail-source a:hover { color: var(--text); }

/* ── Rendered Markdown ── */
.recipe-content {
  color: var(--text);
  line-height: 1.85;
}
.recipe-content h1 { display: none; }
.recipe-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin: 52px 0 20px;
  letter-spacing: 0.02em;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.recipe-content h3 {
  font-size: 10px;
  font-weight: 600;
  margin: 32px 0 14px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.recipe-content p {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}
.recipe-content ul, .recipe-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
.recipe-content li {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.7;
}
.recipe-content strong {
  font-weight: 500;
  color: var(--text);
}
.recipe-content em {
  font-style: italic;
  color: inherit;
}
.recipe-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-hover);
}
.recipe-content a:hover {
  text-decoration-color: var(--text);
}
.recipe-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}
.recipe-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: 14px;
  border: 1px solid var(--border);
}
.recipe-content th {
  background: var(--chip-bg);
  padding: 10px 16px;
  text-align: left;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.recipe-content td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
}
.recipe-content tr:last-child td { border-bottom: none; }
.recipe-content tr:hover td { background: var(--accent-dim); }
.recipe-content blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 20px;
  margin: 28px 0;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 300;
}
.recipe-content code {
  background: var(--chip-bg);
  padding: 2px 6px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: monospace;
}

/* ────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.site-footer p {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--text); }

/* ── Loading ── */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  font-size: 24px;
  color: var(--text-dim);
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading { animation: spin 3s linear infinite; }

/* ── Print ── */
@media print {
  .site-header, .hero, .filters-section, .back-btn,
  .detail-actions, .site-footer { display: none !important; }
  body::before { display: none; }
  body { background: white; color: black; }
  .recipe-detail { max-width: 100%; }
  .detail-title { color: black; }
  .recipe-content h2 { color: black; border-color: #ddd; }
  .recipe-content h3 { color: #555; }
  .recipe-content { color: black; }
  .recipe-content p, .recipe-content li { color: #333; }
  .detail-meta-grid { border: 1px solid #ddd; }
  .detail-meta-item { background: #f9f9f9; border-color: #ddd; }
  .detail-meta-label { color: #666; }
  .detail-meta-value { color: black; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 72px 0 48px; }
  .recipe-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 40px; }
  .hero-subtitle { font-size: 13px; }
  #searchInput { font-size: 16px; }
  .recipe-grid.list-view .card-meta { display: none; }
  .recipe-grid.list-view .card-tags { display: none; }
  .detail-meta-grid { flex-wrap: wrap; }
  .detail-meta-item { flex: 1 1 calc(50% - 1px); }
  .detail-actions { flex-wrap: wrap; }
  .logo-sub { display: none; }
  .logo-divider { display: none; }
  .header-home-link { display: none; }
  .card-body { padding: 20px 20px 18px; }
  .detail-title { letter-spacing: -0.3px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 42px; }
}


/* ══════════════════════════════════════════════════════════
   What's Cooking This Week
   ══════════════════════════════════════════════════════════ */

.weekly-section {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
}

.weekly-header {
  margin-bottom: 28px;
}

.weekly-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.weekly-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.weekly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.meal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.meal-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}

.meal-card.is-linked {
  cursor: pointer;
}

.meal-card.is-linked:hover .meal-title {
  color: var(--accent);
}

.meal-card.is-cooked::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6aab6a;
  opacity: 0.75;
}

.meal-card.is-today {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.meal-card.is-today::before {
  content: 'Today';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 2px 8px;
  border-radius: 10px;
}

.meal-date {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.meal-emoji {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.meal-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.15s ease;
}

.meal-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.meal-link-hint {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 10px;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 480px) {
  .weekly-grid {
    grid-template-columns: 1fr 1fr;
  }
}
