.brand-intro {
  --intro-blue: #28a7e1;
  --intro-glint-edge: #0871b5;
  --intro-glint-halo: rgb(24 152 222 / 65%);
  --intro-ink: #132e42;
  --intro-ease: cubic-bezier(.22, .75, .22, 1);
  position: fixed;
  /* Keep the logo centered as the native scrollbar gives way to the overlay. */
  inset: 0 auto 0 0;
  width: 100vw;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--handbook-paper);
}
:root[data-theme="navy"] .brand-intro {
  --intro-blue: #38b5f0;
  --intro-glint-edge: #187bad;
  --intro-glint-halo: rgb(104 222 255 / 80%);
  --intro-ink: #f4f9ff;
}
.brand-intro svg {
  width: clamp(140px, 17vw, 240px);
  height: auto;
  overflow: visible;
  fill: var(--intro-blue);
  stroke: none;
}
.intro-body { animation: intro-body 300ms var(--intro-ease) both; }
.intro-arrow { animation: intro-arrow 330ms 100ms var(--intro-ease) both; }
.intro-wordmark { fill: var(--intro-ink); animation: intro-wordmark 200ms 330ms both; }
.intro-glint-halo { filter: drop-shadow(0 0 6px var(--intro-glint-halo)); }
.intro-glint {
  transform: translateX(-208px) skewX(-18deg);
  animation: intro-glint 2.5s linear 2.4s infinite;
}
.intro-wait {
  position: absolute;
  top: calc(50% + clamp(70px, 7.5vw, 102px));
  text-align: center;
  font-size: 14px;
  color: var(--intro-ink);
  animation: intro-wait-in 220ms ease-out both;
}
.intro-transfer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4ch;
  align-items: center;
  gap: 8px;
  width: clamp(140px, 17vw, 240px);
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.intro-transfer progress {
  appearance: none;
  width: 100%;
  height: 1px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background-color: color-mix(in srgb, var(--intro-ink) 18%, transparent);
}
.intro-transfer progress::-webkit-progress-bar { background: transparent; }
.intro-transfer progress::-webkit-progress-value { background: var(--intro-blue); }
.intro-transfer progress::-moz-progress-bar { background: var(--intro-blue); }
.intro-wait button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--muted);
  text-decoration: none;
}
.intro-wait button:is(:hover, :focus-visible) { color: var(--action-hover); }
.brand-intro.is-revealing { animation: intro-reveal 400ms var(--intro-ease) both; }
@keyframes intro-body { from { opacity: 0; transform: translate(-12px, 7px); } }
@keyframes intro-arrow { from { opacity: 0; transform: translate(-54px, 24px); } }
@keyframes intro-wordmark { from { opacity: 0; } }
@keyframes intro-glint {
  0% { transform: translateX(-208px) skewX(-18deg); }
  10% { transform: translateX(75px) skewX(-18deg); }
  32%, 100% { transform: translateX(505px) skewX(-18deg); }
}
@keyframes intro-wait-in { from { opacity: 0; } }
@keyframes intro-reveal {
  from { clip-path: polygon(-60% 0, 170% 0, 170% 100%, 0 100%); }
  to { clip-path: polygon(101% 0, 170% 0, 170% 100%, 161% 100%); }
}

