/* ==========================================================================
   Mountain View Farm (EST. 2020) • Creston, BC
   Heritage Rustic-Modern Brand Stylesheet (Mobile-First, Tested to 360px)
   ========================================================================== */

:root {
  /* Core Brand Palette Extracted from Mountain View Farm Badge Logo */
  --ink: #2B2927;
  --ink-soft: #4F4B46;
  --ink-muted: #706B64;

  --parchment: #FAF8F5;
  --parchment-warm: #F3EFE8;
  --parchment-card: #FFFFFF;
  --border-heritage: #E2DACD;
  --border-strong: #C9BFA9;

  --sage: #3E5641;
  --sage-dark: #2C3F2E;
  --sage-tint: #EBF0EB;

  --terracotta: #8C4A32;
  --terracotta-dark: #6E3824;
  --terracotta-tint: #F7EBE6;

  --harvest-gold: #B87B28;
  --harvest-tint: #FDF4E6;

  --fb-blue: #1877F2;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Radius */
  --shadow-sm: 0 2px 8px rgba(43, 41, 39, 0.06);
  --shadow-md: 0 10px 28px rgba(43, 41, 39, 0.08);
  --shadow-lg: 0 20px 44px rgba(43, 41, 39, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--parchment);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   1. ANNOUNCEMENT BANNER (Dismissible + Purcell Live Sync)
   ========================================================================== */
.announcement-banner {
  background-color: var(--terracotta);
  color: var(--parchment);
  border-bottom: 1px solid rgba(43, 41, 39, 0.15);
  font-size: 0.875rem;
  position: relative;
  z-index: 1001;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.announcement-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.announcement-pill {
  background-color: rgba(250, 248, 245, 0.2);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.announcement-text {
  font-weight: 500;
  line-height: 1.35;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.announcement-cta {
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.announcement-cta:hover {
  opacity: 0.88;
}

.announcement-dismiss {
  background: rgba(0, 0, 0, 0.18);
  border: none;
  color: #FFFFFF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.announcement-dismiss:hover {
  background: rgba(0, 0, 0, 0.34);
}

/* ==========================================================================
   2. STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-heritage);
  box-shadow: 0 4px 20px rgba(43, 41, 39, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-location {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.65rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--sage);
  transition: width 0.22s ease;
}

.nav-link:hover {
  color: var(--ink);
}

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

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background-color: #FFFFFF;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon-btn:hover {
  background-color: var(--fb-blue);
  border-color: var(--fb-blue);
  color: #FFFFFF;
}

.inquiry-count-badge {
  background-color: var(--terracotta);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   3. BUTTONS & COMMON UI ELEMENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.72rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.25;
}

.btn-primary {
  background-color: var(--sage);
  color: #FFFFFF;
  border-color: var(--sage);
  box-shadow: 0 4px 12px rgba(62, 86, 65, 0.22);
}

.btn-primary:hover {
  background-color: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background-color: var(--ink);
  color: var(--parchment);
}

.btn-facebook {
  background-color: var(--fb-blue);
  color: #FFFFFF;
  border-color: var(--fb-blue);
}

.btn-facebook:hover {
  background-color: #1464C9;
  border-color: #1464C9;
}

.btn-lg {
  padding: 0.92rem 1.55rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.52rem 0.95rem;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 0.55rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.015em;
}

.section-subtitle,
.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 680px;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-header-center .section-subtitle {
  margin: 0.85rem auto 0;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.75rem 0 4.5rem;
  background: radial-gradient(circle at 82% 22%, rgba(62, 86, 65, 0.08), transparent 48%),
              radial-gradient(circle at 12% 80%, rgba(140, 74, 50, 0.08), transparent 45%),
              linear-gradient(180deg, var(--parchment) 0%, var(--parchment-warm) 100%);
  border-bottom: 1px solid var(--border-heritage);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  border: 1px solid var(--border-strong);
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sage);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.55rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.09;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-subheadline {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 1.85rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--border-strong);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-heritage);
}

.trust-pill svg {
  color: var(--sage);
  flex-shrink: 0;
}

/* Emblem Card Showcase */
.emblem-card {
  position: relative;
  background-color: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.65rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.emblem-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--terracotta);
}

.emblem-corner-tl { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.emblem-corner-tr { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.emblem-corner-bl { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.emblem-corner-br { bottom: 10px; right: 10px; border-left: none; border-top: none; }

.emblem-logo-frame {
  max-width: 350px;
  margin: 0 auto 1.1rem;
  padding: 0.5rem;
}

.hero-badge-logo {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.emblem-caption {
  border-top: 1px solid var(--border-heritage);
  padding-top: 1rem;
}

.emblem-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(62, 86, 65, 0.2);
}

.emblem-hours-preview {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ==========================================================================
   5. OUR FARM STORY & PILLARS
   ========================================================================== */
.our-farm-section {
  padding: 4.5rem 0;
  background-color: var(--parchment);
  border-bottom: 1px solid var(--border-heritage);
}

.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2.75rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-heritage);
  border-top: 4px solid var(--sage);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.pillar-card:nth-child(2) {
  border-top-color: var(--terracotta);
}

.pillar-card:nth-child(3) {
  border-top-color: var(--ink);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--parchment-warm);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
}

.pillar-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ==========================================================================
   6. WHAT WE RAISE & GROW (Produce, Meat & Farm Goods Grid)
   ========================================================================== */
.products-section {
  padding: 4.75rem 0;
  background-color: var(--parchment-warm);
  border-bottom: 1px solid var(--border-heritage);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  background: #FFFFFF;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-heritage);
  box-shadow: var(--shadow-sm);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cat-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.18s ease;
}

.cat-tab:hover {
  background-color: var(--parchment-warm);
  color: var(--ink);
}

.cat-tab.active {
  background-color: var(--ink);
  color: var(--parchment);
}

.tab-count {
  font-size: 0.74rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background-color: rgba(112, 107, 100, 0.16);
}

.cat-tab.active .tab-count {
  background-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.status-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.status-in-season { background-color: var(--sage); }
.status-deposits { background-color: var(--terracotta); }
.status-limited { background-color: var(--harvest-gold); }

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: var(--parchment-card);
  border: 1.5px solid var(--border-heritage);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-card.is-selected {
  border-color: var(--sage);
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8F4 100%);
  box-shadow: 0 10px 26px rgba(62, 86, 65, 0.14);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.product-category-tag {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
}

.season-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-in-season {
  background-color: var(--sage-tint);
  color: var(--sage-dark);
  border: 1px solid rgba(62, 86, 65, 0.25);
}

.badge-deposits {
  background-color: var(--terracotta-tint);
  color: var(--terracotta-dark);
  border: 1px solid rgba(140, 74, 50, 0.25);
}

.badge-limited {
  background-color: var(--harvest-tint);
  color: #875612;
  border: 1px solid rgba(184, 123, 40, 0.3);
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.product-desc {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.product-meta {
  background-color: var(--parchment);
  border: 1px solid var(--border-heritage);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.15rem;
  font-size: 0.83rem;
}

.meta-row + .meta-row {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--border-heritage);
}

.meta-label {
  font-weight: 700;
  color: var(--ink);
  margin-right: 0.3rem;
}

.meta-value {
  color: var(--ink-soft);
}

.btn-inquiry-toggle {
  width: 100%;
  background-color: var(--parchment-warm);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.68rem 1rem;
  font-weight: 700;
}

.btn-inquiry-toggle:hover {
  background-color: var(--ink);
  color: var(--parchment);
}

.btn-inquiry-toggle.is-added {
  background-color: var(--sage);
  border-color: var(--sage);
  color: #FFFFFF;
}

/* ==========================================================================
   7. DYNAMIC PRODUCE & MEAT INQUIRY FORM (#inquire)
   ========================================================================== */
.inquiry-section {
  padding: 5rem 0;
  background-color: var(--parchment);
  border-bottom: 1px solid var(--border-heritage);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.75rem;
  align-items: start;
}

.inquiry-intro {
  color: var(--ink-soft);
  margin: 0.9rem 0 1.75rem;
  font-size: 1rem;
}

.steps-card {
  background-color: var(--parchment-warm);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.steps-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.how-it-works-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-it-works-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.how-it-works-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.how-it-works-list p {
  font-size: 0.87rem;
  color: var(--ink-soft);
}

.direct-contact-box {
  background-color: #FFFFFF;
  border: 1px solid var(--border-heritage);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.direct-contact-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.direct-contact-box p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.direct-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.direct-link:hover {
  color: var(--terracotta);
}

/* Form Card */
.inquiry-form-card {
  background-color: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-heritage);
}

.form-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 0.25rem;
}

.form-card-header p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.form-error-banner {
  background-color: #FEF2F2;
  border: 1px solid #DC2626;
  color: #991B1B;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.req {
  color: var(--terracotta);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--parchment);
  color: var(--ink);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(62, 86, 65, 0.15);
}

.form-group input.has-error {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #DC2626;
  font-weight: 600;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

/* Contact Preference Toggle */
.pref-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  background-color: var(--parchment);
  padding: 0.28rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
}

.pref-radio-option {
  position: relative;
  cursor: pointer;
  margin: 0 !important;
}

.pref-radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pref-radio-option span {
  display: block;
  text-align: center;
  padding: 0.48rem 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  color: var(--ink-soft);
  transition: all 0.18s ease;
}

.pref-radio-option input:checked + span {
  background-color: var(--ink);
  color: #FFFFFF;
}

/* Interactive Item Checklist */
.checklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.checklist-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.selected-pill {
  background-color: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.interactive-checklist {
  max-height: 290px;
  overflow-y: auto;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--parchment);
  divide-y: 1px solid var(--border-heritage);
}

.checklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-heritage);
  transition: background-color 0.15s ease;
}

.checklist-row:last-child {
  border-bottom: none;
}

.checklist-row.is-checked {
  background-color: #EEF5EE;
}

.checklist-label-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  flex: 1;
}

.checklist-label-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
  cursor: pointer;
  flex-shrink: 0;
}

.checklist-item-info {
  display: flex;
  flex-direction: column;
}

.checklist-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.checklist-item-cat {
  font-size: 0.73rem;
  color: var(--ink-muted);
}

.checklist-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.checklist-qty-input {
  width: 74px !important;
  padding: 0.32rem 0.45rem !important;
  font-size: 0.82rem !important;
  text-align: center;
  background-color: #FFFFFF !important;
}

.checklist-unit-label {
  font-size: 0.76rem;
  color: var(--ink-muted);
  min-width: 64px;
}

/* ==========================================================================
   Purcell Shield "I'm not a robot" Verification Widget
   ========================================================================== */
.robot-verification-box {
  background-color: var(--parchment, #FAF8F5);
  border: 1.5px solid var(--border-strong, #D1DBD4);
  border-radius: var(--radius-md, 10px);
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.robot-verification-box.robot-verified {
  border-color: #86efac !important;
  background-color: #f0fdf4 !important;
}

.robot-verification-box.robot-error {
  border-color: #ef4444 !important;
}

.robot-trigger-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.robot-trigger-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  flex: 1;
  outline: none;
}

.robot-trigger-row:focus-visible {
  outline: 2px solid var(--sage, #3E5641);
  outline-offset: 3px;
  border-radius: 6px;
}

.robot-check-indicator {
  width: 26px;
  height: 26px;
  border: 2px solid #94a3b8;
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.robot-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid var(--sage, #3E5641);
  border-top-color: transparent;
  border-radius: 50%;
  animation: robotSpin 0.7s linear infinite;
}

@keyframes robotSpin {
  to {
    transform: rotate(360deg);
  }
}

.robot-checkmark {
  display: none;
  width: 17px;
  height: 17px;
  color: #ffffff;
}

.robot-label-wrap {
  display: flex;
  flex-direction: column;
}

.robot-status-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink, #1F2923);
  line-height: 1.2;
}

.robot-sub-label {
  font-size: 0.75rem;
  color: var(--ink-muted, #64748b);
  line-height: 1.2;
  margin-top: 2px;
}

.robot-shield-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.68rem;
  color: var(--ink-muted, #64748b);
  line-height: 1.2;
  flex-shrink: 0;
}

.robot-shield-title {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--sage, #3E5641);
}

.robot-shield-sub {
  font-size: 0.68rem;
}

.robot-challenge-pane {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-heritage, #e2e8f0);
}

.robot-challenge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.robot-question-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink, #1F2923);
}

.robot-refresh-btn {
  background: none;
  border: none;
  color: var(--terracotta, #8C4A32);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.robot-refresh-btn:hover {
  color: var(--ink, #1F2923);
}

.robot-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.pw-challenge-opt {
  background: #ffffff;
  border: 1.5px solid var(--border-strong, #cbd5e1);
  border-radius: 7px;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink, #1F2923);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  font-family: inherit;
}

.pw-challenge-opt:hover {
  background: var(--parchment, #f8faf8);
  border-color: var(--sage, #3E5641);
  color: var(--sage, #3E5641);
  transform: translateY(-1px);
}

.pw-challenge-opt:active {
  transform: translateY(0);
}

.robot-challenge-error {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #b91c1c;
  font-weight: 600;
}

/* Confirmation Receipt UI */
.inquiry-receipt {
  text-align: center;
  padding: 1rem 0.5rem;
}

.receipt-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--sage);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.receipt-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
}

.receipt-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0.3rem 0 0.5rem;
}

.receipt-subtitle {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.receipt-box {
  text-align: left;
  background-color: var(--parchment);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.receipt-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.receipt-divider {
  height: 1px;
  background-color: var(--border-strong);
  margin: 0.85rem 0;
}

.receipt-items-header {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.receipt-items-list {
  list-style: none;
  margin-bottom: 0.75rem;
}

.receipt-items-list li {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--border-heritage);
  display: flex;
  justify-content: space-between;
}

.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ==========================================================================
   8. FACEBOOK PROFILE & DUAL-MODE LIVE FEED SECTION (#farm-updates)
   ========================================================================== */
.facebook-section {
  padding: 4.75rem 0;
  background-color: var(--parchment-warm);
  border-bottom: 1px solid var(--border-heritage);
}

.fb-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.fb-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Self-Serve Updater Drawer */
.fb-updater-drawer {
  background-color: #FFFFFF;
  border: 2px solid var(--terracotta);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.fb-updater-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.fb-updater-info p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.fb-updater-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fb-updater-btns {
  display: flex;
  gap: 0.65rem;
}

/* Dual-Mode Feed Grid */
.fb-dual-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.fb-embed-panel {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}

.fb-panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-heritage);
}

.fb-profile-mini {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fb-profile-mini img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  object-fit: contain;
}

.fb-profile-mini strong {
  display: block;
  font-size: 0.92rem;
}

.fb-profile-mini span {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.fb-live-pill {
  background-color: #E7F3FF;
  color: var(--fb-blue);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.fb-sdk-frame-wrap {
  background-color: var(--parchment);
  border: 1px solid var(--border-heritage);
  border-radius: 10px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-direct-profile-card {
  background-color: var(--parchment-warm);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.fb-direct-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.83rem;
  color: var(--ink-soft);
}

.fb-direct-note svg {
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Curated Farm Dispatches */
.curated-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.curated-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.curated-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage);
}

.fb-posts-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.fb-no-posts-card {
  background-color: #FFFFFF;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.fb-no-posts-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.fb-icon-muted {
  color: var(--fb-blue);
  opacity: 0.9;
}

.fb-no-posts-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0;
}

.fb-no-posts-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.fb-post-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-heritage);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.fb-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.fb-post-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fb-post-author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  object-fit: contain;
}

.fb-post-author strong {
  display: block;
  font-size: 0.92rem;
}

.fb-post-author span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.fb-post-badge {
  background-color: var(--sage-tint);
  color: var(--sage-dark);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.fb-post-body {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.fb-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-heritage);
  font-size: 0.84rem;
  font-weight: 700;
}

.fb-post-action {
  color: var(--sage-dark);
}

.fb-post-permalink {
  color: var(--fb-blue);
}

/* ==========================================================================
   9. FARM GATE HOURS, CONTACT & CRESTON BC LOCATION (#hours-location)
   ========================================================================== */
.location-section {
  padding: 4.75rem 0;
  background-color: var(--parchment);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.hours-card,
.map-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hours-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-heritage);
}

.card-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--terracotta);
}

.hours-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.sync-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  background-color: var(--sage-tint);
  color: var(--sage-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--sage);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--parchment);
  font-size: 0.9rem;
}

.hours-row.is-today {
  background-color: var(--sage-tint);
  border: 1px solid var(--sage);
  font-weight: 700;
}

.hours-day {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.today-pill {
  background-color: var(--sage);
  color: #FFFFFF;
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.hours-time {
  color: var(--ink-soft);
  text-align: right;
}

.hours-time.is-appointment {
  color: var(--terracotta);
  font-weight: 600;
}

.hours-contact-strip {
  background-color: var(--parchment-warm);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.contact-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-label {
  font-weight: 700;
  color: var(--ink);
}

.contact-detail-item a {
  font-weight: 600;
  color: var(--sage-dark);
}

.map-frame-wrapper {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  margin-bottom: 1.15rem;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-card-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.map-card-footer p {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   10. FLOATING INQUIRY TRAY & FOOTER
   ========================================================================== */
.floating-inquiry-tray {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 990;
  width: calc(100% - 2rem);
  max-width: 640px;
  background-color: var(--ink);
  color: var(--parchment);
  border: 2px solid var(--sage);
  border-radius: 999px;
  padding: 0.65rem 0.85rem 0.65rem 1.1rem;
  box-shadow: var(--shadow-lg);
}

.tray-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tray-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tray-count-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: #FFFFFF;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tray-summary strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
}

.tray-summary span {
  font-size: 0.76rem;
  color: #D0C9BE;
}

/* Footer */
.site-footer {
  background-color: var(--ink);
  color: var(--parchment);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.14);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #FFFFFF;
  padding: 3px;
  object-fit: contain;
}

.footer-est {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #D7997E;
  font-weight: 700;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #FFFFFF;
}

.footer-desc {
  color: #C9C3B8;
  font-size: 0.92rem;
  max-width: 420px;
  margin-bottom: 1.25rem;
}

.footer-fb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-fb-pill:hover {
  background-color: var(--fb-blue);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.footer-links-col ul,
.footer-contact-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #C9C3B8;
}

.footer-links-col a:hover,
.footer-contact-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.83rem;
  color: #A8A196;
}

.footer-portal-credit {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.portal-sandbox-trigger {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--parchment);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.portal-sandbox-trigger:hover {
  background-color: var(--sage);
  border-color: var(--sage);
}

/* ==========================================================================
   11. PURCELL WEBWORKS LIVE SYNC SANDBOX MODAL
   ========================================================================== */
.sandbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(43, 41, 39, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.sandbox-modal[hidden] {
  display: none !important;
}

.sandbox-modal-card {
  background-color: #FFFFFF;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.sandbox-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.sandbox-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
}

.sandbox-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.sandbox-desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}

.sandbox-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* ==========================================================================
   11B. WHERE OUR FARM-FRESH EGGS ARE SOLD (#egg-locations)
   ========================================================================== */
.meta-link {
  font-weight: 700;
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.meta-link:hover {
  color: var(--terracotta);
}

.egg-locations-section {
  padding: 4.75rem 0;
  background: radial-gradient(circle at 88% 15%, rgba(184, 123, 40, 0.08), transparent 46%),
              radial-gradient(circle at 12% 85%, rgba(62, 86, 65, 0.07), transparent 46%),
              var(--parchment);
  border-bottom: 1px solid var(--border-heritage);
}

/* Egg Locations Grid & Cards */
.egg-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.egg-location-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-strong);
  border-top: 4px solid var(--harvest-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.egg-location-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.egg-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.egg-type-badge {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--terracotta);
  background-color: var(--terracotta-tint);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.egg-restock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage-dark);
  background-color: var(--sage-tint);
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}

.egg-loc-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.9rem;
  line-height: 1.25;
}

/* Clickable Address Link Box */
.egg-address-card {
  background-color: var(--parchment);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.egg-address-card:hover {
  border-color: var(--sage);
  background-color: #F6F9F6;
}

.egg-address-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  cursor: pointer;
}

.egg-address-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--sage);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.egg-address-link:hover .egg-address-icon {
  background-color: var(--terracotta);
  transform: scale(1.05);
}

.egg-address-text-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.egg-address-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage-dark);
}

.egg-address-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-strong);
}

.egg-address-link:hover .egg-address-value {
  color: var(--terracotta);
  text-decoration-color: var(--terracotta);
}

.egg-address-arrow {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sage);
  flex-shrink: 0;
}

.egg-loc-meta {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.egg-meta-line {
  margin-bottom: 0.3rem;
}

.egg-meta-line strong {
  color: var(--ink);
  margin-right: 0.25rem;
}

.egg-loc-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-style: italic;
}

.egg-wholesale-callout {
  background-color: var(--parchment-warm);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.egg-callout-text {
  max-width: 720px;
}

.egg-callout-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.egg-callout-text p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS (Tested Down to 360px Mobile Width)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .section-header-split,
  .inquiry-layout,
  .fb-dual-grid,
  .location-grid,
  .footer-grid,
  .egg-locations-grid,
  .egg-form-grid-three {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--parchment);
    border-bottom: 2px solid var(--ink);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-md);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .announcement-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .announcement-actions {
    width: 100%;
    justify-content: space-between;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .header-inquire-btn span:first-child {
    font-size: 0.84rem;
  }

  .hero-section {
    padding: 2.25rem 0 3rem;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .form-row-two,
  .fb-updater-inputs {
    grid-template-columns: 1fr;
  }

  .inquiry-form-card {
    padding: 1.35rem 1.1rem;
  }

  .checklist-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .checklist-qty-wrap {
    width: 100%;
    justify-content: flex-end;
  }

  .floating-inquiry-tray {
    border-radius: var(--radius-md);
    bottom: 0.75rem;
  }

  .tray-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
}

/* ==========================================================================
   12. PURCELL WEBWORKS DYNAMIC PHOTO SLOTS & GALLERY
   ========================================================================== */
.hero-badge-logo.has-custom-photo {
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
}

.about-photo-wrapper {
  margin: 2rem 0 2.5rem;
}

.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-heritage);
  background-color: var(--card-bg);
}

