/* ============================================================
   VALLEY BEAR FARMS: BASE STYLESHEET
   ------------------------------------------------------------
   NOTE: The Blog 4 Source Code did not include the referenced
   css/style.css. This base stylesheet was reconstructed from the
   class names, design tokens, and inline styles present in the
   source HTML so the established header, footer, hero, "vanish"
   intro, "at-a-glance", and final-CTA components render faithfully.
   Design tokens (colors, fonts, spacing) are derived directly from
   the rgba()/var() values used throughout the source.
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --orange: #d4753a;
  --orange-hover: #bd6430;

  --green-dark: #16341f;
  --green-darker: #0d1f14;

  --white: #ffffff;
  --cream: #f7f3ec;
  --gray-bg: #f4f1ea;
  --gray-light: #e6e0d6;

  --text-dark: #1d2420;
  --text-body: #4a4f4a;
  --text-muted: #8a847a;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; }
a { color: var(--orange); }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem clamp(1.5rem, 6vw, 7rem);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--gray-light);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.header-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 46px; width: auto; display: block; }

.header-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-family: var(--sans); font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--text-dark); text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--orange); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: none; padding: 0;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-dark); transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--orange); }
.nav-dropdown-caret {
  width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-caret { transform: rotate(-135deg) translateY(-2px); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 0.85rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--white);
  border: 1px solid var(--gray-light); border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  padding: 0.5rem; opacity: 0; visibility: hidden;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
.nav-dropdown-menu a {
  display: block; padding: 0.6rem 0.9rem; border-radius: 5px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-body);
  text-decoration: none; transition: background 0.18s, color 0.18s;
}
.nav-dropdown-menu a:hover { background: var(--cream); color: var(--orange); }
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

.header-cta {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 1.6rem; background: var(--orange); color: var(--white);
  border-radius: 4px; text-decoration: none; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: background 0.25s, transform 0.25s;
}
.header-cta:hover { background: var(--orange-hover); transform: translateY(-1px); }

/* Hamburger */
.header-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.header-hamburger span {
  display: block; width: 26px; height: 2px; background: var(--text-dark);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(8,20,12,0.5);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  z-index: 110;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(360px, 86vw); background: var(--white);
  z-index: 120; padding: 2rem 1.75rem;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute; top: 1.1rem; right: 1.25rem;
  background: none; border: none; font-size: 2rem; line-height: 1;
  color: var(--text-dark);
}
.mobile-menu-inner { margin-top: 2.5rem; display: flex; flex-direction: column; }
.mobile-menu-section { margin-bottom: 1.75rem; }
.mobile-menu-label {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem;
}
.mobile-menu-link {
  display: block; padding: 0.6rem 0; font-size: 1.05rem; font-weight: 500;
  color: var(--text-dark); text-decoration: none;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-menu-cta {
  margin-top: 0.5rem; text-align: center;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 1rem; background: var(--orange); color: var(--white);
  border-radius: 4px; text-decoration: none;
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== "VANISH" INTRO SECTION ===== */
.vanish {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.5rem, 6vw, 7rem);
  background: var(--white);
}
.vanish-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem); align-items: start;
}
.vanish h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text-dark); line-height: 1.1; margin-bottom: 1.5rem;
}
.vanish h2 em { font-style: italic; color: var(--green-dark); }
.vanish-body {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  color: var(--text-body); line-height: 1.8; margin-bottom: 1.4rem;
}
.vanish-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); text-decoration: none; margin-top: 0.5rem;
  transition: gap 0.3s;
}
.vanish-cta:hover { gap: 1rem; }
.vanish-cta svg { width: 20px; height: 20px; }

/* ===== AT A GLANCE CARD ===== */
.at-a-glance {
  background: var(--cream); border: 1px solid var(--gray-light);
  border-radius: 12px; padding: 1.75rem 2rem;
  position: sticky; top: 6rem;
}
.at-a-glance-title {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
  padding-bottom: 1rem; margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-light);
}
.glance-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--gray-light);
}
.glance-row:last-child { border-bottom: none; }
.glance-label { font-size: 0.9rem; color: var(--text-muted); }
.glance-value {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: var(--text-dark); text-align: right;
}
.glance-value.highlight { color: var(--orange); font-style: italic; }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 6vw, 7rem);
  background: var(--green-darker); text-align: center;
}
.final-cta-content { max-width: 760px; margin: 0 auto; }
.final-cta-eyebrow {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.25rem;
}
.final-cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white); line-height: 1.1; margin-bottom: 1.5rem;
}
.final-cta h2 em { font-style: italic; color: rgba(255,255,255,0.72); }
.final-cta-sub {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: rgba(255,255,255,0.74); line-height: 1.8; margin-bottom: 2.5rem;
}
.btn-cta-large {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 1.15rem 3rem; background: var(--orange); color: var(--white);
  border-radius: 40px; text-decoration: none; min-height: 54px;
  box-shadow: 0 6px 26px rgba(212,117,58,0.35);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-cta-large:hover {
  background: var(--orange-hover); transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(212,117,58,0.45);
}

/* ===== RESPONSIVE: BASE ===== */
@media (max-width: 1024px) {
  .vanish-inner { grid-template-columns: 1fr; }
  .at-a-glance { position: static; }
}
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-hamburger { display: flex; }
}
