/* =========================================================
   Onward Engine site
   Layout, type scale, spacing and breakpoints mirror the reference
   (breakpoints: 575, 768, 1250, 1300, 1440, 1550, 1900).
   ========================================================= */

/* Manrope (OFL) self-hosted. Metric overrides reproduce Universal Sans line boxes:
   ascent 0.917em, descent 0.227em (text) / 0.249em (headings), zero line gap. */
@font-face { font-family: "OE Sans"; src: url(/fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; ascent-override: 91.7%; descent-override: 22.7%; line-gap-override: 0%; size-adjust: 97.5%; }
@font-face { font-family: "OE Sans Head"; src: url(/fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; ascent-override: 91.7%; descent-override: 24.9%; line-gap-override: 0%; }

:root {
  --color-white: #fff;
  --color-gray-5: #f3f4f6;
  --color-gray-100: #e6e8eb;
  --color-gray-200: #cbd0d6;
  --color-gray-300: #b2b8c2;
  --color-gray-400: #989fab;
  --color-gray-500: #7f8694;
  --color-gray-600: #666c7a;
  --color-gray-700: #4e5361;
  --color-gray-800: #353945;
  --color-gray-850: #252833;
  --color-gray-900: #171921;
  --color-red-600: #c02b2b;
  --color-black: #06070a;
  --color-blue-200: #bacdff;
  --color-blue-600: #31356d;
  --color-headerWhite: #ffffff80;
  --color-headerDark: #17191f80;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
  --easeInExpo: cubic-bezier(0.7, 0, 0.84, 0);
  --z-header: 102;
  --z-popup: 101;
  --font-body: "OE Sans", "Manrope", Arial, sans-serif;
  --font-head: "OE Sans Head", "Manrope", Arial, sans-serif;
  --w-head: 760;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; border: none; box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  height: auto;
  min-height: 100vh;
  min-width: 320px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeSpeed;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
li { list-style: none; }
a { text-decoration: none; color: inherit; }
button { background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; }
address { font-style: normal; }
::selection { background-color: var(--color-blue-200); color: var(--color-black); }
.section--black ::selection { background-color: var(--color-blue-600); color: var(--color-white); }

/* ---------- Container ---------- */
.container { margin-left: 24px; margin-right: 24px; }
@media (min-width: 768px) { .container { margin-left: 40px; margin-right: 40px; } }
@media (min-width: 1250px) { .container { margin-left: 75px; margin-right: 75px; } }
@media (min-width: 1550px) { .container { margin-left: auto; margin-right: auto; max-width: 1400px; width: 100%; } }
@media (min-width: 1900px) { .container { max-width: 1536px; } }

.section { width: 100%; }
.section--overflown { overflow: hidden; }
.section--white { background-color: var(--color-white); color: var(--color-black); }
.section--black { background-color: var(--color-gray-900); color: var(--color-white); }

/* ---------- Type scale ---------- */
.h-1 { font-family: var(--font-head); font-size: 40px; font-weight: var(--w-head); line-height: 110%; letter-spacing: -0.03em; margin-left: -1px; }
@media (min-width: 768px) { .h-1 { font-size: 52px; letter-spacing: -0.05em; margin-left: -2px; } }
@media (min-width: 1250px) { .h-1 { font-size: 64px; letter-spacing: -0.04em; margin-left: -3px; } }
@media (min-width: 1440px) { .h-1 { font-size: 74px; } }
@media (min-width: 1900px) { .h-1 { font-size: 86px; margin-left: -4px; } }

.h-2 { font-family: var(--font-head); font-size: 30px; font-weight: var(--w-head); line-height: 120%; letter-spacing: -0.03em; margin-left: -1px; }
@media (min-width: 768px) { .h-2 { font-size: 40px; line-height: 110%; } }
@media (min-width: 1250px) { .h-2 { font-size: 52px; margin-left: -3px; } }
@media (min-width: 1900px) { .h-2 { font-size: 64px; } }

.h-3 { font-family: var(--font-head); font-size: 20px; font-weight: var(--w-head); line-height: 125%; letter-spacing: -0.03em; }
@media (min-width: 768px) { .h-3 { letter-spacing: -0.02em; } }
@media (min-width: 1250px) { .h-3 { font-size: 30px; line-height: 120%; } }
@media (min-width: 1900px) { .h-3 { font-size: 36px; } }

.t-1 { font-family: var(--font-body); font-size: 18px; font-weight: 500; line-height: 140%; letter-spacing: -0.02em; }
@media (min-width: 768px) { .t-1 { font-size: 20px; letter-spacing: -0.01em; } }
@media (min-width: 1250px) { .t-1 { font-size: 28px; } }
@media (min-width: 1900px) { .t-1 { font-size: 32px; } }

.t-2 { font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 135%; letter-spacing: -0.01em; }
@media (min-width: 768px) { .t-2 { line-height: 145%; } }
@media (min-width: 1250px) { .t-2 { font-size: 22px; line-height: 135%; letter-spacing: -0.02em; } }
@media (min-width: 1900px) { .t-2 { font-size: 26px; line-height: 145%; } }

.t-3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 140%; letter-spacing: -0.01em; }
@media (min-width: 768px) { .t-3 { line-height: 130%; } }
@media (min-width: 1250px) { .t-3 { font-size: 20px; letter-spacing: 0; } }

.t-4 { font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 140%; }
@media (min-width: 1250px) { .t-4 { font-size: 16px; } }
@media (min-width: 1900px) { .t-4 { font-size: 18px; } }
.t-4b { font-family: var(--font-head); font-size: 14px; font-weight: var(--w-head); line-height: 140%; }
@media (min-width: 1250px) { .t-4b { font-size: 18px; } }

.t-desc { font-family: var(--font-body); font-size: 16px; font-weight: 500; line-height: 135%; letter-spacing: -0.01em; }
@media (min-width: 768px) { .t-desc { line-height: 22px; } }
@media (min-width: 1250px) { .t-desc { font-size: 18px; letter-spacing: -0.02em; } }
@media (min-width: 1900px) { .t-desc { font-size: 22px; line-height: 28px; } }

/* ---------- Reveal animations ---------- */
.rv { opacity: 0; transform: translateY(15px); transition-property: opacity, transform; transition-duration: 0.9s, 1.2s; transition-timing-function: var(--easeOutExpo); }
.rv-fade { opacity: 0; transition: opacity 0.9s var(--easeOutExpo); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-fade.in { opacity: 1; }
.d-1 { transition-delay: 0.1s; } .d-2 { transition-delay: 0.2s; } .d-3 { transition-delay: 0.3s; } .d-4 { transition-delay: 0.4s; }

/* ---------- Underlined link with arrow ---------- */
.link { position: relative; display: inline-flex; color: inherit; transition: color 0.15s; }
.link__text { display: inline-flex; align-items: center; position: relative; }
.link__label { position: relative; z-index: 1; }
.link__label::after, .link__label::before { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; }
@media (min-width: 768px) { .link__label::after, .link__label::before { bottom: -5px; } }
.link__label::after { z-index: 0; background-color: var(--color-gray-300); }
.link__label::before { z-index: 1; background-color: currentColor; transform: scaleX(0); transition: transform 0.35s var(--easeOutExpo); transform-origin: 0 50%; }
.link:hover .link__label::before { transform: scaleX(1); }
.link__icon { position: relative; top: 1px; display: block; height: auto; width: 24px; margin-left: 4px; color: var(--color-gray-300); transition: transform 1.55s var(--easeOutExpo), color 0.55s var(--easeOutExpo); }
@media (min-width: 1250px) { .link__icon { width: 40px; margin-left: 8px; } }
.link:hover .link__icon { transform: translateX(6px); color: var(--color-black); transition-duration: 0.55s, 0.5s; }
.link--inverted .link__label::before { background-color: var(--color-gray-300); }
.link--inverted .link__label::after { background-color: var(--color-gray-700); }
.link--inverted .link__icon { color: var(--color-gray-600); }
.link--inverted:hover .link__icon { color: var(--color-white); }
.link--large .link__label::after, .link--large .link__label::before { bottom: -3px; }
@media (min-width: 768px) { .link--large .link__label::after, .link--large .link__label::before { bottom: -5px; } }
@media (min-width: 1250px) { .link--large .link__label::after, .link--large .link__label::before { bottom: 0; } }

/* ---------- Header ---------- */
.header {
  position: fixed; z-index: var(--z-header); top: 0; left: 0; right: 0; max-width: 100vw;
  color: var(--color-black);
  transition-property: transform, background-color, backdrop-filter;
  transition-duration: 0.75s, 0.35s, 0.35s;
  transition-timing-function: var(--ease-out);
}
.header.is-scrolled { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background-color: var(--color-headerWhite); }
.header.is-hidden { pointer-events: none; transform: translateY(-65px); }
@media (min-width: 768px) { .header.is-hidden { transform: translateY(-91px); } }
@media (min-width: 1250px) { .header.is-hidden { transform: translateY(-111px); } }
.header.is-open { color: var(--color-white); background-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__bg { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--color-gray-900); transform: translateY(-100.5%); transition: transform 0.35s var(--easeOutExpo) 0.33s; }
.header.is-open .header__bg { transform: translateY(0); transition-duration: 30ms; transition-delay: 0ms; transition-timing-function: var(--ease-out); }
.header__inner { position: relative; z-index: 2; display: flex; align-items: center; height: 64px; }
@media (min-width: 768px) { .header__inner { height: 90px; } }
@media (min-width: 1250px) { .header__inner { height: 110px; } }

.header__logo { position: relative; z-index: 4; margin-right: auto; left: -8px; display: flex; align-items: center; transition: filter 0.8s var(--ease-out); }
@media (min-width: 768px) { .header__logo { left: -24px; } }
@media (min-width: 1250px) { .header__logo { left: -30px; } }
.header.is-open .header__logo { filter: invert(1) brightness(1.5); }
.logo { display: block; width: fit-content; color: inherit; }
.logo__icon { display: flex; justify-content: flex-start; align-items: center; height: 32px; }
@media (min-width: 1250px) { .logo__icon { height: 40px; } }
.logo__word { display: block; height: 21px; width: auto; flex-shrink: 0; }
@media (min-width: 768px) { .logo__word { height: 24px; } }
@media (min-width: 1250px) { .logo__word { height: 28px; } }

.header__nav { display: none; }
@media (min-width: 1250px) { .header__nav { display: flex; flex-direction: row-reverse; align-items: center; } }
.header__list { display: flex; align-items: center; transform: translateY(-1px); gap: 17px; }
@media (min-width: 1900px) { .header__list { gap: 20px; } }
.header__item { font-family: var(--font-body); font-size: 20px; font-weight: 500; line-height: 130%; }
.nav-link { position: relative; display: block; color: inherit; padding: 10px; }
.nav-link__text { display: block; position: relative; }
.nav-link:hover { color: inherit; }
.nav-link__line { position: absolute; z-index: 0; left: 0; right: 0; bottom: -7px; height: 1px; background-color: var(--color-black); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--easeOutExpo); }
.dropdown__panel a { display: inline-block; }
.nav-link:hover .nav-link__line, .nav-link.is-open .nav-link__line { transform: scaleX(1); }
.nav-link--dropdown { padding-right: 21px; }
@media (min-width: 1900px) { .nav-link--dropdown { padding-right: 25px; } }
.nav-link__chev { position: absolute; right: -3px; top: 14px; color: var(--color-black); opacity: 0.3; width: 20px; height: 20px; display: inline-flex; justify-content: center; align-items: center; font-size: 12px; transition: opacity 0.35s var(--easeOutExpo); pointer-events: none; }
@media (min-width: 1900px) { .nav-link__chev { right: -1px; } }
.nav-link__chev svg { width: 1em; height: 0.62em; transition: transform 0.35s var(--easeOutExpo); }
.dropdown { position: relative; display: inline-block; }
.dropdown.is-open .nav-link__chev { opacity: 1; }
.dropdown.is-open .nav-link__chev svg { transform: scaleY(-1); }
.dropdown__panel { position: absolute; z-index: 5; top: calc(100% + 8px); left: -30px; width: auto; min-width: 220px; border-radius: 4px; height: 0; overflow: hidden; pointer-events: none; transition: height 0.6s var(--ease-out); }
.dropdown__panel > div { padding: 28px 40px 35px; display: flex; flex-direction: column; min-width: 300px; background-color: var(--color-gray-900); color: var(--color-white); border-radius: 4px; opacity: 0; }
@media (min-width: 1900px) { .dropdown__panel > div { padding-bottom: 40px; min-width: 334px; } }
.dropdown__panel a:not(:last-child) { padding: 5px 0; }
@media (min-width: 1900px) { .dropdown__panel a:not(:last-child) { padding: 6px 0; } }
.dropdown__panel a:not(:last-child):hover { color: var(--color-gray-500); }
.dropdown__panel a:last-child { margin-top: 64px; }
.dropdown.is-open .dropdown__panel { pointer-events: auto; transition: height 0.7s var(--ease-out); }
.dropdown.is-open .dropdown__panel > div { opacity: 1; transition: opacity 0.25s ease-out 0.25s; }
.dropdown__panel a:last-child { display: inline-flex; }
.link__icon--xs { width: 24px; margin: -4px 0 0 4px; }
@media (min-width: 1250px) { .link__icon--xs { width: 24px; margin: -4px 0 0 4px; } }
.dropdown__panel .link--inverted .link__icon { color: var(--color-gray-600); }
.dropdown__panel .link--inverted:hover .link__icon { color: var(--color-gray-300); }
.dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }

.btn-contact {
  display: inline-block; border-radius: 999px; padding: 12px 17px 12px 16px; line-height: 16px;
  background-color: var(--color-gray-900); color: var(--color-white);
  font-family: var(--font-head); font-size: 14px; font-weight: var(--w-head);
  transition: 0.33s var(--easeOutExpo); position: relative; z-index: var(--z-popup);
}
.btn-contact:hover, .btn-contact:focus-visible { background-color: var(--color-gray-800); }
.btn-contact:active { background-color: var(--color-gray-700); }
@media (min-width: 1250px) { .btn-contact { font-size: 18px; line-height: 21px; padding: 15px 21px 14px 20px; margin-left: 7px; } }
@media (min-width: 1900px) { .btn-contact { padding-right: 23px; padding-left: 22px; margin-left: 4px; } }
.header.is-open .btn-contact { background-color: var(--color-white); color: var(--color-black); }

.header__mobile { display: flex; align-items: center; gap: 10px; z-index: 1; }
@media (min-width: 768px) { .header__mobile { gap: 7px; transform: translateY(-3px); } }
@media (min-width: 1250px) { .header__mobile { display: none; } }
.menu-btn { z-index: 4; display: flex; align-self: stretch; align-items: center; color: inherit; transform: translateX(8px); }
.menu-btn:hover { color: var(--color-gray-600); }
.header.is-open .menu-btn:hover { color: var(--color-gray-300); }
.burger { position: relative; width: 40px; height: 40px; }
@media (min-width: 768px) { .burger { width: 45px; } }
.burger__stripe { position: absolute; left: 8px; width: 24px; height: 2px; background-color: currentColor; transition: top 0.2s 0.2s, transform 0.2s, color 0.2s; }
@media (min-width: 768px) { .burger__stripe { left: 13px; } }
.burger__stripe--top { top: 15px; }
.burger__stripe--bottom { top: 25px; }
@media (min-width: 768px) { .burger__stripe--bottom { top: 24px; } }
.header.is-open .burger__stripe { top: 19px; transition: top 0.2s, transform 0.2s 0.22s; }
.header.is-open .burger__stripe--top { transform: rotate(45deg); }
.header.is-open .burger__stripe--bottom { transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.menu { position: fixed; z-index: var(--z-popup); top: 0; left: 0; right: 0; height: 100dvh; background-color: var(--color-gray-900); color: var(--color-white); overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.5s var(--ease-out); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-out); visibility: visible; }
@media (min-width: 1250px) { .menu { display: none; } }
.menu__inner { position: relative; height: 100%; overflow: auto; }
.menu__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; min-height: 100vh; padding-top: calc(64px + 40px); padding-bottom: 40px; }
@media (min-width: 768px) { .menu__content { padding-top: calc(90px + 58px); padding-bottom: 32px; height: 100%; } }
.menu__body { flex: 1 1; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .menu__body { flex: unset; display: grid; grid-template-columns: repeat(12, 1fr); grid-column-gap: 16px; width: 100%; height: 100%; } }
@media (min-width: 768px) { .menu__nav { grid-column: 7 / span 6; } }
.menu__item { opacity: 0; transition: opacity 0.3s var(--easeOutExpo); }
.menu.is-open .menu__item { opacity: 1; transition-duration: 1.2s; }
.menu.is-open .menu__item:nth-child(1) { transition-delay: 0.27s; }
.menu.is-open .menu__item:nth-child(2) { transition-delay: 0.29s; }
.menu.is-open .menu__item:nth-child(3) { transition-delay: 0.31s; }
.menu.is-open .menu__item:nth-child(4) { transition-delay: 0.33s; }
.menu.is-open .menu__item:nth-child(5) { transition-delay: 0.35s; }
.menu.is-open .menu__item:nth-child(6) { transition-delay: 0.37s; }
.menu__item:not(:last-child) { margin-bottom: 16px; }
@media (min-width: 768px) { .menu__item:not(:last-child) { margin-bottom: 20px; } }
.menu__link { font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 120%; letter-spacing: -0.03em; margin-left: -1px; color: var(--color-white); display: flex; align-items: center; transition: color 0.35s var(--easeOutExpo); }
@media (min-width: 768px) { .menu__link { font-size: 40px; line-height: 110%; } }
.menu__link:hover { color: var(--color-gray-300); }
.menu__chev { pointer-events: none; margin-left: 12px; font-size: 14px; color: var(--color-gray-600); transition: transform 0.35s var(--easeOutExpo), color 0.35s; }
@media (min-width: 768px) { .menu__chev { font-size: 18px; margin-left: 15px; } }
.menu__chev svg { width: 1em; height: 0.62em; }
.menu__item.is-open .menu__chev { transform: scaleY(-1); color: var(--color-white); }
.menu__sub { display: none; padding-top: 12px; padding-bottom: 24px; }
.menu__item.is-open .menu__sub { display: block; }
.menu__sub li { margin-bottom: 8px; }
.menu__sub a { position: relative; display: block; font-family: var(--font-body); font-size: 20px; font-weight: 500; line-height: 130%; letter-spacing: -0.4px; padding: 7px 0 7px 16px; color: var(--color-white); }
.menu__sub a:hover { color: var(--color-gray-500); }
.menu__sub-all a { display: inline-flex; align-items: center; }
.menu__sub-all .link__icon { color: var(--color-gray-600); }
.menu__side { opacity: 0; transition: opacity 0.3s var(--easeOutExpo); }
.menu.is-open .menu__side { opacity: 1; transition-delay: 0.45s; transition-duration: 1.2s; }
@media (min-width: 768px) { .menu__side { padding-top: 3px; grid-column: 1 / span 6; grid-row: 1; display: flex; flex-direction: column; align-self: flex-end; } }
.menu__email { display: flex; flex-direction: column; gap: 9px; margin-top: 52px; transform: translateY(4px); }
@media (min-width: 768px) { .menu__email { margin-top: 0; transform: translateY(0); gap: 6px; } }
.menu__email a { font-family: var(--font-body); font-size: 22px; font-weight: 500; line-height: 135%; letter-spacing: -0.02em; display: block; }
@media (min-width: 768px) { .menu__email a { font-size: 28px; } }
.menu__socials { margin-top: 65px; margin-bottom: 54px; }
@media (min-width: 768px) { .menu__socials { margin-top: 40px; margin-bottom: 0; } }
.menu__socials .socials a { color: var(--color-white); }
.menu__socials .socials a:hover { color: var(--color-gray-300); }
.menu__legacy { display: flex; gap: 16px; margin-bottom: 20px; }
@media (min-width: 768px) { .menu__legacy { margin-bottom: 22px; margin-top: 32px; } }
.menu__legacy a { font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 140%; letter-spacing: -0.01em; color: var(--color-white); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; }
@media (min-width: 1250px) { .hero { background: linear-gradient(1turn, #fff, #efedf0 60%); } }
.hero__top { position: relative; padding-top: 130px; padding-bottom: 0; overflow: hidden; }
@media (min-width: 768px) { .hero__top { padding-top: 170px; padding-bottom: 0; } }
@media (min-width: 1250px) { .hero__top { padding-top: 260px; padding-bottom: 200px; overflow: visible; } }
@media (min-width: 1900px) { .hero__top { padding-top: 350px; padding-bottom: 240px; } }
.hero__container { position: relative; }
.hero__title { max-width: 462px; position: relative; z-index: 1; }
.hero__eyebrow { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--color-gray-600); }
.hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-black); }
@media (min-width: 1250px) { .hero__eyebrow { margin-bottom: 24px; } }
@media (min-width: 768px) { .hero__title { max-width: 582px; } }
@media (min-width: 1250px) { .hero__title { max-width: 744px; } }
@media (min-width: 1440px) { .hero__title { max-width: 839px; } }
@media (min-width: 1900px) { .hero__title { max-width: 958px; } }
/* Below 1250 the object takes the square slot under the headline (where the reference has its video). From 1250 it sits to the right and is kept fully inside the viewport at every width. */
.hero__stage { display: block; position: relative; z-index: 0; width: 100vw; margin-left: -24px; margin-top: 32px; aspect-ratio: 1; pointer-events: none; overflow: hidden; }
@media (min-width: 575px) { .hero__stage { width: 100%; max-width: 520px; margin: 32px auto 0; } }
@media (min-width: 768px) { .hero__stage { margin-top: 24px; } }
@media (min-width: 1250px) { .hero__stage { position: absolute; top: 50%; right: 0; margin: 0; max-width: 850px; width: 60vw; transform: translate(6%, -50%); overflow: visible; } }
@media (min-width: 1900px) { .hero__stage { max-width: 1100px; } }
.hero__stage img { width: 100%; height: 100%; }
.hero__stage.is-3d img { display: none; }
.hero__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }

