/* Editorial Monstera Theme — Premium botanical aesthetic */
/* White space, soft light, monstera green + gold accents */

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

/* ============================================
   Design Tokens
   ============================================ */

:root {
  /* Colors */
  --color-white: #FFFFFF;
  --color-cream: #F5F0EB;
  --color-bg: #FAFAFA;
  --color-green-deep: #2D5A3D;
  --color-green-dark: #1B3A2A;
  --color-green-mid: #4A7C59;
  --color-green-sage: #A8C5A0;
  --color-green-light: #E8F0E6;
  --color-gold: #B8945A;
  --color-gold-light: #D4B87A;
  --color-bronze: #9A7B4F;
  --color-text: #2C2C2C;
  --color-text-muted: #6B6B6B;
  --color-text-light: #999999;
  --color-warm-gray: #F0ECE8;
  --color-border: #E8E4E0;

  /* Shadows — 5-level hierarchy */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.14);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 112px;
  --space-4xl: 128px;
  --space-section: clamp(4rem, 8vw, 8rem);

  /* Typography scale (fluid) */
  --text-display: clamp(3rem, 7vw, 6rem);
  --text-h1: clamp(2.25rem, 5vw, 3.5rem);
  --text-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.5rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-label: 0.7rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-nav: 1400px;
  --radius: 4px;
  --radius-sm: 2px;

  /* Motion */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.6s;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  /* Monstera leaf SVGs */
  --leaf-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath d='M50 118 C49 113 48 110 50 105' stroke='%232D5A3D' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath fill='%232D5A3D' fill-rule='evenodd' d='M50 105 C44 100 34 92 26 82 C22 76 28 72 32 70 C24 62 16 50 16 40 C16 30 22 20 32 12 C40 6 48 3 50 3 C52 3 60 6 68 12 C78 20 84 30 84 40 C84 50 76 62 68 70 C72 72 78 76 74 82 C66 92 56 100 50 105 Z M28 34 a6 9 0 0 1 12 0 a6 9 0 0 1 -12 0 Z M60 30 a6 9 0 0 1 12 0 a6 9 0 0 1 -12 0 Z M27 56 a5 8 0 0 1 10 0 a5 8 0 0 1 -10 0 Z M63 52 a5 8 0 0 1 10 0 a5 8 0 0 1 -10 0 Z M32 80 a4 6 0 0 1 8 0 a4 6 0 0 1 -8 0 Z M60 78 a4 6 0 0 1 8 0 a4 6 0 0 1 -8 0 Z'/%3E%3Cpath d='M50 105 Q50 80 50 55 Q50 35 50 3' stroke='%231B3A2A' stroke-width='0.8' fill='none' opacity='0.3'/%3E%3C/svg%3E");
  --leaf-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath d='M50 118 C49 113 48 110 50 105' stroke='%23FFFFFF' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath fill='%23FFFFFF' fill-rule='evenodd' d='M50 105 C44 100 34 92 26 82 C22 76 28 72 32 70 C24 62 16 50 16 40 C16 30 22 20 32 12 C40 6 48 3 50 3 C52 3 60 6 68 12 C78 20 84 30 84 40 C84 50 76 62 68 70 C72 72 78 76 74 82 C66 92 56 100 50 105 Z M28 34 a6 9 0 0 1 12 0 a6 9 0 0 1 -12 0 Z M60 30 a6 9 0 0 1 12 0 a6 9 0 0 1 -12 0 Z M27 56 a5 8 0 0 1 10 0 a5 8 0 0 1 -10 0 Z M63 52 a5 8 0 0 1 10 0 a5 8 0 0 1 -10 0 Z M32 80 a4 6 0 0 1 8 0 a4 6 0 0 1 -8 0 Z M60 78 a4 6 0 0 1 8 0 a4 6 0 0 1 -8 0 Z'/%3E%3Cpath d='M50 105 Q50 80 50 55 Q50 35 50 3' stroke='%23E8E4E0' stroke-width='0.8' fill='none' opacity='0.3'/%3E%3C/svg%3E");
  --leaf-sage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath d='M50 118 C49 113 48 110 50 105' stroke='%23A8C5A0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath fill='none' stroke='%23A8C5A0' stroke-width='1.5' d='M50 105 C44 100 34 92 26 82 C22 76 28 72 32 70 C24 62 16 50 16 40 C16 30 22 20 32 12 C40 6 48 3 50 3 C52 3 60 6 68 12 C78 20 84 30 84 40 C84 50 76 62 68 70 C72 72 78 76 74 82 C66 92 56 100 50 105 Z'/%3E%3Cellipse cx='34' cy='34' rx='6' ry='9' fill='none' stroke='%23A8C5A0' stroke-width='1.2'/%3E%3Cellipse cx='66' cy='30' rx='6' ry='9' fill='none' stroke='%23A8C5A0' stroke-width='1.2'/%3E%3Cellipse cx='32' cy='56' rx='5' ry='8' fill='none' stroke='%23A8C5A0' stroke-width='1.2'/%3E%3Cellipse cx='68' cy='52' rx='5' ry='8' fill='none' stroke='%23A8C5A0' stroke-width='1.2'/%3E%3Cellipse cx='36' cy='80' rx='4' ry='6' fill='none' stroke='%23A8C5A0' stroke-width='1.2'/%3E%3Cellipse cx='64' cy='78' rx='4' ry='6' fill='none' stroke='%23A8C5A0' stroke-width='1.2'/%3E%3Cpath d='M50 105 Q50 80 50 55 Q50 35 50 3' stroke='%23A8C5A0' stroke-width='0.8' fill='none' opacity='0.5'/%3E%3C/svg%3E");
}

