/* Acumino-inspired color system — sourced from acumino.ai's design tokens */
:root {
  --background: 220 20% 4%;
  --foreground: 180 10% 92%;
  --card: 220 18% 8%;
  --card-foreground: 180 10% 92%;
  --primary: 180 100% 50%;
  --primary-foreground: 220 20% 4%;
  --secondary: 220 15% 14%;
  --secondary-foreground: 180 10% 85%;
  --accent: 180 80% 40%;
  --muted: 220 15% 12%;
  --muted-foreground: 220 10% 55%;
  --border: 220 15% 16%;
  --ring: 180 100% 50%;

  --bg: hsl(var(--background));
  --bg-elev: hsl(var(--card));
  --bg-sidebar: hsl(220 18% 6%);
  --fg: hsl(var(--foreground));
  --fg-muted: hsl(var(--muted-foreground));
  --fg-secondary: hsl(var(--secondary-foreground));
  --primary-color: hsl(var(--primary));
  --accent-color: hsl(var(--accent));
  --border-color: hsl(var(--border));
  --secondary-bg: hsl(var(--secondary));

  --font-sans: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, hsl(180 100% 50% / 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, hsl(180 80% 40% / 0.06), transparent 60%);
  background-attachment: fixed;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--primary-color); }

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, hsl(180 100% 50%) 0%, hsl(180 80% 40%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(220 20% 4% / 0.75);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, hsl(180 100% 50%), hsl(180 80% 40%));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}
.brand-name { font-size: 0.95rem; }
.site-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9375rem;
  color: var(--fg-secondary);
}
.site-nav a:hover { color: var(--primary-color); }

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero h1 { margin-bottom: 1rem; }
.hero-tag {
  font-size: 1.25rem;
  color: var(--fg-secondary);
  max-width: 640px;
  margin-bottom: 1.5rem;
}
.hero-bio {
  color: var(--fg-muted);
  max-width: 720px;
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(180 100% 50% / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, hsl(180 100% 50% / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary-color);
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover {
  background: hsl(180 100% 55%);
  color: hsl(var(--primary-foreground));
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-color);
}
.btn-ghost:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Section title */
.section-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 32px;
  height: 2px;
  background: var(--primary-color);
}

/* Page header */
.page-header { padding: 5rem 0 2rem; }
.page-header h1 { margin-bottom: 0.75rem; }
.page-lede {
  color: var(--fg-secondary);
  font-size: 1.125rem;
  max-width: 720px;
}

/* Cards */
.affiliations { padding: 3rem 0 5rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.card:hover {
  border-color: hsl(180 100% 50% / 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px hsl(180 100% 50% / 0.08);
}
.card-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.card-name {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.card-desc {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  flex: 1;
}
.card-link {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--primary-color);
}

/* Prose */
.prose { padding: 2rem 0 4rem; }
.prose p {
  font-size: 1.0625rem;
  color: var(--fg-secondary);
  margin-bottom: 1.5rem;
}

/* CTA row */
.cta-row { margin-top: 2.5rem; display: flex; justify-content: center; }

/* Talks list */
.list-section { padding: 1rem 0 5rem; }
.entry-list { list-style: none; padding: 0; margin: 0; }
.entry {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
}
.entry:last-child { border-bottom: 1px solid var(--border-color); }
.entry-type {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  padding-top: 0.25rem;
}
.entry-title { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.entry-meta { font-size: 0.875rem; color: var(--fg-muted); margin: 0; }

@media (max-width: 600px) {
  .entry { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: var(--bg-sidebar);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
}
.footer-socials { display: flex; gap: 1rem; }
.footer-socials .social {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--fg-muted);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: color 150ms ease, border-color 150ms ease;
}
.footer-socials .social:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.footer-copy {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* Responsive nav */
@media (max-width: 720px) {
  .site-nav { display: none; }
}
