/*
Theme Name: The Fruitful Garden
Theme URI: https://thefruitful.garden
Author: Jacqui Wishart
Author URI: https://thefruitful.garden
Description: A warm, organic WordPress theme for The Fruitful Garden — a garden content hub and blog.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thefruitfulgarden
Tags: blog, one-column, custom-colors, custom-logo, editor-style, featured-images, block-styles
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Organic muted palette — lets photography shine */
  --fg-linen: #faf7f2;
  --fg-paper: #f4efe7;
  --fg-warm-white: #fffcf7;
  --fg-stone: #d4cbbe;
  --fg-stone-light: #e8e1d6;
  --fg-sage: #7c8c6e;
  --fg-sage-deep: #5a6b4d;
  --fg-sage-pale: #e5ead9;
  --fg-olive: #4a5540;
  --fg-bark: #6b5e4f;
  --fg-clay: #c4956a;
  --fg-clay-light: #ddb892;
  --fg-text: #3a3530;
  --fg-text-mid: #6b6259;
  --fg-text-soft: #9b9184;
  --fg-border: #e0d8cd;

  /* Typography */
  --font-display: 'Libre Baskerville', 'Georgia', serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-2xl: 5rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 760px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--fg-text);
  background-color: var(--fg-linen);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg-sage-deep); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--fg-clay); }
::selection { background: var(--fg-sage-pale); color: var(--fg-text); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg-olive);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p + p { margin-top: 1.2em; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.content-narrow { max-width: var(--content-width); margin: 0 auto; }
.section { padding: var(--sp-2xl) 0; }
.section--alt { background: var(--fg-warm-white); }
.section--muted { background: var(--fg-paper); border-top: 1px solid var(--fg-border); border-bottom: 1px solid var(--fg-border); }

.section-label {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--fg-clay);
  margin-bottom: 0.25rem;
}

.section-title { margin-bottom: var(--sp-lg); }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  background: var(--fg-warm-white);
  border-bottom: 1px solid var(--fg-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 2px 20px rgba(58, 53, 48, 0.06); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-logo img { width: 100%; height: 100%; border-radius: 50%; }

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--fg-sage-pale);
  border: 1.5px solid var(--fg-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg-olive);
  letter-spacing: -0.01em;
}

.brand-name em { font-style: italic; color: var(--fg-sage); font-weight: 400; }

.brand-sub {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--fg-text-soft);
  display: block;
  line-height: 1.1;
}

/* Primary Navigation */
.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-text-mid);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.current-menu-item .nav-link,
.nav-link--active { color: var(--fg-sage-deep); background: var(--fg-sage-pale); }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--fg-olive);
}

.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fg-warm-white);
    border-bottom: 1px solid var(--fg-border);
    padding: var(--sp-sm) 2rem;
    box-shadow: 0 4px 20px rgba(58, 53, 48, 0.06);
  }

  .primary-nav.is-open { display: block; }

  .nav-list { flex-direction: column; gap: 0; }

  .nav-link { display: block; padding: 0.65rem 1rem; border-radius: 6px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--sage {
  background: var(--fg-sage-deep);
  color: var(--fg-warm-white);
  border-color: var(--fg-sage-deep);
}

.btn--sage:hover {
  background: var(--fg-olive);
  border-color: var(--fg-olive);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 85, 64, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--fg-sage-deep);
  border-color: var(--fg-stone);
}

.btn--outline:hover {
  border-color: var(--fg-sage);
  background: var(--fg-sage-pale);
}

/* ============================================
   HERO (FRONT PAGE)
   ============================================ */
.hero {
  padding: var(--sp-2xl) 0 var(--sp-xl);
  background: var(--fg-linen);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-content { padding-right: 1rem; }

.hero-tag {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--fg-clay);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title em { font-style: italic; font-weight: 400; color: var(--fg-sage); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--fg-text-mid);
  margin-bottom: 1.75rem;
  max-width: 440px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Hero photo collage */
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  max-width: 520px;
}

.hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.hero-photos .photo-tall { grid-row: 1 / 3; }
.hero-photos .photo-square { aspect-ratio: 1; overflow: hidden; border-radius: 12px; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { padding-right: 0; order: 2; }
  .hero-photos { order: 1; max-width: 360px; margin: 0 auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

/* ============================================
   POST CARDS
   ============================================ */
/* Featured post (large) */
.featured-post {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--fg-linen);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.4s;
  border: 1px solid var(--fg-border);
}

.featured-post:hover { box-shadow: 0 8px 30px rgba(58, 53, 48, 0.08); }

.featured-post__img { overflow: hidden; min-height: 340px; }

.featured-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.featured-post:hover .featured-post__img img { transform: scale(1.03); }

.featured-post__body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__img { min-height: 220px; }
}

/* Post card (small) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

.post-card {
  background: var(--fg-linen);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fg-border);
  transition: all 0.4s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(58, 53, 48, 0.08);
}

.post-card__img { overflow: hidden; aspect-ratio: 3/2; }

.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.post-card__body { padding: 1.25rem 1.25rem 1.5rem; }

/* Shared post meta styles */
.post-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-sage);
  margin-bottom: 0.5rem;
  display: block;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--fg-text-soft);
  margin-bottom: 0.4rem;
  display: block;
}

.post-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg-olive);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.post-title a { color: inherit; }
.post-title a:hover { color: var(--fg-sage); }

.featured-post .post-title { font-size: 1.55rem; }
.post-card .post-title { font-size: 1.1rem; }

.post-excerpt {
  color: var(--fg-text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.post-card .post-excerpt { font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.75rem; }

.read-more {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--fg-sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s;
}

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

/* No-thumbnail placeholder */
.post-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--fg-sage-pale), var(--fg-stone-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ============================================
   ABOUT STRIP (FRONT PAGE)
   ============================================ */
.about-strip {
  padding: var(--sp-xl) 0;
  background: var(--fg-paper);
  border-top: 1px solid var(--fg-border);
  border-bottom: 1px solid var(--fg-border);
}

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-lg);
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--fg-warm-white);
  box-shadow: 0 4px 15px rgba(58, 53, 48, 0.08);
}

.about-text h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.about-text p { color: var(--fg-text-mid); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }

@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ============================================
   SINGLE POST
   ============================================ */
.post-header {
  text-align: center;
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.post-header .post-cat {
  display: inline-block;
  background: var(--fg-sage-pale);
  padding: 0.25rem 0.8rem;
  border-radius: 4px;
  margin-bottom: var(--sp-sm);
}

.post-header .post-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 800px;
  margin: 0 auto var(--sp-sm);
}

.post-header .post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.post-featured-image {
  max-width: 900px;
  margin: 0 auto var(--sp-xl);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(58, 53, 48, 0.08);
}

.post-featured-image img { width: 100%; height: auto; }

/* Post content typography */
.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--fg-border);
}

.post-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.post-content p { margin-bottom: 1.3rem; }
.post-content ul, .post-content ol { margin-bottom: 1.3rem; padding-left: 1.5rem; }
.post-content li { margin-bottom: 0.4rem; }

.post-content blockquote {
  border-left: 3px solid var(--fg-clay);
  background: var(--fg-warm-white);
  padding: var(--sp-md) var(--sp-lg);
  margin: var(--sp-lg) 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--fg-text-mid);
  font-size: 1.05rem;
}

.post-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-text-soft);
  font-style: italic;
  margin-top: 0.5rem;
}

.post-content .wp-block-image { margin: var(--sp-lg) 0; border-radius: 8px; overflow: hidden; }

/* Post tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--sp-lg); }

.post-tags a {
  background: var(--fg-sage-pale);
  color: var(--fg-sage-deep);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.3s;
}

.post-tags a:hover { background: var(--fg-stone-light); color: var(--fg-olive); }

/* Post navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: var(--sp-md) 0;
  margin-top: var(--sp-xl);
  border-top: 1px solid var(--fg-border);
  border-bottom: 1px solid var(--fg-border);
}

.post-nav__label {
  font-size: 0.78rem;
  color: var(--fg-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-nav__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg-olive);
  margin-top: 0.25rem;
  display: block;
}

.post-nav__title:hover { color: var(--fg-sage); }

/* ============================================
   ARCHIVE / BLOG INDEX
   ============================================ */