/* ============================================
   Botanical Keyframes
   ============================================ */

@keyframes botanicalPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

@keyframes leafDrift1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(8px, -12px) rotate(3deg);
  }
  50% {
    transform: translate(-5px, -8px) rotate(-2deg);
  }
  75% {
    transform: translate(3px, 5px) rotate(1.5deg);
  }
}

@keyframes leafDrift2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(-10px, 8px) rotate(-3deg) scale(1.02);
  }
  66% {
    transform: translate(6px, -10px) rotate(2.5deg) scale(0.98);
  }
}

/* ============================================
   Reset & Base
   ============================================ */

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    /* Crosshatch texture */
    repeating-linear-gradient(45deg, rgba(168, 197, 160, 0.15) 0px, rgba(168, 197, 160, 0.15) 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(-45deg, rgba(168, 197, 160, 0.15) 0px, rgba(168, 197, 160, 0.15) 1px, transparent 1px, transparent 10px),
    /* Grid lines */
    repeating-linear-gradient(0deg, rgba(168, 197, 160, 0.12) 0px, rgba(168, 197, 160, 0.12) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(90deg, rgba(168, 197, 160, 0.12) 0px, rgba(168, 197, 160, 0.12) 1px, transparent 1px, transparent 30px),
    /* Gold accent dots */
    radial-gradient(circle, rgba(184, 148, 90, 0.20) 2px, transparent 2px),
    /* Botanical dots */
    radial-gradient(circle, rgba(168, 197, 160, 0.20) 1px, transparent 1px),
    radial-gradient(circle, rgba(168, 197, 160, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(74, 124, 89, 0.12) 1px, transparent 1px),
    radial-gradient(circle, rgba(184, 148, 90, 0.10) 1px, transparent 1px),
    radial-gradient(circle, rgba(168, 197, 160, 0.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(74, 124, 89, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(184, 148, 90, 0.12) 1px, transparent 1px),
    radial-gradient(circle, rgba(168, 197, 160, 0.25) 1px, transparent 1px);
  background-size:
    10px 10px, 10px 10px,
    30px 30px, 30px 30px,
    50px 50px,
    180px 180px,
    240px 240px,
    200px 200px,
    280px 280px,
    220px 220px,
    260px 260px,
    190px 190px,
    250px 250px;
  background-position:
    0 0, 0 0,
    0 0, 0 0,
    10px 10px,
    20px 30px,
    180px 40px,
    80px 130px,
    240px 140px,
    30px 180px,
    150px 230px,
    60px 20px,
    220px 190px;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image:
    radial-gradient(circle, rgba(168, 197, 160, 0.18) 1px, transparent 1px),
    radial-gradient(circle, rgba(74, 124, 89, 0.14) 1px, transparent 1px),
    radial-gradient(circle, rgba(184, 148, 90, 0.10) 1px, transparent 1px);
  background-size: 250px 250px, 300px 300px, 350px 350px;
  background-position: 50px 70px, 120px 30px, 200px 150px;
  animation: botanicalPulse 6s var(--ease-in-out) infinite;
}

body::after {
  background-image:
    radial-gradient(circle, rgba(168, 197, 160, 0.15) 1px, transparent 1px),
    radial-gradient(circle, rgba(74, 124, 89, 0.12) 1px, transparent 1px),
    radial-gradient(circle, rgba(184, 148, 90, 0.10) 1px, transparent 1px);
  background-size: 280px 280px, 320px 320px, 380px 380px;
  background-position: 90px 110px, 180px 60px, 40px 200px;
  animation: botanicalPulse 8s var(--ease-in-out) infinite -3s;
}

main {
  flex: 1;
  padding-top: 52px;
  position: relative;
}

main::before,
main::after {
  content: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-green-deep);
  text-decoration: none;
  transition: color var(--duration-fast);
}

a:hover {
  color: var(--color-gold);
}

ul, ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-green-dark);
  line-height: 1.2;
  font-weight: 400;
}

h1 {
  font-size: var(--text-h1);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-h2);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-h3);
}

p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-padding {
  padding: var(--space-section) 0;
}

.text-center {
  text-align: center;
}

.label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

/* ============================================
   Reading Progress Bar
   ============================================ */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-gold);
  z-index: 1001;
  transition: none;
}

/* ============================================
   Navigation (glassmorphic, fixed)
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232, 228, 224, 0.5);
  transition: background var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width-nav);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-green-dark);
  letter-spacing: -0.01em;
}

.nav-brand:hover {
  color: var(--color-green-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover {
  color: var(--color-green-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-green-dark);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--color-gold);
}

/* ============================================
   Hamburger (3 thin lines -> X)
   ============================================ */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-green-dark);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Mobile Nav Overlay
   ============================================ */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.mobile-overlay.open {
  display: flex;
  opacity: 1;
}

.mobile-overlay a {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-green-dark);
  transition: color var(--duration-fast);
}

.mobile-overlay a:hover {
  color: var(--color-gold);
}

.mobile-overlay a.active {
  color: var(--color-gold);
}

/* ============================================
   Hero (full viewport, parallax-ready)
   ============================================ */

