:root {
  --ink: #08221d;
  --ink-blue: #090f4e;
  --green-950: #06261f;
  --green-900: #0a382d;
  --green-800: #0c4d3b;
  --leaf: #2d9b4a;
  --sky: #00adef;
  --gold: #f1c735;
  --muted: #67736f;
  --line: #dfe8e3;
  --paper: #ffffff;
  --wash: #f7fbf7;
  --blue-wash: #eef7ff;
  --shadow: 0 20px 50px rgba(41, 77, 204, 0.12);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(0, 173, 239, 0.09) 0, rgba(255, 255, 255, 0) 560px),
    linear-gradient(0deg, rgba(45, 155, 74, 0.1) 0, rgba(255, 255, 255, 0) 920px),
    var(--paper);
  color: var(--ink-blue);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 88px);
  width: fit-content;
  max-width: calc(100vw - 32px);
  min-height: 74px;
  padding: 16px 28px;
  transform: translateX(-50%);
  border: 1px solid rgba(12, 77, 59, 0.06);
  border-radius: 63px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    border-radius 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled {
  border-radius: 0 0 46px 46px;
  box-shadow: 0 20px 54px rgba(41, 77, 204, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand img {
  width: 190px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 54px);
  white-space: nowrap;
}

.desktop-nav a {
  color: #121212;
  font-size: 15px;
  font-weight: 500;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--leaf);
}

.language-control {
  display: inline-flex;
  align-items: center;
}

.language-control select {
  width: 70px;
  height: 34px;
  padding: 0 8px;
  border: 0;
  border-left: 2px solid #121212;
  border-radius: 0;
  background: transparent;
  color: var(--leaf);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  text-transform: uppercase;
}

.language-control select:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 155, 74, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(45, 155, 74, 0.1);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-900);
}

.mobile-nav {
  position: fixed;
  z-index: 25;
  top: 106px;
  left: 16px;
  right: 16px;
  display: none;
  padding: 12px;
  border: 1px solid rgba(12, 77, 59, 0.08);
  border-radius: 0 0 32px 32px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--ink-blue);
  font-weight: 650;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(45, 155, 74, 0.08);
  color: var(--green-800);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 42px;
  padding: 142px 0 104px;
  overflow: visible;
}

.hero-media-shell {
  order: 1;
  position: relative;
  width: var(--shell);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 34px 90px rgba(6, 38, 31, 0.14);
}

.hero-media,
.hero-final-frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-final-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hero-media-shell.is-complete .hero-final-frame {
  opacity: 1;
}

.hero-overlay {
  display: none;
}

.hero-content {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.72fr);
  gap: 42px 64px;
  align-items: end;
  padding-top: 60px;
}

.eyebrow,
.section-kicker,
.direction-topline {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -24px;
}

.hero h1 {
  grid-column: 1;
  grid-row: 2 / 5;
  max-width: 860px;
  margin: 0;
  color: var(--ink-blue);
  font-size: clamp(68px, 11.2vw, 156px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.86;
  text-transform: uppercase;
  white-space: pre-line;
}

.hero-copy {
  grid-column: 2;
  margin: 0;
  color: #3e4a63;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
}

.hero-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--leaf);
  color: #fff;
}

.button-secondary {
  border-color: rgba(9, 15, 78, 0.18);
  background: #fff;
  color: var(--ink-blue);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(45, 155, 74, 0.45);
  color: var(--green-800);
}

