:root {
  --night: #0c0e12;
  --ink: #15181d;
  --text: #3b414b;
  --muted: #626975;
  --line: #e2e5ea;
  --paper: #ffffff;
  --paper-alt: #f5f6f8;
  --logo-blue: #5290F7;
  --logo-tetra-purple: #B952F7;
  --link: #2a62d6;
  --logo-gradient: linear-gradient(to right, var(--logo-blue), var(--logo-tetra-purple));
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-height: 72px;
  --radius: 10px;
  --section-space: clamp(72px, 10vw, 128px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
}
h3 {
  font-size: 1.375rem;
  line-height: 1.3;
}
p {
  margin: 0 0 1.1em;
}
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: var(--link);
  text-underline-offset: 0.18em;
}
:focus-visible {
  outline: 2px solid var(--logo-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--logo-gradient);
}
.eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.78);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.button:hover {
  border-color: var(--link);
  background: var(--link);
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.button--small {
  min-height: 40px;
  padding: 0 20px;
  font-size: 1rem;
}
.button--block {
  display: flex;
}
.button--light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.button--light:hover {
  border-color: var(--logo-blue);
  background: var(--logo-blue);
  color: var(--night);
}
.button--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}
.button--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
}
.arrow-link::after {
  content: '\2192';
  transition: transform 0.15s;
}
.arrow-link:hover {
  text-decoration: underline;
}
.arrow-link:hover::after {
  transform: translateX(4px);
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #fff;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.js .site-header {
  position: fixed;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
  backdrop-filter: saturate(180%) blur(12px);
}
.site-header.is-solid .brand__logo--on-dark,
.site-header.is-open .brand__logo--on-dark {
  display: none;
}
.site-header.is-solid .brand__logo--on-light,
.site-header.is-open .brand__logo--on-light {
  display: block;
}
.site-header.is-solid .button,
.site-header.is-open .button {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.site-header.is-solid .button:hover,
.site-header.is-open .button:hover {
  border-color: var(--link);
  background: var(--link);
}
.brand {
  flex: none;
}
.brand__logo {
  width: 148px;
}
.brand__logo--on-light {
  display: none;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 32px;
  font-size: 1.0625rem;
}
.site-nav a:not(.button) {
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  opacity: 0.86;
}
.site-nav a:not(.button):hover,
.site-nav a:not(.button)[aria-current] {
  opacity: 1;
  box-shadow: 0 2px 0 var(--logo-blue);
}
.site-nav .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.site-nav .button:hover {
  border-color: var(--logo-blue);
  background: var(--logo-blue);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.2s, background-color 0.2s;
}
.nav-toggle__bars {
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before {
  top: -7px;
}
.nav-toggle__bars::after {
  top: 7px;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 820px) {
  .js .nav-toggle {
    display: block;
  }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(12, 14, 18, 0.12);
  }
  .js .site-nav a:not(.button) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
  }
  .js .site-nav .button {
    margin-top: 20px;
  }
  .js .is-open {
    background: var(--paper);
  }
  .js .is-open .site-nav {
    display: flex;
  }
  .no-js .site-header {
    position: relative;
    background: var(--night);
  }
  .no-js .site-header__inner {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  min-height: min(100svh, 880px);
  padding-top: calc(var(--header-height) + 56px);
  background: var(--night);
  color: #fff;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(12, 14, 18, 0.82), rgba(12, 14, 18, 0.35) 75%), linear-gradient(to bottom, rgba(12, 14, 18, 0.7), rgba(12, 14, 18, 0.25) 45%, rgba(12, 14, 18, 0.94));
}
.hero h1 {
  max-width: 14ch;
  color: #fff;
}
.hero__content {
  max-width: 760px;
  padding-bottom: clamp(40px, 7vw, 72px);
}
.hero__lead {
  max-width: 38em;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero__facts dt {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}
.hero__facts dd {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .hero__facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + clamp(56px, 9vw, 104px)) 0 clamp(56px, 8vw, 96px);
  background: radial-gradient(60% 120% at 100% 0%, rgba(82, 144, 247, 0.22), transparent 70%), radial-gradient(50% 100% at 0% 100%, rgba(185, 82, 247, 0.14), transparent 70%), var(--night);
  color: #fff;
}
.page-hero h1 {
  max-width: 20ch;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}
.page-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 80px);
}
@media (max-width: 760px) {
  .page-hero__inner {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}
.page-hero__lead {
  max-width: 40em;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
}
.section {
  padding: var(--section-space) 0;
}
.section--alt {
  background: var(--paper-alt);
}
.section__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__lead {
  margin: 20px 0 0;
  font-size: 1.25rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 820px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.card .icon {
  margin-bottom: 20px;
  color: var(--link);
}
.card h3 {
  margin-bottom: 12px;
}
.card__background {
  margin: 4px 0 24px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card .arrow-link {
  margin-top: auto;
  align-self: flex-start;
}
.ticks {
  margin-bottom: 24px;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.ticks li {
  position: relative;
  padding: 6px 0 6px 26px;
}
.ticks li::before {
  content: '';
  position: absolute;
  top: 0.95em;
  left: 2px;
  width: 12px;
  height: 2px;
  background: var(--logo-blue);
}
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 48px) clamp(24px, 5vw, 72px);
  counter-reset: step;
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  padding-top: 24px;
  border-top: 1px solid #cdd2da;
  counter-increment: step;
}
.step::before {
  content: '0' counter(step);
  display: block;
  margin-bottom: 16px;
  color: var(--link);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.step h3 {
  margin-bottom: 12px;
}
.step p {
  margin: 0;
}
.callout {
  max-width: 760px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 24px 28px;
  border-left: 3px solid var(--logo-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
}
.callout strong {
  color: var(--ink);
  font-weight: 500;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.split h2 {
  margin-bottom: 24px;
}
.split--form {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.panel {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.panel__title {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.facts + .panel__title {
  margin-top: 28px;
}
.panel__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.panel .button {
  margin-top: 24px;
}
.portrait {
  flex: none;
  border-radius: 50%;
}
.portrait--large {
  width: 176px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}
@media (max-width: 760px) {
  .portrait--large {
    width: 112px;
  }
}
.profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.profile .portrait {
  width: 64px;
}
.profile p {
  margin: 0;
  line-height: 1.35;
}
.profile__name {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 500;
}
.profile__role {
  color: var(--muted);
  font-size: 1rem;
}
.facts {
  font-size: 1.0625rem;
  line-height: 1.45;
}
.facts > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  color: var(--ink);
}
.facts--stacked > div {
  display: block;
}
.facts--stacked dt {
  font-size: 0.875rem;
}
.contact-details {
  margin-top: 32px;
  font-size: 1.0625rem;
}
.contact-details li {
  padding: 14px 0;
  border-top: 1px solid #d5d9e0;
}
.contact-details li:empty {
  display: none;
}
.contact-details__label {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 8px;
}
.contact-form__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 20px;
}
@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}
.field__optional {
  color: var(--muted);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c3c9d2;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--logo-blue);
  outline-offset: 1px;
  border-color: var(--link);
}
.field textarea {
  resize: vertical;
}
.was-validated .field :invalid {
  border-color: #c0392b;
}
.field--trap {
  position: absolute;
  left: -9999px;
}
.form-status {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--ink);
  font-size: 1.0625rem;
}
.form-status[hidden] {
  display: none;
}
.form-status.is-error {
  background: #fdf0ee;
}
.form-status.is-success {
  background: #ecf8f0;
}
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.about__aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
@media (max-width: 980px) {
  .about {
    grid-template-columns: 1fr;
  }
  .about__aside {
    position: static;
    order: -1;
  }
}
.block {
  max-width: 44em;
}
.block + .block {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
}
.block h2 {
  margin-bottom: 24px;
}
.block__subtitle {
  margin: -12px 0 24px;
  color: var(--muted);
  font-size: 1.125rem;
}
.block__note {
  color: var(--muted);
  font-size: 1rem;
}
.project {
  margin-top: 40px;
}
.project h3 {
  font-size: 1.5rem;
}
.project__where {
  margin: 6px 0 16px;
  color: var(--muted);
  font-size: 1rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-alt);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.timeline {
  margin-top: 8px;
  border-left: 1px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 36px 28px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--logo-blue);
}
.timeline h3 {
  margin-bottom: 8px;
}
.timeline p:last-child {
  margin-bottom: 0;
}
.timeline__dates {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timeline__company {
  color: var(--muted);
  font-weight: 400;
}
.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.skills h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}
@media (max-width: 640px) {
  .skills {
    grid-template-columns: 1fr;
  }
}
.cta {
  text-align: center;
}
.cta h2 {
  margin-bottom: 16px;
}
.cta p {
  margin-bottom: 32px;
}
.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  background: var(--night);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px clamp(32px, 6vw, 80px);
}
.site-footer__grid p {
  max-width: 26em;
  margin: 20px 0 0;
}
.site-footer__grid li {
  padding: 4px 0;
}
@media (max-width: 760px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
.site-footer__logo {
  width: 148px;
}
.site-footer__heading {
  margin-bottom: 12px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer__legal {
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9375rem;
}
