:root {
  color-scheme: dark;
  --black: #050607;
  --matte: #090a0b;
  --graphite: #111315;
  --graphite-2: #171a1d;
  --navy: #07101a;
  --ink: #f0ece3;
  --muted: #b8b2a8;
  --faint: #808a94;
  --line: rgba(240, 236, 227, 0.14);
  --line-strong: rgba(240, 236, 227, 0.22);
  --blue: #86add0;
  --gold: #c9a45d;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

p,
span,
strong,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: relative;
  z-index: 2;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand-initial {
  width: 1.48em;
  height: 1.58em;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(240, 236, 227, 0.52);
  background: rgba(5, 6, 7, 0.36);
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1;
}

.brand-word {
  letter-spacing: 0.26em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.research-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.research-hero::before,
.research-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.research-hero::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.92) 0%, rgba(5, 6, 7, 0.58) 52%, rgba(5, 6, 7, 0.86) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.7) 0%, rgba(5, 6, 7, 0.18) 45%, rgba(5, 6, 7, 0.96) 100%);
}

.research-hero::after {
  background-image:
    linear-gradient(rgba(134, 173, 208, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 173, 208, 0.06) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, transparent 88%);
  opacity: 0.3;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.58;
  filter: saturate(0.72) contrast(1.12) brightness(0.62);
  transform: scale(1.08) translateX(4%);
}

.hero-content {
  flex: 1;
  padding: 86px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
}

.eyebrow,
.label {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  font-weight: 850;
}

h1 {
  margin: 18px 0 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 7.6vw, 7rem);
  line-height: 0.9;
  font-weight: 500;
}

.subtitle {
  margin: 28px 0 0;
  max-width: 760px;
  color: rgba(240, 236, 227, 0.84);
  font-size: 1.18rem;
  line-height: 1.72;
}

.actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.button-primary {
  background: var(--ink);
  color: var(--black);
  border-color: var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: rgba(5, 6, 7, 0.28);
  backdrop-filter: blur(10px);
}

.thesis-card {
  border: 1px solid var(--line);
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  padding: 24px;
}

.thesis-card h2 {
  margin: 0;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.thesis-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.thesis-card li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.section {
  border-top: 1px solid var(--line);
  background: var(--matte);
}

.section.alt {
  background: #07090b;
}

.section-inner {
  padding: 82px 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.section-header h2,
.article h2,
.architecture h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  line-height: 1.05;
  font-weight: 500;
}

.section-header p,
.article p,
.architecture p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.04rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.summary-card {
  min-height: 188px;
  padding: 24px;
  background: var(--graphite);
}

.summary-card strong,
.figure-title,
.insight-block strong {
  display: block;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 850;
}

.summary-card p {
  margin: 18px 0 0;
  color: var(--ink);
  line-height: 1.58;
}

.article {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.article-label {
  position: sticky;
  top: 24px;
  align-self: start;
}

.article-label span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 850;
}

.article-label h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1.06;
  font-weight: 500;
}

.article-body {
  max-width: 800px;
}

.article-body p + p,
.article-body p + .figure,
.article-body p + .insight-block,
.article-body p + .quote {
  margin-top: 22px;
}

.lead {
  color: var(--ink) !important;
  font-size: 1.22rem !important;
  line-height: 1.58 !important;
}

.quote {
  margin: 34px 0;
  padding: 28px 0 28px 28px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.66rem;
  line-height: 1.2;
}

.quote-band {
  padding: 104px 0;
  background: #050607;
}

.quote-band blockquote {
  margin: 0;
  max-width: 940px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.45rem;
  line-height: 1.08;
  font-weight: 500;
}

.quote-band cite {
  display: block;
  margin-top: 26px;
  color: var(--blue);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 850;
}

.insight-block,
.figure {
  margin: 32px 0;
  border: 1px solid var(--line);
  background: rgba(23, 26, 29, 0.78);
  padding: 22px;
}

.insight-block p,
.figure p {
  margin: 12px 0 0;
  color: var(--ink);
}

.diagram {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.node {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  border: 1px solid rgba(134, 173, 208, 0.28);
  background: rgba(134, 173, 208, 0.07);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.maturity {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--graphite);
}

.maturity th,
.maturity td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.maturity th {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.maturity td {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.maturity td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--navy);
  padding: 32px;
}

.download-panel h2 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.55rem;
  line-height: 1.08;
  font-weight: 500;
}

.download-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--black);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

@media (max-width: 900px) {
  .shell,
  .footer-inner {
    width: min(100% - 32px, 1120px);
  }

  .research-hero {
    min-height: auto;
  }

  .hero-video {
    opacity: 0.42;
    transform: scale(1.12) translateX(4%);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 12px;
    padding-bottom: 4px;
  }

  .hero-content,
  .section-header,
  .article,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 58px 0 70px;
    gap: 40px;
  }

  h1 {
    font-size: 3.05rem;
    line-height: 0.98;
  }

  .subtitle,
  .section-header p,
  .article p,
  .download-panel p {
    max-width: 32ch;
  }

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

  .button {
    width: 100%;
    max-width: 320px;
  }

  .section-inner {
    padding: 66px 0;
  }

  .summary-grid,
  .diagram {
    grid-template-columns: 1fr;
  }

  .article-label {
    position: static;
  }

  .section-header h2,
  .quote-band blockquote,
  .download-panel h2 {
    font-size: 2.35rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media print {
  @page {
    size: A4;
    margin: 16mm;
  }

  body {
    background: #090a0c !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .nav,
  .hero-video,
  .actions,
  footer {
    display: none !important;
  }

  .research-hero {
    min-height: 640px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
    font-size: 4.6rem;
  }

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

  .article {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .quote,
  .quote-band,
  .figure,
  .insight-block,
  .maturity,
  .summary-grid,
  .download-panel {
    break-inside: avoid;
  }
}
