:root {
  --primary: #0a7d3a;
  --primary-dark: #065c2a;
  --accent: #f59e0b;
  --accent-dark: #b45309;
  --earth: #2b4d3a;
  --sky: #1e6091;
  --bg: #ffffff;
  --bg-alt: #f6f9f7;
  --text: #1a2421;
  --text-muted: #5a6b65;
  --border: #e3e9e5;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(10, 50, 30, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 50, 30, 0.12);
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0.75rem 0;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--earth);
  font-size: 0.95rem;
}
.nav-brand .logos {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.nav-brand .logos img { height: 34px; width: auto; }
.nav-brand .logos .x {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}
.nav-brand .brand-text { line-height: 1.1; }
.nav-brand .brand-text small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); color: white !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
}

/* Hero */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, #e8f5ee 0%, #f0f7ed 50%, #fff7e6 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(10, 125, 58, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--earth);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 620px;
}
.hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}
.hero .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero .meta-item svg { width: 18px; height: 18px; color: var(--primary); }
.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }
.btn-outline {
  background: white;
  color: var(--earth);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img { width: 100%; height: auto; }

/* Sections */
section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--earth);
  margin-bottom: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.about-card {
  background: white;
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-card .icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--earth));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}
.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--earth);
}
.about-card p { color: var(--text-muted); font-size: 0.95rem; }

.about-narrative {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: center;
}

/* Agenda */
.agenda {
  max-width: 900px;
  margin: 0 auto;
}
.agenda-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.agenda-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.agenda-time {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
.agenda-content h4 {
  color: var(--earth);
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}
.agenda-content p { color: var(--text-muted); font-size: 0.95rem; }
.agenda-tag {
  display: inline-block;
  background: rgba(10, 125, 58, 0.08);
  color: var(--primary);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-right: 0.3rem;
}

/* Speakers */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.speaker-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.speaker-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.speaker-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, #e8f5ee, #c8e6d0);
}
.speaker-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--earth));
  color: white;
  font-size: 3rem;
  font-weight: 700;
}
.speaker-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.speaker-name { font-size: 1.1rem; color: var(--earth); margin-bottom: 0.2rem; font-weight: 700; }
.speaker-role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 0.6rem; }
.speaker-affiliation { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.speaker-talk {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text);
  background: var(--bg-alt);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  margin-bottom: 0.8rem;
}
.speaker-bio-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  align-self: flex-start;
  margin-top: auto;
}
.speaker-bio-btn:hover { text-decoration: underline; }
.speaker-bio {
  display: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  line-height: 1.55;
}
.speaker-bio.open { display: block; }

/* Organizers */
.org-section { margin-bottom: 3rem; }
.org-section h3 {
  font-size: 1.3rem;
  color: var(--earth);
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 700;
}
.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.org-card {
  background: white;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: border-color 0.2s, transform 0.2s;
}
.org-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.org-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--sky));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
}
.org-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.org-info h4 { font-size: 0.95rem; color: var(--earth); margin-bottom: 0.2rem; }
.org-info .role { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-bottom: 0.15rem; }
.org-info .affiliation { font-size: 0.78rem; color: var(--text-muted); }

/* Partners */
.partners {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.partner-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 220px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partner-card.dark { background: #0d1f17; border-color: #0d1f17; }
.partner-card img { max-height: 80px; width: auto; }
.partner-card .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.partner-card.dark .label { color: rgba(255,255,255,0.65); }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--earth) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}
.cta-section .section-title { color: white; }
.cta-section p { color: rgba(255, 255, 255, 0.85); max-width: 600px; margin: 0 auto 2rem; }
.cta-section .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.cta-section .btn-outline:hover { background: white; color: var(--earth); }

/* Footer */
footer {
  background: #0d1f17;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand { color: white; font-weight: 700; margin-bottom: 0.8rem; font-size: 1.1rem; }
.footer-grid p { font-size: 0.9rem; line-height: 1.7; }
.footer-grid h4 { color: white; margin-bottom: 0.8rem; font-size: 0.95rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-grid a { color: rgba(255, 255, 255, 0.7); }
.footer-grid a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.8rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .agenda-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
