/* ============================================
   BLUE RAEVEN — BRAND STYLESHEET
   ============================================ */

/* ---------- WEB FONTS ---------- */
/* Monotype/MyFonts kit (Build 3867246): Hanley Pro Block + Fave Script Pro */
@font-face {
  font-family: "HanleyProBlock";
  src: url('../fonts/HanleyProBlock/font.woff2') format('woff2'),
       url('../fonts/HanleyProBlock/font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FaveScriptPro";
  src: url('../fonts/FaveScriptPro/font.woff2') format('woff2'),
       url('../fonts/FaveScriptPro/font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --navy:        #1a3a6b;
  --navy-deep:   #0f2545;
  --green:       #4a7637;
  --green-light: #6a9a50;
  --gold:        #d4a853;
  --gold-light:  #e8c878;
  --cream:       #faf3e6;
  --cream-warm:  #f5ead0;
  --berry:       #8a2040;
  --berry-light: #b03050;
  --aqua:        #5bbfcf;
  --aqua-light:  #8fd8e3;
  --wood:        #8b7355;
  --wood-dark:   #5c4a32;
  --wood-light:  #a89070;
  --kraft:       #c9b896;
  --charcoal:    #2a2a2a;
  --warmgray:    #6b6560;
  --offwhite:    #fefcf7;
  --text-primary:   var(--charcoal);
  --text-secondary: var(--warmgray);
  --bg-body:        var(--offwhite);
  /* Brand Fonts from Vision Board */
  /* Headers: Hanley Block Display + Citrus Gothic Rough */
  --font-header-primary: 'hanley-block', 'Oswald', sans-serif;
  --font-header-alt: 'citrus-gothic-rough', 'Oswald', sans-serif;
  /* Subheads: Hanley Slim Sans */
  --font-subhead: 'hanley-slim-sans', 'Oswald', sans-serif;
  /* Personality / script subtitles: Fave Script Pro (Monotype kit) */
  --font-script: 'FaveScriptPro', 'Nexa Rust Script', cursive;
  /* Body: Futura Condensed */
  --font-body: 'futura-pt-condensed', 'futura-pt', 'Inter', sans-serif;
  /* Legacy aliases for compatibility */
  --font-display: var(--font-header-primary);
  --font-serif: 'Lora', Georgia, serif;
  /* Page hero titles */
  --font-hero-title: 'HanleyProBlock', 'Oswald', sans-serif;
  --section-pad: clamp(3rem, 8vw, 7rem);
  --container-max: 1200px;
}

/* ---------- PLACEHOLDER IMAGES ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.4rem;
  background:
    linear-gradient(135deg, rgba(26,58,107,0.06) 25%, transparent 25%),
    linear-gradient(225deg, rgba(26,58,107,0.06) 25%, transparent 25%),
    linear-gradient(315deg, rgba(26,58,107,0.06) 25%, transparent 25%),
    linear-gradient(45deg, rgba(26,58,107,0.06) 25%, transparent 25%),
    var(--cream-warm);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, 10px 0;
  border: 2px dashed rgba(26,58,107,0.15);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 80px;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent calc(50% - 0.5px), rgba(26,58,107,0.07) calc(50% - 0.5px), rgba(26,58,107,0.07) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(-45deg, transparent calc(50% - 0.5px), rgba(26,58,107,0.07) calc(50% - 0.5px), rgba(26,58,107,0.07) calc(50% + 0.5px), transparent calc(50% + 0.5px));
  pointer-events: none;
}
.ph__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.4;
  position: relative;
  z-index: 1;
  background: var(--cream-warm);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
}
.ph__size {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: var(--navy);
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

/* Variant: dark placeholder for dark sections */
.ph--dark {
  background:
    linear-gradient(135deg, rgba(250,243,230,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(250,243,230,0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(250,243,230,0.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(250,243,230,0.04) 25%, transparent 25%),
    rgba(15,37,69,0.6);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, 10px 0;
  border-color: rgba(250,243,230,0.12);
}
.ph--dark::before {
  background:
    linear-gradient(45deg, transparent calc(50% - 0.5px), rgba(250,243,230,0.05) calc(50% - 0.5px), rgba(250,243,230,0.05) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(-45deg, transparent calc(50% - 0.5px), rgba(250,243,230,0.05) calc(50% - 0.5px), rgba(250,243,230,0.05) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.ph--dark .ph__label {
  color: var(--cream);
  background: rgba(15,37,69,0.5);
}
.ph--dark .ph__size {
  color: var(--cream);
  opacity: 0.25;
}

/* Variant: small circular placeholder */
.ph--circle {
  border-radius: 50%;
  border-width: 1px;
}
.ph--circle .ph__label { font-size: 0.5rem; letter-spacing: 1px; padding: 0.1rem 0.4rem; }
.ph--circle .ph__size { font-size: 0.5rem; }

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 145px; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Brand-gold underlines on every link, site-wide. !important is needed to
   beat inline "text-decoration:underline" in page content, whose shorthand
   otherwise pins the underline color to the link's (berry) text color. Only
   affects links that actually have an underline; text color is untouched. */
a { text-decoration-color: var(--gold) !important; }
/* Content links hardcode color:var(--berry) inline; make the whole link
   (text + underline) brand gold. Scoped to that inline berry color so header
   nav and footer links — which carry no inline styles — stay untouched. */
a[style*="--berry"] { color: var(--gold) !important; }
ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- WORDPRESS BLOCK CONTENT SPACING ---------- */
/* Default spacing for block content on pages */
.wp-block-group p.has-text-color {
  line-height: 1.9;
}
/* Only set default margin if no inline style is present */
.wp-block-group p.has-text-color:not([style*="margin-bottom"]) {
  margin-bottom: 2rem;
}
.wp-block-group h2.wp-block-heading {
  margin-bottom: 0.5rem;
}
.wp-block-group h3.wp-block-heading {
  margin-top: 3.5rem !important;
  margin-bottom: 0.5rem !important;
}
/* Subtitle after h3 - tight to title, space below before content */
.wp-block-group h3.wp-block-heading + p {
  margin-bottom: 2.5rem !important;
}
/* Taglines after section headings need space below */
.wp-block-group h2.wp-block-heading + p {
  margin-bottom: 3rem !important;
}
.wp-block-group .wp-block-buttons {
  margin-top: 3rem !important;
}
/* Section containers need adequate padding */
.wp-block-group.alignfull.has-background {
  padding-top: clamp(4rem, 8vw, 6rem) !important;
  padding-bottom: clamp(4rem, 8vw, 6rem) !important;
}
/* Ensure proper spacing between adjacent groups */
.wp-block-group + .wp-block-group {
  margin-top: 0;
}

/* ---------- STRIPE BORDERS ---------- */
/* Stripe borders removed per client request */
.stripe-border,
.stripe-border--fixed,
.stripe-border--wide {
  display: none !important;
}

/* ---------- FARMSTAND FLOURISH DIVIDER ---------- */
.flourish-divider {
  text-align: center;
  padding: 1.5rem 0;
  background: var(--cream);
}
.flourish-divider img {
  max-width: 400px;
  width: 80%;
  height: auto;
  opacity: 0.85;
}

/* ---------- STRIPE SEPARATOR (Navy/White Vertical) ---------- */
.stripe-separator {
  height: 24px;
  background: repeating-linear-gradient(
    90deg,
    var(--navy) 0px,
    var(--navy) 7px,
    white 7px,
    white 14px
  );
}

/* ---------- PINSTRIPE SEPARATOR ---------- */
.picket-fence-separator,
.pinstripe-separator {
  height: 24px;
  background: repeating-linear-gradient(
    90deg,
    var(--navy) 0px,
    var(--navy) 7px,
    white 7px,
    white 14px
  );
}

/* Deprecated: legacy picket fence classes hidden */
.picket-fence,
.picket-fence-wrapper {
  display: none;
}

/* ---------- TORN PAPER 3D ELEMENTS ---------- */
.torn-paper {
  position: relative;
  display: inline-block;
  padding: 2rem 3rem;
  background-image: url('images/torn_paper_kraft.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
}
.torn-paper--white {
  background-image: url('images/torn_paper_white.png');
}
.torn-paper__text {
  position: relative;
  z-index: 1;
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy);
  line-height: 1.4;
}
.torn-paper__subtext {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ---------- WOOD TEXTURE ---------- */
.wood-bg {
  background: url('../images/wood-bg.jpg') center/cover no-repeat;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250, 243, 230, 0.97);
  backdrop-filter: blur(10px);
}
/* WordPress admin bar offset */
.admin-bar .nav {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .nav {
    top: 46px;
  }
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  position: relative;
}
.nav__brand {
  position: relative;
  z-index: 10;
  top: 20px;
}
.nav__logo-img {
  height: 144px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}
/* Desktop logo visible by default, mobile logo hidden */
.nav__logo-img--mobile {
  display: none;
}
@media (max-width: 768px) {
  .nav__logo-img--desktop {
    display: none;
  }
  .nav__logo-img--mobile {
    display: block;
    width: auto !important;
    height: 135px !important;
    max-width: none !important;
  }
  .nav__brand {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    overflow: visible;
  }
  .nav__inner {
    overflow: visible;
  }
}
.nav__links {
  display: flex;
  gap: 2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.nav__links--left {
  right: calc(50% + 180px);
}
.nav__links--right {
  left: calc(50% + 180px);
}
/* Tighter nav spacing before hamburger kicks in */
@media (max-width: 1280px) {
  .nav__links { gap: 0.9rem; }
  .nav__links a { padding: 0.5rem 0.5rem; font-size: 0.8rem; letter-spacing: 1px; }
  .nav__links--left { right: calc(50% + 170px); }
  .nav__links--right { left: calc(50% + 170px); }
}
.nav__links a {
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  border-radius: 4px;
  transition: all 0.25s ease;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--berry);
  background: rgba(138, 32, 64, 0.06);
}
.nav__links a.active {
  font-weight: 700;
}
/* Dropdown menus */
.nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__dropdown-trigger {
  cursor: pointer;
  white-space: nowrap;
}
.nav__dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
}
.nav__dropdown:hover .nav__dropdown-trigger::after {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--cream);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(26, 58, 107, 0.15);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.nav__dropdown-menu a:hover {
  color: var(--berry);
  background: rgba(138, 32, 64, 0.06);
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  transition: 0.3s;
}
/* Hamburger to X animation */
.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav__hatch {
  height: 14px;
  background: url('../images/block-tiles.png') repeat-x;
  background-size: auto 14px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn--primary {
  background: var(--gold); color: var(--navy-deep); border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 83, 0.3);
}
.btn--outline {
  background: transparent; color: var(--cream);
  border-color: rgba(250, 243, 230, 0.3);
}
.btn--outline:hover {
  border-color: var(--cream);
  background: rgba(250, 243, 230, 0.05);
}
.btn--berry {
  background: var(--berry); color: var(--cream); border-color: var(--berry);
}
.btn--berry:hover {
  background: var(--berry-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 32, 64, 0.3);
}
.btn--green {
  background: var(--green); color: var(--cream); border-color: var(--green);
}
.btn--green:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}
.btn--navy {
  background: var(--navy); color: var(--cream); border-color: var(--navy);
}
.btn--navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

/* ---------- SECTIONS ---------- */
.section { padding: var(--section-pad) 0; }
.section--cream  { background: var(--cream); }
.section--navy   { background: var(--navy-deep); color: var(--cream); width: 100%; }
.section--navy .container { width: 100%; max-width: var(--container-max); margin: 0 auto; }
.section--navy .testimonial { margin-left: auto; margin-right: auto; }
.section--kraft  { background: var(--cream-warm); }
.section--gold-light { background: linear-gradient(180deg, #f5edd8 0%, #faf3e6 100%); }

/* Retailer Links */
/* Retailer-section intro (WYSIWYG). Reproduces the former inline <p> styles
   so the rich-text field renders identically and editor-added links are
   brand berry without needing inline styles. */
.retailer-section__intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.retailer-section__intro p {
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}
.retailer-section__intro a {
  color: var(--berry);
  text-decoration: underline;
}
.retailer-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.retailer-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--cream);
  border: 2px solid var(--navy);
  border-radius: 8px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.retailer-link:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 58, 107, 0.2);
}

.section--wood {
  position: relative;
  color: var(--cream);
  width: 100%;
  background: url('../images/wood-bg.jpg') center/cover no-repeat;
}
.section--wood::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.section--wood .container { position: relative; z-index: 1; width: 100%; max-width: var(--container-max); margin: 0 auto; }
.section--wood .testimonial { margin-left: auto; margin-right: auto; }

.section--berry {
  background: var(--berry);
  color: var(--cream);
  width: 100%;
}
.section--berry .container { width: 100%; max-width: var(--container-max); margin: 0 auto; }

.section__header { text-align: center; margin-bottom: 3.5rem; }
.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500; font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.section__script {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--berry);
}
.section--navy .section__script { color: var(--aqua-light); }
.section--wood .section__script { color: var(--gold-light); }
.section--wood .section__label { color: var(--gold-light); }
.section--wood .section__title { color: var(--cream); text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.section__divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}
.section__intro {
  max-width: 650px;
  margin: -1.5rem auto 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.section--navy .section__intro { color: rgba(250,243,230,0.7); }
.section--wood .section__intro { color: rgba(250,243,230,0.85); }

/* ---------- HERO (Home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
}

/* Hero Carousel */
.hero--carousel {
  min-height: 100vh;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}
.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero__slide--video {
  overflow: hidden;
}
.hero__slide--pan {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__slide--pan .hero__pan-image {
  animation-play-state: paused;
}
.hero__slide--pan.active .hero__pan-image {
  animation-play-state: running;
}

/* Hero with slow pan (Ken Burns) effect */
.hero--pan {
  min-height: 100vh;
}
.hero__pan-image {
  position: absolute;
  inset: -8%; /* Extra room for zoom */
  width: 116%;
  height: 116%;
  background-size: auto 100%; /* Natural aspect ratio, full height */
  background-position: -800px center; /* start left-of-center */
  background-repeat: repeat-x;
  animation:
    heroPan 80s linear infinite,
    heroZoom 40s ease-in-out infinite alternate;
}
@keyframes heroPan {
  0% {
    background-position: -800px center; /* start left-of-center */
  }
  100% {
    background-position: -3528px center; /* +2728px (one image width) for seamless loop */
  }
}
@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}
/* Variant: start the pan flush against the left edge of the image.
   Travel = exact image width (2048px) for a seamless repeat-x loop.
   Duration scaled from heroPan (60s vs 80s) to keep the same px/sec. */
.hero__pan-image--from-left {
  background-position: 0 center;
  animation:
    heroPanFromLeft 60s linear infinite,
    heroZoom 40s ease-in-out infinite alternate;
}
@keyframes heroPanFromLeft {
  0%   { background-position: 0 center; }
  100% { background-position: -2048px center; }
}

/* Hero Video Background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Gentle navy gradient, darker toward the bottom to anchor the carousel
     indicators. Roughly half the opacity of the pre-removal version. */
  background: linear-gradient(
    to bottom,
    rgba(15, 37, 69, 0.11) 0%,
    rgba(15, 37, 69, 0.16) 50%,
    rgba(15, 37, 69, 0.22) 100%
  );
  z-index: 1;
}

/* Carousel indicators */
.hero__indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}
.hero__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero__indicator.active,
.hero__indicator:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(74,118,55,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(138,32,64,0.1) 0%, transparent 50%),
    linear-gradient(175deg, #0f2545 0%, #1a3a6b 35%, #1e4070 65%, #0f2545 100%);
}
/* Legacy hero gradient removed */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--section-pad) + 1rem) 1rem var(--section-pad);
  max-width: 900px;
}
/* Pin content to the top of the hero (overrides parent's align-items:center).
   margin-inline auto explicitly centers horizontally as a flex item. */
