:root {
  --gmbf-navy: #0b1f33;
  --gmbf-navy-raised: #142b44;
  --gmbf-blue: #2f6bff;
  --gmbf-blue-hover: #245be0;
  --gmbf-blue-soft: #76a5ff;
  --gmbf-slate: #526579;
  --gmbf-slate-light: #a7b8ca;
  --gmbf-mist: #e9eff5;
  --gmbf-paper: #f7f9fc;
  --gmbf-white: #ffffff;
  --gmbf-ink: #101923;
  --gmbf-border: #d6e0ea;
  --font-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --content-width: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 18px 55px rgba(11, 31, 51, 0.09);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--gmbf-paper);
  color: var(--gmbf-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gmbf-blue-soft);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--gmbf-white);
  color: var(--gmbf-navy);
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.skip-link:focus {
  top: 18px;
}

.shell {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.display em {
  color: var(--gmbf-blue);
  font-weight: 500;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gmbf-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gmbf-blue-soft);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--gmbf-border);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand-link {
  display: inline-flex;
  width: 190px;
  flex: none;
  align-items: center;
}

.brand-link img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  color: var(--gmbf-slate);
  font-size: 0.88rem;
  font-weight: 600;
}

.site-nav > a:not(.button) {
  position: relative;
  transition: color 180ms ease;
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gmbf-blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav > a:hover {
  color: var(--gmbf-navy);
}

.site-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.card-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  background: var(--gmbf-blue);
  color: var(--gmbf-white);
}

.button-primary:hover {
  background: var(--gmbf-blue-hover);
}

.button-small {
  min-height: 42px;
  padding-inline: 20px;
}

.button-outline {
  border-color: var(--gmbf-border);
  background: var(--gmbf-white);
  color: var(--gmbf-navy);
}

.button-outline:hover {
  border-color: var(--gmbf-blue);
  color: var(--gmbf-blue);
}

.text-link {
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 600;
}

.text-link-light {
  color: var(--gmbf-slate-light);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gmbf-navy);
  color: var(--gmbf-white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 210px);
  width: 1px;
  background: rgba(167, 184, 202, 0.15);
}

.hero-rule {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: 34%;
  height: 1px;
  background: rgba(167, 184, 202, 0.18);
}

.hero-inner {
  display: grid;
  min-height: 710px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
  padding-block: 110px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.5rem, 6.3vw, 6.25rem);
}

.hero h1 em {
  display: block;
  color: var(--gmbf-blue-soft);
}

.hero-lead {
  max-width: 680px;
  margin: 34px 0 0;
  color: #c9d6e3;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.hero-mark {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  border: 1px solid rgba(167, 184, 202, 0.2);
  border-radius: var(--radius-lg);
  background: var(--gmbf-navy-raised);
}

.hero-mark > img {
  width: min(190px, 70%);
  height: auto;
}

