@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #1c1b1a;
  --text: #eee8de;
  --muted: #b9b2a8;
  --line: #69645f;
  --accent: #ee69b5;
  --institution-link: #8ab4f8;
  --current: #b49af5;
  --hero-page: #261f1a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.welcome-screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: 0;
  place-items: center;
  padding: 3rem 1.5rem;
  background: var(--hero-page);
  text-align: center;
}

.content-nav-anchor {
  position: relative;
  height: 0;
}

.site-nav {
  position: absolute;
  top: 1rem;
  left: 50%;
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
}

.welcome-content {
  display: flex;
  width: min(100%, 52rem);
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

html.js [data-reveal] {
  opacity: var(--reveal-progress, 1);
  transform: translateY(var(--reveal-offset, 0px));
}

html.js [data-reveal="exit"] {
  transform: none;
}

.hero-mark {
  width: min(24rem, 72vw);
  aspect-ratio: 393 / 320;
}

.hero-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(246, 226, 188, 0.1))
    drop-shadow(0 0 4px rgba(180, 154, 245, 0.08))
    drop-shadow(0 8px 8px rgba(0, 0, 0, 0.22));
}

.hero-quote {
  max-width: 48rem;
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.5;
}

.hero-quote p {
  margin: 0;
  font-style: italic;
}

.hero-quote footer {
  margin-top: 0.75rem;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.hero-scroll {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  color: var(--current);
}

.hero-scroll svg {
  width: 1.5rem;
  height: 1.5rem;
}

.hero-scroll:focus-visible {
  outline: 2px solid var(--current);
  outline-offset: 3px;
}

main {
  position: relative;
  width: min(100% - 3rem, 68rem);
  margin-inline: auto;
  padding-block: 3.5rem 5rem;
}

@media (min-width: 64rem) {
  main {
    width: min(61.8vw, 68rem);
    margin-left: 6vw;
    margin-right: auto;
  }

  .site-nav {
    left: 50%;
  }
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: 2.75rem;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: 1.8rem;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

header > p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
}

.header-identity {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.header-identity .eyebrow {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.bio-copy {
  margin-top: 3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

.identity-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.identity-icon-crop {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.identity-icon-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.identity-label svg {
  flex: 0 0 auto;
}

.pathways-note + .identity-label {
  margin-top: 2.5rem;
}

.bio-copy p {
  margin: 0 0 1.65rem;
}

.bio-copy p:last-child {
  margin-bottom: 0;
}

.statement-highlight {
  padding: 0;
  background-color: rgba(244, 220, 98, 0.32);
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

section {
  margin-top: 3rem;
}

section p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.bio-copy a {
  color: var(--institution-link);
}

.bio-copy a:focus-visible {
  outline-color: var(--institution-link);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0.65rem;
  bottom: 0.8rem;
  left: 0.38rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--line) calc(100% - 2rem), transparent 100%);
  content: "";
}

.timeline-item {
  position: relative;
  padding: 0 0 2.25rem 2.25rem;
}

.timeline-item::before {
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.78rem;
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--page);
  content: "";
}

.timeline-date {
  margin: 0.4rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.timeline-item > p:not(.timeline-date),
.destination-card {
  font-family: "Space Grotesk", sans-serif;
}

.pathways-note {
  margin: 1.25rem 0 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

.wonderland-invite {
  margin: 1.25rem 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

.wonderland-arrow {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.35em;
  color: var(--current);
  vertical-align: -0.12em;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.destination-card {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #242321;
  color: var(--current);
  font-size: 1rem;
  font-weight: 600;
}

.future-page {
  color: var(--current);
  font-family: Georgia, "Times New Roman", serif;
}

.timeline a {
  color: var(--institution-link);
}

.timeline a:focus-visible {
  outline-color: var(--institution-link);
}

.date-current {
  color: var(--current);
}

@media (max-width: 42rem) {
  body {
    font-size: 1rem;
  }

  .welcome-screen {
    padding: 2.5rem 1.25rem;
  }

  .site-nav {
    top: 0.75rem;
    font-size: 0.85rem;
  }

  .hero-mark {
    width: min(17rem, 72vw);
  }

  .hero-quote {
    font-size: 1.15rem;
  }

  main {
    width: min(100% - 2rem, 68rem);
    padding-block: 2.25rem 3rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  .bio-copy {
    font-size: 1.2rem;
  }

  .pathways-note {
    font-size: 1.2rem;
  }

  .wonderland-invite {
    font-size: 1.2rem;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
