/* Products: editorial industry positions and a dark module readout. */
/* Hero: Nordic reach (scripts/nordic.js). Each country lights and a column of light lands in its portal's plate.
   Same figure language as the home hero; the h1 sits where the home headline sits. */
.page-products__hero { position: relative; min-height: max(44rem, min(100svh, 62rem)); overflow: hidden; isolation: isolate; background: var(--vacuum); color: var(--text); }
.nordic { position: absolute; inset: 0; margin: 0; z-index: 0; }
.nordic__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.page-products__hero-copy { position: relative; z-index: 1; padding-top: clamp(11rem, 26vh, 15rem); pointer-events: none; }
.page-products__title { text-shadow: 0 0 2px var(--vacuum), 0 0 14px var(--vacuum-70); }

/* Portal labels: set like the home hero labels (name in white, domain in ice), so the products read as part of
   the map. The column of light ends in the same hollow anchor. Logos in their own colours stay in Platforms (home).
   Without JS they sit in a row under the h1. */
.nordic-plates { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: var(--s-7); margin-top: var(--s-7); }
.is-live .nordic-plates { position: absolute; inset: 0; max-width: none; margin: 0; padding: 0; pointer-events: none; }
.nordic-plate {
  --c: var(--ice);
  position: relative; display: grid; justify-items: center; gap: 4px; padding: var(--s-2) var(--s-3) var(--s-4);
  min-width: 44px; color: var(--white); text-decoration: none; text-align: center; pointer-events: auto; text-shadow: var(--halo);
}
.nordic-plate--hjem { --c: var(--energy); }
.nordic-plate b { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.nordic-plate span:not(.sr-only) { font-size: var(--label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ice); }
.nordic-plate:hover b { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.nordic-plate:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
.nordic-plate::after {
  content: ""; position: absolute; left: var(--notch, 50%); bottom: 0; width: 9px; height: 9px; margin-left: -4.5px;
  border: 1px solid var(--c); border-radius: 50%; background: var(--vacuum); transform: translateY(50%);
}
.is-live .nordic-plate { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }

/* Below the hero: the intro and jump links in a calm vacuum band. */
.page-products__band { background: var(--vacuum); color: var(--text); padding-top: clamp(3.5rem, 2rem + 4vw, 6rem); padding-bottom: clamp(4rem, 2rem + 5vw, 7rem); border-top: 1px solid var(--hairline); }
.page-products__band .page-products__jumps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5) var(--s-7);
  margin-top: var(--s-7);
}
.page-products__band .link-arrow { min-height: 2.75rem; }

@media (max-width: 47.99rem) {
  .page-products__hero { min-height: 0; padding-bottom: 30rem; }
  .page-products__hero-copy { padding-top: 6.75rem; }
  .page-products__title { font-size: clamp(2.125rem, 1.4rem + 3.5vw, 3.25rem); }
  /* The portal labels sit over the lit map here; white keeps the small domain line readable (ice was 3.7:1). */
  .nordic-plate span:not(.sr-only) { color: var(--white); }
}

.page-products__industries .page-products__portals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 1rem + 5vw, 8rem);
  margin-top: var(--s-7);
}
.page-products__industries .page-products__entry-title {
  margin-bottom: var(--s-6);
  font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.page-products__industries .page-products__prose {
  max-width: 60ch;
  font-size: var(--lead);
  line-height: 1.55;
}
.page-products__industries .page-products__prose > p + p { margin-top: var(--s-6); }
.page-products__industries .page-products__customization {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 1rem + 5vw, 8rem);
  margin-top: clamp(5rem, 2rem + 7vw, 9rem);
}
/* Illustrations: same size in both rows, centred in their column, captioned like every figure. */
.page-products__art { width: min(100%, 28rem); margin: 0; }
.page-products__portals-art { justify-self: end; }
.page-products__customization-art { justify-self: start; }
.page-products__art img { width: 100%; height: auto; }
.page-products__art figcaption { margin-top: var(--s-4); }
.page-products__portals-copy,
.page-products__customization-copy { min-width: 0; }

