/* ============================================================
   BATCH 22 — MAIN COMPONENT STYLES & LAYOUT ENGINE
   ============================================================ */

/* ------------------------------------------------------------
   1. NAVIGATION HEADER
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-off-black);
  border-bottom: 1px solid rgba(255, 127, 50, 0.15);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  max-width: var(--site-max-width);
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(24px, 2.5vw, 48px); /* Minimum gap distance of 24px between logo and Home link */
}

@media (min-width: 992px) {
  .header-container {
    width: 84%; /* 8% left mark to 92% right mark */
  }
}

.brand-logo img {
  height: 64px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(55%) sepia(82%) saturate(1900%) hue-rotate(338deg) brightness(101%) contrast(101%); /* Tint to Vivid Orange #FF7F32 */
}

/* Home Page Specific Header Thickness & Navigation Font Size */
.home-page {
  --header-height: 168px; /* Reduced by 20% from 210px to 168px */
}

.home-page .site-header {
  height: var(--header-height);
  background-color: var(--color-deep-burgundy);
}

.home-page .brand-logo img {
  height: 102px; /* Reduced by 20% from 128px to 102px */
}

.home-page .nav-item a {
  font-size: 1.35rem; /* Increased navigation menu font size on Home Page */
}

@media (max-width: 991px) {
  .home-page {
    --header-height: 134px; /* Reduced by 20% from 168px to 134px */
  }

  .home-page .brand-logo img {
    height: 81px; /* Reduced by 20% from 102px to 81px */
  }
}

.header-right-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.41rem, 2.12vw, 2.59rem); /* Increased gap by 40% */
  margin-left: auto;
  flex-shrink: 0;
}

.site-header nav {
  margin-left: 0;
  margin-right: 0;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.41rem, 2.12vw, 2.59rem); /* Increased gap between all nav items by 40% */
  list-style: none;
  flex-shrink: 0;
}

.nav-item {
  flex-shrink: 0;
}

.nav-item a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-warm-white);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--color-vivid-orange);
}

.nav-cta {
  flex-shrink: 0;
}

.nav-cta .btn-primary {
  padding: 0.9em 1.8em;
  font-size: 1.05rem;
  white-space: nowrap;
}

/* Mobile Responsive Header Breakpoint (< 992px) */
@media (max-width: 991px) {
  :root {
    --header-height: 84px; /* Header height reduced by 20% from 105px to 84px on mobile & tablet */
  }

  .brand-logo img {
    height: 51px; /* Logo height reduced proportionally by 20% from 64px to 51px */
  }

  .header-right-nav {
    display: none !important; /* Hide desktop nav links & CTA button on mobile/tablet */
  }

  .mobile-toggle {
    display: block !important; /* Display 2-line mobile toggle button on mobile/tablet */
  }
}

/* Mobile Hamburger Toggle (2 Horizontal Lines) */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-warm-white);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* Header bar stays page theme color & logo stays Vivid Orange when menu is open */
body.mobile-menu-open.home-page .site-header {
  background-color: var(--color-deep-burgundy) !important;
  border-bottom: 1px solid rgba(255, 127, 50, 0.2) !important;
}

body.mobile-menu-open:not(.home-page) .site-header {
  background-color: var(--color-off-black) !important;
  border-bottom: 1px solid rgba(255, 127, 50, 0.2) !important;
}

body.mobile-menu-open .mobile-toggle span {
  background-color: var(--color-warm-white) !important; /* Warm-white X close icon */
}

body.mobile-menu-open .brand-logo img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(82%) saturate(1900%) hue-rotate(338deg) brightness(101%) contrast(101%) !important; /* Vivid Orange logo */
}

/* Transform 2 lines into an "X" when open */
.mobile-toggle.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Drawer Overlay (Deep Burgundy Background, Warm White Fonts, Vivid Orange Highlights) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--color-deep-burgundy); /* Deep Burgundy background */
  z-index: 999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 3rem 2rem 4rem 2rem;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  display: flex;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.mobile-nav-links a {
  font-family: var(--font-body);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--color-warm-white); /* Warm-white font color */
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--color-vivid-orange) !important; /* Vivid orange active link highlight */
  font-weight: 600;
}

