:root {
  --void: #000000;
  --white: #ffffff;
  --ash: #9a9a9a;
  --silver: #bdbdbd;
  --iris: #8052ff;
  --saffron: #ffb829;
  --verdant: #15846e;
  --page-max: 1280px;
  --unit: 6px;
  --display: clamp(4.25rem, 9vw, 7.06rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--white);
  background: var(--void);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  font-feature-settings: "ss01" 1;
  overflow-x: hidden;
}

a { color: inherit; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 100;
  padding: 12px 18px;
  color: var(--void);
  background: var(--saffron);
}

.skip-link:focus { top: 18px; }

.site-header,
.site-footer,
.section-shell {
  width: min(var(--page-max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 84px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
}

.brand-mark i,
.particle {
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--iris);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.brand-mark i:nth-child(1) { top: 2px; left: 8px; }
.brand-mark i:nth-child(2) { top: 10px; left: 2px; background: var(--verdant); }
.brand-mark i:nth-child(3) { top: 10px; left: 14px; background: var(--saffron); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--ash);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
}

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

.nav-cta,
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 24px;
  color: var(--white) !important;
  background: var(--iris);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.nav-cta:hover,
.primary-cta:hover { background: #936dff; transform: translateY(-2px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 72px 0 120px;
}

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

.kicker,
.section-index,
.section-label,
.detail-label,
.image-frame figcaption,
.site-footer {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
}

.kicker { margin: 0 0 24px; }
.amber { color: var(--saffron); }

h1,
h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: var(--display);
}

h1 em {
  color: var(--iris);
  font-style: normal;
}

h2 { font-size: clamp(2.5rem, 5.3vw, 4.875rem); }

