:root {
  color-scheme: dark;
  --black: #050608;
  --panel: rgba(7, 10, 15, 0.76);
  --text: #eef3fb;
  --muted: #9fb0c8;
  --line: rgba(170, 197, 235, 0.2);
  --blue: #7fb2ff;
  --cyan: #55d6de;
  --amber: #f2b65e;
  --field-opacity: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #000 url("ppt-background.png") center center / cover fixed no-repeat;
  color: var(--text);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(142, 184, 255, 0.1) 0, rgba(142, 184, 255, 0.1) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(142, 184, 255, 0.1) 0, rgba(142, 184, 255, 0.1) 1px, transparent 1px, transparent 40px);
  opacity: 0.42;
  transform: perspective(1200px) rotateX(72deg) scale(1.85) translateY(10%);
  transform-origin: center 38%;
  content: "";
}

a {
  color: inherit;
}

.lensing-field {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: var(--field-opacity);
}

.scroll-progress {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 2px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 8, 0.38);
  backdrop-filter: blur(14px);
}

.brand,
.mode-nav a {
  text-decoration: none;
}

.brand {
  font-size: 15px;
  font-weight: 750;
}

.mode-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.mode-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.mode-nav a:hover,
.mode-nav a:focus-visible,
.mode-nav .is-active {
  color: var(--text);
}

.mode-nav .is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
}

.research-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  align-items: center;
  width: min(1240px, calc(100% - 88px));
  min-height: 94svh;
  margin: 0 auto;
  padding: 120px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: 60px;
  font-weight: 610;
  line-height: 0.98;
}

.hero-summary {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-summary p {
  margin: 0;
}

.hero-summary p + p {
  margin-top: 12px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}

.hero-links a,
.footer-links a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.hero-links a:hover,
.hero-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.field-key {
  align-self: end;
  justify-self: end;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  color: rgba(238, 243, 251, 0.62);
  font: 11px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.field-key span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field-key i {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cyan);
}

.field-key .caustic-key {
  background: var(--amber);
}

.field-key .image-key {
  width: 7px;
  height: 7px;
  margin-left: 7px;
  margin-right: 8px;
  border: 1px solid #7eb5ff;
  border-radius: 50%;
  background: #d5e7ff;
  box-shadow: 0 0 8px rgba(91, 167, 255, 0.7);
}

.field-key .source-key {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
}

.research-band,
.methods,
.research-footer {
  position: relative;
  z-index: 2;
}

.research-band {
  padding: 118px max(44px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 11, 0.78);
  backdrop-filter: blur(8px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1.1fr);
  gap: 28px 70px;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading h2,
.research-footer h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 610;
  line-height: 1.1;
}

.section-heading > p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading--compact {
  display: block;
  margin-bottom: 48px;
}

.section-heading--compact .eyebrow {
  margin-bottom: 15px;
}

.research-list {
  border-top: 1px solid var(--line);
}

.research-row {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 52px;
  gap: 20px;
  align-items: center;
  min-height: 176px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.research-row::before {
  position: absolute;
  inset: 0;
  background: rgba(127, 178, 255, 0.06);
  opacity: 0;
  content: "";
  transition: opacity 180ms ease;
}

.research-row:hover::before,
.research-row:focus-visible::before {
  opacity: 1;
}

.research-row:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.row-index {
  align-self: start;
  color: var(--blue);
  font: 13px/1.2 ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.row-content {
  position: relative;
  display: grid;
  min-width: 0;
}

.row-meta {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 720;
}

.row-content strong,
.method-link strong {
  max-width: 900px;
  font-size: 25px;
  font-weight: 610;
  line-height: 1.25;
}

.row-content > span:last-child,
.method-link > span:nth-child(3) {
  max-width: 790px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.row-arrow {
  position: relative;
  justify-self: end;
  font-size: 20px;
  transition: color 180ms ease, transform 180ms ease;
}

.research-row:hover .row-arrow,
.research-row:focus-visible .row-arrow {
  color: var(--cyan);
  transform: translateX(6px);
}

.methods {
  padding: 126px max(44px, calc((100vw - 1240px) / 2)) 140px;
  background: rgba(5, 7, 11, 0.58);
}

.method-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-link {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 300px;
  padding: 32px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.method-link:last-child {
  border-right: 0;
}

.method-link:hover,
.method-link:focus-visible {
  background: rgba(127, 178, 255, 0.08);
}

.method-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.method-link b {
  align-self: end;
  justify-self: end;
  font-size: 19px;
  font-weight: 400;
}

.research-footer {
  min-height: 68svh;
  padding: 150px max(44px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(2, 4, 7, 0.82);
}

.research-footer h2 {
  max-width: 820px;
  font-size: 56px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 50px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .site-header {
    height: 62px;
    padding: 0 20px;
  }

  .mode-nav {
    gap: 18px;
  }

  .research-hero {
    display: block;
    width: calc(100% - 40px);
    min-height: 92svh;
    padding: 124px 0 74px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .field-key {
    position: static;
    margin: 48px 0 0;
  }

  .research-band,
  .methods,
  .research-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-heading {
    display: block;
    margin-bottom: 46px;
  }

  .section-heading h2 {
    margin-bottom: 20px;
    font-size: 36px;
  }

  .research-row {
    grid-template-columns: 42px minmax(0, 1fr) 26px;
    gap: 10px;
    min-height: 190px;
  }

  .row-content strong {
    font-size: 21px;
  }

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

  .method-link {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-link:last-child {
    border-bottom: 0;
  }

  .research-footer h2 {
    font-size: 40px;
  }

}

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

  .reveal,
  .row-arrow {
    transition: none;
  }
}