.mobile-nav-cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

.mobile-nav-cta .btn-primary {
  width: auto;
  display: inline-block;
  font-size: 1.725rem;
  padding: 0.9em 1.8em;
  text-transform: none; /* Changed from uppercase to title case: Request Sample */
  white-space: nowrap;
  letter-spacing: 0.02em;
  background-color: var(--color-bright-red);
  color: var(--color-warm-white);
}


/* ------------------------------------------------------------
   2. BUTTON STYLES
   ------------------------------------------------------------ */
.btn-primary {
  background-color: var(--color-bright-red);
  color: var(--color-warm-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1em 2em;
  border: none;
  border-radius: var(--radius-button, 10px);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--color-vivid-orange);
  color: var(--color-deep-burgundy);
}

.btn-secondary {
  background-color: var(--color-deep-burgundy);
  color: var(--color-warm-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1em 2em;
  border: none;
  border-radius: var(--radius-button, 10px);
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}

.btn-secondary:hover {
  background-color: var(--color-off-black);
}

.btn-outline-vivid {
  background-color: transparent;
  border: 1.5px solid var(--color-vivid-orange);
  color: var(--color-vivid-orange);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1em 2em;
  border-radius: var(--radius-button, 10px);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-outline-vivid:hover {
  background-color: var(--color-vivid-orange);
  color: var(--color-deep-burgundy);
}

.btn-outline-dark {
  background-color: transparent;
  border: 1.5px solid var(--color-off-black);
  color: var(--color-off-black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1em 2em;
  border-radius: var(--radius-button, 10px);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.btn-outline-dark:hover {
  background-color: var(--color-off-black);
  color: var(--color-warm-white);
}

.btn-tertiary {
  background-color: var(--color-bright-red);
  color: var(--color-warm-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 1.1em 2em;
  border-radius: var(--radius-button, 10px);
  display: inline-block;
  transition: all 0.2s ease-in-out;
}

.btn-tertiary:hover {
  background-color: var(--color-vivid-orange);
  color: var(--color-deep-burgundy);
}


/* ------------------------------------------------------------
   3. HERO & SECTION LAYOUTS
   ------------------------------------------------------------ */
.section {
  padding: 5rem 0;
}

.container {
  max-width: var(--site-max-width);
  width: 90%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .container {
    width: 76%; /* 12% left mark to 88% right mark */
  }
}

.page-title {
  font-family: var(--font-heading);
  font-weight: 550;
  font-size: 4.6rem;
  color: var(--color-vivid-orange);
  margin-bottom: 1rem;
}

.page-intro {
  font-size: 1.15rem;
  color: var(--color-vivid-orange);
  max-width: 760px;
  margin-bottom: 3rem;
  line-height: 1.4em;
}

/* Side-by-side Page Header (Title Left ~60% / Intro Narrative Right ~40%) */
.available-lots-header,
.page-header-grid {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--color-deep-burgundy);
  padding: 3.5rem 12% 1.75rem 12%; /* Reduced bottom padding by half (3.5rem -> 1.75rem) to halve bottom gap to banner photo */
  margin-top: -5rem; /* Connects seamlessly with site-header */
  margin-bottom: 0; /* Zero gap between Deep Burgundy banner area and picture */
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .available-lots-header,
  .page-header-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    min-height: 235px; /* Harmonized banner height with halved bottom gap matching Available Lots header */
  }

  .available-lots-header .page-intro-col,
  .page-header-grid .page-intro-col,
  .available-lots-header .page-intro,
  .page-header-grid .page-intro {
    transform: translateX(-50px); /* Shifted right by 50px */
  }
}

.available-lots-header .page-title,
.page-header-grid .page-title {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--color-vivid-orange);
}

.banner-subtitle {
  font-family: var(--font-heading);
  color: var(--color-vivid-orange);
  font-size: 1.6rem;
  font-weight: 550;
  line-height: 1.1em;
  margin-top: 0;
  margin-bottom: 0.8rem;
  letter-spacing: 0;
}

@media (max-width: 991px) {
  .page-title,
  .available-lots-header .page-title,
  .page-header-grid .page-title {
    font-size: 2.5rem; /* Reduced banner title font size to 2.5rem on mobile & tablet */
  }

  .page-intro,
  .available-lots-header .page-intro,
  .page-header-grid .page-intro {
    font-size: 1rem; /* Reduced banner narrative font size to 1rem on mobile & tablet */
  }

  .available-lots-header,
  .page-header-grid {
    padding: 2.5rem 8% 1.25rem 8%; /* Halved bottom padding on mobile & tablet */
  }
}

.available-lots-header .page-intro,
.page-header-grid .page-intro {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 100%;
  text-align: left; /* Left-justified narrative starting at ~60% mark */
  color: var(--color-vivid-orange);
  white-space: pre-line; /* Preserves multiline linebreaks when edited via Decap CMS */
}

/* Current Lots Top Banner Image (Full-width 100vw edge-to-edge) */
.lots-banner-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: clamp(200px, 24.4vw, 352px); /* Height reduced by 20% from 440px to 352px */
  aspect-ratio: 100 / 24.4; /* Expanded crop field aspect ratio scaling proportionally with window width */
  overflow: hidden;
  margin-top: 0; /* Zero gap to banner section above */
  margin-bottom: 4rem;
}

.lots-banner-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(101, 28, 50, 0.12); /* Light deep burgundy overlay shade (12% opacity) */
  pointer-events: none;
}

