/* Shared styles for individual WiT Forum 2026 speaker pages.
   Mirrors ../partners/partner.css so these pages feel like part of
   the same site. Linked from index.html speaker cards to
   /speakers/<slug>.html. */

:root {
  --purple: #623CEA;
  --purple-soft: #CEC2FF;
  --purple-deep: #623CEA;
  --orange: #FF8442;
  --orange-glow: rgba(255,132,66,0.18);
  --cyan: #7ee8f5;
  --bg: #0a080f;
  --bg-2: #0e0b17;
  --bg-3: #130e1f;
  --text: #f0ecff;
  --mute: rgba(240,236,255,0.65);
  --mute-2: rgba(240,236,255,0.38);
  --line: rgba(255,255,255,0.07);
  --line-strong: rgba(255,255,255,0.13);
  --glass: rgba(255,255,255,0.04);
  --glass-2: rgba(255,255,255,0.02);
  --page-bg:
    radial-gradient(700px 500px at 15% 0%, rgba(98,60,234,0.16), transparent 60%),
    radial-gradient(500px 400px at 90% 10%, rgba(255,132,66,0.08), transparent 58%),
    linear-gradient(180deg, #0d0a18 0%, #0a080f 40%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── TOP BAR (same as homepage) ── */
.top-bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; background: rgba(10,8,15,0.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.logo img { display: block; height: 44px; width: auto; filter: brightness(0) invert(1); }
.top-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--mute-2); }
.top-meta .date { font-family: 'Space Grotesk', sans-serif; font-weight: 500; letter-spacing: 0.3px; }
.top-cta-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; background: transparent; color: var(--text); font-size: 13px; font-weight: 700; border-radius: 999px; border: 1px solid var(--line-strong); transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), border-color 0.15s ease, color 0.15s ease; }
.top-cta-ghost:hover { transform: translateY(-1px) scale(1.03); border-color: var(--orange); color: var(--orange); }

/* ── PAGE HERO / PROFILE HEADER ── */
.speaker-hero { position: relative; padding: 64px 40px 72px; background: var(--page-bg); border-bottom: 1px solid var(--line); }
.speaker-hero-inner { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mute); margin-bottom: 28px; transition: color 0.15s ease, gap 0.15s ease; grid-column: 1 / -1; }
.back-link:hover { color: var(--orange); gap: 11px; }
.speaker-photo-large { width: 220px; height: 220px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-3); }
.speaker-photo-large img { width: 100%; height: 100%; object-fit: cover; display: block; }
.speaker-tag { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; color: var(--orange); padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--glass-2); margin-bottom: 20px; }
.speaker-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.speaker-hero h1 { font-weight: 800; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 10px; }
.speaker-role { font-size: 17px; color: var(--mute); font-weight: 500; }

/* ── CONTENT SECTION ── */
.speaker-body { padding: 64px 40px 120px; background: var(--bg); }
.speaker-body-inner { max-width: 820px; margin: 0 auto; }
.speaker-body .section-label { display: flex; width: fit-content; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 2.5px; color: var(--orange); margin-bottom: 28px; }
.speaker-body .section-label::before { content: ""; width: 28px; height: 1px; background: var(--orange); opacity: 0.6; }
.speaker-bio { font-size: 17px; line-height: 1.75; color: var(--mute); max-width: 720px; }
.speaker-bio p { margin-bottom: 16px; }
.speaker-bio p:last-child { margin-bottom: 0; }

/* ── FOOTER (same as homepage) ── */
footer { padding: 48px 40px 64px; background: var(--bg); color: var(--mute-2); font-size: 13px; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.footer-logo img { height: 24px; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-meta { text-align: center; color: var(--mute-2); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.footer-links a { color: var(--mute-2); transition: color 0.15s ease; position: relative; }
.footer-links a:hover { color: var(--orange); }
.footer-socials { display: flex; gap: 10px; align-items: center; padding-left: 16px; border-left: 1px solid var(--line); margin-left: 4px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); color: var(--mute-2); transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.footer-socials a:hover { color: var(--orange); border-color: var(--orange); background: rgba(255,132,66,0.08); }
.footer-socials svg { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .top-bar { padding: 14px 20px; }
  .speaker-hero { padding: 44px 20px 40px; }
  .speaker-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .speaker-photo-large { width: 140px; height: 140px; }
  .speaker-body { padding: 48px 20px 80px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}
