:root {
  --black: #03070a;
  --text: #f4f7f8;
  --cyan: #8fd8ff;
  --line: rgba(143, 216, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--text);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(22px, 5vw, 72px);
  background: transparent;
  box-shadow: none;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    height 180ms ease;
}

.site-header.is-scrolled {
  background: #000;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.32);
}

.top-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: min(100%, 1380px);
  align-items: center;
  gap: clamp(68px, 9vw, 174px);
}

.nav-side {
  display: flex;
  align-items: center;
  gap: clamp(64px, 8vw, 152px);
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.top-nav a {
  color: #fff;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(0.86rem, 1.04vw, 1.08rem);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85);
  transition: color 160ms ease;
}

.nav-wordmark {
  display: inline-flex;
  width: clamp(118px, 12vw, 176px);
  align-items: center;
  justify-content: center;
}

.nav-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(28px, 5vw, 86px) 72px;
  isolation: isolate;
}

.image-layer,
.shade-layer {
  position: absolute;
  inset: 0;
}

.image-layer {
  z-index: -2;
  background-image: url("../img/eden-device-plate.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: saturate(0.96) contrast(1.08);
}

.shade-layer {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 7, 10, 0.08), rgba(3, 7, 10, 0.44)),
    linear-gradient(90deg, rgba(3, 7, 10, 0.84), rgba(3, 7, 10, 0.34) 44%, rgba(3, 7, 10, 0.06) 72%);
}

.hero-copy {
  max-width: min(680px, 92vw);
  color: #fff;
}

.eyebrow,
.section-kicker,
.card-kicker {
  color: var(--cyan);
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 20px;
}

h1 {
  max-width: 760px;
  margin: 0 0 26px;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(3.25rem, 6.65vw, 6.8rem);
  font-weight: 500;
  line-height: 0.92;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 34px 10px;
  color: rgba(255, 255, 255, 0.76);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.6;
}

.hero-link {
  display: inline-grid;
  margin-left: 10px;
  min-width: 220px;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.82);
  color: #fff;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  padding-top: 2px;
}

.hero-link:hover,
.hero-link:focus-visible {
  border-color: var(--cyan);
  background: rgba(143, 216, 255, 0.1);
}

.transition-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.32fr) minmax(0, 1fr);
  gap: clamp(76px, 9vw, 165px);
  align-items: start;
  min-height: clamp(190px, 22vw, 285px);
  padding: clamp(46px, 7vw, 86px) clamp(28px, 5vw, 86px);
  background: white;
  color: #03070a;
}

.section-kicker {
  margin: 0;
  color: #315666;
  font-size: clamp(1.25rem, 2vw, 2.35rem);
  line-height: 1;
}

.section-text {
  max-width: 1160px;
  margin: 0;
  color: #24313a;
  font-size: clamp(1.55rem, 2.7vw, 3.25rem);
  line-height: 1.12;
}

.horizontal-gallery {
  height: 235vh;
  background: white;
}

.horizontal-sticky {
  position: sticky;
  top: 96px;
  height: calc(100svh - 96px);
  overflow: hidden;
  background: white;
}

.horizontal-track {
  display: flex;
  width: max-content;
  height: 100%;
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(20px, 3vw, 34px);
  background: white;
  will-change: transform;
}

.gallery-card {
  position: relative;
  display: block;
  width: min(86vw, 1040px);
  min-width: min(86vw, 1040px);
  height: 100%;
  overflow: hidden;
  background-color: #03070a;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: none;
  color: #fff;
  transition:
    filter 220ms ease,
    transform 260ms ease;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 7, 10, 0.16), rgba(3, 7, 10, 0.78)),
    linear-gradient(90deg, rgba(3, 7, 10, 0.56), rgba(3, 7, 10, 0.04) 66%);
}

.gallery-card:hover,
.gallery-card:focus-visible {
  filter: contrast(1.08) saturate(1.04);
  transform: translateY(-4px);
}

.signal-card {
  background-image: url("../img/eden-pcb-tall.png");
}

