/* The home page: nine acts on the scroll engine (public/film/scrollcraft.css) plus the chromatogram rail.
   Everything is scoped under html[data-page="/"] or .home so the engine's global reset and its
   --sc-* tokens only theme this page. Motion: transform, opacity and clip-path only. */

html[data-page="/"] {
  --sc-canvas: #0b0d24;
  --sc-surface: #14173d;
  --sc-ink: #f4f5f9;
  --sc-ink-soft: #a9add2;
  --sc-accent: #4a4dc0;
  --sc-accent-ink: #ffffff;
  --sc-font-display: var(--font-display);
  --sc-font-text: var(--font-text);
  --sc-font-mono: var(--font-mono);
  --sc-gutter: clamp(20px, 5vw, 80px);
  --sc-maxw: 82rem;
}
html[data-page="/"] body {
  background: #0b0d24;
  color: var(--p-ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.6;
  letter-spacing: 0;
}
html[data-page="/"] main { padding: 0; }
.home { background: #0b0d24; overflow-x: clip; }
.home [id] { scroll-margin-top: 0; }
.home h1, .home h2, .home h3 { font-family: var(--font-display); font-weight: 600; margin: 0; text-wrap: balance; }
.home h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: var(--display-tracking); }
.home p { text-wrap: pretty; }
.h-wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }
.home .link { color: var(--p-accent); font-weight: 600; }
.home .link--onDark { color: #fff; }

/* show the copy if the engine never loads */
html.sc-fallback .home [data-sc-cue],
html.sc-fallback .home [data-sc-in],
html.sc-fallback .home [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; }
html.sc-fallback .home .h-promise__line { grid-area: auto; margin-bottom: 24px; }

/* ================================================================ 1 the film */
.h-hero { background: #0b0d24; color: #fff; }
.h-hero__pic { display: contents; }
.h-hero__copy {
  position: absolute; z-index: 20; left: var(--sc-gutter); bottom: clamp(9rem, 19vh, 12rem);
  width: min(54rem, calc(100% - 2 * var(--sc-gutter)));
}
/* a local scrim, only behind the text block */
.h-hero__copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -5rem -9rem -3.5rem calc(-1 * var(--sc-gutter));
  background: radial-gradient(ellipse 62% 66% at 36% 58%, rgba(8, 9, 28, 0.82) 0%, rgba(8, 9, 28, 0.62) 48%, rgba(8, 9, 28, 0) 100%);
}
.h-hero__h1 { font-size: clamp(2.05rem, 1.1rem + 3.3vw, 4.4rem); line-height: 1.03; letter-spacing: -0.04em; color: #fff; max-width: 17em; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vh, 34px); }
.h-hero .btn { height: 48px; }
.home .h-hero .btn.btn--secondary { color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.55) !important; background: rgba(8, 9, 28, 0.35) !important; }
.home .h-hero .btn.btn--secondary:hover { background: rgba(255, 255, 255, 0.12) !important; border-color: #fff !important; }

/* the fact strip: glass, along the bottom of the stage, above the fixed chromatogram rail (44px) */
.h-facts {
  position: absolute; z-index: 20; margin: 0; right: var(--sc-gutter); bottom: calc(44px + 16px);
  display: flex; align-items: stretch;
  background: rgba(11, 13, 36, 0.5); border: 1px solid rgba(244, 245, 249, 0.16); border-radius: 12px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.h-facts > div { padding: 12px 22px; display: grid; gap: 4px; align-content: center; }
.h-facts > div + div { border-left: 1px solid rgba(244, 245, 249, 0.14); }
.h-facts dt { font: 500 10px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-inv-muted); }
.h-facts dd { margin: 0; font: 600 clamp(1.25rem, 1rem + 0.8vw, 1.75rem)/1.05 var(--font-display); letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.h-facts__where dd { font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem); line-height: 1.25; max-width: 11em; padding-top: 2px; }
.h-facts__scroll dd { height: 28px; display: flex; align-items: flex-end; }
.h-facts__scroll i { display: block; width: 1px; height: 28px; background: var(--indigo-on-dark); transform-origin: top; animation: h-scrollcue 2.2s var(--ease-premium) infinite; }
@keyframes h-scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .h-facts__scroll i { animation: none; } }
@media (max-width: 1100px) { .h-facts > div { padding: 12px 16px; } }
@media (max-width: 860px) {
  .h-facts { left: var(--sc-gutter); right: var(--sc-gutter); display: grid; grid-template-columns: 1fr 1fr; }
  .h-facts > div { padding: 10px 14px; }
  .h-facts > div + div { border-left: 0; }
  .h-facts > div:nth-child(even) { border-left: 1px solid rgba(244, 245, 249, 0.14); }
  .h-facts > div:nth-child(n + 3) { border-top: 1px solid rgba(244, 245, 249, 0.14); }
  .h-facts__scroll { display: none !important; }
  .h-facts__where dd { max-width: none; }
  .h-hero__copy { bottom: clamp(11rem, 25vh, 14rem); }
  .h-hero__copy::before { inset: -6rem calc(-1 * var(--sc-gutter)) -3.5rem calc(-1 * var(--sc-gutter)); background: linear-gradient(to top, rgba(8, 9, 28, 0.9) 0%, rgba(8, 9, 28, 0.72) 55%, rgba(8, 9, 28, 0) 100%); }
}
@media (max-width: 700px) { .h-hero__h1 { font-size: clamp(1.95rem, 8.4vw, 2.3rem); line-height: 1.06; } }

/* ================================================================ 2 the rail */
.h-range { background: var(--p-bg); color: var(--p-ink); }
.h-range__stage { display: flex; align-items: center; background: var(--p-bg); }
.h-range__rail { flex: none; align-items: center; gap: clamp(24px, 3vw, 48px); padding: 56px var(--sc-gutter) 64px; }
.h-range__intro { flex: none; width: clamp(19rem, 34vw, 32rem); display: grid; gap: 16px; align-self: center; justify-items: start; }
.h-range__intro h2 { font-size: clamp(34px, 3.6vw, 60px); line-height: 1.04; }
.h-range__intro p { margin: 0; color: var(--p-muted); font-size: var(--t-lead); line-height: 1.5; }
.h-range__end { flex: none; width: clamp(16rem, 24vw, 21rem); display: grid; gap: 20px; justify-items: start; }
.h-range__end p { margin: 0; color: var(--p-muted); font-size: var(--t-lead); line-height: 1.5; }
.h-item { flex: none; width: clamp(15rem, 20vw, 18.5rem); display: grid; gap: 18px; align-content: start; color: var(--p-ink); text-decoration: none; }
.h-item__plate { position: relative; display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-plate); overflow: hidden; }
.h-item__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-premium); }
.h-item__plate img.is-cutout { object-fit: contain; padding: 9%; }
/* hover language: picture 1.03, frame lights, name underline draws, arrow slides in */
.h-item__plate::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--p-accent); opacity: 0; transition: opacity 420ms var(--ease-premium); pointer-events: none; }
.h-item__top { display: flex; justify-content: space-between; align-items: center; }
.h-item__idx { font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; color: var(--p-muted); }
.h-item__go { width: 16px; height: 16px; color: var(--p-accent); opacity: 0; transform: translate3d(-10px, 0, 0); transition: transform 420ms var(--ease-premium), opacity 320ms var(--ease-premium); }
.h-item__go .m-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.h-item__name > span { position: relative; display: inline; }
.h-item__name::after { content: ""; display: block; height: 1px; width: 100%; margin-top: 6px; background: var(--p-accent); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease-premium); }
.h-item:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 6px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  .h-item:hover .h-item__plate img { transform: scale(1.03); }
  .h-item:hover .h-item__plate::after { opacity: 1; }
  .h-item:hover .h-item__go { opacity: 1; transform: none; }
  .h-item:hover .h-item__name::after { transform: scaleX(1); }
}
.h-item:focus-visible .h-item__plate img { transform: scale(1.03); }
.h-item:focus-visible .h-item__plate::after { opacity: 1; }
.h-item:focus-visible .h-item__go { opacity: 1; transform: none; }
.h-item:focus-visible .h-item__name::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .h-item__plate img, .h-item__go, .h-item__name::after, .h-item__plate::after { transition: none; } }
.h-item__label { display: grid; gap: 8px; padding-top: 2px; border-top: 1px solid var(--hairline-strong); padding-top: 14px; }
.h-item__name { font: 600 var(--t-card)/1.25 var(--font-display); letter-spacing: -0.02em; }
.h-item__row { display: grid; grid-template-columns: 4.6rem 1fr; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--p-ink); }
.h-item__k { font: 500 10px/1.9 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--p-muted); }
@media (prefers-reduced-motion: no-preference) {
  .h-item { --s: clamp(0, calc(var(--sc-p, 1) * 10 - (var(--i, 1) - 1) * 0.8), 1); opacity: calc(0.55 + 0.45 * var(--s)); transform: translate3d(0, calc((1 - var(--s)) * 16px), 0); }
  .h-item:nth-child(2) { --s: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .h-range__stage { align-items: center; }
  .h-range__rail { overflow: visible; }
}
@media (max-width: 700px) {
  .h-item { width: 68vw; }
  .h-range__intro { width: 78vw; }
  .h-range__end { width: 72vw; }
}

/* ================================================================ 3 the promise */
.h-promise { background: #0b0d24; color: #fff; }
.h-promise__stage { background: #0b0d24; }
.h-promise__img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none; object-fit: cover; object-position: 30% 50%; }
.h-promise__col { position: absolute; z-index: 5; right: var(--sc-gutter); top: 0; bottom: 0; width: min(33rem, 42vw); display: grid; align-items: center; }
.h-promise__col::before {
  content: ""; position: absolute; z-index: -1; inset: 12% -6rem 12% -5rem; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8, 9, 28, 0.7), rgba(8, 9, 28, 0) 100%);
}
.h-promise__line { grid-area: 1 / 1; align-self: center; margin: 0; font: 600 clamp(1.5rem, 1rem + 1.5vw, 2.3rem)/1.14 var(--font-display); letter-spacing: -0.03em; color: #fff; }
.h-promise__line--lead { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.04em; }
.h-promise__line p { margin: 0 0 22px; }
.h-promise__line .link { font: 600 1rem/1.4 var(--font-text); letter-spacing: 0; }
@media (max-width: 860px) {
  .h-promise__col { top: auto; bottom: 0; left: var(--sc-gutter); right: var(--sc-gutter); width: auto; height: 62%; align-items: end; padding-bottom: 12vh; }
  .h-promise__col::before { inset: -4rem calc(-1 * var(--sc-gutter)) 0; background: linear-gradient(to top, rgba(8, 9, 28, 0.9), rgba(8, 9, 28, 0.55) 70%, rgba(8, 9, 28, 0)); }
  .h-promise__line { align-self: end; }
}


/* ================================================================ shared: eyebrow, spectrum hairline, big h2 */
.h-eyebrow { margin: 0 0 14px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-muted); display: flex; align-items: center; gap: 12px; }
.h-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.h-eyebrow--dark { color: var(--p-inv-muted); }
.home .h-services h2, .home .h-sectors h2, .home .h-partners h2, .home .h-verify h2, .home .h-journal h2 { font-size: clamp(34px, 3.6vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }
.h-partners, .h-verify { position: relative; }
.h-partners::before, .h-verify::before {
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--indigo-on-dark), var(--signal-on-dark), transparent);
}

