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

html {
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

@font-face {
  font-family: 'Joane';
  src: url('../fonts/Joane-Bold.woff2') format('woff2'),
    url('../fonts/Joane-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inconsolata';
  src: url('../fonts/Inconsolata-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Inconsolata';
  src: url('../fonts/Inconsolata-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Inconsolata';
  src: url('../fonts/Inconsolata-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Inconsolata';
  src: url('../fonts/Inconsolata-600.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

body {
  background: #0a1136;
  font-family: 'Inconsolata', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
}

h1,
h2,
.hero__title,
.subheading,
.services__title,
.projects__title,
.about__title,
.project-slide__title {
  font-family: 'Joane', system-ui, sans-serif;
  font-weight: 700;
}

.service-card__title {
  font-family: inherit;
  font-weight: 600;
}

body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: transparent;
  pointer-events: none;
}

.site-header--hero {
  opacity: 1;
  visibility: visible;
}

.site-header--dark,
.site-header--clear,
.site-header--light,
.site-header--menu-open,
.site-header--blend {
  opacity: 1;
  visibility: visible;
}

.site-header--blend .site-header__brand {
  color: var(--header-fg, #f4f1ec);
  text-shadow: none;
}

.site-header--blend .site-header__toggle {
  color: var(--header-fg, #f4f1ec);
}

.site-header--light .site-header__brand,
.site-header--light-fg .site-header__brand {
  color: #4d4d53;
  text-shadow: none;
}

.site-header--light .site-header__toggle,
.site-header--light-fg .site-header__toggle {
  color: #4d4d53;
}


.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.site-header__brand {
  pointer-events: auto;
  color: #f4f1ec;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(8, 10, 24, 0.35);
}

.site-header__toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #f4f1ec;
}

.site-header__burger {
  --dot: 0.28rem;
  --gap: 0.3rem;
  --step: calc((var(--dot) + var(--gap)) / 2);
  display: grid;
  grid-template-columns: repeat(3, var(--dot));
  grid-template-rows: repeat(3, var(--dot));
  gap: var(--gap);
  width: calc(var(--dot) * 3 + var(--gap) * 2);
  height: calc(var(--dot) * 3 + var(--gap) * 2);
}

.site-header__dot {
  display: block;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: currentColor;
  transform: translate3d(0, 0, 0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Mid-edge dots slide into an X — same motion as the original Lottie */
.site-header__toggle[aria-expanded='true'] .site-header__dot:nth-child(2) {
  transform: translate3d(var(--step), var(--step), 0);
}

.site-header__toggle[aria-expanded='true'] .site-header__dot:nth-child(4) {
  transform: translate3d(var(--step), calc(var(--step) * -1), 0);
}

.site-header__toggle[aria-expanded='true'] .site-header__dot:nth-child(6) {
  transform: translate3d(calc(var(--step) * -1), var(--step), 0);
}

.site-header__toggle[aria-expanded='true'] .site-header__dot:nth-child(8) {
  transform: translate3d(calc(var(--step) * -1), calc(var(--step) * -1), 0);
}

@media (prefers-reduced-motion: reduce) {
  .site-header__dot {
    transition: none;
  }
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  --nav-panel-bg: #0a1136;
}

.site-nav__panel {
  position: absolute;
  inset: 0;
  background: var(--nav-panel-bg);
  transform: translateX(100%);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.site-nav.is-open {
  pointer-events: auto;
}

.site-nav.is-open .site-nav__panel {
  transform: translateX(0);
}

.site-nav.is-open.is-exiting {
  pointer-events: none;
}

.site-nav.is-open.is-exiting .site-nav__panel {
  transition: none;
}

.site-nav.is-open.is-exiting .site-nav__links li {
  opacity: 0;
  transform: translateX(2.75rem);
  transition-duration: 0.28s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav.is-open.is-exiting .site-nav__links li:nth-child(6) { transition-delay: 0s; }
.site-nav.is-open.is-exiting .site-nav__links li:nth-child(5) { transition-delay: 0.025s; }
.site-nav.is-open.is-exiting .site-nav__links li:nth-child(4) { transition-delay: 0.05s; }
.site-nav.is-open.is-exiting .site-nav__links li:nth-child(3) { transition-delay: 0.075s; }
.site-nav.is-open.is-exiting .site-nav__links li:nth-child(2) { transition-delay: 0.1s; }
.site-nav.is-open.is-exiting .site-nav__links li:nth-child(1) { transition-delay: 0.125s; }

.site-nav.is-open.is-exiting .site-nav__info {
  opacity: 0;
  transition-duration: 0.22s;
  transition-delay: 0.04s;
}

.site-nav.is-open.is-exiting .site-nav__footer {
  opacity: 0;
  transition: opacity 0.2s ease;
  transition-delay: 0.06s;
}

.site-nav__layout {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 3rem;
  min-height: 0;
  padding-top: 6.5rem;
  padding-bottom: 2rem;
}

@media (min-width: 900px) {
  .site-nav__layout {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4rem;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}

.site-nav__eyebrow {
  color: #f8a652;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.site-nav__links {
  list-style: none;
  display: grid;
  width: max-content;
  max-width: 100%;
}

.site-nav__links li {
  opacity: 0;
  transform: translateX(2.75rem);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav__info {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-nav:not(.is-open) .site-nav__links li,
.site-nav:not(.is-open) .site-nav__info {
  transition-delay: 0s;
  transition-duration: 0.25s;
}

.site-nav.is-open .site-nav__links li {
  opacity: 1;
  transform: translateX(0);
}

.site-nav.is-open .site-nav__info {
  opacity: 1;
}

.site-nav.is-open .site-nav__links li:nth-child(1) { transition-delay: 0.42s; }
.site-nav.is-open .site-nav__links li:nth-child(2) { transition-delay: 0.54s; }
.site-nav.is-open .site-nav__links li:nth-child(3) { transition-delay: 0.66s; }
.site-nav.is-open .site-nav__links li:nth-child(4) { transition-delay: 0.78s; }
.site-nav.is-open .site-nav__links li:nth-child(5) { transition-delay: 0.9s; }
.site-nav.is-open .site-nav__links li:nth-child(6) { transition-delay: 1.02s; }
.site-nav.is-open .site-nav__info { transition-delay: 0.5s; }

@media (max-width: 899px) {
  .site-nav__eyebrow {
    display: none;
  }

  .site-nav__layout {
    align-content: stretch;
    gap: 0;
    padding-top: 5.5rem;
    padding-bottom: 0.5rem;
  }

  .site-nav__primary {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: 0;
  }

  .site-nav__links {
    width: 100%;
    flex: 1;
    align-content: center;
  }

  .site-nav__footer {
    padding: 1rem 0 1.25rem;
  }
}

.site-nav__links a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  color: rgba(244, 241, 236, 0.84);
  text-decoration: none;
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(244, 241, 236, 0.08);
  transition: color 0.22s ease;
}

.site-nav__links li:last-child a {
  border-bottom: 0;
}

.site-nav__index {
  flex-shrink: 0;
  align-self: flex-start;
  min-width: 2.25rem;
  padding-top: 0.2em;
  color: rgba(244, 241, 236, 0.28);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-align: right;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, color 0.22s ease;
}

.site-nav__label {
  position: relative;
  display: inline-block;
  transition:
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    color 0.22s ease;
}

.site-nav__label::after {
  content: '';
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  top: 52%;
  height: clamp(3px, 0.1em, 6px);
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.site-nav__links a.is-active .site-nav__label::after {
  transform: scaleX(1);
  background: #fff;
}

.site-nav__links a.is-active {
  color: rgba(244, 241, 236, 0.36);
  cursor: default;
}

.site-nav__links a.is-active .site-nav__index {
  color: rgba(244, 241, 236, 0.22);
}

.site-nav__links a.is-active .site-nav__label,
.site-nav__links a.is-active .site-nav__index {
  transition: none;
}

.site-nav__links a:not(.is-active):hover,
.site-nav__links a:not(.is-active):focus-visible {
  color: #f8a652;
}

.site-nav__links a:not(.is-active):hover .site-nav__label,
.site-nav__links a:not(.is-active):focus-visible .site-nav__label {
  transform: translateX(clamp(0.55rem, 1.6vw, 1rem));
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0s,
    color 0.22s ease;
}

.site-nav__links a:not(.is-active):hover .site-nav__index,
.site-nav__links a:not(.is-active):focus-visible .site-nav__index {
  transform: translateX(clamp(0.2rem, 0.6vw, 0.4rem));
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
    color 0.22s ease;
}

.site-nav__links a.is-active:hover,
.site-nav__links a.is-active:focus-visible {
  color: rgba(244, 241, 236, 0.36);
}

.site-nav__links a.is-active:hover .site-nav__label,
.site-nav__links a.is-active:focus-visible .site-nav__label,
.site-nav__links a.is-active:hover .site-nav__index,
.site-nav__links a.is-active:focus-visible .site-nav__index {
  transform: none;
}

@media (max-width: 899px) {
  .site-nav__links a {
    font-size: clamp(3.25rem, 15vw, 4.75rem);
    padding: clamp(0.85rem, 3.25vw, 1.35rem) 0;
    gap: 3rem;
  }

  .site-nav__index {
    font-size: 0.95rem;
    min-width: 2.75rem;
    padding-top: 0.28em;
  }
}

.site-nav__aside {
  display: none;
}

@media (min-width: 900px) {
  .site-nav__aside {
    display: flex;
    justify-content: flex-end;
    justify-self: end;
    width: auto;
  }
}

.site-nav__info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2rem;
}

.site-nav__info-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.site-nav__info-title {
  color: #f8a652;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.site-nav__info-link,
.site-nav__info-contact,
.site-nav__info-text {
  display: block;
  color: rgba(244, 241, 236, 0.74);
  font-size: 0.95rem;
  line-height: 1.65;
  text-decoration: none;
  transition: color 0.22s ease;
}

.site-nav__info-link {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav__info-contact {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav__info-link:hover,
.site-nav__info-link:focus-visible,
.site-nav__info-contact:hover,
.site-nav__info-contact:focus-visible {
  color: #fff;
}

.site-nav__info-text {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(244, 241, 236, 0.78);
}

.site-nav__footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(244, 241, 236, 0.1);
  padding: 1.25rem 0 1.5rem;
}

.site-nav__footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  color: rgba(244, 241, 236, 0.5);
  font-size: 0.875rem;
}

.site-nav__footer-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(244, 241, 236, 0.35);
}

.site-nav--light {
  --nav-panel-bg: #f3f7fa;
}

.site-nav--light .site-nav__eyebrow {
  color: #767bd7;
}

.site-nav--light .site-nav__links a {
  color: #4d4d53;
  border-bottom-color: rgba(77, 77, 83, 0.12);
}

.site-nav--light .site-nav__index {
  color: rgba(77, 77, 83, 0.45);
}

.site-nav--light .site-nav__label::after {
  background: #4d4d53;
}

.site-nav--light .site-nav__links a.is-active {
  color: rgba(77, 77, 83, 0.36);
}

.site-nav--light .site-nav__links a.is-active .site-nav__index {
  color: rgba(77, 77, 83, 0.24);
}

.site-nav--light .site-nav__links a.is-active .site-nav__label::after {
  background: #4d4d53;
}

.site-nav--light .site-nav__links a.is-active:hover,
.site-nav--light .site-nav__links a.is-active:focus-visible {
  color: rgba(77, 77, 83, 0.36);
}

.site-nav--light .site-nav__links a:not(.is-active):hover,
.site-nav--light .site-nav__links a:not(.is-active):focus-visible {
  color: #767bd7;
}

.site-nav--light .site-nav__info-title {
  color: #767bd7;
}

.site-nav--light .site-nav__info-link,
.site-nav--light .site-nav__info-contact,
.site-nav--light .site-nav__info-text {
  color: rgba(77, 77, 83, 0.88);
}

.site-nav--light .site-nav__info-link:hover,
.site-nav--light .site-nav__info-link:focus-visible,
.site-nav--light .site-nav__info-contact:hover,
.site-nav--light .site-nav__info-contact:focus-visible {
  color: #000;
}

.site-nav--light .site-nav__footer {
  border-top-color: rgba(77, 77, 83, 0.12);
}

.site-nav--light .site-nav__footer-inner {
  color: rgba(77, 77, 83, 0.62);
}

.site-nav--light .site-nav__footer-dot {
  background: rgba(77, 77, 83, 0.35);
}

.site-contact {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  --contact-panel-bg: #0a1136;
}

.site-contact__panel {
  position: absolute;
  inset: 0;
  background: var(--contact-panel-bg);
  transform: translateX(100%);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.site-contact.is-open {
  pointer-events: auto;
}

.site-contact.is-open .site-contact__panel {
  transform: translateX(0);
}

.site-contact.is-from-nav .site-contact__panel {
  transform: translateX(0);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-contact.is-from-nav.is-open .site-contact__panel {
  opacity: 1;
}

.site-contact.is-from-nav.is-open .site-contact__header {
  transition-delay: 0.04s;
}

.site-contact.is-from-nav.is-open .site-contact__form {
  transition-delay: 0.1s;
}

.site-contact.is-from-nav.is-open .site-contact__team {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .site-contact.is-from-nav .site-contact__panel,
  .site-nav.is-open.is-exiting .site-nav__links li,
  .site-nav.is-open.is-exiting .site-nav__info,
  .site-nav.is-open.is-exiting .site-nav__footer {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }
}

.site-contact__layout {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
  min-height: auto;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

@media (min-width: 900px) {
  .site-contact__layout {
    display: grid;
    align-content: center;
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}

.site-contact__top {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .site-contact__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      'header form'
      'team form';
    gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
    align-items: center;
  }

  .site-contact__header {
    grid-area: header;
  }

  .site-contact__form {
    grid-area: form;
  }

  .site-contact__team {
    grid-area: team;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
  }
}

.site-contact__header {
  max-width: 34rem;
}

.site-contact__eyebrow {
  color: #767bd7;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.site-contact__title {
  margin: 0;
  color: #f4f1ec;
  font-family: 'Joane', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.site-contact__lead {
  margin: 1.25rem 0 0;
  color: rgba(244, 241, 236, 0.68);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
}

.site-contact__lead a {
  color: #f8a652;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-contact__lead a:hover,
.site-contact__lead a:focus-visible {
  color: #f8a652;
}

.site-contact__header,
.site-contact__form,
.site-contact__team {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.55s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-contact:not(.is-open) .site-contact__header,
.site-contact:not(.is-open) .site-contact__form,
.site-contact:not(.is-open) .site-contact__team {
  transition-delay: 0s;
  transition-duration: 0.25s;
}

.site-contact.is-open .site-contact__header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.38s;
}

.site-contact.is-open .site-contact__form {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}

.site-contact.is-open .site-contact__team {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.58s;
}

@media (max-width: 899px) {
  .site-contact__panel {
    min-height: 100dvh;
  }

  .site-contact__layout {
    padding-top: 5.5rem;
    padding-bottom: 1.25rem;
    gap: 2rem;
  }
}

.site-contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
}

.site-contact__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .site-contact__field-row {
    grid-template-columns: 1fr;
  }
}

.site-contact__field {
  min-width: 0;
}

.site-contact__field-control {
  position: relative;
  display: block;
}

.site-contact__field-control label {
  position: absolute;
  left: 0;
  top: 1rem;
  color: rgba(244, 241, 236, 0.62);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.25s ease;
}

.site-contact__field input,
.site-contact__field textarea {
  width: 100%;
  display: block;
  padding: 1.15rem 0 0.85rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f4f1ec;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
}

.site-contact__field input:-webkit-autofill,
.site-contact__field input:-webkit-autofill:hover,
.site-contact__field input:-webkit-autofill:focus,
.site-contact__field input:-webkit-autofill:active,
.site-contact__field textarea:-webkit-autofill,
.site-contact__field textarea:-webkit-autofill:hover,
.site-contact__field textarea:-webkit-autofill:focus,
.site-contact__field textarea:-webkit-autofill:active {
  -webkit-text-fill-color: #f4f1ec;
  caret-color: #f4f1ec;
  box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 99999s ease-in-out 0s;
  background-color: transparent !important;
  background-image: none !important;
}

.site-contact__field input::placeholder,
.site-contact__field textarea::placeholder {
  color: transparent;
}

.site-contact__field textarea {
  resize: vertical;
  min-height: 6.5rem;
  padding-top: 1.35rem;
}

.site-contact__field--message .site-contact__field-control label {
  top: 1.2rem;
}

.site-contact__field input:focus ~ label,
.site-contact__field textarea:focus ~ label,
.site-contact__field input:not(:placeholder-shown) ~ label,
.site-contact__field textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-0.95rem) scale(0.78);
  color: rgba(244, 241, 236, 0.4);
}

.site-contact__field-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(244, 241, 236, 0.16);
  overflow: hidden;
}

.site-contact__field-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #f8a652;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-contact__field input:focus,
.site-contact__field textarea:focus {
  outline: none;
}

.site-contact__field input:focus ~ .site-contact__field-line::after,
.site-contact__field textarea:focus ~ .site-contact__field-line::after,
.site-contact__field input:not(:placeholder-shown) ~ .site-contact__field-line::after,
.site-contact__field textarea:not(:placeholder-shown) ~ .site-contact__field-line::after {
  transform: scaleX(1);
}

.site-contact__submit {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.85rem;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f4f1ec;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-contact__submit-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(118, 123, 215, 0.4);
  border-radius: 50%;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-contact__submit-icon svg {
  width: 1.1rem;
  height: auto;
}

.site-contact__submit:hover,
.site-contact__submit:focus-visible {
  color: #767bd7;
}

.site-contact__submit:hover .site-contact__submit-icon,
.site-contact__submit:focus-visible .site-contact__submit-icon {
  transform: translateX(4px);
  border-color: #767bd7;
  background: rgba(118, 123, 215, 0.1);
}

.site-contact__team {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.25rem;
  width: fit-content;
  max-width: 100%;
}

@media (min-width: 900px) {
  .site-contact__team {
    flex-wrap: nowrap;
    gap: 2.25rem;
  }
}

@media (max-width: 899px) {
  .site-contact__top {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .site-contact__header {
    order: 1;
  }

  .site-contact__title {
    margin-top: 1.7lh;
  }

  .site-contact__form {
    order: 2;
  }

  .site-contact__team {
    order: 3;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: none;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin: 0.75rem 0 1.25rem;
  }

  .site-contact__person-inner {
    --contact-person-media-size: min(42vw, 9.5rem);
    width: var(--contact-person-media-size);
  }
}

.site-contact__person {
  flex: 0 0 auto;
  width: auto;
}

.site-contact__person-inner {
  position: relative;
  --contact-person-media-size: 10rem;
  display: grid;
  grid-template-rows: var(--contact-person-media-size) auto;
  align-content: start;
  justify-items: start;
  width: var(--contact-person-media-size);
}

.site-contact__person-media {
  position: relative;
  grid-row: 1;
  z-index: 1;
  align-self: end;
  justify-self: start;
  width: var(--contact-person-media-size);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  background: #4c5274;
}

.site-contact__person-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.site-contact__person-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #4c5274;
  mix-blend-mode: color;
  opacity: 0.95;
  pointer-events: none;
}

.site-contact__person-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to top,
    rgba(10, 17, 54, 0.9) 0%,
    rgba(10, 17, 54, 0.5) 38%,
    transparent 72%
  );
  pointer-events: none;
}

.site-contact__person-heading {
  position: absolute;
  top: var(--contact-person-media-size);
  left: 0;
  z-index: 4;
  width: var(--contact-person-media-size);
  margin: 0;
  transform: translateY(-50%);
}

.site-contact__person-name {
  margin: 0;
  color: #f4f1ec;
  font-family: 'Joane', system-ui, sans-serif;
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.site-contact__person-details {
  position: relative;
  z-index: 3;
  grid-row: 2;
  width: var(--contact-person-media-size);
  margin: 0;
  padding-top: 1.2rem;
}

.site-contact__person-role {
  margin: 0 0 0.65rem;
  color: rgba(244, 241, 236, 0.55);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.site-contact__person-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-contact__person-link {
  color: rgba(244, 241, 236, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.site-contact__person-link:hover,
.site-contact__person-link:focus-visible {
  color: #f4f1ec;
}

.site-contact__footer {
  display: none;
  position: relative;
  z-index: 1;
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid rgba(244, 241, 236, 0.1);
  padding: 1.25rem 0 1.5rem;
}

.site-contact__footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  color: rgba(244, 241, 236, 0.5);
  font-size: 0.875rem;
}

.site-contact__footer-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(244, 241, 236, 0.35);
}

.site-contact--light {
  --contact-panel-bg: #f3f7fa;
}

.site-contact--light .site-contact__eyebrow {
  color: #767bd7;
}

.site-contact--light .site-contact__title {
  color: #0a1136;
}

.site-contact--light .site-contact__lead {
  color: rgba(10, 17, 54, 0.68);
}

.site-contact--light .site-contact__lead a {
  color: #767bd7;
}

.site-contact--light .site-contact__lead a:hover,
.site-contact--light .site-contact__lead a:focus-visible {
  color: #767bd7;
}

.site-contact--light .site-contact__field-control label {
  color: rgba(10, 17, 54, 0.55);
}

.site-contact--light .site-contact__field input,
.site-contact--light .site-contact__field textarea {
  color: #0a1136;
}

.site-contact--light .site-contact__field input:-webkit-autofill,
.site-contact--light .site-contact__field input:-webkit-autofill:hover,
.site-contact--light .site-contact__field input:-webkit-autofill:focus,
.site-contact--light .site-contact__field input:-webkit-autofill:active,
.site-contact--light .site-contact__field textarea:-webkit-autofill,
.site-contact--light .site-contact__field textarea:-webkit-autofill:hover,
.site-contact--light .site-contact__field textarea:-webkit-autofill:focus,
.site-contact--light .site-contact__field textarea:-webkit-autofill:active {
  -webkit-text-fill-color: #0a1136;
  caret-color: #0a1136;
  box-shadow: 0 0 0 1000px transparent inset;
  background-color: transparent !important;
  background-image: none !important;
}

.site-contact--light .site-contact__field input:focus ~ label,
.site-contact--light .site-contact__field textarea:focus ~ label,
.site-contact--light .site-contact__field input:not(:placeholder-shown) ~ label,
.site-contact--light .site-contact__field textarea:not(:placeholder-shown) ~ label {
  color: rgba(10, 17, 54, 0.38);
}

.site-contact--light .site-contact__field-line {
  background: rgba(10, 17, 54, 0.14);
}

.site-contact--light .site-contact__field-line::after {
  background: linear-gradient(90deg, #767bd7 0%, #a39fd4 100%);
}

.site-contact--light .site-contact__submit {
  color: #0a1136;
}

.site-contact--light .site-contact__submit:hover,
.site-contact--light .site-contact__submit:focus-visible {
  color: #767bd7;
}

.site-contact--light .site-contact__person-media {
  background: #4c5274;
}

.site-contact--light .site-contact__person-cover {
  background: #4c5274;
  opacity: 0.95;
}

.site-contact--light .site-contact__person-media::after {
  background: linear-gradient(
    to top,
    rgba(10, 17, 54, 0.96) 0%,
    rgba(10, 17, 54, 0.72) 28%,
    rgba(10, 17, 54, 0.28) 55%,
    transparent 78%
  );
}

.site-contact--light .site-contact__person-name {
  color: #767bd7;
  text-shadow:
    0 0 10px rgba(10, 17, 54, 0.35),
    0 1px 2px rgba(10, 17, 54, 0.25);
}

.site-contact--light .site-contact__person-role {
  color: rgba(77, 77, 83, 0.55);
}

.site-contact--light .site-contact__person-link {
  color: rgba(77, 77, 83, 0.88);
}

.site-contact--light .site-contact__person-link:hover,
.site-contact--light .site-contact__person-link:focus-visible {
  color: #4d4d53;
}

.site-contact--light .site-contact__person-photo {
  background: rgba(255, 255, 255, 0.72);
}

.site-contact--light .site-contact__footer {
  border-top-color: rgba(77, 77, 83, 0.12);
}

.site-contact--light .site-contact__footer-inner {
  color: rgba(77, 77, 83, 0.62);
}

.site-contact--light .site-contact__footer-dot {
  background: rgba(77, 77, 83, 0.35);
}

.hero {
  position: relative;
  width: 100%;
  height: 110svh;
  height: var(--hero-locked-height, 110svh);
  overflow: hidden;
  background: #0a1136;
  margin-bottom: -1px;
}

.hero__stage {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero__layer,
.hero__cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  will-change: transform;
}

.hero__layer {
  object-fit: cover;
  object-position: center bottom;
  border: 0;
  outline: none;
}

/* Deferred layers: hide until src is set so empty img boxes do not flash as borders */
.hero__layer[data-src],
.hero__cloud-slide img[data-src] {
  opacity: 0;
  visibility: hidden;
}

.hero__layer:not([data-src]),
.hero__cloud-slide img:not([data-src]) {
  opacity: 1;
  visibility: visible;
}

.hero__layer[data-layer='1'] {
  z-index: 1;
}

.hero__cloud[data-layer='2'] {
  z-index: 2;
}

.hero__layer[data-layer='3'] {
  z-index: 3;
}

.hero__cloud[data-layer='4'] {
  z-index: 4;
}

.hero__layer[data-layer='5'] {
  z-index: 5;
}

.hero__layer[data-layer='6'] {
  z-index: 6;
}

.hero__cloud[data-layer='7'] {
  z-index: 7;
}

.hero__layer[data-layer='8'] {
  z-index: 8;
}

.hero__layer[data-layer='9'] {
  z-index: 9;
}

.hero__layer[data-layer='10'] {
  z-index: 11;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__content .container {
  pointer-events: auto;
  transform: translateY(-2.5rem);
}

.hero__content-inner {
  max-width: 34rem;
  color: #f4f1ec;
  text-shadow: 0 2px 24px rgba(8, 10, 24, 0.45);
  text-align: left;
}

.hero__title {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}

.hero__title-break {
  display: none;
}

.hero__text {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  color: rgba(244, 241, 236, 0.88);
  margin-bottom: 2rem;
  max-width: 30rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #f4f1ec;
  text-decoration: none;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  color: #fff;
}

.hero__cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.hero__cta-line {
  display: block;
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__cta:hover .hero__cta-line,
.hero__cta:focus-visible .hero__cta-line {
  width: 3.25rem;
}

.hero__cta-head {
  width: 0.75rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: -1px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero__cta:hover .hero__cta-head,
.hero__cta:focus-visible .hero__cta-head {
  transform: translateX(3px);
}

.hero__cloud {
  overflow: hidden;
}

.hero__cloud-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: cloud-drift 90s linear infinite;
}

.hero__cloud[data-layer='2'] .hero__cloud-track {
  animation-duration: 220s;
}

.hero__cloud[data-layer='4'] .hero__cloud-track {
  animation-duration: 150s;
}

.hero__cloud[data-layer='7'] .hero__cloud-track {
  animation-duration: 115s;
}

.hero__cloud-slide {
  flex: 0 0 auto;
  height: 100%;
  /* Overlap by 1px so tile seams do not flash as hairlines */
  margin-right: -1px;
}

.hero__cloud-slide img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  border: 0;
  outline: none;
  object-fit: contain;
  object-position: left bottom;
  /* Soften subpixel gaps between duplicated tiles */
  backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes cloud-drift {
  from {
    transform: translate3d(calc(-50% + 0.5px), 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.services {
  position: relative;
  background: #0a1136;
  color: #f4f1ec;
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(5rem, 12vw, 8rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.subheading,
.service-card__title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f4f1ec;
}

.services__header {
  --header-focus: 0;
  --header-stroke: 0;
  margin-bottom: clamp(2.75rem, 6vw, 4rem);
}

.services__header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.services__title {
  flex: 1;
  min-width: 0;
  opacity: calc(0.7 + var(--header-focus, 0) * 0.3);
}

.services__label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
  padding-top: 0.15em;
}

.services__label-line {
  display: block;
  width: clamp(10.5rem, 21vw, 16.5rem);
  height: 2px;
  background: #a39fd4;
  opacity: var(--header-stroke, 0);
  transform: scaleX(var(--header-stroke, 0));
  transform-origin: right center;
}

.services__label-text {
  font-size: clamp(0.875rem, 1.35vw, 0.975rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 236, 0.92);
  white-space: nowrap;
  opacity: calc(0.45 + var(--header-focus, 0) * 0.55);
}

.services__label-num {
  display: inline-block;
  color: #f8a652;
  font-weight: 600;
  opacity: calc(0.35 + var(--header-focus, 0) * 0.65);
  transform: scale(calc(0.88 + var(--header-focus, 0) * 0.12));
  text-shadow: 0 0 calc(var(--header-focus, 0) * 18px) rgba(248, 166, 82, 0.55);
}

.services__label-sep {
  margin: 0 0.35em;
  color: rgba(244, 241, 236, 0.5);
  font-weight: 500;
}

.services__rule {
  width: 100%;
  height: 2px;
  margin-top: 1.15rem;
  background: rgba(244, 241, 236, 0.22);
  opacity: calc(var(--header-stroke, 0) * 0.85);
  transform: scaleX(var(--header-stroke, 0));
  transform-origin: left center;
}

.services__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.services__cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-left: auto;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  font-weight: 500;
  color: #f4f1ec;
  text-decoration: none;
  transition: color 0.2s ease;
}

.services__cta:hover,
.services__cta:focus-visible {
  color: #767bd7;
}

.services__cta-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(118, 123, 215, 0.4);
  border-radius: 50%;
  color: #767bd7;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.services__cta-icon svg {
  width: 1.1rem;
  height: auto;
}

@keyframes services-cta-hint {
  0%,
  100% {
    background: transparent;
    border-color: rgba(118, 123, 215, 0.4);
  }

  50% {
    background: rgba(118, 123, 215, 0.22);
    border-color: #8f93e0;
  }
}

.services__cta-icon.is-scroll-hint {
  transition: none;
  animation: services-cta-hint 1s ease-in-out 1;
}

.services__cta:hover .services__cta-icon,
.services__cta:focus-visible .services__cta-icon {
  background: rgba(118, 123, 215, 0.12);
  border-color: #767bd7;
  transform: translateX(4px);
}

.service-card {
  --focus: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(244, 241, 236, calc(0.06 + var(--focus) * 0.18));
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.service-card__text {
  color: rgba(244, 241, 236, 0.78);
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: 0.25rem;
}

.service-card__tags li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 236, calc(0.08 + var(--focus) * 0.14));
  background: rgba(255, 255, 255, calc(0.02 + var(--focus) * 0.05));
  color: rgba(244, 241, 236, 0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: calc(0.35 + var(--focus) * 0.65);
}

.service-card__tags li.reveal-init {
  --tag-reveal: 0;
  opacity: 1;
  border-color: rgba(244, 241, 236, calc((0.08 + var(--focus) * 0.14) * var(--tag-reveal)));
  background: rgba(255, 255, 255, calc((0.02 + var(--focus) * 0.05) * var(--tag-reveal)));
}

.service-card__tags li.reveal-init .reveal-char {
  color: rgba(244, 241, 236, calc(0.88 * var(--char-opacity, 0.14)));
}

.reveal-word {
  white-space: nowrap;
}

.reveal-char {
  color: rgba(244, 241, 236, var(--char-opacity, 0.14));
  transition: color 0.1s linear;
}

.footer-contact .reveal-char {
  color: rgba(10, 17, 54, var(--char-opacity, 0.14));
}

@media (prefers-reduced-motion: reduce) {
  .reveal-char {
    color: rgba(244, 241, 236, 0.78);
  }

  .footer-contact .reveal-char {
    color: rgba(10, 17, 54, 0.9);
  }
}

.projects {
  background: #0a1136;
  color: #f4f1ec;
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(5rem, 11vw, 7.5rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.projects__header {
  --header-focus: 0;
  --header-stroke: 0;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.projects__header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.projects__title {
  flex: 1;
  min-width: 0;
  opacity: calc(0.7 + var(--header-focus, 0) * 0.3);
}

.projects__label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
  padding-top: 0.15em;
}

.projects__label-line {
  display: block;
  width: clamp(10.5rem, 21vw, 16.5rem);
  height: 2px;
  background: #a39fd4;
  opacity: var(--header-stroke, 0);
  transform: scaleX(var(--header-stroke, 0));
  transform-origin: right center;
}

.projects__label-text {
  font-size: clamp(0.875rem, 1.35vw, 0.975rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 236, 0.92);
  white-space: nowrap;
  opacity: calc(0.45 + var(--header-focus, 0) * 0.55);
}

.projects__label-num {
  display: inline-block;
  color: #f8a652;
  font-weight: 600;
  opacity: calc(0.35 + var(--header-focus, 0) * 0.65);
  transform: scale(calc(0.88 + var(--header-focus, 0) * 0.12));
  text-shadow: 0 0 calc(var(--header-focus, 0) * 18px) rgba(248, 166, 82, 0.55);
}

.projects__label-sep {
  margin: 0 0.35em;
  color: rgba(244, 241, 236, 0.5);
  font-weight: 500;
}

.projects__rule {
  width: 100%;
  height: 2px;
  margin-top: 1.15rem;
  background: rgba(244, 241, 236, 0.22);
  opacity: calc(var(--header-stroke, 0) * 0.85);
  transform: scaleX(var(--header-stroke, 0));
  transform-origin: left center;
}

.projects__carousel {
  position: relative;
}

.projects__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  --project-media-slot: clamp(16rem, 40vh, 26rem);
  --project-details-slot: 15rem;
  min-height: calc(var(--project-media-slot) + var(--project-details-slot));
  --project-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --project-ease-out: cubic-bezier(0.42, 0, 0.18, 1);
  --project-ease-grow: cubic-bezier(0.34, 1.18, 0.44, 1);
  --project-ease-shrink: cubic-bezier(0.45, 0.02, 0.25, 1.1);
  --project-ease-cover: cubic-bezier(0.36, 1.2, 0.46, 1);
  --project-ease-swing: cubic-bezier(0.22, 1.06, 0.34, 1);
  --project-swing-angle: 6deg;
  --project-swing-drop: 0.4rem;
  --project-swing-scale: 0.94;
  --project-move: 0.946s;
  --project-grow: 0.856s;
  --project-text-grow: calc(var(--project-grow) + 0.09s);
  --project-shrink: 0.946s;
  --project-cover-fade: 1.26s;
  --project-cover-zoom: 1.28;
  --project-inactive-scale: 0.75;
}

.project-slide {
  position: absolute;
  top: 0;
  width: 33.3333%;
  padding: 0 0.85rem;
  box-sizing: border-box;
  z-index: 1;
  transition: left var(--project-move) var(--project-ease-out);
}

.project-slide.is-entering {
  transition: left var(--project-move) var(--project-ease-out);
}

.project-slide.is-prev {
  left: 0;
}

.project-slide.is-active {
  left: 33.3333%;
  z-index: 2;
}

.project-slide.is-next {
  left: 66.6667%;
}

.project-slide.is-exiting.is-prev {
  left: -38%;
  z-index: 0;
}

.project-slide.is-exiting.is-next {
  left: 100%;
  z-index: 0;
}

.project-slide.is-enter-from-right,
.project-slide.is-enter-from-left {
  transition: none;
}

.project-slide.is-enter-from-right {
  left: 103%;
  z-index: 1;
}

.project-slide.is-enter-from-left {
  left: -38%;
  z-index: 1;
}

.project-slide--enter-clone {
  pointer-events: none;
}

.project-slide.is-instant,
.project-slide.is-instant .project-slide__media,
.project-slide.is-instant .project-slide__cover,
.project-slide.is-instant .project-slide__heading-clip,
.project-slide.is-instant .project-slide__text-clip,
.project-slide.is-instant .project-slide__cta-clip,
.project-slide.is-instant .project-slide__title,
.project-slide.is-instant .project-slide__text,
.project-slide.is-instant .project-slide__cta,
.project-slide.is-instant .project-slide__details {
  transition: none !important;
  animation: none !important;
}

.project-slide__inner {
  position: relative;
  --project-media-slot: clamp(16rem, 40vh, 26rem);
  --project-details-slot: 15rem;
  display: grid;
  grid-template-rows: var(--project-media-slot) auto;
  align-content: start;
  width: 100%;
  min-height: calc(var(--project-media-slot) + var(--project-details-slot));
}

.project-slide__media {
  position: relative;
  grid-row: 1;
  z-index: 1;
  align-self: end;
  justify-self: center;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  overflow: hidden;
  transform: scale(var(--project-inactive-scale));
  transform-origin: center bottom;
  transition: none;
  will-change: transform;
  backface-visibility: hidden;
}

.project-slide.is-expanded .project-slide__media {
  transform: scale(1);
  transition: transform var(--project-grow) var(--project-ease-grow);
}

.project-slide.is-entering:not(.is-expanded) .project-slide__media {
  transform: scale(var(--project-inactive-scale));
  transition: none;
}

.project-slide.is-leaving .project-slide__media {
  transform: scale(var(--project-inactive-scale));
  transition: transform var(--project-shrink) var(--project-ease-shrink);
}

.project-slide__cover {
  position: absolute;
  inset: -3px;
  z-index: 2;
  background-color: #0a1136;
  background-image: url('../Images/projects/dot-matrix.webp');
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  transform: scale(1.04);
  transform-origin: center center;
  transition: none;
  pointer-events: none;
  backface-visibility: hidden;
}

.project-slide.is-expanded .project-slide__cover {
  opacity: 0;
  transform: scale(var(--project-cover-zoom));
  transition:
    opacity var(--project-cover-fade) var(--project-ease-cover),
    transform var(--project-grow) var(--project-ease-cover);
}

.project-slide.is-entering:not(.is-expanded) .project-slide__cover {
  opacity: 1;
  transform: scale(1.04);
  transition: none;
}

.project-slide.is-leaving .project-slide__cover {
  opacity: 1;
  transform: scale(1.04);
  transition:
    opacity var(--project-cover-fade) var(--project-ease-cover),
    transform var(--project-shrink) var(--project-ease-cover);
}

.project-slide__details {
  position: relative;
  z-index: 3;
  grid-row: 2;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  max-height: 0;
  padding-top: 0;
  overflow: hidden;
  pointer-events: none;
}

.project-slide.is-active .project-slide__details {
  max-height: none;
  padding-top: 1.75rem;
  padding-bottom: 0.25rem;
  min-height: 13rem;
}

.project-slide.is-active.is-expanded .project-slide__details {
  overflow: visible;
  pointer-events: auto;
  z-index: 5;
}

.project-slide.is-leaving .project-slide__details {
  max-height: none;
  padding-top: 1.75rem;
  padding-bottom: 0.25rem;
  min-height: 13rem;
  overflow: hidden;
  pointer-events: none;
}

.project-slide__heading-clip,
.project-slide__text-clip,
.project-slide__cta-clip {
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--project-grow) var(--project-ease-swing);
}

.project-slide__text-clip {
  transition: clip-path var(--project-text-grow) var(--project-ease-swing);
}

.project-slide__title,
.project-slide__text,
.project-slide__cta {
  opacity: 0;
  transform: rotate(var(--project-swing-angle)) translateY(var(--project-swing-drop))
    scale(var(--project-swing-scale));
  transform-origin: left center;
  transition:
    transform var(--project-grow) var(--project-ease-swing),
    opacity calc(var(--project-grow) * 0.65) var(--project-ease-swing);
}

.project-slide__text {
  transition:
    transform var(--project-text-grow) var(--project-ease-swing),
    opacity calc(var(--project-text-grow) * 0.65) var(--project-ease-swing);
}

.project-slide.is-active.is-expanded .project-slide__heading-clip,
.project-slide.is-active.is-expanded .project-slide__text-clip,
.project-slide.is-active.is-expanded .project-slide__cta-clip {
  clip-path: inset(0 0 0 0);
}

.project-slide.is-active.is-expanded .project-slide__text-clip {
  transition-delay: 0.054s;
}

.project-slide.is-active.is-expanded .project-slide__cta-clip {
  transition-delay: 0.108s;
}

.project-slide.is-active.is-expanded .project-slide__title,
.project-slide.is-active.is-expanded .project-slide__text,
.project-slide.is-active.is-expanded .project-slide__cta {
  opacity: 1;
  transform: rotate(0deg) translateY(0) scale(1);
}

.project-slide.is-active.is-expanded .project-slide__text,
.project-slide.is-active.is-expanded .project-slide__cta {
  transition-delay: 0.054s;
}

.project-slide.is-active.is-expanded .project-slide__cta {
  transition-delay: 0.108s;
}

.project-slide.is-leaving .project-slide__heading-clip,
.project-slide.is-leaving .project-slide__text-clip,
.project-slide.is-leaving .project-slide__cta-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.36s var(--project-ease-out);
  transition-delay: 0s;
}

.project-slide.is-leaving .project-slide__title,
.project-slide.is-leaving .project-slide__text,
.project-slide.is-leaving .project-slide__cta {
  opacity: 0;
  transform: rotate(var(--project-swing-angle)) translateY(var(--project-swing-drop))
    scale(var(--project-swing-scale));
  transition:
    transform 0.36s var(--project-ease-out),
    opacity 0.316s var(--project-ease-out);
  transition-delay: 0s;
}

.project-slide.is-leaving .project-slide__text {
  transition:
    transform 0.406s var(--project-ease-out),
    opacity 0.36s var(--project-ease-out);
}

.project-slide__actions {
  display: flex;
  align-items: center;
}

.project-slide__heading-clip {
  --project-heading-media-width: min(100%, 26rem);
  position: absolute;
  top: var(--project-media-slot);
  left: calc((100% - var(--project-heading-media-width)) / 2);
  width: var(--project-heading-media-width);
  margin: 0;
  z-index: 10;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    clip-path var(--project-grow) var(--project-ease-swing),
    visibility 0s linear var(--project-grow);
}

.project-slide.is-active.is-expanded .project-slide__heading-clip {
  visibility: visible;
  pointer-events: auto;
  transition:
    clip-path var(--project-grow) var(--project-ease-swing),
    visibility 0s linear 0s;
}

.project-slide.is-leaving .project-slide__heading-clip {
  visibility: hidden;
  pointer-events: none;
  transition:
    clip-path 0.36s var(--project-ease-out),
    visibility 0s linear 0.316s;
}

.project-slide__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-slide__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  color: #f4f1ec;
}

.project-slide__text {
  color: rgba(244, 241, 236, 0.72);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.project-slide__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(197, 171, 54, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #ffa953;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.project-slide__cta:hover,
.project-slide__cta:focus-visible {
  background: rgba(255, 169, 83, 0.14);
  border-color: #ffa953;
  color: #ffa953;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  transition-delay: 0s;
}

.projects__nav {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.projects__nav-btn {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid rgba(118, 123, 215, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #767bd7;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.projects__nav-btn svg {
  width: 1.2rem;
  height: auto;
}

.projects__nav-btn:hover,
.projects__nav-btn:focus-visible {
  background: rgba(118, 123, 215, 0.12);
  border-color: #767bd7;
  color: #767bd7;
}

@keyframes projects-nav-hint {
  0%,
  100% {
    background: transparent;
    border-color: rgba(118, 123, 215, 0.4);
  }

  50% {
    background: rgba(118, 123, 215, 0.22);
    border-color: #8f93e0;
  }
}

.projects__nav-btn.is-scroll-hint {
  transition: none;
  animation: projects-nav-hint 1s ease-in-out 1;
}

@media (max-width: 768px) {
  .projects__carousel {
    padding-bottom: 0;
    --project-media-size: min(calc(100vw - 3rem), 26rem);
  }

  .projects__viewport {
    min-height: calc(var(--project-media-size) + 15rem);
  }

  .project-slide {
    width: 100%;
    padding: 0;
  }

  .project-slide.is-prev {
    left: -105%;
  }

  .project-slide.is-active {
    left: 0;
  }

  .project-slide.is-next {
    left: 105%;
  }

  .project-slide.is-exiting.is-prev {
    left: -105%;
  }

  .project-slide.is-exiting.is-next {
    left: 105%;
  }

  .project-slide.is-enter-from-right {
    left: 105%;
  }

  .project-slide.is-enter-from-left {
    left: -105%;
  }

  .project-slide.is-prev:not(.is-exiting):not(.is-leaving):not(.is-enter-from-left):not(.is-entering),
  .project-slide.is-next:not(.is-exiting):not(.is-leaving):not(.is-enter-from-right):not(.is-entering) {
    visibility: hidden;
  }

  .project-slide__inner {
    --project-media-slot: var(--project-media-size);
    width: min(100%, var(--project-media-size));
    margin: 0 auto;
    min-height: calc(var(--project-media-size) + 15rem);
  }

  .project-slide__media {
    width: var(--project-media-size);
    height: var(--project-media-size);
    max-width: 100%;
    aspect-ratio: 1 / 1;
    align-self: end;
    justify-self: center;
  }

  .project-slide.is-expanded .project-slide__media {
    width: var(--project-media-size);
    height: var(--project-media-size);
  }

  .project-slide__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .project-slide.is-active.is-expanded .project-slide__heading-clip,
  .project-slide.is-leaving .project-slide__heading-clip {
    --project-heading-media-width: var(--project-media-size);
    left: 0;
    width: var(--project-media-size);
  }

  .project-slide__details {
    width: 100%;
    max-width: none;
  }

  .project-slide.is-active .project-slide__details {
    min-height: 14rem;
  }

  .project-slide__title {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .projects__nav-btn {
    width: 3.25rem;
    height: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-slide,
  .project-slide__media,
  .project-slide__cover,
  .project-slide__heading-clip,
  .project-slide__text-clip,
  .project-slide__cta-clip,
  .project-slide__title,
  .project-slide__text,
  .project-slide__cta,
  .project-slide__details {
    transition: none;
    animation: none;
  }

  .project-slide.is-active.is-expanded .project-slide__heading-clip,
  .project-slide.is-active.is-expanded .project-slide__text-clip,
  .project-slide.is-active.is-expanded .project-slide__cta-clip {
    clip-path: inset(0 0 0 0);
  }

  .project-slide.is-active.is-expanded .project-slide__heading-clip {
    transform: translateY(-50%);
  }

  .project-slide.is-active.is-expanded .project-slide__title,
  .project-slide.is-active.is-expanded .project-slide__text,
  .project-slide.is-active.is-expanded .project-slide__cta {
    opacity: 1;
    transform: none;
  }
}

.customers {
  background: #0a1136;
  color: #f4f1ec;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.customers__header {
  margin-bottom: clamp(2.25rem, 4.5vw, 3rem);
}

.customers__header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.customers__title {
  flex: 1;
  min-width: 0;
}

.customers__label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
  padding-top: 0.15em;
}

.customers__label-line {
  display: block;
  width: clamp(10.5rem, 21vw, 16.5rem);
  height: 2px;
}

.customers__label-text {
  font-size: clamp(0.875rem, 1.35vw, 0.975rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 236, 0.92);
  white-space: nowrap;
}

.customers__label-num {
  display: inline-block;
  color: #f8a652;
  font-weight: 600;
}

.customers__label-sep {
  margin: 0 0.35em;
  color: rgba(244, 241, 236, 0.5);
  font-weight: 500;
}

.customers__rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 1.15rem;
}

.customers__desc {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: clamp(0.9375rem, 1.45vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(244, 241, 236, 0.78);
}

.customers__logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.customers__logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(2.5rem, 5.25vw, 3.35rem);
}

.customers__logos img {
  display: block;
  width: 100%;
  max-width: min(100%, 11rem);
  height: clamp(2rem, 4vw, 2.75rem);
  object-fit: contain;
  object-position: center center;
  opacity: 0.78;
  filter: brightness(0) invert(1);
}

.customers__logos img.customers__logo--lg {
  height: clamp(2.5rem, 5.25vw, 3.35rem);
  max-width: min(100%, 13.5rem);
}

.customers__logos img.customers__logo--burgerman {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .customers__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 0.75rem;
  }

  .customers__logos img.customers__logo--lg {
    max-width: 100%;
    height: clamp(2rem, 5vw, 2.5rem);
  }
}

.services__label-line,
.projects__label-line,
.customers__label-line {
  background: #a884f8;
  opacity: 1;
  transform: none;
}

.services__rule,
.projects__rule,
.customers__rule {
  background: #2f3557;
  opacity: 1;
  transform: none;
}

.services__title,
.projects__title,
.customers__title,
.services__label-text,
.projects__label-text,
.customers__label-text,
.services__label-num,
.projects__label-num,
.customers__label-num {
  opacity: 1;
  transform: none;
  text-shadow: none;
}

.split2 {
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.split2__container {
  position: relative;
  container-type: inline-size;
}

.image-8 {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin-bottom: 9.79%;
}

.widow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  aspect-ratio: 1920 / 718;
  z-index: 1;
  pointer-events: none;
}

.window-img {
  position: absolute;
  top: 0;
  bottom: auto;
  left: 0;
  right: auto;
  z-index: 1;
  width: 98%;
  max-width: 98%;
  height: auto;
  margin-left: 1%;
  transform-style: preserve-3d;
  transform: rotateY(180deg) translate3d(0, 0, 0);
  will-change: transform;
}

.splitbackground {
  position: absolute;
  top: auto;
  bottom: 2px;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: 30%;
  z-index: 1;
}

.splitbackground::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, #f3f7f9 100%);
}

.splitlist {
  width: 100%;
  height: 15%;
  background-image: linear-gradient(180deg, #141a3c 34%, #202344 100%);
}

.splitfloorgardient {
  z-index: 1;
  height: 90%;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, #f3f7fa 100%);
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
}

.splitfloorimg {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 90%;
  max-width: none;
  background-color: #f3f7fa;
  overflow: hidden;
  object-fit: cover;
  object-position: center bottom;
}

.about {
  position: relative;
  background-color: #f3f7f9;
  background-image: url('../Images/sketch.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #4d4d53;
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(4.5rem, 10vw, 7rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(243, 247, 250, 0) 0%,
    rgba(243, 247, 250, 0) 70%,
    #f3f7fa 100%
  );
  pointer-events: none;
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about__header {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.about__header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.about__title {
  flex: 1;
  min-width: 0;
  color: #4d4d53;
}

.about__label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  flex-shrink: 0;
  padding-top: 0.15em;
}

.about__label-line {
  display: block;
  width: clamp(10.5rem, 21vw, 16.5rem);
  height: 2px;
  background: #767bd7;
}

.about__label-text {
  font-size: clamp(0.875rem, 1.35vw, 0.975rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #4d4d53;
  white-space: nowrap;
}

.about__label-num,
.about__label-sep {
  color: #767bd7;
}

.about__label-num {
  font-weight: 600;
}

.about__label-sep {
  margin: 0 0.35em;
  font-weight: 500;
}

.about__rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 1.15rem;
  background: #767bd7;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.about__content {
  max-width: 40rem;
  font-size: clamp(1rem, 1.65vw, 1.125rem);
  line-height: 1.7;
  color: rgba(77, 77, 83, 0.9);
}

.about__content p + p {
  margin-top: 1.15rem;
}

.about__content-note {
  font-weight: 500;
  color: #4d4d53;
}

.about__content-highlight {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(#767bd7, #767bd7);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
  padding-bottom: 0.12em;
}

.about__content strong {
  font-weight: 600;
  color: #4d4d53;
}

.about__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  font-weight: 500;
  color: #4d4d53;
  text-decoration: none;
  cursor: pointer;
  transition: color 1s ease;
}

.about__content-more {
  margin-top: 1.15rem;
}

.about__content-more-inner {
  display: block;
}

.about__content-measure {
  display: block;
}

.about__content-line {
  display: block;
  opacity: 0;
  transform: translate3d(0, 0.45em, 0);
  will-change: opacity, transform;
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__content-line.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about__content-word {
  display: inline;
}

.about__cta.is-flash,
.about__cta:hover,
.about__cta:focus-visible {
  color: #767bd7;
  transition: color 0.15s ease;
}

.about__cta:focus:not(:focus-visible) {
  color: #4d4d53;
}

.about__cta-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(118, 123, 215, 0.35);
  border-radius: 50%;
  color: #767bd7;
  transition: background 1s ease, border-color 1s ease;
}

.about__cta-icon svg {
  width: 1.1rem;
  height: auto;
  transition: transform 0.25s ease;
}

.about__cta.is-reversed .about__cta-icon svg {
  transform: scaleX(-1);
}

.about__cta.is-flash .about__cta-icon,
.about__cta:hover .about__cta-icon,
.about__cta:focus-visible .about__cta-icon {
  background: rgba(118, 123, 215, 0.1);
  border-color: #767bd7;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.about__cta:focus:not(:focus-visible) .about__cta-icon {
  background: transparent;
  border-color: rgba(118, 123, 215, 0.35);
}

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

.site-footer {
  position: relative;
  min-height: max(100svh, 62.5vw);
  background-color: #0a1136;
  background-image: url('../Images/footer/8.webp');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  content-visibility: auto;
  contain-intrinsic-size: auto 100vh;
}

.footer-contact {
  position: sticky;
  top: clamp(6rem, 18vh, 14rem);
  margin-top: clamp(5rem, 11vw, 10rem);
  margin-left: auto;
  margin-right: max(24px, calc(50% - 600px));
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: min(30rem, 46vw);
  text-align: right;
}

.footer-contact__eyebrow {
  margin: 0 0 0.6rem;
  color: #0a1136;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-contact__title {
  margin: 0;
  font-family: 'Joane', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #0a1136;
  white-space: nowrap;
}

.footer-contact__title-question {
  margin-left: 0.08em;
}

.footer-contact__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  font-weight: 500;
  color: #0a1136;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact__cta:hover,
.footer-contact__cta:focus-visible {
  color: #767bd7;
}

.footer-contact__cta:hover .reveal-char,
.footer-contact__cta:focus-visible .reveal-char {
  color: rgba(118, 123, 215, var(--char-opacity, 1));
}

.footer-contact__cta-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(118, 123, 215, 0.35);
  border-radius: 50%;
  color: #767bd7;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-contact__cta-icon svg {
  width: 1.1rem;
  height: auto;
}

.footer-contact__cta-icon.is-scroll-hint {
  transition: none;
  animation: services-cta-hint 1s ease-in-out 1;
}

.footer-contact__cta:hover .footer-contact__cta-icon,
.footer-contact__cta:focus-visible .footer-contact__cta-icon {
  background: rgba(118, 123, 215, 0.1);
  border-color: #767bd7;
  transform: translateX(4px);
}

.site-footer__panel {
  --footer-panel-extend: clamp(2rem, 4vw, 3.5rem);
  position: absolute;
  right: 0;
  bottom: 0;
  left: max(24px, calc(50% - 600px));
  border-top-left-radius: clamp(2rem, 5vw, 3.5rem);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background: #ffffff;
  box-shadow: 0 -8px 32px rgba(10, 17, 54, 0.08);
}

@media (min-width: 1248px) {
  .site-footer__panel {
    left: calc(50% - 600px - var(--footer-panel-extend));
    padding-left: var(--footer-panel-extend);
  }
}

.site-footer__panel-inner {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-template-rows: auto auto;
  align-items: start;
  width: min(1200px, calc(100vw - 48px));
  max-width: 100%;
  margin: 0;
  column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.site-footer__brand,
.site-footer__social,
.site-footer__nav,
.site-footer__other,
.site-footer__contact {
  display: contents;
}

.site-footer__logo {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 0;
  color: #767bd7;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.site-footer__company {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 0.35rem;
  align-self: end;
  width: max-content;
}

.site-footer__company p {
  margin: 0;
  color: rgba(77, 77, 83, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.65;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer__org-nr a {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: text;
}

.site-footer__heading {
  margin: 0;
  padding: 0;
  color: #767bd7;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer__social .site-footer__heading {
  grid-column: 2;
  grid-row: 1;
}

.site-footer__nav .site-footer__heading {
  grid-column: 3;
  grid-row: 1;
}

.site-footer__other .site-footer__heading {
  grid-column: 4;
  grid-row: 1;
}

.site-footer__contact .site-footer__heading {
  grid-column: 5;
  grid-row: 1;
}

.site-footer__column-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  align-self: end;
}

.site-footer__social .site-footer__column-body {
  grid-column: 2;
  grid-row: 2;
}

.site-footer__nav .site-footer__column-body {
  grid-column: 3;
  grid-row: 2;
}

.site-footer__other .site-footer__column-body {
  grid-column: 4;
  grid-row: 2;
}

.site-footer__contact .site-footer__column-body {
  grid-column: 5;
  grid-row: 2;
}

.site-footer__social-link {
  color: rgba(77, 77, 83, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: #767bd7;
}

.site-footer__nav-link {
  color: rgba(77, 77, 83, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-footer__nav-link:hover,
.site-footer__nav-link:focus-visible {
  color: #767bd7;
}

.site-footer__other-link {
  color: rgba(77, 77, 83, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-footer__other-link:hover,
.site-footer__other-link:focus-visible {
  color: #767bd7;
}

.site-footer__contact-link {
  color: rgba(77, 77, 83, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.65;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.site-footer__contact-text {
  margin: 0;
  color: rgba(77, 77, 83, 0.72);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.65;
  white-space: nowrap;
}

.site-footer__contact-link:hover,
.site-footer__contact-link:focus-visible {
  color: #767bd7;
}

@media (max-width: 1024px) {
  .site-footer {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: -1px;
    background-color: #f3f7f9;
    background-image: none;
    font-size: 0;
    line-height: 0;
  }

  .site-footer::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 1920 / 1186;
    flex-shrink: 0;
    margin-top: clamp(6.3rem, 25vw, 12.6rem);
    margin-bottom: -1px;
    background-color: #0a1136;
    background-image: url('../Images/footer/8.webp');
    background-size: 100% 100%;
    background-position: top center;
    background-repeat: no-repeat;
  }

  .footer-contact {
    position: absolute;
    top: clamp(-3rem, -6vw, -4rem);
    right: clamp(1.25rem, 5vw, 2rem);
    left: auto;
    z-index: 3;
    width: auto;
    max-width: 72vw;
    align-items: flex-end;
    text-align: right;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5;
  }

  .footer-contact__title {
    font-size: clamp(1.75rem, 8vw, 3rem);
  }

  .site-footer__panel {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin-top: -1px;
    padding-left: 0;
    background: #0a1136;
    border-radius: 0;
    box-shadow: none;
    font-size: 1rem;
    line-height: 1.5;
  }

  .site-footer__panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.25rem, 5vw, 1.75rem);
    gap: clamp(1.25rem, 4vw, 1.75rem) clamp(1rem, 3vw, 1.5rem);
    text-align: left;
  }

  .site-footer__brand,
  .site-footer__social,
  .site-footer__nav,
  .site-footer__other,
  .site-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    gap: 0.75rem;
  }

  .site-footer__social {
    grid-column: 1;
  }

  .site-footer__nav {
    grid-column: 2;
  }

  .site-footer__other {
    grid-column: 1;
  }

  .site-footer__contact {
    grid-column: 2;
  }

  .site-footer__logo,
  .site-footer__company,
  .site-footer__heading,
  .site-footer__column-body {
    grid-column: unset;
    grid-row: unset;
    align-self: start;
  }

  .site-footer__company {
    align-self: start;
    justify-items: start;
    width: auto;
  }

  .site-footer__company p {
    white-space: normal;
    color: rgba(244, 241, 236, 0.72);
  }

  .site-footer__column-body {
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    gap: 0.35rem;
  }

  .site-footer__social-link,
  .site-footer__nav-link,
  .site-footer__other-link,
  .site-footer__contact-link,
  .site-footer__contact-text {
    white-space: normal;
    color: rgba(244, 241, 236, 0.72);
  }
}

@media (max-width: 768px) {
  .site-footer__panel {
    border-radius: 0;
  }
}

.project-exit-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  background: #0a1136;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transition:
    opacity 0.35s ease,
    clip-path 0.48s cubic-bezier(0.76, 0, 0.24, 1);
}

.project-exit-transition.is-active {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.project-exit-transition.is-leaving {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transition:
    opacity 0.45s ease 0.15s,
    clip-path 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Return from project: keep content hidden under the navy veil, then fade it in */
html.home-enter-pending,
html.home-enter-pending body {
  background: #0a1136;
}

html.home-enter-pending body > :not(.project-exit-transition) {
  opacity: 0;
  transform: translateY(16px);
}

html.home-enter-pending.is-home-revealing body > :not(.project-exit-transition) {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  .project-exit-transition {
    transition: opacity 0.2s ease;
  }

  .project-exit-transition.is-active,
  .project-exit-transition.is-leaving {
    clip-path: none;
  }

  html.home-enter-pending body > :not(.project-exit-transition),
  html.home-enter-pending.is-home-revealing body > :not(.project-exit-transition) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Mobile polish: hero wrap, section headers, contact footer bar */
@media (max-width: 899px) {
  .hero__title {
    white-space: normal;
    max-width: 12.5em;
  }

  .hero__title-break {
    display: block;
  }

  .services__header-row,
  .projects__header-row,
  .customers__header-row,
  .about__header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .services__label,
  .projects__label,
  .customers__label,
  .about__label {
    order: -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    padding-top: 0;
  }

  .services__label-line,
  .projects__label-line,
  .customers__label-line,
  .about__label-line {
    width: 2.25rem;
    flex-shrink: 0;
    transform-origin: left center;
  }

  .services__title,
  .projects__title,
  .customers__title,
  .about__title {
    width: 100%;
  }

  .services__rule,
  .projects__rule,
  .customers__rule,
  .about__rule {
    margin-top: 1rem;
  }

  .site-contact__footer {
    display: block;
    padding: 1rem 0 1.25rem;
  }

  .about__content-more {
    display: grid;
    grid-template-rows: 0fr;
    margin-top: 0;
    transition:
      grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      margin 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .about__content-more.is-open {
    grid-template-rows: 1fr;
    margin-top: 1.15rem;
  }

  .about__content-more-inner {
    min-height: 0;
    overflow: hidden;
  }
}

@media (min-width: 900px) {
  .about__cta {
    display: none;
  }
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.privacy-modal[hidden] {
  display: none !important;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 17, 54, 0.42);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.privacy-modal.is-open .privacy-modal__backdrop {
  opacity: 1;
}

.privacy-modal__droplet {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  max-height: min(84dvh, 40rem);
  transform-origin: var(--privacy-ox, 50%) var(--privacy-oy, 50%);
  transform: scale(0.08);
  opacity: 0;
  filter: blur(6px);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 10, 24, 0.28);
  transition:
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    filter 0.45s ease,
    border-radius 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-modal.is-open .privacy-modal__droplet {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
  border-radius: 28px;
}

.privacy-modal.is-closing .privacy-modal__droplet {
  transform: scale(0.08);
  opacity: 0;
  filter: blur(6px);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transition-duration: 0.38s, 0.28s, 0.28s, 0.35s;
}

.privacy-modal.is-closing .privacy-modal__backdrop {
  opacity: 0;
}

.privacy-modal__panel {
  position: relative;
  max-height: min(84dvh, 40rem);
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 2.15rem);
  color: #0a1136;
  -webkit-overflow-scrolling: touch;
}

.privacy-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(10, 17, 54, 0.12);
  border-radius: 50%;
  background: transparent;
  color: rgba(10, 17, 54, 0.55);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.privacy-modal__close:hover,
.privacy-modal__close:focus-visible {
  color: #0a1136;
  border-color: rgba(10, 17, 54, 0.28);
  background: rgba(10, 17, 54, 0.04);
}

.privacy-modal__eyebrow {
  margin: 0 0 0.55rem;
  color: #767bd7;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-modal__title {
  margin: 0 0 1.15rem;
  padding-right: 2.5rem;
  font-family: 'Joane', system-ui, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.privacy-modal__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(10, 17, 54, 0.72);
  font-size: 0.975rem;
  line-height: 1.7;
}

.privacy-modal__body p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .privacy-modal__backdrop,
  .privacy-modal__droplet,
  .privacy-modal.is-closing .privacy-modal__droplet {
    transition: none;
  }

  .privacy-modal__droplet {
    transform: none;
    opacity: 1;
    filter: none;
    border-radius: 28px;
  }
}

