/* Visual homepage sections only. The cinematic scroll scene is intentionally
   outside this scope. Every panel remains visible without JavaScript. */
.hb-home-shell .hv-section {
  --hv-accent: #c8102e;
  --hv-border: rgba(var(--hb-line-rgb, 246, 241, 234), .13);
  --hv-soft: rgba(var(--hb-line-rgb, 246, 241, 234), .035);
  padding: clamp(56px, 7vw, 104px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--hv-border);
  color: var(--hb-text, #f6f1ea);
}
.hb-home-shell .hv-section *,
.hb-home-shell .hv-section *::before,
.hb-home-shell .hv-section *::after { box-sizing: border-box; }
.hb-home-shell .hv-section .hv-wrap { width: 100%; max-width: 1280px; margin-inline: auto; }
.hb-home-shell .hv-section .hv-kicker {
  margin: 0 0 16px;
  color: var(--hb-accent, #c8102e);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.6;
  text-transform: uppercase;
}
.hb-home-shell .hv-section .hv-title {
  max-width: 25ch;
  margin: 0 0 30px;
  font-size: clamp(29px, 3.4vw, 46px) !important;
  font-weight: 800;
  line-height: 1.14 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hb-home-shell .hv-section .hv-copy {
  max-width: 50ch;
  margin: 0;
  color: var(--hb-text-faint, #b9ada1);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  text-wrap: pretty;
}
.hb-home-shell .hv-section .hv-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  min-height: 44px;
  margin-top: 18px;
  color: var(--hb-text, #f6f1ea);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(var(--hb-line-rgb, 246, 241, 234), .35);
  text-underline-offset: 5px;
  transition: text-decoration-color .2s ease;
}
.hb-home-shell .hv-section .hv-link:hover { text-decoration-color: var(--hv-accent); }
.hb-home-shell .hv-section .hv-link:focus-visible { outline: 2px solid var(--hv-accent); outline-offset: 5px; border-radius: 2px; }
.hb-home-shell .hv-section .hv-note {
  max-width: 88ch;
  margin: 22px 0 0;
  color: var(--hb-text-faint, #b9ada1);
  font-size: 12px;
  line-height: 1.7;
}
.hb-home-shell .hv-section figure { min-width: 0; margin: 0; }
.hb-home-shell .hv-section img { display: block; width: 100%; height: auto; }
.hb-home-shell .hv-section figcaption {
  margin-top: 12px;
  color: var(--hb-text-faint, #b9ada1);
  font-size: 12px;
  line-height: 1.6;
}
.hb-home-shell .hv-section h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.hb-home-shell .hv-section .hv-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}
.hb-home-shell .hv-section .hv-intro .hv-title { margin-bottom: 22px; }
.hb-home-shell .hv-section .hv-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.hb-home-shell .hv-section .hv-model {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hv-border);
  border-radius: 18px;
  background: var(--hv-soft);
}
.hb-home-shell .hv-section .hv-model-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 164px;
  padding: 18px 24px 12px;
  color: var(--hv-accent);
  border-bottom: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-model-illustration svg { display: block; width: 100%; max-width: 300px; height: auto; }
.hb-home-shell .hv-section .hv-model-copy { padding: 25px 26px 24px; }
.hb-home-shell .hv-section .hv-model-copy p,
.hb-home-shell .hv-section .hv-feature-card p,
.hb-home-shell .hv-section .hv-feature-tool p,
.hb-home-shell .hv-section .hv-benefit p,
.hb-home-shell .hv-section .hv-launch-step p {
  margin: 0;
  color: var(--hb-text-faint, #b9ada1);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}
.hb-home-shell .hv-section .hv-industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin-top: 32px;
}
.hb-home-shell .hv-section .hv-industry-photo img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-solutions { display: grid; gap: 0; }
.hb-home-shell .hv-section .hv-solution {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-solution:first-child { padding-top: 0; }
.hb-home-shell .hv-section .hv-solution:last-child { border-bottom: 0; padding-bottom: 0; }
.hb-home-shell .hv-section .hv-solution h3 { margin: 0; font-size: 18px; }
.hb-home-shell .hv-section .hv-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  color: var(--hv-accent);
}
.hb-home-shell .hv-section .hv-icon svg { display: block; width: 48px; height: 48px; }
.hb-home-shell .hv-section .hv-challenges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.hb-home-shell .hv-section .hv-challenges > * {
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid var(--hv-border);
  border-radius: 999px;
  color: var(--hb-text-faint, #b9ada1);
  font-size: 12px;
  line-height: 1.5;
}
.hb-home-shell .hv-section .hv-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-outcomes > * { min-width: 0; }
.hb-home-shell .hv-section .hv-outcomes strong { display: block; margin-bottom: 6px; font-size: 19px; line-height: 1.35; letter-spacing: -.02em; }
.hb-home-shell .hv-section .hv-outcomes span,
.hb-home-shell .hv-section .hv-outcomes p { display: block; margin: 0; color: var(--hb-text-faint, #b9ada1); font-size: 13px; line-height: 1.55; }
.hb-home-shell .hv-section .hv-feature-leads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 34px;
}
.hb-home-shell .hv-section .hv-feature-card { min-width: 0; }
.hb-home-shell .hv-section .hv-feature-photo { margin-bottom: 22px; }
.hb-home-shell .hv-section .hv-feature-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-feature-tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-feature-tool { min-width: 0; }
.hb-home-shell .hv-section .hv-feature-tool .hv-icon { margin-bottom: 14px; }
.hb-home-shell .hv-section .hv-feature-tool h3 { font-size: 16px; }
.hb-home-shell .hv-section .hv-feature-tool p { font-size: 13px; }
.hb-home-shell .hv-section .hv-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.hb-home-shell .hv-section .hv-benefit {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--hv-border);
  border-radius: 18px;
  background: var(--hv-soft);
}
.hb-home-shell .hv-section .hv-benefit-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  margin-bottom: 24px;
  color: var(--hv-accent);
}
.hb-home-shell .hv-section .hv-benefit-art svg { display: block; width: 88px; max-width: 100%; height: 88px; }
.hb-home-shell .hv-section .hv-benefit-label {
  margin-bottom: 10px;
  color: var(--hb-accent, #c8102e);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hb-home-shell .hv-section .hv-launch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  margin-top: 34px;
}
.hb-home-shell .hv-section .hv-launch-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--hv-border);
}
.hb-home-shell .hv-section .hv-launch-steps { display: grid; gap: 32px; }
.hb-home-shell .hv-section .hv-launch-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}
.hb-home-shell .hv-section .hv-launch-step > .hv-icon { grid-row: 1 / span 3; }
.hb-home-shell .hv-section .hv-launch-step > h3,
.hb-home-shell .hv-section .hv-launch-step > p { grid-column: 2; }
.hb-home-shell .hv-section .hv-wire { stroke-linecap: round; stroke-linejoin: round; }

/* This media wrapper belongs only to the third homepage feature card. */
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--hv-border);
  border-radius: 16px;
  background: var(--hb-surface, #1e1815);
}
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-video,
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-poster {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-poster {
  pointer-events: none;
  opacity: 0;
}
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media[data-hv-workflow-enhanced="true"]:not([data-hv-workflow-started="true"]) .hv-workflow-poster { opacity: 1; }
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media[data-hv-workflow-started="true"] .hv-workflow-poster { opacity: 0; }
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-toggle {
  display: none;
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: rgba(20, 16, 14, .9);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media[data-hv-controls-ready="true"] .hv-workflow-toggle { display: inline-flex; align-items: center; }
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-label-play { display: none; }
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media[data-hv-workflow-paused="true"] .hv-workflow-label-play { display: inline; }
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media[data-hv-workflow-paused="true"] .hv-workflow-label-pause { display: none; }
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hb-home-shell .hv-section .hv-feature-leads .hv-workflow-figure figcaption { font-size: 11px; }
@media (prefers-reduced-motion: reduce) {
  .hb-home-shell .hv-section .hv-feature-leads .hv-workflow-video { visibility: hidden; }
  .hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media .hv-workflow-poster,
  .hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media[data-hv-workflow-started="true"] .hv-workflow-poster { opacity: 1; }
  .hb-home-shell .hv-section .hv-feature-leads .hv-workflow-media[data-hv-controls-ready="true"] .hv-workflow-toggle { display: none; }
}

/* Classes are added only when a panel enters view. No pre-hidden state means
   failed or unavailable JavaScript cannot leave a blank homepage section. */
@media (prefers-reduced-motion: no-preference) {
  .hb-home-shell .hv-section .hv-reveal.hv-is-visible { animation: hbVisualReveal .5s ease-out both; }
  .hb-home-shell .hv-section .hv-is-visible .hv-wire {
    stroke-dasharray: var(--hv-path-length, 1000);
    animation: hbVisualWire .75s ease-out .15s both;
  }
  .hb-home-shell .hv-section .hv-is-visible .hv-node { animation: hbVisualNode .55s ease-out .25s both; }
}
@keyframes hbVisualReveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hbVisualWire { from { stroke-dashoffset: var(--hv-path-length, 1000); } to { stroke-dashoffset: 0; } }
@keyframes hbVisualNode { from { opacity: .45; } to { opacity: 1; } }

@media (max-width: 980px) {
  .hb-home-shell .hv-section .hv-models,
  .hb-home-shell .hv-section .hv-benefits { gap: 16px; }
  .hb-home-shell .hv-section .hv-model-copy { padding: 22px 20px; }
  .hb-home-shell .hv-section .hv-benefit { padding: 22px 20px; }
  .hb-home-shell .hv-section .hv-feature-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .hb-home-shell .hv-section .hv-feature-leads { gap: 20px; }
}
@media (max-width: 760px) {
  .hb-home-shell .hv-section .hv-intro,
  .hb-home-shell .hv-section .hv-industry-layout,
  .hb-home-shell .hv-section .hv-launch-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hb-home-shell .hv-section .hv-models,
  .hb-home-shell .hv-section .hv-feature-leads,
  .hb-home-shell .hv-section .hv-benefits { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hb-home-shell .hv-section .hv-model { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
  .hb-home-shell .hv-section .hv-model-illustration { height: 100%; min-height: 180px; border-bottom: 0; border-right: 1px solid var(--hv-border); }
  .hb-home-shell .hv-section .hv-feature-photo img { aspect-ratio: 16 / 10; }
  .hb-home-shell .hv-section .hv-benefit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 26px; align-items: center; }
  .hb-home-shell .hv-section .hv-benefit-art { grid-row: 1 / span 4; margin: 0; min-height: 140px; }
  .hb-home-shell .hv-section .hv-benefit > .hv-benefit-label,
  .hb-home-shell .hv-section .hv-benefit > h3,
  .hb-home-shell .hv-section .hv-benefit > p { grid-column: 2; }
  .hb-home-shell .hv-section .hv-outcomes { gap: 18px; }
  .hb-home-shell .hv-section .hv-outcomes strong { font-size: 17px; }
}
@media (max-width: 480px) {
  .hb-home-shell .hv-section .hv-title { max-width: 100%; margin-bottom: 24px; }
  .hb-home-shell .hv-section .hv-model { grid-template-columns: minmax(0, 1fr); }
  .hb-home-shell .hv-section .hv-model-illustration { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--hv-border); }
  .hb-home-shell .hv-section .hv-model-copy { padding: 24px; }
  .hb-home-shell .hv-section .hv-feature-tools { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hb-home-shell .hv-section .hv-feature-tool { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .hb-home-shell .hv-section .hv-feature-tool > .hv-icon { grid-row: 1 / span 3; margin: 0; }
  .hb-home-shell .hv-section .hv-feature-tool > h3,
  .hb-home-shell .hv-section .hv-feature-tool > p { grid-column: 2; }
  .hb-home-shell .hv-section .hv-feature-tool h3 { margin-bottom: 5px; }
  .hb-home-shell .hv-section .hv-benefit { display: block; padding: 24px; }
  .hb-home-shell .hv-section .hv-benefit-art { min-height: 132px; margin-bottom: 22px; }
  .hb-home-shell .hv-section .hv-benefit-art svg { max-width: 230px; }
  .hb-home-shell .hv-section .hv-outcomes { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hb-home-shell .hv-section .hv-outcomes > * { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 18px; align-items: baseline; }
  .hb-home-shell .hv-section .hv-outcomes strong { margin: 0; }
  .hb-home-shell .hv-section .hv-launch-step { column-gap: 16px; }
}
/* Preserve the complete wide workstation image. */
.hb-home-shell .hv-section .hv-feature-photo-contain img {
  object-fit: contain;
  padding: 16px;
  background: var(--hb-surface, #1E1815);
}
.hb-home-shell .hv-section .hv-compare-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .45fr);
  align-items: center;
  gap: 36px;
}
.hb-home-shell .hv-section .hv-compare-art {
  color: var(--hv-accent);
  padding-bottom: 36px;
}
.hb-home-shell .hv-section .hv-compare-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .hb-home-shell .hv-section .hv-compare-intro { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hb-home-shell .hv-section .hv-compare-art { max-width: 280px; }
}