/* ---------- Capabilities (intro + services accordion) ---------- */
.caps { padding-top: 60px; padding-bottom: 44px; }
@media (min-width: 768px) { .caps { padding-top: 80px; overflow: visible; } }
@media (min-width: 1250px) { .caps { padding-top: 100px; padding-bottom: 65px; } }
@media (min-width: 1900px) { .caps { padding-bottom: 94px; } }
.caps__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-column-gap: 12px; }
@media (min-width: 768px) { .caps__grid { grid-template-columns: repeat(12, 1fr); grid-column-gap: 16px; } }
.caps__text { z-index: 2; margin-bottom: 64px; grid-column: 1 / span 6; }
@media (min-width: 768px) { .caps__text { grid-column: 1 / span 6; margin-left: -3px; margin-bottom: 0; } }
@media (min-width: 1250px) { .caps__text { margin-left: -2px; grid-column: 1 / span 5; } }
.caps__list { grid-column: 1 / span 6; }
@media (min-width: 768px) { .caps__list { grid-column: 9 / span 4; position: relative; } }
.caps__btn { position: relative; width: 100%; display: block; }
.caps__btn-inner { display: flex; align-items: center; width: 100%; padding-bottom: 16px; }
@media (min-width: 768px) { .caps__btn-inner { padding-bottom: 18px; } }
@media (min-width: 1250px) { .caps__btn-inner { padding-bottom: 24px; } }
.caps__title { font-family: var(--font-head); font-size: 20px; font-weight: var(--w-head); line-height: 125%; letter-spacing: -0.03em; position: relative; z-index: 2; padding-right: 14px; color: var(--color-black); pointer-events: none; }
@media (min-width: 768px) { .caps__title { letter-spacing: -0.02em; } }
@media (min-width: 1250px) { .caps__title { font-size: 30px; line-height: 120%; } }
@media (min-width: 1900px) { .caps__title { font-size: 36px; } }
.caps__icon { font-size: 15px; color: #a4b0c2; pointer-events: none; transition: transform 0.35s var(--easeOutExpo), color 0.35s var(--easeOutExpo); display: inline-flex; }
@media (min-width: 1250px) { .caps__icon { font-size: 21px; } }
.caps__icon svg { width: 1em; height: 0.62em; }
.caps__btn:hover .caps__icon { transform: translateY(4px); color: var(--color-black); }
.caps__item.is-open .caps__icon { transform: scaleY(-1); color: var(--color-black); }
.caps__content { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.45s var(--easeOutExpo), visibility 0s linear 0.45s; }
.caps__item.is-open .caps__content { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.45s var(--easeOutExpo), visibility 0s; }
.caps__content-inner { overflow: hidden; }
.caps__body { position: relative; z-index: 2; padding-bottom: 16px; opacity: 0; transition: opacity 0.25s var(--easeOutExpo); }
@media (min-width: 768px) { .caps__body { padding-bottom: 24px; } }
@media (min-width: 1250px) { .caps__body { padding-bottom: 42px; } }
.caps__item.is-open .caps__body { opacity: 1; transition-delay: 0.15s; }
.caps__desc { color: var(--color-gray-600); margin-bottom: 16px; }
@media (min-width: 768px) { .caps__desc { margin-bottom: 0; } }

/* ---------- Logo wall ---------- */
.logos { padding-top: 60px; padding-bottom: 40px; }
@media (min-width: 768px) { .logos { padding-top: 80px; padding-bottom: 58px; } }
@media (min-width: 1250px) { .logos { padding-top: 100px; padding-bottom: 80px; } }
@media (min-width: 1900px) { .logos { padding-top: 120px; padding-bottom: 98px; } }
.logos__list { display: grid; grid-template-columns: repeat(3, 1fr); grid-column-gap: 8px; grid-row-gap: 8px; margin: 0 -10px 40px; }
@media (min-width: 575px) { .logos__list { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 768px) { .logos__list { grid-column-gap: 32px; grid-row-gap: 4px; margin: 0 -20px 38px; } }
@media (min-width: 1250px) { .logos__list { grid-column-gap: 80px; grid-row-gap: 16px; margin-bottom: 72px; } }
@media (min-width: 1900px) { .logos__list { grid-row-gap: 32px; margin: 0 -40px 72px; } }
.logos__item { position: relative; display: flex; justify-content: center; align-items: center; opacity: 0; filter: blur(10px); transition: filter 0.45s var(--ease-out), opacity 0.45s var(--ease-out); }
.logos__list.in .logos__item { opacity: 1; filter: blur(0); }
.logos__item:nth-child(1) { transition-delay: 0.12s, 0.306s; } .logos__item:nth-child(2) { transition-delay: 0.12s, 0.235s; } .logos__item:nth-child(3) { transition-delay: 0.12s, 0.252s; } .logos__item:nth-child(4) { transition-delay: 0.12s, 0.063s; } .logos__item:nth-child(5) { transition-delay: 0.12s, 0.078s; } .logos__item:nth-child(6) { transition-delay: 0.12s, 0.209s; } .logos__item:nth-child(7) { transition-delay: 0.12s, 0.301s; } .logos__item:nth-child(8) { transition-delay: 0.12s, 0.256s; } .logos__item:nth-child(9) { transition-delay: 0.12s, 0.314s; } .logos__item:nth-child(10) { transition-delay: 0.12s, 0.213s; }
.logos__item img { width: 100%; }
/* Three logos on the five-column grid sit in the middle columns. */
@media (min-width: 768px) { .logos__item:first-child { grid-column: 2; } }
/* Phones: one continuous line of logos. Tablets and up keep the grid. */
.logos__item--dup { display: none; }
@media (max-width: 767px) {
  .logos__marquee { overflow: hidden; margin: 0 -24px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .logos__list { display: flex; gap: 0; width: max-content; margin: 0; animation: logos-marquee 22s linear infinite; }
  .logos__item { flex: 0 0 auto; width: 150px; margin-right: 22px; }
  .logos__item--dup { display: flex; }
  .logos__list.in .logos__item { transition-delay: 0.12s, 0.1s; }
}
@media (min-width: 575px) and (max-width: 767px) { .logos__marquee { margin-left: -40px; margin-right: -40px; } }
@keyframes logos-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos__list { animation: none; } }
.logos__link { display: flex; justify-content: center; }

/* ---------- Industry feature card ---------- */
@media (min-width: 768px) { .industry { padding-top: 40px; padding-bottom: 40px; } }
@media (min-width: 1250px) { .industry { padding-top: 48px; padding-bottom: 48px; } }
@media (min-width: 1900px) { .industry { padding-top: 140px; padding-bottom: 140px; } }
.industry__link { display: block; padding-bottom: 48px; opacity: 0; transform: scale(0.95) translateY(50px); transition: opacity 0.3s var(--easeOutExpo), transform 1s var(--easeOutExpo); }
.industry__link.in { opacity: 1; transform: scale(1) translateY(0); }
@media (min-width: 768px) { .industry__link { margin-left: 40px; margin-right: 40px; padding-bottom: 24px; } }
@media (min-width: 1250px) { .industry__link { margin-left: 75px; margin-right: 75px; padding-bottom: 56px; } }
@media (min-width: 1550px) { .industry__link { margin-left: auto; margin-right: auto; max-width: 1400px; width: 100%; } }
@media (min-width: 1900px) { .industry__link { max-width: 1536px; padding-bottom: 0; } }
.industry__card { position: relative; overflow: hidden; padding: 40px 24px; background-color: var(--color-gray-900); display: block; color: var(--color-white); }
@media (min-width: 768px) { .industry__card { padding-top: 32px; padding-left: 40px; padding-right: 40px; } }
@media (min-width: 1250px) { .industry__card { padding: 64px; } }
@media (min-width: 1900px) { .industry__card { padding: 80px; } }
.industry__label { color: var(--color-gray-300); position: relative; z-index: 1; }
.industry__title { margin-top: 16px; color: var(--color-white); max-width: 325px; position: relative; z-index: 1; }
@media (min-width: 575px) { .industry__title { max-width: 375px; } }
@media (min-width: 768px) { .industry__title { max-width: 457px; } }
@media (min-width: 1250px) { .industry__title { max-width: 597px; margin-left: 1px; line-height: 74px; } }
@media (min-width: 1440px) { .industry__title { max-width: 775px; } }
@media (min-width: 1900px) { .industry__title { max-width: 901px; margin-top: 12px; line-height: 110%; } }
.industry__cta { display: flex; align-items: center; width: fit-content; position: relative; margin-top: 160px; z-index: 1; }
@media (min-width: 768px) { .industry__cta { margin-top: 92px; } }
@media (min-width: 1250px) { .industry__cta { margin-top: 132px; } }
@media (min-width: 1900px) { .industry__cta { margin-top: 192px; } }
.industry__cta::before { content: ""; position: absolute; left: 0; bottom: -3px; width: calc(100% - 28px); height: 1px; background-color: var(--color-gray-700); }
.industry__cta::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background-color: var(--color-white); transition: width 0.5s var(--easeOutExpo); }
@media (min-width: 1250px) { .industry__cta::before, .industry__cta::after { bottom: 1px; } .industry__cta::before { width: calc(100% - 48px); } }
@media (min-width: 1900px) { .industry__cta::before, .industry__cta::after { bottom: -5px; } }
.industry__link:hover .industry__cta::after { width: calc(100% - 28px); }
@media (min-width: 1250px) { .industry__link:hover .industry__cta::after { width: calc(100% - 48px); } }
.industry__cta-icon { margin-left: 4px; color: var(--color-gray-700); width: 24px; height: auto; display: block; transition: transform 0.25s var(--easeOutExpo), color 0.25s; }
@media (min-width: 1250px) { .industry__cta-icon { width: 40px; margin-left: 8px; } }
.industry__link:hover .industry__cta-icon { transform: translateX(6px); color: var(--color-white); }
.industry__image { position: absolute; z-index: 0; top: 50%; right: 0; transform: translate(25%, -35%); width: 140%; max-width: 700px; aspect-ratio: 1; }
@media (min-width: 768px) { .industry__image { width: 80%; max-width: none; transform: translate(25%, -50%); } }
@media (min-width: 1250px) { .industry__image { width: 60%; } }
@media (min-width: 1900px) { .industry__image { width: 70%; } }
.industry__image img { width: 100%; height: 100%; }

/* ---------- Work list ---------- */
.work { padding-bottom: 65px; }
@media (min-width: 768px) { .work { padding-bottom: 77px; } }
@media (min-width: 1250px) { .work { padding-bottom: 112px; } }
@media (min-width: 1900px) { .work { padding-bottom: 141px; } }
.work__list-wrap { padding-top: 100px; margin-top: -100px; }
.work__intro { max-width: 520px; padding-bottom: 8px; }
@media (min-width: 768px) { .work__intro { max-width: 560px; padding-bottom: 16px; } }
@media (min-width: 1250px) { .work__intro { max-width: 640px; padding-bottom: 24px; } }
@media (min-width: 768px) { .work__list { display: flex; flex-wrap: wrap; margin: 0 -35.5px; } }
@media (min-width: 1250px) { .work__list { margin: 0 -57px; } }
@media (min-width: 1900px) { .work__list { margin: 0 -63px; } }
.work__item { padding-top: 24px; padding-bottom: 40px; }
@media (min-width: 768px) { .work__item { padding: 40px 0; margin: 0 35.5px; } }
@media (min-width: 1250px) { .work__item { margin: 0 57px; padding: 48px 0; } }
@media (min-width: 1900px) { .work__item { margin: 0 63px; padding: 60px 0; } }
@media (min-width: 768px) { .work__item--small, .work__item--medium { width: calc(50% - 71px); } }
@media (min-width: 1250px) { .work__item--small, .work__item--medium { width: calc(50% - 114px); } }
@media (min-width: 1900px) { .work__item--small, .work__item--medium { width: calc(50% - 126px); } }
@media (min-width: 768px) { .work__item--large { width: 80.1%; } }
@media (min-width: 1900px) { .work__item--large { width: 81.4%; } }
@media (min-width: 768px) { .work__item--right { margin-left: auto; } }
@media (min-width: 768px) { .work__item--bottom:not(.work__item--large) { padding-top: 160px; } }
@media (min-width: 1900px) { .work__item--bottom:not(.work__item--large) { padding-top: 200px; } }
.work__link { display: block; color: var(--color-black); }
.work__link > * { display: block; }
.work__image { display: block; }
.work__media { position: relative; margin-left: -24px; margin-right: -24px; margin-bottom: 16px; opacity: 0; transform: translateY(20px); transition: transform 1.3s var(--easeOutExpo), opacity 0.65s ease; }
@media (min-width: 768px) { .work__media { margin-left: 0; margin-right: 0; } }
@media (min-width: 1250px) { .work__media { margin-bottom: 24px; } }
.work__media.in { opacity: 1; transform: translateY(0); }
.work__image { position: relative; overflow: hidden; font-size: 0; z-index: 2; transform: scale(0.92); transition: transform 1.3s var(--easeOutExpo); }
.work__media.in .work__image { transform: scale(1); }
.work__image img { width: 100%; transform: scale(1.07); transition: transform 1.3s var(--easeOutExpo); }
@media (max-width: 767px) { .work__item--large .work__image img { aspect-ratio: 4 / 5; object-fit: cover; } }
.work__media.in .work__image img { transform: scale(1); }
@media (min-width: 1250px) { .work__link:hover .work__media.in .work__image { transform: scale(1.029); transition: transform 0.7s var(--easeOutExpo); } }
.work__text { margin-bottom: 4px; }
@media (min-width: 1250px) { .work__text { margin-bottom: 12px; } }
.work__title { max-width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.work__desc { margin-top: 4px; }
@media (min-width: 1250px) { .work__desc { margin-top: 8px; } }
.work__tags { display: flex; flex-wrap: wrap; color: var(--color-gray-600); }
@media (min-width: 1250px) { .work__link .work__tags.rv-fade { opacity: 0; transition: opacity 0.7s var(--easeOutExpo); } .work__link:hover .work__tags.rv-fade { opacity: 1; } }
.work__tag { white-space: nowrap; }
.work__tag:not(:last-child) { position: relative; padding-right: 12px; }
.work__tag:not(:last-child)::before { content: ""; position: absolute; right: 5px; top: 9px; width: 2px; height: 2px; border-radius: 50%; background-color: var(--color-gray-600); }
@media (min-width: 1250px) { .work__tag:not(:last-child) { padding-right: 28px; } .work__tag:not(:last-child)::before { right: 13px; top: 10px; } }
@media (min-width: 1900px) { .work__tag:not(:last-child)::before { top: 12px; } }
.work__label { margin-top: 10px; display: flex; align-items: center; justify-content: flex-start; }
@media (min-width: 1250px) { .work__label { display: none; } }
.work__label-text { position: relative; }
.work__label-text::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background-color: var(--color-gray-300); }
@media (min-width: 768px) { .work__label-text::after { bottom: -5px; } }
.work__label-icon { width: 24px; height: auto; margin-left: 4px; display: block; }
.work__more { display: flex; justify-content: center; margin-top: 35px; }
@media (min-width: 768px) { .work__more { margin-top: 27px; } }
@media (min-width: 1250px) { .work__more { margin-top: 62px; } }
@media (min-width: 1900px) { .work__more { margin-top: 91px; } }

/* ---------- About ---------- */
.about { padding-bottom: 99px; background-color: var(--color-gray-5); overflow: hidden; }
@media (min-width: 768px) { .about { padding-bottom: 90px; } }
@media (min-width: 1250px) { .about { padding-bottom: 122px; } }
@media (min-width: 1900px) { .about { padding-bottom: 178px; } }
.about__top { position: relative; width: 100%; padding-top: 83px; padding-bottom: 5px; }
@media (min-width: 768px) { .about__top { padding-top: 96px; } }
@media (min-width: 1250px) { .about__top { padding-top: 136px; } }
@media (min-width: 1900px) { .about__top { padding-top: 160px; padding-bottom: 6px; } }
.about__text { max-width: 95%; }
@media (min-width: 768px) { .about__text { max-width: 60%; } }
@media (min-width: 1250px) { .about__text { max-width: 632px; } }
@media (min-width: 1900px) { .about__text { max-width: 60%; } }
.para-block { margin-top: 16px; }
.para-block:not(:last-child) { margin-bottom: 56px; }
@media (min-width: 768px) { .para-block { margin-top: 20px; } }
@media (min-width: 1250px) { .para-block { margin-top: 28px; } }
@media (min-width: 1900px) { .para-block { margin-top: 32px; } .para-block:not(:last-child) { margin-bottom: 71px; } }
@media (min-width: 1900px) { .about__para { max-width: 700px; } }
.about__vertical { padding-top: 80px; }
@media (min-width: 768px) { .about__vertical { padding-top: 100px; } }
@media (min-width: 1250px) { .about__vertical { padding-top: 140px; } }
@media (min-width: 1900px) { .about__vertical { padding-top: 180px; } }
@media (min-width: 768px) { .about__vertical-block { width: 80%; } }
@media (min-width: 1250px) { .about__vertical-block { width: 56%; } }
.about__vertical-block p { max-width: 95%; }
@media (min-width: 768px) { .about__vertical-block p { max-width: 85%; width: 100%; } }
@media (min-width: 1250px) { .about__vertical-block p { max-width: 632px; } }
@media (min-width: 1900px) { .about__vertical-block p { max-width: 722px; } }

/* ---------- FAQ ---------- */
.faq { padding-top: 40px; padding-bottom: 18px; }
@media (min-width: 768px) { .faq { padding-top: 80px; padding-bottom: 54px; } }
@media (min-width: 1250px) { .faq { padding-top: 120px; padding-bottom: 70px; } }
@media (min-width: 1900px) { .faq { padding-bottom: 94px; } }
.faq__title { margin-bottom: 10px; }
@media (min-width: 768px) { .faq__title { margin-bottom: 16px; } }
@media (min-width: 1250px) { .faq__title { margin-bottom: 44px; } }
.faq__item:not(:last-child)::after { content: ""; position: relative; display: block; top: 0; height: 1px; background-color: var(--color-gray-800); width: 80%; opacity: 0; transition: width 1.5s var(--easeOutExpo), opacity 0.9s var(--easeOutExpo); }
.faq__item.in:not(:last-child)::after { width: 100%; opacity: 1; }
.faq__btn { z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; column-gap: 10px; color: var(--color-white); width: 100%; padding-top: 22px; padding-right: 4px; padding-bottom: 22px; }
@media (min-width: 768px) { .faq__btn { padding-top: 24px; padding-bottom: 24px; } }
@media (min-width: 1250px) { .faq__btn { padding-top: 36px; padding-bottom: 36px; } }
.faq__q { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--easeOutExpo), transform 1.2s var(--easeOutExpo), color 0.15s var(--easeOutExpo); }
.faq__item.in .faq__q { opacity: 1; transform: translateY(0); }
.faq__item:not(.is-open):hover .faq__q { color: var(--color-gray-300); }
.faq__icon { flex-shrink: 0; font-size: 15px; z-index: 1; opacity: 0; color: var(--color-gray-500); transform: translateY(9px) scaleY(1); transition: transform 0.4s var(--easeOutExpo), opacity 0.9s var(--easeOutExpo), color 0.35s; display: inline-flex; }
@media (min-width: 1250px) { .faq__icon { font-size: 24px; transform: translateY(11px) scaleY(1); } }
@media (min-width: 1900px) { .faq__icon { transform: translateY(13px) scaleY(1); } }
.faq__icon svg { width: 1em; height: 0.62em; }
.faq__item.in .faq__icon { opacity: 1; }
.faq__item:not(.is-open):hover .faq__icon { transform: translateY(13px) scaleY(1); }
@media (min-width: 1250px) { .faq__item:not(.is-open):hover .faq__icon { transform: translateY(15px) scaleY(1); } }
@media (min-width: 1900px) { .faq__item:not(.is-open):hover .faq__icon { transform: translateY(18px) scaleY(1); } }
.faq__item.is-open .faq__icon { transform: translateY(9px) scaleY(-1); }
@media (min-width: 1250px) { .faq__item.is-open .faq__icon { transform: translateY(11px) scaleY(-1); } }
@media (min-width: 1900px) { .faq__item.is-open .faq__icon { transform: translateY(13px) scaleY(-1); } }
.faq__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.45s var(--easeOutExpo), visibility 0s linear 0.45s; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.45s var(--easeOutExpo), visibility 0s; }
.faq__panel-inner { overflow: hidden; }
.faq__a { padding-right: 10%; color: #858e97; padding-bottom: 24px; opacity: 0; transition: opacity 0.2s; }
.faq__item.is-open .faq__a { opacity: 1; transition-delay: 0.15s; }
@media (min-width: 768px) { .faq__a { max-width: 512px; padding-right: 0; } }
@media (min-width: 1250px) { .faq__a { max-width: 780px; padding-bottom: 36px; } }
/* FAQ answers may carry links once real copy lands. */
.faq__a a { color: #858e97; text-decoration: underline; text-underline-offset: 4px; transition: 0.1s ease-out; }
.faq__a a:hover { opacity: 0.75; color: var(--color-white); }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: 48px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); background-color: var(--color-gray-5); overflow: hidden; }
@media (min-width: 768px) { .footer { padding-top: 40px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); } }
@media (min-width: 1250px) { .footer { padding-top: 77px; padding-bottom: calc(35px + env(safe-area-inset-bottom)); } }
.footer__stage { position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
@media (min-width: 1250px) { .footer__stage { width: 70vw; aspect-ratio: 1; height: auto; } }
.footer__ribbon { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); }
.footer__ribbon--a { width: 60%; height: 55%; left: -12%; top: -8%; transform: rotate(-28deg); }
.footer__ribbon--b { width: 70%; height: 40%; left: 4%; top: 42%; transform: rotate(-24deg); }
.footer__container { position: relative; z-index: 1; }
@media (min-width: 768px) { .footer__container { display: flex; flex-wrap: wrap; } }
.footer__contacts { z-index: 2; margin-bottom: 64px; }
@media (min-width: 768px) { .footer__contacts { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 16px; width: 100%; margin-bottom: 90px; } }
@media (min-width: 1250px) { .footer__contacts { margin-bottom: 120px; } }
.footer__title-wrap { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
@media (min-width: 768px) { .footer__title-wrap { margin-bottom: 0; } }
.footer__title { margin-bottom: 8px; }
.footer__tel { margin-top: 8px; width: max-content; font-size: 18px; font-weight: 400; line-height: 21px; }
@media (min-width: 1250px) { .footer__tel { margin-top: 10px; font-size: 28px; line-height: 32px; } }
.footer__nav { margin-top: 30px; }
@media (min-width: 768px) { .footer__nav { margin-top: 0; } }
.footer__nav-list { display: grid; row-gap: 8px; grid-template-columns: 52% auto; }
@media (min-width: 768px) { .footer__nav-list { column-gap: 8px; } }
@media (min-width: 1250px) { .footer__nav-list { grid-template-columns: 33% auto; row-gap: 2px; } }
@media (min-width: 1900px) { .footer__nav-list { row-gap: 4px; } }
.footer__nav-item { opacity: 0; transition: opacity 2.5s var(--easeOutExpo); }
.footer__nav-list.in .footer__nav-item { opacity: 1; }
.footer__nav-item a { display: inline-block; }
.footer__nav-span { display: block; font-family: var(--font-body); font-size: 22px; font-weight: 500; line-height: 135%; letter-spacing: -0.03em; }
@media (min-width: 768px) { .footer__nav-span { letter-spacing: -0.02em; } }
@media (min-width: 1250px) { .footer__nav-span { font-size: 24px; line-height: 140%; } }
@media (min-width: 1900px) { .footer__nav-span { font-size: 30px; } }
@media (min-width: 768px) { .footer__nav-item .link__label::after, .footer__nav-item .link__label::before { bottom: -2px; } }
@media (min-width: 1250px) { .footer__nav-item .link__label::after, .footer__nav-item .link__label::before { bottom: 2px; } }
.footer__bottom { z-index: 2; }
@media (min-width: 768px) { .footer__bottom { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 16px; width: 100%; } }
.footer__socials { margin-bottom: 32px; height: 24px; }
@media (min-width: 768px) { .footer__socials { margin-top: auto; margin-bottom: 0; } }
@media (min-width: 1250px) { .footer__socials { margin-top: 0; } }
.socials { margin: -4px; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; gap: 16px; }
.socials a { display: inline-flex; padding: 4px; transition: 0.15s var(--easeOutExpo); color: var(--color-black); }
.socials a:hover { color: var(--color-gray-500); }
.socials svg { width: 24px; height: 24px; vertical-align: top; display: block; }
@media (min-width: 768px) { .footer__copy-wrap { display: flex; flex-direction: column; transform: translateY(-4px); } }
@media (min-width: 1250px) { .footer__copy-wrap { flex-direction: row; align-items: center; column-gap: 22px; } }
.footer__copy { font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 130%; letter-spacing: -0.02em; color: var(--color-black); }
@media (min-width: 768px) { .footer__copy { order: 2; } }
@media (min-width: 1250px) { .footer__copy { font-size: 15px; order: 1; padding-top: 4px; } }
.footer__links { margin-top: 16px; }
@media (min-width: 768px) { .footer__links { order: 1; margin-top: 0; margin-bottom: 20px; } }
@media (min-width: 1250px) { .footer__links { order: 2; margin-bottom: 0; } }
.footer__links a:not(:last-child) { margin-right: 16px; }
.footer__links .link__text { line-height: 130%; }
@media (min-width: 1250px) { .footer__links .link__text { font-size: 15px; } }
.footer__links .link__label::after, .footer__links .link__label::before { bottom: -2px; }

/* ---------- Utilities ---------- */

/* ---------- Cursor pill (work cards, articles) ---------- */

/* ---------- Contact page ---------- */
.contact { padding-top: 130px; padding-bottom: 80px; }
@media (min-width: 768px) { .contact { padding-top: 158px; padding-bottom: 100px; } }
@media (min-width: 1250px) { .contact { padding-top: 150px; padding-bottom: 140px; } }
@media (min-width: 1440px) { .contact { padding-top: 174px; } }
.contact__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-column-gap: 12px; }
@media (min-width: 768px) { .contact__grid { grid-template-columns: repeat(12, 1fr); grid-column-gap: 16px; } }
.contact__heading { grid-column: 1 / span 6; height: fit-content; }
.contact__text { max-width: 312px; }
@media (min-width: 768px) { .contact__text { max-width: 352px; margin-top: 12px; } }
@media (min-width: 1250px) { .contact__text { max-width: 512px; margin-top: 50px; } }
@media (min-width: 1440px) { .contact__text { margin-top: 26px; } }
@media (min-width: 1900px) { .contact__text { max-width: 560px; margin-top: 56px; } }
.contact__desc { margin-top: 16px; }
@media (min-width: 1250px) { .contact__desc { margin-top: 40px; } }
.contact__links { margin-top: 80px; display: flex; flex-direction: column; }
@media (min-width: 1250px) { .contact__links { flex-direction: row; } }
.contact__link-block:first-child { margin-bottom: 43px; }
@media (min-width: 768px) { .contact__link-block:first-child { margin-bottom: 36px; } }
@media (min-width: 1250px) { .contact__link-block:first-child { margin-bottom: 0; margin-right: 80px; } }
@media (min-width: 1900px) { .contact__link-block:first-child { margin-right: 136px; } }
.contact__link-title { display: block; color: var(--color-gray-700); font-weight: 500; }
.contact__link-text { font-family: var(--font-body); font-size: 24px; font-weight: 500; line-height: 135%; letter-spacing: -0.02em; }
@media (min-width: 768px) { .contact__link-text { font-size: 20px; line-height: 140%; letter-spacing: -0.01em; } }
@media (min-width: 1250px) { .contact__link-text { font-size: 28px; } }
@media (min-width: 1900px) { .contact__link-text { font-size: 32px; } }
.contact__form-wrap { grid-column: 1 / span 6; margin-top: 64px; }
@media (min-width: 768px) { .contact__form-wrap { grid-column: 7 / span 6; margin-top: 0; } }
@media (min-width: 1250px) { .contact__form-wrap { grid-column: 8 / span 5; } }

