:root {
  --bg: #fbfbf8;
  --paper: #ffffff;
  --text: #121719;
  --text-soft: #4c565a;
  --line: rgba(18, 23, 25, .12);
  --line-strong: rgba(18, 23, 25, .22);

  --heart: #e60072; /* RGB 230, 0, 114 */
  --mind:  #07a1e2; /* RGB 7, 161, 226 */
  --body:  #a9c937; /* RGB 169, 201, 55 */

  --ink: #0b1621;
  --ink-soft: #132838;

  --shell: 1240px;
  --pad-x: clamp(1.2rem, 4vw, 4.25rem);
  --section-y: clamp(6rem, 11vw, 11.5rem);
  --radius: 1rem;

  --step--1: clamp(.76rem, .72rem + .16vw, .9rem);
  --step-0: clamp(1rem, .96rem + .22vw, 1.16rem);
  --step-1: clamp(1.35rem, 1.18rem + .75vw, 1.9rem);
  --step-2: clamp(2.15rem, 1.55rem + 2.3vw, 4rem);
  --step-3: clamp(3.4rem, 2.2rem + 5.2vw, 7.4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
  font-size: var(--step-3);
  font-weight: 720;
}

h2 {
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-size: var(--step-2);
  font-weight: 680;
}

h3 {
  margin-bottom: .9rem;
  font-size: var(--step-1);
  font-weight: 660;
}

strong {
  font-weight: 680;
}

.shell {
  width: min(100% - (2 * var(--pad-x)), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 1.15rem;
  font-size: var(--step--1);
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.prose {
  max-width: 43rem;
  font-size: clamp(1.03rem, .96rem + .32vw, 1.28rem);
  color: var(--text-soft);
}

.prose--compact {
  max-width: 39rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Brand */

.brand,
.footer-brand {
  display: block;
  text-decoration: none;
}

.brand {
  position: fixed;
  z-index: 50;
  top: clamp(1.5rem, 3.3vw, 3rem);
  right: var(--pad-x);
}

.brand__logo-stack {
  position: relative;
  display: block;
  width: 180px;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 2000ms ease-in-out;
}

.brand__logo + .brand__logo {
  position: absolute;
  inset: 0;
}

.brand__logo--active {
  opacity: 1;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 2.5rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background:
    linear-gradient(
      rgba(0, 0, 0, .5),
      rgba(0, 0, 0, .5)
    ),
    url("assets/hero-future.jpg") center top / cover no-repeat,
    radial-gradient(
      circle at 75% 14%,
      rgba(119, 182, 192, .36),
      transparent 34%
    ),
    radial-gradient(
      circle at 8% 82%,
      rgba(230, 0, 114, .12),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      #07111a 0%,
      #0c2030 48%,
      #2d4d58 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg width='240' height='240' viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.horizon {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 38%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: rotate(-3deg);
  filter: blur(.2px);
}

.horizon--one {
  bottom: -20%;
  background: rgba(5, 13, 21, .76);
}

.horizon--two {
  bottom: -7%;
  left: 19%;
  width: 94%;
  height: 27%;
  background: rgba(15, 40, 54, .72);
  transform: rotate(4deg);
}

.horizon--three {
  bottom: 4%;
  left: 48%;
  width: 60%;
  height: 16%;
  background: rgba(92, 126, 130, .32);
  transform: rotate(-5deg);
}

.hero__content {
  padding-block:
    clamp(9rem, 22vh, 15rem)
    clamp(4.5rem, 10vh, 7.5rem);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, .72);
}

.hero__lead {
  margin-bottom: 1.4rem;
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.hero__intro {
  max-width: 43rem;
  margin-bottom: 2.35rem;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, .98rem + .38vw, 1.34rem);
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.8rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 690;
  text-decoration: none;
  transition:
    transform 170ms ease,
    background-color 170ms ease,
    color 170ms ease,
    border-color 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--ghost {
  border-color: rgba(255, 255, 255, .5);
  background: transparent;
  color: white;
}


/* Reality */

.reality {
  background: var(--paper);
}

.editorial-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.02fr)
    minmax(0, .92fr)
    minmax(15rem, .5fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: start;
}

.editorial-grid__title h2 {
  max-width: 11ch;
}

.manifesto-note {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line-strong);
  font-size: clamp(1rem, .95rem + .2vw, 1.15rem);
}

.manifesto-note__line {
  display: block;
  width: 3rem;
  height: 2px;
  margin: 2.3rem 0 1.2rem;
  background: var(--heart);
}

.manifesto-note__signature {
  margin-bottom: .25rem;
  color: var(--heart);
  font-weight: 720;
}


/* Steps */

.steps {
  background: #f8f8f5;
}

.section-heading--wide {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 2rem;
  align-items: end;
}

.section-heading--wide .eyebrow {
  margin-bottom: .3rem;
}

.section-heading--wide h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 5.5rem);
  margin-top: clamp(5rem, 9vw, 8rem);
}

.step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 4.8rem;
  height: 2px;
  background: currentColor;
}