.secure-card {
  background-image: url("../img/eden-secure-enclosure-tall.png");
}

.interfaces-card {
  background-image: url("../img/eden-mission-interface-tall.png");
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.32fr) minmax(0, 1fr);
  gap: clamp(76px, 9vw, 165px);
  align-items: start;
  min-height: clamp(300px, 36vw, 480px);
  padding: clamp(70px, 10vw, 132px) clamp(28px, 5vw, 86px);
  background: white;
  color: #03070a;
}

.about-kicker {
  margin: 0;
  color: #315666;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.25rem, 2vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-text {
  max-width: 1040px;
  margin: 0;
  color: #24313a;
  font-size: clamp(1.55rem, 2.65vw, 3.15rem);
  line-height: 1.12;
}

.site-footer {
  display: grid;
  gap: clamp(44px, 6vw, 86px);
  min-height: 82vh;
  padding: clamp(52px, 8vw, 96px) clamp(28px, 5vw, 86px);
  background: #03070a;
  color: #fff;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding-bottom: clamp(34px, 5vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-cta img {
  display: block;
  width: clamp(150px, 18vw, 260px);
  height: auto;
  justify-self: center;
}

.footer-cta a {
  color: #fff;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1rem, 1.85vw, 2.35rem);
  font-weight: 700;
  justify-self: center;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-cta a:hover,
.footer-cta a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.footer-links div {
  display: grid;
  gap: 12px;
}

.footer-links h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.54);
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.82);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: 0.98rem;
  line-height: 1.35;
  text-decoration: none;
}
.footer-links .footer-business-id {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.54);
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.card-copy {
  position: absolute;
  inset: auto clamp(28px, 3vw, 44px) clamp(30px, 4vw, 54px);
  z-index: 1;
  display: grid;
  max-width: 520px;
  gap: 14px;
}

.card-title {
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(2rem, 3vw, 3.7rem);
  line-height: 1;
}

.card-text {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.76);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .site-header {
    height: 74px;
    padding-inline: 18px;
  }

  .top-nav {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
  }

  .nav-side {
    display: contents;
  }

  .nav-wordmark {
    order: -1;
    width: 118px;
  }

  .horizontal-sticky {
    top: 74px;
    height: calc(100svh - 74px);
  }

  .gallery-card {
    width: 92vw;
    min-width: 92vw;
  }

  .transition-band {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-cta,
  .footer-links {
    grid-template-columns: 1fr;
  }
}


.subpage-hero {
  position: relative;
  display: flex;
  min-height: 78svh;
  align-items: flex-end;
  overflow: hidden;
  padding: 152px clamp(28px, 5vw, 86px) clamp(64px, 8vw, 118px);
  isolation: isolate;
}

.subpage-hero::before,
.subpage-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.subpage-hero::before {
  z-index: -2;
  background-image: var(--subpage-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.95) contrast(1.08);
}

.subpage-hero::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 7, 10, 0.14), rgba(3, 7, 10, 0.72)),
    linear-gradient(90deg, rgba(3, 7, 10, 0.86), rgba(3, 7, 10, 0.32) 52%, rgba(3, 7, 10, 0.08));
}

.subpage-copy {
  display: grid;
  max-width: 880px;
  gap: 24px;
  color: #fff;
}

.subpage-kicker {
  margin: 0;
  color: var(--cyan);
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.14rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-copy h1 {
  margin-bottom: 0;
}

.subpage-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.02rem, 1.28vw, 1.2rem);
  line-height: 1.58;
}

.subpage-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.32fr) minmax(0, 1fr);
  gap: clamp(76px, 9vw, 165px);
  align-items: start;
  min-height: clamp(260px, 34vw, 430px);
  padding: clamp(70px, 10vw, 132px) clamp(28px, 5vw, 86px);
  background: #fff;
  color: #03070a;
}

.subpage-panel h2 {
  margin: 0;
  color: #315666;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.25rem, 2vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-panel p {
  max-width: 1160px;
  margin: 0;
  color: #24313a;
  font-size: clamp(1.55rem, 2.65vw, 3.15rem);
  line-height: 1.12;
}