.lots-banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


/* ------------------------------------------------------------
   4. CURRENT LOTS PAGE — FARMER CARDS & ACCORDION
   ------------------------------------------------------------ */
.lots-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 992px) {
  .lots-page-grid {
    grid-template-columns: 1fr 35%; /* 35% Form width */
    gap: clamp(30px, 4vw, 600px); /* Clean 30px min gap between end of accordion (chevron) and sample request box */
    align-items: start;
  }
}

.farmer-cards-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.farmer-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: transparent;
}

@media (min-width: 992px) {
  .farmer-card {
    grid-template-columns: minmax(240px, 380px) 1fr; /* Photo & accordion layout */
    gap: clamp(30px, 3.5vw, 400px); /* Headshot-to-detail gap set to min 30px */
  }

  .farmer-info {
    margin-left: 0; /* Ensures clean spacing between headshot and accordion text */
  }
}

.farmer-photo-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5; /* 5 vertical to 4 horizontal ratio */
  overflow: hidden;
  border-radius: 4px;
  align-self: flex-start;
}

.farmer-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.farmer-info {
  display: flex;
  flex-direction: column;
}

.farmer-name {
  font-family: var(--font-heading);
  font-weight: 550;
  font-size: 2.1rem;
  color: var(--color-deep-burgundy);
  margin-top: 16px; /* Lowered 16px from top edge of headshot */
  margin-bottom: 3rem; /* Tripled vertical gap to first varietal title */
}

/* Accordions Component */
.accordion-group {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid rgba(101, 28, 50, 0.15);
}

.accordion-item:first-child {
  border-top: 1px solid rgba(101, 28, 50, 0.15); /* Line above first accordion item */
}

.accordion-header {
  width: 100%;
  padding: 10px 0; /* 0px top/bottom padding per specification */
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.accordion-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-deep-burgundy);
  padding-left: 8px; /* Indent varietal titles by 8px */
}

.accordion-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-deep-burgundy);
  border-bottom: 1.5px solid var(--color-deep-burgundy);
  transform: rotate(45deg);
  margin-right: 4px;
  transition: transform 0.25s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(-135deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-body {
  max-height: 500px;
}

.accordion-content {
  padding: 4px 0 16px 16px; /* Indent accordion details by 16px */
}

.spec-line {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-off-black);
  margin-bottom: 4px; /* Tight spec line gap */
  line-height: 1.35em;
}

.spec-label {
  font-weight: 600;
  color: var(--color-off-black);
}