/* ================================================================ 4 services: interactive index (white ground) */
.h-services { background: #fff; color: var(--p-ink); padding-block: var(--section-y); }
.h-services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.h-services__intro { position: sticky; top: calc(var(--nav, 72px) + 24px); display: grid; gap: clamp(20px, 3vh, 32px); }
.h-services__copy { display: grid; gap: 16px; justify-items: start; }
.h-services__copy .h-eyebrow { margin-bottom: 0; }
.h-services__copy p { margin: 0; color: var(--p-muted); font-size: var(--t-lead); line-height: 1.5; max-width: 40ch; }
.h-services__plate {
  position: relative; aspect-ratio: 4 / 5; width: min(100%, calc((100svh - 470px) * 0.8)); min-width: min(100%, 260px);
  border-radius: var(--radius-card); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-2);
}
.h-services__pic { position: absolute; inset: 0; display: block; clip-path: inset(100% 0 0 0); transition: clip-path 700ms var(--ease-premium); }
.h-services__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-services__pic.was { clip-path: inset(0); z-index: 1; transition: none; }
.h-services__pic.is-active { clip-path: inset(0); z-index: 2; }
.h-services__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hairline-strong); }
.h-srow { position: relative; border-top: 1px solid var(--hairline-strong); overflow: hidden; }
.h-srow::before { content: ""; position: absolute; inset: 0; background: var(--paper); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-premium); }
.h-srow a { position: relative; display: grid; grid-template-columns: clamp(3.2rem, 5vw, 5rem) minmax(0, 1fr) auto; gap: 4px clamp(12px, 2vw, 28px); align-items: center; padding: clamp(22px, 2.6vw, 36px) clamp(4px, 1vw, 16px); color: inherit; text-decoration: none; }
.h-srow__thumb { display: none; }
.h-srow__num { font: 500 clamp(1.4rem, 1rem + 1.4vw, 2.2rem)/1 var(--font-mono); letter-spacing: -0.02em; color: var(--p-muted); transition: color 400ms var(--ease-premium); }
.h-srow__body { display: grid; gap: 8px; transition: transform 500ms var(--ease-premium); }
.h-srow__name { font: 600 clamp(1.5rem, 1rem + 1.5vw, 2.5rem)/1.08 var(--font-display); letter-spacing: -0.035em; }
.h-srow__desc { color: var(--p-muted); font-size: 15.5px; line-height: 1.5; max-width: 52ch; }
.h-srow__arrow { width: 22px; color: var(--p-accent); transition: transform 500ms var(--ease-premium), color 300ms; }
.h-srow__arrow .m-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.h-srow.is-active::before { transform: scaleX(1); }
.h-srow.is-active .h-srow__num { color: var(--signal); }
.h-srow.is-active .h-srow__body { transform: translate3d(8px, 0, 0); }
.h-srow.is-active .h-srow__arrow { transform: translate3d(10px, 0, 0); }
.h-srow a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: -4px; }
@media (max-width: 860px) {
  .h-services__grid { grid-template-columns: 1fr; }
  .h-services__intro { position: static; }
  .h-services__plate { display: none; }
}
@media (max-width: 768px) {
  .h-srow a { grid-template-columns: 4.2rem minmax(0, 1fr) auto; }
  .h-srow__thumb { display: block; grid-column: 1; grid-row: 1; width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
  .h-srow__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .h-srow__num { display: none; }
  .h-srow.is-active .h-srow__body { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-services__pic, .h-srow::before, .h-srow__body, .h-srow__arrow, .h-srow__num { transition: none; }
}

/* ================================================================ 5 industries (paper ground) */
.h-sectors { background: var(--p-bg); color: var(--p-ink); padding-block: var(--section-y); }
.h-sectors__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 48px); }
.h-mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 1.8vw, 28px); }
.h-mosaic__tile { grid-column: span 4; display: grid; gap: 6px; align-content: start; color: inherit; text-decoration: none; }
.h-mosaic__tile--1 { grid-column: span 7; }
.h-mosaic__tile--2 { grid-column: span 5; }
.h-mosaic__media { position: relative; display: block; height: clamp(200px, 19vw, 290px); overflow: hidden; border-radius: var(--radius-plate); background: var(--paper-2); margin-bottom: 8px; }
.h-mosaic__tile--1 .h-mosaic__media, .h-mosaic__tile--2 .h-mosaic__media { height: clamp(240px, 28vw, 420px); }
.h-mosaic__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-premium); }
.h-mosaic__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(244, 245, 249, 0.7); opacity: 0; transition: opacity 420ms var(--ease-premium); pointer-events: none; }
.h-mosaic__scrim {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  padding: 56px 18px 16px; color: #fff; font: 600 var(--t-h3)/1.2 var(--font-display); letter-spacing: -0.02em;
  background: linear-gradient(to top, rgba(11, 13, 36, 0.92), rgba(11, 13, 36, 0.55) 55%, rgba(11, 13, 36, 0));
  transform: translate3d(0, 101%, 0); transition: transform 520ms var(--ease-premium);
}
.h-mosaic__scrim .m-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }
.h-mosaic__name { font: 600 var(--t-h3)/1.2 var(--font-display); letter-spacing: -0.02em; }
.h-mosaic__line { color: var(--p-muted); font-size: 15px; line-height: 1.5; max-width: 46ch; }
.h-mosaic__tile:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 6px; border-radius: 6px; }
.h-mosaic__tile:focus-visible .h-mosaic__media img { transform: scale(1.03); }
.h-mosaic__tile:focus-visible .h-mosaic__media::after { opacity: 1; }
.h-mosaic__tile:focus-visible .h-mosaic__scrim { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .h-mosaic__tile:hover .h-mosaic__media img { transform: scale(1.03); }
  .h-mosaic__tile:hover .h-mosaic__media::after { opacity: 1; }
  .h-mosaic__tile:hover .h-mosaic__scrim { transform: none; }
}
.h-sectors__rest { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: clamp(20px, 2.4vw, 28px) 0 0; display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--hairline-strong); }
.h-sectors__rest a { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; overflow: hidden; border: 1px solid var(--hairline-strong); border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--p-ink); text-decoration: none; background: #fff; transition: color 300ms var(--ease-premium), border-color 300ms; }
.h-sectors__rest a::before { content: ""; position: absolute; inset: 0; background: var(--p-ink); transform: translate3d(0, 101%, 0); transition: transform 420ms var(--ease-premium); }
.h-sectors__rest a > span { position: relative; }
.h-sectors__rest a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; color: #fff; }
.h-sectors__rest a:focus-visible::before { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .h-sectors__rest a:hover { color: #fff; border-color: var(--p-ink); }
  .h-sectors__rest a:hover::before { transform: none; }
}
@media (max-width: 760px) {
  .h-mosaic__tile, .h-mosaic__tile--1, .h-mosaic__tile--2 { grid-column: span 12; }
  .h-mosaic__media, .h-mosaic__tile--1 .h-mosaic__media, .h-mosaic__tile--2 .h-mosaic__media { height: 220px; }
  .h-mosaic__scrim { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .h-mosaic__media img, .h-mosaic__media::after, .h-mosaic__scrim, .h-sectors__rest a::before { transition: none; }
}

/* ================================================================ 6 partners: the navy wall */
.h-partners { background: var(--p-inv-bg); color: var(--p-inv-ink); padding-block: var(--section-y); }
.h-partners__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 56px); max-width: 56rem; }
.h-partners__head .h-eyebrow { margin-bottom: 0; }
.h-partners__head h2 { color: #fff; }
.h-partners__head p { margin: 0; color: var(--p-inv-muted); font-size: var(--t-lead); }
.h-partners__head [data-sc-count], .h-partners__head p [data-sc-count] { font-variant-numeric: tabular-nums; }
.h-partners__head p [data-sc-count] { color: #fff; font-weight: 600; }
.h-wall { list-style: none; margin: 0 0 clamp(24px, 3vw, 40px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.h-wall li { border-top: 1px solid var(--hairline-dark); transition: opacity 400ms var(--ease-premium); }
.h-wall a { display: grid; gap: 8px; padding: clamp(18px, 2vw, 28px) 0; color: inherit; text-decoration: none; }
.h-wall__name { font: 600 clamp(2rem, 1.3rem + 1.6vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -0.04em; color: #dfe2f2; transition: transform 500ms var(--ease-premium), color 300ms; }
.h-wall__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--p-inv-muted); }
.h-wall__meta b { font-weight: 500; color: var(--indigo-on-dark); }
.h-wall a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.h-wall.has-active li:not(.is-active) { opacity: 0.35; }
.h-wall li.is-active .h-wall__name { color: #fff; transform: translate3d(8px, 0, 0); }
.h-float { display: none; }
@media (hover: hover) and (pointer: fine) {
  .h-float { display: block; position: fixed; left: 0; top: 0; z-index: 60; width: 280px; height: 200px; pointer-events: none; will-change: transform; }
  .h-float__in {
    width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 6px; padding: 14px 14px 10px; background: #fff; border-radius: 14px;
    box-shadow: 0 2px 6px rgba(11, 13, 36, 0.12), 0 28px 60px -18px rgba(11, 13, 36, 0.55);
    opacity: 0; transform: scale(0.92); transition: opacity 320ms var(--ease-premium), transform 520ms var(--ease-premium);
  }
  .h-float.is-on .h-float__in { opacity: 1; transform: none; }
  .h-float img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }
  .h-float span { font: 500 10px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 900px) { .h-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .h-wall { grid-template-columns: 1fr; } .h-wall__name { font-size: 2rem; } }
@media (prefers-reduced-motion: reduce) {
  .h-wall li, .h-wall__name, .h-float__in { transition: none; }
}

/* ================================================================ 7 verify: navy with the weights behind */
.h-verify { color: #f4f5f9; background: var(--p-inv-bg); padding-block: var(--section-y); overflow: hidden; isolation: isolate; }
.h-verify__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: 0.5; max-width: none; }
.h-verify::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 13, 36, 0.94) 0%, rgba(11, 13, 36, 0.78) 50%, rgba(11, 13, 36, 0.55) 100%); }
.h-verify__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.h-verify__col { display: grid; gap: 18px; justify-items: start; }
.h-verify__col .h-eyebrow { margin-bottom: 0; }
.h-verify__col > form, .h-verify__col > div { justify-self: stretch; }
.h-verify__col h2 { color: #fff; }
.h-verify__col > p { margin: 0; color: var(--p-inv-muted); font-size: var(--t-lead); line-height: 1.5; max-width: 52ch; }
/* the certificate card: glass frame, scan line, live dot (styled from outside) */
.h-verify__card {
  position: relative; min-width: 0; padding: clamp(10px, 1.2vw, 16px); border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(244, 245, 249, 0.2); background: rgba(244, 245, 249, 0.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(141, 145, 238, 0.08), 0 30px 80px -30px rgba(141, 145, 238, 0.4);
}
.h-verify__card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--indigo-on-dark), var(--signal-on-dark), transparent) top / 100% 1px no-repeat;
  transform: translate3d(0, -100%, 0);
}
.h-verify__card .cert__status--valid::before { animation: h-pulse 2.6s ease-in-out infinite; }
@keyframes h-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
@keyframes h-scan { 0% { opacity: 1; transform: translate3d(0, -100%, 0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translate3d(0, 0, 0); } }
@media (hover: hover) and (pointer: fine) {
  .h-verify__card:hover::after { animation: h-scan 1.4s var(--ease-premium) 1 both; }
}
@media (max-width: 900px) { .h-verify__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .h-verify__card .cert__status--valid::before { animation: none; }
  .h-verify__card:hover::after { animation: none; }
}

/* ================================================================ journal (white ground) */
.h-journal { background: #fff; color: var(--p-ink); padding-block: var(--section-y); }
.h-journal__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.h-lead { display: grid; gap: 20px; align-content: start; color: inherit; text-decoration: none; }
.h-lead__media, .h-jrow__media { display: block; overflow: hidden; border-radius: var(--radius-plate); background: var(--paper-2); }
.h-lead__media { aspect-ratio: 16 / 10; }
.h-lead__media img, .h-jrow__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease-premium); }
.h-lead__body { display: grid; gap: 12px; }
.h-jmeta { font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--p-muted); }
.h-lead__title { position: relative; display: block; padding-bottom: 12px; font: 600 clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.h-jrow__title { position: relative; display: block; padding-bottom: 8px; font: 600 var(--t-card)/1.3 var(--font-display); letter-spacing: -0.02em; }
.h-lead__title::after, .h-jrow__title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--p-accent); transform: scaleX(0); transform-origin: left; transition: transform 520ms var(--ease-premium); }
.h-jgo { width: 20px; height: 20px; color: var(--p-accent); transition: transform 420ms var(--ease-premium); }
.h-jgo .m-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.h-journal__rows { display: grid; border-bottom: 1px solid var(--hairline-strong); }
.h-jrow { display: grid; grid-template-columns: clamp(84px, 9vw, 120px) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--hairline-strong); color: inherit; text-decoration: none; }
.h-jrow__media { aspect-ratio: 4 / 3; }
.h-jrow__body { display: grid; gap: 6px; }
.h-lead:focus-visible, .h-jrow:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 6px; border-radius: 4px; }
.h-lead:focus-visible img, .h-jrow:focus-visible img { transform: scale(1.03); }
.h-lead:focus-visible .h-lead__title::after, .h-jrow:focus-visible .h-jrow__title::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .h-lead:hover img, .h-jrow:hover img { transform: scale(1.03); }
  .h-lead:hover .h-lead__title::after, .h-jrow:hover .h-jrow__title::after { transform: scaleX(1); }
  .h-lead:hover .h-jgo, .h-jrow:hover .h-jgo { transform: translate3d(6px, 0, 0); }
}
.h-idx { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--hairline-strong); font-size: 14px; }
.h-idx span { font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--p-muted); margin-right: 8px; }
.h-idx a { position: relative; overflow: hidden; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--hairline-strong); border-radius: 999px; color: var(--p-ink); text-decoration: none; transition: color 300ms var(--ease-premium), border-color 300ms, background-color 300ms; }
.h-idx a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .h-idx a:hover { background: var(--p-ink); border-color: var(--p-ink); color: #fff; }
}
@media (max-width: 900px) { .h-journal__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .h-lead__media img, .h-jrow__media img, .h-lead__title::after, .h-jrow__title::after, .h-jgo, .h-idx a { transition: none; }
}