.hero {
  position: relative;
  min-height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, transparent 8%),
    linear-gradient(0deg, var(--color-bg) 0%, transparent 8%),
    repeating-linear-gradient(135deg, rgba(168, 197, 160, 0.15) 0px, rgba(168, 197, 160, 0.15) 1px, transparent 1px, transparent 10px),
    var(--color-warm-gray);
}

.hero::before {
  content: none;
}

.hero-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.hero::after {
  content: none;
}

.hero-rainbow-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
  margin-top: -10rem;
}

.hero-rainbow-arc {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -6rem;
}

.hero-rainbow-name {
  position: relative;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: center;
  margin: 0;
  padding-bottom: 1.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-rainbow-arc #rainbow-grad {
  animation: rainbowShift 3s linear infinite;
}

@keyframes rainbowShift {
  0% { transform: translateX(0); }
  100% { transform: translateX(1000px); }
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  color: #1A1A1A;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: #555;
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-line {
  width: 60px;
  height: 1px;
  background: #4A7FAF;
  margin: 2rem auto 0;
}

/* Hero leaf decorations — hidden */
.hero-leaf { display: none; }

/* ============================================
   Hero Live Clock
   ============================================ */

.hero-clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.hero-clock.active {
  opacity: 1;
}

.hero-clock__date {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
  font-weight: 400;
  color: #4A7FAF;
}

.hero-clock__separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4A7FAF;
  flex-shrink: 0;
}

.hero-clock__time {
  font-variant-numeric: tabular-nums;
  font-size: var(--text-xs);
  font-weight: 400;
  color: #4A7FAF;
}

/* ============================================
   Hero Scroll Hint
   ============================================ */

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out);
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-hint span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
}

.scroll-hint svg {
  color: #4A7FAF;
  animation: scrollBounce 2s var(--ease-in-out) infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ============================================
   Buttons (rectangular, uppercase, tracked)
   ============================================ */

.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 0.85rem 2.25rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-green-deep);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-green-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-green-deep);
  border: 1px solid var(--color-green-deep);
}

.btn-secondary:hover {
  background: var(--color-green-deep);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-inverted {
  background: var(--color-white);
  color: var(--color-green-deep);
}

.btn-inverted:hover {
  background: var(--color-cream);
  color: var(--color-green-dark);
  transform: translateY(-1px);
}


/* ============================================
   Section Headers
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header .label {
  display: block;
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

.section-header .header-line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 1.5rem auto 0;
}

/* ============================================
   Page Header (for recipes & blog pages)
   ============================================ */

.page-header {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 2rem clamp(1rem, 2vw, 1.5rem);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: none;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0px, transparent 35px, rgba(168, 197, 160, 0.15) 36px, rgba(168, 197, 160, 0.15) 37px, transparent 38px);
  pointer-events: none;
  z-index: 0;
}

.page-header .label {
  display: block;
  margin-bottom: 0.5rem;
}

.page-header h1 {
  margin-bottom: 0.4rem;
}

.page-header .subtitle {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}

.page-header .header-line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 0.75rem auto 0;
}

/* ============================================
   Editorial Cards
   ============================================ */

.card {
  background-color: var(--color-white);
  background-image: radial-gradient(circle, rgba(168, 197, 160, 0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), clip-path 0.8s var(--ease-out);
}

.card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 58, 42, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.card:hover .card-image-wrap::after {
  opacity: 1;
}

.card-body {
  padding: 1.75rem;
}

.card-body h3 {
  font-size: var(--text-h3);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.card-body p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================
   Recipe Grid — Editorial (Homepage)
   ============================================ */

.recipe-grid--editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ============================================
   Card Meta (cook time / servings)
   ============================================ */

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 0.75rem;
}

.card-meta span + span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-right: 0.75rem;
  vertical-align: middle;
}

/* ============================================
   Read More Link
   ============================================ */

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-top: 0.75rem;
  transition: color var(--duration-fast), gap var(--duration-fast);
}

.read-more:hover {
  color: var(--color-bronze);
  gap: 0.6rem;
}

.read-more .arrow {
  transition: transform var(--duration-fast);
}

.read-more:hover .arrow {
  transform: translateX(2px);
}

/* ============================================
   Instagram-Clone Recipe Feed
   ============================================ */

/* Override default main padding for ig layout */
.ig-main {
  padding-top: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* Fixed toolbar below nav */
.ig-toolbar {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem;
  height: 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232, 228, 224, 0.5);
}

.ig-filter-tabs {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ig-filter-tabs::-webkit-scrollbar {
  display: none;
}

.ig-tab {
  flex-shrink: 0;
  padding: 0.5rem 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.ig-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}

.ig-tab:hover {
  color: var(--color-green-dark);
}

.ig-tab.active {
  color: var(--color-green-dark);
}

.ig-tab.active::after {
  transform: scaleX(1);
}

/* Sort */
.ig-sort {
  position: relative;
  flex-shrink: 0;
}

.ig-sort-toggle {
  padding: 0.35rem 0.75rem;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color var(--duration-fast);
}

.ig-sort-toggle:hover {
  color: var(--color-green-dark);
}

.ig-sort-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 60;
}

.ig-sort-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ig-sort-dropdown button {
  display: block;
  width: 100%;
  padding: 0.6rem 1.25rem;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: all var(--duration-fast);
}

.ig-sort-dropdown button:hover {
  background: var(--color-green-light);
  color: var(--color-green-deep);
}

