:root {
  --paper: #f4f1e8;
  --mist: #dae2e7;
  --cloud: rgba(255, 255, 255, 0.76);
  --ink: #101926;
  --muted: #5b6776;
  --line: rgba(16, 25, 38, 0.12);
  --line-strong: rgba(16, 25, 38, 0.18);
  --panel: rgba(255, 255, 255, 0.82);
  --accent: #c36f34;
  --accent-soft: rgba(195, 111, 52, 0.14);
  --accent-blue: #47657c;
  --shadow: 0 24px 60px rgba(16, 25, 38, 0.08);
  --radius-xl: 2rem;
  --radius-lg: 1.45rem;
  --container: min(1180px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 28%),
    radial-gradient(circle at 90% 24%, rgba(195, 111, 52, 0.12), transparent 22%),
    radial-gradient(circle at 24% 82%, rgba(71, 101, 124, 0.16), transparent 25%),
    linear-gradient(180deg, #f8f5ee 0%, #edf1ee 48%, #e2eaeb 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.scroll-track {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 4px;
  background: rgba(16, 25, 38, 0.08);
}

.scroll-progress {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
}

.page-shell {
  position: relative;
  overflow: clip;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.55;
  pointer-events: none;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(195, 111, 52, 0.18), rgba(71, 101, 124, 0.22));
}

.orb-left {
  top: 5rem;
  left: -8rem;
  width: 18rem;
  height: 18rem;
}

.orb-right {
  top: 28rem;
  right: -5rem;
  width: 22rem;
  height: 22rem;
}

