/* ===================================
   E Speaker Series — Global Styles
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:       #0856CF;
  --brand-dark:  #142D55;
  --brand-light: #4B92FF;
  --brand-pale:  #EBF7FF;
  --text:        #142D55;
  --text-muted:  #4A6080;
  --white:       #ffffff;
  --bg:          #ffffff;
  --bg-alt:      #F7FAFD;
  --border:      #D6E4F7;

  --font-sans:   'Source Sans 3', system-ui, sans-serif;
  --font-serif:  'Lora', Georgia, serif;

  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.2s ease;

  --max-w:       1100px;
  --section-pad: clamp(60px, 8vw, 120px);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

img { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-light); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--brand-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-sans); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: .5rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--blue {
  background: var(--brand-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-intro {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .65em 1.5em;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
}

.btn-nav {
  background: var(--brand);
  color: var(--white) !important;
  border-color: var(--brand);
  padding: .45em 1.2em;
  font-size: .875rem;
}
.btn-nav:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-lg {
  font-size: 1.05rem;
  padding: .8em 2em;
}

/* ===================================
   HEADER
   =================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-e {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.1;
}

.logo--light .logo-text { color: var(--white); }
.logo--light .logo-e { background: rgba(255,255,255,.2); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.5rem);
}

.nav a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-dark);
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(8, 86, 207, .35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(75, 146, 255, .2) 0%, transparent 60%),
    linear-gradient(135deg, #0a1e3d 0%, #142D55 50%, #0d2147 100%);
}

/* Decorative dots grid */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px clamp(16px, 4vw, 48px);
  max-width: 780px;
}

.hero-eyebrow {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand-light);
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 2.4rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================
   SPEAKERS
   =================================== */
.speakers {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.speaker-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(8,86,207,.06);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition);
}

.speaker-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.speaker-card:hover {
  box-shadow: 0 8px 32px rgba(8,86,207,.12);
}

.speaker-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: .25rem;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}

.speaker-month {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
}

.speaker-day {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-dark);
  margin: .1em 0;
}

.speaker-year {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.speaker-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.speaker-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .25rem;
}

.speaker-number {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(8,86,207,.35);
  font-family: var(--font-sans);
  letter-spacing: .08em;
}

.speaker-tag {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
  background: var(--brand-pale);
  padding: .2em .75em;
  border-radius: 50px;
}

.speaker-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
}

.speaker-topic {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

.speaker-bio {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: .25rem 0 .75rem;
}

.speaker-bio strong { color: var(--text); }
.speaker-bio em { color: var(--text); }

/* ===================================
   TICKETS CTA
   =================================== */
.cta-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.section--blue h2 { color: var(--white); }

.cta-block p {
  color: rgba(255,255,255,.8);
  margin-top: .75rem;
  font-size: 1.05rem;
}

.cta-contact a { color: var(--brand-light); font-weight: 600; }
.cta-contact a:hover { color: var(--white); }

/* ===================================
   VALUES
   =================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition);
}

.value-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-card:hover {
  box-shadow: 0 4px 20px rgba(8,86,207,.1);
  border-color: var(--brand-light);
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--brand);
}

.value-icon svg { width: 100%; height: 100%; }

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.value-card p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Past Speakers */
.past-speakers {
  background: var(--brand-pale);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2rem 2.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.past-speakers h3 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.past-speakers p {
  font-size: .97rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.past-speakers-quote {
  margin-top: 1rem !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem !important;
  color: var(--brand-dark) !important;
  line-height: 1.6;
}

/* ===================================
   SPONSORS
   =================================== */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sponsor-tier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, box-shadow var(--transition);
}

.sponsor-tier.visible {
  opacity: 1;
  transform: translateY(0);
}

.sponsor-tier:hover {
  box-shadow: 0 4px 20px rgba(8,86,207,.1);
  border-color: var(--brand);
}

.sponsor-tier-header {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.sponsor-tier p {
  font-size: .95rem;
  color: var(--text-muted);
  flex-grow: 1;
  line-height: 1.6;
}

.donate-block {
  background: var(--brand);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--white);
}

.donate-inner h3 {
  color: var(--white);
  margin-bottom: .75rem;
}

.donate-inner p {
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.donate-inner .btn-primary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}
.donate-inner .btn-primary:hover {
  background: var(--brand-pale);
  border-color: var(--brand-pale);
  color: var(--brand-dark);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  max-width: 300px;
  line-height: 1.65;
}

.footer-cfgr {
  margin-top: 1.25rem !important;
  font-size: .85rem !important;
}

.footer-cfgr strong { color: rgba(255,255,255,.9); }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: .78rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact p {
  margin-bottom: .35rem;
  font-size: .95rem;
}

.footer-address {
  margin-top: .75rem;
  font-size: .88rem !important;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}

.footer-social a {
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }

  .nav.nav--open { display: flex; }

  .nav a {
    padding: .75rem clamp(16px, 4vw, 48px);
    border-radius: 0;
  }

  .nav-toggle { display: flex; }

  .speaker-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .speaker-date {
    flex-direction: row;
    align-items: baseline;
    gap: .5rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 1rem;
  }

  .speaker-day { font-size: 2rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .donate-block { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .speaker-card { padding: 1.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
}