/* ================================================================ 8 close: the night lab */
.h-close { background: var(--p-inv-bg); color: #f4f5f9; }
.h-close__stage { position: relative; background: var(--p-inv-bg); display: grid; align-items: center; overflow: hidden; }
.h-close__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; }
.h-close__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(11, 13, 36, 0.96) 0%, rgba(11, 13, 36, 0.82) 38%, rgba(11, 13, 36, 0.3) 72%, rgba(11, 13, 36, 0.15) 100%); }
.h-close__inner { position: relative; z-index: 2; display: grid; gap: 20px; justify-items: start; padding-top: 56px; padding-bottom: 64px; }
.h-close__inner .h-eyebrow { margin-bottom: 0; }
.h-close h2 { font-size: clamp(2.4rem, 1rem + 5vw, 6.5rem); line-height: 0.98; letter-spacing: -0.05em; color: #fff; max-width: 12em; }
.h-close__inner > p { margin: 0; color: #cdd0ea; font-size: var(--t-lead); max-width: 48ch; line-height: 1.5; }
.h-close .h-close__cta { height: 60px; padding-inline: 32px; font-size: 17px; margin-top: 4px; }
.h-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: clamp(16px, 3vh, 36px); }
.h-offices > div {
  padding: 18px 20px 20px; border: 1px solid rgba(244, 245, 249, 0.16); border-radius: 14px; background: rgba(11, 13, 36, 0.5);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform 400ms var(--ease-premium), border-color 400ms var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .h-offices > div:hover { transform: translate3d(0, -2px, 0); border-color: rgba(244, 245, 249, 0.42); }
}
.h-offices > div:focus-within { border-color: rgba(244, 245, 249, 0.42); }
.h-offices h3 { font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--p-inv-muted); margin-bottom: 10px; }
.h-offices address { font-style: normal; color: #dfe2f2; line-height: 1.55; font-size: 15px; }
.h-offices address a { color: #dfe2f2; }
.h-offices p { display: flex; gap: 6px 18px; flex-wrap: wrap; margin: 10px 0 0; font-size: 14.5px; }
@media (max-width: 860px) {
  .h-close__stage::after { background: linear-gradient(to top, rgba(11, 13, 36, 0.96) 0%, rgba(11, 13, 36, 0.8) 55%, rgba(11, 13, 36, 0.55) 100%); }
}
@media (max-width: 760px) {
  .h-offices { grid-template-columns: 1fr; gap: 12px; }
  .h-close__inner { padding-top: 76px; padding-bottom: 76px; gap: 14px; }
  .h-close__stage { align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .h-offices > div { transition: none; } }


/* ================================================================ the chromatogram rail */
.trace {
  position: fixed; left: 0; right: 0; bottom: 0; height: 44px; z-index: 45;
  background: rgba(11, 13, 36, 0.94); border-top: 1px solid rgba(244, 245, 249, 0.1);
}
.trace__svg { display: block; max-width: none; }
.trace__axis { stroke: rgba(141, 145, 238, 0.28); stroke-width: 1; }
.trace__line { stroke: var(--indigo-on-dark); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.trace__peak { stroke: none; }
.trace__peak.is-current { stroke: var(--signal-on-dark); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.trace__a { cursor: pointer; outline: none; }
.trace__a:focus-visible rect { stroke: #fff; stroke-width: 1.5; fill: rgba(255, 255, 255, 0.08); }
.trace__a:hover rect { fill: rgba(255, 255, 255, 0.05); }
.trace__lbl { font: 500 9px var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; fill: #a9add2; pointer-events: none; }
.trace__lbl.is-current { fill: #fff; }
@media (max-width: 700px) { .trace__lbl:not(.is-current) { display: none; } }
@media (prefers-reduced-motion: reduce) { .trace__line { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; } }

/* the shared id washes in site-premium.css must not tint the home acts */
.home #range, .home #industries { background: var(--p-bg); background-size: auto; }
.home #services, .home #journal { background: #fff; background-size: auto; }
.home #partners, .home #verify { background: var(--p-inv-bg); background-size: auto; }
.home #film, .home #promise, .home #contact { background: #0b0d24; }
/* a staggered parent must not fade twice: its children do the work */
.home [data-sc-stagger][data-sc-in] { opacity: 1; transform: none; transition: none; }
html[data-page="/"] .closing__links { margin-top: 0; }

/* review fixes */
.home #promise { margin-top: -28svh; }
.h-mosaic__media--1 img { object-position: 50% 18%; }
@media (min-width: 861px) { .h-promise__col { padding-bottom: 24vh; } }
.h-promise__img { object-position: 30% 50%; }

/* real photo hero: the photo is bright, so it is dimmed and graded to keep white text readable */
/* hero photo show: frames are stacked, crossfaded and pushed in by one CSS loop (transform + opacity only).
   6 frames x 6 s = 36 s; each frame fades in over 1.2 s (3.333%), holds, and is covered by the next at 20%. */
.h-hero__show { display: contents; }
.h-hero__slides { position: absolute; inset: 0; z-index: 0; isolation: isolate; overflow: hidden; background: #0b0d24; pointer-events: none; }
/* uniform dim, replaces the old filter: brightness(0.62) so the animated layers carry no filter */
.h-hero__slides::after { content: ""; position: absolute; inset: 0; z-index: 5; background: rgba(0, 0, 0, 0.42); }
.h-hero__slide { position: absolute; inset: 0; z-index: 1; opacity: 0; backface-visibility: hidden; }
.h-hero__slide:first-child { opacity: 1; }
.h-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 35% 50%); }
.h-hero__show[data-run] .h-hero__slide { animation: h-slide 36s linear infinite both; animation-delay: calc(var(--i) * 6s - 1.2s); will-change: transform, opacity; }
@keyframes h-slide {
  0% { opacity: 0; z-index: 2; transform: scale(1) translate3d(0, 0, 0); }
  3.333% { opacity: 1; }
  16.66% { opacity: 1; z-index: 2; }
  16.67% { opacity: 1; z-index: 1; }
  20% { opacity: 1; transform: scale(1.09) translate3d(var(--kx), var(--ky), 0); }
  20.01% { opacity: 0; }
  100% { opacity: 0; z-index: 1; transform: scale(1.09) translate3d(var(--kx), var(--ky), 0); }
}
.h-hero__ctl { position: absolute; z-index: 21; left: var(--sc-gutter); bottom: calc(44px + 16px); display: flex; align-items: center; gap: 14px; animation: h-ctl-in 600ms ease both; }
@keyframes h-ctl-in { from { opacity: 0; } to { opacity: 1; } }
.h-hero__bars { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.h-hero__bars li { width: 26px; height: 2px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.h-hero__bars i { display: block; width: 100%; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); animation: h-bar 36s linear infinite backwards; animation-delay: calc(var(--i) * 6s); }
@keyframes h-bar { 0% { transform: scaleX(0); } 16.666% { transform: scaleX(1); } 16.67% { transform: scaleX(0); } 100% { transform: scaleX(0); } }
.h-hero__pause { position: relative; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; color: #fff; cursor: pointer; background: rgba(8, 9, 28, 0.35); border: 1px solid rgba(255, 255, 255, 0.45); transition: background-color 160ms, border-color 160ms; }
.h-hero__pause::before { content: ""; position: absolute; inset: -6px; }
.h-hero__pause:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }
.h-hero__pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.h-hero__show[data-paused] :is(.h-hero__slide, .h-hero__bars i) { animation-play-state: paused; }
@media (max-width: 860px) { .h-hero__ctl { bottom: auto; top: 5.25rem; } }
@media (prefers-reduced-motion: reduce) {
  .h-hero__slide { animation: none !important; will-change: auto; }
  .h-hero__slide:not(:first-child), .h-hero__ctl { display: none; }
}
.h-hero__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(8, 9, 28, 0.7) 0%, rgba(8, 9, 28, 0) 24%, rgba(8, 9, 28, 0) 45%, rgba(8, 9, 28, 0.55) 100%), linear-gradient(to right, rgba(8, 9, 28, 0.55) 0%, rgba(8, 9, 28, 0) 70%); }
