/* ===========================================================
   Katie's Cooking — Health & Community
   Eat the rainbow. Savor slowly. Share generously.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Palette — "eat the rainbow" warm + lively */
  --bg:           #FBF7F0;          /* warm off-white */
  --bg-deep:      #F2EAD9;
  --paper:        #FEFCF6;
  --ink:          #1F1A1A;
  --ink-soft:     #3A3232;
  --rule:         rgba(31, 26, 26, 0.14);

  /* Rainbow accents */
  --beet:         #B82147;          /* deep magenta-red */
  --carrot:       #E07A1A;          /* orange */
  --turmeric:     #D9A60E;          /* yellow */
  --kale:         #4A7F3B;          /* deep green */
  --herb:         #7BAA52;          /* fresh herb green */
  --blueberry:    #4E4E8F;          /* aubergine blue */
  --plum:         #6F2E5D;          /* plum */

  --accent:       var(--beet);
  --accent-2:     var(--carrot);
  --accent-3:     var(--herb);

  /* Typography */
  --font-display: 'DM Serif Display', 'Times New Roman', serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Layout */
  --max-w: 1280px;
  --max-w-prose: 680px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(224, 122, 26, 0.07), transparent 50%),
    radial-gradient(ellipse at 100% 30%, rgba(184, 33, 71, 0.05), transparent 50%),
    radial-gradient(ellipse at 30% 100%, rgba(123, 170, 82, 0.07), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(217, 166, 14, 0.05), transparent 50%);
  min-height: 100vh;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

p { margin-bottom: 1em; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-2); }

em { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  position: relative;
}

.brand .rainbow-dots {
  display: inline-flex;
  gap: 3px;
  margin-left: 0.4rem;
  align-items: center;
}

.brand .rainbow-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.brand .rainbow-dots span:nth-child(1) { background: var(--beet); }
.brand .rainbow-dots span:nth-child(2) { background: var(--carrot); }
.brand .rainbow-dots span:nth-child(3) { background: var(--turmeric); }
.brand .rainbow-dots span:nth-child(4) { background: var(--herb); }
.brand .rainbow-dots span:nth-child(5) { background: var(--blueberry); }

.brand small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kale);
  margin-left: 0.5rem;
}

nav.primary {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav.primary a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}

nav.primary a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav.primary a:hover::after,
nav.primary a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav.primary a.active { color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

@media (max-width: 720px) {
  nav.primary {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
    border-left: 1px solid var(--rule);
  }
  nav.primary.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* === Containers === */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.wrap-prose { max-width: var(--max-w-prose); margin: 0 auto; padding: 0 2rem; }

/* === Hero === */
.hero {
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* Inner text+image columns sit inside .hero__main */
.hero__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .hero__inner {
    /* main content gets ~2/3, sidecard ~1/3 */
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: 4rem;
  }
  .hero__main {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 3rem;
  }
}

.hero__title {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__title .word {
  display: inline-block;
}

.hero__title .word-1 { color: var(--beet); font-style: italic; }
.hero__title .word-2 { color: var(--carrot); font-style: italic; }
.hero__title .word-3 { color: var(--kale); font-style: italic; }

.hero__lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-top: 1.5rem;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--kale);
  font-weight: 600;
  flex-wrap: wrap;
}

.hero__meta .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
}
.hero__meta .dot-1 { background: var(--beet); }
.hero__meta .dot-2 { background: var(--carrot); }
.hero__meta .dot-3 { background: var(--turmeric); }
.hero__meta .dot-4 { background: var(--blueberry); }

.hero__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 30px 60px -25px rgba(31, 26, 26, 0.3);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__image::after {
  content: "Eat the rainbow";
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--paper);
  color: var(--beet);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* === Sidecard (Kitchen Manifesto) — ported verbatim from V3 === */