.hero-lead {
  max-width: 510px;
  margin: 30px 0 0;
  color: var(--silver);
  font-size: 18px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.text-link {
  color: var(--silver);
  font-size: 14px;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible { color: var(--saffron); }

.hero-metrics {
  display: flex;
  align-items: end;
  gap: 24px;
  max-width: 520px;
  margin: 72px 0 0;
}

.hero-metrics div:not(.metric-arrow) { min-width: 120px; }
.hero-metrics dt { color: var(--ash); font-size: 12px; letter-spacing: .02em; }
.hero-metrics dd { margin: 3px 0 0; color: var(--white); font-size: 42px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.hero-metrics dd span,
.big-result .unit { color: var(--saffron); font-size: .42em; letter-spacing: 0; }
.metric-arrow { padding-bottom: 5px; color: var(--iris); font-size: 30px; }

.constellation {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.constellation::before,
.constellation::after {
  position: absolute;
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: var(--saffron);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: .8;
}

.constellation::before { top: 12%; left: 16%; }
.constellation::after { right: 10%; bottom: 20%; background: var(--verdant); }

.constellation-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(560px, 90%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 46% 54% 52% 48% / 55% 44% 56% 45%;
  background: radial-gradient(ellipse at 45% 44%, rgba(128, 82, 255, .16), transparent 48%), radial-gradient(ellipse at 58% 58%, rgba(21, 132, 110, .10), transparent 56%);
  animation: breathe 8s ease-in-out infinite;
}

.particle { width: 10px; height: 10px; opacity: .95; animation: float 5s ease-in-out infinite; }
.p01 { top: 14%; left: 45%; background: var(--saffron); }
.p02 { top: 18%; left: 61%; background: #c65fff; animation-delay: -.8s; }
.p03 { top: 24%; left: 30%; background: var(--verdant); animation-delay: -1.4s; }
.p04 { top: 28%; left: 49%; background: var(--iris); animation-delay: -2.1s; }
.p05 { top: 31%; left: 71%; background: #3ec5ff; animation-delay: -3s; }
.p06 { top: 36%; left: 19%; background: var(--saffron); animation-delay: -1.1s; }
.p07 { top: 38%; left: 39%; background: #ff60a8; animation-delay: -3.7s; }
.p08 { top: 42%; left: 58%; background: var(--iris); animation-delay: -2.6s; }
.p09 { top: 43%; left: 80%; background: var(--verdant); animation-delay: -4.1s; }
.p10 { top: 50%; left: 27%; background: #4f9dff; animation-delay: -1.9s; }
.p11 { top: 51%; left: 48%; background: var(--saffron); animation-delay: -3.3s; }
.p12 { top: 54%; left: 66%; background: #ed70ff; animation-delay: -.4s; }
.p13 { top: 58%; left: 14%; background: var(--iris); animation-delay: -2.5s; }
.p14 { top: 61%; left: 37%; background: var(--verdant); animation-delay: -4s; }
.p15 { top: 63%; left: 55%; background: #45d8b5; animation-delay: -1.2s; }
.p16 { top: 67%; left: 76%; background: var(--saffron); animation-delay: -3.1s; }
.p17 { top: 72%; left: 24%; background: #ff60a8; animation-delay: -2.2s; }
.p18 { top: 73%; left: 46%; background: var(--iris); animation-delay: -4.4s; }
.p19 { top: 77%; left: 64%; background: #3ec5ff; animation-delay: -.7s; }
.p20 { top: 81%; left: 35%; background: var(--verdant); animation-delay: -3.5s; }
.p21 { top: 22%; left: 77%; background: #ff60a8; animation-delay: -1.8s; }
.p22 { top: 48%; left: 5%; background: var(--saffron); animation-delay: -2.9s; }
.p23 { top: 76%; left: 84%; background: var(--iris); animation-delay: -4.6s; }
.p24 { top: 88%; left: 57%; background: var(--verdant); animation-delay: -1.6s; }

.orbit-label {
  position: absolute;
  color: var(--ash);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.label-a { top: 22%; right: 2%; }
.label-b { bottom: 22%; left: 4%; color: var(--saffron); }
.label-c { top: 60%; right: 0; color: var(--verdant); }

.split-section,
.image-section,
.process-section,
.result-section,
.closing-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.split-section { display: grid; grid-template-columns: 120px 1fr; gap: clamp(24px, 6vw, 100px); }
.section-index { padding-top: 12px; white-space: nowrap; }
.split-content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: clamp(36px, 8vw, 130px); align-items: start; }
.body-column { max-width: 500px; padding-top: 12px; }
.body-column > p:not(.section-label):not(.quiet-note),
.section-subtitle,
.image-note p:last-child,
.closing-copy p { margin: 0; color: var(--silver); }
.section-label { margin: 0 0 18px; color: var(--iris); }
.quiet-note { margin: 28px 0 0; color: var(--ash); font-size: 14px; }
.friction-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; color: var(--white); font-size: 14px; }
.friction-line span { color: var(--silver); }
.friction-line b { color: var(--saffron); font-weight: 400; }
.section-subtitle { max-width: 460px; margin-top: 30px; font-size: 18px; }

.image-section { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); gap: clamp(28px, 7vw, 110px); align-items: end; }
.image-frame { margin: 0; }
.image-frame img { width: 100%; opacity: .9; filter: saturate(.75) contrast(1.08); }
.image-frame figcaption { margin-top: 14px; color: var(--ash); }
.image-note { max-width: 350px; padding-bottom: 28px; }
.image-note .kicker { margin-bottom: 18px; }

.dark-break { position: relative; }
.dark-break::before { position: absolute; top: 0; right: -50vw; bottom: 0; left: -50vw; z-index: -1; content: ""; background: #030303; }
.filename-sample { display: flex; flex-wrap: wrap; gap: 4px; font-size: clamp(1rem, 2vw, 1.45rem); line-height: 1.4; }
.filename-sample span { padding: 3px 6px; border-radius: 5px; background: rgba(128, 82, 255, .2); }
.filename-sample span:nth-child(2) { color: var(--saffron); background: rgba(255, 184, 41, .12); }
.filename-sample span:nth-child(3) { color: #57d4ba; background: rgba(21, 132, 110, .18); }
.filename-sample span:nth-child(4) { color: #c8b9ff; }
.filename-sample span:nth-child(5) { color: var(--silver); background: transparent; }
.filename-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; color: var(--ash); font-size: 12px; }
.filename-legend b { color: var(--white); font-weight: 400; }

.process-section { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(36px, 8vw, 140px); }
.process-heading h2 { margin-top: 22px; }
.process-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; padding: 0; margin: 0; list-style: none; }
.process-list li { min-height: 160px; padding: 6px 0 28px; border-top: 1px solid #242424; }
.process-list li:nth-child(-n+2) { border-top-color: #4b3a86; }
.process-no { display: block; margin-bottom: 22px; color: var(--iris); font-size: 12px; }
.process-list strong { display: block; font-size: 24px; font-weight: 400; letter-spacing: -.02em; }
.process-list p { margin: 6px 0 0; color: var(--ash); font-size: 14px; }

.result-section { position: relative; }
.result-topline { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(36px, 8vw, 140px); align-items: end; margin-top: 38px; }
.big-result { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; color: var(--white); font-size: clamp(4rem, 10vw, 9rem); font-weight: 400; letter-spacing: -.07em; line-height: .9; white-space: nowrap; }
.big-result b { color: var(--saffron); font-size: .42em; font-weight: 400; letter-spacing: 0; }
.big-result strong { color: var(--iris); font-weight: 400; }
.result-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 84px 0 0 25%; }
.result-details > div { padding-top: 18px; border-top: 1px solid #3d3d3d; }
.detail-label { color: var(--saffron); }
.result-details p { margin: 14px 0 0; color: var(--silver); font-size: 15px; }

.closing-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(250px, .95fr); gap: clamp(36px, 8vw, 140px); align-items: end; border-top: 1px solid #222; }
.closing-copy { max-width: 500px; }
.closing-copy .primary-cta { margin-top: 30px; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 0 42px; color: var(--ash); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

a:focus-visible { outline: 2px solid var(--saffron); outline-offset: 5px; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.96) rotate(-3deg); } 50% { transform: translate(-50%, -50%) scale(1.04) rotate(3deg); } }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 66px; }
  .constellation { min-height: 420px; margin-top: -30px; }
  .split-content,
  .result-topline { grid-template-columns: 1fr; gap: 36px; }
  .image-section,
  .process-section,
  .closing-section { grid-template-columns: 1fr; }
  .result-details { margin-left: 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header,
  .site-footer,
  .section-shell { width: min(100% - 36px, var(--page-max)); }
  .site-header { display: block; padding-top: 22px; }
  .site-nav { justify-content: flex-start; gap: 14px 18px; margin-top: 22px; font-size: 11px; }
  .nav-cta { margin-left: auto; }
  .hero { padding: 58px 0 80px; }
  h1 { font-size: clamp(3.35rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .hero-lead { font-size: 16px; }
  .hero-metrics { gap: 14px; margin-top: 56px; }
  .hero-metrics dd { font-size: 34px; }
  .constellation { min-height: 330px; }
  .split-section,
  .image-section,
  .process-section,
  .result-section,
  .closing-section { padding-top: 80px; padding-bottom: 80px; }
  .split-section { display: block; }
  .section-index { margin-bottom: 34px; }
  .body-column { padding-top: 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li:nth-child(2) { border-top-color: #242424; }
  .big-result { font-size: clamp(3.1rem, 17vw, 6rem); }
  .result-details { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .site-footer { display: grid; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
