/* ==========================================================================
   Fonts
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Hepta Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/heptaslab-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Hepta Slab";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/heptaslab-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/geist-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/geist-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
  /* Colors */
  --hb-blue: #122cc3;
  --dark-blue: #000e67;
  --darker-blue: #08103f;
  --panel-blue: #050e2d;
  --background-dark: #0c1231;
  --text-gray: #e1e4e9;
  --text-soft: #e8eaf6;
  --text-softer: #dee2f4;
  --strokes: #cfd6ef;
  --offwhite: #f9f7fc;
  --white: #fff;

  /* Radii */
  --radius-big: 20px;
  --radius-medium: 12px;

  /* Spacing */
  --p-xxs: clamp(8px, -1.143px + 0.8929vw, 16px);
  --p-xs: clamp(16px, 6.857px + 0.8929vw, 24px);
  --p-s: clamp(20px, -2.857px + 2.2321vw, 40px);
  --p-m: clamp(40px, 17.143px + 2.2321vw, 60px);
  --p-l: clamp(60px, 14.286px + 4.4643vw, 100px);
  --p-xl: clamp(80px, 11.429px + 6.6964vw, 140px);
  --p-xxl: clamp(100px, 8.571px + 8.9286vw, 180px);
  --p-xxxl: 200px;

  /* Type scale */
  --fs-display: clamp(100px, 54.286px + 4.4643vw, 140px);
  --fs-h1: clamp(90px, 55.714px + 3.3482vw, 120px);
  --fs-h2: clamp(64px, 54.857px + 0.8929vw, 72px);
  --fs-h3: clamp(40px, 24px + 1.5625vw, 54px);
  --fs-h4: clamp(32px, 18.286px + 1.3393vw, 44px);
  --fs-body-l: clamp(22px, 10.571px + 1.1161vw, 32px);
  --fs-body: clamp(20px, 15.429px + 0.4464vw, 24px);
  --fs-body-s: clamp(16px, 11.429px + 0.4464vw, 20px);
  --fs-sp-l: clamp(28px, 5.143px + 2.2321vw, 48px);
  --fs-sp: clamp(24px, 17.143px + 0.6696vw, 30px);
  --fs-sp-s: clamp(18px, 15.714px + 0.2232vw, 20px);
  --fs-sp-xs: 17px;
  --fs-contact: 29px;
  --fs-button: 22px;

  /* Component sizes */
  --hero-media-h: clamp(480px, 114.286px + 35.7143vw, 800px);
  --card-img-h: clamp(400px, 194.286px + 20.0893vw, 580px);
  --works-row-h: clamp(860px, 585.714px + 26.7857vw, 1100px);
  --steps-h: clamp(740px, 442.857px + 29.0179vw, 1000px);
  --edge-tile: clamp(100px, 54.286px + 4.4643vw, 140px);
  --edge-icon: clamp(60px, 37.143px + 2.2321vw, 80px);
  --edge-pl: clamp(160px, 114.286px + 4.4643vw, 200px);
  --edge-img-h: clamp(340px, 65.714px + 26.7857vw, 580px);
  --grid-gap: clamp(16px, 6.857px + 0.8929vw, 24px);
  --header-h: 124px;
  --section-gap: var(--p-xxl);

  /* Easing */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Font stacks */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-slab: "Hepta Slab", Georgia, serif;
  --font-geist: "Geist", "Helvetica Neue", Arial, sans-serif;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--white);
  color: var(--dark-blue);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  font-weight: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 2px solid var(--hb-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--hb-blue);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 4000px;
  font-family: var(--font-slab);
  text-transform: uppercase;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Lenis (smooth scroll) overrides
   ========================================================================== */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* ==========================================================================
   Typography utilities
   ========================================================================== */

.t-display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -.02em;
}

.t-h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.t-h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.t-h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.t-h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.t-body-l {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-body-l);
  line-height: 1.4;
}

.t-body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.4;
}

.t-body-bold {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1.5;
}

.t-body-s {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body-s);
  line-height: 1.2;
  letter-spacing: .01em;
}

