:root {
  --bg: #0b0c10;
  --fg: #e8e6e1;
  --dim: rgba(232, 230, 225, 0.72);
  --accent: #4ca8b0;
  --accent2: #c49b3c;
  --border: rgba(232, 230, 225, 0.1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
}

#canvas-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fade-in {
  animation: fadein 0.5s ease both;
}

nav {
  animation: none;
}

.nav-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--fg);
  border-bottom-color: var(--accent);
}
.nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem !important;
  font-weight: 300;
  line-height: 1.1;
  color: var(--fg);
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

/* Faculty photo placeholder */
.faculty-photo {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}
.faculty-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 6px,
    rgba(76, 168, 176, 0.06) 6px,
    rgba(76, 168, 176, 0.06) 7px
  );
}
.faculty-photo span {
  position: relative;
  z-index: 1;
}

/* CTA button */
.cta-btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  text-decoration: none;
}
.cta-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.speakers-table {
  width: 100%;
  border-collapse: collapse;
}
.speakers-table th {
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 400;
  padding: 0 1rem 1rem 0;
  border-bottom: 1px solid var(--border);
}
.speakers-table td {
  padding: 1.1rem 1rem 1.1rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.92rem;
  color: var(--dim);
  font-weight: 300;
}
.speakers-table td.name {
  color: var(--fg);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 400;
}
.speakers-table tr:hover td {
  background: rgba(232, 230, 225, 0.025);
}

.badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
}

footer {
  background: #05060a;
  border-top: 1px solid rgba(232, 230, 225, 0.08);
  color: rgba(232, 230, 225, 0.45);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 300;
}

@media (max-width: 700px) {
  nav {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-pad,
  .white-pad {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .meta-row {
    gap: 1.5rem;
  }
  footer {
    flex-direction: column;
    padding: 2rem 1.25rem;
  }

  .speakers-table th:nth-child(3),
  .speakers-table td:nth-child(3) {
    display: none;
  }
}
