/* ============================================================
   founder.css — Page-specific styles for founder.html
   ============================================================ */

/* ── Founder Hero ── */
.founder-hero {
  padding: 7rem 0 5rem;
}

.founder-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}

.founder-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-hero-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beam);
  margin-bottom: 2rem;
  animation: fadeUp 0.7s cubic-bezier(0.25,0.46,0.45,0.94) 0.2s both;
}

.founder-hero-name {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: clamp(4rem, 6vw, 7rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s cubic-bezier(0.25,0.46,0.45,0.94) 0.35s both;
}

.founder-hero-rule {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, var(--beam), transparent);
  margin-bottom: 1.625rem;
  animation: fadeIn 0.6s ease 0.55s both;
}

.founder-hero-role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  animation: fadeUp 0.7s cubic-bezier(0.25,0.46,0.45,0.94) 0.6s both;
}

.founder-hero-descriptor {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  animation: fadeUp 0.7s cubic-bezier(0.25,0.46,0.45,0.94) 0.7s both;
}

/* ── Photo Card ── */
.founder-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(96,165,250,0.1);
  animation: fadeIn 0.9s ease 0.4s both;
}
.founder-photo-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,9,15,0.88) 0%, rgba(6,9,15,0.08) 55%, transparent 80%);
  pointer-events: none;
}
.founder-photo-tint {
  position: absolute;
  inset: 0;
  background: rgba(37,99,235,0.09);
  mix-blend-mode: color;
  pointer-events: none;
}
.founder-nameplate {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.75rem;
}
.founder-nameplate-name {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.founder-nameplate-role {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Back Link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.2s ease, gap 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
}
.back-link:hover { color: var(--beam-bright); gap: 0.75rem; }
.back-link:focus-visible { outline: 2px solid var(--beam); outline-offset: 4px; border-radius: 2px; }

/* ── Bio ── */
#bio {
  padding: 5rem 0 5rem;
}

.bio-inner {
  max-width: 760px;
  margin: 0 auto;
}

.bio-lead {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.42;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

.bio-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.88;
  margin-bottom: 1.75rem;
}

.bio-pullquote {
  border-left: 2px solid var(--beam);
  padding: 0.75rem 0 0.75rem 2rem;
  margin: 3rem 0;
}

.bio-pullquote p {
  font-family: 'Manrope', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Philosophy ── */
#philosophy {
  padding: 3rem 0 5rem;
}

.philosophy-panel-intro {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(96,165,250,0.08);
  border-radius: 12px;
  overflow: hidden;
}

.philosophy-item {
  background: rgba(5,8,18,0.6);
  padding: 2.75rem 3rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: background 0.25s ease;
}
.philosophy-item:hover { background: rgba(8,13,28,0.9); }

.philosophy-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(96,165,250,0.14);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -2px;
  transition: color 0.25s ease;
}
.philosophy-item:hover .philosophy-num { color: rgba(96,165,250,0.28); }

.philosophy-text {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* ── Focus ── */
#focus {
  padding: 5rem 0 5rem;
}

.focus-list { list-style: none; }

.focus-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.375rem 0;
  border-bottom: 1px solid rgba(96,165,250,0.08);
  transition: background 0.2s ease;
}
.focus-item:first-child { border-top: 1px solid rgba(96,165,250,0.08); }

.focus-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--beam);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  width: 1.5rem;
  opacity: 0.6;
}

.focus-label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-dim);
  line-height: 1.5;
  transition: color 0.2s ease;
}
.focus-item:hover .focus-label { color: var(--text); }
.focus-item:hover .focus-num { opacity: 1; }

/* ── Closing ── */
#closing {
  padding: 4rem 0 5rem;
}

.closing-inner {
  max-width: 900px;
  padding-top: 4rem;
  border-top: 1px solid rgba(96,165,250,0.1);
}

.closing-text {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.375rem);
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.48;
  letter-spacing: -0.02em;
}
.closing-text em {
  font-style: normal;
  color: var(--beam-bright);
}

/* ── Contact ── */
#contact {
  padding: 7rem 0 8rem;
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 50%, rgba(96,165,250,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.contact-h2 {
  font-family: 'General Sans', 'Syne', sans-serif;
  font-size: clamp(2.125rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.contact-h2 em {
  font-style: normal;
  color: var(--beam-bright);
}

.contact-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.35), transparent);
  margin: 2rem auto;
  max-width: 200px;
}

.contact-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.82;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.contact-office {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ── Story / Podcast ── */
#story {
  padding: 3rem 0 5rem;
}

