/* ============================================================
   PALM LEAF PARTNERS — CINEMATIC UPGRADE STYLES
   National Geographic / Patagonia campaign aesthetic
   ============================================================ */

/* ── Parallax Hero ── */
.hero-parallax {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}
.hero-parallax .hero-bg-layer {
  position: absolute; inset: -10%;
  background-size: cover; background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
}
.hero-parallax .hero-overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(27,67,50,0.0) 0%,
    rgba(27,67,50,0.0) 45%,
    rgba(27,67,50,0.82) 65%,
    rgba(27,67,50,0.96) 100%
  );
}
.hero-split {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  min-height: calc(100vh - 72px);
  gap: 0;
}
.hero-split .zola-col {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0;
}
.hero-split .zola-col img {
  max-height: 88vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.4));
  will-change: transform;
}
.hero-split .text-col {
  padding: 3rem 2rem 3rem 1rem;
}
.hero-split .text-col .hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid rgba(184,134,11,0.5); padding: 0.35rem 1rem;
  border-radius: 2px; margin-bottom: 1.5rem;
}
.hero-split .text-col h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-split .text-col h1 em {
  font-style: normal; color: var(--gold-pale);
}
.hero-split .text-col .lead {
  color: rgba(245,240,232,0.85);
  font-size: 1.1rem; line-height: 1.8;
  max-width: 480px; margin-bottom: 2.5rem;
}

/* ── Full-bleed Page Hero ── */
.page-hero-fullbleed {
  position: relative;
  width: 100%; height: 70vh; min-height: 520px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding-top: 72px;
}
.page-hero-fullbleed .bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.page-hero-fullbleed .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(27,67,50,0.95) 0%,
    rgba(27,67,50,0.6) 40%,
    rgba(27,67,50,0.15) 100%
  );
}
.page-hero-fullbleed .hero-text-block {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem 4rem;
  width: 100%;
}
.page-hero-fullbleed .hero-text-block .eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-hero-fullbleed .hero-text-block h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero-fullbleed .hero-text-block .lead {
  color: rgba(245,240,232,0.82); font-size: 1.1rem; max-width: 580px;
}

/* ── Story Beat Layout ── */
.story-section { padding: 7rem 0; }
.story-section:nth-child(even) { background: var(--white); }
.story-section:nth-child(odd) { background: var(--cream); }

.beat-number {
  font-family: var(--font-heading);
  font-size: 5rem; font-weight: 900;
  color: rgba(27,67,50,0.06);
  line-height: 1; margin-bottom: -1rem;
  display: block;
}
.beat-label {
  font-size: 0.72rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.5rem; display: block;
}
.beat-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--green); margin-bottom: 1.25rem;
  font-weight: 700; line-height: 1.2;
}
.beat-body {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.8; max-width: 520px;
}
.beat-image {
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.beat-image img {
  width: 100%; height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.beat-image:hover img { transform: scale(1.03); }

/* ── Zola Guide Element ── */
.zola-guide {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 2.5rem 0; margin: 1rem 0;
}
.zola-guide img {
  width: 120px; flex-shrink: 0;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(27,67,50,0.25));
  /* PNG transparency renders directly onto the section background */
}
.zola-guide-bubble {
  background: var(--green); color: var(--cream);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 1.25rem 1.5rem;
  position: relative;
  max-width: 480px;
}
.zola-guide-bubble::before {
  content: '';
  position: absolute; left: -14px; top: 16px;
  border: 8px solid transparent;
  border-right-color: var(--green);
}
.zola-guide-bubble p {
  font-size: 0.95rem; color: rgba(245,240,232,0.9);
  font-style: italic; margin: 0; line-height: 1.7;
}
.zola-guide-bubble .guide-attr {
  font-size: 0.72rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 0.5rem; display: block;
}

/* ── Inside the Build (expandable) ── */
.inside-build {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(27,67,50,0.1);
  margin-top: 3rem;
}
.inside-build summary {
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 600;
  color: var(--green); list-style: none;
  user-select: none;
}
.inside-build summary::-webkit-details-marker { display: none; }
.inside-build summary::after {
  content: '+'; font-size: 1.4rem; color: var(--gold);
  transition: transform var(--transition);
}
.inside-build[open] summary::after { content: '−'; }
.inside-build-body {
  padding: 0 1.75rem 1.75rem;
  border-top: 1px solid rgba(27,67,50,0.1);
}

/* ── Pillar Cards (badge icon style) ── */
.pillars-badge-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.pillar-badge-card {
  text-align: center; padding: 2.5rem 1.5rem 2rem;
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid rgba(27,67,50,0.08);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.pillar-badge-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-md);
  border-color: rgba(184,134,11,0.3);
}
.pillar-badge-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(27,67,50,0.3);
}
.pillar-badge-icon svg { width: 40px; height: 40px; }
.pillar-badge-card .pillar-name {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  color: var(--green); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.pillar-badge-card .pillar-desc {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0;
}

/* ── Scale Stats (no dollar amounts) ── */
.scale-bar {
  background: var(--green); padding: 4rem 0;
}
.scale-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(184,134,11,0.15);
  max-width: var(--max-width); margin: 0 auto;
}
.scale-item {
  background: var(--green); padding: 2.5rem 2rem; text-align: center;
}
.scale-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; color: var(--gold); line-height: 1;
  margin-bottom: 0.5rem;
}
.scale-label {
  font-size: 0.78rem; font-weight: 500;
  color: rgba(245,240,232,0.7);
  text-transform: uppercase; letter-spacing: 0.12em;
  line-height: 1.4;
}

/* ── Narrative Pull Quote ── */
.pull-quote {
  padding: 5rem 0; background: var(--green);
  text-align: center;
}
.pull-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--cream); font-weight: 600;
  max-width: 800px; margin: 0 auto;
  line-height: 1.4; font-style: italic;
}
.pull-quote blockquote em { color: var(--gold-pale); font-style: normal; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .zola-col { max-height: 50vh; }
  .hero-split .zola-col img { max-height: 50vh; }
  .hero-split .text-col { padding: 2rem 1rem; }
  .hero-parallax .hero-overlay-gradient {
    background: linear-gradient(to top, rgba(27,67,50,0.92) 0%, rgba(27,67,50,0.6) 60%, rgba(27,67,50,0.3) 100%);
  }
  .pillars-badge-grid { grid-template-columns: repeat(2, 1fr); }
  .scale-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars-badge-grid, .scale-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-fullbleed { height: 55vh; }
  .zola-guide { flex-direction: column; align-items: flex-start; }
  .zola-guide-bubble::before { display: none; }
}
