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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  background-color: #05060a;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Color system */
:root {
  --color-bg: #05060a;
  --color-surface: #101320;
  --color-surface-alt: #171b2c;
  --color-accent-primary: #1C234F;
  --color-accent-secondary: #235993;
  --color-accent-tertiary: #60C6F2;
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-text: #f5f5f7;
  --color-muted: #9ea4c1;
  --overlay-tint: rgba(0, 0, 0, 0.55);
  --hero-overlay-tint: rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --radius-lg: 20px;
  --radius-pill: 999px;
  --viewport-height: 100vh;
  --header-offset: 4.5rem;
  --nav-side-space: 5rem;
}

@supports (height: 100svh) {
  :root {
    --viewport-height: 100svh;
  }
}

@supports (height: 100dvh) {
  :root {
    --viewport-height: 100dvh;
  }
}

/* Layout */
.page {
  min-height: var(--viewport-height);
  background-color: var(--color-bg);
  color: var(--color-text);
}

.page--home,
.page--about,
.page--clients,
.page--services,
.page--team {
  min-height: var(--viewport-height);
  overflow-x: hidden;
}

.page--contact {
  min-height: var(--viewport-height);
  overflow-x: hidden;
}

.shell {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.shell--nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
  max-width: none;
  margin-inline: 0;
  padding-left: var(--nav-side-space);
  padding-right: var(--nav-side-space);
}

/* Header & navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: none;
  background: var(--overlay-tint);
  border-bottom: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding-block: 0.4rem;
  padding-inline-end: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.brand__logo {
  width: auto;
  height: 30px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: flex-start;
  margin-right: auto;
}

.nav__link {
  position: relative;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-muted);
  padding-block: 0.4rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent-tertiary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease-out;
}

.nav__link:hover {
  color: #ffffff;
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--active {
  color: #ffffff;
}

.nav__link--active::after {
  transform: scaleX(1);
}

/* Language toggle */
.lang-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin-right: 0;
  width: 5.6rem;
  padding: 0.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.36);
}

.lang-toggle::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: calc(50% - 0.2rem);
  height: calc(100% - 0.4rem);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease-out;
  pointer-events: none;
}

.lang-toggle[data-active="mn"]::before {
  transform: translateX(100%);
}

.lang-toggle__btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  width: 100%;
  padding: 0.25rem 0.35rem;
  text-align: center;
  transition: color 140ms ease-out;
}

.lang-toggle__btn--active {
  color: #ffffff;
}

.lang-toggle__divider {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: stretch;
  color: #ffffff;
  background-color: var(--hero-overlay-tint);
  background-image: none;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 600ms ease-in-out;
  z-index: 0;
}

.hero__bg--visible {
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(96, 198, 242, 0.18), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(96, 198, 242, 0.38), transparent 55%);
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-tint);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
  max-width: none;
  margin-inline: 0;
  padding-left: clamp(1.5rem, 8vw, 10rem);
  padding-right: 1.5rem;
}

.page--home main,
.page--about main,
.page--services main,
.page--contact main,
.page--team main,
.page--clients main {
  min-height: var(--viewport-height);
  position: relative;
}

.page--home #hero,
.page--home #hero .hero__inner,
.page--about #hero,
.page--about #hero .hero__inner,
.page--services #hero,
.page--services #hero .hero__inner,
.page--contact #hero,
.page--contact #hero .hero__inner,
.page--team #hero,
.page--team #hero .hero__inner,
.page--clients #hero,
.page--clients #hero .hero__inner {
  min-height: var(--viewport-height);
}

.page--home #hero::before,
.page--home #hero .hero__bg,
.page--home #hero .hero__overlay,
.page--about #hero::before,
.page--about #hero .hero__bg,
.page--about #hero .hero__overlay,
.page--services #hero::before,
.page--services #hero .hero__bg,
.page--services #hero .hero__overlay,
.page--contact #hero::before,
.page--contact #hero .hero__bg,
.page--contact #hero .hero__overlay,
.page--team #hero::before,
.page--team #hero .hero__bg,
.page--team #hero .hero__overlay,
.page--clients #hero::before,
.page--clients #hero .hero__bg,
.page--clients #hero .hero__overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: var(--viewport-height);
  pointer-events: none;
}

