/* Devnity Labs — theme styles */

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

@font-face {
  font-family: Urbanist-Regular;
  src: url("../fonts/Urbanist-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Urbanist-ExtraLight;
  src: url("../fonts/Urbanist-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000a21;
  --blue: #2378da;
  --blue-dark: #134074;
  --nav: #448acb;
  --muted: #a9abbe;
  --footer-bg: #081733;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000a21;
  color: #fff;
  font-family: Urbanist-Regular, sans-serif;
  overflow-x: hidden;
}

body.sidebar-open {
  overflow: hidden;
}

body.sidebar-open .navbar {
  z-index: 1;
  pointer-events: none;
}

/* Outer full-bleed navy frame (matches devnitylabs.com) */
.site-outer {
  background: #000a21;
  min-height: 100vh;
  width: 100%;
  padding-bottom: 0;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bold {
  font-family: Urbanist-Bold, sans-serif;
}

.regular {
  font-family: Urbanist-Regular, sans-serif;
}

.ExtraLight {
  font-family: Urbanist-ExtraLight, sans-serif;
}

/* ——— Boxed page pad (p-2.5 / xl:p-9) ——— */
.page-shell,
.site-pad {
  padding: 0.625rem; /* p-2.5 */
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1280px) {
  .page-shell,
  .site-pad {
    padding: 2.25rem; /* xl:p-9 */
  }
}

/* ——— Shine line ——— */
.shine-line {
  position: absolute;
  inset-inline: 0;
  top: -1px;
  width: 50%;
  margin-inline: auto;
  height: 1px;
  background: linear-gradient(to right, transparent, #fff, transparent);
  pointer-events: none;
}

/* ——— Contact / CTA buttons ——— */
.btn-contact {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000a21;
  color: #fff;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  transition: background 0.2s;
}

.btn-contact:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-contact img {
  width: 0.75rem;
  padding-top: 2px;
}

.btn-contact--gradient {
  background: linear-gradient(to right, #2378da, #134074);
}

.btn-contact--show {
  display: inline-flex;
}

@media (min-width: 768px) {
  .btn-contact--md {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .btn-contact {
    font-size: 0.875rem;
    padding: 1rem 1.75rem;
  }
}

/* ——— Explore badge ——— */
.explore-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: fit-content;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
}

.explore-badge__pill {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(to right, #2378da, #134074);
  font-size: 0.875rem;
  color: #fff;
}

@media (min-width: 1024px) {
  .explore-badge__pill {
    font-size: 1.125rem;
  }
}

.explore-badge__text {
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: #fff;
}

@media (min-width: 1024px) {
  .explore-badge__text {
    font-size: 1.125rem;
  }
}

.gradient-text {
  background: linear-gradient(to right, #2378da, #134074);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ——— Navbar (floating pill → full-width glass bar on scroll) ——— */
.navbar {
  position: fixed;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  top: 2.5rem; /* top-10 */
  width: 85%;
  max-width: 100%;
  height: 3.25rem; /* h-13 */
  z-index: 5000;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(68, 138, 203, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-100px);
  transition:
    opacity 0.3s ease,
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    width 0.35s ease,
    top 0.35s ease,
    left 0.35s ease,
    right 0.35s ease,
    margin 0.35s ease,
    border-radius 0.35s ease,
    height 0.35s ease,
    padding 0.35s ease,
    border-color 0.35s ease;
  box-sizing: border-box;
}

.navbar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scrolled: full-width frosted glass bar (matches devnitylabs scroll state) */
.navbar.is-scrolled {
  top: 0rem;
  left: 0rem;
  right: 0rem;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  height: 4.25rem;
  border-radius: 0rem;
  background: rgba(100, 160, 220, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  box-shadow: 0 10px 40px rgba(0, 10, 33, 0.25);
  padding: 0.75rem 1.75rem;
}

@media (min-width: 1024px) {
  .navbar {
    height: 5rem; /* lg:h-20 */
  }

  .navbar.is-scrolled {
    height: 5rem;
    padding: 0.75rem 2rem;
    border-radius: 0rem;
  }
}

@media (min-width: 1280px) {
  .navbar {
    top: 5rem; /* xl:top-20 */
  }

  .navbar.is-scrolled {
    top: 0rem; /* flush with xl:p-9 box */
    left: 0rem;
    right: 0rem;
    border-radius: 0rem;
  }
}

/* WordPress admin bar offset */
body.admin-bar .navbar {
  top: calc(2.5rem + 32px);
}

body.admin-bar .navbar.is-scrolled {
  top: calc(0.625rem + 32px);
}

@media (min-width: 1280px) {
  body.admin-bar .navbar {
    top: calc(5rem + 32px);
  }

  body.admin-bar .navbar.is-scrolled {
    top: calc(2.25rem + 32px);
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: calc(2.5rem + 46px);
  }

  body.admin-bar .navbar.is-scrolled {
    top: calc(0.625rem + 46px);
  }
}

.navbar__logo {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}

.navbar__logo img {
  height: 2rem;
  width: auto;
}

@media (min-width: 1024px) {
  .navbar__logo {
    padding-left: 1rem;
    min-height: 3rem;
  }
  .navbar__logo img {
    height: 2.5rem;
  }
}

.navbar__links {
  display: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1280px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  color: #d4d4d4;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.navbar__link:hover,
.navbar__link.is-active {
  color: #fff;
  background: rgba(0, 10, 33, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar__link .shine-line {
  opacity: 0;
  transition: opacity 0.2s;
}

.navbar__link:hover .shine-line,
.navbar__mega.is-open > .navbar__link .shine-line,
.navbar__mega.is-page-active > .navbar__link .shine-line {
  opacity: 1;
}

.navbar__mega {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
}

/* Hit area below Services so cursor can reach the panel without leaving hover */
.navbar__mega.is-open::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 10rem;
  height: 3rem;
  z-index: 5501;
}

.navbar__mega.is-open > .navbar__link,
.navbar__mega.is-page-active > .navbar__link {
  color: #fff;
  background: rgba(0, 10, 33, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Services mega menu — full viewport width, flush under navbar */
.mega-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  max-width: 100vw;
  z-index: 5500;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  box-sizing: border-box;
}

.mega-menu.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Invisible bridge so cursor can move from Services → panel without closing */
.mega-menu__bridge {
  position: absolute;
  left: 0;
  right: 0;
  top: -4rem;
  height: 4rem;
  background: transparent;
}

.mega-menu__panel {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  background: #000a21;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.mega-menu__media {
  flex-shrink: 0;
  width: 11rem;
  align-self: stretch;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0f1930;
}

.mega-menu__media img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  display: block;
}

.mega-menu__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

.mega-menu__col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mega-menu__title {
  margin: 0 0 0.4rem;
  color: rgba(212, 212, 212, 0.95);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.mega-menu__title:hover {
  color: #2378da;
}

.mega-menu__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.4rem;
  border-radius: 0.35rem;
  color: rgba(229, 229, 229, 0.95);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mega-menu__item:hover {
  background: linear-gradient(90deg, rgba(35, 120, 218, 0.12), rgba(19, 64, 116, 0.12));
  color: #fff;
}

.mega-menu__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #2378da;
  flex-shrink: 0;
}

@media (max-width: 1279px) {
  .mega-menu {
    display: none !important;
  }
}

.navbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar__menu-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.navbar__menu-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar__menu-btn img {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 1024px) {
  .navbar__menu-btn {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .navbar__menu-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* ——— Sidebar drawer ——— */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  visibility: hidden;
  z-index: 6000;
  transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.sidebar-overlay.is-open {
  opacity: 0.5;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 6100;
  background: #000612;
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out, visibility 0.25s ease-out;
}

.sidebar.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .sidebar {
    width: 24rem;
  }
}

@media (min-width: 1024px) {
  .sidebar {
    width: 37.5rem;
  }
}

@media (min-width: 1280px) {
  .sidebar {
    width: 25rem;
  }
}

.sidebar__close {
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  margin-bottom: 1.5rem;
  transition: background 0.2s;
}

.sidebar__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar__body {
  display: flex;
  flex-direction: column-reverse;
  gap: 2.5rem;
  flex: 1;
}

@media (min-width: 1024px) {
  .sidebar__body {
    flex-direction: row-reverse;
  }
}

.sidebar__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 1280px) {
  .sidebar__nav {
    display: none;
  }
}

.sidebar__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s;
}

.sidebar__nav-link:hover,
.sidebar__nav-link.is-active {
  background: #000a21;
}

.sidebar__services-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  text-align: left;
}

.sidebar__services-toggle:hover,
.sidebar__services-toggle.is-open {
  background: #000a21;
}

.sidebar__plus {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.sidebar__services-toggle.is-open .sidebar__plus {
  transform: rotate(45deg);
}

.sidebar__services-list {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 0.5rem 1rem;
}

.sidebar__services-list.is-open {
  display: flex;
}

.sidebar__services-list a {
  color: #2378da;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
}

.sidebar__services-list a:hover {
  background: rgba(35, 120, 218, 0.15);
  color: #fff;
}

.sidebar__about {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar__about-logo {
  width: 10rem;
  margin-bottom: 0.5rem;
}

.sidebar__about h2 {
  margin: 0;
  color: #2378da;
  font-size: 1.875rem;
}

.sidebar__about > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.sidebar__office h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.05rem;
}

.sidebar__office p,
.sidebar__office a {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
}

.sidebar__office a:hover {
  color: #2378da;
}

.sidebar__social-title {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.05rem;
}

.sidebar__social {
  display: flex;
  gap: 0.75rem;
}

.sidebar__social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sidebar__social a:hover {
  background: #2378da;
  border-color: #2378da;
}

.sidebar__social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ——— Hero ——— */
.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.hero__inner {
  position: relative;
  width: 100%;
  min-height: 92vh;
  padding-top: 5rem;
  overflow: hidden;
  border-radius: 2rem; /* rounded-4xl — boxed content corners */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #1d69c1, #134074);
  z-index: 0;
  border-radius: 2rem;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  z-index: 10;
  border-radius: 2rem;
}

.hero__sat {
  position: absolute;
  inset: 0;
  background: #295ebf;
  mix-blend-mode: saturation;
  z-index: 5;
  border-radius: 2rem;
}

.hero__content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  flex: 1;
  color: #fff;
  padding: 1rem;
}

@media (min-width: 640px) {
  .hero__content {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    flex-direction: row;
    gap: 2.5rem;
    padding: 0 4rem;
  }
}

@media (min-width: 1280px) {
  .hero__content {
    padding: 0 7.5rem;
  }
}

.hero__copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero__copy {
    padding-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__copy {
    width: 50%;
    padding-top: 4.5rem;
  }
}

@media (min-width: 1280px) {
  .hero__copy {
    padding-top: 6rem;
  }
}

.hero__bubble {
  width: fit-content;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.5rem;
}

@media (min-width: 1024px) {
  .hero__bubble {
    padding: 1rem 0.5rem;
  }
}

.hero__bubble-main {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  background: #fff;
  color: #000;
  font-size: 10px;
}

@media (min-width: 640px) {
  .hero__bubble-main {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

@media (min-width: 1024px) {
  .hero__bubble-main {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

.hero__bubble-sub {
  padding: 0 0.5rem;
  font-size: 10px;
}

@media (min-width: 640px) {
  .hero__bubble-sub {
    font-size: 0.75rem;
    padding: 0 0.75rem;
  }
}

@media (min-width: 1024px) {
  .hero__bubble-sub {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

.hero__subtitle {
  margin: 0;
  line-height: 1.25;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .hero__subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1536px) {
  .hero__subtitle {
    font-size: 1.875rem;
  }
}

.hero__title {
  display: block;
  font-size: 1.875rem;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1536px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

.hero__desc {
  margin: 0;
  opacity: 0.9;
  max-width: 80%;
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .hero__desc {
    font-size: 1.125rem;
  }
}

@media (min-width: 1536px) {
  .hero__desc {
    font-size: 1.25rem;
  }
}

.hero__ctas {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .hero__ctas {
    gap: 1rem;
  }
}

.hero__cta {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

@media (min-width: 1024px) {
  .hero__cta {
    font-size: 1rem;
  }
}

.hero__cta--primary {
  background: #000a21;
  color: #fff;
}

.hero__cta--primary:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
}

.hero__cta--outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.hero__cta--outline:hover {
  background: #000a21;
  border-color: #000a21;
}

.hero__visual {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .hero__visual {
    width: 50%;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
  }
}

.hero__main-img {
  width: auto;
  height: auto;
  position: relative;
  z-index: 10;
  pointer-events: none;
  user-select: none;
  margin-top: auto;
  max-height: 55vh;
  object-fit: contain;
}

.hero__pills {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .hero__pills.is-visible {
    display: block;
  }
}

.hero__pill {
  position: absolute;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  transition: transform 0.3s;
}

.hero__pill:hover {
  transform: scale(1.05) rotate(3deg);
}

.hero__pill--2:hover {
  transform: scale(1.05) rotate(-3deg);
}

.hero__pill img {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #0d55a2, #000a21);
}

.hero__pill span {
  padding: 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.3;
}

.hero__pill--1 {
  top: 27%;
  left: 1.25rem;
}

.hero__pill--2 {
  top: 27%;
  right: 2.5rem;
}

.hero__pill--3 {
  top: 22%;
  left: 33%;
}

/* Hero tabs */
.hero__tabs {
  position: relative;
  z-index: 20;
  width: 90%;
  height: 4.5rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2rem 2rem 0 0;
  display: flex;
  overflow: hidden;
  color: #fff;
}

@media (min-width: 1024px) {
  .hero__tabs {
    height: 6.25rem;
  }
}

@media (min-width: 1536px) {
  .hero__tabs {
    width: 88%;
  }
}

.hero__tab {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
  color: #fff;
}

.hero__tab:last-child {
  border-right: none;
}

.hero__tab:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero__tab.is-active {
  background: rgba(255, 255, 255, 0.5);
  color: #000;
}

@media (min-width: 1024px) {
  .hero__tab {
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem 1rem;
  }
}

.hero__tab img {
  width: 2rem;
  height: 2rem;
}

@media (min-width: 1024px) {
  .hero__tab img {
    width: auto;
    height: auto;
    padding-left: 1.5rem;
  }
}

.hero__tab-label {
  display: none;
  text-align: left;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .hero__tab-label {
    display: block;
  }
}

@media (min-width: 1280px) {
  .hero__tab-label {
    font-size: 1.25rem;
  }
}

.hero__tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: #fff;
  transition: width 0.05s linear;
}

/* ——— Section commons ——— */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  padding-inline: 1rem;
}

.section-title {
  margin: 0;
  padding: 1.5rem 0;
  text-align: center;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .section-title {
    font-size: 58px;
  }
}

.muted {
  color: var(--muted);
  line-height: 1.75;
}

/* ——— Services mosaic ——— */
.services {
  width: 100%;
}

.services__grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
  padding: 5rem 0;
}

@media (min-width: 1280px) {
  .services__grid {
    flex-direction: row;
  }
}

.services__left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1280px) {
  .services__left {
    width: 76%;
    height: 100vh;
  }
}

@media (min-width: 1536px) {
  .services__left {
    height: 85vh;
  }
}

.services__row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .services__row {
    flex-direction: row;
    height: 50%;
  }
}

.services__right {
  width: 100%;
}

@media (min-width: 1280px) {
  .services__right {
    width: 24%;
  }
}

.service-card {
  position: relative;
  width: 100%;
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 60vh;
  background: linear-gradient(to bottom right, #040e24, #052041);
  transition: background 0.3s;
}

.service-card:hover,
.service-card.is-hovered {
  background: linear-gradient(to bottom right, #2378da, #134074);
}

.service-card--featured {
  background: linear-gradient(to bottom right, #2378da, #134074);
}

.service-card--featured:hover,
.service-card--featured.is-hovered {
  background: linear-gradient(to bottom right, #040e24, #052041);
}

@media (min-width: 1024px) {
  .service-card {
    height: 100%;
  }
  .service-card--featured {
    min-height: 50vh;
  }
  .service-card--w70 {
    width: 70%;
  }
  .service-card--w30 {
    width: 30%;
  }
}

@media (min-width: 1280px) {
  .service-card--featured {
    height: 100vh;
  }
}

@media (min-width: 1536px) {
  .service-card--featured {
    height: 85vh;
  }
}

.service-card__icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card__icon img {
  width: 1.75rem;
  height: 1.75rem;
  transition: opacity 0.3s;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.875rem;
}

.service-card p {
  margin: 0;
  font-size: 1.125rem;
}

.service-card__cta {
  padding: 1rem 0;
  align-self: flex-start;
  text-decoration: underline;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
}

.service-card__art {
  position: absolute;
  opacity: 0.8;
  pointer-events: none;
  object-fit: contain;
}

.service-card__art--1 {
  right: -3.75rem;
  bottom: -2.5rem;
  width: 45%;
}

.service-card__art--2 {
  right: 0;
  bottom: -1.25rem;
  width: 50%;
}

.service-card__art--3 {
  right: -1.25rem;
  bottom: -1.25rem;
  width: 66%;
}

.service-card__art--4 {
  right: -5rem;
  bottom: -2.5rem;
  width: 50%;
}

.service-card__art--5 {
  right: -1rem;
  bottom: 0;
  width: 50%;
}

@media (min-width: 1280px) {
  .service-card__art--1 {
    width: 55%;
  }
  .service-card__art--5 {
    width: 100%;
  }
}

.service-card__content--narrow {
  width: 100%;
}

@media (min-width: 640px) {
  .service-card__content--narrow {
    width: 60%;
  }
}

/* ——— Partners ——— */
.partners {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (min-width: 1024px) {
  .partners {
    flex-direction: row;
    margin-top: 10rem;
    padding-bottom: 5rem;
    gap: 7.5rem;
  }
}

.partners--border {
  border-bottom: 1px solid #3f3f3f;
}

.partners--reverse {
  flex-direction: column-reverse;
}

@media (min-width: 1024px) {
  .partners--reverse {
    flex-direction: row;
  }
}

.partners__col {
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  .partners__col {
    width: 50%;
  }
}

.partners__col h1 {
  margin: 0;
  padding-bottom: 1.5rem;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .partners__col h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .partners__col h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .partners__col h1 {
    font-size: 58px;
  }
}

.partners__col p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

@media (min-width: 640px) {
  .partners__col p {
    font-size: 1.125rem;
  }
}

.partners__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-stack {
  background: #04102b;
  width: fit-content;
  border-radius: 1rem;
  margin: 1.5rem 0;
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .avatar-stack {
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
}

.avatar-stack__faces {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.avatar-stack__faces img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid #04102b;
}

.avatar-stack__faces img + img {
  margin-left: -0.75rem;
}

@media (min-width: 640px) {
  .avatar-stack__faces img {
    width: 3.2rem;
    height: 3.2rem;
  }
  .avatar-stack__faces img + img {
    margin-left: -1rem;
  }
}

@media (min-width: 768px) {
  .avatar-stack__faces img {
    width: 3.8rem;
    height: 3.8rem;
  }
  .avatar-stack__faces img + img {
    margin-left: -1.25rem;
  }
}

.avatar-stack__stats {
  display: flex;
  flex-direction: column;
  text-align: right;
  color: #fff;
}

.avatar-stack__stats strong {
  font-size: 1.5rem;
  white-space: nowrap;
}

.avatar-stack__stats strong span {
  color: #2378da;
}

.avatar-stack__stats small {
  color: #a8c0ff;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .avatar-stack__stats strong {
    font-size: 1.875rem;
  }
  .avatar-stack__stats small {
    font-size: 1rem;
  }
}

.quote-row {
  display: flex;
  flex-direction: row;
  gap: 1.75rem;
  align-items: flex-start;
}

.quote-row img {
  width: auto;
  flex-shrink: 0;
}

.quote-row p {
  margin: 1rem 0 0 !important;
}

.partners__divider {
  border-bottom: 1px solid #3f3f3f;
  padding-bottom: 2.5rem;
  margin-bottom: 0;
}

/* ——— Process ——— */
.process {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 0 10rem; /* py-10 pb-40 */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 130vh;
  overflow: hidden;
}

@media (min-width: 640px) {
  .process {
    padding-bottom: 20rem; /* sm:pb-80 */
  }
}

@media (min-width: 768px) {
  .process {
    padding-bottom: 25rem; /* md:pb-100 */
  }
}

@media (min-width: 1024px) {
  .process {
    padding-bottom: 25rem; /* lg:pb-100 */
    height: fit-content;
  }
}

@media (min-width: 1280px) {
  .process {
    padding-bottom: 2.5rem; /* xl:pb-10 */
  }
}

.process__title {
  padding: 4rem 1rem;
  text-align: center;
}

.process__rocket-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.process__rocket {
  display: block;
  width: 5rem; /* w-20 */
  opacity: 1;
  transform: translateY(0);
  transition: transform 5s ease-out, opacity 1.5s ease-in;
  will-change: transform, opacity;
}

@media (min-width: 640px) {
  .process__rocket {
    width: 10rem; /* sm:w-40 */
  }
}

@media (min-width: 768px) {
  .process__rocket {
    width: 15rem; /* md:w-60 */
  }
}

/* Shake then launch — matches devnitylabs.com */
.process__rocket.is-shaking {
  animation: process-shake 500ms ease-in-out;
}

.process__rocket.is-launching {
  transform: translateY(-100vh);
  opacity: 0;
  transition: transform 5s ease-out, opacity 5s ease-out;
}

.process__rocket.is-returned {
  transform: translateY(0);
  opacity: 1;
  /* transform returns with the base 5s ease-out; opacity fades in like the live site */
  transition: transform 5s ease-out, opacity 1.5s ease-in;
}

@keyframes process-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(4px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(-4px);
  }
}

.process__cards-wrap {
  width: 100%;
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 2;
}

.process__cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-height: auto;
  color: #fff;
}

@media (min-width: 1280px) {
  .process__cards {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 35rem; /* min-h-140 */
  }
}

.process-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: #fff;
}

@media (min-width: 1536px) {
  .process-card {
    height: 18.75rem; /* 2xl:h-75 */
  }
}

@media (min-width: 1280px) {
  .process-card--up {
    transform: translateY(90px); /* xl:translate-y-[90px] */
  }
  .process-card--peak {
    transform: translateY(-90px); /* xl:-translate-y-[90px] */
  }
  .process-card--down {
    transform: translateY(-90px);
  }
}

.process-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.process-card__top img {
  height: 3rem;
  width: auto;
  object-fit: contain;
}

.process-card__num {
  color: #2378da;
  font-size: 1.125rem;
}

.process-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.process-card p {
  margin: 0;
  color: #cacce2;
  font-size: 1rem;
}

/* ——— Tech Orbit ——— */
.orbit {
  display: flex;
  flex-direction: column;
  padding: 10rem 1.5rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 57.5rem;
  position: relative;
  overflow: hidden;
}

.orbit__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1280px) {
  .orbit__top {
    flex-direction: row;
    gap: 12.5rem;
  }
}

.orbit__top > div {
  width: 100%;
}

@media (min-width: 1280px) {
  .orbit__top > div {
    width: 50%;
  }
}

.orbit__top h1 {
  margin: 0;
  padding-bottom: 1.5rem;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1.2;
}

@media (min-width: 1280px) {
  .orbit__top h1 {
    font-size: 51px;
  }
}

.orbit__stage {
  position: absolute;
  bottom: -15rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 24rem;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .orbit__stage {
    bottom: -10rem;
  }
}

.orbit__pattern {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18rem;
  width: min(90%, 55rem);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
}

.orbit-ring--outer {
  animation: spin-right 20s linear infinite;
}

.orbit-ring--inner {
  animation: spin-left 12s linear infinite;
}

.orbit-slot {
  position: absolute;
}

.orbit-icon {
  display: block;
  border-radius: 9999px;
  object-fit: contain;
}

.orbit-icon--counter {
  animation: spin-left 20s linear infinite;
}

.orbit-icon--clock {
  animation: spin-right 12s linear infinite;
}

/* ——— Framework ——— */
.framework {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 140vh;
  padding: 7.5rem 1.25rem;
  gap: 3.75rem;
}

@media (min-width: 1024px) {
  .framework {
    flex-direction: row;
  }
}

@media (min-width: 1280px) {
  .framework {
    padding-inline: 2.25rem;
  }
}

.framework__left {
  width: 100%;
  padding-bottom: 2.5rem;
}

@media (min-width: 1280px) {
  .framework__left {
    width: 50%;
    padding-bottom: 0;
  }
}

.framework__sticky {
  position: sticky;
  top: 5rem;
}

.framework__left h1 {
  margin: 0;
  padding-bottom: 1.5rem;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1.2;
}

@media (min-width: 1280px) {
  .framework__left h1 {
    font-size: 58px;
  }
}

.framework__right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 2.5rem;
}

@media (min-width: 1280px) {
  .framework__right {
    width: 50%;
  }
}

.framework__line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #2378da;
  z-index: 0;
}

.framework__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.framework__node {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #000a21;
  border: 1px solid #2378da;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 20;
}

.framework__card {
  width: 90%;
  min-height: 140px;
  border-radius: 0.75rem;
  padding: 1.5rem 0;
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s, border-color 0.3s;
  transform: scale(1);
}

.framework__card.is-active {
  transform: scale(1.05);
  border: 2px solid #2378da;
}

.framework__card-img {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.framework__card-body {
  width: 75%;
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.framework__card-body h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.25rem;
}

@media (min-width: 1024px) {
  .framework__card-body h3 {
    font-size: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .framework__card-body h3 {
    font-size: 1.875rem;
  }
}

.framework__card-body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ——— Strategies ——— */
.strategies {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.strategies__intro {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 5rem 1rem;
}

@media (min-width: 1024px) {
  .strategies__intro {
    width: 80%;
  }
}

@media (min-width: 1280px) {
  .strategies__intro {
    width: 75%;
  }
}

@media (min-width: 1536px) {
  .strategies__intro {
    width: 46%;
  }
}

.strategies__intro h1 {
  margin: 0;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .strategies__intro h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .strategies__intro h1 {
    font-size: 4.5rem;
  }
}

.strategies__capsule {
  min-width: 80%;
  width: fit-content;
  min-height: 4.25rem;
  border-radius: 2rem 2rem 0 0;
  background: #041222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0 1.25rem;
}

@media (min-width: 1024px) {
  .strategies__capsule {
    flex-direction: row;
    min-width: 35%;
  }
}

.strategies__capsule p {
  margin: 0;
  color: #fff;
  font-size: 0.75rem;
}

@media (min-width: 1024px) {
  .strategies__capsule p {
    font-size: 1.125rem;
  }
}

.strategies__capsule img {
  width: 5rem;
}

@media (min-width: 1024px) {
  .strategies__capsule img {
    width: 6.5rem;
  }
}

.strategies__features {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .strategies__features {
    justify-content: space-between;
    padding: 3rem 1.5rem;
  }
}

@media (min-width: 1280px) {
  .strategies__features {
    padding-inline: 7.5rem;
  }
}

.strategies__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  max-width: 350px;
}

@media (min-width: 1024px) {
  .strategies__feature {
    flex-direction: row;
    text-align: left;
  }
}

.strategies__feature img {
  width: 3rem;
  height: 3rem;
}

@media (min-width: 1024px) {
  .strategies__feature img {
    width: 3.75rem;
    height: 3.75rem;
  }
}

.strategies__feature h3 {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
  white-space: pre-line;
}

@media (min-width: 1024px) {
  .strategies__feature h3 {
    font-size: 1.125rem;
  }
}

/* ——— Projects ——— */
.projects {
  width: 100%;
  padding: 5rem 1.25rem;
}

.projects__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .projects__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.projects__header h1 {
  margin: 0;
  color: #fff;
  font-size: 1.875rem;
  line-height: 1.2;
  max-width: 36rem;
}

@media (min-width: 1280px) {
  .projects__header h1 {
    font-size: 58px;
  }
}

.projects__stage {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 1rem;
  padding: 1.25rem;
  position: relative;
  transition: background-color 0.5s;
}

@media (min-width: 1280px) {
  .projects__stage {
    height: 75vh;
  }
}

.projects__stage img {
  height: 100%;
  max-height: 65vh;
  object-fit: contain;
  transition: opacity 0.4s;
}

.projects__float-next {
  position: absolute;
  bottom: -0.75rem;
  right: -0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border: 6px solid #000a21;
  transition: transform 0.15s;
}

.projects__float-next:active {
  transform: scale(0.95);
}

.projects__float-next img {
  width: 0.75rem;
  height: auto;
  max-height: none;
}

@media (min-width: 640px) {
  .projects__float-next {
    width: 4rem;
    height: 4rem;
    border-width: 8px;
  }
  .projects__float-next img {
    width: 1rem;
  }
}

@media (min-width: 1024px) {
  .projects__float-next {
    width: 5.5rem;
    height: 5.5rem;
    border-width: 10px;
  }
}

.projects__meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2.5rem;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .projects__meta {
    flex-direction: row;
    align-items: center;
  }
}

.projects__meta h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.25rem;
}

@media (min-width: 640px) {
  .projects__meta h2 {
    font-size: 1.5rem;
  }
}

.projects__meta p {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
  max-width: 48rem;
}

@media (min-width: 768px) {
  .projects__meta p {
    font-size: 1.125rem;
  }
}

.projects__nav {
  display: flex;
  gap: 1rem;
}

.projects__nav button {
  width: 2.5rem;
  height: 2.5rem;
  background: #2378da;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.projects__nav button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.projects__nav img {
  width: 0.75rem;
}

.projects__nav .prev img {
  transform: rotate(-135deg);
}

.projects__nav .next img {
  transform: rotate(45deg);
}

@media (min-width: 640px) {
  .projects__nav button {
    width: 3rem;
    height: 3rem;
  }
  .projects__nav img {
    width: 1rem;
  }
}

@media (min-width: 768px) {
  .projects__nav button {
    width: 3.5rem;
    height: 3.5rem;
  }
  .projects__nav img {
    width: 1.25rem;
  }
}

/* ——— Testimonials ——— */
.testimonials {
  width: 100%;
  padding: 5rem 0;
  background: #081733;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.testimonials__head {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 36rem;
  padding: 0 1rem;
}

.testimonials__head h1 {
  margin: 0;
  color: #fff;
  font-size: 1.875rem;
}

@media (min-width: 1024px) {
  .testimonials__head h1 {
    font-size: 3rem;
  }
}

.testimonials__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.25rem 0;
}

.testimonials__fade-l,
.testimonials__fade-r {
  pointer-events: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 6rem;
  z-index: 30;
}

.testimonials__fade-l {
  left: 0;
  background: linear-gradient(to right, #020d25, transparent);
}

.testimonials__fade-r {
  right: 0;
  background: linear-gradient(to left, #020d25, transparent);
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  flex-shrink: 0;
  width: 20rem;
  height: 17.5rem;
  margin: 0 0.75rem;
  transition: transform 0.5s, opacity 0.5s, border-color 0.5s;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 1.5rem;
  position: relative;
  background: linear-gradient(to bottom right, rgba(35, 120, 218, 0.2), transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.6;
  transform: scale(0.95);
  z-index: 10;
}

@media (min-width: 768px) {
  .review-card {
    width: 25rem;
  }
}

@media (min-width: 1024px) {
  .review-card {
    width: 30rem;
  }
}

.review-card.is-active {
  transform: scale(1.05);
  z-index: 20;
  border: 1.5px solid #2378da;
  opacity: 1;
}

.review-card .quote {
  color: #60a5fa;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.review-card .desc {
  color: #60a5fa;
  margin: 0;
}

.review-card .name {
  color: #60a5fa;
  margin: 0;
}

.review-card .role {
  color: #60a5fa;
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

.review-card .avatar {
  position: absolute;
  bottom: 1.5rem;
  right: 2.5rem;
  width: 4rem;
  height: 4rem;
  object-fit: cover;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.testimonials__arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2378da;
  font-size: 2.25rem;
  transition: transform 0.2s;
}

.testimonials__arrow:hover {
  transform: scale(1.1);
}

.testimonials__dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.testimonials__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background: rgba(35, 120, 218, 0.2);
  transition: all 0.2s;
}

.testimonials__dot.is-active {
  width: 1.5rem;
  height: 1.5rem;
  background: #2378da;
  box-shadow: 0 0 0 5px #0d1f41;
}

/* ——— Footer ——— */
.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #000a21;
  padding: 0 0.625rem 0.625rem;
  box-sizing: border-box;
}

@media (min-width: 1280px) {
  .footer-wrap {
    padding: 0 2.25rem 2.25rem;
  }
}

.footer-brand-img {
  width: 70%;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .footer-brand-img {
    margin-top: 7.5rem;
  }
}

.site-footer {
  background: #081733;
  color: #fff;
  padding: 4rem 1.5rem 2rem;
  border-radius: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .site-footer {
    padding-inline: 3rem;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    margin: 1.25rem;
    padding-inline: 5rem;
    width: calc(100% - 2.5rem);
  }
}

@media (min-width: 1280px) {
  .site-footer {
    margin: 2.25rem;
    width: calc(100% - 4.5rem);
  }
}

.footer__subscribe {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__subscribe {
    flex-direction: row;
  }
}

.footer__subscribe h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .footer__subscribe h2 {
    font-size: 1.875rem;
  }
}

.footer__subscribe > div:first-child p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer__form-wrap {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  flex-wrap: wrap;
}

.footer__input-shell {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.25rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 200px;
}

.footer__input-shell input {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  width: 100%;
  background: transparent;
  color: #fff;
  border: none;
  outline: none;
  font-family: inherit;
}

.footer__input-shell input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer__note {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 3rem;
}

@media (min-width: 1024px) {
  .footer__grid {
    flex-direction: row;
  }
}

.footer__brand {
  width: 100%;
}

@media (min-width: 1024px) {
  .footer__brand {
    flex: 1;
    min-width: 400px;
    padding-right: 3%;
  }
}

.footer__brand > img {
  margin-bottom: 1rem;
  max-width: 220px;
}

.footer__brand > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  transition: color 0.2s;
}

.footer__social a:hover {
  color: #60a5fa;
}

.footer__social svg {
  fill: #2378da;
  width: 14px;
  height: 14px;
}

.footer__col {
  width: 100%;
  min-width: 200px;
}

@media (min-width: 1024px) {
  .footer__col {
    flex: 1;
  }
}

.footer__col h3 {
  margin: 0 0 1rem;
}

.footer__col li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.footer__col li::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: #2378da;
  border-radius: 9999px;
  flex-shrink: 0;
}

.footer__contact li::before {
  display: none;
}

.footer__contact li {
  gap: 0.75rem;
}

.footer__contact svg {
  fill: #2378da;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer__copy {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* ——— Stub page hero ——— */
.page-hero {
  position: relative;
  width: 100%;
  height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  .page-hero {
    height: 50vh;
  }
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.25rem;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 2.25rem;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 5rem;
    margin-top: 2rem;
  }
}

.page-hero p {
  margin: 0 auto;
  max-width: 56rem;
  text-align: center;
  color: #fff;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .page-hero p {
    font-size: 1rem;
  }
}

.stub-content {
  padding: 4rem 1rem 6rem;
  max-width: 48rem;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

.stub-content a {
  color: #2378da;
  text-decoration: underline;
}

/* ——— Animations ——— */
@keyframes spin-right {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-left {
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(4px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(-4px);
  }
}


/* ——— Inner pages ——— */
.page-about .page-hero,
.page-services .page-hero,
.page-contact .page-hero {
  margin-bottom: 0;
}

.page-about .testimonials,
.page-services .testimonials {
  padding: 3rem 0;
}

.page-about .testimonials__head,
.page-services .testimonials__head {
  margin-bottom: 1.5rem;
}

.page-about .partners {
  margin-top: 2.5rem;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .page-about .partners {
    margin-top: 4rem;
    padding-bottom: 3rem;
    gap: 4rem;
  }
}

.page-hero--sm {
  height: 40vh;
}

@media (min-width: 1024px) {
  .page-hero--sm {
    height: 45vh;
  }
  .page-hero--sm h1 {
    font-size: 4.5rem;
    margin-top: 2rem;
  }
}

/* Services accordion */
.svc-acc {
  padding: 2.5rem 1.5rem 3rem;
}

@media (min-width: 768px) {
  .svc-acc {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .svc-acc {
    padding: 3.5rem 5rem 4rem;
  }
}

.svc-acc__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.svc-acc__head .section-title {
  margin-bottom: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.svc-acc__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #4c5364;
  padding: 1.5rem 0;
  transition: padding 0.3s ease;
}

.svc-acc__row.is-active {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.svc-acc__bubbles {
  display: none;
}

.svc-acc__row.is-active .svc-acc__bubbles {
  display: block;
}

.svc-acc__bubble {
  position: absolute;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: #2378da;
  color: #fff;
  font-size: 0.875rem;
  animation: svc-fade-in 0.4s forwards;
  z-index: 2;
  white-space: nowrap;
}

.svc-acc__bubble:nth-child(1) {
  top: 3rem;
  left: 18%;
  transform: rotate(6deg);
}

.svc-acc__bubble:nth-child(2) {
  top: 3rem;
  right: 18%;
  transform: rotate(-6deg);
}

.svc-acc__bubble:nth-child(3) {
  bottom: 1.75rem;
  left: 25%;
  transform: rotate(-6deg);
}

.svc-acc__bubble:nth-child(4) {
  bottom: 1.75rem;
  right: 25%;
  transform: rotate(6deg);
}

@keyframes svc-fade-in {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
  }
}

.svc-acc__icon,
.svc-acc__arrow {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 1px solid #4c5364;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.svc-acc__row.is-active .svc-acc__icon,
.svc-acc__row.is-active .svc-acc__arrow {
  background: linear-gradient(90deg, #2378da, #134074);
  border-color: transparent;
}

.svc-acc__icon img,
.svc-acc__arrow img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.svc-acc__arrow img {
  transform: rotate(45deg);
}

.svc-acc__title-wrap {
  flex: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.svc-acc__title {
  margin: 0;
  font-size: 1.25rem;
  color: #4c5364;
  transition: color 0.3s ease;
}

.svc-acc__row.is-active .svc-acc__title {
  color: #fff;
}

@media (min-width: 768px) {
  .svc-acc__title {
    font-size: 2.25rem;
  }
  .svc-acc__icon,
  .svc-acc__arrow {
    width: 4rem;
    height: 4rem;
  }
}

@media (min-width: 1280px) {
  .svc-acc__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1536px) {
  .svc-acc__title {
    font-size: 5rem;
  }
}

/* Evolution timeline */
.evolution {
  display: none;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 6vh;
}

@media (min-width: 1000px) {
  .evolution {
    display: block;
  }
  .evolution-mobile {
    display: none;
  }
}

.evolution__pin {
  position: sticky;
  top: 0;
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 2rem;
}

.evolution__head {
  text-align: center;
  padding: 0 1.5rem 1.5rem;
}

.evolution__head .section-title {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.evolution__rail-wrap {
  position: relative;
  height: 220px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.evolution__baseline {
  position: absolute;
  top: 65%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.evolution__rail {
  position: absolute;
  top: 65%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 200px;
  will-change: transform;
  padding-left: 40vw;
  padding-right: 40vw;
}

@media (min-width: 1280px) {
  .evolution__rail {
    gap: 250px;
  }
}

@media (min-width: 1536px) {
  .evolution__rail {
    gap: 350px;
  }
}

.evolution__node {
  position: relative;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #4c5364;
}

.evolution__node::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid transparent;
}

.evolution__node.is-active {
  background: #2378da;
  box-shadow: 0 0 0 6px rgba(35, 120, 218, 0.25);
}

.evolution__year {
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.875rem;
  color: #4c5364;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.evolution__node.is-active .evolution__year {
  color: #2378da;
  transform: translateX(-50%) translateY(-1.25rem) scale(1.35);
}

.evolution__text {
  display: none;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-20%);
  width: 270px;
  margin: 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.evolution__node.is-active .evolution__text {
  display: block;
}

.evolution-mobile {
  padding: 2.5rem 1.5rem;
}

.evolution-mobile h2 {
  color: #fff;
  font-size: 1.875rem;
  margin-bottom: 2rem;
}

.evolution-mobile__item {
  border-left: 2px solid #2378da;
  padding: 0 0 1.5rem 1.5rem;
  position: relative;
  color: #fff;
}

.evolution-mobile__item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #2378da;
}

.evolution-mobile__item h3 {
  margin: 0;
  font-size: 1.25rem;
}

.evolution-mobile__item p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* About steps */
.about-steps {
  min-height: auto;
  background-size: cover;
  background-position: center;
  padding: 2.5rem 1rem 3rem;
}

.about-steps__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-steps__head .section-title {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.about-steps__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

@media (min-width: 1024px) {
  .about-steps__grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .about-steps__line {
    display: block;
  }
}

.about-steps__line {
  display: none;
  position: absolute;
  /* decorative line handled per-card stem */
}

.about-step {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-step__badge {
  position: relative;
  z-index: 2;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: #080f1f;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.about-step.is-active .about-step__badge {
  background: linear-gradient(90deg, #2378da, #134074);
  color: #fff;
  transform: rotate(-12deg);
  box-shadow: 0 10px 30px rgba(35, 120, 218, 0.35);
}

.about-step__stem {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.about-step__card {
  width: 100%;
  border-radius: 1rem;
  background: #080f1f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  height: 100%;
}

.about-step__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-step__bg {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-step__icon {
  position: absolute;
  width: 5rem;
  height: 5rem;
  object-fit: contain;
  pointer-events: none;
}

.about-step__body {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #fff;
}

.about-step__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.about-step__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Project CTA + marquee */
.project-cta {
  width: 100%;
}

.project-cta__stage {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #000a21;
  overflow: hidden;
  padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
  .project-cta__stage {
    height: 75vh;
    gap: 1.75rem;
  }
}

@media (min-width: 768px) {
  .project-cta__stage {
    height: 80vh;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .project-cta__stage {
    height: 70vh;
    gap: 2.5rem;
  }
}

.project-cta__title {
  margin: 0;
  max-width: 56rem;
  text-align: center;
  color: #fff;
  font-size: 1.875rem; /* text-3xl */
  line-height: 1.15;
  z-index: 10;
  position: relative;
  pointer-events: auto;
}

@media (min-width: 640px) {
  .project-cta__title {
    font-size: 2.25rem; /* sm:text-4xl */
  }
}

@media (min-width: 768px) {
  .project-cta__title {
    font-size: 3rem; /* md:text-5xl */
  }
}

@media (min-width: 1024px) {
  .project-cta__title {
    font-size: 3.75rem; /* lg:text-6xl */
  }
}

.project-cta__btn {
  z-index: 20;
  position: relative;
  pointer-events: auto;
}

.project-cta__gravity {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  cursor: grab;
}

.project-cta__pill {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  border-radius: 9999px;
  white-space: nowrap;
  font-size: 0.75rem; /* text-xs */
  padding: 0.5rem 0.75rem; /* px-3 */
  will-change: transform;
  touch-action: none;
  box-sizing: border-box;
}

.project-cta__pill:active {
  cursor: grabbing;
}

@media (min-width: 640px) {
  .project-cta__pill {
    font-size: 0.875rem; /* sm:text-sm */
    padding: 0.5rem 1.25rem; /* sm:px-5 sm:py-2 */
  }
}

@media (min-width: 768px) {
  .project-cta__pill {
    font-size: 1rem; /* md:text-base */
    padding: 0.75rem 1.5rem; /* md:px-6 md:py-3 */
  }
}

@media (min-width: 1024px) {
  .project-cta__pill {
    font-size: 1.125rem; /* lg:text-lg */
    padding: 1rem 1.75rem; /* lg:px-7 lg:py-4 */
  }
}

.project-cta__pill--0 {
  background: #2378da;
}

.project-cta__pill--1 {
  background: #0f1930;
}

.marquee-bar {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #2378da;
  border: 1px solid rgba(0, 0, 0, 0.15);
  height: 5rem;
}

@media (min-width: 768px) {
  .marquee-bar {
    height: 7rem;
  }
}

@media (min-width: 1280px) {
  .marquee-bar {
    height: 8rem;
  }
}

.marquee-bar__track {
  display: flex;
  width: max-content;
  animation: marquee-x 20s linear infinite;
  will-change: transform;
}

.marquee-bar__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  height: 5rem;
}

@media (min-width: 768px) {
  .marquee-bar__item {
    height: 7rem;
    gap: 2rem;
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .marquee-bar__item {
    height: 8rem;
  }
}

.marquee-bar__item span {
  color: #fff;
  font-size: 1.5rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .marquee-bar__item span {
    font-size: 2.25rem;
  }
}

@media (min-width: 1280px) {
  .marquee-bar__item span {
    font-size: 3rem;
  }
}

.marquee-bar__item img {
  height: 2rem;
  width: auto;
}

@media (min-width: 768px) {
  .marquee-bar__item img {
    height: 3rem;
  }
}

@keyframes marquee-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Elevate + image belt */
.elevate {
  padding: 1.5rem 0 2.5rem;
}

.elevate__banner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .elevate__banner {
    flex-direction: row;
  }
}

.elevate__copy {
  flex: 1;
}

.elevate__copy h1 {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .elevate__copy h1 {
    font-size: 1.25rem;
  }
}

.elevate__accent {
  color: #2378da;
}

.elevate__art {
  flex: 1;
  display: flex;
  justify-content: center;
}

.elevate__art img {
  width: 100%;
  max-width: 28rem;
}

.image-belt {
  position: relative;
  height: 380px;
  margin: 1.5rem auto 0;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  max-width: 90rem;
}

@media (min-width: 1024px) {
  .image-belt {
    gap: 1.5rem;
  }
}

.image-belt__fade {
  position: absolute;
  left: 0;
  width: 100%;
  height: 11rem;
  z-index: 2;
  pointer-events: none;
}

.image-belt__fade--top {
  top: 1rem;
  background: linear-gradient(to bottom, #000a21, transparent);
}

.image-belt__fade--bot {
  bottom: 1rem;
  background: linear-gradient(to top, #000a21, transparent);
}

.image-belt__col {
  flex: 1;
  max-width: 140px;
  overflow: hidden;
}

.image-belt__track {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  will-change: transform;
}

@media (min-width: 1024px) {
  .image-belt__track {
    gap: 1.5rem;
  }
}

.image-belt__track.is-up {
  animation: belt-up 25s linear infinite;
}

.image-belt__track.is-down {
  animation: belt-down 25s linear infinite;
}

@keyframes belt-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes belt-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

.image-belt__cell {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0f1930;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  min-height: 140px;
}

@media (min-width: 1024px) {
  .image-belt__cell {
    height: 180px;
  }
}

.image-belt__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact block */
.contact-block {
  padding: 2.5rem 1.5rem 4rem;
  max-width: 90rem;
  margin: 0 auto;
}

.contact-block__grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-block__grid {
    flex-direction: row;
    gap: 4rem;
  }
}

.contact-block__form-wrap,
.contact-block__info {
  flex: 1;
  width: 100%;
}

.contact-block__form-title {
  color: #fff;
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.5rem;
  background: #0f1930;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: #fff;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  border-radius: 1rem;
  resize: vertical;
  margin-bottom: 1.25rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #2378da;
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #f87171;
}

.contact-form__select {
  position: relative;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__select::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-30%) rotate(45deg);
  pointer-events: none;
}

.contact-form__submit {
  margin-top: 0.5rem;
}

.contact-form__note {
  color: #4ade80;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.contact-block__office h2,
.contact-block__social-title {
  color: #2378da;
  font-size: 2rem;
  margin: 0 0 1.25rem;
}

.contact-block__line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.125rem;
  margin: 0.5rem 0;
}

.contact-block__line img {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-block__line a {
  color: #fff;
  text-decoration: none;
}

.contact-block__line a:hover {
  text-decoration: underline;
}

.contact-block__addr {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin: 0.75rem 0 2rem;
}

.contact-block__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-block__social a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid #2378da;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.contact-block__social a:hover {
  background: #2378da;
}

/* Under development (Careers / Blog — matches devnitylabs.com/careers/) */
body.careers-standalone {
  background: #000a21;
  margin: 0;
  overflow: hidden;
}

.careers-dev {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding: 1.25rem;
  background: #000a21;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .careers-dev {
    padding: 5rem 4rem 2rem 4rem; /* lg:pt-20 */
  }
}

@media (min-width: 1280px) {
  .careers-dev {
    /* xl:py-9 xl:px-34 */
    padding: 2.25rem 8.5rem;
  }
}

.careers-dev__logo {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  display: block;
}

@media (min-width: 1024px) {
  .careers-dev__logo {
    top: 2.25rem; /* lg:top-9 */
    left: 4rem;
  }
}

@media (min-width: 1280px) {
  .careers-dev__logo {
    left: 8.5rem; /* lg:left-34 */
  }
}

.careers-dev__logo img {
  width: 10rem;
  height: auto;
  display: block;
}

@media (min-width: 1024px) {
  .careers-dev__logo img {
    width: 12.5rem;
  }
}

.careers-dev__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem; /* gap-5 */
}

@media (min-width: 1024px) {
  .careers-dev__content {
    width: 48%;
    max-width: none;
  }
}

.careers-dev__content h1 {
  margin: 0 0 0.25rem;
  padding: 0;
  color: #fff;
  font-family: Urbanist-Bold, sans-serif;
  font-size: 1.875rem; /* text-3xl */
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .careers-dev__content h1 {
    font-size: 2.25rem; /* sm:text-4xl */
  }
}

@media (min-width: 768px) {
  .careers-dev__content h1 {
    font-size: 3rem; /* md:text-5xl */
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .careers-dev__content h1 {
    font-size: 3rem; /* lg:text-5xl */
    padding-bottom: 1.5rem; /* pb-6 */
    margin-bottom: 0;
  }
}

@media (min-width: 1280px) {
  .careers-dev__content h1 {
    font-size: 58px; /* xl:text-[58px] */
  }
}

.careers-dev__content p {
  margin: 0;
  color: #a9abbe;
  font-family: Urbanist-ExtraLight, sans-serif;
  font-size: 1rem; /* text-base */
  font-weight: 200;
  line-height: 1.75; /* leading-7 */
}

@media (min-width: 640px) {
  .careers-dev__content p {
    font-size: 1.125rem; /* sm:text-lg */
    line-height: 2rem; /* sm:leading-8 */
  }
}

@media (min-width: 1024px) {
  .careers-dev__content p {
    width: 80%;
    max-width: 32rem;
  }
}

.careers-dev__btn {
  margin-top: 0.5rem;
  gap: 0.5rem;
}

/* Right art — blue blob + swaying gear (matches screenshot) */
.careers-dev__art {
  display: none;
}

@media (min-width: 1024px) {
  .careers-dev__art {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
  }
}

.careers-dev__vector {
  position: absolute;
  top: 50%;
  right: -12rem; /* lg:-right-40-ish, bleed off edge */
  width: auto;
  height: 115vh;
  max-width: none;
  transform: translateY(-50%) scale(1.15);
  transform-origin: center right;
}

.careers-dev__sway {
  position: absolute;
  top: 50%;
  right: 4%;
  width: min(62%, 34rem); /* ~ gear size in screenshot */
  height: auto;
  transform: translateY(-52%) rotate(-20deg);
  transform-origin: 55% 55%;
  animation: swayGroup 5s ease-in-out infinite;
}

@keyframes swayGroup {
  0%,
  100% {
    transform: translateY(-52%) rotate(-20deg);
  }
  50% {
    transform: translateY(-52%) rotate(-35deg);
  }
}

@media (min-width: 1280px) {
  .careers-dev__sway {
    right: 6%;
    width: min(58%, 36rem);
  }

  .careers-dev__vector {
    right: -10rem;
    height: 120vh;
  }
}

@media (min-width: 1536px) {
  .careers-dev__sway {
    width: 38rem;
    right: 8%;
  }
}

/* Legacy underdev (unused fallback) */
.underdev {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.underdev__inner {
  max-width: 40rem;
}

.underdev h1 {
  color: #fff;
  font-size: 2.25rem;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .underdev h1 {
    font-size: 3.5rem;
  }
}

.underdev p {
  color: #a9abbe;
  font-size: 1.125rem;
  line-height: 1.75;
  margin: 0 0 2rem;
}

/* Case study scroll */
.case-scroll {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .case-scroll {
    display: block;
  }
  .case-grid {
    display: none;
  }
}

.case-scroll__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.case-scroll__stack {
  position: relative;
  flex: 1.2;
  height: 100%;
}

.case-scroll__slide {
  position: absolute;
  inset: 0;
  clip-path: inset(0% 0% 0% 0%);
  transition: clip-path 0.4s ease;
}

.case-scroll__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-scroll__meta {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  background: #000a21;
  color: #fff;
}

.case-scroll__info {
  transition: opacity 0.3s ease;
}

.case-scroll__info h3 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.case-scroll__info p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.case-scroll__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-scroll__tag {
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.case-scroll__tag p {
  margin: 0;
  color: #fff;
}

.case-scroll__num {
  margin: 0;
  font-size: 6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  transition: opacity 0.3s ease;
}

.case-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.25rem 5rem;
}

.case-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: #04102b;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.case-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
}

.case-card__body {
  padding: 1.5rem;
  color: #fff;
}

.case-card__num {
  color: #2378da;
  display: block;
  margin-bottom: 0.5rem;
}

.case-card__body h3 {
  margin: 0 0 0.75rem;
}

.case-card__body > p {
  color: #a9abbe;
  margin: 0 0 1rem;
}

/* WordPress theme helpers */
.navbar__logo .custom-logo-link,
.navbar__logo .custom-logo {
  display: block;
  height: 2rem;
  width: auto;
}
@media (min-width: 1024px) {
  .navbar__logo .custom-logo-link,
  .navbar__logo .custom-logo {
    height: 2.5rem;
  }
}
.navbar__logo img.custom-logo {
  height: 100%;
  width: auto;
}

.wp-fallback {
  padding: 7rem 1.25rem 4rem;
}
