:root {
  --flow-ink: #17183b;
  --flow-blue: #5268e8;
  --flow-lilac: #dad4ff;
  --flow-coral: #ff8066;
  --flow-paper: #fbfaf6;
  --flow-mist: #eeecff;
}

.flowing-site {
  background: var(--flow-paper);
  color: var(--flow-ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

.flowing-site ::selection {
  background: var(--flow-coral);
  color: var(--flow-ink);
}

.flow-header {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  padding: 1.5rem 3vw;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 4;
}

.flow-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: -0.06em;
  justify-self: start;
  text-decoration: none;
}

.flow-logo span {
  color: var(--flow-blue);
}

.flow-header nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.flow-header nav a,
.flow-header__cta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.flow-header nav a:hover {
  color: var(--flow-blue);
}

.flow-header__cta {
  background: var(--flow-ink);
  border-radius: 99rem;
  color: var(--flow-paper);
  justify-self: end;
  padding: 0.9rem 1.1rem;
}

.flow-hero {
  align-content: center;
  background: var(--flow-lilac);
  border-radius: 0 0 50% 50% / 0 0 12% 12%;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  padding: 9rem 6vw 7rem;
  position: relative;
}

.flow-hero::after {
  border: 1px solid rgba(82, 104, 232, 0.45);
  border-radius: 50%;
  content: "";
  height: min(55vw, 48rem);
  position: absolute;
  right: -9vw;
  top: -14vw;
  transform: rotate(-14deg) scaleY(0.52);
  width: min(55vw, 48rem);
}

.flow-hero__orb,
.flow-contact__orb {
  animation: flow-drift 8s ease-in-out infinite alternate;
  background: var(--flow-coral);
  border-radius: 49% 51% 46% 54%;
  filter: blur(0.5px);
  height: clamp(13rem, 27vw, 31rem);
  position: absolute;
  right: 13vw;
  top: 24%;
  transform: rotate(12deg);
  width: clamp(13rem, 27vw, 31rem);
}

.flow-eyebrow {
  font: 700 0.67rem/1.3 "Courier New", monospace;
  letter-spacing: 0.12em;
  margin: 0 0 2rem;
  text-transform: uppercase;
}

.flow-hero h1 {
  font: 400 clamp(5rem, 11vw, 12rem)/0.72 Georgia, "Times New Roman", serif;
  letter-spacing: -0.08em;
  margin: 0;
  max-width: 7ch;
  position: relative;
  z-index: 2;
}

.flow-hero h1 em {
  color: var(--flow-blue);
  display: inline-block;
  padding-left: 0.4em;
}

.flow-hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  margin: 3rem 0 0 12vw;
  max-width: 32rem;
  position: relative;
  z-index: 2;
}

.flow-arrow-link {
  align-items: center;
  border-bottom: 1px solid var(--flow-ink);
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.07em;
  margin: 2.5rem 0 0 12vw;
  padding-bottom: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  width: min(18rem, 70vw);
  z-index: 2;
}

.flow-arrow-link span {
  font-size: 1.2rem;
}

.flow-hero__aside {
  bottom: 7rem;
  display: flex;
  flex-direction: column;
  font: 700 0.62rem/1.7 "Courier New", monospace;
  letter-spacing: 0.08em;
  position: absolute;
  right: 4vw;
  text-align: right;
  text-transform: uppercase;
  z-index: 2;
}

.flow-current {
  padding: clamp(6rem, 11vw, 12rem) 5vw;
}

.flow-current__copy {
  display: grid;
  gap: 3vw;
  grid-template-columns: 0.55fr 1.2fr 0.7fr;
}

.flow-current__copy h2,
.flow-services h2,
.flow-results h2,
.flow-contact h2 {
  font: 400 clamp(3.4rem, 6.5vw, 7.5rem)/0.92 Georgia, "Times New Roman", serif;
  letter-spacing: -0.065em;
  margin: 0;
}

