/* Home page. Uses tokens from main.css only. */

/* ---------- hero: one object, one headline, centred ----------
   The globe floats between the two words, behind both, so every letter always reads.
   On phones and tall windows home.js stands the globe above the headline instead. */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;text-align:center;padding:calc(var(--hdr) + 12px) var(--gut) 120px;overflow:hidden}
.hero-stage{width:100%;max-width:var(--wrap)}
.hero-title{display:flex;flex-direction:column;align-items:center;margin:0}
.ht{display:block;font:800 clamp(58px,13vw,226px)/.84 var(--display);font-stretch:125%;text-transform:uppercase;letter-spacing:-.025em;color:var(--ink)}
.ht .w{padding-right:.03em}
.ht-front{margin-top:.03em}
/* both words sit in front of the globe; in light theme a halo in the page colour keeps navy letters
   readable where they cross the dark ocean (the halo itself is invisible on the pale sky) */
.ht{-webkit-text-stroke:.07em var(--bg);paint-order:stroke fill}
[data-theme="dark"] .ht{-webkit-text-stroke:0}
.ht-sub{display:block;margin-top:clamp(18px,2.4vw,38px);padding-left:.34em;font:260 clamp(16px,2.35vw,40px)/1.15 var(--display);font-stretch:125%;text-transform:uppercase;letter-spacing:.34em;color:var(--ink-2)}
.hero-tags{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 18px;margin:clamp(28px,3.4vw,48px) 0 0;color:var(--ink-2)}
.hero-tags i{width:5px;height:5px;background:var(--coral)}
.hero-acts{justify-content:center;margin-top:30px}
.hero-cue{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;color:var(--mute)}
.hero-cue i{position:relative;display:block;width:1px;height:44px;background:var(--line-2);overflow:hidden}
.hero-cue i::after{content:"";position:absolute;left:0;top:-40%;width:1px;height:40%;background:var(--coral);animation:cue 2.4s var(--ease-io) infinite}
@keyframes cue{to{top:100%}}
.hero .hud-bl{bottom:30px}
@media (max-width:760px){
  .hero{align-items:flex-end;padding-top:calc(var(--hdr) + 150px);padding-bottom:96px}   /* always leaves room above the headline for the globe */
  .ht{font-size:clamp(42px,13.2vw,92px)}
  .ht-sub{letter-spacing:.22em;padding-left:.22em}
  .hero-cue,.hero .hud-bl{display:none}
}
@media (prefers-reduced-motion:reduce){.hero-cue i::after{animation:none}}

/* ---------- statement ---------- */
.statement{max-width:1120px}

/* ---------- featured workflow: a six-station pipeline with a packet running along it ---------- */
.feature .head{margin-bottom:clamp(56px,6vw,96px)}
.pipe{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.pipe::before{content:"";position:absolute;left:0;right:0;top:9px;height:1px;background:color-mix(in srgb,var(--band-ink) 25%,transparent)}
.pipe::after{content:"";position:absolute;top:4px;left:0;width:11px;height:11px;background:var(--coral);animation:run 9s var(--ease-io) infinite}
@keyframes run{0%{left:0;opacity:0}6%{opacity:1}88%{opacity:1}100%{left:calc(100% - 11px);opacity:0}}
.pipe li{position:relative;padding:44px 22px 0 0}
.pipe li::before{content:"";position:absolute;left:0;top:3px;width:13px;height:13px;border:1px solid color-mix(in srgb,var(--band-ink) 45%,transparent);background:var(--band)}
.pipe li.warn::before{border-color:#C46A0E;background:#C46A0E}
.pipe li.human::before{border-color:var(--coral);background:var(--coral);border-radius:50%}
.pipe .mono{display:block;margin-bottom:12px;color:var(--band-mute)}
.pipe li.warn .mono{color:#D9822B}
.pipe li.human .mono{color:var(--coral)}
[data-theme="dark"] .pipe li.warn .mono{color:#A8580B}
.pipe h3{font:720 19px/1.2 var(--display);font-stretch:108%;color:var(--band-ink);margin-bottom:10px}
.pipe p{font-size:15px;line-height:1.5;margin:0;color:var(--band-mute)}
@media (max-width:1100px){.pipe{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:44px}.pipe::before,.pipe::after{display:none}}
@media (max-width:620px){
  .pipe{grid-template-columns:1fr;row-gap:0}
  .pipe li{padding:0 0 30px 34px}
  .pipe li::before{top:4px}
  .pipe li:not(:last-child)::after{content:"";position:absolute;left:6px;top:20px;bottom:0;width:1px;background:color-mix(in srgb,var(--band-ink) 25%,transparent)}
}
@media (prefers-reduced-motion:reduce){.pipe::after{animation:none;display:none}}
.feature-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:clamp(48px,5vw,72px);padding-top:24px;border-top:1px solid color-mix(in srgb,var(--band-ink) 18%,transparent)}
.feature-foot .small{margin:0;color:var(--band-mute)}

/* ---------- intro: the globe alone, then the CS360 lockup, then the page ---------- */
html.intro{overflow:hidden}
html.intro .hdr,html.intro main,html.intro .foot{opacity:0;pointer-events:none}
.hdr,main{transition:opacity 1s var(--ease)}
html.intro .split .w>span{transform:translateY(105%)!important}
html.intro .rv{opacity:0!important;transform:translateY(28px)!important}
.intro{position:fixed;inset:0;z-index:60;pointer-events:none;color:var(--ink)}
.intro-frame i{position:absolute;width:26px;height:26px;border:0 solid var(--line-2);transition:opacity .6s}
.intro-frame i:nth-child(1){top:22px;left:22px;border-width:1px 0 0 1px}
.intro-frame i:nth-child(2){top:22px;right:22px;border-width:1px 1px 0 0}
.intro-frame i:nth-child(3){bottom:22px;left:22px;border-width:0 0 1px 1px}
.intro-frame i:nth-child(4){bottom:22px;right:22px;border-width:0 1px 1px 0}
.intro-boot,.intro-count{position:absolute;bottom:40px;font:500 11px/1.3 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--mute);transition:opacity .5s}
.intro-boot{left:56px;display:flex;gap:18px}
.intro-boot b{color:var(--ink);font-weight:500}
.intro-count{right:56px}
.intro-count b{color:var(--ink);font-weight:500;margin-left:8px}
.intro-word{position:absolute;left:0;top:0;font:800 120px/1 var(--display);font-stretch:125%;letter-spacing:.02em;color:var(--ink);white-space:nowrap;transform-origin:0 0;opacity:0;will-change:transform}
.intro-word b{color:var(--coral-ink);font-weight:800}
.intro-skip{position:absolute;top:22px;left:50%;transform:translateX(-50%);height:34px;padding:0 14px;border:1px solid var(--line-2);background:transparent;color:var(--mute);font:500 11px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;cursor:pointer;pointer-events:auto;transition:opacity .4s,color .2s,border-color .2s}
.intro-skip:hover{color:var(--ink);border-color:var(--ink)}
@media (max-width:760px){.intro-boot{left:24px;bottom:28px}.intro-count{right:24px;bottom:28px}.intro-boot span:not(:first-child){display:none}}
