/* ==========================================================================
   Tasty Recipes — Editorial Design System
   Inspired by Feast Dine Craft: warm paper ground, chalk ink, brass, and rust accents.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Libre+Franklin:wght@400;500;600;700&display=swap');

:root {
  --ink:        #14180F;   /* near-black with deep warm green undertone */
  --ink-soft:   #262B20;   /* dark section background */
  --paper:      #EFE7D5;   /* warm bone paper ground */
  --paper-dim:  #E4D9C2;   /* deeper paper for card wells & section highlights */
  --brass:      #B9812B;   /* warm brass / mustard primary accent */
  --brass-deep: #8F631E;   /* deep brass for hover */
  --rust:       #9A3324;   /* tomato rust secondary accent */
  --sage:       #5B6B4E;   /* sage green accent */
  --cream:      #F6F1E3;   /* light cream text for dark backgrounds */
  --line:       rgba(20, 24, 15, 0.14);
  --line-dark:  rgba(246, 241, 227, 0.16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max: 1180px;
  --edge: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --header-height: 72px;
  --bottom-nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bottom-nav-height);
}

@media (min-width: 860px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }

.wrap, .container { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

/* =========================================
   BUTTONS & BADGES
   ========================================= */
.btn, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius); cursor: pointer; transition: all 0.2s ease;
  border: 1px solid transparent; text-decoration: none;
}

.btn-brass, .btn-primary {
  background: var(--brass); color: var(--cream); border-color: var(--brass);
}
.btn-brass:hover, .btn-primary:hover {
  background: var(--brass-deep); border-color: var(--brass-deep); color: var(--cream);
}

.btn-outline, .btn-secondary {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn-outline:hover, .btn-secondary:hover {
  border-color: var(--ink); background: rgba(20, 24, 15, 0.05);
}

.btn-ghost-light {
  background: transparent; color: var(--cream); border: 1px solid var(--line-dark);
}
.btn-ghost-light:hover {
  border-color: var(--brass); color: var(--cream); background: rgba(246, 241, 227, 0.08);
}

.tag {
  display: inline-block; padding: 0.25rem 0.6rem;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--sage); color: var(--cream); border-radius: 2px;
}
.tag.alt, .category-tag {
  background: var(--rust); color: var(--cream);
}
.tag.brass {
  background: var(--brass); color: var(--cream);
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header, .desktop-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.site-header .wrap, .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height);
}

.brand, .logo {
  display: flex; align-items: baseline; gap: 0.5rem;
  color: var(--cream); font-family: var(--font-display);
  font-weight: 900; font-size: 1.5rem; letter-spacing: -0.02em;
}
.brand-mark em, .logo em { font-style: italic; color: var(--brass); font-weight: 400; }
.brand-tag {
  font-size: 0.7rem; color: rgba(246, 241, 227, 0.55); font-weight: 500;
  font-family: var(--font-body);
  border-left: 1px solid var(--line-dark); padding-left: 0.6rem; display: none;
}
@media(min-width: 640px) { .brand-tag { display: inline; } }

.main-nav, .desktop-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a, .nav-link {
  color: rgba(246, 241, 227, 0.82); font-size: 0.94rem; font-weight: 500;
  padding: 0.4rem 0; border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a.is-active, .nav-link:hover, .nav-link.active {
  color: var(--cream); border-color: var(--brass);
}

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: var(--cream);
  width: 40px; height: 40px; border-radius: var(--radius); cursor: pointer; font-size: 1.1rem;
}

.mobile-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--ink); border-bottom: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--edge); z-index: 1000;
}
.mobile-header .logo { font-size: 1.2rem; color: var(--cream); }
.back-btn, .icon-btn, .search-btn {
  background: none; border: none; font-size: 1.2rem; color: var(--cream); padding: 8px; cursor: pointer;
}
.spacer { width: 40px; }