.hero__content--top {
  align-self: flex-start;
  margin-left: auto;
  margin-right: auto;
}
.hero__brand-image {
  display: block;
  width: clamp(280px, 65vw, 720px);
  height: auto;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(212,168,83,0.12);
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 500; font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
}
.hero__title {
  font-family: var(--font-hero-title);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  color: var(--cream);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
}
.hero__title-line {
  display: block;
}
.hero__title br {
  display: none;
}
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--aqua-light);
  margin-bottom: 2rem; line-height: 1.3;
}
.hero__desc {
  font-family: var(--font-serif);
  font-weight: 400; font-size: 1.05rem;
  color: rgba(250,243,230,0.75);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero__actions {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 6.5rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
}
.page-hero--navy,
.page-hero--wood {
  position: relative;
  color: var(--cream);
  background: url('../images/wood-bg.jpg') center/cover no-repeat;
}
.page-hero--navy::after,
.page-hero--wood::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 90%, rgba(138, 32, 64, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero--navy > *,
.page-hero--wood > * { position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--font-hero-title);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.page-hero__script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--gold-light);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.page-hero__divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ---------- FEATURES ROW ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 280px)); gap: 2rem; text-align: center; justify-content: center; }
.feature {
  padding: 2rem 1rem;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
}
.feature__icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212,168,83,0.2);
}
.feature__icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.feature__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- STORY (Our Story) ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.story__image-wrap {
  position: relative;
}
.story__image-frame {
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
}
.story__image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.story__frame-accent {
  position: absolute;
  top: -12px; right: -12px;
  width: 100%; height: 100%;
  border: 3px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}