.page--clients #hero .hero__inner {
  width: 100%;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page--home {
  height: var(--viewport-height);
  overflow: hidden;
  overscroll-behavior: none;
}

.page--home main,
.page--home #hero,
.page--home #hero .hero__inner {
  height: var(--viewport-height);
}

.page--home #hero .hero__inner {
  width: 100%;
  align-items: stretch;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.hero__inner--home-stack {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}

.home-stack {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: var(--viewport-height);
  margin-inline: auto;
  overflow: hidden;
}

.home-section {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
  padding-top: calc(var(--header-offset) + 1.9rem);
  padding-bottom: 2.4rem;
  transition: opacity 320ms ease;
  will-change: opacity, transform;
}

.home-section--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.home-section--fading-out {
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.home-section--preview-active {
  transition: opacity 320ms ease, transform 0ms linear;
}

.home-section--home {
  justify-items: start;
}

.home-section--home .hero__content {
  padding-block: 0;
}

.page--about #hero .hero__inner {
  width: 100%;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page--services #hero .hero__inner {
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-offset) + 3.1rem);
  padding-bottom: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page--contact #hero .hero__inner {
  width: 100%;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-offset) + 0.3rem);
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.about-hero-content {
  width: 100%;
  max-width: 1180px;
  display: grid;
  gap: 1.7rem;
}

.about-hero-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  animation: hero-fade-up 700ms ease-out both;
}

.about-hero-intro__title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.about-hero-intro__subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.about-pillar {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 12, 24, 0.42);
  backdrop-filter: blur(1px);
  animation: team-card-fade 560ms ease-out both;
}

.about-pillars .about-pillar:nth-child(1) {
  animation-delay: 80ms;
}

.about-pillars .about-pillar:nth-child(2) {
  animation-delay: 140ms;
}

.about-pillars .about-pillar:nth-child(3) {
  animation-delay: 200ms;
}

.about-pillar__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 0.9rem;
}

.about-pillar__title {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-tertiary);
  margin-bottom: 0.7rem;
}

.about-pillar__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ffffff;
}

.services-hero-content {
  width: 100%;
  max-width: 1180px;
  display: grid;
  gap: 2.6rem;
}

.services-hero-intro {
  max-width: 860px;
  margin: 0;
  text-align: left;
}

.services-hero-intro__title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.services-pillars-block {
  position: relative;
  display: grid;
  gap: 1.05rem;
  padding-top: 1.25rem;
}

.services-pillars-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
}

.services-pillars-block__title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.services-pillars-block__subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.services-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.services-pillars--standard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-pillar {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 12, 24, 0.42);
  backdrop-filter: blur(1px);
  animation: team-card-fade 560ms ease-out both;
}

.services-pillars .services-pillar:nth-child(1) {
  animation-delay: 80ms;
}

.services-pillars .services-pillar:nth-child(2) {
  animation-delay: 140ms;
}

.services-pillars .services-pillar:nth-child(3) {
  animation-delay: 200ms;
}

.services-pillars .services-pillar:nth-child(4) {
  animation-delay: 260ms;
}

.services-pillars .services-pillar:nth-child(5) {
  animation-delay: 320ms;
}

.services-pillars .services-pillar:nth-child(6) {
  animation-delay: 380ms;
}

.services-pillar__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 0.9rem;
}

.services-pillar__title {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-tertiary);
  margin-bottom: 0.7rem;
}

.services-pillar__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ffffff;
}

.services-pillar__list {
  margin: 0;
  padding-left: 1.6rem;
  list-style: disc;
}

.services-pillar__list-item {
  padding-left: 0.2rem;
}

.clients-logo-panel {
  width: 100%;
  max-width: 1320px;
}

.clients-logo-title {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  margin-bottom: 3rem;
}

.hero__content {
  max-width: 800px;
  padding-block: 5rem;
  animation: hero-fade-up 700ms ease-out both;
}

.hero__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-tertiary);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 3.1vw, 2.9rem);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #ffffff;
}


/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out,
    color 160ms ease-out, transform 100ms ease-out, box-shadow 160ms ease-out;
}

.btn--primary {
  background: var(--color-accent-tertiary);
  background: linear-gradient(135deg, var(--color-accent-tertiary), var(--color-accent-secondary));
  color: #05060a;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.7);
}