.t-sp-l,
.t-sp,
.t-sp-s,
.t-sp-xs {
  font-family: var(--font-slab);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.t-sp-l {
  font-size: var(--fs-sp-l);
  line-height: 1.4;
}

.t-sp {
  font-size: var(--fs-sp);
  line-height: 1.4;
}

.t-sp-s {
  font-size: var(--fs-sp-s);
  line-height: normal;
}

.t-sp-xs {
  font-size: var(--fs-sp-xs);
  line-height: normal;
}

.c-blue {
  color: var(--hb-blue);
}

.c-dark {
  color: var(--dark-blue);
}

.nowrap {
  white-space: nowrap;
}

/* ==========================================================================
   Links, buttons, pills
   ========================================================================== */

.link {
  transition: color .25s ease;
}

.link:hover {
  color: var(--hb-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 56px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 2000px;
  background: var(--hb-blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-button);
  line-height: 24px;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn:hover {
  background: var(--white);
  border-color: var(--hb-blue);
  color: var(--hb-blue);
  box-shadow: inset 0 -4px 0 rgba(18, 44, 195, .5);
}

.btn:active {
  background: var(--dark-blue);
  border-color: var(--hb-blue);
  color: var(--offwhite);
  box-shadow: inset 0 4px 0 rgba(0, 0, 0, .5);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border: 2px solid var(--hb-blue);
  border-radius: 4000px;
  background: var(--hb-blue);
  color: var(--white);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.pill:hover {
  background: var(--white);
  color: var(--hb-blue);
  box-shadow: inset 0 -4px 0 rgba(18, 44, 195, .5);
}

.pill:active {
  background: var(--dark-blue);
  color: var(--offwhite);
  box-shadow: inset 0 4px 0 rgba(0, 0, 0, .5);
}

/* ==========================================================================
   Site header / navigation / mobile menu
   ========================================================================== */

.site-header,
.site-footer,
.contact-sheet__panel {
  color: var(--dark-blue);
}

.site-header {
  position: relative;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 24px var(--p-l) 16px;
  background: var(--white);
  border-radius: 0 0 var(--radius-big) var(--radius-big);
  transition: box-shadow .3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 14, 103, .08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  max-width: 2616px;
}

.site-header__logo {
  display: block;
  width: 79px;
  height: 84px;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--p-m);
  padding-top: 16px;
}

.site-nav__follow img {
  transition: transform .3s var(--ease-out);
}

.site-nav__follow:hover img {
  transform: scale(1.1);
}

.site-nav__follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav__follow img {
  width: 24px;
  height: 24px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  height: 5px;
  background: var(--hb-blue);
  transition: transform .45s var(--ease-out), top .45s var(--ease-out), left .45s var(--ease-out), width .45s var(--ease-out);
}

.menu-toggle span:nth-child(1) {
  left: 6.667px;
  top: 13.333px;
  width: 28.333px;
}

.menu-toggle span:nth-child(2) {
  left: 15px;
  top: 21.667px;
  width: 20px;
}

.menu-open .menu-toggle span {
  left: 5.5px;
  top: 17.5px;
  width: 29px;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 99;
  top: 80px;
  right: 16px;
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 47px 32px;
  background: var(--background-dark);
  color: var(--white);
  border-radius: var(--radius-big);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(.98);
  transform-origin: top right;
  transition: opacity .3s ease, transform .45s var(--ease-out), visibility 0s linear .45s;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mobile-menu__links {
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding-top: 16px;
}

.mobile-menu__links .pill {
  width: 100%;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.page {
  padding-top: calc(var(--header-h) + var(--section-gap));
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.px-xl {
  padding-inline: var(--p-xl);
}

.px-l {
  padding-inline: var(--p-l);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--p-s);
}

.section-head__rule {
  flex: 1 0 0;
  min-width: 110px;
  height: 2px;
  background: currentColor;
  transform-origin: left center;
}

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--p-s);
}

.split-head__title {
  flex: 1 0 0;
  min-width: 480px;
}

.split-head__text {
  flex: 1 0 0;
  min-width: 360px;
  padding-top: 24px;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-big);
  background: #e9ecf6;
}

.media > picture,
.media > img {
  display: block;
  width: 100%;
  height: 100%;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
  margin-top: var(--section-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--p-m);
  padding: var(--p-l);
  background: var(--white);
  border-radius: var(--radius-big) var(--radius-big) 0 0;
}

.site-footer > * {
  width: 100%;
  max-width: 2616px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--p-s);
}

.site-footer__talk {
  flex: 1 0 0;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 39px;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: var(--fs-contact);
  line-height: 44px;
  white-space: nowrap;
}

.site-footer__nav {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
}

.site-footer__nav ul {
  width: 200px;
  height: 236px;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.site-footer__logo {
  width: 100%;
  padding-top: var(--p-xxl);
  overflow: hidden;
}

.site-footer__logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4197.9 / 696.46;
}

.site-footer__legal {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 24px;
}

.site-footer__copy {
  min-width: 360px;
  font-family: var(--font-geist);
  font-weight: 300;
  font-size: 24px;
  line-height: 44px;
  white-space: nowrap;
}

.site-footer__craft {
  min-width: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  white-space: nowrap;
}

.site-footer__craft img {
  height: 1.4em;
  width: auto;
  aspect-ratio: 46 / 48.36;
}

/* ==========================================================================
   Contact sheet (slide-up panel)
   ========================================================================== */

.contact-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: flex-end;
  visibility: hidden;
  transition: visibility 0s linear .7s;
}

.contact-sheet.is-open {
  visibility: visible;
  transition-delay: 0s;
}

.contact-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.contact-sheet__panel {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 140px var(--p-xl) 80px;
  background: var(--white);
  border-radius: var(--radius-big) var(--radius-big) 0 0;
  box-shadow: 0 -19px 27.7px rgba(0, 14, 103, .2);
  transform: translateY(105%);
  transition: transform .7s var(--ease-out);
}

.contact-sheet__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 10px 0 var(--hb-blue);
  pointer-events: none;
}

.contact-sheet.is-open .contact-sheet__panel {
  transform: none;
}

.contact-sheet__inner {
  width: 100%;
  max-width: 2680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.contact-sheet__title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 482px;
}

.contact-sheet__row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 16px 24px;
  border: 1px solid var(--strokes);
  border-radius: 4000px;
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: var(--fs-contact);
  line-height: 44px;
  white-space: nowrap;
}

.contact-sheet__close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 32px;
  height: 32px;
  transition: transform .4s var(--ease-out);
}

.contact-sheet__close:hover {
  transform: rotate(90deg);
}

.contact-sheet__close img {
  width: 100%;
  height: 100%;
}

html.sheet-open {
  overflow: hidden;
}

/* ==========================================================================
   Global responsive: tablet (<= 1023px)
   ========================================================================== */

