@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/LibreCaslonText-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/LibreCaslonText-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/LibreCaslonText-latin-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/LibreFranklin-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/LibreFranklin-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #232D4B;
  --fg: #e8e6e1;
  --dim: rgba(232, 230, 225, 0.72);
  --accent: #E57200;
  --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: "Libre Franklin", 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;
}

.hero-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(120px, 22vw, 210px);
  margin: 0 auto 0.75rem;
}

nav {
  animation: none;
}

.nav-link {
  font-family: "Libre Franklin", 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: "Libre Caslon Text", 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: "Libre Caslon Text", Georgia, 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(229, 114, 0, 0.06) 6px,
    rgba(229, 114, 0, 0.06) 7px
  );
}
.faculty-photo span {
  position: relative;
  z-index: 1;
}
.faculty-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.faculty-photo:has(img)::after {
  display: none;
}
.fac-blurb {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eee;
  font-family: "Libre Franklin", sans-serif;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #4a4a4a;
  font-weight: 300;
}

/* CTA button */
.cta-btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: "Libre Franklin", 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: "Libre Franklin", 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: "Libre Caslon Text", 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: #1a2238;
  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) {
  h1 {
    font-size: 4rem !important;
  }
  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;
  }
}