/* The home Technology band's vacuum / white / ice vocabulary. */
.page-products__modules {
  --text: var(--white);
  --text-2: var(--ice);
  background: var(--vacuum);
  color: var(--text);
}
.page-products__modules .page-products__module-list { margin-top: var(--s-8); }
.page-products__modules .page-products__module {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: var(--s-5) clamp(3rem, 7vw, 7rem);
  padding-block: var(--s-7);
}
.page-products__modules .page-products__module + .page-products__module {
  border-top: 1px solid var(--hairline);
}
.page-products__modules .page-products__module h3 {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: var(--s-4);
  max-width: 20ch;
  color: var(--white);
  font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.page-products__modules .page-products__module p {
  max-width: 60ch;
  color: var(--text-2);
  font-size: var(--lead);
  line-height: 1.55;
}
.page-products__modules .page-products__module:first-child { padding-top: 0; }
.page-products__modules .page-products__module:last-child { padding-bottom: 0; }

@media (max-width: 47.99rem) {
  .page-products__industries .page-products__portals,
  .page-products__industries .page-products__customization,
  .page-products__modules .page-products__module { grid-template-columns: minmax(0, 1fr); }
  .page-products__industries .page-products__portals { margin-top: var(--s-7); gap: var(--s-7); }
  .page-products__industries .page-products__customization { gap: var(--s-7); margin-top: var(--s-9); }
  .page-products__art { width: min(100%, 24rem); justify-self: start; }
  .page-products__customization-copy { order: -1; }
  .page-products__industries .page-products__entry-title { margin-bottom: var(--s-5); }
  .page-products__modules .page-products__module-list { margin-top: var(--s-7); }
}


/* Modules: names at list-display scale and pinned while long entries scroll past. */
.page-products__modules .page-products__module h3 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.08; }
.page-products__modules .page-products__module p { max-width: 52ch; }
@media (min-width: 64rem) {
  .page-products__modules .page-products__module h3 { position: sticky; top: 6.5rem; }
}


.page-products__band .masthead__lead { max-width: 60ch; margin-top: 0; }

/* Modules index: the seven names up front, each jumping to its entry. */
.page-products__modules .page-products__module-index {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); column-gap: clamp(2rem, 1rem + 3vw, 4rem);
  margin-top: var(--s-7); border-top: 1px solid var(--hairline);
}
.page-products__modules .page-products__module-index li { border-bottom: 1px solid var(--hairline); }
.page-products__modules .page-products__module-index a {
  display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) 1rem; align-items: center; gap: var(--s-4); min-height: 44px; padding-block: var(--s-4);
  font-size: var(--h3); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; color: var(--white); text-decoration: none;
}
.page-products__modules .page-products__module-index a:hover { color: var(--ice); }
.page-products__modules .page-products__module-index .page-products__module-jump { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 200ms var(--ease-out); }
.page-products__modules .page-products__module-index a:hover .page-products__module-jump { transform: translateY(3px); }
.page-products__modules .icon { width: 1.5rem; height: 1.5rem; color: var(--ice); fill: none; stroke: currentColor; stroke-width: 1.5; }
.page-products__modules .page-products__module h3 .icon { margin-top: 0.15em; }
.page-products__modules .page-products__module-list { margin-top: clamp(4rem, 2rem + 5vw, 7rem); }
.page-products__modules .page-products__module { scroll-margin-top: 6rem; }

/* Catalogue text one step below lead; index rows read as links; a way back after each entry. */
.page-products__modules .page-products__module p { font-size: 1.25rem; }
.page-products__modules .page-products__module-index a span, .page-products__modules .page-products__module-index a { text-decoration: underline; text-decoration-color: var(--track); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.page-products__modules .page-products__module-back { grid-column: 2; justify-self: start; min-height: 44px; margin-top: var(--s-5); color: var(--ice); }
.page-products__modules .page-products__module-back svg.up { width: 1rem; height: 1rem; }
.page-products__modules .page-products__module-back:hover svg.up { transform: translateY(-3px); }
@media (max-width: 47.99rem) { .page-products__modules .page-products__module-back { grid-column: auto; margin-top: var(--s-2); } }