@media (max-width: 1023px) {
  :root {
    --p-xxs: 8px;
    --p-xs: 16px;
    --p-s: 20px;
    --p-m: 40px;
    --p-l: 60px;
    --p-xl: 80px;
    --p-xxl: 100px;
    --fs-display: 100px;
    --fs-h1: 90px;
    --fs-h2: 64px;
    --fs-h3: 40px;
    --fs-h4: 32px;
    --fs-body-l: 22px;
    --fs-body: 20px;
    --fs-body-s: 16px;
    --fs-sp-l: 28px;
    --fs-sp: 24px;
    --fs-sp-s: 18px;
    --fs-sp-xs: 17px;
    --hero-media-h: 480px;
    --card-img-h: 400px;
    --works-row-h: auto;
    --steps-h: 740px;
    --edge-tile: 100px;
    --edge-icon: 60px;
    --edge-pl: 0px;
    --edge-img-h: 340px;
    --grid-gap: 16px;
    --header-h: 70px;
  }

  .site-header {
    height: 70px;
    padding: 0 32px;
    align-items: center;
    border-radius: 0;
  }

  .site-header__logo {
    width: 38px;
    height: 40px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .split-head__title {
    min-width: min(480px, 100%);
  }

  .split-head__text {
    min-width: 280px;
  }
}

/* ==========================================================================
   Global responsive: mobile (<= 767px)
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --p-xxs: 4px;
    --p-xs: 4px;
    --p-s: 8px;
    --p-m: 20px;
    --p-l: 32px;
    --p-xl: 40px;
    --p-xxl: 80px;
    --fs-display: min(58px, 13.1818vw);
    --fs-h1: min(54px, 12.2727vw);
    --fs-h2: min(40px, 9.0909vw);
    --fs-h3: min(32px, 7.2727vw);
    --fs-h4: min(28px, 6.3636vw);
    --fs-body-l: 18px;
    --fs-body: 16px;
    --fs-body-s: 13px;
    --fs-sp-l: min(22px, 5vw);
    --fs-sp: 18px;
    --fs-sp-s: 15px;
    --fs-sp-xs: 13px;
    --hero-media-h: 280px;
    --card-img-h: 340px;
    --steps-h: 720px;
    --edge-icon: 48px;
    --grid-gap: 20px;
  }

  .page {
    padding-top: 60px;
  }

  .split-head {
    flex-direction: column;
    gap: 8px;
  }

  .split-head__title,
  .split-head__text {
    min-width: 0;
    width: 100%;
    flex: none;
  }

  .site-footer {
    gap: 20px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 8px;
  }

  .site-footer__talk {
    min-width: 0;
    width: 100%;
    flex: none;
  }

  .site-footer__nav {
    width: 100%;
    flex: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__nav ul {
    width: auto;
  }

  .site-footer__legal {
    row-gap: 4px;
    justify-content: center;
  }

  .site-footer__copy,
  .site-footer__craft {
    min-width: 0;
  }

  .site-footer__copy {
    width: 100%;
    text-align: center;
  }

  .site-footer__craft {
    width: 100%;
    justify-content: center;
    gap: 16px;
    font-size: min(var(--fs-sp), calc((100vw - 120px) * .0625));
  }

  .site-footer__craft img {
    height: 25px;
  }

  .contact-sheet__panel {
    padding: 100px 32px 40px;
  }

  .contact-sheet__row {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius-big);
    font-size: 22px;
    line-height: 34px;
  }

  .contact-sheet__close {
    top: 32px;
    right: 32px;
  }
}

/* Very small phones (<= 359px) */
@media (max-width: 359px) {
  .site-footer__contact {
    font-size: min(var(--fs-contact), 7.6vw);
  }

  .site-footer__copy {
    font-size: min(24px, 6.4vw);
  }
}

/* ==========================================================================
   Home: hero
   ========================================================================== */

.hero {
  display: flex;
  flex-direction: column;
  gap: var(--p-m);
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 60px var(--p-xl) 0;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--p-xs);
  padding: 8px 0 0 4px;
  white-space: nowrap;
}

.hero__tags {
  display: flex;
  justify-content: flex-end;
  padding-right: var(--p-xl);
}

.hero__tags ul {
  display: inline-grid;
  grid-template-columns: repeat(3, 120px);
  gap: var(--p-xs);
  white-space: nowrap;
}

.hero__media {
  padding-inline: var(--p-l);
}

.hero__media .media {
  height: var(--hero-media-h);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__visual img {
    animation: hero-zoom 1.8s var(--ease-out) both;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
}

/* ==========================================================================
   Home: intro
   ========================================================================== */

.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--p-xl);
}

.intro__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 77px;
  flex: 1 0 0;
  min-width: 400px;
}

.intro__lead p {
  flex: 1 0 0;
  min-width: 360px;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.avatars > * + * {
  margin-left: -15px;
}

.intro__services {
  display: flex;
  gap: var(--p-xs);
  flex: 1 0 0;
  min-width: 400px;
  white-space: nowrap;
}

.intro__services ul {
  display: flex;
  flex-direction: column;
  gap: var(--p-xs);
  flex: 1 0 0;
}

/* ==========================================================================
   Home: dark section wrapper + "edge" (features)
   ========================================================================== */

.dark {
  background: var(--darker-blue);
  /*padding-inline: var(--p-s);*/
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--p-xxl);
}

.dark > *,
.dark > .projects > * {
  width: 100%;
}

.edge {
  background: var(--white);
  border-radius: 0 0 var(--radius-big) var(--radius-big);
  padding: var(--p-xl) var(--p-xl) var(--p-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.edge__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--p-m);
  max-width: 2400px;
}

.edge .section-head {
  gap: var(--fs-h4);
  padding-block: var(--p-s);
  color: var(--dark-blue);
}

.edge .section-head h2 {
  min-width: 240px;
  white-space: nowrap;
}

.edge__cta {
  display: none;
}

.feature {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 60px;
}

.feature__icon {
  flex-shrink: 0;
  width: var(--edge-tile);
  height: var(--edge-tile);
  border-radius: var(--radius-big);
  background: var(--hb-blue);
  display: grid;
  place-items: center;
}

.feature__icon img {
  width: var(--edge-icon);
  height: var(--edge-icon);
}

.feature__text {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--p-s);
  flex: 1 0 0;
  min-width: 360px;
}

.feature__text h3 {
  width: 400px;
  min-width: 360px;
  max-width: 100%;
}

.feature__text p {
  flex: 1 0 0;
  min-width: 360px;
}

.feature__text--tight {
  column-gap: var(--p-xs);
}

.edge__visual {
  padding-left: var(--edge-pl);
}

.edge__visual-inner {
  position: relative;
  height: calc(var(--edge-img-h) + 60px);
  padding-right: var(--p-l);
}

.edge__visual-inner .media--main {
  height: var(--edge-img-h);
}

.edge__visual-inner .media--float {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 12.5%;
  width: 400px;
}

/* ==========================================================================
   Home: projects / works
   ========================================================================== */

.projects-head {
  max-width: 2616px;
  padding: var(--p-s) var(--p-xl);
  color: var(--white);
}

.projects-head .section-head__rule {
  background: var(--hb-blue);
  min-width: 1px;
}

.projects-head h2 {
  white-space: nowrap;
}

.projects-cta {
  display: none;
}

.works {
  display: flex;
  flex-direction: column;
  gap: var(--p-xxl);
  max-width: 2616px;
  padding-inline: var(--p-xl);
}

.works__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-xl);
}

.works__row--top {
  height: var(--works-row-h);
  align-items: flex-start;
}

.works__row--mid {
  height: var(--works-row-h);
  align-items: stretch;
}