.ig-sort-dropdown button.active {
  color: var(--color-green-dark);
  font-weight: 500;
}

/* Scroll-snap feed */
.ig-feed {
  flex: 1;
  margin-top: 92px; /* 52px nav + 40px toolbar */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ig-feed::-webkit-scrollbar {
  display: none;
}

/* Each post = exactly one screen, mandatory snap, centered */
.ig-post {
  height: calc(100vh - 92px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  margin: 0 auto;
  position: relative;
}

/* The card — image left column, content right */
.ig-post-card {
  width: 100%;
  max-width: min(1100px, 94vw);
  max-height: 100%;
  display: grid;
  grid-template-columns: 380px 1fr;
  background-color: var(--color-white);
  background-image: radial-gradient(circle, rgba(168, 197, 160, 0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.ig-post-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Full-height image column */
.ig-post-image {
  overflow: hidden;
  min-height: 0;
}

.ig-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.ig-post-card:hover .ig-post-image img {
  transform: scale(1.04);
}

/* Content column (header + body stacked) */
.ig-post-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Header: title, meta, description */
.ig-post-header {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.ig-post-title {
  display: flex;
  flex-direction: column;
}

.ig-post-cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 0.3rem;
}

.ig-post-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--color-green-dark);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.ig-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.ig-post-meta span + span::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-right: 0.75rem;
  vertical-align: middle;
}

.ig-post-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 0;
}

/* Two-column body: ingredients left, instructions right */
.ig-post-body {
  flex: 1;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0 1.25rem;
  padding: 0.75rem 1.5rem 1rem;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-green-sage) transparent;
  min-height: 0;
}

.ig-post-body::-webkit-scrollbar {
  width: 4px;
}

.ig-post-body::-webkit-scrollbar-track {
  background: transparent;
}

.ig-post-body::-webkit-scrollbar-thumb {
  background: var(--color-green-sage);
  border-radius: 2px;
}

.ig-post-body h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-green-deep);
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-border);
}

.ig-ingredients {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ig-ingredients li {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 300;
  line-height: 1.5;
  padding: 0.2rem 0;
  padding-left: 0.85rem;
  position: relative;
}

.ig-ingredients li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-green-sage);
}

.ig-instructions {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 300;
  line-height: 1.65;
}

/* Empty state — centered in feed area */
.ig-empty {
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

/* ============================================
   Blog Feed — Masonry Grid
   ============================================ */

.page-header + .section-padding {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

/* ====== Journal Timeline ====== */
.blog-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.blog-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 30px;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='120' viewBox='0 0 30 120'%3E%3Cpath d='M15 0 Q22 20 15 40 Q8 60 15 80 Q22 100 15 120' fill='none' stroke='%234A7C59' stroke-width='2' opacity='0.4' stroke-linecap='round'/%3E%3Cpath d='M14 25 C9 19 4 24 8 28 C10 30 14 27 14 25Z' fill='%23A8C5A0' opacity='0.6'/%3E%3Cpath d='M13 25 L7 25' fill='none' stroke='%234A7C59' stroke-width='0.5' opacity='0.25'/%3E%3Cpath d='M16 75 C21 69 26 74 22 78 C20 80 16 77 16 75Z' fill='%23A8C5A0' opacity='0.6'/%3E%3Cpath d='M17 75 L23 75' fill='none' stroke='%234A7C59' stroke-width='0.5' opacity='0.25'/%3E%3Ccircle cx='9' cy='50' r='2.5' fill='%23f4a0a0' opacity='0.45'/%3E%3Ccircle cx='9' cy='50' r='1' fill='%23e87878' opacity='0.35'/%3E%3Cpath d='M18 38 Q22 34 20 30' fill='none' stroke='%234A7C59' stroke-width='0.7' opacity='0.25' stroke-linecap='round'/%3E%3Cpath d='M12 88 Q8 84 10 80' fill='none' stroke='%234A7C59' stroke-width='0.7' opacity='0.25' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 30px 120px;
  background-position: center top;
  mask-image: linear-gradient(to bottom, transparent, black 2rem, black calc(100% - 2rem), transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 2rem, black calc(100% - 2rem), transparent);
}

/* Each entry — 3-column grid: date | marker | card */
.blog-timeline-entry {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  margin-bottom: 3rem;
  position: relative;
}

/* Date column */
.timeline-date {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  align-self: center;
  text-align: right;
  padding-right: 1.5rem;
}

/* Center marker — horizontal branch line */
.timeline-marker {
  display: flex;
  align-items: center;
  align-self: center;
}

.timeline-dot {
  width: 100%;
  height: 2px;
  background: var(--color-green-mid);
  opacity: 0.45;
}

/* Card */
.timeline-card {
  background: var(--color-white);
  background-image: radial-gradient(circle, rgba(168, 197, 160, 0.15) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-out);
  margin-left: 1.5rem;
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
}

/* Alternate sides — even entries swap date and card */
.blog-timeline-entry:nth-child(even) .timeline-date {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  padding-right: 0;
  padding-left: 1.5rem;
  align-self: center;
}

.blog-timeline-entry:nth-child(even) .timeline-marker {
  grid-column: 2;
  grid-row: 1;
}

.blog-timeline-entry:nth-child(even) .timeline-card {
  grid-column: 1;
  grid-row: 1;
  margin-left: 0;
  margin-right: 1.5rem;
}

/* Card image */
.timeline-card-image {
  position: relative;
}

.timeline-card-image img {
  width: 100%;
  display: block;
}

/* Card body */
.timeline-card-body {
  padding: 0.85rem 1rem;
}

/* Date — hidden on timeline, shown when expanded */
.timeline-card-date {
  display: none;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.timeline-card-body h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-green-dark);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.timeline-card-excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Toggle buttons */
.timeline-card-toggle {
  display: inline-block;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  cursor: pointer;
  transition: color var(--duration-fast);
}

.timeline-card-toggle:hover {
  color: var(--color-bronze);
}

/* Full content — hidden by default */
.timeline-card-full {
  display: none;
}

.timeline-card-full-inner {
  padding: 1.5rem 2rem 1rem;
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 300;
  line-height: 1.85;
  white-space: pre-line;
}

.timeline-card-full > .timeline-card-toggle {
  display: block;
  padding: 0.75rem 2rem 1.5rem;
}

/* Blog overlay backdrop */
.blog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.blog-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Expanded card — recipe-style split layout */
.timeline-card.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 94vw);
  height: min(80vh, 700px);
  z-index: 100;
  margin: 0;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 380px 1fr;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  animation: card-open 0.4s var(--ease-out) forwards;
}

