/* ============================================================
   Velella overview — mirrors the presentation theme tokens.
   ============================================================ */
:root {
  --bg: #0f0f12;
  --surf: #1c1c1e;
  --surf2: #2c2c2e;
  --border: #38383a;
  --border2: #636366;
  --text: #f5f5f7;
  --muted: #aeaeb2;
  --muted2: #8e8e93;
  --accent: #4dffb8;

  --font-ui: -apple-system, 'SF Pro Display', 'SF Pro Text', BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'Noto Sans Math', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse 85% 65% at 50% 70%, rgba(77, 255, 184, 0.045), transparent 70%),
    radial-gradient(ellipse 55% 45% at 25% 25%, rgba(77, 255, 184, 0.025), transparent 65%),
    var(--bg);
  background-attachment: fixed;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 72px;
  min-height: 100vh;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.hero-mark-link {
  display: inline-flex;
  line-height: 0;
  color: var(--accent);
  filter: drop-shadow(0 0 24px rgba(77, 255, 184, 0.18));
  transition: transform 400ms ease, filter 400ms ease;
}

.hero-mark-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 28px rgba(77, 255, 184, 0.28));
}

.hero-mark {
  width: 168px;
  height: auto;
}

.hero-title {
  margin: 0;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.hero-lede {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
}

/* ============================================================
   Talks grid
   ============================================================ */
.talks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.talks-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px 0;
  text-align: center;
  color: var(--muted2);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.talk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 30px 30px 32px;
  background: linear-gradient(180deg, rgba(28, 28, 30, 0.6), rgba(28, 28, 30, 0.35));
  border: 1px solid var(--border);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
}

.talk-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.35;
  transition: width 320ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 320ms ease;
}

.talk-card:hover {
  transform: translateY(-3px);
  border-color: var(--border2);
  background: linear-gradient(180deg, rgba(36, 36, 38, 0.75), rgba(28, 28, 30, 0.5));
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}

.talk-card:hover::before {
  width: 4px;
  opacity: 0.85;
}

.talk-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.talk-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.talk-meta .talk-date {
  color: var(--accent);
  opacity: 0.85;
}

.talk-meta .talk-sep {
  width: 18px;
  height: 1px;
  background: var(--border2);
}

.talk-title {
  margin: 0;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

.talk-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--muted);
}

.talk-card:hover .talk-title { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: center;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted2);
  text-decoration: none;
  transition: color 240ms ease;
}

.footer-link:hover {
  color: var(--accent);
}

/* ============================================================
   Small screens
   ============================================================ */
@media (max-width: 640px) {
  .page { padding: 56px 22px 40px; gap: 56px; }
  .hero-mark { width: 128px; }
  .hero-title { font-size: 42px; }
  .talks { grid-template-columns: 1fr; }
  .talk-card { padding: 24px 24px 26px 26px; }
  .talk-title { font-size: 23px; }
}