.cform { background-color: var(--color-gray-5); border-radius: 4px; padding: 28px 24px 24px; }
@media (min-width: 768px) { .cform { padding: 36px 32px 32px; } }
@media (min-width: 1250px) { .cform { padding: 48px 48px 40px; } }
.cform__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
@media (min-width: 1250px) { .cform__progress { margin-bottom: 36px; } }
.cform__progress-label { color: var(--color-gray-700); white-space: nowrap; }
.cform__bar { flex: 1 1 auto; height: 2px; background-color: var(--color-gray-200); position: relative; overflow: hidden; }
.cform__bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 33.333%; background-color: var(--color-black); transition: width 0.6s var(--easeOutExpo); }
.cform__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.cform__q { display: block; font-family: var(--font-head); font-size: 24px; font-weight: var(--w-head); line-height: 120%; letter-spacing: -0.02em; margin-bottom: 24px; }
@media (min-width: 1250px) { .cform__q { font-size: 30px; margin-bottom: 28px; } }
@media (min-width: 1900px) { .cform__q { font-size: 34px; } }
.cform__chips { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1250px) { .cform__chips { gap: 12px; } }
.chip { font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 130%; letter-spacing: -0.01em; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--color-gray-500); background-color: var(--color-white); color: var(--color-black); cursor: pointer; transition: background-color 0.25s var(--easeOutExpo), border-color 0.25s var(--easeOutExpo), color 0.25s var(--easeOutExpo); }
@media (min-width: 1250px) { .chip { font-size: 18px; padding: 13px 20px; } }
.chip:hover { border-color: var(--color-gray-600); }
.chip.is-selected { background-color: var(--color-gray-900); border-color: var(--color-gray-900); color: var(--color-white); }
.chip:focus-visible { outline: 2px solid var(--color-black); outline-offset: 3px; }
.field { margin-top: 24px; }
@media (min-width: 1250px) { .field { margin-top: 28px; } }
.field__label { display: block; color: var(--color-gray-700); margin-bottom: 6px; }
.field__opt { color: var(--color-gray-600); margin-left: 6px; }
.field__input { display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--color-gray-500); border-radius: 0; padding: 10px 0 12px; font-family: var(--font-body); font-size: 18px; font-weight: 500; line-height: 130%; letter-spacing: -0.01em; color: var(--color-black); transition: border-color 0.25s var(--easeOutExpo); }
@media (min-width: 1250px) { .field__input { font-size: 20px; } }
.field__input::placeholder { color: var(--color-gray-600); }
.field__input:focus { outline: none; border-bottom-color: var(--color-black); }
.field__input.is-invalid { border-bottom-color: var(--color-red-600); }
textarea.field__input { resize: vertical; min-height: 96px; }
.cform__error { color: var(--color-red-600); margin-top: 10px; }
.cform__error--global { margin-top: 20px; }
.cform__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.cform__actions[hidden], .cform__step[hidden], .cform__done[hidden], .cform__error[hidden] { display: none; }
@media (min-width: 1250px) { .cform__actions { margin-top: 40px; } }
.btn-primary { margin-left: auto; display: inline-block; border-radius: 999px; padding: 15px 24px; background-color: var(--color-gray-900); color: var(--color-white); font-family: var(--font-head); font-size: 16px; font-weight: var(--w-head); line-height: 21px; transition: background-color 0.33s var(--easeOutExpo); cursor: pointer; }
@media (min-width: 1250px) { .btn-primary { font-size: 18px; padding: 16px 28px; } }
.btn-primary:hover, .btn-primary:focus-visible { background-color: var(--color-gray-800); }
.btn-primary:disabled { background-color: var(--color-gray-500); cursor: default; }
.cform__back { display: inline-flex; align-items: center; gap: 6px; color: var(--color-gray-700); font-family: var(--font-body); font-size: 16px; font-weight: 500; }
.cform__back svg { width: 22px; height: 22px; }
.cform__back:hover { color: var(--color-black); }
.cform__done .cform__q { margin-bottom: 16px; }
.cform__done-text { color: var(--color-gray-700); }
.cform__done-link { text-decoration: underline; text-underline-offset: 4px; }
.cform__done-home { margin-top: 32px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 130px; padding-bottom: 80px; }
@media (min-width: 768px) { .legal { padding-top: 158px; padding-bottom: 100px; } }
@media (min-width: 1250px) { .legal { padding-top: 150px; padding-bottom: 120px; } }
@media (min-width: 1900px) { .legal { padding-top: 174px; } }
.legal__body { max-width: 720px; }
.legal__body h1 { margin-bottom: 16px; }
.legal__meta { color: var(--color-gray-600); margin-bottom: 40px; }
.legal__body h2 { margin: 40px 0 12px; }
.legal__body p { margin: 0 0 16px; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }


/* ---------- Accessibility ---------- */
/* Visible focus ring on the underlined text inputs, which otherwise only changed colour. */
.field__input:focus-visible { outline: 2px solid var(--color-black); outline-offset: 3px; border-radius: 2px; }
/* The Back control was a 63x22 target; padding lifts it over the 44px minimum without moving the row. */
.cform__back { padding: 11px 8px; margin-left: -8px; }

/* Skip link: off screen until focused. */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; padding: 12px 18px; background: var(--color-black); color: var(--color-white); border-radius: 999px; font-family: var(--font-head); font-size: 14px; font-weight: var(--w-head); }

@media (max-width: 767px) {
}

/* Honour a reduced-motion preference across the whole site, not just the marquee. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .rv-fade, [data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .work__image, .work__image img, .industry__link, .logos__item { transition: none !important; transform: none !important; filter: none !important; opacity: 1 !important; }
}
