/* ============================================================
   POWDER HOUSE BEND — Heritage Section
   Matches full design system. Syne + glacier #62c1db.
   Retro: cyan only. No yellow/magenta border boxes.
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   SECTION
════════════════════════════════════════════════════════════ */
.heritage {
  padding: 6rem 2rem 4rem;
  background: transparent;
}

.heritage-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}


/* ════════════════════════════════════════════════════════════
   IMAGE BLOCK
════════════════════════════════════════════════════════════ */
.heritage-image {
  flex: 1 1 400px;
}

.heritage-image img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px  rgba(0, 0, 0, 0.06);
  display: block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.heritage-image img:hover {
  transform: scale(1.015);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.16),
    0 0 24px rgba(98, 193, 219, 0.12);
}


/* ════════════════════════════════════════════════════════════
   TEXT BLOCK — dark by default (works on any light bg)
════════════════════════════════════════════════════════════ */
.heritage-text {
  flex: 1 1 500px;
}

.heritage-text h2 {
  font-family: 'Syne', system-ui, -apple-system, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f172a;         /* dark slate — readable on any light surface */
  margin: 0 0 1rem;
}

.heritage-text p {
  font-family: 'Syne', system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #475569;         /* mid-slate — enough contrast, not harsh */
  margin: 0 0 1rem;
}

.heritage-text p:last-child { margin-bottom: 0; }


/* ════════════════════════════════════════════════════════════
   WINTER MODE — restore light text for dark hero backgrounds
════════════════════════════════════════════════════════════ */
body.season-winter .heritage-text h2 {
  color: #0891b2;
}

body.season-winter .heritage-text p {
  color: #334155;
}

body.season-winter .heritage-image img {
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.025);
}

body.season-winter .heritage-image img:hover {
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(98, 193, 219, 0.10);
}


/* ════════════════════════════════════════════════════════════
   RETRO MODE — cyan only, no yellow border box
════════════════════════════════════════════════════════════ */
body.retro-mode .heritage {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 6rem 2rem 4rem;
}

body.retro-mode .heritage-inner {
  padding: 0;
  box-shadow: none;
}

body.retro-mode .heritage-image img {
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
  filter: brightness(0.88) saturate(0.7);
}

body.retro-mode .heritage-image img:hover {
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.16);
  filter: brightness(1) saturate(0.85);
}

body.retro-mode .heritage-text h2 {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00e5ff;
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.60);
}

body.retro-mode .heritage-text p {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(0, 229, 255, 0.50);
  text-shadow: none;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .heritage-inner {
    gap: 1.5rem;
    text-align: center;
  }

  .heritage-image { margin-bottom: 0; }
  .heritage-text  { margin-top: 0; }

  .heritage-text h2 { font-size: 1.4rem; }
}


/* ────────────────────────────────────────────────────────────
   REDUCED MOTION
──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .heritage-image img {
    transition: none !important;
  }
}