.orb-bottom {
  left: 18%;
  bottom: 8rem;
  width: 20rem;
  height: 20rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(16, 25, 38, 0.1);
  background: rgba(247, 244, 237, 0.72);
  backdrop-filter: blur(16px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.site-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.site-nav a {
  border: 1px solid rgba(16, 25, 38, 0.12);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, transform 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(16, 25, 38, 0.26);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: 5.25rem 0 3rem;
}

.hero-copy h1,
.section-card h2,
.panel h2,
.comparison-card h2,
.takeaway-card h2,
.sources-heading h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: 0.95;
}

.hero-copy h1 span {
  display: block;
  color: rgba(16, 25, 38, 0.62);
}

.hero-text {
  max-width: 40rem;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 25, 38, 0.12);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(16, 25, 38, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.term-cloud {
  position: relative;
  min-height: 23rem;
  border: 1px solid rgba(16, 25, 38, 0.12);
  border-radius: calc(var(--radius-xl) + 0.4rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 245, 238, 0.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.term {
  position: absolute;
  border: 1px solid rgba(16, 25, 38, 0.1);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(16, 25, 38, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: bob 7s ease-in-out infinite;
}

.term-1 { top: 11%; left: 10%; animation-delay: 0s; }
.term-2 { top: 22%; left: 52%; animation-delay: 0.4s; }
.term-3 { top: 31%; left: 18%; animation-delay: 0.8s; }
.term-4 { top: 13%; left: 63%; animation-delay: 1.1s; }
.term-5 { top: 45%; left: 42%; animation-delay: 1.4s; }
.term-6 { top: 57%; left: 11%; animation-delay: 1.8s; }
.term-7 { top: 54%; left: 61%; animation-delay: 2.2s; }
.term-8 { top: 69%; left: 26%; animation-delay: 2.5s; }
.term-9 { top: 74%; left: 58%; animation-delay: 2.9s; }
.term-10 { top: 36%; left: 67%; animation-delay: 3.2s; }
.term-11 { top: 40%; left: 9%; animation-delay: 3.6s; }
.term-12 { top: 23%; left: 31%; animation-delay: 4s; }

.cloud-note {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.3rem;
  padding: 1.25rem 1.35rem;
  background: rgba(16, 25, 38, 0.94);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.8;
}

.section-stack {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 1.5rem;
}

.section-block {
  display: grid;
  grid-template-columns: 6.3rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.section-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-top: 0.4rem;
  border: 1px solid rgba(16, 25, 38, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(16, 25, 38, 0.06);
  color: rgba(16, 25, 38, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-card,
.panel,
.comparison-card,
.source-card,
.citations-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-card {
  padding: 2rem 2.2rem;
}

.section-card h2,
.panel h2,
.comparison-card h2,
.takeaway-card h2,
.sources-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.04;
}

.section-card p:last-child,
.panel p,
.comparison-intro,
.takeaway-card p,
.sources-heading p,
.source-card p,
.citations-card p {
  color: var(--muted);
  line-height: 1.9;
}

.section-card p:last-child {
  margin-top: 1.2rem;
  font-size: 1.02rem;
}

.visual-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr 0.9fr;
  gap: 1.3rem;
  padding: 4.2rem 0;
}

.panel {
  padding: 1.8rem;
}

.panel > p:not(.eyebrow):not(.panel-note):not(.graph-label):not(.graph-caption) {
  margin-top: 1.1rem;
}

.panel-note {
  margin-top: 1rem;
  color: rgba(16, 25, 38, 0.56);
  font-size: 0.95rem;
}

.panel-graph {
  display: flex;
  flex-direction: column;
}

.graph-heading h3 {
  margin-top: 0.35rem;
  font-size: 1.3rem;
}

.graph-label {
  color: rgba(16, 25, 38, 0.52);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.graph-frame {
  display: grid;
  place-items: center;
  min-height: 28rem;
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  background: rgba(250, 249, 245, 0.88);
}

.graph-frame-alt {
  background: rgba(238, 241, 236, 0.9);
}

.graph-caption {
  margin-top: 1rem;
  color: rgba(16, 25, 38, 0.56);
  font-size: 0.95rem;
  line-height: 1.7;
}

.network {
  width: min(18rem, 74%);
  height: auto;
}

.graph-line {
  stroke: rgba(71, 101, 124, 0.65);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition:
    stroke-dashoffset 800ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 800ms ease;
  opacity: 0.35;
}

.graph-node {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(16, 25, 38, 0.2);
  stroke-width: 1.4;
  opacity: 0;
  transform-origin: center;
  transform: scale(0.7);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.panel-graph.is-visible .graph-line {
  opacity: 1;
  stroke-dashoffset: 0;
}

.panel-graph.is-visible .graph-node {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 60ms; }
.delay-2 { transition-delay: 120ms; }
.delay-3 { transition-delay: 180ms; }
.delay-4 { transition-delay: 240ms; }
.delay-5 { transition-delay: 300ms; }
.delay-6 { transition-delay: 360ms; }
.delay-7 { transition-delay: 420ms; }
.delay-8 { transition-delay: 480ms; }
.delay-9 { transition-delay: 540ms; }
.delay-10 { transition-delay: 620ms; }
.delay-11 { transition-delay: 700ms; }
.delay-12 { transition-delay: 780ms; }
.delay-13 { transition-delay: 860ms; }
.delay-14 { transition-delay: 940ms; }
.delay-15 { transition-delay: 1020ms; }
.delay-16 { transition-delay: 1100ms; }
.delay-17 { transition-delay: 1180ms; }
.delay-18 { transition-delay: 1260ms; }
.delay-19 { transition-delay: 1340ms; }
.delay-20 { transition-delay: 1420ms; }
.delay-21 { transition-delay: 1500ms; }

.comparison-section {
  padding: 0.8rem 0 4rem;
}

.comparison-card {
  padding: 2rem 2.2rem;
}

.comparison-intro {
  margin-top: 1rem;
  max-width: 44rem;
}

.comparison-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.comparison-row {
  border: 1px solid var(--line);
  border-radius: 1.55rem;
  padding: 1.1rem;
  background: rgba(250, 249, 245, 0.76);
}

.comparison-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.comparison-topline h3 {
  font-size: 1rem;
}

.comparison-topline p,
.comparison-side span {
  color: rgba(16, 25, 38, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.comparison-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.comparison-side {
  min-width: 0;
}

.meter {
  height: 0.9rem;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: rgba(16, 25, 38, 0.1);
  overflow: hidden;
}

.fill {
  display: block;
  height: 100%;
  width: var(--fill-width);
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.fill-human {
  background: linear-gradient(90deg, rgba(16, 25, 38, 0.92), rgba(71, 101, 124, 0.84));
}

.fill-ai {
  margin-left: auto;
  transform-origin: right center;
  background: linear-gradient(90deg, rgba(195, 111, 52, 0.72), rgba(71, 101, 124, 0.86));
}

.comparison-row.is-visible .fill {
  transform: scaleX(1);
}

.comparison-row:nth-child(1) .fill { transition-delay: 120ms; }
.comparison-row:nth-child(2) .fill { transition-delay: 180ms; }
.comparison-row:nth-child(3) .fill { transition-delay: 240ms; }
.comparison-row:nth-child(4) .fill { transition-delay: 300ms; }
.comparison-row:nth-child(5) .fill { transition-delay: 360ms; }

.comparison-side small {
  display: block;
  margin-top: 0.55rem;
  color: rgba(16, 25, 38, 0.58);
}

.takeaway-section {
  padding: 0.5rem 0 4rem;
}

.takeaway-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius-xl) + 0.3rem);
  padding: 2.25rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(195, 111, 52, 0.24), transparent 24%),
    linear-gradient(150deg, #0f1725 0%, #182131 55%, #283242 100%);
  box-shadow: 0 28px 70px rgba(16, 25, 38, 0.2);
  color: rgba(255, 255, 255, 0.94);
}

.takeaway-card h2 {
  max-width: 17ch;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.03;
}

.takeaway-card p {
  max-width: 48rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
}

.sources-section {
  padding: 0.8rem 0 5rem;
}

.sources-heading {
  max-width: 48rem;
}

.sources-heading p {
  margin-top: 1rem;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.source-card {
  padding: 1.4rem;
}

.source-card h3 {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.source-card p {
  margin-top: 0.9rem;
  font-size: 0.97rem;
}

.citations-card {
  margin-top: 1rem;
  padding: 1.6rem;
}

.citations-card p + p {
  margin-top: 0.9rem;
}

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

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

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4rem;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .visual-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .section-block {
    grid-template-columns: 1fr;
  }

  .section-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-top: 0;
  }

  .comparison-bars {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 3rem;
    gap: 1.5rem;
  }

  .term-cloud {
    min-height: 26rem;
  }

  .section-card,
  .panel,
  .comparison-card,
  .takeaway-card,
  .source-card,
  .citations-card {
    padding: 1.35rem;
  }

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

  .graph-frame {
    min-height: 22rem;
  }

  .network {
    width: min(16rem, 82%);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .graph-node,
  .fill {
    opacity: 1;
    transform: none;
  }

  .graph-line {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