.lot-profile-link {
  background-color: var(--color-light-green);
  color: var(--color-off-black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.825rem;
  padding: 0.4em 1.1em;
  border-radius: var(--radius-button, 10px);
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.2s ease-in-out;
}

.lot-profile-link:hover {
  background-color: var(--color-light-green);
  opacity: 0.9;
  text-decoration: none;
}


/* ------------------------------------------------------------
   5. STICKY SAMPLE REQUEST FORM (SIDEBAR)
   ------------------------------------------------------------ */
.sample-form-sidebar {
  background-color: rgba(101, 28, 50, 0.09); /* Slightly deeper shade of deep burgundy */
  border: none; /* Border removed */
  border-radius: var(--radius-button, 10px); /* Rounded corners */
  padding: 2rem;
}

@media (min-width: 992px) {
  .sample-form-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px); /* 16px gap below sticky header when page is scrolled down */
    margin-left: 0; /* Removed negative margin to prevent overlap with accordion chevron/borders */
  }
}

.sample-form-title {
  font-family: var(--font-heading);
  font-weight: 550;
  font-size: 2.4rem;
  line-height: 1.1em;
  color: var(--color-bright-red);
  margin-bottom: 1rem;
}

.sample-form-caption {
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--color-off-black);
  margin-bottom: 2rem;
  line-height: 1.4em;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-off-black);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--color-bright-red);
  font-size: 0.85rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--color-warm-white); /* Warm-white field shading */
  border: 1px solid rgba(101, 28, 50, 0.2);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-off-black);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--color-bright-red);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--color-bright-red);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-submit-btn {
  width: auto;
  min-width: 140px;
  padding: 0.9em 2.2em;
  display: inline-block;
  margin-top: 1rem;
}


/* ------------------------------------------------------------
   5.5 HOME PAGE HERO RIGHT-BLEED SECTION
   ------------------------------------------------------------ */
.home-hero-section {
  background-color: var(--color-warm-white);
  color: var(--color-off-black);
  width: 100%;
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  align-items: stretch;
}

@media (min-width: 992px) {
  .home-hero-grid {
    grid-template-columns: 1fr 1fr;
    height: 1000px; /* Reduced desktop section height to 1000px */
  }
}

.home-hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Fixed flow layout so narrative & buttons never shift or crop out */
  height: 100%;
  box-sizing: border-box;
  padding: 5.25rem 2rem 3.5rem calc(5% + 1.8rem);
}

@media (min-width: 992px) {
  .home-hero-text-col {
    padding-left: calc((100vw - min(84vw, var(--site-max-width))) / 2 + 2.5rem); /* Indented relative to header logo left edge */
    padding-right: 100px; /* 100px buffer gap between text and photo */
    padding-top: 6rem; /* Increased top margin by 1.5x (4rem -> 6rem) */
    padding-bottom: 3.5rem;
  }
}

.home-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 5.2vw, 4.6rem);
  font-weight: 550;
  line-height: 1.05em;
  color: var(--color-off-black);
  max-width: none;
  margin-bottom: 1.25rem; /* Reverted headline margin */
  letter-spacing: -0.01em;
}

.home-hero-narrative-block {
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .home-hero-narrative-block {
    margin-top: 500px; /* Moved narrative and buttons down by 500px on desktop */
  }
}

.home-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1.5em;
  color: var(--color-off-black);
  max-width: none; /* Removed max width restriction */
  margin-bottom: 1.5rem;
}

.home-hero-photo-col {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.home-hero-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Photo top and bottom edges always touch header & bottom line */
  object-position: center;
  border-radius: 0;
  display: block;
}


/* ------------------------------------------------------------
   5. BRAND BOOK PATTERN INTEGRATION (CONCEPT 4: CARD TOP TRIM)
   ------------------------------------------------------------ */
.card-pattern-flourish {
  height: 50px;
  width: 100%;
  background-image: url('../assets/images/patterns/Batch22_Line_Pattern.png');
  background-size: auto 172px;
  background-repeat: repeat-x;
  mix-blend-mode: multiply;
  opacity: 0.85;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  margin-top: auto;
}