.works__row--indent-l {
  padding-left: var(--p-xxl);
}

.works__row--indent-r {
  padding-right: var(--p-xxl);
}

.works__col {
  display: flex;
  flex-direction: column;
  flex: 1 0 0;
  min-width: 360px;
}

.works__col--stack {
  gap: var(--p-xl);
  align-items: flex-end;
}

.works__col--end {
  justify-content: flex-end;
}

.works__intro {
  width: 100%;
  color: var(--text-soft);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  color: var(--white);
}

.work-card .media {
  height: var(--card-img-h);
  background: #121a4d;
}

.work-card .media img {
  transition: transform 1.2s var(--ease-out);
}

.work-card:hover .media img {
  transform: scale(1.04);
}

.work-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--p-xs);
}

.work-card__title {
  white-space: nowrap;
  transition: color .3s ease;
}

.work-card:hover .work-card__title {
  color: var(--text-soft);
}

.work-card__desc {
  color: var(--text-soft);
}

.tags {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 1px;
  overflow: hidden;
  color: var(--text-gray);
  white-space: nowrap;
}

.tags__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.tags ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tags li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tags li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: url(../images/dot.svg) center / 4px 4px no-repeat;
}

/* ==========================================================================
   Home: process / steps
   ========================================================================== */

.process-intro {
  background: var(--white);
  border-radius: var(--radius-big) var(--radius-big) 0 0;
  max-width: 2616px;
  padding: var(--p-xxl) var(--p-xl) 0;
}

.process-intro .split-head {
  max-width: 2400px;
}

.steps {
  padding-inline: var(--p-m);
}

.steps__panel {
  position: relative;
  height: var(--steps-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-big);
  background:
    linear-gradient(var(--panel-blue), var(--panel-blue)) var(--radius-big) 0 / calc(100% - 2 * var(--radius-big)) 100% no-repeat,
    linear-gradient(var(--panel-blue), var(--panel-blue)) 0 var(--radius-big) / 100% calc(100% - var(--radius-big)) no-repeat;
  isolation: isolate;
}

.steps__tabs {
  display: flex;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.step-tab {
  position: relative;
  flex: 1 0 0;
  min-width: 1px;
  height: clamp(160px, 137.143px + 2.2321vw, 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: var(--p-xs);
  background: var(--white);
  color: var(--dark-blue);
  border-radius: 0 0 var(--radius-big) var(--radius-big);
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out);
}

.step-tab:not([aria-selected="true"]):hover {
  background: var(--offwhite);
}

.step-tab[aria-selected="true"] {
  background: var(--panel-blue);
  color: var(--white);
  cursor: default;
}

.step-tab__icon {
  position: relative;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.step-tab__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .35s ease, transform .5s var(--ease-out);
}

.step-tab__icon img:last-child {
  opacity: 0;
}

.step-tab:hover .step-tab__icon img {
  transform: translateY(-3px);
}

.step-tab[aria-selected="true"] .step-tab__icon img:first-child {
  opacity: 0;
}

.step-tab[aria-selected="true"] .step-tab__icon img:last-child {
  opacity: 1;
}

.step-tab__num {
  position: absolute;
  left: 20px;
  top: 16px;
  opacity: .6;
}

.step-tab__progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  height: 2px;
  background: rgba(255, 255, 255, .15);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
}

.step-tab__progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.step-tab[aria-selected="true"] .step-tab__progress {
  opacity: 1;
}

.steps__views {
  position: relative;
  flex: 1 0 0;
  min-height: 1px;
}

.step-view {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 10px;
  padding: var(--p-xl) var(--p-l) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}

.step-view.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.step-view__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.step-view__bg picture,
.step-view__bg img {
  width: 100%;
  height: 100%;
}

.step-view__bg img {
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
}

.step-view.is-active .step-view__bg img {
  transform: none;
}

.step-view__body {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: var(--p-xxl);
}

.step-view h3 {
  color: var(--white);
}

.step-nav {
  display: flex;
  gap: 8px;
}

.step-nav button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-medium);
  background: #0f1b45;
  color: var(--white);
  transition: background-color .3s ease, color .3s ease;
}

.step-nav button:hover {
  background: var(--hb-blue);
}

.step-nav svg {
  width: 24px;
  height: 24px;
}

.step-nav [data-step="-1"] svg {
  transform: scaleX(-1);
}

.step-view::after {
  content: "";
  flex: 1 0 0;
}

/* ==========================================================================
   Home: services / perks / clients
   ========================================================================== */

.services {
  background: var(--white);
  border-bottom: 2px solid var(--strokes);
  border-radius: var(--radius-big) var(--radius-big) 0 0;
  overflow: clip;
  padding: 0 var(--p-xl) var(--p-xl);
}

.services__inner {
  display: flex;
  flex-direction: column;
  gap: var(--p-l);
}

.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--p-m) 24px;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer__pkg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.offer__pkg img {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  flex-shrink: 0;
  transition: transform .35s var(--ease-out);
}

.offer:hover .offer__pkg img {
  transform: translateX(4px);
}

.perks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--p-l);
  padding-top: var(--p-m);
}

.perk {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1 0 0;
  min-width: 240px;
}

.perk__icon {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border: 2px solid var(--strokes);
  border-radius: var(--radius-big);
  display: grid;
  place-items: center;
  transition: border-color .35s ease, transform .5s var(--ease-out);
}

.perk:hover .perk__icon {
  border-color: var(--hb-blue);
  transform: translateY(-4px);
}

.perk__icon img {
  width: 80px;
  height: 80px;
}

.perk__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clients {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.clients__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clients__body {
  display: flex;
  flex-direction: column;
  gap: var(--p-xxxl);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--p-l);
  width: 580px;
  max-width: 100%;
  flex-shrink: 0;
}

.testimonial__slides {
  display: grid;
}

.testimonial__slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: var(--p-l);
  transition: opacity .5s ease, transform .6s var(--ease-out), visibility 0s;
}

.testimonial__slide.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .6s var(--ease-out), visibility 0s linear .3s;
}

.testimonial__foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.testimonial__who {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 251px;
  white-space: nowrap;
}