.story__text h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.story__text p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.story__values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.value-card {
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 6px;
  border-left: 4px solid var(--green);
}
.value-card__icon {
  width: 36px; height: 36px;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  overflow: hidden;
}
.value-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.value-card__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
}

/* ---------- IMAGE GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery__item--tall { aspect-ratio: 3/4; grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

/* ---- Story page "Our Fields & Family": square mosaic w/ rotating images ---- */
#storyGallery {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 0.75rem;
}
#storyGallery .gallery__item {
  aspect-ratio: 1 / 1; /* square; object-fit:cover crops any image to fit */
  position: relative;
}
/* Feature tiles: 2x2 large squares. Gap math stays square because items are 1:1. */
#storyGallery .gallery__item--large { grid-column: span 2; grid-row: span 2; }
/* Stack images so a new one can crossfade in over the current one (no blank gap).
   All pool images are square, so the inherited object-fit:cover doesn't crop. */
#storyGallery .gallery__item img {
  position: absolute;
  inset: 0;
  transition: opacity 0.9s ease, filter 0.9s ease, transform 0.4s ease;
}
/* Incoming image starts invisible + softly blurred, then animates to clear */
#storyGallery .gallery__item img.is-incoming {
  opacity: 0;
  filter: blur(10px);
}
@media (max-width: 900px) {
  #storyGallery { grid-template-columns: repeat(2, 1fr); }
  #storyGallery .gallery__item--large { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  #storyGallery .gallery__item img { transition: opacity 0.5s ease; }
  #storyGallery .gallery__item img.is-incoming { filter: none; }
}