.step--heart {
  color: var(--heart);
}

.step--mind {
  color: var(--mind);
}

.step--body {
  color: var(--body);
}

.step__number {
  display: inline-block;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
  font-size: var(--step--1);
  font-weight: 760;
  letter-spacing: .12em;
}

.step__kicker {
  margin-bottom: .7rem;
  font-size: var(--step--1);
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.step h3 {
  color: var(--text);
}

.step p:not(.step__kicker) {
  color: var(--text-soft);
}

.guide {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(0, .95fr)
    auto;
  gap: 2rem 4rem;
  align-items: end;
  margin-top: clamp(6rem, 10vw, 10rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-strong);
}

.guide h3 {
  margin-bottom: .55rem;
}

.guide p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.guide .eyebrow {
  margin-bottom: .85rem;
  color: var(--text);
}

.guide__meta {
  align-self: end;
  color: var(--text-soft);
  font-size: var(--step--1);
}

.text-link--accent {
  color: var(--heart);
  font-weight: 720;
  white-space: nowrap;
}


/* Model */

.model {
  background: var(--paper);
}

.model-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .86fr)
    minmax(0, 1.25fr);
  grid-template-areas:
    "copy figure"
    "levels figure";
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.model-copy {
  grid-area: copy;
  align-self: end;
}

.model-copy h2 {
  max-width: 11ch;
}

.model-thesis {
  max-width: 30rem;
  margin: 2.6rem 0 0;
  font-size: clamp(1.25rem, 1.08rem + .72vw, 1.78rem);
  line-height: 1.24;
  letter-spacing: -.025em;
}

.model-figure {
  grid-area: figure;
  margin: 0;
}

.model-figure img {
  width: min(100%, 48rem);
  margin-inline: auto;
}

.model-levels {
  grid-area: levels;
  display: grid;
  gap: 1.25rem;
  align-self: start;
}

.model-level {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.model-level span {
  display: block;
  margin-bottom: .25rem;
  font-size: var(--step--1);
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.model-level p {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--step--1);
}

.model-level--heart span {
  color: var(--heart);
}

.model-level--mind span {
  color: var(--mind);
}

.model-level--body span {
  color: var(--body);
}


/* Process */

.process {
  background: #edf6f8;
}

.process-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .72fr)
    minmax(0, 1.15fr)
    minmax(14rem, .48fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.process-intro h2 {
  max-width: 11ch;
}

.process-intro > p:last-child {
  max-width: 28rem;
  color: var(--text-soft);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0, 79, 103, .22);
}

.process-step {
  display: grid;
  grid-template-columns: 4.3rem 1fr;
  gap: 1rem;
  padding: 2rem 0 2.2rem;
  border-bottom: 1px solid rgba(0, 79, 103, .18);
}

.process-step__number {
  color: var(--mind);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: .1em;
}

.process-step h3 {
  margin-bottom: .45rem;
}

.process-step p {
  max-width: 31rem;
  margin: 0;
  color: var(--text-soft);
}

.capabilities {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(0, 79, 103, .22);
}

.capabilities ul {
  display: grid;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capabilities strong,
.capabilities span {
  display: block;
}

.capabilities strong {
  margin-bottom: .45rem;
}

.capabilities span {
  color: var(--text-soft);
  font-size: var(--step--1);
}


/* Founder */

.founder {
  background: var(--paper);
}

.founder-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .9fr)
    minmax(0, .95fr)
    minmax(14rem, .45fr);
  gap: clamp(3rem, 6vw, 6.5rem);
  align-items: center;
}

.founder-photo {
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 37%;
}

.founder-copy h2 {
  max-width: 10ch;
}

.founder-quote {
  margin: 0;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line-strong);
}