@media (max-width: 860px) {
  .desktop-header { display: none; }
  .mobile-header { display: flex; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: flex-start;
    padding: 0.5rem var(--edge) 1.25rem; gap: 0.25rem;
    border-bottom: 1px solid var(--line-dark); display: none;
  }
  .main-nav.is-open { display: flex; }
}

@media (min-width: 861px) {
  .mobile-header { display: none !important; }
  .desktop-header { display: block; }
}

/* Main Content Wrapper */
.main-content { padding-top: 2rem; padding-bottom: 3.5rem; }
@media (max-width: 860px) {
  .main-content { padding-top: calc(var(--header-height) + 1.25rem); }
}

/* =========================================
   HERO SECTION (Editorial Feast Style)
   ========================================= */
.hero {
  padding: 2.5rem 0 3.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}
.hero .wrap {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; }
}

.hero-eyebrow {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--rust); margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.12; margin-bottom: 1.2rem; color: var(--ink);
}
.hero h1 .accent { color: var(--brass); font-style: italic; }
.hero .lede {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.6; color: rgba(20, 24, 15, 0.82); margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Menu Board Widget */
.menu-board {
  background: var(--ink-soft); color: var(--cream);
  padding: 1.8rem 2rem; border-radius: 4px;
  border: 1px solid var(--line-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.menu-board-title {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--brass);
  border-bottom: 1px dashed var(--line-dark); padding-bottom: 0.75rem; margin-bottom: 1rem;
}
.menu-board ul { display: flex; flex-direction: column; gap: 0.85rem; }
.menu-board li {
  display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; border-bottom: 1px dotted rgba(246, 241, 227, 0.1); padding-bottom: 0.6rem;
}
.menu-board li:last-child { border-bottom: none; padding-bottom: 0; }
.menu-board .dish { font-family: var(--font-display); font-weight: 600; color: var(--cream); }
.menu-board .price { font-size: 0.78rem; font-weight: 600; color: var(--brass); text-transform: uppercase; }

/* Dynamic Hero Image fallback if present */
.hero-image { position: relative; border-radius: var(--radius); overflow: hidden; height: 380px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 10%, rgba(20, 24, 15, 0.88));
  color: var(--cream); padding: 2rem;
}
.hero-overlay h1 { font-size: 2.2rem; color: var(--cream); margin-bottom: 0.5rem; }
.hero-overlay p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 1rem; }

/* =========================================
   SECTION HEADERS & CATEGORIES
   ========================================= */
.section { padding: 0; margin-bottom: 3.5rem; }
.section-head, .section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem;
}
.section-head h2, .section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 0.4rem;
}
.section-head p.sub { font-size: 0.95rem; color: rgba(20, 24, 15, 0.7); max-width: 650px; }
.view-all {
  color: var(--brass); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem;
}
.view-all:hover { color: var(--brass-deep); text-decoration: underline; }

/* Category Chips Strip */
.cat-strip, .categories-scroll {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem;
  margin-bottom: 2rem;
}
.categories-scroll { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; }
.categories-scroll::-webkit-scrollbar { display: none; }

.cat-chip, .category-pill {
  display: flex; flex-direction: column; padding: 1rem 1.25rem;
  background: var(--paper-dim); border: 1px solid var(--line);
  border-radius: var(--radius); transition: all 0.2s ease; cursor: pointer; text-decoration: none;
}
.cat-chip:hover, .category-pill:hover {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.cat-chip .num {
  font-size: 0.75rem; font-weight: 700; color: var(--brass); margin-bottom: 0.3rem; letter-spacing: 0.05em;
}
.cat-chip:hover .num { color: var(--brass); }
.cat-chip .name {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem;
}
.cat-chip:hover .name { color: var(--cream); }
.cat-chip .count { font-size: 0.78rem; color: rgba(20, 24, 15, 0.65); }
.cat-chip:hover .count { color: rgba(246, 241, 227, 0.7); }

.category-pill {
  flex-direction: row; align-items: center; justify-content: center;
  padding: 0.6rem 1.2rem; font-weight: 600; font-size: 0.9rem; white-space: nowrap; flex-shrink: 0;
}
.category-pill.active {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}

/* =========================================
   RECIPE CARDS & GRID
   ========================================= */
.recipe-grid, .recipes-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 640px) {
  .recipe-grid, .recipes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .recipe-grid, .recipes-grid { grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
}

.rcard, .recipe-card {
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer; position: relative;
}
.rcard:hover, .recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 24, 15, 0.12);
  border-color: rgba(20, 24, 15, 0.3);
}

