@font-face {
  font-family: Mont;
  src: url("assets/montserrat-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0033ff;
  --dark: #16161c;
  --ink: #22212f;
  --mint: #9af3d4;
  --paper: #f3f3f3;
  --line: #d9d9dc;
  --rail: 180px;
  --pad: clamp(28px, 4.2vw, 72px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Mont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.header {
  height: 92px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.logo img {
  width: 146px;
  height: auto;
}

.header nav {
  display: flex;
  gap: 36px;
  font-size: 12px;
  font-weight: 600;
}

.header nav a,
.header-action {
  transition: color 0.2s;
}

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

.header-action {
  justify-self: end;
  font-size: 12px;
  font-weight: 650;
}

.header-action span {
  margin-left: 8px;
  color: var(--blue);
}

.menu {
  display: none;
  border: 0;
  background: transparent;
}

.menu i {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px;
  background: var(--dark);
}

.hero {
  height: calc(100dvh - 92px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(400px, 0.82fr);
  background: #eff5ff url("assets/gradient-dark.png") center/cover no-repeat;
}

.rail {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(22, 22, 28, 0.12);
  background: rgba(243, 243, 243, 0.82);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail span:last-child {
  align-self: flex-end;
}

.hero-copy {
  padding: 110px var(--pad) 70px;
  align-self: center;
}

.kicker {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--paper);
  max-width: 920px;
  margin: 0;
  font-size: clamp(58px, 4.6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 620;
}

.hero h1 strong {
  color: var(--paper);
  font-weight: 300;
}
.hero .kicker {
  color: var(--mint);
}

.lead {
  max-width: 580px;
  margin: 38px 0;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.75;
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    color 0.2s;
}
.primary-action:hover {
  color: var(--dark);
  background: var(--mint);
}
.hero .primary-action {
  color: var(--dark);
  background: #fff;
}
.hero .primary-action span {
  color: var(--blue);
}
.hero .primary-action:hover span {
  color: var(--dark);
}
.hero-image {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 20, 80, 0.65));
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: #fff;
  font-size: 9px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.manifesto {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  min-height: 640px;
}
.manifesto-body {
  padding: 130px var(--pad);
}
.manifesto h2 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 520;
}
.manifesto h2 strong {
  color: var(--blue);
  font-weight: 300;
}
.manifesto-foot {
  max-width: 1180px;
  margin-top: 84px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}
.manifesto-foot p {
  max-width: 340px;
  margin: 0;
  color: #6a6a73;
  line-height: 1.6;
}
.manifesto-foot span {
  font-weight: 650;
}
.work {
  padding: 140px var(--pad);
  background: var(--paper);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 540;
}
.section-head > p {
  max-width: 300px;
  margin: 0;
  color: #707079;
  font-size: 11px;
  line-height: 1.7;
}
.feature-case {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.55fr);
  gap: 40px;
  margin-bottom: 110px;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px 28px;
}
.case--wide {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
}
.case-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #e6e6e8;
}
.feature-case .case-media {
  aspect-ratio: 16/9;
}
.case--wide .case-media { aspect-ratio: 16/9; }
.case-placeholder {
  padding: clamp(24px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 48%),
    #dedee2;
  border: 1px solid #d1d1d6;
}
.case-placeholder::after {
  content: "";
  position: absolute;
  right: clamp(24px, 3vw, 48px);
  bottom: clamp(24px, 3vw, 48px);
  width: clamp(42px, 6vw, 84px);
  height: 1px;
  background: var(--blue);
}
.case-placeholder .placeholder-index {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.case-placeholder p {
  max-width: 680px;
  margin: auto 12% auto 0;
  font-size: clamp(24px, 3.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 430;
}
.service-cover {
  position: relative;
  container-type: inline-size;
  padding: clamp(24px, 3.2vw, 64px);
  display: block;
  color: #fff;
  background: #0033ff url("assets/service-cover-figma.png") center/cover no-repeat;
  border: 0;
  cursor: pointer;
  transition: transform 0.28s var(--ease), filter 0.28s var(--ease);
}
.service-cover:hover {
  filter: brightness(1.08);
  transform: translateY(-4px);
}
.cover-title { position: absolute; top: 9.7%; left: 5%; }
.cover-title p {
  margin: 0;
  font-size: clamp(23px, 7.3cqw, 92px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.04em;
}
.cover-footer { position: absolute; bottom: 5.4%; left: 5%; display: flex; gap: 9px; }
.cover-footer span {
  padding: 9px 12px;
  background: var(--blue);
  font-size: 9px;
  font-weight: 600;
}
.cover-footer span + span { color: var(--ink); background: var(--paper); border-radius: 999px; }
.service-cover > img {
  position: absolute;
  top: 82.5%;
  left: 73.3%;
  width: 22.9%;
  height: auto;
}
.case-copy {
  padding-top: 22px;
}
.feature-case .case-copy,
.case--wide .case-copy {
  align-self: end;
  padding: 0 0 6px;
}
.case-type {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.case h3,
.feature-case h3 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 560;
}
.case-copy > p:last-of-type {
  max-width: 490px;
  margin: 0;
  color: #666670;
  font-size: 11px;
  line-height: 1.7;
}
.case-copy ul {
  display: flex;
  gap: 6px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.case-copy li {
  padding: 6px 9px;
  border: 1px solid #cacacf;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.capabilities {
  display: grid;
  grid-template-columns: var(--rail) minmax(340px, 0.8fr) 1.15fr;
  min-height: 690px;
  color: #fff;
  background: var(--dark);
}
.rail--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
}
.capabilities-title {
  padding: 130px var(--pad);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.capabilities-title h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 520;
}
.capability-list {
  padding: 90px var(--pad);
}
.capability-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.capability-list article > span {
  color: var(--mint);
  font-size: 9px;
}
.capability-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 550;
}
.capability-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  line-height: 1.6;
}
.contact {
  min-height: 610px;
  padding: 70px var(--pad);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  align-items: center;
  color: #fff;
  background: #07113e url("assets/gradient-dark.png") center/cover no-repeat;
}
.contact-logo {
  width: 145px;
  height: auto;
  align-self: start;
}
.contact .kicker {
  color: var(--mint);
}
.contact h2 {
  margin: 0;
  font-size: clamp(52px, 6vw, 90px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 540;
}
.contact-side {
  align-self: end;
}
.contact-side p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.65;
}
.contact-form { display: grid; gap: 13px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label span { color: rgba(255,255,255,.58); font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-form input {
  width: 100%;
  padding: 10px 0;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.42);
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  transition: border-color .2s;
}
.contact-form input:focus { border-color: var(--mint); }
.contact-form .primary-action { justify-self: start; margin-top: 12px; border: 0; cursor: pointer; }
.primary-action--light {
  color: var(--dark);
  background: #fff;
}
.footer-line {
  height: 110px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #696972;
  background: #fff;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-line span:last-child {
  justify-self: end;
}
.blog-hero {
  min-height: 560px;
  padding: 130px var(--pad) 90px;
  color: #fff;
  background: #07113e url("assets/gradient-dark.png") center/cover no-repeat;
}
.blog-hero .kicker { color: var(--mint); }
.blog-hero h1,
.article h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(56px, 6.6vw, 104px);
  line-height: 0.93;
  letter-spacing: -0.065em;
  font-weight: 540;
}
.blog-hero h1 strong { font-weight: 300; }
.blog-hero > p:last-child { max-width: 460px; margin: 42px 0 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.blog-list { padding: 110px var(--pad) 150px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: var(--paper); }
.blog-card { min-height: 330px; padding: 32px; display: flex; flex-direction: column; color: var(--ink); border: 1px solid var(--line); background: #fff; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.blog-card:hover { color: #fff; background: var(--blue); transform: translateY(-5px); }
.blog-card span, .blog-card b { font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.blog-card h2 { max-width: 640px; margin: auto 0 24px; font-size: clamp(31px,3.3vw,50px); line-height: .98; letter-spacing: -.055em; font-weight: 540; }
.blog-card p { max-width: 430px; margin: 0 0 26px; color: #676770; font-size: 11px; line-height: 1.65; }
.blog-card:hover p { color: rgba(255,255,255,.7); }
.blog-card--featured { grid-column: 1/-1; min-height: 440px; color: #fff; background: #0033ff url("assets/service-cover-figma.png") center/cover; border: 0; }
.blog-card--featured p { color: rgba(255,255,255,.74); }
.article { padding: 96px var(--pad) 150px; background: var(--paper); }
.article-back { display: inline-block; margin-bottom: 86px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article h1 { max-width: 1200px; color: var(--ink); }
.article-lead { max-width: 680px; margin: 44px 0 80px; color: #595964; font-size: clamp(18px,1.7vw,25px); line-height: 1.5; }
.article-body { max-width: 720px; margin-left: 18%; font-size: 17px; line-height: 1.75; }
.article-body p { margin: 0 0 30px; }
.article-body h2 { margin: 58px 0 20px; font-size: clamp(31px,3.2vw,50px); line-height: 1; letter-spacing: -.05em; }
.article-body ul { margin: 0 0 30px; padding: 0; list-style: none; }
.article-body li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.case h3 a, .feature-case h3 a { transition: color .2s; }
.case h3 a:hover, .feature-case h3 a:hover { color: var(--blue); }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  :root {
    --rail: 110px;
  }
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero-copy {
    padding-left: 42px;
    padding-right: 42px;
  }
  .hero h1 {
    font-size: clamp(40px, 4.7vw, 48px);
    line-height: 0.94;
  }
  .manifesto-body {
    padding-left: 48px;
  }
  .capabilities {
    grid-template-columns: var(--rail) 0.9fr 1.1fr;
  }
  .contact {
    grid-template-columns: 1fr 2fr;
  }
  .contact-logo {
    grid-column: 1/-1;
  }
  .contact-side {
    align-self: center;
  }
}
@media (max-width: 720px) {
  :root {
    --rail: 0px;
    --pad: 20px;
  }
  .header {
    height: 76px;
    grid-template-columns: 1fr auto;
  }
  .logo img {
    width: 116px;
  }
  .header nav,
  .header-action {
    display: none;
  }
  .menu {
    display: block;
  }
  .header nav.is-open {
    position: fixed;
    z-index: 20;
    inset: 76px 0 0;
    display: flex;
    flex-direction: column;
    padding: 60px 24px;
    gap: 28px;
    background: #fff;
    font-size: 28px;
  }
  .hero {
    height: auto;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    background-position: center;
  }
  .rail {
    display: none;
  }
  .hero-copy {
    padding: 78px 20px 60px;
  }
  .hero h1 {
    font-size: clamp(38px, 10.8vw, 46px);
    line-height: 0.94;
    letter-spacing: -0.06em;
  }
  .lead {
    font-size: 13px;
  }
  .hero-image {
    height: auto;
    min-height: 470px;
  }
  .manifesto {
    display: block;
    min-height: auto;
  }
  .manifesto-body {
    padding: 90px 20px;
  }
  .manifesto h2 {
    font-size: 38px;
  }
  .manifesto-foot {
    margin-top: 54px;
    grid-template-columns: 1fr 1fr;
  }
  .manifesto-foot p {
    grid-column: 1/-1;
  }
  .work {
    padding: 90px 20px;
  }
  .section-head {
    display: block;
    margin-bottom: 50px;
  }
  .section-head h2 {
    font-size: 46px;
  }
  .section-head > p {
    margin-top: 25px;
  }
  .feature-case,
  .case--wide {
    display: block;
    margin-bottom: 76px;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }
  .case--wide {
    grid-column: auto;
  }
  .feature-case .case-media,
  .case--wide .case-media {
    aspect-ratio: 16/10;
  }
  .feature-case .case-copy,
  .case--wide .case-copy {
    padding-top: 22px;
  }
  .capabilities {
    display: block;
    min-height: auto;
  }
  .capabilities-title {
    padding: 90px 20px 50px;
    border-right: 0;
  }
  .capabilities-title h2 {
    font-size: 48px;
  }
  .capability-list {
    padding: 20px 20px 80px;
  }
  .contact {
    min-height: 620px;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
  }
  .contact h2 {
    font-size: 52px;
  }
  .contact-side {
    align-self: auto;
  }
  .contact-form { width: min(100%, 360px); }
  .footer-line {
    height: 130px;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }
  .footer-line span:last-child {
    align-self: auto;
  }
  .blog-hero { min-height: 480px; padding: 90px 20px 60px; }
  .blog-hero h1, .article h1 { font-size: 48px; }
  .blog-list { padding: 68px 20px 90px; grid-template-columns: 1fr; gap: 14px; }
  .blog-card, .blog-card--featured { grid-column: auto; min-height: 310px; padding: 24px; }
  .article { padding: 48px 20px 90px; }
  .article-back { margin-bottom: 60px; }
  .article-lead { margin: 30px 0 58px; font-size: 18px; }
  .article-body { margin-left: 0; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