.archive-header {
  text-align: center;
  padding: var(--sp-xl) 0;
}

.archive-header p { color: var(--fg-text-mid); max-width: 500px; margin: 0.5rem auto 0; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--sp-xl) 0;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s;
}

.pagination a {
  color: var(--fg-text);
  background: var(--fg-warm-white);
  border: 1px solid var(--fg-border);
}

.pagination a:hover {
  background: var(--fg-sage-pale);
  border-color: var(--fg-sage);
  color: var(--fg-sage-deep);
}

.pagination .current { background: var(--fg-sage-deep); color: #fff; }

/* ============================================
   INSTAGRAM FEED PAGE
   ============================================ */
.insta-header {
  text-align: center;
  padding: var(--sp-xl) 0 var(--sp-lg);
}

.insta-header .insta-handle {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--fg-clay);
  margin-bottom: 0.25rem;
  display: block;
}

.insta-header p {
  color: var(--fg-text-mid);
  max-width: 480px;
  margin: 0.5rem auto 1.5rem;
}

.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: var(--fg-olive);
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.insta-follow-btn:hover {
  background: var(--fg-sage-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 85, 64, 0.2);
}

.insta-follow-btn svg { width: 18px; height: 18px; }

/* Placeholder grid for when no plugin is active */
.insta-grid-placeholder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.insta-grid-placeholder .insta-placeholder-item {
  aspect-ratio: 1;
  background: var(--fg-stone-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  overflow: hidden;
}

.insta-grid-placeholder .insta-placeholder-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Plugin feed container */
.insta-feed-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem var(--sp-2xl);
}

.insta-setup-note {
  text-align: center;
  padding: var(--sp-xl);
  background: var(--fg-warm-white);
  border: 1px dashed var(--fg-border);
  border-radius: 12px;
  margin: var(--sp-lg) auto;
  max-width: 600px;
}

.insta-setup-note p { color: var(--fg-text-mid); font-size: 0.95rem; }
.insta-setup-note code {
  background: var(--fg-sage-pale);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.85rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--fg-olive);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.footer-brand-name em { font-weight: 400; color: rgba(255, 255, 255, 0.6); font-style: italic; }
.footer-desc { font-size: 0.88rem; max-width: 300px; line-height: 1.6; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.6rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s;
}

.footer-social a:hover { background: var(--fg-clay); transform: translateY(-2px); color: #fff; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; }
.footer-col a:hover { color: var(--fg-clay-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-desc { margin: 0 auto 1rem; }
  .footer-social { justify-content: center; }
}

/* ============================================
   GUTENBERG BLOCK SUPPORT
   ============================================ */
.wp-block-separator { border: none; border-top: 1px solid var(--fg-border); max-width: 80px; margin: var(--sp-lg) auto; }

.wp-block-button__link {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 6px !important;
  padding: 0.7rem 1.5rem;
}

.wp-block-pullquote {
  border-top: 2px solid var(--fg-clay);
  border-bottom: 2px solid var(--fg-clay);
  padding: var(--sp-md) 0;
  font-family: var(--font-display);
}

.has-fg-sage-color { color: var(--fg-sage) !important; }
.has-fg-sage-background-color { background-color: var(--fg-sage) !important; }
.has-fg-olive-color { color: var(--fg-olive) !important; }
.has-fg-olive-background-color { background-color: var(--fg-olive) !important; }
.has-fg-clay-color { color: var(--fg-clay) !important; }
.has-fg-clay-background-color { background-color: var(--fg-clay) !important; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.15s; }
.delay-3 { animation-delay: 0.25s; }

/* ============================================
   WP ADMIN BAR
   ============================================ */
body.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
