/* Force Palantir dark surface. Type/fonts from mirrored CSS. */

html,
body.theme-dark {
  background: #000 !important;
  color: #fff !important;
  min-height: 100%;
}

body.theme-dark {
  --body-color: #000;
  --body-color-medium: #1e2124;
  --body-color-light: #252a31;
  --text-color: #fff;
  --text-color-medium: #e5e5e5;
  --text-color-light: #767676;
  --accent-color: #4e8af7;
  font-family: "Alliance No.1", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark .headline,
body.theme-dark .person__name,
body.theme-dark .link__label {
  font-family: "Alliance No.2", "Alliance No.1", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial,
    sans-serif !important;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}

.hero__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.04);
  animation: hero-drift 28s ease-in-out infinite alternate;
}

#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 40%, rgba(78, 138, 247, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 45%, #000 92%);
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width, 80rem);
  margin: 0 auto;
  padding: 0 var(--h-spacing, 1.25rem);
  padding-bottom: var(--section-v-spacing, 4rem);
}

.earmark {
  font-family: var(--details-captions-family);
  font-size: var(--details-captions-size);
  letter-spacing: var(--details-captions-letter);
  line-height: var(--details-captions-line);
  text-transform: uppercase;
  color: var(--text-color-light);
  margin: 0;
}

.header {
  padding-top: clamp(5rem, 18vh, 10rem);
  padding-bottom: var(--section-v-spacing, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: calc(var(--gutter, 1rem) * 2);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
}

.status__dot {
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent-color);
  box-shadow: 0 0 0 0 rgba(78, 138, 247, 0.55);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(78, 138, 247, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(78, 138, 247, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(78, 138, 247, 0);
  }
}

.headline {
  font-family: "Alliance No.2", "Alliance No.1", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial,
    sans-serif !important;
  font-size: clamp(4rem, 14vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: #fff;
  margin: 0 0 calc(var(--gutter, 1rem) * 1.75);
  max-width: none;
  text-transform: none;
  text-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
}

.dek {
  font-size: var(--body-300-size, 1.1rem);
  line-height: var(--body-300-line, 1.3);
  color: rgba(229, 229, 229, 0.82);
  max-width: 34rem;
  margin: 0 0 calc(var(--gutter, 1rem) * 3);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding-top: calc(var(--gutter, 1rem) * 2);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav a {
  font-family: var(--details-captions-family);
  font-size: 0.7777777778rem;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  outline: none;
}

.section {
  padding: var(--section-v-spacing, 4rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.82));
}

.section:last-of-type {
  border-bottom: none;
}

.section__title {
  margin: 0 0 calc(var(--gutter, 1rem) * 2);
  color: #fff;
}

.tbd {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: calc(var(--gutter, 1rem) * 2);
}

.tbd__label {
  color: var(--accent-color) !important;
  margin-bottom: 0.5rem;
}

.tbd__copy {
  margin: 0;
  color: rgba(229, 229, 229, 0.55);
  font-size: 0.9444444444rem;
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(var(--gutter, 1rem) * 2) calc(var(--gutter, 1rem) * 1.5);
}

.person {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 0.06s);
}

.person.is-visible {
  opacity: 1;
  transform: none;
}

.person__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.person__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0) scale(1.01);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.person:hover .person__photo {
  transform: translateZ(0) scale(1.05);
}

.person__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.person__major {
  color: var(--accent-color) !important;
}