.rcard-top, .card-image { position: relative; height: 210px; overflow: hidden; }
.rcard-top img, .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.rcard:hover img, .recipe-card:hover img { transform: scale(1.04); }

.rcard-top .tag, .card-category {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
}
.rcard-top .time, .time-badge {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
  background: rgba(20, 24, 15, 0.85); color: var(--cream);
  padding: 0.25rem 0.65rem; border-radius: 2px; font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.35rem; backdrop-filter: blur(4px);
}

.rcard-body, .card-content {
  padding: 1.5rem; flex: 1; display: flex; flex-direction: column;
}
.rcard-body h3, .card-content h3 {
  font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.6rem; color: var(--ink);
}
.rcard-body p, .card-content p {
  font-size: 0.92rem; color: rgba(20, 24, 15, 0.75); line-height: 1.5; margin-bottom: 1.2rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}

.rcard-foot, .card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.84rem; font-weight: 600; color: rgba(20, 24, 15, 0.65);
  border-top: 1px solid var(--line); padding-top: 0.85rem; margin-top: auto;
}
.rcard-foot a, .rcard-foot span.link {
  color: var(--brass); font-weight: 700; transition: color 0.15s ease;
}
.rcard:hover .rcard-foot a { color: var(--brass-deep); }
.card-meta i { color: var(--brass); margin-right: 0.25rem; }

/* Filter Bar */
.filter-bar {
  display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.search-input {
  flex: 1; min-width: 240px; padding: 0.8rem 1.2rem;
  background: var(--paper-dim); border: 1px solid var(--line);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
}
.search-input:focus { outline: none; border-color: var(--brass); background: var(--paper); }
.sort-select {
  padding: 0.8rem 1.2rem; background: var(--paper-dim); border: 1px solid var(--line);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); cursor: pointer;
}

/* =========================================
   EDITORIAL SPLIT & QUOTE SECTION
   ========================================= */
.split {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
  padding: 4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin: 3.5rem 0;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}

.figure {
  background: var(--ink-soft); color: var(--cream);
  padding: 2.5rem; border-radius: var(--radius); border-left: 4px solid var(--brass);
  position: relative;
}
.quote {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-style: italic; line-height: 1.4; color: var(--cream); margin-bottom: 1.2rem;
}
.who {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brass);
}