.film-hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100dvh;
  overflow: clip;
  background: #0b121a url("../assets/video/fsrj-fa3985s-film-poster.webp?v=efaf6d70ed") center / cover no-repeat;
}
.film-stage {
  position: relative;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.film-stage::-webkit-media-controls,
.film-stage::-webkit-media-controls-start-playback-button { display: none !important; }

.film-caption {
  --caption-right: max(var(--page-gutter), env(safe-area-inset-right));
  position: absolute;
  right: var(--caption-right);
  bottom: max(clamp(1.5rem, 6vh, 4.5rem), env(safe-area-inset-bottom));
  padding-top: .34em;
  border-top: 1px solid rgb(255 255 255 / 85%);
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.22;
  pointer-events: none;
}
.film-caption::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5em calc(-1 * var(--caption-right)) -7.5em -8em;
  background: radial-gradient(ellipse farthest-side at right center, rgb(7 20 30 / 72%), rgb(7 20 30 / 57%) 40%, rgb(7 20 30 / 16%) 75%, transparent);
}
.section-scroll-link {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(42px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  color: var(--assembly-ink, #132e42);
}
.section-scroll-link svg { width: 22px; height: 32px; stroke-width: 1.4; }
.film-hero .section-scroll-link { color: #fff; }
.film-hero .section-scroll-link svg { filter: drop-shadow(0 1px 2px rgb(6 15 26 / 85%)); }
.section-scroll-link:focus-visible { outline-color: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  html:has(#assembly-stage:target) { scroll-behavior: smooth; }
  .section-scroll-link path { transition: transform .18s ease; }
  .section-scroll-link:is(:hover, :focus-visible) path { transform: translateY(2px); }
}
@media (max-width: 1023px) {
  .section-scroll-link { bottom: max(32px, env(safe-area-inset-bottom)); }
}
@media (max-width: 46rem) {
  .home-page:has(.cookie-notice[open]:not([hidden])) { --notice-clearance: calc(max(14px, env(safe-area-inset-bottom)) + 12rem); }
  .home-page:has(.cookie-notice[open] #cookie-info:not([hidden])) { --notice-clearance: calc(max(14px, env(safe-area-inset-bottom)) + 17.5rem); }
  .section-scroll-link { bottom: var(--notice-clearance, max(32px, env(safe-area-inset-bottom))); }
}
@media (max-width: 32rem) {
  .home-page:has(.cookie-notice[open]:not([hidden])) .film-caption { bottom: var(--notice-clearance); }
}
@media (min-width: 27rem) and (max-width: 46rem) and (max-height: 26rem) {
  /* In short landscape viewports the expanded notice can reach the header. */
  .home-page:has(.cookie-notice[open] #cookie-info:not([hidden])) .section-scroll-link {
    left: max(50%, calc(max(14px, env(safe-area-inset-left)) + 360px));
    bottom: max(5.5rem, env(safe-area-inset-bottom));
  }
}

/* Scroll assembly */
.comp-2 {
  background: var(--assembly-paper, #fff);
  position: relative;
  z-index: 2;
  padding-block: clamp(12px, 2vw, 28px) clamp(20px, 3vw, 44px);
}
.comp-2-stage {
  position: relative;
  /* This full-screen sticky stage already allows for the header inside it. */
  scroll-margin-top: calc(-1 * (var(--header-height) + 16px));
  /* One viewport holds the sticky stage; the rest is the scroll from first to last frame. */
  height: 300svh;
}
.comp-2-stage.is-static {
  height: auto !important;
}
.comp-2-stage-inner {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: var(--assembly-lighting, none);
  padding-top: calc(var(--header-height) * 0.45);
}
.assembly-marquee {
  position: absolute;
  left: 50%; bottom: calc(50.364% - 100px); width: 100vw;
  transform: translateX(-50%);
  overflow: clip visible;
  pointer-events: none;
}
.assembly-marquee-track {
  display: flex;
  width: max-content;
  animation: assembly-marquee-scroll 40s linear infinite;
}
.assembly-marquee-track span {
  flex: none;
  min-width: 100vw;
  padding-inline-end: 80px;
  color: transparent;
  background: var(--assembly-lettering, linear-gradient(180deg, #f5f5f5, #dedede));
  -webkit-background-clip: text;
  background-clip: text;
  font: 700 336px/.8 var(--latin);
  letter-spacing: -.02em;
  white-space: nowrap;
}
@keyframes assembly-marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .assembly-marquee-track span { font-size: 240px; }
}
@media (max-width: 1023px) {
  .assembly-marquee { bottom: calc(50.364% - 31px); }
  .assembly-marquee-track span { font-size: 128px; padding-inline-end: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .assembly-marquee { bottom: 53%; }
  .assembly-marquee-track { width: 100%; animation: none; }
  .assembly-marquee-track span { width: 100%; padding: 0; font-size: min(11vw, 180px); text-align: center; }
  .assembly-marquee-track span + span { display: none; }
}
.comp-2-stage.is-static .comp-2-stage-inner {
  position: relative;
  height: auto;
  padding: 36px var(--page-gutter);
}
.comp-2-stage.is-static .comp-2-stage-inner, .no-js .comp-2-stage-inner { min-height: 100svh; }
.comp-2-media {
  position: relative;
  z-index: 1;
  --comp-2-seq-w: min(800px, 94vw);
  flex-shrink: 0;
  width: min(var(--comp-2-seq-w), 59svh);
  height: min(calc(var(--comp-2-seq-w) / 0.6277), 94svh);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.comp-2-stage.is-static .comp-2-media {
  width: min(560px, 92vw, 50svh);
  height: auto;
  aspect-ratio: 980 / 1561;
}
.comp-2-stage.is-ready .comp-2-media,
.comp-2-stage.is-static .comp-2-media {
  opacity: 1;
}
.comp-2-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 94.5%, rgb(0 0 0 / 55%) 97%, transparent);
  mask-image: linear-gradient(180deg, #000 94.5%, rgb(0 0 0 / 55%) 97%, transparent);
}
.comp-2-fallback {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.comp-2-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: clamp(28px, 4.5vw, 64px);
}
.comp-2-content .description {
  max-width: 44em;
  font-size: clamp(16.5px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: var(--assembly-ink, #132e42);
  text-wrap: balance;
}
.comp-2-button {
  margin-top: clamp(20px, 2.4vw, 32px);
  background: var(--module-bg);
  color: var(--assembly-ink, #132e42);
  border-color: var(--assembly-control-border, #adc8da);
}
@media (max-width: 1023px) {
  .comp-2-stage {
    height: 260svh;
  }
  .comp-2-media {
    --comp-2-seq-w: 96vw;
    width: min(var(--comp-2-seq-w), 58svh);
    height: min(calc(var(--comp-2-seq-w) / 0.6277), 92.4svh);
  }
}

.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  padding-block: .25em;
}
.link-arrow::after {
  content: "→" / "";
  font-family: var(--latin);
  color: var(--accent);
}
.link-arrow:is(:hover, :focus-visible) {
  color: var(--action-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
}
.inline-links { display: flex; flex-wrap: wrap; gap: 2px clamp(20px, 3vw, 48px); }
.inline-links .text-link { align-items: center; }

.home-page { --home-feature-inset: clamp(24px, 5.6vw, 130px); }
/* A viewport-sized layer also stays anchored on mobile browsers during touch scrolling. */
:root[data-theme] body.home-page { isolation: isolate; background: var(--paper); }
.home-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--handbook-paper);
}
.product-solutions {
  padding: clamp(80px, 8.5vw, 144px) var(--home-feature-inset) clamp(38px, 4vw, 76px);
}
.offering-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.offering-header h2 { font-size: clamp(32px, 3.6vw, 68px); }
.offering-feature {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.8fr);
  align-items: center; gap: 2vw; margin-block: clamp(14px, 1.1vw, 24px) clamp(38px, 4.6vw, 86px);
}
.offering-category { color: var(--accent); font-size: clamp(15px, 1.35vw, 24px); font-weight: 600; }
.offering-intro h3 {
  margin-block: .23em .42em; font: 600 clamp(38px, 4vw, 76px)/1.15 var(--display);
  letter-spacing: -.035em;
}
.offering-description { max-width: 22em; color: var(--ink); font-size: clamp(16px, 1.32vw, 23px); }
.offering-actions, .offering-related { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(14px, 1.7vw, 32px); }
.offering-actions { margin-top: clamp(12px, 1.75vw, 30px); }
.offering-primary { align-items: center; min-height: 44px; font-size: clamp(16px, 1.35vw, 23px); font-weight: 600; color: var(--accent); }
.offering-actions .text-link, .offering-related .text-link { color: var(--muted); }
.offering-actions .text-link:is(:hover, :focus-visible), .offering-related .text-link:is(:hover, :focus-visible) {
  color: var(--action-hover); text-decoration: underline; text-underline-offset: .22em;
}

.offering-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 56px); }
.offering-secondary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(12px, 1.4vw, 26px); }
.offering-secondary picture { align-self: center; }
.offering-secondary > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.offering-secondary picture img { width: 100%; height: clamp(80px, 7.5vw, 145px); object-fit: contain; }
.offering-secondary h3 { font-size: clamp(18px, 1.35vw, 26px); line-height: 1.35; }
.offering-secondary h3 a { align-items: center; min-height: 44px; }
.offering-detail { font-size: clamp(14px, 1vw, 17px); line-height: 1.55; color: var(--muted); }
.offering-related { margin-top: auto; }
.offering-related .text-link { font-size: 14px; }

.resources-band { width: auto; margin-inline: var(--home-feature-inset); }
.resource-list { justify-content: flex-end; }
.about-feature {
  --about-ink: light-dark(#132031, #edf5fc);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 80px);
  min-height: 100vh;
  min-height: 100dvh;
  scroll-margin-top: calc(-1 * (var(--header-height) + 16px));
  padding-block: max(calc(var(--header-height) + 16px), 12vh) max(5vh, 24px, env(safe-area-inset-bottom));
  overflow: clip;
  color: var(--about-ink);
}
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  object-fit: cover;
  object-position: right center;
  --photo-reveal: linear-gradient(90deg, transparent 22%, #0003 50%, #000 83%);
  mask-image: var(--photo-reveal), linear-gradient(180deg, transparent, black 12%, black 68%, transparent 96%);
  mask-composite: intersect;
}
:root[data-theme="navy"] .about-photo { filter: brightness(.68) saturate(.78); }
.about-content { padding-inline: var(--home-feature-inset); }
.about-content h2 {
  font: 600 clamp(12px, 1.18vw, 19px)/1.4 var(--body);
  letter-spacing: .01em;
}
.about-headline {
  width: fit-content;
  margin-block: clamp(26px, 4vw, 70px) 0;
  padding-bottom: .63em;
  font: 600 clamp(38px, 4.75vw, 88px)/1.18 var(--display);
  letter-spacing: -.025em;
}
.about-summary, .about-facts { display: flex; align-items: flex-start; }
.about-summary { margin-top: clamp(23px, 3.5vw, 62px); }
.about-facts > div {
  display: flex; flex-direction: column-reverse; gap: 5px;
  padding-right: clamp(18px, 3.8vw, 68px);
}
.about-facts > div + div, .about-profile { padding-left: clamp(18px, 3.8vw, 68px); }
.about-facts dd { font: 600 clamp(33px, 4.4vw, 80px)/1 var(--latin); letter-spacing: -.05em; white-space: nowrap; }
.about-facts dd span { margin-inline-start: .25em; font: 500 .45em/1 var(--body); letter-spacing: 0; }
.about-facts dt { font-size: clamp(13px, 1.4vw, 21px); line-height: 1.45; }
.about-profile p { max-width: 16em; font-size: clamp(13px, 1.25vw, 19px); line-height: 1.6; }
.about-more { gap: .8em; align-items: center; min-height: 44px; margin-top: .4em; font-size: clamp(14px, 1.2vw, 18px); font-weight: 600; }
.about-more::after { color: inherit; }

.partner-marquee {
  position: relative;
  padding-inline: max(12px, calc(var(--home-feature-inset) / 2));
  color: light-dark(#536e87, #bfd2e5);
}
.partner-filter { position: absolute; width: 0; height: 0; }
.partner-viewport { overflow: hidden; }
.partner-track, .partner-group { display: flex; align-items: center; width: max-content; }
.partner-track { animation: partner-scroll 64s linear infinite; }
.partner-group { flex: none; min-width: 100vw; justify-content: space-around; }
.partner-group li {
  display: flex; align-items: center; justify-content: center;
  width: clamp(126px, 15.5vw, 300px);
  height: clamp(54px, 6.3vw, 106px);
  overflow: hidden;
}
/* The source logos have square white mats. Keep their original shapes in one theme-aware ink. */
.partner-group img {
  width: clamp(96px, 11vw, 205px);
  height: auto;
  filter: url(#partner-monochrome);
}
.partner-group .partner-compact img { width: clamp(64px, 7.8vw, 132px); }
@keyframes partner-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; }
  .partner-group[aria-hidden="true"] { display: none; }
  .partner-viewport { overflow-x: auto; }
}

@media (max-width: 680px) {
  .about-feature { gap: clamp(28px, 6vh, 54px); }
  .about-content { margin-block: auto; }
  .about-photo {
    object-position: 64% center;
    --photo-reveal: linear-gradient(90deg, transparent, #0002 46%, #0008 78%, #000d);
  }
  .about-headline { font-size: clamp(28px, 7.7vw, 47px); margin-top: clamp(46px, 12vw, 70px); }
  .about-summary { flex-wrap: wrap; gap: 20px 0; }
  .about-facts > div { padding-right: 24px; }
  .about-facts > div + div, .about-profile { padding-left: 24px; }
  .about-facts dd { font-size: clamp(34px, 7.4vw, 46px); }
}
@media (max-width: 520px) {
  .about-facts > div:last-child { padding-right: 0; }
  .about-profile { width: 100%; padding-left: 0; }
  .about-profile p { max-width: 21em; }
  .about-more { margin-top: 0; }
}
@media (orientation: landscape) and (max-height: 540px) {
  .about-feature { gap: 14px; padding-block: calc(var(--header-height) + 10px) max(12px, env(safe-area-inset-bottom)); }
  .about-headline { margin-top: 12px; padding-bottom: 0; font-size: clamp(28px, 8vh, 42px); }
  .about-summary { margin-top: 14px; }
  .about-facts dd { font-size: clamp(26px, 7.5vh, 40px); }
  .about-more { margin-top: 0; }
}

@media (max-width: 1199px) {
  .offering-secondary { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; }
  .offering-secondary picture img { width: auto; max-width: 100%; height: clamp(78px, 10vw, 112px); }
}
@media (max-width: 980px) {
  .offering-feature { grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr); }
}
@media (max-width: 760px) {
  .product-solutions { padding-block: 66px 32px; }
  .offering-header h2 { font-size: clamp(26px, 5.5vw, 36px); }
  .offering-header .text-link { font-size: 14px; white-space: nowrap; }
  .offering-feature { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-block: 18px 34px; }
  .offering-intro h3 { font-size: clamp(36px, 7vw, 48px); }
  .offering-description { max-width: 26em; }
  .offering-actions { margin-top: 8px; }
  .resource-list { justify-content: flex-start; }
}
@media (max-width: 679px) {
  .offering-row {
    grid-template-columns: repeat(3, min(78vw, 280px)); gap: 20px;
    margin-inline: calc(0px - var(--home-feature-inset));
    padding: 4px var(--home-feature-inset) 10px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--home-feature-inset);
  }
  .offering-secondary { scroll-snap-align: start; }
}
