/* ═══════════════════════════════════════════════════
   INNER PAGE STYLES (Leaders + Stories)
   Inherits fonts/vars from style.css
   ═══════════════════════════════════════════════════ */

/* ── Shared inner nav ─────────────────────────────── */
.inner-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  z-index: 200;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex; align-items: center;
  padding: 0 48px;
  gap: 40px;
}
.inner-nav-logo { flex-shrink: 0; }
.inner-nav-logo img { height: 40px; width: auto; max-width: 160px; object-fit: cover; object-position: left; }
.inner-nav-links { display: flex; gap: 32px; margin-left: auto; }
.inner-nav-links a { font-size: 13px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.inner-nav-links a:hover { color: var(--orange); font-weight: 700; }

/* ── Back button (top-right) ──────────────────────── */
.inner-back {
  position: fixed; top: 0; right: 0; z-index: 300;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 10px;
}
.inner-back-btn {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue); transition: color 0.2s;
}
.inner-back-btn:hover { color: var(--orange); }
/* Design spec: spinning arrow button — blue→green on hover */
.back-spin-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s ease, color 0.2s;
}
.inner-back-btn:hover .back-spin-icon { transform: rotate(-360deg); color: var(--orange); }
.back-spin-icon svg { width: 18px; height: 18px; }

/* ── LEADER PAGE ──────────────────────────────────── */
.leader-page {
  min-height: 100vh;
  background: #FFF5EE;
  padding-top: var(--nav-h);
}
.leader-page-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px; align-items: start;
}
.leader-page-left { position: sticky; top: calc(var(--nav-h) + 24px); }
.leader-page-photo {
  width: 240px; height: 240px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  margin-bottom: 32px;
}
.leader-page-photo-ph {
  width: 240px; height: 240px; border-radius: 50%;
  background: #ddd; display: flex; align-items: center;
  justify-content: center; font-size: 28px; font-weight: 700; color: #999;
  margin-bottom: 32px;
}
.leader-tagline-script { font-family: var(--script); font-size: 26px; color: var(--blue); }
.leader-tagline-bold {
  font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  color: var(--orange); text-transform: uppercase; line-height: 1.05;
}
/* ECG on leader page */
.leader-ecg { width: 100%; height: 48px; margin: 32px 0; overflow: hidden; }
.leader-ecg svg { width: 100%; height: 100%; }
.leader-ecg .ecg-line { animation-play-state: running; }

.leader-page-right { padding-top: 64px; }
.leader-page-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 12px;
}
.leader-page-name { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.leader-page-title { font-size: 13px; color: var(--mid); margin-bottom: 36px; line-height: 1.5; }
.leader-page-body p {
  font-size: 15px; line-height: 1.9; color: var(--text);
  margin-bottom: 22px; max-width: 580px;
}

/* ── STORY PAGE ───────────────────────────────────── */
.story-page { min-height: 100vh; display: flex; flex-direction: column; }
.story-page-hero {
  background: color-mix(in srgb, var(--story-color, #F36E21) 14%, #fff);
  padding: calc(var(--nav-h) + 60px) 0 50px;
  position: relative; overflow: hidden;
}
.story-page-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.story-shine-label {
  font-family: var(--script); font-size: 28px;
  color: var(--story-color, #F36E21); display: block; margin-bottom: 20px;
}
.story-page-title {
  font-size: clamp(26px, 4vw, 50px); font-weight: 700;
  color: var(--story-color, #F36E21); text-transform: uppercase;
  line-height: 1.1; margin-bottom: 28px; max-width: 520px;
}
.story-page-lead {
  font-size: 16px; line-height: 1.8; color: var(--text);
  max-width: 580px;
}
/* ECG on story hero */
.story-ecg { width: 100%; height: 48px; overflow: hidden; margin-top: 32px; }
.story-ecg svg { width: 100%; height: 100%; }
.story-ecg .ecg-line { animation-play-state: running; }

/* Content grid */
.story-content {
  max-width: 1200px; margin: 0 auto;
  padding: 56px 60px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.story-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--story-color, #F36E21); text-transform: uppercase; margin-bottom: 10px;
}
.story-body { font-size: 14px; line-height: 1.9; color: var(--text); margin-bottom: 32px; }
.story-body p { margin-bottom: 16px; }
.story-body p:last-child { margin-bottom: 0; }

/* Pull quote */
.story-quote {
  background: color-mix(in srgb, var(--story-color, #F36E21) 10%, #fff);
  border-left: 4px solid var(--story-color, #F36E21);
  padding: 22px 26px; border-radius: 0 12px 12px 0; margin-bottom: 32px;
}
.story-quote p { font-size: 15px; font-style: italic; line-height: 1.7; margin-bottom: 10px; }
.story-quote cite { font-size: 12px; font-style: normal; font-weight: 700; color: var(--story-color, #F36E21); }
.story-quote cite span { display: block; font-weight: 400; color: var(--mid); margin-top: 2px; }

/* Photo stack */
.story-photos { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--nav-h) + 20px); }
.story-photos img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 280px; }
.story-photo-credit { font-size: 11px; color: #aaa; margin-top: 4px; }

/* ── Responsive inner ─────────────────────────────── */
@media (max-width: 900px) {
  .inner-nav { padding: 0 24px; }
  .inner-back { padding: 16px 24px; }
  .leader-page-inner {
    grid-template-columns: 1fr; padding: 60px 24px; gap: 36px;
  }
  .leader-page-left { position: static; }
  .leader-page-right { padding-top: 0; }
  .story-content { grid-template-columns: 1fr; padding: 40px 24px 60px; gap: 36px; }
  .story-page-inner { padding: 0 24px; }
  .story-photos { position: static; }
}
