:root {
  color-scheme: light;
  --night: #15162d;
  --ease-enter: cubic-bezier(.215, .61, .355, 1);
  --ease-travel: cubic-bezier(.4, 0, .6, 1);
  --motion-feedback: 150ms;
  --motion-reveal: 420ms;
  --scenario-cycle: 5s;
  --ink: #242440;
  --muted: #565773;
  --night-muted: #c5c6df;
  --lavender: #c6c2ff;
  --paper: #f9f8ff;
  --line: #dcdaf0;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol, dl, dd, blockquote, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid #8d78ff; outline-offset: 4px; }
::selection { background: var(--lavender); color: var(--night); }
[id] { scroll-margin-top: 1.5rem; }

.shell {
  width: min(100% - clamp(2rem, 8vw, 8rem), 70rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 2;
  inset: .75rem auto auto 1rem;
  padding: .5rem 1rem;
  background: white;
  clip-path: inset(50%);
}

.skip:focus { clip-path: none; }

.intro {
  background: radial-gradient(ellipse at 50% 100%, #292754 1%, transparent 66%), var(--night);
  color: var(--paper);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  min-height: 4.6rem;
  border-bottom: 1px solid #424262;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .45rem;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  white-space: nowrap;
}

.wordmark img { width: 1.65rem; height: 1.65rem; margin-inline-end: .18rem; }

nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.8rem, 3vw, 2rem); }

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--night-muted);
  text-decoration: underline transparent;
  text-decoration-thickness: 1px;
}

nav a:hover, nav a:focus-visible { color: white; text-decoration-color: var(--lavender); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(1.75rem, 4vw, 3.75rem);
  padding-block: clamp(2.75rem, 6vw, 5.25rem) clamp(2.75rem, 5.5vw, 5rem);
}

.hero-copy { text-align: center; }