/* Callout Band */
.band {
  background: var(--ink); color: var(--cream);
  padding: 3.5rem 0; margin-top: 3.5rem; border-top: 1px solid var(--line-dark);
}
.band .wrap {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem;
}
.band h2 { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.band p { color: rgba(246, 241, 227, 0.75); font-size: 1.05rem; max-width: 580px; }

/* =========================================
   RECIPE DETAIL PAGE
   ========================================= */
.recipe-detail-page { padding-top: 0; }
.recipe-hero img { width: 100%; height: 420px; object-fit: cover; border-bottom: 1px solid var(--line); }
.recipe-layout { display: flex; flex-direction: column; gap: 3rem; padding-top: 2rem; }

@media (min-width: 960px) {
  .recipe-layout { flex-direction: row; align-items: flex-start; }
  .recipe-main { flex: 2.2; }
  .recipe-sidebar { flex: 1; position: sticky; top: 90px; }
}

.breadcrumb { font-size: 0.86rem; color: rgba(20, 24, 15, 0.6); margin-bottom: 1rem; }
.breadcrumb a { color: var(--brass); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.recipe-title { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1.5rem; line-height: 1.15; }

.recipe-meta-bar {
  display: flex; justify-content: space-between; background: var(--paper-dim);
  border: 1px solid var(--line); padding: 1.25rem 1.5rem; border-radius: var(--radius); margin-bottom: 2rem;
}
.meta-item { text-align: center; flex: 1; border-right: 1px solid var(--line); }
.meta-item:last-child { border-right: none; }
.meta-item i { font-size: 1.25rem; color: var(--brass); margin-bottom: 0.4rem; display: block; }
.meta-label { display: block; font-size: 0.72rem; color: rgba(20, 24, 15, 0.6); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.meta-value { display: block; font-weight: 700; font-size: 1rem; color: var(--ink); }

.jump-to-recipe-btn {
  width: 100%; background: var(--ink); color: var(--cream); border: 1px solid var(--brass);
  padding: 0.9rem; border-radius: var(--radius); font-weight: 700; margin-bottom: 2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.95rem; transition: background 0.2s ease;
}
.jump-to-recipe-btn:hover { background: var(--ink-soft); color: var(--brass); }

.recipe-intro { font-size: 1.1rem; line-height: 1.75; margin-bottom: 2.5rem; color: rgba(20, 24, 15, 0.85); }

/* Recipe Card Box */
.recipe-card-box {
  background: var(--paper-dim); border: 2px solid var(--brass);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 3rem;
  box-shadow: 0 10px 25px rgba(20, 24, 15, 0.08);
}
.recipe-card-header { background: var(--ink); color: var(--cream); padding: 1.8rem; text-align: center; border-bottom: 2px solid var(--brass); }
.recipe-card-header h2 { color: var(--cream); font-size: 1.8rem; margin-bottom: 0.5rem; }
.recipe-card-meta { font-size: 0.9rem; color: var(--brass); font-weight: 600; }

.recipe-card-body { padding: 2rem; display: flex; flex-direction: column; gap: 2.5rem; }
.ingredients-section h3, .instructions-section h3, .recipe-notes h3 {
  font-size: 1.3rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.6rem; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 0.5rem;
}
.ingredient-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.ingredient-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; line-height: 1.5; }
.ingredient-list input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--brass); width: 18px; height: 18px; cursor: pointer; }

.instruction-list { display: flex; flex-direction: column; gap: 1.5rem; padding-left: 0; list-style: none; counter-reset: step-counter; }
.instruction-list li { position: relative; padding-left: 2.8rem; font-size: 1rem; line-height: 1.65; }
.instruction-list li::before {
  counter-increment: step-counter; content: counter(step-counter);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; background: var(--brass); color: var(--cream);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; font-family: var(--font-body);
}

.recipe-notes { background: var(--paper); padding: 1.5rem; border-radius: var(--radius); border-left: 4px solid var(--rust); }
.recipe-notes ul { padding-left: 1.25rem; margin-top: 0.75rem; }
.recipe-notes li { margin-bottom: 0.6rem; font-size: 0.95rem; }

.recipe-card-footer { padding: 1.25rem 2rem; background: var(--ink-soft); border-top: 1px solid var(--line-dark); display: flex; gap: 1rem; }
.recipe-card-footer button { flex: 1; }

/* Sidebar Widgets */
.recipe-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.sidebar-widget {
  background: var(--paper-dim); padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line);
}
.sidebar-widget h4 { margin-bottom: 1.2rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; }
.author-widget { text-align: center; }
.author-widget img { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1rem; object-fit: cover; border: 2px solid var(--brass); }
.author-widget p { font-size: 0.92rem; color: rgba(20, 24, 15, 0.75); margin-bottom: 1.2rem; }