.timeline-card.expanded .timeline-card-image {
  grid-column: 1;
  grid-row: 1 / -1;
  overflow: hidden;
}

.timeline-card.expanded .timeline-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--color-cream);
}

.timeline-card.expanded .timeline-card-body {
  grid-column: 2;
  grid-row: 1;
  padding: 2rem 2.5rem 1rem;
}

.timeline-card.expanded .timeline-card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.timeline-card.expanded .timeline-card-date {
  display: block;
}

.timeline-card.expanded .timeline-card-excerpt {
  display: none;
}

.timeline-card.expanded .timeline-card-body .timeline-card-toggle {
  display: none;
}

.timeline-card.expanded .timeline-card-full {
  grid-column: 2;
  grid-row: 2 / -1;
  display: block;
  overflow-y: auto;
}

.timeline-card.expanded .timeline-card-full-inner {
  border-top: none;
  padding: 0 2.5rem 0.5rem;
}

.timeline-card:not(.expanded) .timeline-card-full .timeline-card-toggle {
  display: none;
}

.timeline-card.expanded .timeline-card-full > .timeline-card-toggle {
  padding: 0.75rem 2.5rem 2rem;
}

@keyframes card-open {
  from {
    transform: translate(-50%, -50%) scaleX(0.35);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scaleX(1);
    opacity: 1;
  }
}

@keyframes card-close {
  from {
    transform: translate(-50%, -50%) scaleX(1);
    opacity: 1;
  }
  to {
    transform: translate(-50%, -50%) scaleX(0.35);
    opacity: 0;
  }
}

/* Blog image carousel */
.blog-carousel {
  position: relative;
}

.blog-carousel .carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.blog-carousel .carousel-img.active {
  opacity: 1;
  position: relative;
  height: auto;
  pointer-events: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.blog-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.3);
}

/* Touch devices: carousel buttons always visible */
@media (hover: none) {
  .carousel-btn {
    opacity: 0.85;
  }
}

/* ============================================
   Featured Blog Preview Card (homepage)
   ============================================ */

.blog-preview-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.blog-preview-card .card-image-wrap img {
  height: 100%;
  min-height: 160px;
  max-height: 220px;
}

.blog-preview-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.blog-preview-card .card-body h3 {
  font-size: 1.15rem;
}

.blog-preview-card .card-body p {
  font-size: var(--text-sm);
}

/* ============================================
   About Section (2-column asymmetric with blockquote)
   ============================================ */

.about-section {
  background-color: var(--color-cream);
  background-image:
    repeating-linear-gradient(0deg, rgba(168, 197, 160, 0.18) 0px, rgba(168, 197, 160, 0.18) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(90deg, rgba(168, 197, 160, 0.18) 0px, rgba(168, 197, 160, 0.18) 1px, transparent 1px, transparent 8px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.85;
  color: var(--color-text-muted);
  font-weight: 300;
}

.about-decor {
  position: relative;
  padding-left: 2rem;
}

.about-decor::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-gold);
}

.about-decor blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--color-green-dark);
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================
   CTA Section (dark green)
   ============================================ */

.cta-section {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.10) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    linear-gradient(135deg, var(--color-green-dark) 0%, #1E4430 50%, var(--color-green-dark) 100%);
  background-size: 20px 20px, 35px 35px, 100% 100%;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section.section-padding {
  padding: 1.5rem 0;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 1rem;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Empty State
   ============================================ */

.empty-state {
  text-align: center;
  padding: var(--space-xl) 2rem;
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.2;
}

.empty-state p {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-weight: 300;
}

/* ============================================
   Footer (editorial)
   ============================================ */

.footer {
  text-align: center;
  padding: var(--space-xl) 2rem var(--space-lg);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-green-sage), var(--color-gold), var(--color-green-sage), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-green-dark);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: 1.5rem;
}

.footer-line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 0 auto 1.5rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-nav a {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
}

.footer-nav a:hover {
  color: var(--color-gold);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ============================================
   Scroll-to-Top Button
   ============================================ */

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-green-deep);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Section Depth Gradients
   ============================================ */