.testimonial__arrows {
  display: flex;
  gap: 8px;
}

.arrow-btn {
  width: 50px;
  height: 50px;
  padding: 8px;
  display: grid;
  place-items: center;
  background: var(--offwhite);
  border-radius: var(--radius-medium);
  transition: background-color .25s ease, transform .25s ease;
}

.arrow-btn:hover {
  background: var(--strokes);
}

.arrow-btn:active {
  transform: scale(.94);
}

.arrow-btn img {
  width: 24px;
  height: 24px;
}

.arrow-btn--prev img {
  transform: scaleX(-1);
}

.logos {
  flex: 1 0 0;
  min-width: 1px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.logos li {
  width: 160px;
  height: 160px;
  overflow: hidden;
}

.logos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}

.logos li:hover img {
  transform: scale(1.06);
}

@media (min-width: 1600px) {
  .clients__body {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--p-xxl);
  }

  .testimonial {
    width: 543px;
    padding-top: 40px;
  }
}

/* ==========================================================================
   Home: blog teaser ("bolt")
   ========================================================================== */

.bolt-wrap {
  padding-inline: var(--p-s);
}

.bolt {
  max-width: 2616px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 100px var(--p-l) 108px;
  background: var(--darker-blue);
  border-radius: var(--radius-big);
  color: var(--white);
  overflow: hidden;
}

.bolt__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bolt__body {
  display: flex;
  gap: var(--p-l);
  align-items: flex-start;
}

.bolt__thumb {
  position: relative;
  flex-shrink: 0;
  width: 479px;
  height: 495px;
  border-radius: 20px;
  overflow: hidden;
  background: #121a4d;
}

.bolt__thumb picture {
  position: absolute;
  inset: 0;
  transition: opacity .5s ease;
}

.bolt__thumb picture.is-hidden {
  opacity: 0;
}

.bolt__thumb img {
  position: absolute;
  max-width: none;
}

.bolt__thumb .crop-1 {
  width: 150.94%;
  height: 219.06%;
  left: -11.27%;
  top: -72.36%;
}

.bolt__list {
  flex: 1 0 0;
  min-width: 1px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.post-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 8px 12px;
}

.post-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--hb-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-out);
}

.post-line__title {
  color: var(--text-softer);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-line__meta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  white-space: nowrap;
}

.post-line__more {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 0;
  margin-left: -32px;
  overflow: hidden;
  opacity: 0;
  transition: max-width .6s var(--ease-out), margin .6s var(--ease-out), opacity .35s ease;
}

.post-line__arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transform: translateX(-12px);
  transition: transform .6s var(--ease-out);
}

.post-line.is-active::after {
  transform: scaleX(1);
}

.post-line.is-active .post-line__more {
  max-width: 160px;
  margin-left: 0;
  opacity: 1;
}

.post-line.is-active .post-line__arrow {
  transform: none;
}

/* ==========================================================================
   Home: responsive (<= 1279px)
   ========================================================================== */

@media (max-width: 1279px) {
  .step-view {
    padding-top: var(--p-l);
  }

  .step-view__body {
    padding-bottom: var(--p-l);
  }

  .avatars {
    display: none;
  }

  .edge__visual-inner {
    height: var(--edge-img-h);
  }

  .edge__visual-inner .media--float {
    display: none;
  }

  .bolt__thumb {
    display: none;
  }
}

/* ==========================================================================
   Home: responsive (<= 1023px)
   ========================================================================== */