.card-pattern-3x {
  background-size: auto 516px; /* Line pattern size enlarged by 3 times (172px * 3 = 516px) */
  background-position: center bottom;
}

.valprop-card {
  background-color: var(--color-warm-white);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.valprop-card-body {
  padding: 2rem;
  flex-grow: 1;
}

/* ------------------------------------------------------------
   POSTER CARD REDESIGN (WHAT WE DO HORIZONTAL OVERHAUL)
   ------------------------------------------------------------ */
.what-we-do-horizontal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .what-we-do-horizontal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .what-we-do-horizontal-grid {
    gap: 2.2rem;
  }
}

.poster-card {
  background-color: var(--color-deep-burgundy);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Home Page Specific Warm White Cards on Deep Burgundy Section */
#home-valprop-cards .poster-card {
  background-color: var(--color-warm-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

#home-valprop-cards .poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

#home-valprop-cards .poster-card-title {
  font-size: 2.2rem;
}

@media (min-width: 768px) {
  #home-valprop-cards .poster-card-title {
    min-height: 5.2rem;
  }
}

#home-valprop-cards .poster-card-text {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.45em;
}

#home-valprop-title {
  line-height: 1.25em;
  margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
  #home-valprop-title {
    font-size: 2.3rem !important;
    line-height: 1.2em !important;
    margin-bottom: 1.8rem !important;
  }
  #home-valprop-subtitle {
    font-size: 1.1rem !important;
  }
}

.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.poster-card-content {
  padding: 2.5rem 2rem 1.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.poster-card-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 550;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 1.5rem;
  letter-spacing: 0;
  white-space: pre-line; /* Shifts title text to line below step number */
}

@media (min-width: 768px) {
  .poster-card-title {
    min-height: 5.6rem; /* Aligns top position of all narratives across 1 & 2 line titles */
  }
}

.poster-card-text {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 500; /* Increased narrative font weight */
  line-height: 1.48em;
  margin-top: 0; /* Aligned to fixed baseline established by title height */
  margin-bottom: 1.25rem;
  white-space: pre-line;
}

/* Poster Card Theme Color Variations */
.poster-card-sage .poster-card-title,
.poster-card-sage .poster-card-text {
  color: var(--color-sage-green);
}

.poster-card-orange .poster-card-title,
.poster-card-orange .poster-card-text {
  color: var(--color-vivid-orange);
}

.poster-card-red .poster-card-title,
.poster-card-red .poster-card-text {
  color: var(--color-bright-red);
}

.poster-card-green .poster-card-title,
.poster-card-green .poster-card-text {
  color: var(--color-sage-green);
}

/* Pattern Flourishes at Base of Poster Cards (Single Instance, 100% Width at Max Width, 45% Left-Offset Center) */
.poster-card-pattern {
  width: 100%;
  height: 170px;
  margin-top: auto;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Card 01: Batch22_Flower_Pattern.png (Sage Green) */
.flower-pattern-sage,
.flower-pattern-green,
.flower2-pattern-sage {
  background-color: var(--color-sage-green);
  -webkit-mask-image: url('../assets/images/patterns/Batch22_Flower_Pattern.png');
  mask-image: url('../assets/images/patterns/Batch22_Flower_Pattern.png');
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 45% top;
  mask-position: 45% top;
}

/* Card 02: Batch22_Line_Pattern.png (Vivid Orange) */
.line-pattern-orange,
.flower-pattern-orange,
.flower2-pattern-orange {
  background-color: var(--color-vivid-orange);
  -webkit-mask-image: url('../assets/images/patterns/Batch22_Line_Pattern.png');
  mask-image: url('../assets/images/patterns/Batch22_Line_Pattern.png');
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 45% top;
  mask-position: 45% top;
}

/* Card 03: Batch22_Flower_Pattern.png (Bright Red) */
.flower-pattern-red,
.line-pattern-red,
.bean-pattern-red {
  background-color: var(--color-bright-red);
  -webkit-mask-image: url('../assets/images/patterns/Batch22_Flower_Pattern.png');
  mask-image: url('../assets/images/patterns/Batch22_Flower_Pattern.png');
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 45% top;
  mask-position: 45% top;
}


/* ------------------------------------------------------------
   6. CONTACT US PAGE (RECREATING SCREENSHOT EXACTLY)
   ------------------------------------------------------------ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-page-grid {
    grid-template-columns: 1fr 1fr; /* 50/50 Split */
  }
}