/* Sections */
.section {
  padding-block: 4.5rem;
}

.section--dark {
  background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.08), rgba(5, 6, 10, 0.98));
}

.section--full-height {
  min-height: calc(var(--viewport-height) - var(--header-offset));
}

.page--404 main {
  padding-top: var(--header-offset);
}

.section--centered {
  display: flex;
  align-items: center;
}

/* Scroll reveal baseline */
.section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 520ms ease-out, transform 520ms ease-out;
}

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

.clients-logo-grid {
  display: grid;
  grid-template-rows: repeat(2, minmax(96px, auto));
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 0.7rem;
  margin: 0 auto;
  width: 100%;
  max-width: 1320px;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 102px;
  padding: 0.75rem;
  border-radius: 14px;
  border: 0;
  background: transparent;
  animation: team-card-fade 560ms ease-out both;
  animation-delay: var(--logo-delay, 0ms);
}

.client-logo-card--ultra-wide {
  min-height: 96px;
}

.client-logo-card--wide {
  min-height: 98px;
}

.client-logo-card--square {
  min-height: 102px;
}

.client-logo-card--tall {
  min-height: 126px;
}

.client-logo-image {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.client-logo-card--ultra-wide .client-logo-image {
  max-height: 56px;
}

.client-logo-card--wide .client-logo-image {
  max-height: 64px;
}

.client-logo-card--tall .client-logo-image {
  max-height: 108px;
  max-width: 75%;
}

@media (max-width: 960px) {
  .clients-logo-grid {
    grid-auto-columns: minmax(150px, 1fr);
    gap: 0.65rem;
  }

  .client-logo-card {
    min-height: 94px;
  }
}

@media (max-width: 640px) {
  .home-section--clients {
    align-content: start;
  }

  .home-section--clients .clients-logo-panel {
    margin-top: 2rem;
  }

  .clients-logo-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 0.55rem;
  }

  .client-logo-card {
    min-height: 88px;
    padding: 0.65rem;
  }

  .client-logo-card--tall {
    min-height: 110px;
  }

  .client-logo-image {
    max-height: 62px;
  }

  .client-logo-card--tall .client-logo-image {
    max-height: 92px;
  }
}

@media (max-width: 480px) {
  .home-section--clients .clients-logo-panel {
    margin-top: 1.25rem;
  }

  .clients-logo-title {
    margin-bottom: 1.5rem;
  }

  .clients-logo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }

  .client-logo-card {
    min-height: 80px;
    padding: 0.55rem;
  }

  .client-logo-image {
    max-height: 56px;
  }

  .client-logo-card--tall {
    min-height: 96px;
  }

  .client-logo-card--tall .client-logo-image {
    max-height: 84px;
  }
}

/* Team v2 */
.hero__inner--team {
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-offset) + 1.9rem);
  padding-bottom: 3rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.team-page-content {
  width: 100%;
  max-width: 1180px;
  display: grid;
  gap: 2rem;
}

.team-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  animation: hero-fade-up 700ms ease-out both;
}

.team-intro__title {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}

.team-directory {
  display: grid;
  gap: 3rem;
}

.team-block {
  display: grid;
  gap: 1.35rem;
}

.team-block__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.team-block__title {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-roster--core {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-roster {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: none;
}

.team-roster--consultants .team-profile {
  width: 100%;
}

.team-roster--core .team-profile--lead {
  grid-column: 1 / -1;
  width: min(40%, 400px);
  justify-self: start;
}

.team-profile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.78), rgba(10, 17, 36, 0.9));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.36);
  animation: team-card-fade 560ms ease-out both;
}

.team-roster .team-profile:nth-child(1) {
  animation-delay: 80ms;
}

.team-roster .team-profile:nth-child(2) {
  animation-delay: 140ms;
}

.team-roster .team-profile:nth-child(3) {
  animation-delay: 200ms;
}

.team-roster .team-profile:nth-child(4) {
  animation-delay: 260ms;
}

.team-roster .team-profile:nth-child(5) {
  animation-delay: 320ms;
}

.team-roster .team-profile:nth-child(6) {
  animation-delay: 380ms;
}

.team-roster .team-profile:nth-child(7) {
  animation-delay: 440ms;
}