.hero h1 {
  font-size: clamp(2.45rem, 6.25vw, 5.45rem);
  font-weight: 730;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero h1 span { display: block; color: var(--lavender); }

.hero p {
  max-width: 55ch;
  margin: clamp(1rem, 2vw, 1.65rem) auto 0;
  color: var(--night-muted);
  font-size: clamp(1rem, 1.5vw, 1.19rem);
  text-wrap: pretty;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: .65rem 1.2rem;
  border-radius: 2rem;
  background: var(--lavender);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
}

.download-button:hover { background: #e4e1ff; }
.download-button:focus-visible { outline-color: var(--paper); }

.hero .download-meta {
  margin: .4rem auto 0;
  color: var(--night-muted);
  font-size: .875rem;
}

.hero > .project-flow { width: min(100%, 57rem); }

@media (prefers-reduced-motion: no-preference) {
  nav a {
    transition: color var(--motion-feedback) ease, text-decoration-color var(--motion-feedback) ease;
  }

  .hero-copy {
    animation: hero-enter var(--motion-reveal) var(--ease-enter) both;
  }

  @keyframes hero-enter {
    from { opacity: .78; transform: translateY(8px); }
  }
}

.work-section, .recording-section, .people-section { padding-block: clamp(3.2rem, 7vw, 6.1rem); }
:is(.work-section, .people-section, .recording-section) h2 {
  max-width: 19ch;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 745;
  line-height: 1.06;
  letter-spacing: -.047em;
  text-wrap: balance;
}
.story-list { margin-top: clamp(1.5rem, 3.5vw, 2.9rem); border-top: 1px solid var(--line); }
.story {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  align-items: center;
  gap: clamp(1.15rem, 4.65vw, 4.1rem);
  padding-block: clamp(1.25rem, 3.4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
:is(.work-section, .people-section, .recording-section) h3 {
  font-size: clamp(1.42rem, 2.75vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.028em;
  font-weight: 710;
  text-wrap: balance;
}
.story p, .paired-story p { margin-top: .65rem; color: var(--muted); text-wrap: pretty; }
.story-copy p { max-width: 38ch; }

.visual {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
  min-height: 15rem;
  padding: clamp(.7rem, 2.6vw, 1.6rem);
  color: #f3f2ff;
  background: radial-gradient(#eee9ff35 .65px, transparent .65px) top left / 14px 14px, #20213d;
  border: 1px solid #56577a;
  border-radius: .95rem;
}
.diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(1rem, 4vw, 3.5rem) minmax(0, 1.08fr);
  align-items: center;
}
.diagram.sources { grid-template-columns: minmax(0, 1.08fr) clamp(1rem, 4vw, 3.5rem) minmax(0, 1fr); }
.source-stack, .target-stack { display: grid; min-width: 0; gap: .48rem; }
.evidence, .outcome, .action-strip {
  --signal: #c6c2ff;
  border: 1px solid #555779;
  border-radius: .62rem;
  min-width: 0;
  background: #2b2d4b;
  color: #f0efff;
}
.evidence, .outcome { position: relative; display: grid; gap: .12rem; padding: .56rem .65rem; line-height: 1.27; }
.evidence { padding-inline-start: .84rem; }
.evidence::before {
  position: absolute;
  width: 2px;
  inset: .55rem auto .55rem .38rem;
  border-radius: 10px;
  background: var(--signal);
  content: "";
}
.evidence small, .outcome small, .action-strip small {
  color: var(--signal);
  font-size: .69rem;
  font-weight: 690;
}
.evidence strong, .outcome strong, .action-strip strong {
  font-size: clamp(.77rem, 1.4vw, .96rem);
  font-weight: 670;
  overflow-wrap: anywhere;
}
.evidence > span, .outcome > span { color: #dbdbef; font-size: .74rem; }
.evidence.blue { --signal: #b4dbff; }
.evidence.mint { --signal: #93e7d4; }
.evidence.peach { --signal: #ffd4b3; }
.outcome { border-color: #817bbd; padding: .78rem .82rem; background: #373567; }
.outcome strong { font-size: clamp(.85rem, 1.57vw, 1.12rem); }
.action-strip {
  --signal: #9ae8d5;
  display: flex;
  align-items: center;
  gap: .47rem;
  padding: .42rem .6rem;
  background: #2a4750;
  border-color: #5b8b89;
  line-height: 1.23;
}
.action-strip > span { color: var(--signal); font-size: 1.05rem; font-weight: 800; }
.action-strip div { display: grid; }
.route {
  position: relative;
  height: 1.25rem;
  overflow: hidden;
}
.route > span {
  position: absolute;
  inset: 50% 0 auto;
  height: 2px;
  background: repeating-linear-gradient(90deg, #a39bd7 0 3px, transparent 3px 6px);
}
.route i {
  position: absolute;
  top: calc(50% - 2px);
  left: 0;
  width: 100%;
  height: 5px;
  opacity: 0;
  color: #c6c2ff;
}
.route i::after {
  position: absolute;
  left: 0;
  width: 13px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 8px #b3a3ffbf;
}
.route i:nth-of-type(2) { color: #94ded0; }
.route i:nth-of-type(3) { color: #add6ff; }

.task-fields {
  margin-top: .37rem;
  padding-top: .28rem;
  border-top: 1px solid #736fab;
  font-size: .73rem;
}
.task-fields > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .22rem; padding-block: .17rem; }
.task-fields dt { color: #d8d6f7; }
.task-fields dd { color: white; font-weight: 650; }
.result-list { padding: .15rem 0 0 1.1rem; color: #f0eeff; font-size: .77rem; }
.result-list li { margin-block-start: .28rem; padding-inline-start: .15rem; }
.result-list li::marker { color: var(--lavender); }

.context-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; }
.context-track .evidence {
  min-height: 6rem;
  padding: .65rem .55rem .65rem .82rem;
  align-content: center;
}
.context-track .evidence:last-child { background: #2a4750; border-color: #638e8d; }
.context-track .evidence + .evidence::after {
  content: "";
  position: absolute;
  width: .7rem;
  top: 50%;
  right: 100%;
  border-top: 1px dashed #a7a1df;
}


.people-section { border-block: 1px solid #e3dff5; background: #efedf9; }
.people-section h2, .recording-section h2 { max-width: 22ch; }
.pair {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1.45rem, 4vw, 2.75rem);
  margin-top: clamp(1.45rem, 3.4vw, 2.8rem);
}
.paired-copy { padding-top: 1rem; }
.paired-story h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.paired-story p { max-width: 52ch; }

.timeline {
  position: relative;
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .65rem;
}
.timeline::before {
  position: absolute;
  top: 1.29rem;
  left: .37rem;
  right: .4rem;
  border-top: 1px solid #8b84c6;
  content: "";
}
.timeline > div { position: relative; display: grid; align-content: start; gap: .28rem; line-height: 1.26; }
.timeline time { color: #d6d3ff; font-size: .72rem; white-space: nowrap; }
.timeline strong { margin-top: .83rem; font-size: .93rem; font-weight: 670; }
.timeline strong::before {
  position: absolute;
  top: 1.12rem;
  left: .13rem;
  width: .4rem;
  height: .4rem;
  border-radius: 100%;
  background: #c6c2ff;
  box-shadow: 0 0 0 3px #37375f;
  content: "";
}
.timeline > div:last-child strong::before { background: #9febd1; }
.timeline span { font-size: .75rem; color: #dddaf3; }

.promises { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .62rem; }
.promises-top {
  grid-column: 1 / -1;
  width: fit-content;
  justify-self: center;
  padding: .3rem .55rem;
  border: 1px solid #817bbd;
  border-radius: .4rem;
  background: #393861;
  color: #eeebff;
  font-size: .8rem;
  font-weight: 630;
}
.promises .evidence { margin-top: .55rem; }
.promises .evidence::after {
  position: absolute;
  bottom: 100%;
  left: 50%;
  height: .58rem;
  border-left: 1px dashed #a59be4;
  content: "";
}

.photo {
  overflow: hidden;
  aspect-ratio: 16/10;
  border-radius: .95rem;
  background: #20213d;
  border: 1px solid #494a68;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

.is-playing .route i { animation: scenario-travel var(--scenario-cycle) var(--ease-travel) infinite; }
.is-playing .route i:nth-of-type(1) { animation-delay: .3s; }
.is-playing .route i:nth-of-type(2) { animation-delay: .54s; }
.is-playing .route i:nth-of-type(3) { animation-delay: .78s; }
.is-playing .source-stack .evidence { animation: scenario-pulse var(--scenario-cycle) var(--ease-enter) infinite; }
.is-playing .source-stack .evidence:nth-child(2) { animation-delay: .24s; }
.is-playing .source-stack .evidence:nth-child(3) { animation-delay: .48s; }
.is-playing .outcome { animation: scenario-arrive var(--scenario-cycle) 1.04s var(--ease-enter) infinite; }
.is-playing .action-strip { animation: scenario-arrive var(--scenario-cycle) 1.74s var(--ease-enter) infinite; }

.is-playing .sources .outcome { animation-delay: 0s; }
.is-playing .sources .evidence:nth-child(1) { animation-delay: .78s; }
.is-playing .sources .evidence:nth-child(2) { animation-delay: 1.05s; }
.is-playing .sources .evidence:nth-child(3) { animation-delay: 1.31s; }

.is-playing .task-fields > div, .is-playing .result-list li { animation: scenario-fill-row var(--scenario-cycle) 1.32s var(--ease-enter) infinite; }
.is-playing .task-fields > div:nth-child(2), .is-playing .result-list li:nth-child(2) { animation-delay: 1.62s; }

.is-playing .context-track > div, .is-playing .timeline > div, .is-playing .promises > div {
  animation: scenario-in-sequence var(--scenario-cycle) var(--ease-enter) infinite;
}
.is-playing .context-track > div:nth-child(2), .is-playing .timeline > div:nth-child(2), .is-playing .promises > div:nth-child(2) {
  animation-delay: .47s;
}
.is-playing .context-track > div:nth-child(3), .is-playing .timeline > div:nth-child(3), .is-playing .promises > div:nth-child(3) {
  animation-delay: .94s;
}

@keyframes scenario-travel {
  0% { transform: translateX(-13px); opacity: 0; }
  4%, 15% { opacity: 1; }
  19%, 100% { transform: translateX(100%); opacity: 0; }
}
@keyframes scenario-pulse {
  0%, 13%, 100% { border-color: #555779; background: #2b2d4b; }
  6% { border-color: var(--signal); background: #383b64; }
}
@keyframes scenario-arrive {
  0% { opacity: .68; transform: translateX(-5px); }
  15%, 100% { opacity: 1; transform: translateX(0); }
}
@keyframes scenario-fill-row {
  0% { opacity: .48; transform: translateX(-5px); }
  17%, 100% { opacity: 1; transform: translateX(0); }
}
@keyframes scenario-in-sequence {
  0% { opacity: .56; transform: translateY(6px); }
  17%, 100% { opacity: 1; transform: translateY(0); }
}

.data-inner {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 2rem clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.data-heading h2, .download-inner h2 {
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.data-heading h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }

.data-heading p, .data-details dd {
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  text-wrap: pretty;
}

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

.data-section { background: #eeebfa; }

.data-details { border-block-start: 1px solid #d8d2eb; }
.data-details > div {
  display: grid;
  gap: .3rem;
  padding-block: 1rem;
  border-block-end: 1px solid #d8d2eb;
}

.data-details dt { font-size: 1.15rem; font-weight: 700; }

.download-section { background: var(--night); color: var(--paper); }

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.download-inner p { max-width: 44ch; margin-top: .75rem; color: var(--night-muted); }
.download-actions .download-button { margin-top: 0; }
.download-actions .download-platform { margin-top: .5rem; font-size: .85rem; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .1rem 1.5rem;
  min-height: 4.6rem;
  padding-block: .45rem;
  border-top: 1px solid var(--line);
}

.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--ink); text-decoration-color: currentColor; }

@media (max-width: 56rem) {
  .data-inner, .download-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 46rem) {
  .site-header { flex-wrap: wrap; justify-content: space-between; padding-top: .3rem; }
  .site-header nav { flex-basis: 100%; order: 1; border-top: 1px solid #424262; }
}

@media (max-width: 48rem) {
  .story { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .story-copy p { max-width: 54ch; }
  .pair { gap: 1.25rem; }
}

@media (max-width: 37rem) {
  .pair { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .visual { min-height: 13rem; }
}

@media (max-width: 22rem) {
  .diagram, .diagram.sources { grid-template-columns: minmax(0, 1fr) 1rem minmax(0, 1fr); }
  .timeline strong { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .is-playing * { animation: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