.contact-info-col h1 {
  font-size: 3.5rem;
  color: var(--color-deep-burgundy);
  margin-bottom: 1rem; /* Widened gap between title and subtitle by 2x (0.5rem -> 1rem) */
}

.contact-info-col .subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-off-black);
  margin-bottom: 2.5rem;
}

.contact-photo-col {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.contact-photo-col img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.sample-callout-link {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--color-off-black);
}

.sample-callout-link a {
  color: var(--color-bright-red);
  font-weight: 600;
  text-decoration: underline;
}


/* ------------------------------------------------------------
   7. FOOTER COMPONENT
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   7. FOOTER COMPONENT
   ------------------------------------------------------------ */
.site-footer {
  background-color: var(--color-off-black);
  color: var(--color-warm-white);
  padding: 2.8rem 0 2rem 0; /* Reduced top padding by 30% (4rem -> 2.8rem) */
  margin-top: 5rem;
}

.footer-container {
  max-width: var(--site-max-width);
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); /* 60/40 2-block split */
  gap: clamp(36px, 6vw, 50px); /* Widened minimum gap distance of 36px between tagline and Info section on mobile */
  align-items: stretch; /* Stretches columns so bottom of social icons aligns with bottom of Contact Us */
}

@media (min-width: 992px) {
  .footer-container {
    width: 76%;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.footer-logo {
  height: 64px; /* Same size as desktop header logo */
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(55%) sepia(82%) saturate(1900%) hue-rotate(338deg) brightness(101%) contrast(101%); /* Vivid Orange #FF7F32 filter */
}

@media (max-width: 991px) {
  .footer-logo {
    height: 51px; /* Same size as mobile header logo */
  }
}

.footer-brand .footer-tagline {
  font-family: var(--font-heading);
  font-weight: 550; /* Young serif font weight 550 */
  font-size: 1.05rem;
  margin-top: 1.6rem; /* Shifted down one line below logo */
  margin-bottom: 0;
  color: var(--color-warm-white); /* Reverted back to Warm White */
}

@media (max-width: 767px) {
  .footer-brand .footer-tagline {
    font-size: 0.95rem; /* Increased mobile tagline font size to 0.95rem */
  }
}

/* Left-aligned Social Icons Below Tagline (Bottom Aligned to Contact Us Line) */
.footer-socials {
  margin-top: auto; /* Anchors bottom of social icons to bottom of Contact Us line */
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligned to the left */
  gap: 1.25rem;
}

.footer-social-link,
.footer-social-link:visited {
  color: var(--color-warm-white) !important; /* Warm White by default & visited */
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-social-link:hover,
.footer-social-link:focus,
.footer-social-link:active {
  color: var(--color-vivid-orange) !important; /* Vivid Orange on hover, focus, and click/active */
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links h4 {
  font-family: var(--font-body); /* Kumbh Sans font for Info section title */
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-vivid-orange);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--color-bright-red);
}

.footer-bottom {
  max-width: var(--site-max-width);
  width: 90%;
  margin: 3rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 233, 226, 0.15);
  font-size: 0.85rem;
  color: rgba(243, 233, 226, 0.6);
  display: flex;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .footer-bottom {
    width: 76%;
  }
}

/* ------------------------------------------------------------
   NETLIFY FORM SUBMISSION SUCCESS CARD
   ------------------------------------------------------------ */
.form-success-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-bright-red);
  color: var(--color-warm-white);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.25);
}

.success-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-deep-burgundy);
  margin-bottom: 0.75rem;
}

.success-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-off-black);
  line-height: 1.5em;
  max-width: 420px;
  margin: 0 auto;
}