.sidebar-recipe { display: flex; gap: 0.85rem; margin-bottom: 1rem; align-items: center; }
.sidebar-recipe img { width: 68px; height: 68px; border-radius: 4px; object-fit: cover; }
.sidebar-recipe a { font-weight: 700; font-size: 0.95rem; font-family: var(--font-display); display: block; margin-bottom: 0.2rem; }
.sidebar-recipe a:hover { color: var(--brass); }
.sidebar-recipe span { font-size: 0.8rem; color: rgba(20, 24, 15, 0.6); }

/* =========================================
   ABOUT & CONTACT PAGES
   ========================================= */
.about-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 2.5rem; }
.about-hero img { width: 100%; height: 260px; object-fit: cover; }
.about-hero h1 { position: absolute; bottom: 1.5rem; left: 1.5rem; color: var(--cream); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }

.about-content { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 860px) {
  .about-content { flex-direction: row; align-items: center; gap: 3rem; }
  .about-text { flex: 1.2; }
  .about-image { flex: 0.8; }
}
.about-text h2 { margin-bottom: 1rem; font-size: 2rem; }
.about-text p { margin-bottom: 1.2rem; color: rgba(20, 24, 15, 0.8); font-size: 1.05rem; }
.about-image img { border-radius: var(--radius); width: 100%; border: 1px solid var(--line); }

.contact-page h1 { margin-bottom: 0.5rem; font-size: 2.5rem; }
.subtitle { color: rgba(20, 24, 15, 0.7); margin-bottom: 2rem; font-size: 1.1rem; }
.contact-grid { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 860px) {
  .contact-grid { flex-direction: row; gap: 3rem; }
  .contact-form { flex: 1.5; background: var(--paper-dim); padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--line); }
  .contact-info { flex: 1; padding: 2rem; }
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--paper); color: var(--ink);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--brass);
}
.full-width { width: 100%; }

.info-item { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem; }
.info-item i {
  width: 48px; height: 48px; background: var(--ink); color: var(--brass);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.info-item h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.info-item p { color: rgba(20, 24, 15, 0.7); font-size: 0.92rem; }

/* =========================================
   MOBILE BOTTOM NAVIGATION
   ========================================= */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-height);
  background: var(--ink); border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center;
  color: rgba(246, 241, 227, 0.65); font-size: 0.75rem; gap: 4px;
  flex: 1; padding: 8px 0; font-weight: 500;
}
.nav-item i { font-size: 1.25rem; }
.nav-item.active { color: var(--brass); font-weight: 700; }

@media (min-width: 861px) {
  .mobile-bottom-nav { display: none !important; }
}

/* =========================================
   FOOTER (Deep Ink Editorial Style)
   ========================================= */
.site-footer {
  background: var(--ink); color: var(--cream);
  padding: 4rem 0 2rem; border-top: 1px solid var(--line-dark); margin-top: 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3.5rem; }
}

.footer-brand .brand-mark { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
.footer-brand p { color: rgba(246, 241, 227, 0.7); font-size: 0.95rem; line-height: 1.6; max-width: 360px; }
.site-footer h4 { color: var(--brass); font-size: 1rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.2rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer a { color: rgba(246, 241, 227, 0.75); font-size: 0.92rem; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; font-size: 0.82rem; color: rgba(246, 241, 227, 0.55);
}

/* Print Styles */
@media print {
  .site-header, .desktop-header, .mobile-header, .mobile-bottom-nav, .jump-to-recipe-btn, .recipe-sidebar, .recipe-hero, .breadcrumb, .recipe-intro, .recipe-card-footer, .site-footer { display: none !important; }
  body { background: white; color: black; padding: 0; }
  .recipe-card-box { border: 1px solid #000; box-shadow: none; break-inside: avoid; }
  .recipe-layout { display: block; }
  .recipe-main { width: 100%; max-width: 100%; }
}