/* ============================================
   Sage Assembly 2026 — Site Styles
   Matched to sagebionetworks.org visual identity
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

:root {
  --sage-green: #459d45;
  --sage-green-bright: #59c959;
  --sage-green-light: #e6f7e6;
  --sage-blue: #1a7dbb;
  --sage-blue-bright: #1f9bea;
  --sage-blue-light: #def0fc;
  --sage-blue-pale: #b8dff5;
  --sage-orange: #c87801;
  --sage-orange-bright: #fd9701;
  --sage-orange-light: #ffefd9;
  --sage-black: #1a1a1a;
  --sage-dark: #333;
  --sage-mid: #555;
  --sage-gray: #b2b2b2;
  --sage-border: #e5e5e5;
  --sage-bg: #f2f2f2;
  --sage-warm: #faf4eb;
  --sage-white: #ffffff;
  --font-sans: 'DM Sans', Arial, sans-serif;
  --font-mono: 'DM Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--sage-dark);
  line-height: 1.7;
  font-size: 16px;
  background: var(--sage-white);
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--sage-black);
}

/* Large display headings: thin weight like sagebionetworks.org */
h1 { font-size: 3.6rem; line-height: 1.1; font-weight: 300; }
h2 { font-size: 2.6rem; line-height: 1.2; font-weight: 300; }

/* Smaller headings: medium weight */
h3 { font-size: 1.35rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

a { color: var(--sage-green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sage-green-bright); }

strong { font-weight: 600; }

/* ---------- Layout ---------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Full-page crossing lines layer */
#page-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Navigation ---------- */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 0 24px;
  transition: box-shadow 0.3s;
  border-bottom: 1px solid var(--sage-border);
}

nav.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

nav .logo {
  font-size: 1.15rem;
  color: var(--sage-dark);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav .logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
}

nav .logo b { font-weight: 700; color: var(--sage-black); }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

nav ul li a {
  color: var(--sage-mid);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

nav ul li a:hover,
nav ul li a.active { color: var(--sage-green); }

nav ul li a.nav-cta {
  background: var(--sage-green);
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 500;
}

nav ul li a.nav-cta:hover {
  background: var(--sage-green-bright);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sage-black);
  transition: 0.3s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  background: var(--sage-white);
  color: var(--sage-black);
  overflow: hidden;
  padding: 120px 0 60px;
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}

.hero-illustration img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0.9;
}

.hero .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-orange-bright);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--sage-black);
  max-width: 700px;
}

.hero .subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--sage-mid);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero .meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--sage-dark);
  font-weight: 400;
}

.hero .meta-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--sage-green);
  fill: none;
  stroke-width: 2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--sage-green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--sage-green-bright);
  color: #fff;
  transform: translateY(-1px);
}

/* Green arrow CTA like sagebionetworks.org */
.btn-arrow {
  background: none;
  color: var(--sage-dark);
  padding: 0;
  font-weight: 500;
  gap: 10px;
}

.btn-arrow svg {
  width: 28px;
  height: 28px;
  transition: transform 0.2s;
}

.btn-arrow:hover { color: var(--sage-green); }
.btn-arrow:hover svg { transform: translateX(4px); }

.btn-outline {
  border: 1px solid var(--sage-border);
  color: var(--sage-dark);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--sage-green);
  color: var(--sage-green);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- Section Headers ---------- */

.section-header {
  margin-bottom: 60px;
}

.section-header.centered { text-align: center; }

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-orange-bright);
  margin-bottom: 12px;
}

.section-header h2 {
  color: var(--sage-black);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--sage-mid);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
}

.section-header.centered p {
  margin: 0 auto;
}


/* ---------- About / Theme ---------- */

.about {
  background: var(--sage-white);
}

.about .container { position: relative; z-index: 1; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--sage-mid);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
}

.theme-pillars {
  display: grid;
  gap: 24px;
}

.pillar {
  background: var(--sage-white);
  border-left: 3px solid var(--sage-green);
  padding: 24px 28px;
}

.pillar.blue { border-left-color: var(--sage-blue); }
.pillar.orange { border-left-color: var(--sage-orange-bright); }

.pillar h3 {
  color: var(--sage-black);
  margin-bottom: 8px;
}

.pillar p {
  color: var(--sage-mid);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ---------- Speakers ---------- */

.speakers {
  background: var(--sage-warm);
}

.speakers .container { position: relative; z-index: 1; }

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.speaker-card {
  background: var(--sage-white);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.speaker-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sage-blue-light);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--sage-blue);
  font-weight: 500;
  font-family: var(--font-mono);
}

.speaker-avatar.green { background: var(--sage-green-light); color: var(--sage-green); }
.speaker-avatar.orange { background: var(--sage-orange-light); color: var(--sage-orange); }

.speaker-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
}

.speaker-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.speaker-card h3 a { color: var(--sage-black); }
.speaker-card h3 a:hover { color: var(--sage-green); }

.speaker-card .role {
  font-size: 0.85rem;
  color: var(--sage-mid);
  font-weight: 300;
  margin-bottom: 12px;
}

