:root {
  --bg: #0a0a0a;
  --panel: rgba(18, 18, 18, .66);
  --panel-2: rgba(30, 30, 30, .8);
  --line: #ffffff1a;
  --line-2: #ffffff35;
  --fg: #fff;
  --fg-dim: #a0a0a0;
  --fg-faint: #969696;
  --accent: #dedede;
  --accent-2: #d4d4d4;
  --accent-soft: #ffffff14;
  --maxw: 1680px;
}

body::before {
  content: none;
}

body::after {
  opacity: 1;
  mix-blend-mode: normal;
  background:
    linear-gradient(90deg, #0a0a0ae8 0%, #0a0a0ac2 35%, #0a0a0a12 76%),
    linear-gradient(0deg, #0a0a0a80, transparent 62%);
}

.topography {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

::selection {
  background: #ffffff38;
  color: #fff;
}

.shell {
  --gutter: clamp(24px, 5.4vw, 92px);
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

.nav-band {
  background: #0a0a0acc;
}

.overlay {
  --fg-dim: #9aa0a6;
  --fg-faint: #636a71;
  --accent-2: #7fa8ff;
  --glow: rgba(76, 132, 240, .18);
  --glow-2: rgba(40, 78, 160, .16);
}

.nav-band .shell,
.overlay .shell {
  --gutter: 22px;
  max-width: 2160px;
}

.hero {
  padding-top: clamp(110px, 15vh, 175px);
  padding-bottom: clamp(65px, 11vh, 120px);
}

.hero-copy {
  max-width: 940px;
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 92px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-wrap: pretty;
  text-shadow: 0 2px 28px #0a0a0a;
}

.hero h1 em {
  color: inherit;
}

.hero .lede {
  max-width: 500px;
  margin-top: 30px;
}

.hero-cta {
  margin-top: 38px;
}

.hero-cta .btn,
.nav .pill-sub,
.viz-actions .btn {
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.btn:hover,
.copy-btn:hover,
form.sub input:focus {
  border-color: #ffffff85;
}

.ticker-band {
  margin-top: 0;
  background: #101010cc;
}

.sec-head h2,
.card h3,
.panel h3,
.row .theme,
.rep .rtitle {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sec-head h2 {
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.13;
}

.card h3,
.panel h3 {
  font-size: 18px;
}

.row .theme,
.rep .rtitle {
  font-size: clamp(16px, 1.75vw, 21px);
}

.card,
.panel {
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.index,
.viz-bleed {
  background: #1111118f;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.row,
.rep {
  padding-inline: clamp(12px, 1.9vw, 30px);
}

.row:hover,
.rep:hover {
  padding-left: clamp(12px, 1.9vw, 30px);
  background: #ffffff0b;
}

.row:last-child,
.rep:last-child {
  border-bottom: 0;
}

.manifesto,
footer {
  background: #101010bf;
}

.manifesto .q {
  letter-spacing: .018em;
}

.mail,
.copy-btn,
form.sub input,
form.sub button,
.rep .tag {
  border-radius: 2px;
}

@media (max-width: 760px) {
  body::after {
    background:
      linear-gradient(90deg, #0a0a0acd, #0a0a0a76 62%, #0a0a0a30),
      linear-gradient(0deg, #0a0a0a7a, transparent 65%);
  }

  .hero {
    padding-top: clamp(78px, 12vh, 120px);
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(29px, 7.75vw, 57px);
    letter-spacing: .035em;
    overflow-wrap: anywhere;
  }
}

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


.hero-quote {
  margin: 22px 0 0;
  max-width: 480px;
  padding-inline-start: 14px;
  border-inline-start: 1px solid var(--line-2);
  color: #c1c1c1;
  font-size: 15px;
  line-height: 1.55;
}


/* The menu shares the live canvas behind the page. */
.overlay {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.overlay::before { content: none; }

.topography { transition: filter .5s ease; }
body.menu-open .topography { filter: blur(1.25px); }

.wrap > :not(.nav-band, .overlay) {
  transition: opacity .38s ease, visibility .38s;
}

body.menu-open .wrap > :not(.nav-band, .overlay) {
  opacity: 0;
  visibility: hidden;
}

.overlay .mitem {
  font-family: var(--f-mono);
  font-size: clamp(27px, min(7.1vw, 9svh), 88px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.16;
  overflow: hidden;
  --menu-base-position: 0%;
  --menu-fill-position: 100%;
}

.overlay .m-home { --f-home: linear-gradient(155deg, #70e7ed, #24a4b5 55%, #117180); }
.overlay .m-about { --f-about: linear-gradient(150deg, #c5c9ff, #8a8bdf 55%, #625aa4); }
.overlay .m-research { --f-research: linear-gradient(145deg, #ffb48a, #ea7042 56%, #ad452e); }
.overlay .m-themes { --f-themes: linear-gradient(150deg, #b2edcc, #62c698 55%, #37886e); }
.overlay .m-contact { --f-contact: linear-gradient(155deg, #c8e1ff, #83b9f2 55%, #5583c1); }

.overlay .mitem .base {
  transform: translateY(var(--menu-base-position));
}

.overlay .mitem .fill {
  opacity: 1;
  transform: translateY(var(--menu-fill-position));
}

.overlay .mitem .base,
.overlay .mitem .fill {
  transition: transform .46s cubic-bezier(.22, .8, .25, 1);
}

.overlay .mitem:focus-visible {
  --menu-base-position: -100%;
  --menu-fill-position: 0%;
}

@media (hover: hover) {
  .overlay .mitem:hover {
    --menu-base-position: -100%;
    --menu-fill-position: 0%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .overlay,
  .topography,
  .wrap > :not(.nav-band, .overlay),
  .overlay .mitem .base,
  .overlay .mitem .fill { transition: none; }
}


#themes {
  padding-block: clamp(52px, 6vw, 88px);
}

#themes .index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 68px);
  margin-top: clamp(24px, 3vw, 40px);
  background: transparent;
  border: 0;
}

#themes .row,
#themes .row:hover {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 4px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}

#themes .row .num,
#themes .row .go { display: none; }

#themes .row .theme {
  font-size: 14px;
  letter-spacing: .045em;
}

#themes .row .desc {
  grid-column: 1;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  #themes .index { grid-template-columns: minmax(0, 1fr); }
}