.team-roster .team-profile:nth-child(8) {
  animation-delay: 500ms;
}

.team-profile::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #60c6f2, #235993);
}

.team-profile--lead {
  grid-column: span 2;
}

.team-profile__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-profile__body {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1rem 1.1rem;
}

.team-profile__name {
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.team-profile__role {
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.team-profile__bio {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.84);
}

/* Contact */
.contact-page-content {
  width: 100%;
  max-width: 1320px;
  display: grid;
  gap: 1.5rem;
}

.contact-page-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.8fr);
  max-width: 1260px;
  margin-inline: auto;
  gap: 2.2rem;
}

.contact-info-card {
  padding: 1.6rem 1.5rem 1.7rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.06), rgba(16, 19, 32, 0.98));
  box-shadow: var(--shadow-soft);
}

.contact-list {
  display: grid;
  gap: 1.4rem;
  font-size: 0.92rem;
}

.contact-list__item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.contact-list__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(96, 198, 242, 0.18);
}

.contact-list__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.contact-list__content {
  min-width: 0;
}

.contact-list__label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.contact-list__value {
  color: #ffffff;
  overflow-wrap: anywhere;
}

.contact-list__value[data-i18n-break="pipe"] {
  white-space: pre-line;
}

.contact-list__value a {
  color: var(--color-accent-tertiary);
  text-decoration: none;
}

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

.contact-map-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.06), rgba(16, 19, 32, 0.98));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}

.contact-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 0.9rem;
  background: var(--overlay-tint);
  position: relative;
  z-index: 5;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-left: var(--nav-side-space);
  padding-right: var(--nav-side-space);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__left,
.site-footer__right {
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

.page--home .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
}

.page--services .site-footer,
.page--team .site-footer,
.page--contact .site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
}

.page--services main,
.page--team main,
.page--contact main {
  padding-bottom: 3rem;
}

/* 404 */
.not-found {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
}

.not-found__code {
  font-size: clamp(5rem, 15vw, 6.5rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(96, 198, 242, 0.18);
}

.not-found__title {
  font-size: 1.5rem;
  font-weight: 500;
}

.not-found__subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 26rem;
}

/* Animations */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes team-card-fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  :root {
    --header-offset: 6rem;
    --nav-side-space: 1.5rem;
  }

  .shell--nav {
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    order: 2;
    width: 100%;
    margin-right: 0;
    gap: 0.85rem 1rem;
  }

  .lang-toggle {
    order: 1;
    margin-left: auto;
  }

  .brand {
    padding-inline-end: 1rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .page--contact #hero .hero__inner {
    align-items: center;
    padding-top: calc(var(--header-offset) + 0.3rem);
    padding-bottom: 1.5rem;
  }

  .hero__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .home-section {
    padding-top: calc(var(--header-offset) + 0.45rem);
    padding-bottom: 2rem;
  }

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

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

  .about-hero-content {
    gap: 1.4rem;
  }

  .services-hero-content {
    gap: 2.1rem;
  }

  .page--services #hero .hero__inner {
    padding-top: calc(var(--header-offset) + 0.9rem);
    padding-bottom: 2.5rem;
  }

  .hero__inner--team {
    padding-top: calc(var(--header-offset) + 0.55rem);
    padding-bottom: 2.5rem;
  }

  .team-page-content {
    gap: 1.65rem;
  }

  .team-profile--lead {
    grid-column: auto;
  }

  .team-roster--core .team-profile--lead {
    width: min(100%, 420px);
  }

}

