/* ─────────────────────────────────────────
   BEAM 2 Workshop — Academic Light Theme
   ───────────────────────────────────────── */

:root {
  --bg:            #ffffff;
  --bg-alt:        #f5f7fa;
  --bg-alt2:       #eef1f6;
  --surface:       #ffffff;
  --surface-hi:    #f0f4f9;
  --text:          #0f172a;
  --muted:         #64748b;
  --muted-hi:      #475569;
  --accent:        #1e40af;
  --accent-light:  #3b82f6;
  --accent-bg:     #eff6ff;
  --confirmed:     #065f46;
  --confirmed-bg:  #d1fae5;
  --tentative:     #92400e;
  --tentative-bg:  #fef3c7;
  --border:        #e2e8f0;
  --border-hi:     #cbd5e1;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.10);
  --transition:    0.18s ease;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
sup { font-size: 0.55em; vertical-align: super; }

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

ul { list-style: none; }

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}
.container.narrow { width: min(800px, 100% - 3rem); }

/* ── Top announcement bar ── */
body::before {
  content: "ECCV 2026 Workshop  ·  Half-Day Program  ·  Benchmarking Evidence-Aligned Multimodal Reasoning";
  display: block;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-links .nav-cta {
  color: var(--accent);
  border: 1.5px solid var(--accent);
  margin-left: 0.5rem;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--accent-bg); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ── Hero ── */
.hero {
  background:
    linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(59,130,246,0.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(139,92,246,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.25rem;
}
.eccv-logo {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-bg);
  border: 1px solid #bfdbfe;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  max-width: 860px;
}
.hero h1 sup { font-size: 0.45em; }
.subtitle {
  font-size: 1.1rem;
  color: var(--muted-hi);
  max-width: 640px;
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted-hi);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
.scroll-down {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  opacity: 0.5;
  animation: bounce 2.2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(5px); }
}

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30,64,175,0.25);
}
.button.primary:hover {
  background: #1d3fad;
  box-shadow: 0 4px 16px rgba(30,64,175,0.3);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}
.button.secondary {
  border: 1.5px solid var(--border-hi);
  color: var(--text);
  background: var(--bg);
}
.button.secondary:hover {
  background: var(--bg-alt);
  text-decoration: none;
}

/* ── Sections ── */
.section { padding: 5rem 1.5rem; }
.section.alt { background: var(--bg-alt); }