/* ---------- PIE CARDS ---------- */
.pies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.pie-card {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.pie-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.pie-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.pie-card:hover .pie-card__image img { transform: scale(1.05); }
.pie-card__tag {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--berry);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  z-index: 2;
}
.pie-card__image { position: relative; }
.pie-card__body { padding: 1.5rem; }
.pie-card__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pie-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem; line-height: 1.6;
}
.pie-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.pie-card__fruit {
  display: flex; gap: 0.5rem;
}
.pie-card__fruit img {
  width: 28px; height: 28px;
  object-fit: contain;
}
.pie-card__price {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.1rem;
  color: var(--green);
}

/* ---------- FARM STAND ---------- */
.farmstand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
  gap: 2.5rem;
  justify-content: center;
}
.farmstand__sign {
  position: relative;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 420px;
  overflow: hidden;
}
.farmstand__sign-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.farmstand__sign-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}
.farmstand__sign > *:not(.farmstand__sign-bg) { position: relative; z-index: 1; }
.farmstand__sign::after {
  content: '';
  position: absolute; inset: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
}
.farmstand__sign-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.farmstand__sign-script {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 2rem;
}
.farmstand__sign-detail {
  font-family: var(--font-body);
  font-weight: 300; font-size: 0.9rem;
  color: rgba(250,243,230,0.7);
  line-height: 1.8;
}
.farmstand__info {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.info-block {
  position: relative;
  padding: 2.5rem 2rem 2.75rem;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.info-block::before {
  content: "";
  position: absolute;
  /* Negative inset lets the PNG (with its internal transparent padding
     and baked-in shadow) extend beyond the content box, so the visible
     torn-paper region covers all the content. */
  inset: -1.75rem -2.25rem;
  background: transparent url('../images/torn-paper-kraft-3.png') no-repeat center/100% 100%;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
  transition: filter 0.25s ease;
}
.info-block:nth-child(1)::before { background-image: url('../images/torn-paper-kraft-4.png'); }
.info-block:nth-child(2)::before { background-image: url('../images/torn-paper-kraft-4.png'); }
.info-block:nth-child(3)::before { background-image: url('../images/torn-paper-kraft-5.png'); }
.info-block:hover::before { filter: drop-shadow(0 10px 22px rgba(0,0,0,0.22)); }
.info-block__title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 0.5rem;
  text-align: center;
}
.info-block__text {
  font-size: 0.95rem;
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  display: inline-block;
}
.info-block {
  text-align: center;
}
.info-block__text strong { color: var(--berry); font-weight: 700; }
.info-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.info-block__list li {
  margin-bottom: 0.5rem;
}
.info-block__list a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}
.info-block__list a:hover {
  color: var(--berry);
  text-decoration: underline;
}
.map-placeholder {
  margin-top: 2rem;
  aspect-ratio: 16/7;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e4dd 0%, #d5cfc4 50%, #e8e4dd 100%);
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder__label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wood); opacity: 0.5;
}

/* ---------- VISIT PAGE MOSAIC HERO ---------- */
.visit-hero-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 4px;
  background: var(--navy-deep);
}
.visit-hero-mosaic__main {
  grid-row: 1 / -1;
  overflow: hidden;
  position: relative;
}
.visit-hero-mosaic__side {
  overflow: hidden;
}
.visit-hero-mosaic__overlay {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 2;
}
.visit-hero-mosaic__overlay h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.visit-hero-mosaic__overlay p {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--gold-light);
}