@media (max-width: 1023px) {
  .works__row {
    height: auto;
  }

  .works__row--indent-l,
  .works__row--indent-r {
    padding-inline: 0;
  }

  .works__col {
    min-width: 280px;
  }

  .feature__text {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .feature__text h3,
  .feature__text p {
    width: auto;
    min-width: 0;
  }
}

/* ==========================================================================
   Home: responsive (<= 767px)
   ========================================================================== */

@media (max-width: 767px) {
  .hero {
    gap: 40px;
  }

  .hero__title {
    gap: 0;
  }

  .hero__sub-first {
    display: none;
  }

  .hero__tags {
    justify-content: center;
    padding-right: 0;
  }

  .hero__tags ul {
    grid-template-columns: repeat(3, minmax(0, 120px));
  }

  .intro {
    gap: 40px;
  }

  .intro__lead,
  .intro__services,
  .intro__lead p {
    min-width: 0;
    flex-basis: 100%;
  }

  .intro__services {
    flex-wrap: nowrap;
  }

  .edge {
    padding: 32px 32px 40px;
  }

  .edge__inner {
    gap: 32px;
  }

  .edge .section-head {
    padding-block: 8px;
  }

  .edge .section-head h2 {
    min-width: 0;
  }

  .edge .section-head__rule,
  .edge .section-head .btn {
    display: none;
  }

  .edge__cta {
    display: inline-flex;
    margin-top: 32px;
  }

  .feature {
    flex-direction: column;
    gap: 32px;
  }

  .feature__icon {
    width: 84px;
    height: 72px;
  }

  .feature__text {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    width: 100%;
  }

  .feature__text h3 {
    width: auto;
    min-width: 0;
  }

  .edge__visual {
    display: none;
  }

  .dark {
    gap: 80px;
  }

  .projects-head {
    padding: 8px 32px;
  }

  .projects-head .section-head__rule,
  .projects-head .btn {
    display: none;
  }

  .projects-head h2 {
    white-space: normal;
  }

  .projects-cta {
    display: flex;
    justify-content: center;
  }

  .works {
    gap: 80px;
  }

  .works__row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 80px;
  }

  .works__col {
    min-width: 0;
    width: 100%;
    height: auto;
    flex: none;
  }

  .works__col--stack {
    gap: 0;
  }

  .works__intro {
    display: none;
  }

  .work-card__info {
    gap: 4px;
  }

  .work-card__title {
    white-space: normal;
  }

  .tags {
    min-height: 26px;
    align-items: flex-start;
  }

  .tags__icon {
    margin-top: -4px;
  }

  .tags ul {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .process-intro {
    padding: 80px 32px 0;
  }

  .steps__tabs {
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .steps__tabs::-webkit-scrollbar {
    display: none;
  }

  .step-tab {
    flex: 0 0 132px;
    height: 120px;
    gap: 4px;
    scroll-snap-align: start;
  }

  .step-tab__icon {
    width: 40px;
    height: 40px;
  }

  .step-tab .t-sp-s {
    font-size: var(--fs-sp-xs);
  }

  .step-view {
    flex-direction: column;
    padding: 40px 32px 0;
  }

  .step-view::after {
    display: none;
  }

  .step-view__body {
    flex: none;
    height: 275px;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 0;
  }

  .step-view h3 {
    font-size: var(--fs-h4);
  }

  .step-nav button {
    width: 40px;
    height: 40px;
  }

  .step-nav svg {
    width: 20px;
    height: 20px;
  }

  .step-view__bg {
    inset: auto;
    left: -67.53%;
    top: 41.85%;
    width: 167.56%;
    height: 58.18%;
  }

  .services {
    padding: 0 40px 40px;
    border-bottom-color: var(--dark-blue);
  }

  .services__inner {
    gap: 32px;
  }

  .offers {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .offer__pkg img {
    width: 16px;
    height: 16px;
    margin-top: 4px;
  }

  .perks {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 32px;
    padding-top: 20px;
  }

  .perk {
    gap: 20px;
    min-width: 0;
  }

  .perk__icon {
    width: 80px;
    height: 80px;
  }

  .perk__icon img {
    width: 48px;
    height: 48px;
  }

  .perk__text br {
    display: none;
  }

  .clients {
    gap: 32px;
  }

  .clients__body {
    gap: 40px;
  }

  .testimonial {
    width: 100%;
    gap: 32px;
  }

  .testimonial__slide {
    gap: 32px;
  }

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

  .logos li {
    width: 100%;
    height: 160px;
  }

  .bolt {
    padding: 100px 32px 108px;
  }

  .post-line__more {
    display: none;
  }
}

@media (max-width: 359px) {
  .intro__services {
    font-size: min(var(--fs-sp), 5.4vw);
  }
}

/* ==========================================================================
   Page: About
   ========================================================================== */

.page-about {
  --about-gap: clamp(100px, 54.286px + 4.4643vw, 140px);
}

.page-about .page {
  padding: 240px var(--p-xl) 0;
  gap: var(--about-gap);
}

.page-about .site-footer {
  margin-top: var(--p-xl);
}

.about-copy p + p {
  margin-top: 1.4em;
  margin-top: 1lh;
}

.about-hero {
  display: flex;
  flex-direction: column;
  gap: clamp(0px, 85.714px - 4.4643vw, 40px);
}

.about-hero__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-hero__media {
  width: clamp(645px, 241.571px + 39.3973vw, 998px);
  aspect-ratio: 998 / 503;
  margin-left: auto;
  margin-right: clamp(0px, 234.643px - 12.221vw, 109.5px);
}

.about-hero__media {
  position: relative;
}

.about-hero__media picture {
  position: absolute;
  inset: 0;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-lean {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-lean {
  margin-bottom: clamp(-5.5px, 6.286px - .6138vw, 0px);
}

.about-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: clamp(500px, 340px + 15.625vw, 640px);
  padding-inline: var(--p-xl);
  background: var(--darker-blue);
  color: var(--white);
  border-radius: var(--radius-big);
}

.about-banner__art {
  position: absolute;
  z-index: -1;
  width: clamp(567px, 47px + 50.7813vw, 1022px);
  aspect-ratio: 1811 / 1893;
  right: clamp(-27px, -9.857px - .8929vw, -19px);
  top: clamp(-14px, 9.571px - 1.2277vw, -3px);
  opacity: .8;
}

.about-banner__art > div,
.about-banner__art picture,
.about-banner__art img {
  width: 100%;
  height: 100%;
}

.about-banner__art img {
  object-fit: cover;
}

.about-banner__title {
  position: relative;
  text-align: center;
}

@media (min-width: 1280px) {
  .about-banner__art {
    opacity: .9;
  }
}

.about-cols {
  display: flex;
  align-items: flex-start;
  gap: var(--p-xl);
  height: 640px;
}

.about-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-col--end {
  height: 100%;
  justify-content: flex-end;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .about-col--end h2 {
    max-width: 380px;
  }
}

.about-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: var(--p-xs) var(--p-s);
  text-align: center;
}

@media (max-width: 767px) {
  .page-about {
    --about-gap: 80px;
  }

  .page-about .page {
    padding-top: 100px;
  }

  .about-hero {
    gap: 40px;
  }

  .about-hero__media {
    width: 100%;
    margin: 0;
    aspect-ratio: 744 / 375;
  }

  .about-hero__media img {
    object-position: left center;
  }

  .about-lean {
    margin-bottom: 0;
  }

  .about-banner {
    height: 400px;
  }

  .about-banner__art {
    width: 428px;
    right: -152px;
    top: -10px;
  }

  .about-cols {
    flex-direction: column;
    gap: 80px;
    height: auto;
  }

  .about-col--end {
    height: auto;
  }

  .about-cta {
    gap: 32px;
  }

  .about-copy {
    line-height: 22px;
  }
}

/* ==========================================================================
   Page: Blog (listing)
   ========================================================================== */

.page-blog .page {
  padding-top: calc(var(--header-h) + clamp(76px, 48.571px + 2.6786vw, 100px));
  gap: 0;
}

.page-blog .site-footer {
  margin-top: clamp(80px, 57.143px + 2.2321vw, 100px);
}

.blog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(60px, -31.429px + 8.9286vw, 140px);
  padding-inline: var(--p-xl);
}

.blog > * {
  width: 100%;
  max-width: 2680px;
}

.blog-head {
  max-width: 2400px;
}

.blog-row {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.blog-row > * {
  flex: 1 0 0;
  min-width: 0;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  gap: var(--p-s);
  color: var(--dark-blue);
}

.blog-card__media {
  height: clamp(400px, 171.429px + 22.3214vw, 600px);
}

.blog-card__media img {
  transition: transform 1.2s var(--ease-out);
}

.blog-card__link:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__row {
  display: flex;
  align-items: flex-start;
  gap: var(--p-xxs);
}

.blog-card__txt {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--p-xxs);
}

.blog-card__title {
  transition: color .3s ease;
}

.blog-card__link:hover .blog-card__title {
  color: var(--hb-blue);
}

.blog-card__date {
  flex-shrink: 0;
  padding-right: 16px;
  white-space: nowrap;
}

.blog-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: var(--p-xs) var(--p-s);
  color: var(--dark-blue);
  text-align: center;
}

@media (max-width: 767px) {
  .page-blog .page {
    padding-top: 100px;
  }

  .page-blog .site-footer {
    margin-top: 40px;
  }

  .blog {
    gap: 40px;
  }

  .blog-row {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .blog-card__media {
    height: 320px;
  }
}

/* ==========================================================================
   Page: Case study
   ========================================================================== */

.case-body {
  background: #111422;
  color: var(--text-gray);
}

.case-body .page {
  padding-top: calc(var(--header-h) + 56px);
  gap: 0;
}

.case-body .site-footer {
  margin-top: var(--p-l);
}

.case {
  display: flex;
  flex-direction: column;
  gap: var(--p-l);
}

.case-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: var(--p-m);
}

.case-hero__media {
  width: 100%;
  max-width: 1920px;
  max-height: 1104px;
  aspect-ratio: 1800 / 1035;
  background: var(--panel-blue);
}

.case-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--p-xl);
  padding-inline: var(--p-l);
}

