/* Homepage scroll story: photoreal part sequences (hero) + services / process / delivery.
   All selectors are prefixed .hs- so nothing leaks into the rest of the marketing page. */
.hs { --hs-ink: var(--mk-ink, #111b24); --hs-muted: #5d6974; --hs-signal: var(--mk-signal, #ea6429); --hs-ghost: rgba(17, 27, 36, .055);
      --hs-mono: var(--mk-mono, "IBM Plex Mono", monospace); --hs-top: 76px; color: var(--hs-ink); }
.hs h1, .hs h2, .hs h3, .hs h4, .hs p, .hs ul { margin: 0; padding: 0; }
.hs-mono { font: 600 .72rem/1 var(--hs-mono); letter-spacing: .15em; text-transform: uppercase; }
.hs-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.4rem; border-radius: 999px; background: var(--hs-ink); color: #fff !important;
          font: 600 .74rem/1 var(--hs-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.hs-btn--signal { background: var(--hs-signal); }
.hs-btn--light { background: #fff; color: var(--hs-ink) !important; }
.hs-ulink { color: var(--hs-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
.hs-eyebrow { margin-bottom: 1rem !important; color: var(--hs-signal); font: 600 .72rem/1.3 var(--hs-mono); letter-spacing: .17em; text-transform: uppercase; }

/* The site pins html/body to 100% height, so the sticky marketing header lets go after one screen.
   On the homepage the scroll story relies on a header that stays put; let body grow with its content. */
html:has(.hs), html:has(.hs) body { height: auto !important; min-height: 100%; }
/* overflow-x:hidden on html+body (mobile) turns body into a scroll container and kills every sticky panel; clip doesn't. */
html:has(.hs), html:has(.hs) body { overflow-x: clip !important; overflow-y: visible !important; }

/* ---------- 1 hero ---------- */
.hs-hero { position: relative; height: 560vh; }
.hs-hero__sticky { position: sticky; top: var(--hs-top); height: calc(100vh - var(--hs-top)); min-height: 560px; overflow: hidden; border-radius: 1.55rem; contain: layout paint; }
.hs-hero__ghost { backface-visibility: hidden; position: absolute; top: 44%; left: 0; white-space: nowrap; transform: translate(0, -50%); font: 400 27vw/.8 "Bebas Neue", sans-serif;
                  color: var(--hs-ghost); user-select: none; pointer-events: none; will-change: transform; transition: opacity .35s; }
.hs-hero__canvas, .hs-hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-hero__poster { object-fit: contain; object-position: 50% 45%; padding: 9% 18% 22%; transition: opacity .3s; }
.hs-hero.is-live .hs-hero__poster { opacity: 0; }
.hs-hero__caps { position: absolute; left: 50%; top: 1.4rem; transform: translateX(-50%); display: flex; gap: .4rem; z-index: 3; }
.hs-hero__caps span { padding: .7rem 1rem; border-radius: 999px; background: #fff; color: var(--hs-muted); box-shadow: 0 6px 24px rgba(17, 27, 36, .06); white-space: nowrap; transition: background .3s, color .3s; }
.hs-hero__caps span.is-on { background: var(--hs-ink); color: #fff; }
.hs-hero__copy { position: absolute; left: clamp(1rem, 3.5vw, 3.5rem); bottom: clamp(1.2rem, 5vh, 3.5rem); max-width: 36rem; z-index: 3; isolation: isolate; }
.hs-hero__copy::before, .hs-hero__facts::before { content: ""; position: absolute; inset: -2.5rem -4rem -2rem -4rem; z-index: -1;
  background: radial-gradient(closest-side, rgba(246, 246, 242, .94), rgba(246, 246, 242, .78) 60%, rgba(246, 246, 242, 0)); }
.hs-hero__slogan { margin-bottom: .6rem !important; color: var(--hs-signal); font: 400 clamp(1.3rem, 2vw, 1.9rem)/1 "Bebas Neue", sans-serif; letter-spacing: .02em; }
.hs-hero h1 { font: 400 clamp(2.5rem, 5vw, 5.2rem)/.9 "Bebas Neue", sans-serif; letter-spacing: .005em; color: var(--hs-ink); }
.hs-hero__lead { margin-top: 1rem !important; max-width: 30rem; color: var(--hs-muted); font-size: .97rem; line-height: 1.6; }
.hs-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.3rem; }
.hs-hero__mail { margin-top: 1rem !important; max-width: 31rem; color: var(--hs-muted); font-size: .8rem; line-height: 1.55; }
.hs-hero__mail a { color: var(--hs-signal); font-weight: 600; }
.hs-hero__facts { position: absolute; right: clamp(1rem, 3.5vw, 3.5rem); bottom: clamp(1.2rem, 5vh, 3.5rem); width: min(24rem, 30vw); z-index: 3; isolation: isolate; list-style: none; }
.hs-hero__facts li { margin-top: .4rem; padding: .55rem 0 .55rem .85rem; border-left: 2px solid var(--hs-signal); color: var(--hs-muted); font-size: .8rem; line-height: 1.45;
                     background: linear-gradient(90deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }
.hs-hero__hint { position: absolute; left: 50%; bottom: .9rem; transform: translateX(-50%); color: var(--hs-muted); transition: opacity .4s; z-index: 3; }
.hs-spec { position: absolute; display: flex; align-items: center; gap: 0; opacity: 0; white-space: nowrap; z-index: 4; pointer-events: none; transition: opacity .35s ease; }
.hs-spec.is-on { opacity: 1; }
/* leader line grows out of the part, then the pill pops */
.hs-spec i { position: relative; display: block; width: 4.5rem; height: 1.5px; background: var(--hs-signal); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.3,.7,.2,1); }
.hs-spec--r i { transform-origin: right center; }
.hs-spec.is-on i { transform: scaleX(1); }
.hs-spec i::before { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--hs-signal); animation: hs-ping 1.8s ease-out infinite; }
.hs-spec--r i::before { left: auto; right: -5px; }
.hs-spec span { margin-left: .5rem; padding: .7rem 1rem; border: 1px solid rgba(234, 100, 41, .35); border-radius: 999px; background: #fff; font-size: .74rem;
                box-shadow: 0 12px 32px rgba(17, 27, 36, .13), 0 0 0 5px rgba(234, 100, 41, .07);
                opacity: 0; transform: scale(.86) translateX(-6px); transition: opacity .3s ease .18s, transform .55s cubic-bezier(.2,1.45,.4,1) .18s; }
.hs-spec--r span { margin-left: 0; margin-right: .5rem; transform: scale(.86) translateX(6px); }
.hs-spec.is-on span { opacity: 1; transform: none; }
.hs-spec em { font-style: normal; color: var(--hs-signal); font-weight: 700; }
.hs-spec--r { flex-direction: row-reverse; }
@keyframes hs-ping { 0% { box-shadow: 0 0 0 0 rgba(234, 100, 41, .55); } 70% { box-shadow: 0 0 0 11px rgba(234, 100, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 100, 41, 0); } }

/* ---------- 2 services ---------- */
.hs-services { position: relative; display: flex; align-items: center; min-height: 100vh; padding: 14vh 0; overflow: hidden; border-radius: 1.55rem; background: #0b1117; color: #fff; }
.hs-services video, .hs-delivery video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-services video { opacity: .4; filter: grayscale(.35) contrast(1.1); }
.hs-fog { position: absolute; inset: 0; background: radial-gradient(120% 80% at 30% 60%, rgba(11, 17, 23, .15), rgba(11, 17, 23, .92) 70%), linear-gradient(180deg, #0b1117, transparent 30%, transparent 70%, #0b1117); }
.hs-services__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: end; width: 100%; padding: 0 clamp(1rem, 3.5vw, 3.5rem); }
.hs h2.hs-h2 { font: 400 clamp(3rem, 6.6vw, 7.4rem)/.88 "Bebas Neue", sans-serif; color: inherit; }
.hs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.1rem 1.75rem; }
.hs-card { padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.hs-card__n { color: var(--hs-signal); font: 400 1.9rem/1 "Bebas Neue", sans-serif; }
.hs-card h3 { margin: .75rem 0 .6rem !important; color: #fff; font: 600 .8rem/1.3 var(--hs-mono); letter-spacing: .14em; text-transform: uppercase; }
.hs-card p { color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.55; }
.hs-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.hs-tags span { padding: .4rem .55rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: rgba(255, 255, 255, .86); font: 600 .62rem/1 var(--hs-mono); letter-spacing: .12em; text-transform: uppercase; }
.hs-services .hs-btn { margin-top: 2.1rem; }

/* ---------- 3 process ---------- */
.hs-process { position: relative; }
.hs-process__ghost { position: sticky; top: 0; height: 0; overflow: visible; z-index: 0; }
.hs-process__ghost span { position: absolute; top: 12vh; left: -1vw; font: 400 24vw/.8 "Bebas Neue", sans-serif; color: var(--hs-ghost); white-space: nowrap; pointer-events: none; }
.hs-process__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 0 clamp(1rem, 3.5vw, 3.5rem); }
.hs-process__media { position: sticky; top: calc(var(--hs-top) + 6vh); display: flex; align-items: center; height: calc(100vh - var(--hs-top) - 12vh); }
.hs-frame { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 100%; overflow: hidden; border-radius: 1.1rem; background: #dfe2e4; box-shadow: 0 30px 80px rgba(17, 27, 36, .18); }
.hs-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; }
.hs-frame video.is-on { opacity: 1; }
.hs-frame__tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: .55rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .92); }
.hs-steps { padding: 26vh 0 18vh; }
.hs-step { display: flex; flex-direction: column; justify-content: center; min-height: 70vh; opacity: .25; transition: opacity .5s; }
.hs-step.is-on { opacity: 1; }
.hs-step__n { color: var(--hs-signal); font: 400 7rem/.8 "Bebas Neue", sans-serif; }
.hs-step h3 { margin: .9rem 0 !important; font: 400 clamp(2.5rem, 4.2vw, 4.2rem)/.92 "Bebas Neue", sans-serif; color: var(--hs-ink); }
.hs-step p { max-width: 28rem; color: var(--hs-muted); font-size: 1rem; line-height: 1.6; }
.hs-step ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem !important; list-style: none; }
.hs-step li { padding: .5rem .75rem; border-radius: 999px; background: #fff; font: 600 .68rem/1 var(--hs-mono); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- 4 delivery ---------- */
.hs-delivery { position: relative; height: 200vh; border-radius: 1.55rem; background: #06223f; color: #fff; }
.hs-delivery__stick { position: sticky; top: var(--hs-top); height: calc(100vh - var(--hs-top)); overflow: hidden; border-radius: 1.55rem; contain: layout paint; }
.hs-delivery video { filter: saturate(1.2) contrast(1.05); transform: scale(1.15); will-change: transform; }
.hs-delivery__tint { position: absolute; inset: 0; background: rgba(10, 61, 122, .35); }
.hs-delivery__grade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 34, 63, .85), rgba(6, 34, 63, .35) 35%, rgba(6, 34, 63, .35) 65%, rgba(6, 34, 63, .9)); mix-blend-mode: multiply; }
.hs-delivery .hs-h2 { position: absolute; left: clamp(1rem, 3.5vw, 3.5rem); top: 10vh; max-width: 60vw; }
.hs-blk { position: absolute; max-width: 19rem; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.hs-blk.is-on { opacity: 1; transform: none; }
.hs-blk__ic { margin-bottom: .75rem; color: var(--hs-signal); }
.hs-blk h3 { margin-bottom: .6rem !important; color: #fff; font: 400 2.1rem/.95 "Bebas Neue", sans-serif; }
.hs-blk p { color: rgba(255, 255, 255, .8); font-size: .9rem; line-height: 1.55; }

@media (max-width: 1100px) { .hs-hero__facts { display: none; } }
@media (max-width: 860px) {
  .hs-spec { display: none; }
  .hs-hero { height: 300vh; }
  .hs-hero__caps { top: .8rem; } .hs-hero__caps span { display: none; padding: .55rem .8rem; font-size: .62rem; } .hs-hero__caps span.is-on { display: block; }
  .hs-hero__copy { right: 1rem; left: 1rem; bottom: 1rem; }
  .hs-hero__mail { display: none; }
  .hs-services__inner, .hs-process__grid { grid-template-columns: 1fr; }
  .hs-cards { grid-template-columns: 1fr; }
  /* phones: the video sits in an opaque sticky band at the top, the steps scroll underneath it */
  .hs-hero__ghost { top: 31%; }
  .hs-hero__poster { padding: 6% 10% 52%; object-position: 50% 0; }
  .hs-process__grid { gap: 0; }
  .hs-process__media { top: var(--hs-top); z-index: 2; height: auto; padding: .75rem 0 1rem;
                       background: linear-gradient(180deg, #f6f5f1 88%, rgba(246, 245, 241, 0)); }
  .hs-frame { aspect-ratio: 4 / 3; max-height: 36vh; margin: 0 auto; }
  .hs-steps { position: relative; z-index: 1; padding: 2vh 0 10vh; }
  .hs-step { min-height: 58vh; justify-content: flex-start; padding-top: 3vh; background: none; }
  .hs-step__n { font-size: 4.5rem; }
  .hs-blk { left: 1rem !important; right: 1rem !important; max-width: none; }
  .hs-blk:nth-child(5) { top: 27% !important; } .hs-blk:nth-child(6) { top: 45% !important; }
  .hs-blk:nth-child(7) { top: 63% !important; } .hs-blk:nth-child(8) { top: 81% !important; }
  .hs-blk h3 { font-size: 1.55rem; margin-bottom: .35rem !important; } .hs-blk__ic { margin-bottom: .4rem !important; }
  .hs-blk p { font-size: .82rem; line-height: 1.45; }
  .hs-delivery .hs-h2 { max-width: none; right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-hero { height: auto; } .hs-hero__sticky { position: relative; top: 0; height: 88vh; }
  .hs-spec, .hs-spec i, .hs-spec span, .hs-blk, .hs-step, .hs-hero__ghost { transition: none; } .hs-spec i::before { animation: none; }
  .hs-delivery { height: auto; } .hs-delivery__stick { position: relative; top: 0; height: 100vh; } .hs-blk { opacity: 1; transform: none; }
}