/* ---------- PIES PAGE: SPLIT HERO ---------- */
.pie-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}
.pie-hero-split__image {
  overflow: hidden;
}
.pie-hero-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pie-hero-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(2rem, 5vw, 4rem);
  background: var(--navy-deep);
  color: var(--cream);
}
.pie-hero-split__text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.pie-hero-split__text .script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--aqua-light);
  margin-bottom: 1.25rem;
}
.pie-hero-split__text p {
  color: rgba(250,243,230,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- PIES PAGE: PROCESS STEPS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process-step {
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  counter-increment: step;
}
.process-step:nth-child(even) {
  background: rgba(212,168,83,0.06);
}
.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 1rem;
}
.process-step__image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.process-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process-step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.process-step__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- PIES PAGE: PIE FEATURE BLOCKS ---------- */
.pie-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 380px;
}
.pie-feature--reverse {
  direction: rtl;
}
.pie-feature--reverse > * {
  direction: ltr;
}
.pie-feature__image {
  overflow: hidden;
}
.pie-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pie-feature__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem clamp(2rem, 5vw, 3.5rem);
}
/* Keep CTA buttons sized to their content instead of stretching
   the full width of the flex column. */
.pie-feature__text .btn {
  align-self: flex-start;
}
.pie-feature__text--cream {
  background: var(--cream-warm);
}
.pie-feature__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 0.5rem;
}
.pie-feature__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.pie-feature__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.pie-feature--dark .pie-feature__text {
  position: relative;
  color: var(--cream);
  background: url('../images/wood-bg.jpg') center/cover no-repeat;
}
.pie-feature--dark .pie-feature__text > * { position: relative; z-index: 1; }
.pie-feature--dark .pie-feature__label {
  color: var(--gold-light);
}
.pie-feature--dark .pie-feature__name {
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.pie-feature--dark .pie-feature__desc {
  color: rgba(250,243,230,0.85);
}

/* ---------- PIES PAGE RESPONSIVE ---------- */
@media (max-width: 900px) {
  .pie-hero-split,
  .pie-feature {
    grid-template-columns: 1fr;
  }
  .pie-hero-split__image {
    min-height: 250px;
  }
  .pie-feature__image {
    min-height: 280px;
  }
  .pie-feature--reverse {
    direction: ltr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- HOURS TABLE ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.hours-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hours-table tr:last-child {
  border-bottom: none;
}
.hours-table td {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.hours-table td:first-child {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  width: 40%;
}
.hours-table .highlight td {
  color: var(--berry);
  font-weight: 500;
}

/* ---------- WHAT YOU'LL FIND CARDS ---------- */
.what-youll-find {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.find-card {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.find-card:hover {
  transform: translateY(-4px);
}
.find-card__image {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.find-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.find-card__body {
  padding: 1.5rem;
}
.find-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.find-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- SEASONAL CALLOUT ---------- */
.seasonal-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-left: 4px solid var(--berry);
}
.seasonal-callout__image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.seasonal-callout__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.seasonal-callout__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.seasonal-callout__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- DIRECTIONS SPLIT ---------- */
.directions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}
.directions-split__map {
  background: linear-gradient(135deg, #e8e4dd 0%, #d5cfc4 50%, #e8e4dd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.directions-split__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(2rem, 5vw, 4rem);
  background: url('../images/wood-bg.jpg') center/cover no-repeat;
  color: var(--cream);
  border-left: 4px solid var(--berry);
}
.directions-split__text > * { position: relative; z-index: 1; }
.directions-split__text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--cream);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.directions-split__text p {
  color: rgba(250,243,230,0.85);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.directions-split__text address {
  font-style: normal;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  line-height: 1.8;
}

/* ---------- VISIT PAGE RESPONSIVE ---------- */
@media (max-width: 900px) {
  .visit-hero-mosaic {
    display: block;
  }
  .visit-hero-mosaic__main {
    height: 350px;
  }
  .visit-hero-mosaic__side {
    display: none;
  }
  .what-youll-find {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .directions-split {
    grid-template-columns: 1fr;
  }
  .directions-split__map {
    min-height: 250px;
  }
}
@media (max-width: 640px) {
  .seasonal-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .seasonal-callout__image {
    margin: 0 auto;
  }
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact__intro h3 {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}
.contact__intro p {
  color: rgba(250,243,230,0.7);
  margin-bottom: 1.25rem; line-height: 1.8;
}
.contact__social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: all 0.3s;
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.social-link svg {
  width: 18px; height: 18px;
  fill: var(--gold-light);
  transition: fill 0.3s;
}
.social-link:hover svg { fill: var(--navy-deep); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-family: var(--font-display);
  font-weight: 400; font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: 4px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(250,243,230,0.3); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }
/* Force readable dropdown options. The closed select uses cream text on the
   dark form, but the open option list renders in the browser's native popup
   (often a white background), so options need explicit dark-on-white colors
   to avoid white-on-white in some browsers. */
.form-field select option {
  color: var(--charcoal);
  background-color: #ffffff;
}

/* ---------- CONTACT PAGE: HERO IMAGE ---------- */
.contact-hero-image {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.contact-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.contact-hero-image__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 2;
  background: rgba(15, 37, 69, 0.5);
}
.contact-hero-image__overlay h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.contact-hero-image__overlay p {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--gold-light);
}

/* ---------- CONTACT PAGE: METHODS ---------- */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.contact-method {
  position: relative;
  text-align: center;
  padding: 3rem 2.5rem 3.25rem;
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
  transition: transform 0.3s;
}
.contact-method::before {
  content: "";
  position: absolute;
  /* Negative inset + 100% sizing keeps each paper's baked-in shadow
     fully visible (never cropped by the box) and consistent across all three. */
  inset: -1.25rem -0.75rem;
  background: transparent url('../images/torn-paper-kraft-1.png') no-repeat center/100% 100%;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.18));
  transition: filter 0.3s;
}
.contact-method:nth-child(1)::before { background-image: url('../images/torn-paper-kraft-1.png'); }
.contact-method:nth-child(2)::before { background-image: url('../images/torn-paper-kraft-4.png'); }
.contact-method:nth-child(3)::before { background-image: url('../images/torn-paper-kraft-5.png'); }
.contact-method:hover {
  transform: translateY(-4px);
}
.contact-method:hover::before {
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.22));
}
.contact-method__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 0.85rem;
}
.contact-method__text {
  font-size: 0.95rem;
  color: var(--navy-deep);
  font-weight: 500;
  line-height: 1.7;
}
.contact-method__text a {
  color: var(--berry);
  font-weight: 700;
  border-bottom: 1px solid rgba(138, 32, 64, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.contact-method__text a:hover {
  color: var(--berry-light);
  border-color: var(--berry-light);
}

/* ---------- CONTACT PAGE: FORM SECTION ---------- */
.form-section {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 0;
  min-height: 600px;
}
.form-section__form-wrap {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--navy-deep);
}
.form-section__form-wrap h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.form-section__form-wrap .subtitle {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--aqua-light);
  margin-bottom: 2rem;
}
.form-section__image {
  overflow: hidden;
}
.form-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- CONTACT PAGE: ORDER CALLOUT ---------- */
.order-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.order-callout__image {
  overflow: hidden;
}
.order-callout__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-callout__text {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream-warm);
}
.order-callout__text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.order-callout__text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ---------- CONTACT PAGE: FAQ ---------- */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1.5rem 0;
}
.faq-item:first-child {
  padding-top: 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item__q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.faq-item__q::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.faq-item__a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1.55rem;
}

