﻿:root {
  --ink: #17171a;
  --ink-soft: #29282e;
  --blue: #2d63ff;
  --pink: #ff3d9a;
  --ivory: #f5efdf;
  --paper: #fbfaf5;
  --white: #ffffff;
  --muted: #666570;
  --line: #d8d5cc;
  --max-width: 1180px;
  --shadow: 0 24px 60px rgba(23, 23, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
}

h1 {
  max-width: 840px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--pink);
  font-style: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.8vw, 4.8rem);
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.35rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 80px;
  background: rgba(251, 250, 245, 0.95);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 25px rgba(23, 23, 26, 0.07);
}

.navigation {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1.75rem;
}

.brand {
  width: 210px;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 100%;
}

nav {
  display: flex;
  gap: 1.4rem;
}

nav a {
  font-size: 0.76rem;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  padding: 0.4rem;
  background: transparent;
  border: 0;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
  transition: 180ms ease;
}

.hero {
  position: relative;
  padding: 7rem 0;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 48%, rgba(45, 99, 255, 0.1) 48%),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size:
    auto,
    100% 44px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 4.5rem;
}

.kicker {
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #8ba9ff;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero .lead {
  color: #c8c4ca;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  margin-top: 2.2rem;
}

.text-link {
  font-size: 0.8rem;
  font-weight: 800;
}

.signal-board {
  position: relative;
  min-width: 390px;
  aspect-ratio: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-board img {
  position: absolute;
  z-index: 3;
  width: 150px;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
}

.signal-line {
  position: absolute;
  border: 1px solid rgba(45, 99, 255, 0.55);
}

.line-one {
  inset: 12%;
}

.line-two {
  inset: 25%;
  border-color: rgba(255, 61, 154, 0.55);
}

.line-three {
  inset: 38%;
  border-style: dashed;
}

.tag {
  position: absolute;
  z-index: 4;
  padding: 0.45rem 0.7rem;
  color: var(--ink);
  background: var(--ivory);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-a {
  top: 7%;
  left: 8%;
}

.tag-b {
  top: 7%;
  right: 8%;
}

.tag-c {
  right: 8%;
  bottom: 7%;
}

.tag-d {
  bottom: 7%;
  left: 8%;
}

.marquee {
  background: var(--pink);
}

.marquee .container {
  display: flex;
  justify-content: space-between;
  padding-block: 1.3rem;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.marquee i {
  font-style: normal;
}

.section {
  padding: 6.7rem 0;
}

.section-head,
.archive-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3.75rem;
  margin-bottom: 3.2rem;
}

.section-head > div,
.archive-head > div {
  max-width: 790px;
}

.section-head > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
}

.axis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.axis {
  position: relative;
  padding: 2.2rem;
  background: var(--white);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: 180ms ease;
}

.axis:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translate(-4px, -4px);
}

.axis > b {
  color: var(--pink);
  font-size: 0.72rem;
}

.axis-label {
  margin: 2.5rem 0 0.5rem;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.axis h3 {
  font-size: 1.8rem;
}

.axis > p:not(.axis-label) {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.86rem;
}

.axis ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1rem 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.axis li {
  padding: 0.3rem 0.55rem;
  background: var(--ivory);
  font-size: 0.69rem;
}

.framework {
  color: #d8d5dc;
  background: var(--ink);
}

.inverse h2,
.framework h3 {
  color: var(--white);
}

.inverse .kicker {
  color: var(--pink);
}

.inverse > p {
  color: #9f9ba5;
}

.question-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.question-strip article {
  min-height: 320px;
  padding: 1.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.question-strip article:last-child {
  border-right: 0;
}

.question-strip span {
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 900;
}

.question-strip h3 {
  margin: 5rem 0 1rem;
  font-size: 1.45rem;
}

.question-strip p {
  color: #aaa6af;
  font-size: 0.81rem;
}

.academics {
  background: var(--ivory);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.person {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.2rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--ink);
}

.portrait {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.45;
  color: var(--pink);
  background: var(--ink);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  overflow: hidden;
}

.portrait::before,
.portrait::after {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 8px solid var(--blue);
  border-radius: 50%;
  content: "";
  transform: translateX(-42%);
}

.portrait::after {
  transform: translateX(42%);
}

.public .portrait {
  color: var(--ivory);
}

.portrait span {
  position: absolute;
  z-index: 2;
  right: 0.8rem;
  bottom: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.specialty {
  margin: 1.5rem 0 0.6rem;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.person h3 {
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
}

.person > p:not(.specialty) {
  min-height: 80px;
  color: var(--muted);
  font-size: 0.8rem;
}

.person a {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.notice {
  padding: 1rem 1.2rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  background: var(--white);
  border-left: 5px solid var(--pink);
  font-size: 0.75rem;
}

.archive {
  background: var(--white);
}

.search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(100%, 390px);
  padding-inline: 1rem;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.search input {
  width: 100%;
  padding-block: 0.9rem;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
}

.resources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.resources details {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.resources summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.resources summary b {
  color: var(--pink);
}

.resources summary i {
  margin-left: auto;
  font-size: 1.25rem;
  font-style: normal;
}

.resources details[open] i {
  transform: rotate(45deg);
}

.resources details p {
  padding: 0 1.3rem 1.3rem 3.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.empty-results {
  padding: 1.25rem;
  text-align: center;
  background: var(--ivory);
}

.about {
  background: var(--blue);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: center;
  gap: 6rem;
}

.symbol img {
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow);
}

.about .kicker {
  color: var(--ivory);
}

.about h2,
.about p {
  color: var(--white);
}

.about .lead {
  color: #dbe3ff;
}

footer {
  padding: 4rem 0 1.2rem;
  color: #b8b5be;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.75rem;
}

.footer-grid img {
  width: 225px;
  padding: 0.35rem;
  background: var(--white);
}

.footer-grid p,
.footer-grid a {
  font-size: 0.76rem;
}

.footer-grid h3 {
  color: var(--pink);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a {
  display: block;
  margin-block: 0.5rem;
}

.copyright {
  padding-top: 1.2rem;
  margin-top: 2.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.68rem;
}

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--pink);
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition: 180ms ease;
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  nav {
    gap: 0.75rem;
  }

  .header-action {
    display: none;
  }

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

  .question-strip {
    grid-template-columns: 1fr 1fr;
  }

  .question-strip article:nth-child(2) {
    border-right: 0;
  }

  .question-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 1.75rem), var(--max-width));
  }

  .site-header {
    height: 70px;
  }

  .brand {
    width: 185px;
  }

  .menu-button {
    display: block;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav {
    position: fixed;
    z-index: -1;
    top: 70px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    transform: translateY(-130%);
    transition: 220ms ease;
  }

  nav.open {
    transform: translateY(0);
  }

  nav a {
    padding: 0.4rem;
  }

  .hero,
  .section {
    padding: 4.5rem 0;
  }

  .hero-grid,
  .axis-grid,
  .people-grid,
  .resources,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .signal-board {
    min-width: 0;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .marquee span:nth-of-type(n + 3),
  .marquee i:nth-of-type(n + 3) {
    display: none;
  }

  .section-head,
  .archive-head {
    display: block;
  }

  .section-head > p {
    margin-top: 1.2rem;
  }

  .question-strip {
    grid-template-columns: 1fr;
  }

  .question-strip article,
  .question-strip article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .question-strip h3 {
    margin-top: 2.5rem;
  }

  .person > p:not(.specialty) {
    min-height: 0;
  }

  .search {
    margin-top: 1.5rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .symbol img {
    max-width: 220px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