.systems-page .subpage-hero {
  --subpage-image: url("../img/eden-pcb-tall.png");
}

.engineering-page .subpage-hero {
  --subpage-image: url("../img/eden-secure-enclosure-tall.png");
}

.about-page .subpage-hero {
  --subpage-image: url("../img/eden-device-plate.png");
}
.careers-page .subpage-hero {
  --subpage-image: url("../img/careers-hero.png");
}

.legal-page .subpage-hero {
  --subpage-image: url("../img/legal-hero.png");
}

@media (max-width: 760px) {
  .subpage-hero {
    min-height: 72svh;
    padding-top: 116px;
  }

  .subpage-panel {
    grid-template-columns: 1fr;
  }
}

.team-panel {
  position: relative;
  min-height: auto;
  padding-top: clamp(76px, 10vw, 132px);
}

.team-panel::before {
  position: absolute;
  top: 0;
  right: clamp(28px, 5vw, 86px);
  left: clamp(28px, 5vw, 86px);
  height: 1px;
  content: "";
  background: rgba(36, 49, 58, 0.14);
}

.team-content {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  max-width: 1160px;
}

.subpage-panel .team-intro {
  max-width: 860px;
  color: #24313a;
  font-size: clamp(1.25rem, 2vw, 2.25rem);
  line-height: 1.18;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(36, 49, 58, 0.14);
  background:
    linear-gradient(180deg, rgba(3, 7, 10, 0.025), rgba(3, 7, 10, 0)),
    #fff;
}

.team-card {
  display: grid;
  min-height: 220px;
  align-content: end;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(36, 49, 58, 0.16);
  background: #fff;
}

.team-card h3,
.team-card p {
  margin: 0;
}

.team-card h3 {
  color: #03070a;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.team-card p,
.team-card a {
  color: rgba(36, 49, 58, 0.74);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.35;
}

.team-card a {
  color: #315666;
  text-decoration: none;
}

.team-card a:hover,
.team-card a:focus-visible {
  color: #03070a;
}

@media (max-width: 760px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.systems-showcase {
  display: grid;
  gap: 0;
  background: #03070a;
}

.system-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: clamp(520px, 62vw, 780px);
  background: #03070a;
  color: #fff;
}

.system-feature-reverse {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
}

.system-feature-reverse .system-feature-image {
  order: 2;
}

.system-feature-image {
  min-height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.signal-awareness-image {
  background-image: url("../img/systems-signal-awareness.png");
}

.field-intelligence-image {
  background-image: url("../img/systems-field-intelligence.png");
}

.operational-control-image {
  background-image: url("../img/systems-operational-control.png");
}

.system-feature-copy {
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(38px, 6vw, 88px);
  background:
    linear-gradient(180deg, rgba(8, 16, 22, 0.86), rgba(3, 7, 10, 1)),
    #03070a;
}

.system-feature-copy span,
.principles-panel h2,
.engineering-domestic-copy h2 {
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-feature-copy span {
  color: var(--cyan);
  font-size: 0.82rem;
}

.system-feature-copy h2 {
  max-width: 520px;
  margin: 0;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(2.35rem, 4.6vw, 5.4rem);
  font-weight: 500;
  line-height: 0.94;
}

.system-feature-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.58;
}

.engineering-domestic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  min-height: clamp(520px, 58vw, 740px);
  background: #03070a;
  color: #fff;
}

.engineering-image {
  background-image: url("../img/engineering-domestic-execution.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.engineering-domestic-copy {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(38px, 6vw, 88px);
}

.engineering-domestic-copy h2 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 4.2rem);
  line-height: 0.98;
}

.engineering-domestic-copy p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1rem, 1.24vw, 1.2rem);
  line-height: 1.6;
}

.principles-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(36, 49, 58, 0.18);
  padding: 1px;
}

.principles-panel article {
  display: grid;
  min-height: 320px;
  align-content: end;
  gap: 18px;
  padding: clamp(26px, 3.4vw, 48px);
  background: #fff;
}