.flow-current__copy > p:last-child {
  align-self: end;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.flow-map {
  margin-top: 3rem;
  position: relative;
}

.flow-map svg {
  overflow: visible;
  width: 100%;
}

.flow-map__shadow {
  stroke: var(--flow-mist);
  stroke-linecap: round;
  stroke-width: 42;
}

.flow-map__line {
  stroke: var(--flow-blue);
  stroke-dasharray: 14 12;
  stroke-linecap: round;
  stroke-width: 3;
}

.flow-map__stops circle {
  fill: var(--flow-coral);
  stroke: var(--flow-paper);
  stroke-width: 8;
}

.flow-map ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0 2%;
  pointer-events: none;
  position: absolute;
}

.flow-map li {
  align-self: end;
  max-width: 17rem;
}

.flow-map li:nth-child(2) {
  align-self: start;
  justify-self: center;
  margin-top: 2%;
}

.flow-map li:nth-child(3) {
  justify-self: end;
}

.flow-map li > span {
  align-items: center;
  background: var(--flow-ink);
  border-radius: 50%;
  color: var(--flow-paper);
  display: flex;
  font: 700 0.65rem/1 "Courier New", monospace;
  height: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 2rem;
}

.flow-map h3 {
  font: italic 400 clamp(1.8rem, 3vw, 3rem)/1 Georgia, serif;
  margin: 0 0 0.8rem;
}

.flow-map li p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.flow-services {
  background: var(--flow-ink);
  border-radius: 50% 50% 0 0 / 7% 7% 0 0;
  color: var(--flow-paper);
  padding: clamp(7rem, 11vw, 12rem) 5vw;
}

.flow-services > header {
  align-items: end;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  margin-bottom: 6rem;
}

.flow-services .flow-eyebrow {
  color: var(--flow-lilac);
}