.sidecard {
  /* V3 color tokens scoped here so V2's palette stays untouched */
  --forest:       #1F3326;
  --tomato:       #C73E2C;
  --mustard:      #C99A2C;
  --cream-text:   #F4EFE6;
  --font-sidecard-display: 'Instrument Serif', 'Times New Roman', serif;

  background: var(--forest);
  color: var(--cream-text);
  border-radius: 4px;
  padding: 2rem 1.8rem 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 980px) {
  .sidecard {
    position: sticky;
    top: 84px;
  }
}

.sidecard__corner {
  position: absolute;
  top: 0; right: 0;
  width: 56px;
  height: 56px;
  background: var(--tomato);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sidecard-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream-text);
  line-height: 1;
}

.sidecard__head {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 0.6rem;
  display: block;
}

.sidecard h2 {
  font-family: var(--font-sidecard-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream-text);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.sidecard h2 em {
  font-style: italic;
  color: var(--mustard);
}

.sidecard__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
}

.sidecard__list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.15);
}

.sidecard__list .label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 0.3rem;
  display: block;
}

.sidecard__list h3 {
  font-family: var(--font-sidecard-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream-text);
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.sidecard__list h3 em { font-style: italic; color: var(--mustard); }

.sidecard__list p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cream-text);
  opacity: 0.82;
  margin: 0;
}

.sidecard__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-text);
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--mustard);
  transition: color 0.2s, gap 0.25s;
}

.sidecard__cta:hover {
  color: var(--mustard);
  gap: 0.9rem;
}

/* === Rainbow strip — NEW for V2 === */
.rainbow-strip {
  display: flex;
  height: 6px;
  width: 100%;
}

.rainbow-strip span { flex: 1; }
.rainbow-strip span:nth-child(1) { background: var(--beet); }
.rainbow-strip span:nth-child(2) { background: var(--carrot); }
.rainbow-strip span:nth-child(3) { background: var(--turmeric); }
.rainbow-strip span:nth-child(4) { background: var(--herb); }
.rainbow-strip span:nth-child(5) { background: var(--kale); }
.rainbow-strip span:nth-child(6) { background: var(--blueberry); }
.rainbow-strip span:nth-child(7) { background: var(--plum); }

/* === Values strip (homepage version) — eat the rainbow tiles === */
.principles {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg-deep);
  position: relative;
}

.principles__head {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  padding: 0 2rem;
  text-align: center;
}

.principles__head .eyebrow { display: block; margin-bottom: 1rem; }

.principles__head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  max-width: 22ch;
  margin: 0 auto;
}

.principles__head h2 em { font-style: italic; color: var(--beet); }

.principles__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .principles__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1000px) {
  .principles__grid { grid-template-columns: repeat(4, 1fr); }
}

.principle {
  background: var(--paper);
  padding: 2.2rem 1.8rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.principle::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}

.principle:nth-child(1)::before { background: linear-gradient(90deg, var(--beet), var(--carrot), var(--turmeric), var(--herb), var(--blueberry)); }
.principle:nth-child(2)::before { background: var(--carrot); }
.principle:nth-child(3)::before { background: var(--herb); }
.principle:nth-child(4)::before { background: var(--blueberry); }

.principle:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(31, 26, 26, 0.18);
}

.principle__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 1.2rem;
}

.principle:nth-child(1) .principle__icon { background: var(--beet); }
.principle:nth-child(2) .principle__icon { background: var(--carrot); }
.principle:nth-child(3) .principle__icon { background: var(--herb); }
.principle:nth-child(4) .principle__icon { background: var(--blueberry); }

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  line-height: 1.15;
}

.principle h3 em { font-style: italic; color: var(--beet); }

.principle p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* === Section header === */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto var(--space-md);
  max-width: var(--max-w);
  padding: 0 2rem;
  flex-wrap: wrap;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-head__title em { font-style: italic; color: var(--beet); }

.section-head__rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
  min-width: 40px;
}

.section-head__count {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kale);
}

/* === Recipe Grid === */
.recipes { padding: clamp(3rem, 6vw, 5rem) 0; }

.recipe-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem 2.5rem;
}

@media (min-width: 720px) {
  .recipe-grid { grid-template-columns: 1fr 1fr; gap: 5rem 3rem; }
}