/* ---------- CONTACT PAGE RESPONSIVE ---------- */
@media (max-width: 900px) {
  .contact-methods {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 4rem;
  }
  .form-section {
    grid-template-columns: 1fr;
  }
  .form-section__image {
    min-height: 280px;
    order: -1;
  }
  .order-callout {
    grid-template-columns: 1fr;
  }
  .order-callout__image {
    min-height: 240px;
  }
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- TESTIMONIAL ---------- */
.testimonial { text-align: center; max-width: 700px; margin: 0 auto; padding: 3rem 2rem; }
.testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem; line-height: 1.9;
  color: var(--cream);
  margin-bottom: 1.5rem;
  position: relative;
}
.testimonial__quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 4rem; color: var(--gold);
  position: absolute;
  top: -1.5rem; left: 50%;
  transform: translateX(-50%);
  line-height: 1; opacity: 0.5;
}
.testimonial__author {
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  text-align: center; padding: 4rem 2rem;
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.cta-banner__text {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ---------- STORY BANNER ---------- */
.story-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
}
/* Spacer element for breathing room above each story banner.
   We tried margin-top on .story-banner, but WP injects
   `body .is-layout-flow > * + * { margin-block-start: 0 !important }`
   from global-styles-inline-css and outranked our selector. A real block
   with explicit height sidesteps that entirely (height isn't zeroed). */
.story-banner-spacer {
  height: 0.5rem;
}
.story-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(15, 37, 69, 0.45); /* navy-deep overlay for legibility */
}
.story-banner__box {
  position: relative; z-index: 1;
  background: rgba(250, 243, 230, 0.78); /* cream */
  border-radius: 8px;
  padding: 3rem 3.5rem;
  max-width: 1200px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.story-banner__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1rem;
}
.story-banner__subhead {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--berry);
  margin-bottom: 2rem;
}
@media (max-width: 600px) {
  .story-banner { padding: 4rem 1.25rem; }
  .story-banner__box { padding: 2.25rem 1.75rem; }
}
/* "Open" variant: no cream box, light text with stroke + shadow so the
   text reads cleanly directly over the photo background. */
.story-banner--open::before {
  background: rgba(15, 37, 69, 0.55); /* slightly stronger photo overlay */
}
.story-banner--open .story-banner__box {
  background: transparent;
  box-shadow: none;
}
.story-banner--open .story-banner__title,
.story-banner--open .story-banner__subhead {
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(0,0,0,0.75), 0 0 4px rgba(0,0,0,0.6);
}
.story-banner--open .story-banner__title {
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.5);
}

/* ---------- SEASON BANNER ---------- */
.season-banner { padding: 1.25rem 0; text-align: center; }
.season-banner__inner {
  display: inline-flex;
  align-items: center; gap: 1.5rem;
  padding: 0.75rem 2rem;
  background: rgba(212,168,83,0.08);
  border: 1px dashed var(--gold);
  border-radius: 4px;
}
.season-banner__text {
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
}
.season-banner__text span { color: var(--berry); }
.season-banner__icon {
  width: 20px; height: 20px;
}
.season-banner__icon img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- PHOTO BANNER ---------- */
.photo-banner {
  height: 225px;
  overflow: hidden;
  position: relative;
}
.photo-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.photo-banner--overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,37,69,0.3), rgba(15,37,69,0.5));
}

