:root {
  --ink: #112429;
  --navy: #17224c;
  --muted: #586a8b;
  --line: #e6ecec;
  --mint: #7ae7c7;
  --mint-deep: #62b69f;
  --blue: #0089f7;
  --dark: #182f35;
  --black: #19191c;
  --soft: #f5faf9;
  --max: 1120px;
  --nav: 250px;
  --radius: 28px;
  --shadow: 0 28px 70px rgba(17, 36, 41, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(48px, 5.4vw, 70px);
}

h2 {
  font-size: clamp(34px, 4.2vw, 55px);
}

h3 {
  font-size: clamp(24px, 3.2vw, 36px);
}

h4 {
  font-size: 24px;
}

p {
  margin: 18px 0 0;
}

.site-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--nav);
  background: #143238;
  border-right: 1px solid rgba(122, 231, 199, .12);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .04);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 34px 36px;
}

.logo {
  width: 118px;
  margin-bottom: 72px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .22));
}

.menu {
  display: grid;
  gap: 20px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu a {
  color: rgba(122, 231, 199, .72);
  font-size: 16px;
  font-weight: 600;
  transition: color .2s ease, opacity .2s ease;
}

.menu a:hover {
  color: var(--mint);
}

.nav-spacer {
  flex: 1;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 30px;
  border: 1px solid var(--mint);
  border-radius: 70px;
  background: var(--mint);
  color: #262828;
  font: 700 15px/1 "Space Grotesk", sans-serif;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button:hover,
button:hover {
  background: #70ffd5;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(122, 231, 199, .22);
}

.outline {
  background: transparent;
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
}

.page {
  margin-left: var(--nav);
}

.section {
  padding: 96px 42px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.section.is-visible,
.no-js .section {
  opacity: 1;
  transform: translateY(0);
}

.section.tight {
  padding-block: 58px;
}

.hero {
  position: relative;
  min-height: 760px;
  padding-top: 104px;
  padding-bottom: 140px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(25, 25, 28, .94), rgba(25, 25, 28, .82) 42%, rgba(25, 25, 28, .95)),
    url("/assets/img/kl0083_black_pattern_bacgkground_on_the_foreground_venture_ca_8a397a1c-ea68-4b9c-b5a7-e47f350d379c_1-1200x686.png") center / cover;
}

.hero:after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -38px;
  height: 96px;
  background: #fff;
  clip-path: polygon(0 25%, 31% 66%, 67% 28%, 83% 48%, 100% 22%, 100% 100%, 0 100%);
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  padding: clamp(34px, 5vw, 62px);
  border-radius: 42px;
  background: rgba(101, 185, 161, .9);
  color: var(--ink);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(2px);
  animation: heroRise .8s ease both;
}

.hero-card h1 {
  margin-bottom: 18px;
}

.hero-card h2 {
  max-width: 430px;
  color: var(--navy);
  font-size: clamp(32px, 4.2vw, 45px);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.split.reverse .media {
  order: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-weight: 600;
}

.lead {
  max-width: 430px;
  margin-top: 28px;
  color: #12292d;
  font-size: 16px;
  line-height: 1.45;
}

.media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}

.media img:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 34px 90px rgba(17, 36, 41, .2);
}

.dark {
  position: relative;
  overflow: hidden;
  color: var(--navy);
  background: #fff;
}

.dark p {
  color: var(--muted);
}

.dark:before,
.dark:after {
  display: none;
}

.dark:before {
  top: -38px;
}

.dark:after {
  bottom: -38px;
}

.strategy-head {
  text-align: center;
  margin-bottom: 48px;
}

.strategy-head p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.strategy-card {
  padding: 18px;
  border: 1px solid rgba(23, 34, 76, .08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 54px rgba(17, 36, 41, .08);
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
}

.strategy-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  transition: transform .25s ease;
}

.strategy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 78px rgba(17, 36, 41, .14);
}

.strategy-card:hover img {
  transform: scale(1.035);
}

.strategy-card h4 {
  margin-top: 22px;
}

.portfolio-strip {
  overflow: hidden;
  margin: 46px 0 30px;
  padding-block: 8px;
}

.portfolio-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: marquee 36s linear infinite;
}

.portfolio-track:hover {
  animation-play-state: paused;
}

.logo-tile,
.portfolio-tile {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(17, 36, 41, .1);
  transition: transform .28s ease, box-shadow .28s ease;
}

.logo-tile {
  width: 170px;
  height: 170px;
  flex: 0 0 auto;
}