.principles-panel h2 {
  margin: 0;
  color: #315666;
  font-size: clamp(1.2rem, 1.55vw, 1.7rem);
  line-height: 1.05;
}

.principles-panel p {
  margin: 0;
  color: #24313a;
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .system-feature,
  .system-feature-reverse,
  .engineering-domestic {
    grid-template-columns: 1fr;
  }

  .system-feature-reverse .system-feature-image {
    order: 0;
  }

  .system-feature-image,
  .engineering-image {
    min-height: 56svh;
  }

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

@media (max-width: 640px) {
  .principles-panel {
    grid-template-columns: 1fr;
  }
}

.systems-principles {
  border-top: 1px solid rgba(36, 49, 58, 0.14);
}
#systems-overview,
#signal-awareness,
#field-intelligence,
#operational-control,
#engineering-principles,
#domestic-execution,
#controlled-complexity,
#domestic-assembly,
#reliability,
#integration-discipline {
  scroll-margin-top: 112px;
}

@media (max-width: 760px) {
  #systems-overview,
  #signal-awareness,
  #field-intelligence,
  #operational-control,
  #engineering-principles,
  #domestic-execution,
  #controlled-complexity,
  #domestic-assembly,
  #reliability,
  #integration-discipline {
    scroll-margin-top: 90px;
  }
}
.page-copy-block {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  max-width: 1160px;
}

.subpage-panel .page-copy-block p {
  max-width: 1160px;
}

.subpage-panel .page-copy-small {
  max-width: 780px;
  color: rgba(36, 49, 58, 0.78);
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.58;
}

.page-copy-block a,
.legal-detail-grid a {
  color: #315666;
  text-decoration: none;
}

.page-copy-block a:hover,
.page-copy-block a:focus-visible,
.legal-detail-grid a:hover,
.legal-detail-grid a:focus-visible {
  color: #03070a;
}

.legal-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(36, 49, 58, 0.18);
  padding: 1px;
}

.legal-detail-grid article {
  display: grid;
  min-height: 310px;
  align-content: end;
  gap: 18px;
  padding: clamp(26px, 3.4vw, 48px);
  background: #fff;
}

.legal-detail-grid h2 {
  margin: 0;
  color: #315666;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    "Aptos Display",
    "Segoe UI",
    sans-serif;
  font-size: clamp(1.12rem, 1.45vw, 1.58rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-detail-grid p {
  margin: 0;
  color: #24313a;
  font-family:
    Bahnschrift,
    "Aptos",
    "Segoe UI",
    sans-serif;
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .legal-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .legal-detail-grid {
    grid-template-columns: 1fr;
  }
}
.careers-notes article {
  align-content: end;
  grid-template-rows: auto 4.5em;
}
.partnerships-page .subpage-hero {
  --subpage-image: url("../img/partnerships-hero.png");
}

.procurement-page .subpage-hero {
  --subpage-image: url("../img/procurement-hero.png");
}

.page-action-link {
  display: inline-grid;
  width: max-content;
  min-width: 220px;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(36, 49, 58, 0.42);
  color: #03070a;
  font-family:
    "Bank Gothic",
    "BankGothic Md BT",
    "Eurostile",
    "Bahnschrift SemiCondensed",
    Bahnschrift,
    sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.page-action-link:hover,
.page-action-link:focus-visible {
  border-color: #315666;
  background: rgba(49, 86, 102, 0.08);
}
.alliance-strip {
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1px solid rgba(36, 49, 58, 0.12);
  background: #fff;
}

.alliance-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.alliance-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  animation: alliance-scroll 64s linear infinite;
  will-change: transform;
}

.flag-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.flag-image {
  display: block;
  width: auto;
  height: clamp(62px, 4.6vw, 76px);
  object-fit: contain;
  border: 1px solid rgba(36, 49, 58, 0.16);
  box-shadow: 0 10px 22px rgba(3, 7, 10, 0.08);
}

@keyframes alliance-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .alliance-track {
    animation-duration: 180s;
  }
}