.case-content > * {
  width: 100%;
  max-width: 1720px;
}

.case-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: var(--p-xl);
}

.case-text__slot {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-text h1,
.case-text h2 {
  color: var(--text-gray);
}

.case-intro__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
}

.case-intro__title {
  flex: 1 0 0;
  min-width: 460px;
}

.case-intro__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 24px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  line-height: normal;
  white-space: nowrap;
}

.case-tags li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.case-tags li:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 1353px) {
  .case-intro__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .case-intro__title {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .case-intro__meta {
    align-items: flex-start;
    justify-content: center;
    min-height: 39px;
    padding-top: 0;
  }
}

.case-rich__group + .case-rich__group {
  margin-top: clamp(28px, 18.857px + .8929vw, 36px);
}

.case-rich__h {
  font-weight: 700;
  line-height: 1.5;
}

.case-figure {
  display: block;
}

.case-media {
  margin-inline: auto;
  aspect-ratio: 1720 / 968;
  max-height: 968px;
  background: var(--panel-blue);
}

.case-media__px {
  position: absolute;
  inset: 0;
}

.case-media__px > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.case-figure--natural .case-media {
  aspect-ratio: auto;
  max-height: none;
}

.case-figure--natural .case-media img {
  height: auto;
}

.case-media--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .case-media__px {
    inset: -48px 0;
  }
}

.case-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: var(--p-xs) var(--p-s);
  text-align: center;
}

.case-cta__text {
  color: var(--white);
}

@media (max-width: 1023px) {
  .case-rich__group + .case-rich__group {
    margin-top: 1.4em;
  }

  .case-body .site-header {
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  .case-body .page {
    padding-top: calc(var(--header-h) + 30px);
  }

  .case {
    gap: 60px;
  }

  .case-body .site-footer {
    margin-top: 60px;
  }

  .case-content {
    padding-inline: var(--p-m);
  }

  .case-text {
    padding-inline: var(--p-m);
  }

  .case-hero__media,
  .case-media {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  .case-media--video {
    aspect-ratio: 16 / 9;
  }

  .case-intro__meta {
    min-height: 0;
    padding-top: 8px;
  }

  .case-cta {
    padding-inline: var(--p-m);
  }

  .case-rich__group + .case-rich__group {
    margin-top: 1.4em;
  }

  .case-rich__h {
    line-height: 1.4;
  }
}

/* ==========================================================================
   Page: Contact
   ========================================================================== */

.contact-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  min-height: 40vh;
}

.contact-page__title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: none;
  width: auto;
}

.contact-page .contact-sheet__row {
  max-width: 1640px;
}

.contact-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn--ghost {
  background: var(--white);
  border-color: var(--hb-blue);
  color: var(--hb-blue);
}

.btn--ghost:hover {
  background: var(--hb-blue);
  color: var(--white);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25);
}

/* ==========================================================================
   Page: Blog post
   ========================================================================== */

.post {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--p-xl);
}

.post-bar__label {
  white-space: nowrap;
}

.post-bar__back {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color .25s ease;
}

.post-bar__back img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transform: rotate(180deg);
  transition: transform .4s var(--ease-out);
}

.post-bar__back:hover {
  color: var(--hb-blue);
}

.post-bar__back:hover img {
  transform: translateX(-4px) rotate(180deg);
}

.post-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  padding-inline: var(--p-l);
}

.post-main > * {
  width: 100%;
}

.post-main > .blog-cta {
  max-width: 1640px;
}

.post-cover {
  height: clamp(500px, 271.429px + 22.3214vw, 700px);
}

.post-cover__date {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  padding: 4px 16px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, .8);
  color: var(--dark-blue);
  white-space: nowrap;
}

.post-cover__title {
  position: absolute;
  z-index: 1;
  left: 70px;
  bottom: clamp(62px, 100.571px - 2.0089vw, 80px);
  max-width: 776px;
  color: var(--white);
}

.post-cover--shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 16, 63, .72), rgba(8, 16, 63, .35) 45%, rgba(8, 16, 63, 0) 75%);
  pointer-events: none;
}

.post-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-inline: var(--p-xl);
  color: var(--dark-blue);
}

.post-body {
  --lh: 1.4em;
  --lh: round(nearest, calc(var(--fs-body) * 1.4), 1px);
  line-height: var(--lh);
}

.post-body p + p {
  margin-top: var(--lh);
}

.post-link {
  text-decoration: underline;
  text-underline-offset: .15em;
  transition: color .25s ease;
}

.post-link:hover {
  color: var(--hb-blue);
}

.post-images {
  display: flex;
  align-items: center;
  gap: 20px;
  height: clamp(540px, 334.286px + 20.0893vw, 720px);
}

.post-images figure {
  height: 100%;
}

.post-images__main {
  flex: 1 0 0;
  min-width: 0;
}

.post-images__side {
  flex-shrink: 0;
  width: min(36%, clamp(320px, 76.571px + 23.7723vw, 533px));
}