.section--blog-preview {
  background:
    linear-gradient(180deg, var(--color-bg) 0%, transparent 8%),
    linear-gradient(0deg, var(--color-bg) 0%, transparent 8%),
    repeating-linear-gradient(135deg, rgba(168, 197, 160, 0.15) 0px, rgba(168, 197, 160, 0.15) 1px, transparent 1px, transparent 10px),
    var(--color-warm-gray);
}

.section-padding + .section-padding::before {
  content: '';
  display: block;
  height: 1px;
  max-width: 0;
  margin: 0 auto;
  margin-top: calc(var(--space-section) * -1);
  margin-bottom: var(--space-section);
  background: linear-gradient(90deg, transparent, var(--color-green-sage), var(--color-gold-light), var(--color-green-sage), transparent);
  opacity: 0.3;
  pointer-events: none;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   Staggered Card Entrances
   ============================================ */

.reveal-stagger .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger .reveal:nth-child(5) { transition-delay: 0.48s; }
.reveal-stagger .reveal:nth-child(6) { transition-delay: 0.60s; }

/* ============================================
   Hero Text Reveal
   ============================================ */

.text-reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.text-reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Button Ripple
   ============================================ */

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================
   Image Clip-Path Reveal
   ============================================ */

.reveal .card-image-wrap img {
  clip-path: inset(100% 0 0 0);
}

.reveal.visible .card-image-wrap img {
  clip-path: inset(0 0 0 0);
}

/* ============================================
   Animated Section Dividers
   ============================================ */

.section-padding + .section-padding::before {
  transition: max-width 1.2s var(--ease-out);
}

.section-padding + .section-padding.section-visible::before {
  max-width: 60%;
}

/* ============================================
   Background Flowers — Static Botanical Decoration
   ============================================ */

.garden-flowers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-flower {
  position: absolute;
}

/* Rose — upper left, half off-screen */
.bg-flower-1 {
  top: 2%;
  left: -120px;
  width: 520px;
  height: 520px;
  opacity: 0.25;
}

/* Daisy — right edge, mid-upper */
.bg-flower-2 {
  top: 18%;
  right: -100px;
  width: 440px;
  height: 440px;
  opacity: 0.22;
}

/* Cherry Blossom — upper right */
.bg-flower-3 {
  top: 4%;
  right: 40px;
  width: 380px;
  height: 380px;
  opacity: 0.24;
}

/* Peony — lower left, partially off-screen */
.bg-flower-4 {
  bottom: 2%;
  left: -100px;
  width: 500px;
  height: 500px;
  opacity: 0.22;
}

/* Wildflower — lower right edge */
.bg-flower-5 {
  bottom: 8%;
  right: -60px;
  width: 360px;
  height: 360px;
  opacity: 0.24;
}

/* Cherry Blossom 2 — mid left edge */
.bg-flower-6 {
  top: 42%;
  left: -50px;
  width: 340px;
  height: 340px;
  opacity: 0.22;
  transform: rotate(15deg);
}

/* Small Rose — mid right edge */
.bg-flower-7 {
  top: 55%;
  right: -80px;
  width: 400px;
  height: 400px;
  opacity: 0.20;
  transform: rotate(-10deg);
}

/* Wildflower 2 — left edge lower */
.bg-flower-8 {
  bottom: 28%;
  left: -40px;
  width: 300px;
  height: 300px;
  opacity: 0.22;
  transform: rotate(25deg);
}

/* ============================================
   Birthday Cakes — Festive Nav Decoration
   ============================================ */

.birthday-cakes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, transparent 17%,
    black 17%, black 74%,
    transparent 74%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, transparent 17%,
    black 17%, black 74%,
    transparent 74%, transparent 100%);
}

.nav-inner {
  position: relative;
  z-index: 2;
}

.bday-cake {
  position: absolute;
  top: 8px;
  width: 44px;
  height: 38px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}

.bday-balloon {
  position: absolute;
  width: 20px;
  height: 34px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}

@keyframes balloonFloat {
  0%, 100% { transform: translateY(0) rotate(var(--balloon-rot, 0deg)); }
  50% { transform: translateY(-3px) rotate(var(--balloon-rot, 0deg)); }
}

.bday-balloon { animation: balloonFloat 3s ease-in-out infinite; }

.bday-b1  { left: 6%;  top: 2px;  --balloon-rot: 5deg;  animation-delay: 0s; }
.bday-b2  { left: 17%; top: 4px;  --balloon-rot: -3deg; animation-delay: -0.8s; }
.bday-b3  { left: 28%; top: 1px;  --balloon-rot: 4deg;  animation-delay: -1.5s; }
.bday-b4  { left: 38%; top: 3px;  --balloon-rot: -6deg; animation-delay: -0.4s; }
.bday-b5  { left: 49%; top: 2px;  --balloon-rot: 3deg;  animation-delay: -2.1s; }
.bday-b6  { left: 60%; top: 5px;  --balloon-rot: -4deg; animation-delay: -1.2s; }
.bday-b7  { left: 71%; top: 1px;  --balloon-rot: 6deg;  animation-delay: -0.6s; }
.bday-b8  { left: 80%; top: 3px;  --balloon-rot: -5deg; animation-delay: -1.8s; }
.bday-b9  { left: 90%; top: 2px;  --balloon-rot: 4deg;  animation-delay: -2.5s; }