.about-photo-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.about-photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background-color: rgba(27, 36, 32, 0.88);
  color: #FAF8F5;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Catalog Feature Photo Duo (Meats & Produce) */
.section-photo-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0 2.25rem;
}

.section-photo-card,
.egg-photo-banner-card,
.location-photo-card,
.inquiry-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-heritage);
  background-color: var(--card-bg);
}

.section-slot-img,
.egg-slot-img,
.location-slot-img,
.inquiry-slot-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.section-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(27, 36, 32, 0) 0%, rgba(27, 36, 32, 0.92) 100%);
  color: #FAF8F5;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.overlay-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.overlay-sub {
  font-size: 0.95rem;
  font-weight: 600;
}

.egg-photo-banner-wrapper,
.location-photo-wrapper,
.inquiry-photo-wrapper {
  margin: 2rem 0 2.5rem;
}

.egg-photo-badge,
.location-photo-badge {
  position: absolute;
  bottom: 1.15rem;
  left: 1.15rem;
  background-color: rgba(27, 36, 32, 0.88);
  color: #FAF8F5;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-gallery-inner {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-heritage);
}

.gallery-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--ink);
  margin-top: 0.35rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border-heritage);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.gallery-img-frame {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #EAE6DF;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.gallery-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: #FFFFFF;
  border-top: 1px solid var(--border-heritage);
}