.story-intro {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* Player shell */
.story-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(96,165,250,0.04);
  border: 1px solid rgba(96,165,250,0.1);
  border-radius: 14px;
  padding: 1.125rem 1.5rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.story-player:hover {
  border-color: rgba(96,165,250,0.22);
  box-shadow: 0 4px 24px rgba(96,165,250,0.06);
}
.story-player.is-playing {
  border-color: rgba(96,165,250,0.3);
  box-shadow: 0 0 32px rgba(96,165,250,0.08), 0 4px 24px rgba(96,165,250,0.06);
}

/* Play button */
.player-play-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beam);
  border: none;
  border-radius: 50%;
  color: var(--void);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.25,0.46,0.45,0.94),
              background 0.2s ease,
              box-shadow 0.2s ease;
}
.player-play-btn:hover {
  background: var(--beam-bright);
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(96,165,250,0.35);
}
.player-play-btn:active { transform: scale(0.97); }
.player-play-btn:focus-visible { outline: 2px solid var(--beam-bright); outline-offset: 3px; }

/* Track area */
.player-track-wrap {
  flex: 1;
  min-width: 0;
}

.player-time-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.player-time {
  font-family: 'Manrope', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.player-track {
  position: relative;
  height: 6px;
  background: rgba(96,165,250,0.1);
  border-radius: 3px;
  cursor: pointer;
  overflow: visible;
}

.player-progress {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--beam-dim), var(--beam-bright));
  border-radius: 3px;
  transition: width 0.1s linear;
}

.player-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: var(--beam-bright);
  border: 2px solid var(--void);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(96,165,250,0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.story-player:hover .player-thumb,
.story-player.is-playing .player-thumb {
  opacity: 1;
}

/* Volume & Share */
.player-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.player-vol-btn,
.player-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s ease;
}
.player-vol-btn:hover,
.player-share-btn:hover { color: var(--beam-bright); }
.player-vol-btn:focus-visible,
.player-share-btn:focus-visible { outline: 2px solid var(--beam); outline-offset: 2px; }
.player-vol-btn.is-muted .vol-wave-1,
.player-vol-btn.is-muted .vol-wave-2 { opacity: 0.2; }

/* Share tooltip */
.share-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--void);
  background: var(--beam-bright);
  padding: 0.3rem 0.625rem;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.share-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--beam-bright);
}
.share-tooltip.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Infographic thumbnail */
.story-infographic-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.story-infographic-btn {
  position: relative;
  display: block;
  width: 100%;
  background: none;
  border: 1px solid rgba(96,165,250,0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.story-infographic-btn:hover {
  border-color: rgba(96,165,250,0.25);
  box-shadow: 0 8px 32px rgba(96,165,250,0.1);
  transform: translateY(-2px);
}
.story-infographic-btn:active { transform: translateY(0); }
.story-infographic-btn:focus-visible { outline: 2px solid var(--beam); outline-offset: 3px; }

.story-infographic-thumb {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}
.story-infographic-btn:hover .story-infographic-thumb {
  filter: brightness(1);
}

.story-infographic-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(6,9,15,0.5);
  color: var(--text);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.story-infographic-btn:hover .story-infographic-overlay {
  opacity: 1;
}
.story-infographic-overlay span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-infographic-caption {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* Lightbox */
.story-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.story-lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
}

.story-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,9,15,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.story-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.story-lightbox.is-open .story-lightbox-content {
  transform: scale(1);
}

.story-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.story-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 50%;
  background: rgba(6,9,15,0.8);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.story-lightbox-close:hover {
  color: var(--text);
  border-color: rgba(96,165,250,0.4);
  transform: scale(1.08);
}
.story-lightbox-close:active { transform: scale(0.95); }
.story-lightbox-close:focus-visible { outline: 2px solid var(--beam); outline-offset: 3px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-inner { display: flex; justify-content: space-between; padding: 0 1.25rem; }
  .nav-links { display: none !important; }
  .nav-desktop-right { display: none !important; }
  .nav-hamburger { display: flex; }

  .founder-hero { padding: 5rem 0 3rem; }
  .founder-hero-inner { grid-template-columns: 1fr; gap: 0; padding: 0 0.875rem; }
  .founder-hero-left { display: none; }
  .founder-photo-wrap img { height: 280px; }

  .section-inner { padding: 0 1.25rem; }
  .content-panel-wrap { padding: 0 0.875rem; }
  .content-panel { padding: 2.75rem 1.75rem; border-radius: 16px; }
  .panel-h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  #bio, #focus, #closing, #story { padding: 3rem 0; }
  .closing-inner { padding-top: 2rem; }
  #philosophy { padding: 2rem 0 3rem; }

  .bio-inner { max-width: 100%; }

  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-item { padding: 2rem 1.75rem; }

  .story-player { padding: 1rem 1.125rem; gap: 0.75rem; }
  .player-play-btn { width: 42px; height: 42px; }
  .story-infographic-thumb { height: 200px; }

  .story-lightbox-close { top: -40px; right: 4px; }

  #contact { padding: 4rem 0 5rem; }
  .contact-inner { text-align: center; }
}