.bday-1  { left: 1%;  transform: rotate(-4deg); }
.bday-2  { left: 11%; transform: rotate(3deg); }
.bday-3  { left: 22%; transform: rotate(-2deg); }
.bday-4  { left: 33%; transform: rotate(4deg); }
.bday-5  { left: 43%; transform: rotate(-3deg); }
.bday-6  { left: 55%; transform: rotate(5deg); }
.bday-7  { left: 65%; transform: rotate(-4deg); }
.bday-8  { left: 75%; transform: rotate(2deg); }
.bday-9  { left: 85%; transform: rotate(-3deg); }
.bday-10 { left: 95%; transform: rotate(4deg); }

@keyframes flameFlicker {
  0%, 100% { transform: scaleY(1) scaleX(1) translateX(0); opacity: 0.9; }
  20% { transform: scaleY(1.25) scaleX(0.85) translateX(-0.4px); opacity: 1; }
  40% { transform: scaleY(0.88) scaleX(1.1) translateX(0.5px); opacity: 0.8; }
  60% { transform: scaleY(1.18) scaleX(0.9) translateX(-0.3px); opacity: 0.95; }
  80% { transform: scaleY(0.92) scaleX(1.05) translateX(0.3px); opacity: 0.82; }
}

.bday-flame {
  transform-origin: 0px 8px;
  animation: flameFlicker 0.8s ease-in-out infinite;
}

.bday-flame--inner {
  animation-duration: 0.6s;
  animation-delay: -0.25s;
}

/* ============================================
   Fireworks Canvas — Homepage Hero
   ============================================ */

#fireworks-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* ============================================
   Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-bg {
    position: absolute;
    transform: none !important;
  }

  body::before,
  body::after {
    opacity: 0.5;
  }

  body::before,
  body::after {
    animation: none !important;
  }

  .text-reveal-item {
    opacity: 1;
    transform: none;
  }

  .reveal .card-image-wrap img {
    clip-path: none;
  }

  .section-padding + .section-padding::before {
    max-width: 60%;
  }

  .garden-flowers {
    display: none;
  }

  #fireworks-canvas {
    display: none;
  }
}

