:root {
  --background: #0a0a0b;
  --text: #f4f4f3;
  --muted: #a5a5a8;
  --rule: rgba(244, 244, 243, 0.34);
  --accent: #2568ff;
  --page-gutter: clamp(1.5rem, 3.2vw, 3.25rem);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "Helvetica Neue", Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  padding: 2.25rem var(--page-gutter) 5rem;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 0 1.8rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-size: clamp(1.65rem, 2.15vw, 2.05rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.015em;
}

.site-nav {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.site-nav a {
  position: relative;
  padding: 0.25rem 0 0.9rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(25rem, 0.94fr);
  align-items: center;
  min-height: 0;
  padding: clamp(2.25rem, 4.2vh, 3.75rem) 0 clamp(3.75rem, 8vh, 5.2rem) 1.25rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 47rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.4rem, 7.55vw, 7rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.066em;
  text-wrap: balance;
}

.hero p {
  max-width: 39rem;
  margin: clamp(2.5rem, 5vh, 4rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.75vw, 1.65rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.022em;
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(52vw, 48rem);
  margin: 0 -1.2rem 0 -5.5rem;
  overflow: hidden;
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  inset: 33% 18% 9%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(37, 104, 255, 0.12);
  filter: blur(4.5rem);
  content: "";
}

.hero-visual img {
  display: block;
  width: 110.5%;
  max-width: none;
  height: auto;
}

.research-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(24rem, 0.82fr);
  align-items: center;
  min-height: 0;
  padding: clamp(2.4rem, 4.8vh, 4.1rem) 0 clamp(2.75rem, 5.5vh, 4.5rem) 1.25rem;
}

.research-copy {
  position: relative;
  z-index: 2;
  max-width: 56rem;
}

.research-title {
  margin: 0;
  font-size: clamp(3.55rem, 5.45vw, 5.45rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.058em;
}

.research-lead,
.research-note {
  max-width: 42rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.022em;
}

.research-lead {
  margin: clamp(2rem, 3.9vh, 3.15rem) 0 0;
  font-size: clamp(1.15rem, 1.55vw, 1.48rem);
  line-height: 1.48;
}

.research-note {
  margin: 0.8rem 0 0;
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  line-height: 1.5;
}

.research-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(44vw, 42rem);
  margin: 0 -1.1rem 0 -5.8rem;
  overflow: hidden;
  pointer-events: none;
}

.research-visual::after {
  position: absolute;
  inset: 34% 18% 8%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(37, 104, 255, 0.11);
  filter: blur(4.5rem);
  content: "";
}

.research-visual img {
  display: block;
  width: 109%;
  max-width: none;
  height: auto;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 4.625rem;
  padding: 1.9rem 0 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.85fr);
    padding-left: 0;
  }

  .hero-visual {
    margin-left: -4rem;
  }

  .research-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(21rem, 0.88fr);
    padding-left: 0;
  }

  .research-visual {
    margin-left: -4.5rem;
  }
}

@media (max-width: 53.75rem) {
  .site-shell {
    padding-top: 1.55rem;
    padding-bottom: 1.35rem;
  }

  .site-header {
    padding-bottom: 1.25rem;
  }

  .site-nav a {
    padding-bottom: 0.75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    padding: 2.25rem 0 1.5rem;
  }

  .hero-copy {
    max-width: 43rem;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 12.7vw, 6.2rem);
  }

  .hero p {
    max-width: 35rem;
    margin-top: 1.75rem;
    font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  }

  .desktop-break {
    display: none;
  }

  .hero-visual {
    align-self: center;
    justify-self: center;
    width: min(87vw, 36rem);
    margin: -0.5rem auto -1rem;
  }

  .research-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    padding: 2.25rem 0 1.5rem;
  }

  .research-copy {
    max-width: 48rem;
  }

  .research-title {
    font-size: clamp(3.05rem, 10.5vw, 5.2rem);
  }

  .research-lead {
    max-width: 38rem;
    margin-top: 1.75rem;
    font-size: clamp(1.02rem, 3vw, 1.3rem);
  }

  .research-note {
    max-width: 35rem;
  }

  .research-visual {
    align-self: center;
    justify-self: center;
    width: min(74vw, 31rem);
    margin: -1.25rem auto -1rem;
  }

  .site-footer {
    padding-top: 1.35rem;
  }
}

@media (max-width: 32rem) {
  .site-shell {
    grid-template-rows: auto 1fr auto;
  }

  .hero {
    padding-top: 1.8rem;
    padding-bottom: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 13.4vw, 4.2rem);
    letter-spacing: -0.062em;
  }

  .hero p {
    max-width: 28rem;
    line-height: 1.48;
  }

  .hero-visual {
    width: 100%;
    max-width: 22rem;
    margin-top: -0.4rem;
    margin-bottom: -0.75rem;
  }

  .site-header {
    align-items: flex-start;
    gap: 1rem;
  }

  .site-nav {
    font-size: 0.92rem;
  }

  .research-hero {
    padding-top: 1.65rem;
    padding-bottom: 1rem;
  }

  .research-title {
    font-size: clamp(2.72rem, 11.9vw, 3.55rem);
    letter-spacing: -0.056em;
  }

  .research-lead {
    margin-top: 1.35rem;
    line-height: 1.42;
  }

  .research-note {
    margin-top: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  .research-visual {
    width: min(71vw, 18.5rem);
    margin-top: -0.35rem;
    margin-bottom: -0.6rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-visual img {
    animation: settle 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .research-visual img {
    animation: settle 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .hero-copy,
  .research-copy {
    animation: reveal 750ms 80ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translate3d(1.4rem, 0.75rem, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