.section-intro { margin-bottom: 2.75rem; }
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-family: 'Inter', sans-serif;
}
.section-intro h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.section-intro p {
  color: var(--muted);
  max-width: 600px;
  font-size: 1rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.about-text p {
  color: var(--muted-hi);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about-text p strong { color: var(--text); }
.about-text p em { color: var(--accent); font-style: italic; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  font-family: 'Inter', sans-serif;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.3rem;
  display: block;
  font-family: 'Inter', sans-serif;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.pillar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  color: var(--accent);
}
.pillar-card h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.4rem; font-family: 'Inter', sans-serif; }
.pillar-card p  { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Topics ── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.topic-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 1.6rem;
  background: var(--bg);
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.topic-item:hover { background: var(--bg-alt); }
.topic-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 24px;
  padding-top: 0.15rem;
  font-family: 'Inter', sans-serif;
}
.topic-item h3 { font-size: 0.93rem; font-weight: 700; margin-bottom: 0.3rem; font-family: 'Inter', sans-serif; }
.topic-item p  { color: var(--muted); font-size: 0.87rem; line-height: 1.55; }

/* ── Schedule ── */
.schedule-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg);
}
.schedule-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-row:hover { background: var(--bg-alt); }
.sched-time {
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding: 1.2rem 1.25rem;
  border-right: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  background: var(--bg-alt);
  min-height: 100%;
}
.sched-body {
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.sched-body h3 { font-size: 0.97rem; font-weight: 700; font-family: 'Inter', sans-serif; }
.sched-body p  { font-size: 0.85rem; color: var(--muted); }
.sched-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.2rem;
  font-family: 'Inter', sans-serif;
  width: fit-content;
}
.type-talk      { background: #dbeafe; color: #1e40af; }
.type-tentative { background: var(--tentative-bg); color: var(--tentative); }
.type-oral      { background: #ede9fe; color: #5b21b6; }
.type-break     { background: var(--confirmed-bg); color: var(--confirmed); }
.type-panel     { background: #fef9c3; color: #854d0e; }
.type-opening   { background: var(--bg-alt2); color: var(--muted-hi); }

/* ── Speakers ── */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 1.5rem;
}
.speaker-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.speaker-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.speaker-card.confirmed { border-top: 3px solid #22c55e; }
.speaker-card.tentative { border-top: 3px solid #f59e0b; }
.speaker-img-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.speaker-img { width: 100%; height: 100%; object-fit: cover; }
.speaker-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
}
.speaker-info { flex: 1; min-width: 0; }
.speaker-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
  font-family: 'Inter', sans-serif;
}
.confirmed-badge { background: var(--confirmed-bg); color: var(--confirmed); }
.tentative-badge { background: var(--tentative-bg); color: var(--tentative); }
.speaker-info h3   { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.1rem; }
.speaker-role      { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 0.05rem; font-family: 'Inter', sans-serif; }
.speaker-affil     { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.6rem; font-family: 'Inter', sans-serif; }
.speaker-bio       { font-size: 0.87rem; color: var(--muted-hi); line-height: 1.6; }

/* ── Organizers ── */
.org-affil-group { margin-bottom: 3rem; }
.affil-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted-hi);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  font-family: 'Inter', sans-serif;
}
.affil-logo {
  height: 26px;
  width: auto;
  filter: none;
  opacity: 0.85;
}
.amazon-logo { height: 20px; filter: brightness(0); opacity: 0.6; }
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.organizer-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.organizer-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.org-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.85rem;
  background: var(--accent-bg);
  border: 2px solid #bfdbfe;
}
.org-img { width: 100%; height: 100%; object-fit: cover; }
.org-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
}
.org-info h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; font-family: 'Inter', sans-serif; }
.org-info p  { font-size: 0.77rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.org-info .org-role { font-size: 0.77rem; font-weight: 600; color: var(--accent); margin-bottom: 0.1rem; font-family: 'Inter', sans-serif; }

/* ── Call for Papers ── */.cfp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cfp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.cfp-card:hover { box-shadow: var(--shadow-md); }
.cfp-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.cfp-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.65rem; font-family: 'Inter', sans-serif; }
.cfp-card p  { color: var(--muted-hi); font-size: 0.92rem; line-height: 1.6; }
.cfp-card p strong { color: var(--text); }
.cfp-submit { text-align: center; margin-top: 2.5rem; }
.dates-list { display: flex; flex-direction: column; gap: 0; }
.dates-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
}
.dates-list li:last-child { border-bottom: none; }
.dates-list li span  { color: var(--muted); }
.dates-list li strong { color: var(--text); }
.contact-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--accent);
  word-break: break-all;
  font-family: 'Inter', sans-serif;
}

/* ── Footer ── */
.footer {
  background: var(--text);
  color: #94a3b8;
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo  { font-size: 1rem; font-weight: 800; color: #fff; display: block; margin-bottom: 0.35rem; font-family: 'Inter', sans-serif; }
.footer-logo strong { color: #93c5fd; }
.footer-brand p { font-size: 0.83rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.2rem; align-items: center; }
.footer-links a {
  font-size: 0.83rem;
  color: #94a3b8;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-copy {
  width: 100%;
  font-size: 0.78rem;
  color: #475569;
  padding-top: 1rem;
  border-top: 1px solid #1e293b;
  font-family: 'Inter', sans-serif;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .speakers-grid { grid-template-columns: 1fr; }
  .schedule-row { grid-template-columns: 100px 1fr; }
}

@media (max-width: 680px) {
  body::before { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.97);
    gap: 0.5rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; padding: 0.75rem 2rem; }
  .nav-toggle { display: block; position: relative; z-index: 101; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .hero h1 { font-size: 2rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .speaker-card { flex-direction: column; }
  .speaker-img-wrap { width: 80px; height: 80px; }
  .schedule-row { grid-template-columns: 1fr; }
  .sched-time { border-right: none; border-bottom: 1px solid var(--border); padding: 0.6rem 1.25rem; }
  .topics-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1rem; }
}