@media (prefers-reduced-motion: reduce) {

  .about-hero-intro,
  .about-pillar,
  .team-profile,
  .services-pillar,
  .client-logo-card {
    animation: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 6.45rem;
    --nav-side-space: 1rem;
  }

  .shell {
    padding-inline: 1.1rem;
  }

  .shell--nav {
    align-items: center;
    gap: 0.7rem 0.85rem;
  }

  .brand__logo {
    height: 26px;
  }

  .nav {
    gap: 0.75rem 0.95rem;
  }

  .nav__link {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .hero__content {
    padding-block: 4rem;
  }

  .hero__inner {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .home-section {
    padding-top: calc(var(--header-offset) + 0.2rem);
    padding-bottom: 1.6rem;
  }

  .hero__title {
    font-size: 1.9rem;
  }

  .about-pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-pillar {
    padding: 1.1rem 1rem;
  }

  .services-pillar {
    padding: 1.1rem 1rem;
  }

  .about-hero-content {
    gap: 1.1rem;
  }

  .services-hero-content {
    gap: 1.7rem;
  }

  .about-hero-intro__subtitle {
    font-size: 0.93rem;
  }

  .services-pillars-block__subtitle {
    font-size: 0.93rem;
  }

  .services-pillars-block__title {
    font-size: 0.95rem;
  }

  .page--services #hero .hero__inner {
    padding-top: calc(var(--header-offset) + 0.35rem);
    padding-bottom: 2rem;
  }

  .page--contact #hero .hero__inner {
    align-items: center;
    padding-top: calc(var(--header-offset) + 0.1rem);
    padding-bottom: 1.2rem;
  }

  .contact-page-title {
    font-size: 1.75rem;
  }

  .team-intro__title {
    font-size: 1.85rem;
  }

  .hero__inner--team {
    padding-top: calc(var(--header-offset) + 0.25rem);
    padding-bottom: 2rem;
  }

  .team-page-content {
    gap: 1.25rem;
  }

  .team-directory {
    gap: 2.1rem;
  }

  .team-block {
    margin-bottom: 0;
  }

  .team-roster,
  .team-roster--core {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-roster--core .team-profile--lead {
    width: 100%;
  }

  .contact-map-card,
  .contact-map {
    min-height: 280px;
  }

  .section {
    padding-block: 3.3rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__right {
    display: none;
  }
}

/* Light theme overrides */
:root {
  --color-bg: #f4f8ff;
  --color-surface: #ffffff;
  --color-surface-alt: #eef4ff;
  --color-border-subtle: rgba(28, 35, 79, 0.14);
  --color-text: #000000;
  --color-muted: #000000;
  --color-accent-primary: #000000;
  --shadow-soft: 0 18px 40px rgba(28, 35, 79, 0.12);
}

body {
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at 10% 0%, rgba(96, 198, 242, 0.16), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(35, 89, 147, 0.1), transparent 45%);
}

.site-header {
  background: var(--overlay-tint);
  border-bottom: 0;
}

.brand {
  color: #ffffff;
  border-right-color: rgba(255, 255, 255, 0.24);
}

.brand__logo {
  filter: brightness(0) invert(1);
}

.nav__link {
  color: rgba(255, 255, 255, 0.74);
}

.nav__link:hover,
.nav__link--active {
  color: #ffffff;
}

.lang-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.36);
}

.lang-toggle::before {
  background: rgba(255, 255, 255, 0.22);
}

.lang-toggle__btn {
  color: rgba(255, 255, 255, 0.72);
}

.lang-toggle__btn--active {
  color: #ffffff;
}

.lang-toggle__divider {
  color: rgba(255, 255, 255, 0.52);
}

.hero {
  color: #ffffff;
  background-color: var(--hero-overlay-tint);
  background-image: none;
}

.hero::before {
  opacity: 0;
  mix-blend-mode: normal;
}

.hero__overlay {
  background: var(--hero-overlay-tint);
}

.hero__title {
  color: #ffffff;
}

.btn--primary {
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(35, 89, 147, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 16px 38px rgba(35, 89, 147, 0.34);
}

.section--dark {
  background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.16), rgba(244, 248, 255, 1));
}

.contact-list__value {
  color: var(--color-text);
}

.contact-map-card {
  border-color: var(--color-border-subtle);
  background: radial-gradient(circle at top left, rgba(96, 198, 242, 0.1), #ffffff);
}

.contact-info-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 12, 24, 0.42);
}

.contact-info-card .contact-list__label {
  color: rgba(255, 255, 255, 0.72);
}

.contact-info-card .contact-list__value {
  color: #ffffff;
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: var(--overlay-tint);
}

.page--404 {
  background-color: #05060a;
  background-image: none;
  color: #ffffff;
}

.page--404 .section--dark {
  background: #05060a;
}

.page--404 .not-found__code {
  color: var(--color-accent-tertiary);
}

.page--404 .not-found__title,
.page--404 .not-found__subtitle {
  color: #ffffff;
}