.post-images--flip {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {
  .post-bar {
    flex-wrap: wrap;
    gap: 8px 0;
    padding-inline: 32px;
  }

  .post-main {
    gap: 40px;
    padding-inline: 20px;
  }

  .post-cover {
    height: 360px;
  }

  .post-cover__title {
    left: 30px;
    bottom: 30px;
    width: 303px;
    max-width: calc(100% - 60px);
  }

  .post-text {
    padding-inline: 20px;
  }

  .post-text--inset {
    padding-inline: 40px;
  }

  .post-images {
    height: 360px;
  }

  .post-images__side {
    display: none;
  }
}

/* ==========================================================================
   Page: Works (listing)
   ========================================================================== */

.page-works {
  --wl-gap: var(--p-l);
  --wl-top: clamp(180px, 111.429px + 6.6964vw, 240px);
  --wl-row-gap: clamp(40px, -17.143px + 5.5804vw, 90px);
}

.page-works .page {
  padding-top: var(--wl-top);
  gap: var(--wl-gap);
}

.page-works .site-footer {
  margin-top: var(--wl-gap);
}

.wl-intro {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--p-l);
  padding-inline: var(--p-xl);
}

.wl-intro__title,
.wl-intro__text {
  flex: 1 0 0;
  min-width: 0;
}

.wl-intro__text {
  padding-top: 24px;
}

.wl-grid {
  padding-inline: var(--p-xl);
}

.wl-grid__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wl-row-gap) var(--p-m);
}

.wl-grid__list > li {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 1280px) {
  .wl-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wl-grid {
    padding-bottom: 1.927vw;
  }

  .wl-grid__list {
    grid-auto-rows: 1fr;
  }

  .wl-grid__list > li {
    align-self: start;
  }
}

.wl-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--dark-blue);
}

.wl-card__media {
  width: 100%;
  aspect-ratio: 533.333 / 520;
}

.wl-card .media img {
  transition: transform 1.2s var(--ease-out);
}

.wl-card:hover .media img {
  transform: scale(1.04);
}

.wl-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--p-xs);
}

.wl-card__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wl-card__title {
  white-space: nowrap;
  transition: color .3s ease;
}

.wl-card:hover .wl-card__title {
  color: var(--hb-blue);
}

.wl-card .tags {
  color: var(--dark-blue);
}

@media (max-width: 1023px) {
  .wl-card .tags {
    display: none;
  }
}

@media (max-width: 767px) {
  .page-works {
    --wl-gap: 40px;
    --wl-top: 100px;
  }

  .wl-intro {
    flex-direction: column;
    gap: 32px;
  }

  .wl-intro__title,
  .wl-intro__text {
    flex: none;
    width: 100%;
  }

  .wl-br {
    display: none;
  }

  .wl-grid {
    padding-inline: 32px;
  }

  .wl-grid__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .wl-card {
    gap: 16px;
  }
}

/* ==========================================================================
   Focus states for post lines (keyboard parity with .is-active)
   ========================================================================== */

.post-line:focus-visible::after {
  transform: scaleX(1);
}

.post-line:focus-visible .post-line__more {
  max-width: 160px;
  margin-left: 0;
  opacity: 1;
}

/* ==========================================================================
   Motion: reveal, split text, stagger, scroll-scrub
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
    transition-delay: var(--d, 0s);
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .js [data-reveal="fade"] {
    transform: none;
  }

  .js [data-reveal="rule"] {
    opacity: 1;
    transform: scaleX(0);
    transition: transform 1.4s var(--ease-out);
    transition-delay: var(--d, .2s);
  }

  .js [data-reveal="rule"].is-in {
    transform: scaleX(1);
  }

  .js [data-reveal="media"] {
    opacity: 1;
    transform: none;
    clip-path: inset(10% 5% 10% 5% round var(--radius-big));
    transition: clip-path 1.4s var(--ease-out);
    transition-delay: var(--d, 0s);
  }

  .js [data-reveal="media"] img {
    scale: 1.15;
    transition: scale 1.8s var(--ease-out);
    transition-delay: var(--d, 0s);
  }

  .js [data-reveal="media"].is-in {
    clip-path: inset(0 0 0 0 round var(--radius-big));
  }

  .js [data-reveal="media"].is-in img {
    scale: 1;
  }

  .js [data-split] .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .12em;
    margin-bottom: -.12em;
  }

  .js [data-split] .w > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.1s var(--ease-out);
    transition-delay: calc(var(--d, 0s) + var(--i, 0) * 70ms);
  }

  .js [data-split].is-in .w > span {
    transform: none;
  }

  .js [data-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: calc(var(--d, 0s) + var(--i, 0) * 60ms);
  }

  .js [data-stagger].is-in > * {
    opacity: 1;
    transform: none;
  }

  .scrub main {
    overflow-x: clip;
  }

  .scrub [data-scrub="grow"] {
    transform: scale(calc(1 + (var(--grow, 1) - 1) * var(--sp, 0)));
    transform-origin: 50% 0;
    will-change: transform;
  }

  .scrub [data-scrub="grow"] > .media {
    border-radius: calc(var(--radius-big) * (1 - var(--sp, 0)));
  }

  .scrub [data-scrub="fade"] {
    opacity: calc(1 - var(--sp, 0) * .7);
    transform: translate3d(0, calc(var(--sp, 0) * -60px), 0);
  }

  .scrub [data-scrub="frame"] {
    background-color: color-mix(in srgb, var(--darker-blue) calc(var(--sp, 1) * 100%), var(--white));
  }

  .scrub [data-scrub="rise"] {
    transform: scale(calc(.9 + var(--sp, 1) * .1));
    transform-origin: 50% 0;
  }

  .scrub [data-scrub="drift"] > picture {
    scale: 1.12;
    translate: 0 calc((var(--sp, .5) - .5) * -10%);
  }

  .js .site-footer__logo img {
    transform: translateY(40%);
    transition: transform 1.6s var(--ease-out);
  }

  .js .site-footer__logo.is-in img {
    transform: none;
  }
}

/* ==========================================================================
   Reduced motion: effectively disable animation/transitions
   ========================================================================== */

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