@font-face {
  font-family: "Quantico";
  src: url("/fonts/Quantico/Quantico-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Quantico Italic";
  src: url("/fonts/Quantico/Quantico-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Quantico Bold";
  src: url("/fonts/Quantico/Quantico-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Quantico Bold Italic";
  src: url("/fonts/Quantico/Quantico-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Fresca";
  src: url("/fonts/Fresca/Fresca-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
.home-eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-title {
  margin: 0 0 12px;
}
@media screen and (max-width: 940px) {
  .home-title {
    margin: 0 0 12px;
  }
}

/* ---------- Foreglow ---------- */
.foreglow {
  margin: 8px 0 40px;
}

.foreglow-intro {
  margin: 0 0 16px;
}

.foreglow-carousel {
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  background: var(--bg-highlight);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.foreglow-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.foreglow-track::-webkit-scrollbar {
  display: none;
}

.foreglow-slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 16px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}
.foreglow-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.foreglow-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-top: 1px solid var(--border-light);
  font-size: 15px;
}

.foreglow-label a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.foreglow-label a[hidden] {
  display: none;
}
.foreglow-label strong {
  color: var(--text-primary);
}
.foreglow-label span {
  color: var(--text-muted);
}
.foreglow-label i {
  font-size: 11px;
  color: inherit;
}

.foreglow-arrow {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.foreglow-arrow i {
  color: inherit;
}
.foreglow-arrow:hover {
  color: var(--text-primary);
  background: var(--bg-highlight-hover);
}

/* ---------- Current project ---------- */
.current-project {
  margin: 0 0 40px;
}

.current-project-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: start;
}
.current-project-body p:first-of-type {
  margin-top: 0;
}
@media (max-width: 760px) {
  .current-project-body {
    grid-template-columns: 1fr;
  }
}

.paper-card {
  display: block;
  margin-top: 6px;
  text-decoration: none !important;
}
.paper-card .paper-page {
  padding: 22px 18px;
  background: #fdfcf8;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  box-shadow: var(--shadow-light);
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
}
.paper-card p {
  margin: 0;
  color: #222;
}
.paper-card .paper-title {
  font-size: 17px;
  line-height: 1.25;
}
.paper-card .paper-author {
  margin-top: 6px;
  font-size: 12px;
}
.paper-card .paper-date {
  margin-top: 2px;
  font-size: 11px;
}
.paper-card .paper-abstract-label {
  margin-top: 12px;
  font-size: 10px;
  font-weight: bold;
}
.paper-card .paper-abstract {
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.45;
  text-align: justify;
}
.paper-card .paper-link {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  text-align: center;
}
.paper-card:hover .paper-link {
  text-decoration: underline;
}
@media (max-width: 760px) {
  .paper-card {
    max-width: 280px;
    margin: 0 auto;
  }
}

.home-divider {
  height: 1px;
  margin: 0 0 32px;
  border: 0;
  background: var(--border-medium);
}