.hero-stats {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.hero-stats div {
  padding: 16px;
  background: #fff;
}

.hero-stats dt {
  color: var(--ink-blue);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  font-weight: 820;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.section-block {
  padding: 104px 0;
}

.muted {
  background:
    linear-gradient(180deg, rgba(234, 240, 255, 0.5), rgba(255, 255, 255, 0)),
    var(--wash);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

h2 {
  margin: 0;
  color: var(--ink-blue);
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.98;
  font-weight: 820;
}

h3 {
  margin: 0;
  color: var(--ink-blue);
  font-size: 22px;
  line-height: 1.14;
}

p {
  margin: 0;
}

.intro-copy {
  color: #3e4a63;
  font-size: 20px;
}

.intro-copy p + p {
  margin-top: 18px;
}

.operating-model {
  padding: 0 0 104px;
  background: transparent;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.model-card {
  min-height: 254px;
  padding: 30px;
  background: #fff;
}

.model-card span,
.product-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: rgba(0, 173, 239, 0.1);
  color: var(--leaf);
  font-size: 12px;
  font-weight: 850;
}

.model-card p {
  margin-top: 14px;
  color: var(--muted);
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.direction-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(9, 15, 78, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(41, 77, 204, 0.06);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.direction-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 173, 239, 0.28);
  box-shadow: 0 22px 52px rgba(41, 77, 204, 0.11);
}

.direction-card p {
  margin-top: 16px;
  color: var(--muted);
}

.portfolio-heading {
  align-items: start;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 600px;
}

.filter-tabs button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(9, 15, 78, 0.13);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
}

.filter-tabs button.is-active {
  border-color: var(--leaf);
  background: var(--leaf);
  color: #fff;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-card {
  display: grid;
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(9, 15, 78, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(41, 77, 204, 0.05);
}

.company-card[hidden] {
  display: none;
}

.company-card .tag {
  width: fit-content;
  height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 173, 239, 0.1);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 850;
  line-height: 18px;
}

.company-card h3 {
  margin-top: 24px;
}

.company-card p {
  margin-top: 13px;
  color: var(--muted);
}

.company-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(9, 15, 78, 0.14);
  border-radius: var(--radius);
  background: #fff;
  color: var(--leaf);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.site-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.products {
  background:
    linear-gradient(180deg, rgba(45, 155, 74, 0.08), rgba(0, 173, 239, 0.08)),
    #fff;
  color: #3e4a63;
}

.products h2,
.products h3 {
  color: var(--ink-blue);
}

.products-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.section-lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.product-list article {
  min-height: 180px;
  padding: 24px;
  background: #fff;
}

.product-list span {
  margin-bottom: 30px;
}

.group-sites {
  background: var(--green-950);
  color: #fff;
}

.group-sites h2 {
  color: #fff;
}

.group-sites .section-lead {
  max-width: 520px;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.72);
}

.group-site-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.group-site-card {
  position: relative;
  min-height: 280px;
  padding: 26px;
  background: #fff;
  color: var(--ink-blue);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.group-site-card:hover,
.group-site-card:focus-visible {
  background: var(--gold);
  outline: none;
}

.group-site-card .site-domain {
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
}

.group-site-card h3 {
  max-width: 10ch;
  margin-top: 54px;
  font-size: 28px;
}

.group-site-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.group-site-card .site-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--green-800);
  font-size: 24px;
  line-height: 1;
}

.people-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(190px, 240px) 1fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(9, 15, 78, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.leader-photo {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--green-900);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.leader-role {
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  text-transform: uppercase;
}

.leader-card p:last-child {
  margin-top: 14px;
  color: var(--muted);
}

.contact-band {
  padding: 104px 0;
  background: var(--green-950);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 70px;
  align-items: center;
}

.contact-band h2,
.contact-band h3 {
  color: #fff;
}

address {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.74);
  font-style: normal;
  font-size: 20px;
}