.person__name {
  margin: 0;
  font-size: 1.1111111111rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.person__role {
  margin: 0;
  font-size: 0.8333333333rem;
  line-height: 1.35;
  color: rgba(229, 229, 229, 0.7);
  max-width: 22ch;
}

.person__email {
  margin-top: 0.35rem;
  font-family: var(--details-captions-family);
  font-size: 0.6666666667rem;
  letter-spacing: 0.02em;
  color: #767676;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.decisions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.decision {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: calc(var(--gutter, 1rem) * 2);
  padding: calc(var(--gutter, 1rem) * 1.75) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.decision:first-child {
  border-top: none;
  padding-top: 0;
}

.decision__date {
  font-family: var(--details-captions-family);
  font-size: 0.7777777778rem;
  color: var(--accent-color);
  padding-top: 0.15rem;
}

.decision__body > p:first-child {
  color: #fff;
  margin: 0 0 0.35rem;
}

.decision__reason {
  margin: 0;
  font-size: 0.8888888889rem;
  color: rgba(229, 229, 229, 0.7);
}

.decision__reason::before {
  content: "Why: ";
  color: #767676;
}

.links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 7.5rem;
  padding: calc(var(--gutter, 1rem) * 1.5) calc(var(--gutter, 1rem) * 1.25)
    calc(var(--gutter, 1rem) * 1.5) 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  transition: background 0.25s ease;
}

.link:last-child {
  border-right: none;
}

.link:hover,
.link:focus-visible {
  background: rgba(78, 138, 247, 0.1);
  outline: none;
}

.link__sub {
  font-family: var(--details-captions-family);
  font-size: var(--details-captions-size);
  letter-spacing: var(--details-captions-letter);
  text-transform: uppercase;
  color: #767676;
}

.link__label {
  font-family: var(--headline-100-family);
  font-size: 1.1111111111rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.link__arrow {
  font-weight: 400;
  color: #767676;
}

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

.glossary__item {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: calc(var(--gutter, 1rem) * 2);
  padding: calc(var(--gutter, 1rem) * 1.75) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.glossary__item:first-child {
  border-top: none;
  padding-top: 0;
}

.glossary__term {
  font-family: var(--headline-100-family);
  font-size: 0.8888888889rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.glossary__def {
  margin: 0;
  max-width: 40rem;
  color: rgba(229, 229, 229, 0.72);
  font-size: 0.9444444444rem;
  line-height: 1.4;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 32rem;
}

.table th,
.table td {
  text-align: left;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
}

.table tr:last-child td {
  border-bottom: none;
}

.table th {
  font-family: var(--details-captions-family);
  font-size: var(--details-captions-size);
  font-weight: 400;
  letter-spacing: var(--details-captions-letter);
  text-transform: uppercase;
  color: #767676;
}

.table td:first-child {
  font-weight: 700;
  color: #fff;
}

.table td:nth-child(2) {
  color: #e5e5e5;
}

.table td:nth-child(3) {
  color: #767676;
}

.table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.timeline {
  position: relative;
  padding-top: 1.25rem;
}

.timeline__track {
  position: absolute;
  top: 1.45rem;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline__progress {
  height: 100%;
  width: 0;
  background: var(--accent-color);
}

.timeline__nodes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gutter, 1rem);
  position: relative;
}

.milestone {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-right: 0.5rem;
}

.milestone__node {
  width: 0.5rem;
  height: 0.5rem;
  background: #000;
  border: 1px solid #767676;
  position: relative;
  z-index: 1;
}

.milestone.is-past .milestone__node,
.milestone.is-current .milestone__node {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(78, 138, 247, 0.55);
}

.milestone__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.milestone__date {
  font-family: var(--details-captions-family);
  font-size: var(--details-captions-size);
  letter-spacing: var(--details-captions-letter);
  text-transform: uppercase;
  color: var(--accent-color);
}

.milestone__label {
  font-size: 0.9444444444rem;
  line-height: 1.3;
  color: rgba(229, 229, 229, 0.7);
  max-width: 9rem;
}

.milestone.is-current .milestone__label {
  color: #fff;
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(var(--gutter, 1rem) * 2) 0 calc(var(--gutter, 1rem) * 3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

@media (max-width: 56rem) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
  }

  .links .link:last-child {
    grid-column: 1 / -1;
    border-bottom: none;
  }

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

  .timeline__track {
    top: 0;
    bottom: 0;
    left: 0.2rem;
    right: auto;
    width: 1px;
    height: auto;
  }

  .timeline {
    padding-top: 0;
  }

  .milestone {
    flex-direction: row;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .milestone:last-child {
    border-bottom: none;
  }

  .milestone__label {
    max-width: none;
  }
}

@media (max-width: 40rem) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .decision,
  .glossary__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

  .hero__still {
    opacity: 0.22;
  }

  #scene {
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__still,
  .status__dot {
    animation: none !important;
  }
}