/* ==========================================================================
   13. STARTUP INTRO VIDEO OVERLAY (First-Visit Experience)
   ========================================================================== */
html.intro-dismissed #startup-intro-overlay {
  display: none !important;
}

.startup-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background-color: #070A08;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s;
}

.startup-intro-overlay.is-dismissing {
  opacity: 0;
  pointer-events: none;
}

.intro-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

.intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100vw;
  max-height: 100vh;
}

.intro-skip-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(18, 26, 22, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FAF8F5;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.intro-skip-btn:hover {
  background: rgba(140, 74, 50, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.04);
}

.intro-play-prompt {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: rgba(11, 16, 13, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: pointer;
}

.prompt-card {
  background: #18221D;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 2.2rem 2.5rem;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  animation: promptCardIn 0.45s ease-out;
}

@keyframes promptCardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.prompt-logo {
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin-bottom: 0.35rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.prompt-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.prompt-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #FAF8F5;
  margin: 0;
  line-height: 1.25;
}

.prompt-card p {
  font-size: 0.88rem;
  color: rgba(250, 248, 245, 0.75);
  margin: 0 0 0.8rem;
  line-height: 1.45;
}

.prompt-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  background-color: var(--forest);
  color: #FAF8F5;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.prompt-play-btn:hover {
  background-color: var(--terracotta);
  transform: translateY(-2px);
}

.footer-replay-intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid var(--border-heritage);
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-replay-intro-btn:hover {
  background: var(--card-bg);
  color: var(--forest);
  border-color: var(--forest);
}