.contact-panel {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.domain {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-panel .button {
  margin-top: 26px;
}

.site-footer {
  padding: 28px 0;
  background: #041b16;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 1100px) {
  .site-header {
    gap: 24px;
    padding: 14px 20px;
  }

  .desktop-nav {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100vw - 32px, 1180px);
  }

  .site-header {
    justify-content: space-between;
    width: calc(100vw - 32px);
    border-radius: 0 0 32px 32px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-content,
  .intro-grid,
  .products-grid,
  .people-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero .eyebrow,
  .hero h1,
  .hero-copy,
  .hero-actions,
  .hero-stats {
    grid-column: 1;
    grid-row: auto;
  }

  .hero .eyebrow {
    margin-bottom: 0;
  }

  .hero h1 {
    font-size: clamp(58px, 13.6vw, 118px);
  }

  .hero-copy {
    max-width: 720px;
    font-size: clamp(17px, 2.4vw, 21px);
  }

  .hero-actions {
    max-width: 720px;
  }

  .hero-stats {
    max-width: 720px;
  }

  .model-grid,
  .directions-grid,
  .company-grid,
  .group-site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .filter-tabs {
    justify-content: flex-start;
    margin-top: 24px;
  }

  .leader-photo {
    max-width: 360px;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100vw - 24px, 1180px);
  }

  html {
    scroll-padding-top: 86px;
  }

  body {
    background:
      linear-gradient(180deg, rgba(0, 173, 239, 0.09) 0, rgba(255, 255, 255, 0) 430px),
      linear-gradient(0deg, rgba(45, 155, 74, 0.08) 0, rgba(255, 255, 255, 0) 760px),
      var(--paper);
  }

  .site-header {
    top: 8px;
    width: calc(100vw - 16px);
    min-height: 58px;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 24px;
  }

  .site-header.is-scrolled {
    border-radius: 0 0 24px 24px;
  }

  .brand img {
    width: 152px;
    height: auto;
    max-height: 36px;
  }

  .language-control select {
    width: 56px;
    height: 32px;
    padding: 0 4px 0 8px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-nav {
    top: 74px;
    left: 8px;
    right: 8px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    border-radius: 0 0 24px 24px;
  }

  .mobile-nav a {
    padding: 13px 14px;
    font-size: 15px;
  }

  .hero {
    gap: 22px;
    padding: 84px 0 58px;
  }

  .hero-content {
    gap: 22px;
    padding-top: 24px;
  }

  .eyebrow,
  .section-kicker,
  .direction-topline {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(42px, 14.8vw, 66px);
    line-height: 0.92;
  }

  .hero-copy {
    color: #344057;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    text-align: center;
  }

  .hero-media-shell {
    width: var(--shell);
  }

  .hero-stats,
  .model-grid,
  .directions-grid,
  .company-grid,
  .product-list,
  .group-site-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 16px;
  }

  .hero-stats dt {
    font-size: 28px;
  }

  .hero-stats dd {
    font-size: 12px;
  }

  .section-block,
  .contact-band {
    padding: 62px 0;
  }

  .operating-model {
    padding-bottom: 62px;
  }

  .intro-grid,
  .products-grid,
  .people-grid,
  .contact-grid {
    gap: 28px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  h2 {
    font-size: clamp(34px, 10.5vw, 48px);
    line-height: 1.03;
  }

  h3 {
    font-size: 20px;
  }

  .intro-copy,
  .section-lead,
  address {
    font-size: 16px;
    line-height: 1.58;
  }

  .model-card,
  .direction-card,
  .company-card,
  .product-list article,
  .group-site-card {
    min-height: auto;
    padding: 20px;
  }

  .group-sites .section-lead {
    margin-top: 18px;
  }

  .group-site-card h3 {
    margin-top: 38px;
  }

  .model-card span,
  .product-list span {
    width: 34px;
    height: 34px;
    margin-bottom: 20px;
  }

  .direction-card:hover {
    transform: none;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100vw;
    max-width: none;
    margin: 20px 0 0 calc((100vw - var(--shell)) / -2);
    padding: 0 calc((100vw - var(--shell)) / 2) 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tabs button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .company-card {
    align-content: start;
  }

  .company-card h3 {
    margin-top: 18px;
  }

  .company-card p {
    margin-top: 10px;
  }

  .leader-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px;
  }

  .leader-photo {
    max-width: none;
    aspect-ratio: 4 / 4.6;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-panel .button {
    margin-top: 22px;
  }

  .footer-grid {
    display: block;
  }

  .footer-grid p + p {
    margin-top: 6px;
  }
}

@media (max-width: 420px) {
  :root {
    --shell: min(100vw - 20px, 1180px);
  }

  .site-header {
    width: calc(100vw - 12px);
    padding: 8px;
  }

  .brand img {
    width: 138px;
  }

  .language-control select {
    width: 52px;
    font-size: 12px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-top: 78px;
  }

  .hero h1 {
    font-size: clamp(38px, 15.6vw, 56px);
  }

  .button {
    min-height: 46px;
    font-size: 14px;
  }

  .model-card,
  .direction-card,
  .company-card,
  .product-list article,
  .contact-panel {
    padding: 18px;
  }
}
