/* The company hero shares the existing Danubis typefaces and colour tokens. */
.company-hero { position: relative; margin-top: calc(-1 * var(--header-h)); background: var(--bg); isolation: isolate; }
.company-hero-stage { position: relative; min-height: 760px; min-height: max(760px, 100svh); overflow: clip; background: #000; }
.company-hero-art { position: absolute; inset: 0; pointer-events: none; }
.company-hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0009, transparent 48%), linear-gradient(0deg, #000 0%, transparent 20%); }
.company-hero-art canvas { display: block; width: 100%; height: 100%; }
.company-hero-heading { position: relative; z-index: 1; padding-top: calc(var(--header-h) + clamp(42px, 6.5vh, 76px)); margin-inline: clamp(28px, 5.5vw, 100px); width: min(780px, 68%); }
.company-hero h1 { font: 500 clamp(3rem, 5vw, 5.6rem)/1.06 var(--sans); letter-spacing: -.04em; margin: 0; text-wrap: balance; }
.company-hero-heading > p { max-width: 460px; margin-top: 24px; color: #b8bdc3; font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.75; text-wrap: pretty; }
.company-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 28px; }
.company-hero-actions a { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.company-hero-secondary { color: var(--fg); }
.company-hero-secondary span { color: var(--accent); }
.company-hero-secondary:hover { color: var(--accent); }
.company-hero a:focus-visible, .company-hero button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.company-hero-workflow { position: relative; flex: 1; min-width: 0; }
.company-hero-explanation { position: absolute; left: 50%; bottom: calc(100% + 14px); width: 300px; max-width: calc(100vw - 48px); translate: -50% 0; opacity: 0; visibility: hidden; transform: translateY(5px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.company-hero-workflow:first-child .company-hero-explanation { left: 0; translate: none; }
.company-hero-workflow:last-child .company-hero-explanation { left: auto; right: 0; translate: none; }
.company-hero-explanation-copy { padding: 18px 20px 20px; background: #05080af5; border: 1px solid #263440; }
.company-hero-workflow:has(.company-hero-workflow-label:hover) .company-hero-explanation,
.company-hero-workflows:not(:has(.company-hero-workflow-label:hover)) .company-hero-workflow:has(button:focus-visible) .company-hero-explanation { opacity: 1; visibility: visible; transform: translateY(0); }
.company-hero-explanation h2 { font: 500 1.18rem/1.4 var(--sans); letter-spacing: -.02em; }
.company-hero-explanation-copy > p { font-size: .88rem; color: #a9b1bb; line-height: 1.75; margin-top: 12px; }
.company-hero-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 22px 0 0; font: 10px/1.7 var(--mono); color: #a7b1bc; }
.company-hero-steps li + li::before { content: '→'; color: #6d8296; margin-inline: 10px; }
.company-hero-steps .is-current { color: var(--accent); }
.company-hero-bottom { position: absolute; z-index: 2; left: clamp(28px, 5.5vw, 100px); right: clamp(28px, 5.5vw, 100px); bottom: 25px; display: flex; align-items: end; gap: 40px; }
.company-hero-workflows { display: flex; gap: clamp(25px, 4vw, 68px); flex: 1; min-width: 0; max-width: 800px; }
.company-hero-workflows button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 16px 0 20px; text-align: left; white-space: nowrap; background: transparent; border: 0; border-top: 1px solid #303b45; color: #a7afb8; font: 400 .82rem/1.3 var(--sans); cursor: pointer; }
.company-hero-workflow-index { color: #9baab8; font: 9px var(--mono); }
.company-hero-workflows button[aria-pressed='true'] { color: #e8e8e8; }
.company-hero-workflows button[aria-pressed='true'] .company-hero-workflow-index { color: var(--accent); }
.company-hero-workflow-line { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.company-hero-controls { display: flex; align-items: center; gap: 14px; margin-left: auto; padding-bottom: 8px; }
.company-hero-playback { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; border: 0; background: transparent; color: #808b95; font: 12px var(--sans); cursor: pointer; transition: color .2s ease; }
.company-hero-playback:hover { color: var(--fg); }
.company-hero-playback[hidden] { display: none; }
.company-hero-playback-icon { display: block; width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.company-hero-playback[aria-pressed='true'] .company-hero-playback-icon { width: 0; height: 0; border: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.company-hero-fallback { position: absolute; inset: 38% 8% 15% 45%; display: flex; align-items: center; justify-content: center; gap: 30px; color: var(--accent); font: 10px var(--mono); border-block: 1px solid #263743; }
.company-hero-fallback span + span::before { content: '→'; margin-right: 30px; color: #8995a1; }
.company-hero.is-enhanced .company-hero-stage { height: 100svh; min-height: 620px; }
.company-hero.is-enhanced .company-hero-fallback { display: none; }
.company-hero.is-enhanced .company-hero-workflow-line { transform: scaleX(var(--workflow-progress, 0)); }
@media (max-height: 760px) and (min-width: 761px) {
  .company-hero-heading { padding-top: calc(var(--header-h) + 28px); }
  .company-hero h1 { font-size: clamp(2.8rem, 4.8vw, 4.8rem); }
  .company-hero-heading > p { margin-top: 18px; font-size: .95rem; max-width: 430px; }
  .company-hero-actions { margin-top: 20px; }
  .company-hero-explanation-copy > p { font-size: .81rem; line-height: 1.65; }
  .company-hero-steps { margin-top: 13px; }
}
@media (max-width: 760px) {
  .company-hero-stage { min-height: 1080px; }
  .company-hero-heading { width: auto; margin-inline: 24px; padding-top: calc(var(--header-h) + 32px); }
  .company-hero h1 { font-size: clamp(2.35rem, 8.7vw, 4rem); letter-spacing: -.04em; }
  .company-hero-heading > p { max-width: 410px; font-size: .9rem; line-height: 1.65; margin-top: 18px; }
  .company-hero-actions { gap: 20px; margin-top: 20px; }
  .company-hero-actions a { font-size: .76rem; gap: 14px; min-height: 44px; }
  .company-hero-art::after { background: linear-gradient(0deg, #000 7%, transparent 32%, transparent 58%, #000 78%); }
  .company-hero-explanation h2 { font-size: 1.08rem; max-width: none; }
  .company-hero-explanation-copy > p { font-size: .82rem; line-height: 1.65; margin-top: 8px; max-width: 410px; }
  .company-hero-steps { font-size: 9px; margin-top: 12px; }
  .company-hero-bottom { left: 24px; right: 24px; bottom: 14px; align-items: center; gap: 14px; }
  .company-hero-workflows { width: 100%; gap: 16px; }
  .company-hero-explanation { width: min(280px, calc(100vw - 96px)); max-height: calc(100svh - var(--header-h) - 110px); overflow-y: auto; background: #05080af5; border: 1px solid #263440; }
  .company-hero-explanation-copy { border: 0; background: transparent; }
  .company-hero-workflows button { font-size: .68rem; padding-block: 13px; min-height: 52px; white-space: normal; gap: 7px; }
  .company-hero-workflow-index { display: none; }
  .company-hero-controls { flex: 0 0 auto; padding: 0; margin: 0; }
  .company-hero.is-enhanced .company-hero-stage { min-height: 100svh; }
  .company-hero-fallback { inset: 38% 24px 35%; gap: 15px; }
  .company-hero-fallback span + span::before { margin-right: 15px; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .company-hero-heading { padding-top: calc(var(--header-h) + 20px); }
  .company-hero-heading > p { max-width: 350px; font-size: .84rem; }
  .company-hero-actions { margin-top: 14px; }
  .company-hero.is-enhanced .company-hero-stage { height: 740px; }
  .company-hero h1 { font-size: clamp(2.1rem, 8.4vw, 3.2rem); }
  .company-hero-explanation h2 { font-size: 1rem; }
  .company-hero-explanation-copy > p { font-size: .77rem; line-height: 1.55; }
  .company-hero-steps { margin-top: 9px; }
}
@media (max-width: 380px) {
  .company-hero-actions { gap: 15px; }
  .company-hero-actions a { font-size: .7rem; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .company-hero.is-enhanced { height: auto; }
  .company-hero.is-enhanced .company-hero-stage { position: relative; top: 0; }
  .company-hero-heading { opacity: 1 !important; transform: none !important; }
  .company-hero a, .company-hero-playback { transition: none; }
  .company-hero-explanation { transition: none; }
}