.flow-services__list {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.flow-services__list article {
  border: 1px solid rgba(218, 212, 255, 0.28);
  border-radius: 12rem 12rem 1.5rem 1.5rem;
  min-height: 34rem;
  padding: 3rem 2rem 2rem;
  position: relative;
}

.flow-services__list article:nth-child(2) {
  background: var(--flow-blue);
  border-color: var(--flow-blue);
  transform: translateY(2.5rem);
}

.flow-services__list article > span {
  font: 700 0.65rem/1 "Courier New", monospace;
  letter-spacing: 0.12em;
}

.flow-services__list article > p {
  color: var(--flow-lilac);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  margin: 8rem 0 1rem;
}

.flow-services__list h3 {
  font: 400 clamp(2.1rem, 3.3vw, 3.5rem)/0.95 Georgia, serif;
  letter-spacing: -0.05em;
  margin: 0 0 1.5rem;
}

.flow-services__list article > div {
  color: #cbcce0;
  line-height: 1.55;
}

.flow-results {
  display: grid;
  gap: 4vw;
  grid-template-columns: 0.8fr 1.2fr;
  padding: clamp(6rem, 10vw, 10rem) 5vw;
}

.flow-results > article {
  border-left: 1px solid var(--flow-blue);
  padding-left: 2rem;
}

.flow-results article > span {
  font: 700 0.62rem/1.3 "Courier New", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-results strong {
  color: var(--flow-blue);
  display: block;
  font: italic 400 clamp(4rem, 8vw, 8rem)/0.85 Georgia, serif;
  letter-spacing: -0.08em;
  margin: 3rem 0 1.5rem;
}

.flow-results h3 {
  font-size: 1rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.flow-results article p {
  line-height: 1.55;
  margin: 0;
}

.flow-quote {
  align-items: end;
  background: var(--flow-lilac);
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr auto;
  padding: clamp(5rem, 10vw, 10rem) 8vw;
}

.flow-quote blockquote {
  font: italic 400 clamp(2.4rem, 5vw, 5.8rem)/1.03 Georgia, serif;
  letter-spacing: -0.05em;
  margin: 0;
  max-width: 22ch;
}

.flow-quote > p {
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

.flow-contact {
  background: var(--flow-blue);
  color: var(--flow-paper);
  min-height: 90vh;
  overflow: hidden;
  padding: clamp(6rem, 11vw, 11rem) 7vw 4rem;
  position: relative;
}

.flow-contact__orb {
  background: var(--flow-coral);
  height: 35vw;
  right: 8vw;
  top: 18%;
  width: 35vw;
}

.flow-contact h2 {
  font-size: clamp(5rem, 11vw, 12rem);
  line-height: 0.75;
  max-width: 8ch;
  position: relative;
  z-index: 2;
}

.flow-contact > p:not(.flow-eyebrow) {
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 3rem 0 2rem 13vw;
  max-width: 30rem;
  position: relative;
  z-index: 2;
}

.flow-contact > a {
  background: var(--flow-paper);
  border-radius: 99rem;
  color: var(--flow-ink);
  display: inline-flex;
  font-weight: 700;
  gap: 2rem;
  margin-left: 13vw;
  padding: 1.3rem 1.5rem;
  position: relative;
  text-decoration: none;
  z-index: 2;
}

.flow-contact footer {
  bottom: 4rem;
  display: flex;
  font: 700 0.62rem/1 "Courier New", monospace;
  justify-content: space-between;
  left: 7vw;
  letter-spacing: 0.07em;
  position: absolute;
  right: 7vw;
  text-transform: uppercase;
}

@keyframes flow-drift {
  to {
    border-radius: 54% 46% 58% 42%;
    transform: rotate(-8deg) translate(1.5rem, -1rem);
  }
}

@media (max-width: 900px) {
  .flow-header {
    grid-template-columns: 1fr auto;
  }

  .flow-header nav {
    display: none;
  }

  .flow-current__copy,
  .flow-services > header,
  .flow-results {
    grid-template-columns: 1fr;
  }

  .flow-current__copy > p:last-child {
    max-width: 35rem;
  }

  .flow-map ol {
    position: static;
  }

  .flow-map li,
  .flow-map li:nth-child(2),
  .flow-map li:nth-child(3) {
    align-self: auto;
    justify-self: auto;
    margin: 0;
    max-width: none;
    padding: 1rem;
  }

  .flow-services__list {
    grid-template-columns: 1fr;
  }

  .flow-services__list article {
    border-radius: 8rem 8rem 1.5rem 1.5rem;
    min-height: 25rem;
  }

  .flow-services__list article:nth-child(2) {
    transform: none;
  }

  .flow-services__list article > p {
    margin-top: 5rem;
  }

  .flow-results > article {
    border-left: 0;
    border-top: 1px solid var(--flow-blue);
    padding: 2rem 0 0;
  }
}

@media (max-width: 640px) {
  .flow-header {
    padding: 1rem;
  }

  .flow-header__cta {
    font-size: 0.57rem;
    padding: 0.75rem;
  }

  .flow-hero {
    border-radius: 0 0 50% 50% / 0 0 5% 5%;
    min-height: 52rem;
    padding: 8rem 1rem 5rem;
  }

  .flow-hero h1 {
    font-size: clamp(4rem, 20vw, 6.5rem);
  }

  .flow-hero__orb {
    right: -4rem;
    top: 42%;
  }

  .flow-hero__lede,
  .flow-arrow-link {
    margin-left: 0;
  }

  .flow-hero__aside {
    bottom: 2rem;
    left: 1rem;
    right: auto;
    text-align: left;
  }

  .flow-current,
  .flow-services,
  .flow-results,
  .flow-quote,
  .flow-contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .flow-map svg {
    margin: 2rem 0;
  }

  .flow-map ol,
  .flow-quote {
    grid-template-columns: 1fr;
  }

  .flow-map ol {
    gap: 1rem;
  }

  .flow-map li {
    border-top: 1px solid var(--flow-lilac);
  }

  .flow-services {
    border-radius: 50% 50% 0 0 / 2% 2% 0 0;
  }

  .flow-contact {
    min-height: 50rem;
  }

  .flow-contact h2 {
    font-size: clamp(4.2rem, 21vw, 7rem);
  }

  .flow-contact > p:not(.flow-eyebrow),
  .flow-contact > a {
    margin-left: 0;
  }

  .flow-contact footer {
    align-items: flex-start;
    bottom: 2.5rem;
    flex-direction: column;
    gap: 0.8rem;
    left: 1rem;
  }
}
