.company-journey {
  color-scheme: light;
  --journey-bg: #fff; --journey-card: #f8faf7; --journey-rule: #cbd3cb;
  --journey-ink: #1c291f; --journey-muted: #4e5c50; --journey-copy: #303b32;
  --journey-track: #89958c; --journey-active: #31563e;
  --ink: var(--journey-ink); --muted: var(--journey-muted); --paper: #fff;
  position: relative; padding-block: clamp(62px,8vw,124px);
  background: var(--journey-bg); color: var(--journey-ink);
  box-shadow: 0 0 0 100vmax var(--journey-bg); clip-path: inset(0 -100vmax);
}
html:has(.company-sections) { --company-nav: 44px; scroll-padding-top: calc(var(--header) + var(--company-nav)); }
html:has(.j-item:target) { scroll-behavior: auto; }
.company-sections {
  --paper: #fff; --ink: #1c291f; --line: #cbd3cb; color-scheme: light;
  position: sticky; top: var(--header); z-index: 7; color: var(--ink); background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); border-bottom: 1px solid var(--line);
}
.company-sections div { display: flex; align-items: stretch; gap: clamp(16px,2.5vw,36px); overflow-x: auto; scrollbar-width: none; }
.company-sections div::-webkit-scrollbar { display: none; }
.company-sections a { display: inline-flex; align-items: center; min-height: calc(var(--company-nav) - 1px); white-space: nowrap; font: 600 .86rem/1.2 var(--body); text-decoration: none; }
.company-sections a:hover,.company-sections a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.company-sections a:focus-visible { outline-offset: -2px; }
.j-item[id] { scroll-margin-top: 12px; }
.company-journey a { color: inherit; }
.company-journey :focus-visible { outline: 2px solid #17603e; outline-offset: 4px; }
.company-journey .eyebrow,.journey-context .eyebrow {
  margin: 0 0 18px; color: var(--journey-muted,var(--muted)); font: 500 .79rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em;
}
#journey #journey-title { max-width: 26ch; margin: 0 0 .48em; font: 400 clamp(2.2rem,5vw,4.25rem)/1.05 var(--display); letter-spacing: -.025em; }
.company-journey .lead,.journey-context .lead { max-width: 68ch; font-size: clamp(1rem,1.4vw,1.19rem); line-height: 1.65; }
.company-journey .lead { color: var(--journey-copy); }
.company-journey .actions,.journey-context .actions { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 22px; }
.journey-action { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid #87948a; border-radius: 7px; text-decoration: none; }
.journey-action:hover { background: #edf3ed; border-color: var(--journey-active); }
.journey {
  --fill: 1; position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 96px;
  list-style: none; margin: clamp(48px,7vw,96px) 0 0; padding: 0;
}
.journey::before,.journey::after { content: ""; position: absolute; inset: 0 auto 0 50%; width: 2px; margin-left: -1px; background: var(--journey-track); pointer-events: none; }
.journey::after { background: var(--journey-active); transform: scaleY(var(--fill)); transform-origin: top; }
.j-item { position: relative; grid-column: 1; align-self: start; min-width: 0; padding-bottom: clamp(28px,4vw,56px); text-align: right; }
.j-item:nth-child(even) { grid-column: 2; text-align: left; }
.j-item::before { content: ""; position: absolute; z-index: 1; top: 3px; right: -56px; width: 16px; height: 16px; border: 2px solid var(--journey-active); border-radius: 50%; background: var(--journey-bg); }
.j-item:nth-child(even)::before { right: auto; left: -56px; }
.j-item::after { content: ""; position: absolute; top: 10px; right: -40px; width: 28px; height: 1px; background: var(--journey-track); }
.j-item:nth-child(even)::after { right: auto; left: -40px; }
.j-item time,.j-now time { display: block; margin-bottom: 12px; color: var(--journey-muted); font: 500 .81rem/1.35 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
#journey .j-item h3 { margin: 0 0 9px; font: 450 clamp(1.25rem,1.8vw,1.625rem)/1.23 var(--body); letter-spacing: -.02em; }
.j-item p { margin: 0 0 14px; color: var(--journey-copy); line-height: 1.55; }
.j-today { display: inline-flex; align-items: baseline; gap: 10px; padding-bottom: 3px; color: var(--journey-ink); border-bottom: 1px solid var(--journey-track); text-decoration: none; font-size: .94rem; line-height: 1.4; }
.j-today:hover { color: var(--journey-active); border-bottom-color: currentColor; }
.j-today span,.j-tag { color: var(--journey-muted); font: 500 .75rem/1.45 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.j-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-bottom: 20px; }
.j-item:nth-child(odd) .j-logos { justify-content: flex-end; }
.j-logo { display: inline-grid; place-items: center; max-width: 100%; }
.j-logo img { display: block; width: auto; height: 46px; max-width: min(260px,100%); object-fit: contain; }
.j-logo.wide img { height: 36px; }
.j-logo.square img,.j-logo.square.badge img { height: 70px; }
.j-logo.on-dark img { height: 40px; }
.j-logo.wide.on-dark img { height: 30px; }
.j-logo.badge img { height: 60px; border-radius: 5px; }
.j-logo.wide.badge img { height: 44px; }
.j-logo.square.xl img { height: 100px; }
.j-logo.big img { height: 68px; max-width: min(320px,100%); }
/* These original reverse wordmarks need a contrast surface only within the mark. */
.j-logo img:is([src$="/ndsu.svg"], [src$="/nvidia.svg"], [src$="/vetnexus.webp"], [src$="/fieldsim.webp"],
  [src$="/hbs.svg"], [src$="/gener8tor.webp"], [src$="/gener8tor-gbeta.webp"], [src$="/nd-commerce.webp"]) {
  padding: 7px 10px; box-sizing: content-box; max-width: min(270px,calc(100% - 20px));
  background-color: var(--logo-ground,#354139); border-radius: 6px;
}
.j-logo img[src$="/ndsu.svg"] { --logo-ground: #153b2b; }
.j-logo img[src$="/hbs.svg"] { --logo-ground: #552532; }
.j-logo img[src$="/nd-commerce.webp"] { --logo-ground: #263f58; }
.j-media,.j-prods a,.j-shelf a,.j-gallery a { border: 1px solid var(--journey-rule); border-radius: 12px; background: var(--journey-card); }
.j-media { overflow: hidden; margin: 4px 0 16px; text-align: left; }
.j-media img { display: block; width: 100%; height: auto; background: var(--journey-card); }
.j-media figcaption { color: var(--journey-muted); padding: 10px 14px; border-top: 1px solid var(--journey-rule); font: 500 .75rem/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.j-media.portrait { max-width: 340px; }
.j-item:nth-child(odd) .j-media.portrait { margin-inline-start: auto; }
.j-essay figcaption a { display: block; width: fit-content; margin-top: 6px; padding-block: 4px; }
.j-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: -6px 0 16px; }
.j-gallery a { display: block; aspect-ratio: 1; border-radius: 7px; overflow: hidden; }
.j-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.j-prods,.j-shelf { display: grid; gap: 10px; }
.j-prods { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 4px 0 16px; }
.j-prods a,.j-shelf a { display: flex; flex-direction: column; overflow: hidden; text-align: left; text-decoration: none; }
.j-prods a:hover,.j-shelf a:hover,.j-gallery a:hover { border-color: var(--journey-active); }
.j-prods img,.j-shelf img { display: block; width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; }
.j-prods img.top,.j-shelf img.top { object-position: 50% 40%; }
.j-prods span { padding: 8px 10px; font: 500 .75rem/1.4 var(--mono); }
.j-arrow { width: 0; height: 0; margin: 0 auto; border-inline: 9px solid transparent; border-top: 14px solid var(--journey-active); }
.j-now { max-width: 640px; margin: 28px auto 0; text-align: center; }
#journey .j-now h3 { margin: 0 0 12px; font: 430 clamp(2.2rem,4vw,3.4rem)/1.06 var(--display); }
.j-now p,.j-shelf span { color: var(--journey-copy); line-height: 1.5; }
.j-shelf { margin: 40px 0 28px; padding: 0; list-style: none; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.j-shelf a { height: 100%; padding-bottom: 16px; }
.j-shelf a:not(:has(img)) { padding-top: 16px; }
.j-shelf img { margin-bottom: 14px; }
.j-shelf strong,.j-shelf span,.j-shelf em { padding-inline: 16px; }
.j-shelf strong { margin-bottom: 7px; font: 450 1.22rem/1.2 var(--body); }
.j-shelf span { font-size: .94rem; margin-bottom: 14px; }
.j-shelf em { margin-top: auto; color: var(--journey-muted); font: 500 .72rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.journey-context .lead { margin-top: 16px; color: var(--muted); }
@media(max-width:1100px) { .j-shelf { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:860px) {
  .journey { grid-template-columns: minmax(0,1fr); column-gap: 0; }
  .journey::before,.journey::after { left: 9px; }
  .j-item,.j-item:nth-child(even) { grid-column: 1; grid-row: auto !important; margin-left: 40px; text-align: left; }
  .j-item::before,.j-item:nth-child(even)::before { right: auto; left: -39px; }
  .j-item::after { display: none; }
  .j-item:nth-child(odd) .j-logos { justify-content: flex-start; }
  .j-item:nth-child(odd) .j-media.portrait,.j-now { margin-inline-start: 0; }
  .j-now { text-align: left; }
  .j-arrow { margin-inline-start: 1px; }
}
@media(max-width:560px) { .j-shelf { grid-template-columns: minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { .journey::after { transform: none; } }