/* ---------- TIMELINE ---------- */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
}
.timeline__item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -3rem; top: 0.25rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-body);
}
.timeline__year {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--berry);
  margin-bottom: 0.35rem;
}
.timeline__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.timeline__images {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.timeline__images img {
  width: calc(50% - 0.5rem);
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(15, 37, 69, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline__images img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(15, 37, 69, 0.15);
}
.timeline__images img.crop-top {
  object-position: top;
}
.timeline__images img.crop-bottom {
  object-position: bottom;
}
.timeline__images--single img {
  width: 100%;
  max-width: 300px;
  height: 180px;
}
@media (max-width: 600px) {
  .timeline__images img {
    width: 100%;
    height: 140px;
  }
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 37, 69, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.lightbox.active {
  display: flex;
}
.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}
.lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox__close:hover {
  opacity: 1;
}
.lightbox__caption {
  text-align: center;
  color: var(--cream);
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 3.5rem 0 1.5rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__inner--three-col {
  grid-template-columns: 1fr 1.5fr 1fr;
}
.footer__hours {
  display: block;
  font-size: 0.75rem;
  color: rgba(250,243,230,0.5);
  margin-top: 0.15rem;
}
.footer__location-name {
  font-weight: 600;
  display: block;
}
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.footer__social a {
  color: rgba(180, 195, 220, 0.7);
  transition: color 0.2s ease;
}
.footer__social a:hover {
  color: rgba(180, 195, 220, 1);
}
.footer__social svg {
  width: 18px;
  height: 18px;
}
.footer__link-list--visit li {
  margin-bottom: 1rem;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer__brand-name span { color: var(--gold); }
.footer__brand-script {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.footer__brand-desc {
  font-size: 0.85rem;
  color: rgba(250,243,230,0.5);
  line-height: 1.7;
  max-width: 300px;
}
.footer__heading {
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer__link-list li { margin-bottom: 0.6rem; }
.footer__link-list a {
  font-size: 0.85rem;
  color: rgba(250,243,230,0.6);
  transition: color 0.25s;
}
.footer__link-list a:hover { color: var(--gold-light); }
.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(250,243,230,0.35);
}
.footer__credit {
  color: rgba(250,243,230,0.25);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}
.footer__credit:hover {
  color: rgba(250,243,230,0.5);
}

/* ---------- FARM BANNER ---------- */
.farm-banner {
  width: 100%;
  line-height: 0;
}
.farm-banner__image {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .story, .farmstand-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .story__image-frame { aspect-ratio: 3/2; max-height: 350px; }
  .footer__inner, .footer__inner--three-col { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .features { grid-template-columns: 1fr 1fr; }
  .pies-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  /* Hide desktop nav links on tablet/mobile */
  .nav__links--left,
  .nav__links--right {
    display: none !important;
  }
  .nav__toggle { display: flex; }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; gap: 0; }
  .footer__inner, .footer__inner--three-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .story__values { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .farmstand__sign { min-height: 320px; padding: 2rem; }
  .gallery { grid-template-columns: 1fr; }
  .season-banner__inner { flex-direction: column; gap: 0.5rem; }
}

/* ---------- MOBILE NAVIGATION PANEL ---------- */
.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(250, 243, 230, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(26, 58, 107, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  padding: 1rem 0;
  margin-top: 0;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.nav__mobile-menu.open {
  display: flex;
}
/* Top-level links */
.nav__mobile-menu > a {
  display: block;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 58, 107, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__mobile-menu > a:hover,
.nav__mobile-menu > a.active {
  color: var(--berry);
  background: rgba(138, 32, 64, 0.06);
}
/* Mobile dropdown accordions */
.nav__mobile-dropdown {
  border-bottom: 1px solid rgba(26, 58, 107, 0.08);
}
.nav__mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__mobile-dropdown-trigger:hover {
  color: var(--berry);
  background: rgba(138, 32, 64, 0.06);
}
.nav__mobile-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav__mobile-dropdown.open .nav__mobile-arrow {
  transform: rotate(180deg);
}
/* Parent link (overview page) */
.nav__mobile-parent-link {
  display: none;
  padding: 0.75rem 1.5rem 0.75rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--berry);
  text-decoration: none;
  background: rgba(26, 58, 107, 0.03);
  border-top: 1px solid rgba(26, 58, 107, 0.06);
}
.nav__mobile-dropdown.open .nav__mobile-parent-link {
  display: block;
}
.nav__mobile-parent-link:hover {
  background: rgba(138, 32, 64, 0.08);
}
/* Submenu items */
.nav__mobile-submenu {
  display: none;
  flex-direction: column;
  background: rgba(26, 58, 107, 0.03);
  padding-bottom: 0.5rem;
}
.nav__mobile-dropdown.open .nav__mobile-submenu {
  display: flex;
}
.nav__mobile-submenu a {
  display: block;
  padding: 0.75rem 1.5rem 0.75rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__mobile-submenu a:hover,
.nav__mobile-submenu a.active {
  color: var(--berry);
  background: rgba(138, 32, 64, 0.08);
}
/* Hide mobile menu on desktop */
@media (min-width: 1101px) {
  .nav__mobile-menu {
    display: none !important;
  }
}

/* ---------- DOWNLOAD CARDS ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 3rem auto 0;
}
@media (max-width: 900px) {
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}
@media (max-width: 600px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}
.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.15);
}
.download-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  border-color: var(--gold);
}
.download-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.download-card__icon--pdf {
  background: #dc3545;
  color: white;
}
.download-card__icon--excel {
  background: #198754;
  color: white;
}
.download-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.download-card__desc {
  font-size: 0.85rem;
  color: rgba(250, 243, 230, 0.75);
  line-height: 1.5;
}

/* ---------- FAQ ACCORDIONS ---------- */
.wp-block-details {
  background: white;
  border: 1px solid rgba(26, 58, 107, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.wp-block-details:hover {
  box-shadow: 0 2px 8px rgba(26, 58, 107, 0.1);
}
.wp-block-details summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
}
.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.wp-block-details summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--berry);
  transition: transform 0.2s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}
.wp-block-details[open] summary::after {
  content: '−';
}
.wp-block-details[open] summary {
  border-bottom: 1px solid rgba(26, 58, 107, 0.1);
}
.wp-block-details > *:not(summary) {
  padding: 0 1.25rem 1rem;
}
.wp-block-details p {
  margin-top: 1rem;
}

/* ---------- BAKING INSTRUCTIONS PAGE ---------- */
.instructions-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(26, 58, 107, 0.08);
}
.instructions-card__title {
  font-family: var(--font-header-primary);
  font-size: 1.5rem;
  color: var(--berry);
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.5px;
}
.instructions-card__subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--warmgray);
  margin: 0 0 1.25rem 0;
  font-style: italic;
}
.instructions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.instructions-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
}
.instructions-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.instructions-list li:last-child {
  margin-bottom: 0;
}
.instructions-card--with-image {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.instructions-card__image {
  flex: 0 0 280px;
  border-radius: 8px;
  overflow: hidden;
}
.instructions-card__image img {
  width: 100%;
  height: auto;
  display: block;
}
.instructions-card__content {
  flex: 1;
}
@media (max-width: 768px) {
  .instructions-card--with-image {
    flex-direction: column;
  }
  .instructions-card__image {
    flex: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1.5rem;
  }
}

/* FAQ Section */
.faq-section {
  margin-top: 3rem;
}
.faq-section__title {
  font-family: var(--font-header-primary);
  font-size: 1.75rem;
  color: var(--navy);
  margin: 0 0 1.5rem 0;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Smooth Accordion Animation */
.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px rgba(26, 58, 107, 0.06);
  overflow: hidden;
  border: 1px solid rgba(26, 58, 107, 0.08);
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  transition: background 0.2s ease;
}
.faq-item summary:hover {
  background: rgba(26, 58, 107, 0.02);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--berry);
  margin-left: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  background: rgba(26, 58, 107, 0.02);
}

/* Smooth content animation using grid */
.faq-item .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}
.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}
.faq-item .faq-answer > div {
  overflow: hidden;
}
.faq-item .faq-answer p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--warmgray);
}