@media (min-width: 1100px) {
  .recipe-grid { grid-template-columns: repeat(3, 1fr); }
}

.recipe-grid .recipe-card.featured { grid-column: span 1; }

@media (min-width: 720px) {
  .recipe-grid .recipe-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  .recipe-grid .recipe-card.featured .recipe-card__image {
    aspect-ratio: 5/6;
  }
}

@media (min-width: 1100px) {
  .recipe-grid .recipe-card.featured { grid-column: span 3; }
}

/* === Recipe card === */
.recipe-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  cursor: pointer;
}

.recipe-card__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  background: var(--bg-deep);
}

.recipe-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}

.recipe-card:hover .recipe-card__image img { transform: scale(1.05); }

.recipe-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* Color-coded category tags */
.recipe-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.8rem 0.35rem 0;
  align-self: flex-start;
}

.recipe-card__category::before {
  content: "";
  width: 16px;
  height: 2px;
}

.recipe-card:nth-child(1) .recipe-card__category,
.cat-italian { color: var(--beet); }
.cat-italian::before { background: var(--beet); }

.cat-spanish { color: var(--carrot); }
.cat-spanish::before { background: var(--carrot); }

.cat-roasted { color: var(--turmeric); }
.cat-roasted::before { background: var(--turmeric); }

.cat-hawaiian { color: var(--plum); }
.cat-hawaiian::before { background: var(--plum); }

.cat-spring { color: var(--herb); }
.cat-spring::before { background: var(--herb); }

.cat-mediterranean { color: var(--blueberry); }
.cat-mediterranean::before { background: var(--blueberry); }

.recipe-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.recipe-card.featured .recipe-card__title {
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  line-height: 1.05;
}

.recipe-card__desc {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.recipe-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--kale);
  font-weight: 600;
  margin-top: 0.3rem;
}

.recipe-card__meta span { display: flex; align-items: center; gap: 0.4rem; }
.recipe-card__meta strong { color: var(--ink); font-weight: 700; }

/* Ingredients accordion */
.ingredients {
  margin-top: 0.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.ingredients summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beet);
  user-select: none;
}

.ingredients summary::-webkit-details-marker { display: none; }

.ingredients summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
  line-height: 1;
}

.ingredients[open] summary::after { transform: rotate(45deg); }

.ingredients ul {
  list-style: none;
  margin-top: 1rem;
  padding-left: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.ingredients li {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  break-inside: avoid;
  position: relative;
  padding-left: 1rem;
  line-height: 1.4;
}

.ingredients li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--carrot);
  font-weight: bold;
  font-size: 1.4rem;
  line-height: 1;
  top: 0.3rem;
}

@media (max-width: 540px) {
  .ingredients ul { columns: 1; }
}

/* === Community Table strip (homepage) === */
.table {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.table::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(224, 122, 26, 0.18), transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(184, 33, 71, 0.16), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(78, 78, 143, 0.14), transparent 40%);
  pointer-events: none;
}

.table__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.table .eyebrow {
  color: var(--carrot);
  display: block;
  margin-bottom: 1.2rem;
}

.table h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--bg);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.table h2 em { font-style: italic; color: var(--carrot); }

.table p {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 55ch;
  margin: 0 auto 1.2rem;
  opacity: 0.92;
}

.table__signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--turmeric);
  margin-top: 2rem;
}

/* === Footer === */
.site-footer {
  margin-top: var(--space-lg);
  padding: 4rem 0 2.5rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 720px) {
  .site-footer .wrap { grid-template-columns: 2fr 1fr; }
}

.site-footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kale);
  font-family: var(--font-body);
  margin-bottom: 1rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.site-footer__brand em { color: var(--beet); font-style: italic; }

.site-footer__tag {
  opacity: 0.85;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.site-footer ul { list-style: none; }
.site-footer ul li { padding: 0.35rem 0; }
.site-footer ul a {
  color: var(--ink);
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.site-footer ul a:hover { opacity: 1; color: var(--beet); }

.site-footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.7;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* === Page header === */
.page-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 4rem;
}

.page-header .eyebrow { display: block; margin-bottom: 1.2rem; }

.page-header h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }

.page-header h1 em { color: var(--beet); font-style: italic; }

.page-header__lede {
  font-size: 1.15rem;
  max-width: 56ch;
  margin: 1.5rem auto 0;
  color: var(--ink-soft);
}

/* === About page === */
.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
  align-items: start;
}

@media (min-width: 880px) {
  .about-section { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
}

.about-section__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  box-shadow: 0 25px 50px -20px rgba(31, 26, 26, 0.28);
}

.about-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-section__image::after {
  content: "Chef Katie";
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.about-section__body h2 { margin-bottom: 1.2rem; }

.about-section__body h2 em { font-style: italic; color: var(--beet); }

.about-section__body .pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--beet);
  border-left: 3px solid var(--carrot);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.about-section__body p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.about-section__body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 0.4rem 0.6rem -0.4rem 0;
  color: var(--beet);
}

/* About — values strip */
.values {
  background: var(--bg-deep);
  padding: 4rem 0;
  margin: 4rem 0;
}

.values__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.value h3 {
  font-size: 1.55rem;
  margin-bottom: 0.7rem;
  font-weight: 400;
}

.value h3 em { font-style: italic; color: var(--beet); }

.value h3::before {
  content: attr(data-num);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--carrot);
  font-size: 1.1rem;
  margin-right: 0.5rem;
  vertical-align: super;
}

.value p { font-size: 0.95rem; line-height: 1.7; color: var(--ink-soft); }

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 5rem; }
}

.contact-info h3 { margin-bottom: 0.5rem; }
.contact-info p { margin-bottom: 2rem; opacity: 0.85; line-height: 1.6; color: var(--ink-soft); }

.contact-info__item {
  border-top: 1px solid var(--rule);
  padding: 1.2rem 0;
}

.contact-info__item .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beet);
  margin-bottom: 0.4rem;
}

.contact-info__item .value-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.form-card {
  background: var(--paper);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 8px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--beet), var(--carrot), var(--turmeric), var(--herb), var(--blueberry));
}

.form-card h3 { margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.95rem; opacity: 0.8; margin-bottom: 2rem; color: var(--ink-soft); }

.field { display: flex; flex-direction: column; margin-bottom: 1.4rem; }

.field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beet);
  margin-bottom: 0.5rem;
}

.field label .req { color: var(--carrot); margin-left: 0.2rem; }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--beet);
  box-shadow: 0 0 0 3px rgba(184, 33, 71, 0.12);
}

.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }

.field-row { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }

@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }

button[type="submit"], .btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--beet);
  color: var(--paper);
  border: none;
  padding: 1.1rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

button[type="submit"]:hover, .btn:hover { background: var(--plum); }
button[type="submit"]:active { transform: translateY(1px); }

.form-success, .form-error {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-success {
  background: rgba(123, 170, 82, 0.18);
  border: 1px solid var(--herb);
  color: var(--kale);
}

.form-error {
  background: rgba(224, 122, 26, 0.14);
  border: 1px solid var(--carrot);
  color: var(--carrot);
}

.hidden { display: none !important; }

/* === Reveal animations === */
@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; animation: reveal 0.8s cubic-bezier(.2,.8,.2,1) forwards; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.15s; }
.reveal-3 { animation-delay: 0.25s; }
.reveal-4 { animation-delay: 0.35s; }
.reveal-5 { animation-delay: 0.45s; }

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

@media print {
  .site-header, .site-footer, .rainbow-strip { display: none; }
  body { background: white; color: black; }
}

/* -------------------------------------------------------------
   Contact form CAPTCHA
   ------------------------------------------------------------- */
.captcha-field .captcha-hint {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-left: 0.4rem;
}

.captcha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.captcha-question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.captcha-refresh {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.captcha-refresh:hover,
.captcha-refresh:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  outline: none;
}

@media (max-width: 480px) {
  .captcha-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