.logo-tile img,
.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.portfolio-page .intro {
  position: relative;
  overflow: hidden;
  padding-top: 106px;
  padding-bottom: 118px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 50, 56, .96), rgba(25, 25, 28, .88)),
    url("/assets/img/kl0083_black_pattern_bacgkground_on_the_foreground_venture_ca_8a397a1c-ea68-4b9c-b5a7-e47f350d379c_1-1200x686.png") center / cover;
}

.portfolio-page .intro:after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -42px;
  height: 92px;
  background: #fff;
  clip-path: polygon(0 40%, 28% 66%, 58% 20%, 77% 44%, 100% 24%, 100% 100%, 0 100%);
}

.portfolio-page .intro p {
  max-width: 820px;
  margin-inline: auto;
  color: rgba(255, 255, 255, .78);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-tile {
  aspect-ratio: 1;
  opacity: 0;
  transform: translateY(18px);
}

.portfolio-tile.is-visible,
.no-js .portfolio-tile {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-tile:hover,
.logo-tile:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 68px rgba(17, 36, 41, .18);
}

.portfolio-tile:hover img,
.logo-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.portfolio-tile span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  background: rgba(20, 50, 56, .72);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transition: opacity .2s ease;
}

.portfolio-tile:hover span {
  opacity: 1;
}

.cta {
  background: var(--dark);
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, .84);
}

.team-banner {
  background: var(--dark);
  color: #fff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.person {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  transition: transform .32s ease, box-shadow .32s ease;
}

.person:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 92px rgba(17, 36, 41, .24);
}

.person:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .62));
}

.person h3 {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: #fff;
  font-size: 28px;
  text-transform: uppercase;
}

.footer {
  padding: 38px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: min(380px, calc(100vw - 48px));
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 30px rgba(1, 7, 39, .13);
  color: #626262;
  font-size: 14px;
}

.cookie img {
  width: 46px;
  margin-bottom: 10px;
}

.cookie .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}

.cookie a {
  color: var(--ink);
}

.form-page {
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(244, 248, 247, .96), rgba(244, 248, 247, .86)),
    url("/assets/img/kl0083_black_pattern_bacgkground_on_the_foreground_venture_ca_8a397a1c-ea68-4b9c-b5a7-e47f350d379c_1-1200x686.png") center / cover;
}

.form-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.signup-form input {
  min-height: 48px;
  width: 100%;
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  color: #5d5650;
  font: inherit;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--mint);
}

.signup-form button {
  grid-column: 1 / -1;
  width: 100%;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  :root {
    --nav: 0px;
  }

  .site-nav {
    inset: 0 0 auto 0;
    width: 100%;
    min-height: 74px;
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 22px;
    background: rgba(20, 50, 56, .97);
    backdrop-filter: blur(12px);
  }

  .site-nav .logo {
    width: 86px;
    margin: 0;
  }

  .nav-toggle {
    display: inline-flex;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border-color: rgba(122, 231, 199, .9);
    background: transparent;
  }

  .nav-toggle span,
  .nav-toggle:before,
  .nav-toggle:after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--mint);
  }

  .nav-toggle {
    gap: 4px;
    flex-direction: column;
  }

  .menu,
  .site-nav .nav-spacer,
  .site-nav > .button {
    display: none;
  }

  .site-nav.is-open {
    min-height: 100vh;
    align-items: flex-start;
  }

  .site-nav.is-open .menu,
  .site-nav.is-open > .button {
    position: absolute;
    left: 0;
    right: 0;
    display: grid;
  }

  .site-nav.is-open .menu {
    top: 115px;
    gap: 24px;
  }

  .site-nav.is-open > .button {
    width: fit-content;
    margin: 0 auto;
    top: 335px;
  }

  .page {
    margin-left: 0;
    padding-top: 74px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 118px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 62px 28px;
  }

  .hero-card {
    border-radius: 30px;
    background: rgba(101, 185, 161, .94);
  }

  .split,
  .split.reverse,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .split.reverse .media {
    order: 0;
  }

  .strategy-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .person {
    min-height: 480px;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section {
    padding-inline: 22px;
  }

  .hero-card {
    padding: 30px 26px;
  }

  .hero-card h1 {
    font-size: 42px;
  }

  .hero-card h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 15px;
  }

  .strategy-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .logo-tile {
    width: 142px;
    height: 142px;
  }
}

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

  .portfolio-track {
    animation: none;
  }
}
