@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-semi-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-semi-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
}

:root {
  --ink: #12171b;
  --muted: #52606a;
  --paper: #f4f5f3;
  --surface: #ffffff;
  --steel: #17303f;
  --steel-dark: #030c13;
  --steel-2: #24495b;
  --copper: #c98a58;
  --copper-light: #dfa674;
  --bronze: #7a4b2f;
  --line: rgba(18, 23, 27, 0.14);
  --container-max: 1400px;
  --container-gutter: 48px;
  --header-height: 82px;
  --display-font: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body-font: "IBM Plex Sans", Arial, sans-serif;
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.24em;
}

a:focus-visible,
button:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #f6d5ba;
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--steel-dark);
  background: var(--surface);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  height: var(--header-height);
  color: #f4f7f8;
  background: var(--steel-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home .site-header {
  position: fixed;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent);
  border-bottom-color: transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.home .site-header.is-scrolled {
  background: rgba(3, 12, 19, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

@supports (backdrop-filter: blur(10px)) {
  .home .site-header.is-scrolled {
    background: rgba(3, 12, 19, 0.9);
    backdrop-filter: blur(10px);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: var(--container-max);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

.brand-wordmark {
  flex: 0 1 auto;
  min-width: 0;
  color: #f4f7f8;
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.main-nav a {
  color: inherit;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--copper-light);
}

.nav-toggle {
  display: none;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #f4f7f8;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle svg {
  grid-area: 1 / 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__menu {
  opacity: 0;
  transform: scale(0.72);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  opacity: 1;
  transform: scale(1);
}

/* Shared hero and facts stage */
.stage-flow {
  --hero-logo-width: 620px;
  --hero-logo-x: 40px;
  --hero-logo-anchor-y: 70%;
  --hero-copy-left: 54.2%;
  --hero-copy-width: 570px;
  --story-logo-shift: 0;
  --story-logo-shift-max: 9999;
  --story-logo-offset: 0px;
  --story-progress: 0;
  --stage-position-start: 50;
  --stage-position-park: 50;
  --stage-position-x: 50%;
  --stage-shift: 0;
  --stage-shift-max: 0;
  --stage-shift-x: 0px;
  position: relative;
  isolation: isolate;
  color: #f4f7f8;
  background: var(--steel-dark);
}

.stage-scene {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  margin-bottom: -100vh;
  margin-bottom: -100dvh;
  overflow: hidden;
  pointer-events: none;
}

.stage-scene__motion,
.stage-scene__image,
.stage-scene__scrim,
.stage-scene__facts-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-scene__motion {
  inset: -6%;
  width: auto;
  height: auto;
  transform: translate3d(var(--stage-shift-x), 0, 0);
  will-change: transform;
}

.stage-scene__image {
  object-fit: cover;
  object-position: var(--stage-position-x) 50%;
}

.stage-scene__scrim {
  background:
    linear-gradient(90deg, rgba(1, 7, 11, 0.08) 0%, rgba(1, 7, 11, 0.05) 40%, rgba(1, 7, 11, 0.38) 74%, rgba(1, 7, 11, 0.56) 100%),
    linear-gradient(180deg, rgba(2, 8, 12, 0.18), transparent 24%, rgba(2, 8, 12, 0.24));
}

.stage-scene__facts-veil {
  z-index: 3;
  background: var(--steel-dark);
  opacity: 0;
  transition: opacity 520ms ease;
  will-change: opacity;
}

.stage-flow.is-facts-active .stage-scene__facts-veil {
  opacity: 0.34;
}

.hero-logo-x {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: translateX(var(--hero-logo-x));
}

.hero-logo-story {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--story-logo-offset), 0, 0);
  will-change: transform;
}

.hero-logo-wrap {
  position: absolute;
  left: 0;
  top: var(--hero-logo-anchor-y);
  width: var(--hero-logo-width);
  aspect-ratio: 1175 / 1134;
  transform: translateY(-66.667%);
}

.hero-logo-visibility {
  width: 100%;
  height: 100%;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: var(--hero-copy-left);
  z-index: 4;
  width: min(var(--hero-copy-width), calc(100% - var(--hero-copy-left) - var(--container-gutter)));
  transform: translateY(-50%);
}

.hero-content-inner {
  max-width: 100%;
}

.hero-eyebrow,
.eyebrow {
  margin: 0 0 12px;
  color: var(--copper-light);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 76px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgba(244, 247, 248, 0.88);
  font-size: 17px;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  background: var(--copper);
  border: 1px solid var(--copper);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--bronze);
  border-color: var(--bronze);
}

.hero-cta {
  position: absolute;
  top: calc(50% + 164px);
  left: var(--hero-copy-left);
  z-index: 5;
  color: #101519;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
  height: 56px;
  color: var(--copper-light);
  opacity: 1;
  transform: translateX(-50%);
  transition: opacity 300ms ease;
}

.stage-flow.is-facts-active .hero-scroll-indicator {
  opacity: 0;
}

.hero-scroll-indicator__line {
  width: 1px;
  height: 34px;
  background: currentColor;
  transform-origin: 50% 0;
  animation: scroll-line 1.8s ease-in-out infinite;
}

.hero-scroll-indicator__chevron {
  width: 8px;
  height: 8px;
  margin-top: -2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.28); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* No-JS leaves all essential content visible. JS only adds the entrance. */
.js .stage-flow:not(.is-ready) .stage-scene__image {
  opacity: 0.72;
  transform: scale(1.018);
}

.js .stage-flow:not(.is-ready) .hero-logo {
  opacity: 0;
  transform: translate3d(110px, 0, 0);
}

.js .stage-flow:not(.is-ready) .hero-content-inner {
  opacity: 0;
  transform: translateY(14px);
}

.js .stage-flow:not(.is-ready) .hero-cta {
  opacity: 0;
  transform: translateY(14px);
}

.stage-flow.is-ready .stage-scene__image {
  animation: stage-enter 900ms ease both;
}

.stage-flow.is-ready .hero-logo {
  animation: hero-logo-enter 1350ms 100ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.stage-flow.is-ready .hero-content-inner {
  animation: hero-copy-enter 620ms 220ms ease both;
}

.stage-flow.is-ready .hero-cta {
  animation: hero-copy-enter 620ms 300ms ease both;
}

@keyframes stage-enter {
  from { opacity: 0.72; transform: scale(1.018); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hero-logo-enter {
  from { opacity: 0.12; transform: translate3d(110px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Facts story */
.facts-story {
  position: relative;
  z-index: 3;
  min-height: auto;
  color: #f4f7f8;
  background: transparent;
  scroll-margin-top: var(--header-height);
}

.facts-story__layout {
  --facts-content-inset: 44px;
  --timeline-axis: 4px;
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: 40px;
}

.facts-story__intro {
  position: sticky;
  top: 28vh;
  align-self: start;
  padding-top: 1px;
}

.facts-story__intro h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 68px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}

.fact-steps {
  position: relative;
  margin: 0;
  padding: 0 0 0 var(--facts-content-inset);
  list-style: none;
}

.fact-steps::before {
  content: "";
  position: absolute;
  top: 28vh;
  bottom: 0;
  left: var(--timeline-axis);
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
}

.facts-story__outro {
  height: 75vh;
  height: 75dvh;
}

.fact-step {
  display: flex;
  align-items: center;
  min-height: 60vh;
  min-height: 60dvh;
  color: rgba(244, 247, 248, 0.62);
  transition: color 260ms ease;
}

.fact-step::before {
  content: "";
  position: absolute;
  left: var(--timeline-axis);
  width: 9px;
  height: 9px;
  background: currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: background-color 260ms ease, transform 260ms ease;
}

.fact-step article {
  position: relative;
  width: 100%;
}

.fact-step.is-active {
  color: #f4f7f8;
}

.fact-step.is-active::before {
  background: var(--copper-light);
  transform: translateX(-50%) scale(1.35);
}

.fact-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: currentColor;
  transition: color 260ms ease;
}

.fact-step.is-active .fact-icon {
  color: var(--copper-light);
}

.fact-value {
  margin: 0;
  font-family: var(--display-font);
  font-size: 104px;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
  white-space: nowrap;
}

.fact-prefix,
.fact-suffix {
  font-size: 0.48em;
  font-weight: 600;
}

.fact-value--word {
  font-size: 92px;
}

.fact-label {
  margin: 22px 0 0;
  color: currentColor;
  font-size: 18px;
  font-weight: 500;
}

.js .fact-step:not(.has-entered) article {
  opacity: 0;
  transform: translateY(24px);
}

.js .fact-step.has-entered article {
  opacity: 1;
  transform: translateY(0);
}

.js .fact-step {
  transition: color 260ms ease;
}

.js .fact-step article {
  transition: opacity 480ms ease, transform 480ms ease;
}

/* Content after the stage */
.section,
.quality-band,
.contact-cta,
.site-footer {
  position: relative;
  z-index: 5;
}

.section {
  padding-block: 112px;
}

.services-section {
  color: var(--ink);
  background: var(--paper);
  scroll-margin-top: var(--header-height);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 96px;
  align-items: start;
}

h2,
h3,
p {
  overflow-wrap: break-word;
}

.section h2,
.quality-band h2,
.contact-cta h2,
.page-hero h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.text-stack {
  padding-top: 22px;
  color: var(--muted);
  font-size: 17px;
}

.text-stack p {
  margin: 0;
}

.text-stack p + p {
  margin-top: 18px;
}

.applications {
  background: var(--surface);
}

.section__heading {
  max-width: 820px;
  margin-bottom: 48px;
}

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

.application-card {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.application-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.application-card__body {
  padding: 26px 26px 30px;
}

.application-card h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
}

.application-card p {
  margin: 13px 0 0;
  color: var(--muted);
}

.quality-band {
  padding-block: 112px;
  color: #f4f7f8;
  background: var(--steel);
  overflow: hidden;
}

.quality-band__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(760px, 1fr);
  gap: 64px;
  align-items: center;
}

.quality-band__copy h2 {
  max-width: 430px;
  font-size: 48px;
}

.cert-fan {
  position: relative;
  width: min(970px, 100%);
  height: 308px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cert-item {
  --stack-shift: 0%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 220px;
  height: 280px;
  padding: 22px;
  color: var(--steel-dark);
  background: #f4f5f3;
  border: 1px solid rgba(3, 12, 19, 0.18);
  border-radius: 3px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  transform: translateX(var(--stack-shift));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cert-item:nth-child(1) { left: 14px; top: 0; z-index: 6; }
.cert-item:nth-child(2) { --stack-shift: -20%; left: calc(20% + 8px); top: 6px; z-index: 5; }
.cert-item:nth-child(3) { --stack-shift: -40%; left: calc(40% + 3px); top: 12px; z-index: 4; }
.cert-item:nth-child(4) { --stack-shift: -60%; left: calc(60% - 3px); top: 18px; z-index: 3; }
.cert-item:nth-child(5) { --stack-shift: -80%; left: calc(80% - 8px); top: 24px; z-index: 2; }
.cert-item:nth-child(6) { --stack-shift: -100%; left: calc(100% - 14px); top: 30px; z-index: 1; }

.cert-item:hover,
.cert-item:focus-visible {
  z-index: 20;
  transform: translateX(var(--stack-shift)) translateY(-14px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.32);
}

.cert-item span {
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.contact-cta {
  padding-block: 96px;
  color: #f4f7f8;
  background: var(--steel-dark);
}

.contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 72px;
  align-items: end;
}

.contact-cta h2 {
  max-width: 800px;
}

.contact-cta p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(244, 247, 248, 0.76);
}

.contact-cta__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
}

.contact-cta__links a:hover,
.contact-cta__links a:focus-visible {
  color: var(--copper-light);
}

.site-footer {
  color: #d6dde0;
  background: #07131b;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

/* Interior pages */
.interior {
  min-height: 100vh;
  background: var(--paper);
}

.page {
  min-height: calc(100vh - var(--header-height) - 84px);
  padding-top: 96px;
  padding-bottom: 112px;
}

.page-hero {
  max-width: 900px;
  margin-bottom: 72px;
}

.page-hero h1 {
  font-size: 64px;
}

.page-hero .lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-panel,
.legal-content article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.contact-panel {
  padding: 36px;
}

.contact-panel h2,
.legal-content h2 {
  margin: 0 0 24px;
  font-family: var(--display-font);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-list {
  margin: 0;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.contact-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-panel address {
  font-style: normal;
  line-height: 1.8;
}

.legal-content {
  display: grid;
  gap: 20px;
  max-width: 900px;
}

.legal-content article {
  padding: 32px;
}

.legal-content h2 {
  margin-bottom: 16px;
}

.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content ul {
  padding-left: 20px;
}

.todo-box {
  border-left: 4px solid var(--copper) !important;
}

/* XL screens */
@media (min-width: 1600px) {
  .stage-flow {
    --hero-logo-width: 720px;
    --hero-logo-x: 92px;
    --hero-copy-left: 55.2%;
    --hero-copy-width: 660px;
    --story-logo-shift: 0;
  }

  .hero h1 {
    font-size: 88px;
  }

  .hero-lead {
    max-width: 640px;
    font-size: 18px;
  }

  .fact-value {
    font-size: 120px;
  }

  .fact-value--word {
    font-size: 104px;
  }
}

/* Compact desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  :root {
    --container-gutter: 28px;
  }

  .brand-wordmark {
    font-size: 18px;
  }

  .stage-flow {
    --hero-logo-width: min(48vw, 560px);
    --hero-logo-x: 28px;
    --hero-copy-left: 52%;
    --hero-copy-width: calc(48% - 40px);
    --story-logo-shift: 0;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-cta {
    top: calc(50% + 148px);
  }

  .facts-story__layout {
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
    gap: 40px;
  }

  .facts-story__intro h2 {
    font-size: 58px;
  }

  .fact-value {
    font-size: 88px;
  }

  .fact-value--word {
    font-size: 78px;
  }

  .quality-band__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quality-band__copy h2 {
    font-size: 40px;
  }

  .cert-fan {
    width: min(935px, 100%);
  }

  .cert-item:nth-child(n) {
    --stack-shift: 0%;
  }

  .cert-item {
    width: 200px;
    height: 255px;
  }

  .cert-item:nth-child(1) { left: 0; }
  .cert-item:nth-child(2) { left: 147px; }
  .cert-item:nth-child(3) { left: 294px; }
  .cert-item:nth-child(4) { left: 441px; }
  .cert-item:nth-child(5) { left: 588px; }
  .cert-item:nth-child(6) { left: 735px; }
}

/* Tablet and mobile navigation */
@media (max-width: 991px) {
  :root {
    --container-gutter: 28px;
    --header-height: 68px;
  }

  .brand-wordmark {
    font-size: 16px;
  }

  .js .nav-toggle {
    display: grid;
  }

  .js .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--container-gutter) 18px;
    color: #f4f7f8;
    background: #030c13;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .js .main-nav.is-open {
    display: flex;
  }

  .home .site-header:has(.nav-toggle[aria-expanded="true"]) {
    background: #030c13;
    border-bottom-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: none;
  }

  .js .main-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: #f4f7f8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .js .main-nav a:last-child {
    border-bottom: 0;
  }

  .js .main-nav a:hover,
  .js .main-nav a:focus-visible,
  .js .main-nav a[aria-current="page"] {
    color: var(--copper-light);
  }

  html:not(.js) .site-header {
    height: auto;
    min-height: var(--header-height);
  }

  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-height);
    padding-block: 12px;
  }

  html:not(.js) .main-nav {
    flex: 1 0 100%;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 4px;
  }

  .stage-flow {
    --hero-logo-width: 540px;
    --hero-logo-x: 28px;
    --hero-copy-left: var(--container-gutter);
    --hero-copy-width: calc(100% - (2 * var(--container-gutter)));
    --story-logo-shift: 74;
    --stage-position-start: 36;
    --stage-position-park: 24;
    --stage-position-x: 36%;
    --stage-shift: 0;
    --stage-shift-max: 0;
  }

  .stage-scene__motion {
    inset: 0;
  }

  .stage-scene__image {
    object-position: var(--stage-position-x) 50%;
  }

  .stage-scene__scrim {
    background:
      linear-gradient(180deg, rgba(1, 7, 11, 0.3) 0%, rgba(1, 7, 11, 0.16) 40%, rgba(1, 7, 11, 0.28) 100%),
      linear-gradient(90deg, rgba(1, 7, 11, 0.08), rgba(1, 7, 11, 0.32));
  }

  .hero-content {
    top: 92px;
    transform: none;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-lead {
    max-width: 600px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.46;
  }

  .hero-cta {
    top: auto;
    right: auto;
    bottom: 28px;
    left: var(--container-gutter);
    min-width: 168px;
    margin: 0;
  }

  .stage-flow.is-ready .stage-scene__image {
    animation-name: stage-enter-mobile;
  }

  @keyframes stage-enter-mobile {
    from { opacity: 0.72; }
    to { opacity: 1; }
  }

  .js .stage-flow:not(.is-ready) .stage-scene__image {
    transform: none;
  }

  .facts-story {
    min-height: 380vh;
  }

  .facts-story__layout {
    display: block;
  }

  .facts-story__intro {
    top: 18vh;
    z-index: 2;
    width: max-content;
  }

  .facts-story__intro h2 {
    font-size: 52px;
  }

  .fact-steps {
    margin-top: -60px;
    padding: 0 0 0 42%;
  }

  .fact-steps::before {
    top: 40vh;
    bottom: 0;
  }

  .fact-step {
    min-height: 95vh;
    min-height: 95dvh;
  }

  .fact-value {
    font-size: 76px;
  }

  .fact-value--word {
    font-size: 68px;
  }

  .section,
  .quality-band {
    padding-block: 88px;
  }

  .section--split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section h2,
  .quality-band h2,
  .contact-cta h2,
  .page-hero h1 {
    font-size: 44px;
  }

  .text-stack {
    padding-top: 0;
  }

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

  .application-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
  }

  .quality-band__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .quality-band__copy h2 {
    max-width: 720px;
    font-size: 44px;
  }

  .cert-fan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    height: auto;
  }

  .cert-item,
  .cert-item:nth-child(n) {
    position: relative;
    inset: auto;
    z-index: auto;
    width: auto;
    height: auto;
    aspect-ratio: 11 / 15;
    transform: none;
  }

  .cert-item:hover,
  .cert-item:focus-visible {
    z-index: auto;
    transform: translateY(-4px);
  }

  .contact-cta__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .page-hero h1 {
    font-size: 52px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .stage-flow {
    --hero-logo-width: min(46vw, 440px);
    --hero-logo-x: 20px;
    --story-logo-shift: 0;
    --stage-position-park: 36;
  }

  .facts-story {
    min-height: auto;
  }

  .facts-story__layout {
    --facts-content-inset: 36px;
    display: grid;
    grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
    gap: 32px;
  }

  .facts-story__intro {
    top: 24vh;
    width: auto;
  }

  .fact-steps {
    margin-top: 0;
    padding: 0 0 0 var(--facts-content-inset);
  }

  .fact-steps::before {
    top: 28vh;
  }

  .fact-step {
    min-height: 70vh;
    min-height: 70dvh;
  }

  .fact-value {
    font-size: 64px;
  }

  .fact-value--word {
    font-size: 58px;
  }
}

@media (max-width: 767px) {
  :root {
    --container-gutter: 20px;
    --header-height: 64px;
  }

  .stage-flow {
    --hero-logo-width: 430px;
    --hero-logo-x: 20px;
    --hero-logo-anchor-y: 68%;
    --story-logo-shift: 67;
    --story-logo-shift-max: 160;
    --stage-position-start: 21;
    --stage-position-park: 7;
    --stage-position-x: 21%;
  }

  .hero-content {
    top: calc(var(--header-height) + clamp(24px, 4dvh, 38px));
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.42;
  }

  .button {
    min-height: 50px;
  }

  .hero-cta {
    bottom: calc(clamp(48px, 8dvh, 76px) + env(safe-area-inset-bottom, 0px));
  }

  .hero-scroll-indicator {
    bottom: 16px;
  }

  .facts-story__intro {
    top: 16vh;
    margin-left: var(--facts-content-inset);
  }

  .facts-story__intro h2 {
    font-size: 46px;
  }

  .facts-story__layout {
    --facts-content-inset: 22px;
    --timeline-axis: 10px;
  }

  .fact-steps {
    margin-top: 0;
    padding-right: 130px;
    padding-left: var(--facts-content-inset);
  }

  .fact-steps::before {
    top: 32vh;
  }

  .fact-step {
    min-height: 88vh;
    min-height: 88dvh;
  }

  .fact-value {
    font-size: 38px;
  }

  .fact-value--word {
    font-size: 33px;
  }

  .fact-label {
    margin-top: 16px;
    font-size: 16px;
  }

  .section,
  .quality-band {
    padding-block: 72px;
  }

  .section h2,
  .quality-band h2,
  .contact-cta h2,
  .page-hero h1 {
    font-size: 38px;
  }

  .application-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .application-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .application-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .application-card:nth-child(1) img {
    object-position: 50% 52%;
  }

  .application-card:nth-child(2) img {
    object-position: 50% 48%;
  }

  .application-card:nth-child(3) img {
    object-position: 50% 50%;
  }

  .contact-cta {
    padding-block: 72px;
  }

  .contact-cta__links {
    overflow-wrap: anywhere;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }

  .page {
    padding-top: 60px;
    padding-bottom: 72px;
  }

  .page-hero {
    margin-bottom: 48px;
  }

  .page-hero .lead {
    margin-top: 18px;
    font-size: 17px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .legal-content article {
    padding: 26px;
  }
}

/* 341-575: mobile composition targets the AB baseline at roughly 70%. */
@media (min-width: 341px) and (max-width: 575px) {
  .brand-wordmark {
    font-size: 15px;
  }

  .site-header__inner {
    gap: 8px;
  }

  .stage-flow {
    --hero-logo-width: min(108vw, 420px);
    --hero-logo-x: 10px;
    --story-logo-shift: 67;
    --story-logo-shift-max: 160;
  }

  .hero-content {
    top: calc(var(--header-height) + clamp(24px, 4dvh, 38px));
  }

  .hero h1 {
    font-size: 44px;
    white-space: nowrap;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.42;
  }

  .hero-cta {
    min-height: 50px;
    bottom: calc(clamp(48px, 8dvh, 76px) + env(safe-area-inset-bottom, 0px));
    margin: 0;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .facts-story__intro h2 {
    font-size: 42px;
  }

  .fact-value {
    font-size: 38px;
  }

  .fact-value--word {
    font-size: 33px;
  }

  .cert-fan {
    gap: 10px;
  }

  .cert-item {
    padding: 14px;
  }

  .cert-item span {
    font-size: 24px;
  }
}

/* 320-class viewports */
@media (max-width: 340px) {
  :root {
    --container-gutter: 14px;
    --header-height: 60px;
  }

  .site-header__inner {
    gap: 6px;
  }

  .brand-wordmark {
    font-size: 14px;
  }

  .stage-flow {
    --hero-logo-width: clamp(220px, 72vw, 240px);
    --hero-logo-x: 12px;
    --hero-logo-anchor-y: 70%;
    --story-logo-shift: 78;
    --story-logo-shift-max: 160;
  }

  .stage-scene__image {
    object-position: var(--stage-position-x) 50%;
  }

  .hero-content {
    top: calc(var(--header-height) + clamp(14px, 3dvh, 18px));
  }

  .hero-eyebrow {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 0.98;
    white-space: normal;
  }

  .hero-lead {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.34;
  }

  .hero-cta {
    min-height: 46px;
    bottom: calc(clamp(32px, 6dvh, 42px) + env(safe-area-inset-bottom, 0px));
    min-width: 144px;
    margin: 0;
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .facts-story__intro h2 {
    font-size: 38px;
  }

  .fact-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
  }

  .fact-value {
    font-size: 38px;
  }

  .fact-value--word {
    font-size: 33px;
  }

  .section h2,
  .quality-band h2,
  .contact-cta h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .application-card__body {
    padding: 22px 18px 24px;
  }

  .cert-fan {
    gap: 8px;
  }

  .cert-item {
    padding: 10px;
  }

  .cert-item span {
    font-size: 21px;
  }

  .contact-panel,
  .legal-content article {
    padding: 22px 18px;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (min-width: 341px) and (max-width: 767px) and (max-height: 700px) and (orientation: portrait) {
  .stage-flow {
    --hero-logo-width: min(82vw, 320px);
    --hero-logo-anchor-y: 72%;
  }

  .hero-content {
    top: calc(var(--header-height) + clamp(18px, 3dvh, 24px));
  }

  .hero-cta {
    bottom: calc(clamp(42px, 8dvh, 56px) + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 341px) and (max-width: 767px) and (max-height: 620px) and (orientation: portrait) {
  .stage-flow {
    --hero-logo-width: 240px;
    --hero-logo-x: 14px;
  }

  .hero-content {
    top: 64px;
  }

  .hero-eyebrow {
    margin-bottom: 7px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.32;
  }

  .hero-cta {
    min-height: 44px;
    bottom: 14px;
    margin: 0;
  }
}

/* Short landscape screens retain a compact, usable composition. */
@media (orientation: landscape) and (max-height: 499px) {
  .hero {
    min-height: 540px;
  }

  .stage-scene {
    height: 540px;
    margin-bottom: -540px;
  }

  .stage-flow {
    --hero-logo-width: min(46vw, 390px);
    --hero-logo-x: 20px;
    --hero-copy-left: 52%;
    --hero-copy-width: calc(48% - 28px);
  }

  .hero-content {
    top: 50%;
    transform: translateY(-50%);
  }

  .hero h1 {
    font-size: 40px;
    white-space: normal;
  }

  .hero-lead {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.34;
  }

  .hero-cta {
    top: calc(50% + 102px);
    bottom: auto;
    left: var(--hero-copy-left);
    min-height: 44px;
    margin: 0;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cert-fan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    height: auto;
    transform: none;
  }

  .cert-item,
  .cert-item:nth-child(n) {
    position: relative;
    inset: auto;
    z-index: auto;
    width: auto;
    height: auto;
    aspect-ratio: 11 / 15;
    transform: none;
  }
}

@media (max-width: 575px) {
  .cert-fan {
    gap: 10px;
  }
}

@media (max-width: 340px) {
  .cert-fan {
    gap: 8px;
  }
}

@supports not (position: sticky) {
  .stage-scene {
    position: absolute;
    inset: 0 0 auto;
    margin-bottom: 0;
  }
}

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

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

  .stage-scene__facts-veil,
  .hero-logo-visibility,
  .hero-scroll-indicator,
  .fact-step,
  .fact-step article,
  .fact-icon,
  .cert-item,
  .nav-toggle svg {
    transition: none !important;
  }

  .js .stage-flow:not(.is-ready) .stage-scene__image,
  .js .stage-flow:not(.is-ready) .hero-logo,
  .js .stage-flow:not(.is-ready) .hero-content-inner,
  .js .stage-flow:not(.is-ready) .hero-cta,
  .js .fact-step:not(.has-entered) article {
    opacity: 1;
    transform: none;
  }
}