/* ============================================
   Responsive — Mobile (768px and below)
   ============================================ */

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; }
  .nav-inner { padding: 0 1.5rem; height: 48px; }
  main { padding-top: 48px; }

  .hero { min-height: calc(100vh - 48px); }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  /* Botanical mobile adjustments */
  body { background-attachment: scroll; }
  .garden-flowers { display: none; }
  #fireworks-canvas { display: none; }
  /* Birthday decorations: shrink & cluster in the gap between brand text (~53%) and hamburger (~89%) */
  .birthday-cakes {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .bday-cake { width: 26px; height: 22px; top: 13px; }
  .bday-balloon { width: 11px; height: 20px; }

  /* Hide items that would overlap brand text or hamburger */
  .bday-1, .bday-2, .bday-3, .bday-7, .bday-8, .bday-9, .bday-10 { display: none; }
  .bday-b1, .bday-b2, .bday-b3, .bday-b6, .bday-b7, .bday-b8, .bday-b9 { display: none; }

  /* Center remaining 3 cakes + 2 balloons in the gap between brand & hamburger */
  .bday-4  { left: 50%; }
  .bday-5  { left: 61%; }
  .bday-6  { left: 72%; }
  .bday-b4 { left: 55%; top: 3px; }
  .bday-b5 { left: 67%; top: 2px; }
  .hero-clock { gap: 0.75rem; margin-top: 1.5rem; }

  /* Hero rainbow wrap: reduce aggressive negative margins on mobile */
  .hero-rainbow-wrap { margin-top: -5rem; }
  .hero-rainbow-arc { margin-bottom: -2rem; }
  .hero-rainbow-name { font-size: clamp(2rem, 8vw, 3.5rem); }

  /* Recipe grid: single column on mobile */
  .recipe-grid--editorial { grid-template-columns: 1fr; gap: 1.5rem; }

  .page-header { padding: 1.25rem 1.5rem 1rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* IG feed mobile — convert from scroll-snap to normal scrollable list */
  .ig-main {
    height: auto;
    overflow: visible;
  }
  .ig-toolbar {
    top: 48px;
    padding: 0 0.75rem;
    gap: 0.5rem;
    height: 36px;
  }
  .ig-tab {
    font-size: 0.65rem;
    padding: 0.4rem 0;
    letter-spacing: 0.08em;
  }
  .ig-sort-toggle {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
  .ig-feed {
    margin-top: 84px;
    overflow-y: auto;
    scroll-snap-type: none;
    flex: none;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .ig-post {
    height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    padding: 0;
    display: block;
  }
  .ig-post-card {
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .ig-post-image {
    height: 200px;
  }
  .ig-post-image img {
    height: 200px;
  }
  .ig-post-content {
    overflow: visible;
  }
  .ig-post-header {
    padding: 0.75rem 1rem 0.5rem;
  }
  .ig-post-title h2 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }
  .ig-post-cat {
    font-size: 0.6rem;
    margin-bottom: 0.15rem;
  }
  .ig-post-meta {
    font-size: 0.7rem;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
  }
  .ig-post-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .ig-post-body {
    grid-template-columns: 1fr;
    padding: 0.5rem 1rem 1rem;
    gap: 0.5rem;
    overflow-y: visible;
    flex: none;
  }
  .ig-post-body h3 {
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
    padding-bottom: 0.2rem;
  }
  .ig-ingredients li {
    font-size: 0.8rem;
    padding: 0.15rem 0;
    padding-left: 0.75rem;
    line-height: 1.45;
  }
  .ig-instructions {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  .ig-filter-tabs {
    gap: 0.75rem;
  }
  .ig-empty {
    position: static;
    padding: 2rem 0;
  }

  /* Timeline: single column on mobile */
  .blog-timeline::before {
    left: 16px;
    width: 24px;
    background-size: 24px 100px;
  }

  .blog-timeline-entry,
  .blog-timeline-entry:nth-child(even) {
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    margin-bottom: 2rem;
  }

  .timeline-date,
  .blog-timeline-entry:nth-child(even) .timeline-date {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0 0 0.5rem 0.75rem;
    padding-top: 0;
  }

  .timeline-marker,
  .blog-timeline-entry:nth-child(even) .timeline-marker {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-top: 0.15rem;
  }

  .timeline-card,
  .blog-timeline-entry:nth-child(even) .timeline-card {
    grid-column: 2;
    grid-row: 2;
    margin: 0 0 0 0.75rem;
  }

  .timeline-card.expanded {
    grid-template-columns: 1fr;
    grid-template-rows: 180px auto 1fr auto;
    width: 95vw;
    height: 90vh;
  }

  .timeline-card.expanded .timeline-card-image {
    grid-column: 1;
    grid-row: 1;
    height: 180px;
  }

  .timeline-card.expanded .timeline-card-body {
    grid-column: 1;
    grid-row: 2;
    padding: 1rem 1.25rem;
  }

  .timeline-card.expanded .timeline-card-full {
    grid-column: 1;
    grid-row: 3;
  }

  .timeline-card.expanded .timeline-card-full-inner {
    padding: 0 1.25rem 0.5rem;
  }

  .timeline-card.expanded .timeline-card-full > .timeline-card-toggle {
    position: sticky;
    bottom: 0;
    background: var(--color-white);
    padding: 0.75rem 1.25rem 1rem;
    border-top: 1px solid var(--color-border);
  }
  .blog-preview-card { grid-template-columns: 1fr; }
  .blog-preview-card .card-image-wrap img { min-height: 200px; height: 200px; }

  .container { padding: 0 1.25rem; }
  .cta-buttons { flex-direction: column; align-items: center; }

  .footer-nav { gap: 1.25rem; flex-wrap: wrap; }
}

/* Landscape phone: tighter hero margin to prevent overflow */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-rainbow-wrap { margin-top: -3rem; }
  .hero { min-height: auto; padding: 2rem 0; }
}

/* ============================================
   Tablet
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
  .about-grid { gap: 2.5rem; }
  .garden-flowers { opacity: 0.5; }

  /* Recipe feed: narrower image column */
  .ig-post-card {
    grid-template-columns: 280px 1fr;
  }

  /* Recipe grid: 2-col on tablet */
  .recipe-grid--editorial {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Blog preview card: constrain width */
  .blog-preview-card {
    max-width: 600px;
  }

  /* Expanded blog card */
  .timeline-card.expanded {
    grid-template-columns: 280px 1fr;
  }
}

/* ============================================
   View Transition API Support
   ============================================ */

@view-transition {
  navigation: auto;
}

::view-transition-old(main),
::view-transition-new(main) {
  animation-duration: 0.25s;
}

/* ============================================
   Admin Panel Styles
   ============================================ */

.admin-login {
  max-width: 400px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.admin-login h1 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.admin-login input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1.5px solid var(--color-green-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.admin-login input:focus {
  border-color: var(--color-green-sage);
}

.admin-login .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.admin-panel {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.admin-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-green-light);
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.admin-tabs button {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--color-green-light);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-tabs button.active,
.admin-tabs button:hover {
  background: var(--color-green-deep);
  color: var(--color-white);
  border-color: var(--color-green-deep);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-green-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-green-sage);
  box-shadow: 0 0 0 3px rgba(168, 197, 160, 0.2);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.admin-item-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-green-light);
  transition: box-shadow 0.2s ease;
}

.admin-item:hover {
  box-shadow: var(--shadow-sm);
}

.admin-item-title {
  font-weight: 500;
  color: var(--color-text);
}

.admin-item-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-item-actions button {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-green-light);
  background: var(--color-white);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-item-actions button:hover {
  background: var(--color-green-light);
  color: var(--color-green-deep);
}

.admin-item-actions .btn-delete {
  border-color: #f5c6c6;
  color: #c53030;
}

.admin-item-actions .btn-delete:hover {
  background: #fef2f2;
}

.upload-area {
  border: 2px dashed var(--color-green-sage);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--color-white);
}

.upload-area:hover,
.upload-area.dragover {
  border-color: var(--color-green-deep);
  background: var(--color-green-light);
}

.upload-area p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.upload-area .upload-icon {
  font-size: 2rem;
  color: var(--color-green-sage);
  margin-bottom: 0.5rem;
}

.upload-area input[type="file"] {
  display: none;
}

.upload-preview {
  margin-top: 1rem;
  max-width: 200px;
  border-radius: var(--radius-sm);
}

.admin-message {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.admin-message.success {
  background: var(--color-green-light);
  color: var(--color-green-deep);
  border: 1px solid var(--color-green-sage);
}

.admin-message.error {
  background: #fef2f2;
  color: #c53030;
  border: 1px solid #f5c6c6;
}

/* ============================================
   Admin Responsive
   ============================================ */

@media (max-width: 768px) {
  .admin-panel {
    padding: 1.5rem 1rem;
  }

  .admin-tabs {
    flex-wrap: wrap;
  }

  .admin-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