.speaker-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--sage-green-light);
  color: var(--sage-green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.speaker-card .tag.keynote {
  background: var(--sage-orange-light);
  color: var(--sage-orange);
}

/* ---------- Agenda ---------- */

.agenda {
  background: var(--sage-white);
}

.agenda .container { position: relative; z-index: 1; }

.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

/* Two-column timeline on wide screens */
@media (min-width: 901px) {
  .timeline-2col {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }

  .timeline-2col::before { display: none; }

  .timeline-col {
    position: relative;
  }

  .timeline-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--sage-border);
  }
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--sage-border);
}

.timeline-item {
  padding-left: 36px;
  padding-bottom: 20px;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-green);
}

.timeline-item.keynote-item::before { background: var(--sage-blue); }
.timeline-item.panel-item::before { background: var(--sage-orange-bright); }
.timeline-item.break::before { background: var(--sage-gray); }

.timeline-time {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sage-green);
  margin-bottom: 2px;
  font-family: var(--font-mono);
}

.timeline-item.keynote-item .timeline-time { color: var(--sage-blue); }
.timeline-item.panel-item .timeline-time { color: var(--sage-orange); }

.timeline-title {
  font-weight: 500;
  color: var(--sage-black);
  margin-bottom: 2px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--sage-mid);
  font-weight: 300;
}

/* ---------- Venue ---------- */

.venue {
  background: var(--sage-warm);
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.venue-info h3 {
  color: var(--sage-black);
  margin-bottom: 12px;
}

.venue-info > p {
  color: var(--sage-mid);
  margin-bottom: 24px;
  font-weight: 300;
  font-size: 1.05rem;
}

.venue-details {
  list-style: none;
  display: grid;
  gap: 16px;
}

.venue-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--sage-dark);
  font-size: 0.95rem;
  font-weight: 300;
}

.venue-details li svg {
  width: 20px;
  height: 20px;
  stroke: var(--sage-green);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

.venue-map {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sage-border);
}

.venue-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Sponsorship ---------- */

.sponsorship {
  background: var(--sage-white);
}

.sponsorship .container { position: relative; z-index: 1; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tier-card {
  background: var(--sage-white);
  border: 1px solid var(--sage-border);
  border-radius: 4px;
  padding: 36px 28px;
  transition: border-color 0.3s;
}

.tier-card:hover { border-color: var(--sage-green); }

.tier-card .tier-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tier-card .tier-icon.green { background: var(--sage-green-light); }
.tier-card .tier-icon.blue { background: var(--sage-blue-light); }
.tier-card .tier-icon.orange { background: var(--sage-orange-light); }

.tier-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.tier-card p {
  color: var(--sage-mid);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
}

.sponsorship-cta {
  text-align: center;
}

.sponsorship-cta p {
  color: var(--sage-mid);
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 300;
}

/* ---------- Past Assembly ---------- */

.past-assembly {
  background: var(--sage-warm);
}

.past-event-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.past-event-header h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.past-event-header .year-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--sage-blue-light);
  color: var(--sage-blue);
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.past-description {
  color: var(--sage-mid);
  margin-bottom: 32px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

.past-agenda-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 48px;
  background: var(--sage-white);
  border-radius: 4px;
  overflow: hidden;
}

.past-agenda-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--sage-white);
  color: var(--sage-black);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--sage-border);
}

.past-agenda-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--sage-border);
  font-size: 0.9rem;
  color: var(--sage-dark);
  font-weight: 300;
  vertical-align: top;
}

.past-agenda-table td strong { font-weight: 500; }

.past-agenda-table tr:last-child td { border-bottom: none; }

.past-agenda-table .time-col {
  white-space: nowrap;
  font-weight: 500;
  color: var(--sage-blue);
  width: 120px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.past-section-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--sage-black);
  margin: 56px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sage-green-light);
}

.past-history {
  color: var(--sage-mid);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

.webinar-list {
  display: grid;
  gap: 16px;
}

.webinar-item {
  background: var(--sage-white);
  border-radius: 4px;
  padding: 24px;
}

.webinar-item h4 { color: var(--sage-black); margin-bottom: 6px; }

.webinar-item .date {
  font-size: 0.8rem;
  color: var(--sage-orange-bright);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.webinar-item p {
  font-size: 0.9rem;
  color: var(--sage-mid);
  font-weight: 300;
}

/* ---------- Footer ---------- */

footer {
  background: var(--sage-black);
  color: rgba(255,255,255,0.5);
  padding: 48px 0;
  text-align: center;
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

footer .footer-logo {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 300;
}

footer .footer-logo b { font-weight: 700; }

footer p { font-size: 0.85rem; margin-bottom: 8px; font-weight: 300; }

footer a { color: var(--sage-green-bright); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-illustration { order: -1; }

  .about-grid,
  .venue-grid { grid-template-columns: 1fr; gap: 40px; }

  .tiers { grid-template-columns: 1fr; }

  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  h1 { font-size: 2.2rem; }
  section { padding: 64px 0; }

  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--sage-border);
  }

  .hamburger { display: flex; }

  .hero { text-align: left; }
  .hero .meta { flex-direction: column; gap: 12px; }

  .speakers-grid { grid-template-columns: 1fr; }

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

  .past-event-header { flex-direction: column; gap: 8px; }
}