.founder-quote p {
  margin-bottom: 1.3rem;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.founder-quote cite {
  font-size: var(--step--1);
  font-style: normal;
  color: var(--text-soft);
}


/* Case */

.case {
  background: #f8f8f5;
}

.case-grid {
  display: grid;
  grid-template-columns:
    minmax(0, .85fr)
    minmax(0, .78fr)
    minmax(15rem, .55fr);
  grid-template-areas:
    "heading story stats"
    "heading quote quote";
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.case-heading {
  grid-area: heading;
}

.case-heading h2 {
  max-width: 11ch;
}

.case-story {
  grid-area: story;
}

.case-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case-stats div {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.case-stats strong,
.case-stats span {
  display: block;
}

.case-stats strong {
  margin-bottom: .35rem;
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 3rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.case-stats span {
  color: var(--text-soft);
  font-size: var(--step--1);
}

.case-quote {
  grid-area: quote;
  margin: 0;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line-strong);
}

.case-quote p {
  max-width: 52rem;
  margin-bottom: 1rem;
  font-size: clamp(1.22rem, 1.05rem + .6vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}

.case-quote cite {
  font-size: var(--step--1);
  font-style: normal;
  color: var(--text-soft);
}


/* Contact */

.section--contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      rgba(0, 0, 0, .5),
      rgba(0, 0, 0, .5)
    ),
    url("assets/hero-future.jpg") center top / cover no-repeat,
    var(--ink);
  color: white;
}

.section--contact::after {
  content: "";
  position: absolute;
  right: -18vw;
  bottom: -36vw;
  width: 65vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 8vw rgba(255, 255, 255, .025),
    0 0 0 18vw rgba(255, 255, 255, .018);
  pointer-events: none;
}

.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 4rem;
  align-items: end;
}

.contact h2 {
  max-width: 12ch;
}

.contact > div:first-child > p:not(.eyebrow):not(.contact__manifesto) {
  max-width: 43rem;
  color: rgba(255, 255, 255, .76);
}

.contact__manifesto {
  margin: 2.4rem 0 0;
  color: var(--heart);
  font-size: clamp(1.15rem, 1rem + .55vw, 1.55rem);
  font-weight: 650;
}

.contact__actions {
  justify-content: flex-end;
}

.button--light {
  border-color: white;
  background: white;
  color: var(--ink);
}

.text-link {
  font-size: var(--step--1);
}


/* Footer */

.footer {
  padding-block: 1.65rem;
  background: var(--paper);
  font-size: var(--step--1);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer__inner p {
  margin: 0;
  color: var(--text-soft);
}

.footer-brand {
  justify-self: start;
}

.footer-brand img {
  height: 2.0rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-self: end;
}


/* Responsive */

@media (max-width: 1080px) {
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .manifesto-note {
    grid-column: 2;
  }

  .model-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .process-grid {
    grid-template-columns: .8fr 1.2fr;
  }

  .capabilities {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
  }

  .founder-grid {
    grid-template-columns: .8fr 1.2fr;
  }

  .founder-quote {
    grid-column: 2;
    padding-left: 0;
    border-left: 0;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "heading story"
      "stats stats"
      "quote quote";
  }
}

@media (max-width: 780px) {
  :root {
    --section-y: clamp(5rem, 18vw, 7.5rem);
  }

  .hero {
    min-height: 92svh;
  }

  .brand {
    right: var(--pad-x);
  }

  .section-heading--wide,
  .editorial-grid,
  .step-grid,
  .guide,
  .model-grid,
  .process-grid,
  .founder-grid,
  .case-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .editorial-grid,
  .process-grid,
  .founder-grid,
  .case-grid {
    gap: 3rem;
  }

  .manifesto-note,
  .capabilities,
  .founder-quote {
    grid-column: auto;
  }

  .step-grid {
    margin-top: 4rem;
  }

  .step__number {
    margin-bottom: 2.6rem;
  }

  .guide {
    gap: 1.2rem;
  }

  .model-grid {
    grid-template-areas:
      "copy"
      "figure"
      "levels";
  }

  .model-figure img {
    width: min(100%, 35rem);
  }

  .process-list {
    margin-top: 1rem;
  }

  .capabilities {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 79, 103, .22);
  }

  .founder-photo {
    max-width: 34rem;
  }

  .case-grid {
    grid-template-areas:
      "heading"
      "story"
      "stats"
      "quote";
  }

  .case-stats {
    max-width: 34rem;
  }

  .contact__actions {
    justify-content: flex-start;
  }

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

  .footer nav {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  :root {
    --pad-x: 1.15rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding-bottom: 2.3rem;
  }

  .hero__actions,
  .contact__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .case-stats {
    grid-template-columns: 1fr;
  }

  .case-stats div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }
}

@media (min-width: 1500px) {
  :root {
    --shell: 1320px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
