:root {
  --ink: #0d1424;
  --ink-soft: #485166;
  --paper: #f7f8fb;
  --white: #ffffff;
  --line: rgba(16, 28, 54, 0.14);
  --line-soft: rgba(16, 28, 54, 0.08);
  --violet: #7f73d9;
  --blue: #6285ba;
  --green: #82a68e;
  --peach: #dfad93;
  --display: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: #d8d6f3;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(247, 248, 251, 0.82);
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 76px;
  left: 0;
  padding: 0 clamp(22px, 4vw, 70px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  justify-self: start;
}

.brand-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-sq {
  color: #123f66;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(20px, 3vw, 42px);
}

.primary-nav a,
.header-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav a {
  color: var(--ink-soft);
  position: relative;
}

.primary-nav a::after {
  background: var(--ink);
  bottom: -7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  width: 100%;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-self: end;
}

.header-cta span,
.text-link span,
.button span,
.closing a span {
  display: inline-block;
  transition: transform 200ms ease;
}

.header-cta:hover span,
.text-link:hover span,
.button:hover span,
.closing a:hover span {
  transform: translate(3px, -3px);
}

.hero {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  min-height: 790px;
  overflow: hidden;
  padding: 166px clamp(22px, 7vw, 118px) 96px;
  position: relative;
}

.hero::before {
  background-image:
    linear-gradient(rgba(18, 63, 102, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 102, 0.085) 1px, transparent 1px);
  background-position: right top;
  background-size: 56px 56px;
  content: "";
  inset: -8% -8% -14% 37%;
  -webkit-mask-image: radial-gradient(
    ellipse at 76% 30%,
    #000 0%,
    rgba(0, 0, 0, 0.92) 38%,
    rgba(0, 0, 0, 0.52) 61%,
    transparent 84%
  );
  mask-image: radial-gradient(
    ellipse at 76% 30%,
    #000 0%,
    rgba(0, 0, 0, 0.92) 38%,
    rgba(0, 0, 0, 0.52) 61%,
    transparent 84%
  );
  opacity: 0.82;
  pointer-events: none;
  position: absolute;
  transform: perspective(1000px) rotateY(-13deg) rotateZ(-1.5deg) scale(1.1);
  transform-origin: right center;
}

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

.eyebrow,
.section-kicker {
  color: #66728b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.eyebrow span {
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  padding: 8px 12px 7px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(54px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
  max-width: 1050px;
}

.hero h1 em {
  color: #6d66ba;
  font-style: normal;
}

.hero-statement {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  line-height: 1.48;
  margin-top: 34px;
  max-width: 780px;
}

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

.button {
  align-items: center;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 22px;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 50px;
  padding: 0 20px;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

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

.button-dark:hover {
  background: #27324a;
}

.text-link {
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  padding-bottom: 5px;
}

.hero-aside {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-aside > p {
  color: #737c8f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-aside ul {
  list-style: none;
}

.hero-aside li {
  align-items: baseline;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  font-family: var(--display);
  font-size: 17px;
  gap: 18px;
  letter-spacing: -0.01em;
  padding: 15px 0;
}

.hero-aside li span {
  background: #8991a0;
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.section-shell {
  padding: 130px clamp(22px, 7vw, 118px);
}

.approach {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: 0.7fr 1.35fr 0.95fr;
}

.approach-heading p,
.approach-heading h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.approach-heading p {
  color: #8a91a0;
}

.approach-copy {
  align-self: end;
  color: var(--ink-soft);
  display: grid;
  font-size: 16px;
  gap: 20px;
  line-height: 1.65;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr 0.66fr;
  margin-bottom: 72px;
}

.section-heading h2,
.individuals-title h2,
.business h2 {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-top: 20px;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
  max-width: 580px;
}

.product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.product-card::before {
  background: var(--card-color);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 300ms ease;
}

.product-card:hover {
  box-shadow: 0 24px 70px rgba(29, 40, 67, 0.09);
  transform: translateY(-5px);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card.violet { --card-color: var(--violet); }
.product-card.blue { --card-color: var(--blue); }
.product-card.green { --card-color: var(--green); }

.product-topline {
  color: #7d8698;
  display: flex;
  font-size: 9px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-symbol {
  align-items: center;
  display: flex;
  height: 118px;
  justify-content: center;
  position: relative;
}

.product-symbol::before,
.product-symbol::after {
  background: var(--line);
  content: "";
  height: 1px;
  position: absolute;
  width: 64px;
}

.product-symbol::before { transform: rotate(32deg); }
.product-symbol::after { transform: rotate(-32deg); }

.product-symbol span {
  background: color-mix(in srgb, var(--card-color) 32%, white);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--card-color) 18%, transparent);
  height: 25px;
  position: absolute;
  width: 25px;
  z-index: 1;
}

.product-symbol span:nth-child(1) {
  height: 54px;
  width: 54px;
}

.product-symbol span:nth-child(2) {
  transform: translate(-55px, 31px);
}

.product-symbol span:nth-child(3) {
  transform: translate(55px, -31px);
}

.product-card h3 {
  font-family: var(--display);
  font-size: clamp(25px, 2vw, 33px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 320px;
}

.product-card > p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.58;
  margin-top: 18px;
}

.operating {
  background: #eff0f4;
  border-top: 1px solid var(--line-soft);
}

.section-heading.compact {
  margin-bottom: 58px;
}

.section-heading.compact h2 {
  font-size: clamp(44px, 5vw, 74px);
}

.principle-flow {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-flow article {
  min-height: 240px;
  padding: 24px;
  position: relative;
}

.principle-flow article + article {
  border-left: 1px solid var(--line);
}

.principle-flow article:not(:last-child)::after {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #6a7488;
  content: "→";
  display: grid;
  height: 34px;
  place-items: center;
  position: absolute;
  right: -18px;
  top: 40px;
  width: 34px;
  z-index: 2;
}

.principle-flow article > span {
  color: #929aaa;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.principle-flow h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-top: 40px;
}

.principle-flow p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 280px;
}

.individuals {
  background: #101827;
  color: var(--white);
  display: grid;
  gap: clamp(54px, 8vw, 130px);
  grid-template-columns: 0.82fr 1fr;
}

.section-kicker.light {
  color: #97a7c2;
}

.individuals-title h2 {
  max-width: 650px;
}

.individuals-title > p:last-child {
  color: #aab4c6;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 30px;
  max-width: 500px;
}

.scene-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.scene-list article {
  display: grid;
  gap: 24px;
  grid-template-columns: 40px 1fr;
  padding: 30px 0;
}

.scene-list article + article {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.scene-number {
  color: #77859e;
  font-size: 9px;
  letter-spacing: 0.12em;
  padding-top: 6px;
}

.scene-list h3 {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.scene-line,
.scene-note {
  grid-column: 2;
}

.scene-line {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.025em;
  margin-top: -14px;
}

.scene-note {
  color: #aab4c6;
  font-size: 13px;
  line-height: 1.55;
  margin-top: -10px;
}

.business {
  align-items: end;
  background: #dce5f1;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.8fr;
}

.business h2 {
  max-width: 900px;
}

.business-copy {
  color: #3f4e64;
  font-size: 17px;
  line-height: 1.65;
}

.button-outline {
  border: 1px solid rgba(13, 20, 36, 0.32);
  margin-top: 30px;
}

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

.closing {
  align-items: center;
  background: #776fbe;
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 760px;
  padding: 130px 24px;
  text-align: center;
}

.closing .section-kicker {
  color: rgba(255, 255, 255, 0.66);
}

.closing h2 {
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 120px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.86;
  margin-top: 34px;
}

.closing > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 42px;
  max-width: 650px;
}

.closing a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-top: 44px;
  padding-bottom: 7px;
}

footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  font-size: 10px;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.1em;
  min-height: 120px;
  padding: 24px clamp(22px, 4vw, 70px);
  text-transform: uppercase;
}

.footer-brand .brand-sq {
  color: #a6bfd6;
}

footer > p:nth-child(2) {
  color: #98a2b4;
}

footer > p:last-child {
  color: #98a2b4;
  justify-self: end;
}

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

  .primary-nav {
    display: none;
  }

  .hero {
    align-items: start;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
  }

  .hero-aside {
    max-width: 560px;
  }

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

  .approach-copy {
    max-width: 640px;
  }

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

  .product-card {
    aspect-ratio: auto;
    min-height: 390px;
  }

  .individuals,
  .business {
    grid-template-columns: 1fr;
  }

  .business-copy {
    max-width: 660px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
  }

  .header-cta {
    font-size: 0;
  }

  .header-cta::before {
    content: "Contact";
    font-size: 10px;
  }

  .header-cta span {
    font-size: 11px;
  }

  .hero {
    gap: 52px;
    padding-bottom: 70px;
    padding-top: 128px;
  }

  .hero::before {
    background-size: 46px 46px;
    inset: -4% -42% 25% 18%;
    -webkit-mask-image: radial-gradient(
      ellipse at 70% 26%,
      #000 0%,
      rgba(0, 0, 0, 0.75) 45%,
      transparent 78%
    );
    mask-image: radial-gradient(
      ellipse at 70% 26%,
      #000 0%,
      rgba(0, 0, 0, 0.75) 45%,
      transparent 78%
    );
    opacity: 0.68;
    transform: rotate(-3deg) scale(1.12);
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero-statement {
    font-size: 17px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-shell {
    padding-bottom: 88px;
    padding-top: 88px;
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .product-card {
    min-height: 410px;
  }

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

  .principle-flow article {
    min-height: 210px;
  }

  .principle-flow article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .principle-flow article:not(:last-child)::after {
    bottom: -18px;
    left: 24px;
    right: auto;
    top: auto;
    transform: rotate(90deg);
  }

  .individuals {
    gap: 62px;
  }

  .scene-list article {
    gap: 16px;
  }

  .closing {
    min-height: 680px;
  }

  footer {
    align-items: start;
    gap: 24px;
    grid-template-columns: 1fr;
    padding-bottom: 40px;
    padding-top: 40px;
  }

  footer > p:last-child {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