/* Fallback for browsers without grid animation support */
.faq-item > p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--warmgray);
}

/* Non-collapsible FAQ items (always open) */
.faq-item--open {
  background: white;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 4px rgba(26, 58, 107, 0.06);
  overflow: hidden;
  border: 1px solid rgba(26, 58, 107, 0.08);
}
.faq-item--open .faq-item__question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}
.faq-item--open .faq-answer {
  display: block;
}
.faq-item--open .faq-answer > div {
  overflow: visible;
}
.faq-item--open .faq-answer p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--warmgray);
}

/* ---------- CONTENT PAGE FORMATTING ---------- */
.content-block {
  margin-bottom: 2.5rem;
}
.content-block:last-child {
  margin-bottom: 0;
}
.content-block p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin: 0 0 1rem 0;
}
.content-block p:last-child {
  margin-bottom: 0;
}
.content-block .lead-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.content-block--centered {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 58, 107, 0.1);
}

/* Section Titles */
.section-title {
  font-family: var(--font-header-primary);
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  margin: 0 0 1rem 0;
}
.section-title--berry {
  color: var(--berry);
}
.section-title--navy {
  color: var(--navy);
}

/* Berry List */
.berry-list {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--warmgray);
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
}
.btn--berry {
  background: var(--berry);
  color: var(--cream);
}
.btn--berry:hover {
  background: var(--berry-light);
  color: white;
}

/* ---------- PRODUCT NAVIGATION CARDS ---------- */
.product-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .product-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .product-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
.product-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  background: url('../images/torn-paper-kraft-5.png') center/115% auto no-repeat;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 100px;
}
.product-nav__item:hover {
  transform: translateY(-2px) scale(1.02);
}
.product-nav__title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ---------- PIES LISTING LAYOUT ---------- */
.pies-listing {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
}

.pies-listing__sign {
  position: sticky;
  top: 120px;
}

.pies-listing__sign img {
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.15));
}

@media (max-width: 900px) {
  .pies-listing {
    display: block;
  }

  .pies-listing__sign {
    display: none;
  }
}

/* ---------- SIMPLE PIE CARDS ---------- */
.pie-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 700px) {
  .pie-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.pie-card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 20px rgba(26, 58, 107, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26, 58, 107, 0.12);
}

.pie-card__title {
  font-family: var(--font-header-primary);
  font-size: 1.5rem;
  color: var(--berry);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.pie-card__description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin: 0;
}

.pie-card__description em {
  color: var(--warmgray);
  font-style: italic;
}

/* Product family hero image */
.pies-hero-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(26, 58, 107, 0.15);
}

/* Placeholder image for pies without photos */
.pie-card__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream) 100%);
}

.pie-card__placeholder-icon {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.pie-card__placeholder-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--berry);
}
/* Mobile padding for alignfull blocks */
@media (max-width: 768px) {
  .wp-block-group.alignfull.has-background {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .wp-block-group.alignfull .wp-block-columns {
    flex-direction: column;
  }
  .wp-block-group.alignfull .wp-block-column {
    flex-basis: 100% !important;
  }
  /* Page hero mobile padding */
  .page-hero .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ---------- FLOATING BADGE ---------- */
.floating-badge {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 999;
  width: clamp(120px, 16vw, 200px);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}
.floating-badge__link {
  display: block;
  line-height: 0;
  transition: transform 0.25s ease;
}
a.floating-badge__link:hover { transform: scale(1.05); }
.floating-badge img { width: 100%; height: auto; }
.floating-badge__dismiss {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}
.floating-badge__dismiss:hover { background: var(--berry); transform: scale(1.1); }
@media (max-width: 600px) {
  .floating-badge { width: 110px; right: 0.75rem; bottom: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-badge__link, .floating-badge__dismiss { transition: none; }
}

/* Deployed: Wed May 13 09:49:59 PDT 2026 */
/* Force sync: 2026-05-13 */