.hero-mark-label {
  display: grid;
  width: 100%;
  gap: 2px;
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid rgba(167, 184, 202, 0.2);
  color: var(--gmbf-slate-light);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.hero-mark-label strong {
  color: var(--gmbf-white);
  font-size: 0.88rem;
  font-weight: 600;
}

.section {
  padding-block: clamp(90px, 11vw, 150px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 60px;
}

.section-heading h2,
.company h2 {
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.section-intro {
  max-width: 490px;
  margin: 0 0 5px;
  color: var(--gmbf-slate);
  font-size: 1.04rem;
  line-height: 1.75;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--gmbf-border);
  border-radius: var(--radius-md);
  background: var(--gmbf-white);
  box-shadow: 0 1px 1px rgba(11, 31, 51, 0.02);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: #b9c9d9;
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.product-card:focus-visible {
  outline: 3px solid var(--gmbf-blue);
  outline-offset: 4px;
}

.product-logo-zone {
  display: flex;
  height: 240px;
  align-items: center;
  justify-content: center;
  padding: 42px;
  border-bottom: 1px solid var(--gmbf-border);
  background: var(--gmbf-mist);
}

.product-logo {
  object-fit: contain;
}

.product-logo-wide {
  width: min(230px, 100%);
  height: auto;
}

.product-logo-square {
  width: 165px;
  height: 165px;
}

.product-content {
  display: flex;
  min-height: 315px;
  flex: 1;
  flex-direction: column;
  padding: 30px;
}

.product-type {
  margin: 0 0 10px;
  color: var(--gmbf-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 0;
  color: var(--gmbf-navy);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.product-content > p:not(.product-type) {
  margin: 16px 0 30px;
  color: var(--gmbf-slate);
  font-size: 0.92rem;
  line-height: 1.7;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--gmbf-border);
  color: var(--gmbf-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-card:hover .card-link,
.product-card:focus-visible .card-link {
  color: var(--gmbf-blue);
}

.principles {
  background: var(--gmbf-navy);
  color: var(--gmbf-white);
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(70px, 10vw, 150px);
}

.principles-heading {
  position: sticky;
  top: 80px;
  align-self: start;
}

.principles-heading h2 {
  font-size: clamp(3rem, 4.8vw, 4.7rem);
}

.principles-heading h2 em {
  color: var(--gmbf-blue-soft);
}

.principles-heading > p:last-child {
  max-width: 450px;
  margin: 30px 0 0;
  color: var(--gmbf-slate-light);
}

.principle {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 30px;
  padding: 37px 0 40px;
  border-top: 1px solid rgba(167, 184, 202, 0.22);
}

.principle:last-child {
  border-bottom: 1px solid rgba(167, 184, 202, 0.22);
}

.principle > span {
  padding-top: 8px;
  color: var(--gmbf-blue-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.principle h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.principle p {
  max-width: 560px;
  margin: 13px 0 0;
  color: var(--gmbf-slate-light);
  font-size: 0.94rem;
}

.company {
  background: var(--gmbf-white);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: end;
  gap: clamp(70px, 10vw, 160px);
}

.company-copy {
  padding-left: 40px;
  border-left: 1px solid var(--gmbf-border);
}

.company-copy > p {
  margin: 0 0 34px;
  color: var(--gmbf-slate);
  font-size: 1.03rem;
  line-height: 1.8;
}

.site-footer {
  padding-block: 70px 30px;
  background: #071828;
  color: var(--gmbf-white);
}

.footer-top {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 55px;
  padding-bottom: 55px;
}

.footer-brand {
  width: 210px;
}

.footer-top > p {
  margin: 0;
  color: var(--gmbf-slate-light);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 24px;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(167, 184, 202, 0.18);
  color: var(--gmbf-slate-light);
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.55fr);
    gap: 50px;
  }

  .product-grid {
    gap: 16px;
  }

  .product-logo-zone {
    height: 210px;
    padding: 32px;
  }

  .product-content {
    min-height: 345px;
    padding: 26px;
  }

  .footer-top {
    grid-template-columns: 210px 1fr;
  }

  .footer-top .text-link {
    grid-column: 2;
    justify-self: start;
  }

  .footer-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-link {
    width: 165px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--gmbf-border);
    border-radius: 50%;
    background: var(--gmbf-white);
    color: var(--gmbf-navy);
    cursor: pointer;
  }

  .nav-toggle-line {
    width: 19px;
    height: 1.5px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:first-child {
    transform: translateY(4.25px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    transform: translateY(-4.25px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 20px 24px 30px;
    border-bottom: 1px solid var(--gmbf-border);
    background: var(--gmbf-white);
    box-shadow: 0 22px 40px rgba(11, 31, 51, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 16px 4px;
    border-bottom: 1px solid var(--gmbf-border);
  }

  .site-nav > a::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 20px;
  }

  .hero::before,
  .hero-rule {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 70px;
    padding-block: 95px;
  }

  .hero-mark {
    min-height: 280px;
    flex-direction: row;
    gap: 45px;
  }

  .hero-mark > img {
    width: 145px;
  }

  .hero-mark-label {
    width: auto;
    margin: 0;
    padding: 0 0 0 28px;
    border-top: 0;
    border-left: 1px solid rgba(167, 184, 202, 0.2);
  }

  .section-heading,
  .principles-layout,
  .company-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  }

  .product-logo-zone {
    height: 100%;
    min-height: 330px;
    border-right: 1px solid var(--gmbf-border);
    border-bottom: 0;
  }

  .product-content {
    min-height: 330px;
  }

  .principles-heading {
    position: static;
  }

  .company-copy {
    padding: 35px 0 0;
    border-top: 1px solid var(--gmbf-border);
    border-left: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-top .text-link {
    grid-column: 1;
  }
}

@media (max-width: 580px) {
  .shell {
    width: min(calc(100% - 36px), var(--content-width));
  }

  .hero-inner {
    padding-block: 75px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 14vw, 4.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-mark {
    min-height: 260px;
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
    padding: 30px;
  }

  .hero-mark > img {
    width: 105px;
  }

  .hero-mark-label {
    width: 100%;
    padding: 20px 0 0;
    border-top: 1px solid rgba(167, 184, 202, 0.2);
    border-left: 0;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .company h2,
  .principles-heading h2 {
    font-size: clamp(2.75rem, 12vw, 3.8rem);
  }

  .product-card {
    display: flex;
  }

  .product-logo-zone {
    height: 220px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--gmbf-border);
  }

  .product-logo-square {
    width: 145px;
    height: 145px;
  }

  .product-content {
    min-height: 300px;
  }

  .principle {
    grid-template-columns: 36px 1fr;
    gap: 17px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
