/* Holding-company homepage, in Augmora's homepage system (Archivo, quiet header, eyebrow, dark uppercase
   button) with a compact centred hero: two mirrored graphite Es close around one pearl, and the pearl lands
   as the headline's full stop. A graphite cord then runs from that full stop down the page over a faint
   point-field terrain, past one waypoint per company, each with a device that steps through an example.
   About and contact follow. Two appearances, day and night, following the device setting. The header, the
   lockup and the hero type follow comparsa.us and augmora.org: 80px, Archivo throughout, the E glyph with a
   two-line lockup, light links, the login as a small button, and the headline set like the lockup. */
/* The homepage's own tokens; the shared set is in tokens.css. */
:root{
  /* The journey's ground, its graphite ink (an r,g,b triplet journey.js reads for the canvas), the frosted panels
     and the waypoint rings. */
  --journey-bg:#f3f6f8;--journey-ink:57,67,82;--panel:rgba(243,246,248,.88);--dot-ring:#8a929c;
  /* The film: its ground and poster, the type and controls over it, and the shadow under the mark. */
  --film-bg:#eef1f5;--film-poster:url('../assets/film/intro-day-poster.webp');--film-ink:#181b21;--film-soft:rgba(24,27,33,.72);--film-lede:rgba(24,27,33,.8);
  --film-control:rgba(255,255,255,.6);--film-control-hover:rgba(255,255,255,.9);--film-edge:rgba(24,27,33,.3);--film-login:rgba(255,255,255,.5);
  --mark-shadow:rgba(24,27,33,.22);
}
/* Night: each company's accent becomes its fill. */
@media(prefers-color-scheme:dark){
  :root{
    --journey-bg:#12161a;--journey-ink:176,188,201;--panel:rgba(18,22,26,.86);--dot-ring:#6f7883;
    --film-bg:#0b0d11;--film-poster:url('../assets/film/intro-night-poster.webp');--film-ink:#f5f7fa;--film-soft:rgba(245,247,250,.72);--film-lede:rgba(245,247,250,.88);
    --film-control:rgba(11,13,17,.6);--film-control-hover:rgba(11,13,17,.8);--film-edge:rgba(231,236,244,.45);--film-login:rgba(11,13,17,.45);
    --mark-shadow:rgba(0,0,0,.6);
  }
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--surface);scroll-padding-top:var(--head)}
body{margin:0;background:var(--surface);color:var(--text);font-family:var(--ui);-webkit-font-smoothing:antialiased}
:where(.home-site) a{color:inherit;text-decoration:none}
.home-site h1,.home-site h2,.home-site h3,.home-site p{margin:0}
.home-site :focus-visible,.fluid-mobile-menu :focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:4px}
.home-site .skip-link{position:absolute;z-index:50;left:16px;top:-80px;padding:10px 16px;border-radius:4px;background:var(--ink);color:var(--on-ink)}
.home-site .skip-link:focus{top:16px}
.inner{max-width:var(--page);margin:0 auto}
.eyebrow{font-size:12px;line-height:1.5;font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* Buttons, as on augmora.org */
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-width:min(236px,100%);min-height:52px;padding:0 23px;border:1px solid transparent;border-radius:4px;font-family:var(--brand);font-size:13px;font-weight:500;letter-spacing:.065em;text-transform:uppercase;box-shadow:var(--sh-kit);transition:background 160ms ease,transform 100ms ease-out}
.btn svg{flex:none;transition:transform 200ms ease}
.btn:hover svg{transform:translateX(3px)}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.btn-primary:hover{background:var(--ink-hover);border-color:var(--ink-hover)}
.btn-compact{min-width:0;min-height:44px;gap:16px;padding:0 18px}
.btn-brand{background:var(--leg-fill);border-color:var(--leg-fill);color:var(--leg-on-fill)}
.btn-brand:hover{background:color-mix(in srgb,var(--leg-fill) 86%,var(--leg-on-fill))}
.text-link{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:500;text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:5px}
.text-link:hover{text-decoration-color:currentColor}

/* Header: the shared header markup, as the sister sites set theirs. */
.home-site .masthead{position:sticky;top:0;z-index:20;min-height:var(--head);display:flex;align-items:center;gap:max(40px,3vw);padding:env(safe-area-inset-top,0px) var(--pad-r) 0 var(--pad-l);background:var(--head-bg);border-bottom:1px solid var(--border);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);color:var(--text);transition:background-color .5s ease,border-color .5s ease}
/* The lockup: the graphite E, then ESC·ALATE over ENTERPRISES, the pearl as the dot. */
.home-site .escalate-mark{flex:none;display:inline-flex;align-items:center;gap:12px;font-family:var(--brand);font-size:15px;font-weight:600;letter-spacing:.14em;line-height:1;white-space:nowrap;color:var(--text)}
.home-site .mark-glyph{width:26px;height:auto;flex:none}
.home-site .mark-name{display:block}
.home-site .escalate-mark .enterprise-name{display:block;margin-top:4px;font:inherit;font-size:9.5px;font-weight:500;letter-spacing:.3em;color:var(--muted)}
/* The dot character stays for copying and screen readers; text-indent keeps it from showing. */
/* --pearl-mark: the 6px pearl in the header lockup and the phone menu. The full --pearl is built for large sizes;
   by day its pale middle vanished into the header at 6px (1.6:1), so the lockup reads ESC ALATE. This deeper day
   pearl averages 3.1:1 against the header. Night is the same as --pearl, which already reads (12.5:1). */
.home-site .escalate-mark .pearl-point{width:.42em;height:.42em;margin:0 .16em;vertical-align:.08em;text-indent:1em;white-space:nowrap;background:var(--pearl-mark);box-shadow:0 .04em .08em var(--pearl-shadow)}
.home-site .desktop-nav{display:flex;align-items:center}
.home-site .company-nav{gap:max(26px,2.1vw)}
.home-site .utility-nav{margin-left:auto;gap:max(22px,1.9vw)}
.home-site .desktop-nav>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-family:var(--brand);font-size:15px;line-height:1.3;font-weight:400;white-space:nowrap;color:var(--text);transition:color 160ms ease}
.home-site .desktop-nav>a:hover{color:var(--muted)}
.home-site .desktop-nav>a[href="/company#contact"]::before{content:'';width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='m3.5 7.5 8.5 6 8.5-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2.5'/%3E%3Cpath d='m3.5 7.5 8.5 6 8.5-6'/%3E%3C/svg%3E") center/contain no-repeat}
.home-site .desktop-nav>a.employee-login,.home-site .mobile-navigation .employee-login{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:0;border-radius:4px;background:var(--ink);color:var(--on-ink);font-family:var(--brand);font-size:13px;font-weight:500;box-shadow:none;transition:background-color .3s ease,color .3s ease,box-shadow .3s ease}
.home-site .desktop-nav>a.employee-login:hover{background:var(--ink-hover);color:var(--on-ink)}
.home-site .account-icon{width:16px;height:16px;flex:none}
.home-site .mobile-navigation,.home-site .company-strip{display:none}
.home-site .menu-trigger{width:44px;height:44px;padding:0;border:0;background:none;color:var(--text);display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer}
.home-site .menu-trigger span{display:block;width:18px;height:1.6px;border-radius:1px;background:currentColor}

/* Phone menu: Augmora's full-screen list. */
.fluid-mobile-menu{inset:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;margin:0;border:0;overflow:auto;overscroll-behavior:contain;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:var(--bg);color:var(--text);font-family:var(--brand)}
.fluid-mobile-menu::backdrop{background:rgba(0,0,0,.3)}
.fluid-mobile-menu .mobile-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px}
.fluid-mobile-menu .escalate-mark{display:inline-flex;align-items:center;gap:10px;margin:0;font-family:var(--brand);font-size:13px;font-weight:600;letter-spacing:.14em;line-height:1;white-space:nowrap;color:var(--text)}
.fluid-mobile-menu .mark-glyph{width:22px;height:auto;flex:none}
.fluid-mobile-menu .mark-name{display:block}
.fluid-mobile-menu .escalate-mark:focus{outline:none}
.fluid-mobile-menu .escalate-mark .enterprise-name{display:block;margin-top:4px;font:inherit;font-size:9px;font-weight:500;letter-spacing:.3em;color:var(--muted)}
.fluid-mobile-menu .escalate-mark .pearl-point{display:inline-block;width:.42em;height:.42em;margin:0 .16em;vertical-align:.08em;text-indent:1em;white-space:nowrap;background:var(--pearl-mark);box-shadow:0 .04em .08em var(--pearl-shadow)}
.fluid-mobile-menu a{text-decoration:none}
.fluid-mobile-menu #menu-close{width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;background:none;color:var(--text);cursor:pointer}
.fluid-mobile-menu #menu-close svg{width:22px;height:22px}
.fluid-mobile-menu nav{display:flex;flex-direction:column;margin-top:clamp(16px,4vh,40px)}
.fluid-mobile-menu nav a{display:block;text-align:right;padding:6px 0;font-size:clamp(24px,7.4vw,30px);line-height:40px;font-weight:600;letter-spacing:-.02em;color:var(--muted)}
.fluid-mobile-menu nav a:hover,.fluid-mobile-menu nav a[aria-current="page"]{color:var(--text)}
html.menu-open body{position:fixed;top:var(--menu-scroll-top,0px);left:0;right:0;width:100%;overflow:hidden}

/* Hero: the double-E mark, the eyebrow, the headline, then the button. */
.journey{position:relative;background:var(--journey-bg);isolation:isolate}
/* The sky (terrain, cord and travelling pearl) is pinned behind the hero and the companies; the page scrolls over it. */
.sky{position:sticky;top:0;height:100vh;height:100lvh;margin-bottom:-100vh;margin-bottom:-100lvh;z-index:0;pointer-events:none}
.sky canvas{display:block;width:100%;height:100%}
.hero{position:relative;z-index:1;overflow:hidden}
.hero-inner{position:relative;max-width:var(--page);margin:0 auto;padding:clamp(48px,8vh,104px) var(--gutter-r) clamp(64px,9vh,112px) var(--gutter);min-height:min(calc(100svh - var(--head)),max(780px,54vw));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
/* The mark: one graphite E and its mirror, each clipped at the centre line so the outer arms read as
   continuous bars, with the pearl in the gap between the middle arms. Units follow the 1077 x 841 source
   composition: each E is 718 wide (66.67%), its middle-arm tip anchor 538.5 from its left edge. */
/* The soft shadow under the whole mark is the film's, in the same proportion (30px and 50px on a 580px mark), so
   the mark looks the same when the page's takes over from the film's. */
.mark{--mark-w:clamp(200px,min(26vw,calc((100svh - var(--head)) * .34)),360px);position:relative;width:var(--mark-w);aspect-ratio:1077/841;margin-bottom:clamp(20px,2.6vw,36px);filter:drop-shadow(0 calc(var(--mark-w) * .0517) calc(var(--mark-w) * .0862) var(--mark-shadow))}
.mark-group{position:absolute;inset:0}
.mark img{position:absolute;top:0;display:block;max-width:none;user-select:none;-webkit-user-drag:none}
.mark-e{width:66.667%;height:auto}
/* Clipping half a pixel past the centre on the left hides any seam where the two halves meet. */
.mark-l{left:0;clip-path:inset(0 calc(25% - .5px) 0 0)}
.mark-r{left:33.333%;transform:scaleX(-1);clip-path:inset(0 25% 0 0)}
.mark .mark-pearl{left:40.437%;top:38.585%;width:19.127%;height:auto;opacity:0;filter:drop-shadow(0 3px 5px rgba(0,0,0,.22))}
/* The pearl belongs to the mark only during the intro; it then flies to the headline and becomes its full stop. */
.hero-intro .hero:not(.pearl-landed) .mark-pearl{opacity:1}
.hero-intro .hero:not(.pearl-landed) .stop{visibility:hidden}
/* Intro (3.2 s): the single E holds with the pearl at its middle arm, slides left as the pearl glides to
   the centre and the mirrored E appears, then both Es close around the pearl. The <head> script sets
   .hero-intro; home.js starts the animations once the images load, then flies the pearl to the full stop. */
.hero-intro .mark-group,.hero-intro .mark-e,.hero-intro .mark-pearl{animation-duration:3.2s;animation-fill-mode:both;animation-play-state:paused}
.hero-intro .mark-group{animation-name:mark-centre}
.hero-intro .mark-l{animation-name:e-close-l}
.hero-intro .mark-r{animation-name:e-close-r}
.hero-intro .mark-pearl{animation-name:pearl-centre}
@keyframes mark-centre{0%,16%{transform:translateX(33.333%);animation-timing-function:cubic-bezier(.65,0,.35,1)}50%,100%{transform:none}}
@keyframes pearl-centre{0%,16%{transform:translateX(-87.136%);animation-timing-function:cubic-bezier(.65,0,.35,1)}50%,100%{transform:none}}
@keyframes e-close-l{0%,53%{transform:translateX(-25%);clip-path:inset(0 0 0 0);animation-timing-function:cubic-bezier(.65,0,.35,1)}94%,100%{transform:none;clip-path:inset(0 calc(25% - .5px) 0 0)}}
@keyframes e-close-r{0%,28%{opacity:0;animation-timing-function:ease-out}50%,100%{opacity:1}0%,53%{transform:translateX(25%) scaleX(-1);clip-path:inset(0 0 0 0);animation-timing-function:cubic-bezier(.65,0,.35,1)}94%,100%{transform:scaleX(-1);clip-path:inset(0 25% 0 0)}}
/* The film: the page opens on the double-E intro rendered as a short film (scripts/film), full-bleed over the hero,
   the copy bottom-left and the controls bottom-right as on comparsa.us and augmora.org. home.js plays it, then
   fades it out and flies the pearl from the joined mark to the full stop. */
.film{position:absolute;inset:0;z-index:3;background:var(--film-bg) var(--film-poster) 77% 41%/cover no-repeat;color:var(--film-ink);transition:opacity .6s ease}
.film[hidden]{display:none}
.film.film-over{opacity:0;pointer-events:none}
/* The handover. The video goes at once, leaving the film's ground (the poster: the same frame without the mark),
   so the page's own mark can stand exactly where the film's stood and glide to its place (home.js) with no
   second mark fading behind it. The film's copy goes quickly; the hero's rises in once the gliding mark
   has cleared the headline, and is in place as the mark comes to rest. */
.film.film-over video{opacity:0}
.film.film-over .film-copy,.film.film-over .film-controls{opacity:0;transition:opacity .2s ease}
.hero.from-film .mark{z-index:4}
.hero.from-film .hero-inner>.eyebrow,.hero.from-film .hero-inner>h1,.hero.from-film .hero-inner>.lede,.hero.from-film .hero-inner>.actions{animation:copy-in .55s .45s cubic-bezier(.23,1,.32,1) both}
@keyframes copy-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:77% 41%}
.film-copy{position:absolute;left:var(--pad-l);bottom:clamp(72px,10vh,96px);max-width:min(740px,calc(100% - var(--pad-l) - var(--pad-r)));display:flex;flex-direction:column;align-items:flex-start;text-align:left}
.film-copy .eyebrow{color:var(--film-soft)}
.film-title{margin-top:14px;font-family:var(--brand);font-size:clamp(24px,3.2vw,46px);line-height:1.1;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.film-stop{display:inline-block;width:.3em;height:auto;margin-left:.02em;vertical-align:baseline;filter:drop-shadow(0 .03em .08em var(--pearl-shadow))}
.film-copy .lede{color:var(--film-lede)}
.film-controls{position:absolute;right:var(--pad-r);bottom:48px;display:flex;align-items:center;gap:10px}
.film-skip{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:0 18px;border-radius:4px;border:1px solid var(--film-edge);background:var(--film-control);color:var(--film-ink);font-family:var(--brand);font-size:12px;font-weight:500;letter-spacing:.065em;text-transform:uppercase;cursor:pointer}
.film-skip:hover{background:var(--film-control-hover)}
.film-round{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0;border-radius:50%;border:1px solid var(--film-edge);background:var(--film-control);color:var(--film-ink);cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.film-round:hover{background:var(--film-control-hover)}
.film-round .icon-play,.film.is-paused .film-round .icon-pause{display:none}
.film.is-paused .film-round .icon-play{display:inline}
/* The pearl in flight from the film to the full stop: home.js lays it over the film's own pearl (data-pearl-at and
   data-focus on the video give its place; data-focus repeats the video's object-position) and it travels above
   the fading film and the gliding mark, while the hero's mark shows without a pearl. */
.flyer{position:absolute;left:0;top:0;z-index:5;display:block;height:auto;max-width:none;pointer-events:none;will-change:transform;filter:drop-shadow(0 9px 15px var(--pearl-shadow))}
.flyer[hidden]{display:none}
.hero.from-film .mark-pearl{opacity:0!important}
/* Over the film the header loses its ground and the login becomes an outline. */
.film-playing .home-site .masthead{background:transparent;border-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.film-playing .home-site .desktop-nav>a.employee-login{background:var(--film-login);box-shadow:inset 0 0 0 1px var(--film-edge);color:var(--film-ink)}
.hero h1{position:relative;z-index:2;margin-top:clamp(10px,1vw,16px);font-family:var(--brand);font-size:clamp(34px,4.17vw,60px);line-height:1.1;font-weight:600;letter-spacing:.14em;text-transform:uppercase;text-wrap:balance}
.stop{display:inline-block;width:.3em;height:auto;margin-left:.02em;vertical-align:baseline;filter:drop-shadow(0 .03em .05em rgba(24,27,33,.22))}
.ripple{position:absolute;left:0;top:0;width:60px;height:60px;margin:-30px 0 0 -30px;border-radius:50%;border:1.5px solid var(--rule);opacity:0;pointer-events:none}
.lede{margin-top:clamp(16px,1.4vw,22px);max-width:46ch;font-size:18px;line-height:1.55;color:var(--muted);text-wrap:pretty}
.actions{margin-top:clamp(24px,2.4vw,36px);display:flex;flex-direction:column;align-items:center;gap:14px}
.motion-control{position:absolute;left:var(--gutter);bottom:18px;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0;background:none;border:0;font:inherit;font-size:13px;color:var(--muted);cursor:pointer}
.motion-control[hidden]{display:none}
.motion-control:hover{color:var(--text)}
.motion-control .icon-play,.motion-paused .motion-control .icon-pause{display:none}
.motion-paused .motion-control .icon-play,.intro-done .motion-control .icon-play{display:inline}
.intro-done .motion-control .icon-pause{display:none}

/* Sections, as on augmora.org */
.sec{padding:max(72px,5vw) var(--gutter-r) max(72px,5vw) var(--gutter);border-top:1px solid var(--border);background:var(--surface)}
.sec.alt{background:var(--alt)}
.head{display:flex;flex-direction:column;gap:max(12px,.833vw);max-width:max(680px,47.222vw)}
.home-site h2{font-family:var(--brand);font-size:max(38px,2.64vw);line-height:1.15;font-weight:600;letter-spacing:-.6px;text-wrap:balance}
.home-site h2.eyebrow{font-family:var(--ui);font-size:12px;line-height:1.5;font-weight:400;letter-spacing:.08em}
.sub{font-size:max(17px,1.181vw);line-height:1.412;color:var(--muted)}
.tag{font-family:var(--brand);font-size:max(19px,1.4vw);line-height:1.3;font-weight:500;letter-spacing:-.01em}
.cd{font-size:max(16px,1.111vw);line-height:1.5;color:var(--muted);max-width:58ch}
.card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding-top:6px}

/* Companies: one leg per company along the cord. On wide screens each leg holds still (sticky) while you
   scroll through it, and its three steps advance (journey.js sets data-active on the leg). */
.companies{position:relative;z-index:1;padding:max(72px,5vw) var(--gutter-r) max(48px,4vw) var(--gutter)}
.companies .head{position:relative;margin-bottom:max(24px,2vw);padding:0}
.leg{position:relative;min-height:190vh;--leg-fill:var(--leg-ink);--leg-on-fill:#fff}
.leg-comparsa{--leg-ink:#08201b;--leg-accent:#9fe3cd}
.leg-lumva{--leg-ink:#580e25;--leg-accent:#f3d9c9}
.leg-augmora{--leg-ink:#212630;--leg-accent:#cfd8e2}
.leg-inner{position:sticky;top:calc(var(--head) + 3vh);min-height:min(calc(100vh - var(--head) - 6vh),1000px);max-width:var(--page);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:center}
.leg-copy{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;gap:max(12px,.9vw);padding:clamp(24px,2.4vw,36px) clamp(24px,2.4vw,36px) clamp(24px,2.4vw,36px) calc(30px + clamp(24px,2.4vw,36px))}
/* The panel keeps the copy legible over the terrain. It starts 30px in, leaving a clear rail on the left
   where the cord and the travelling pearl run past each company's waypoint dot. */
.leg-copy::before{content:'';position:absolute;inset:0 0 0 30px;z-index:-1;border-radius:24px;background:var(--panel);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.leg-label{position:relative;display:flex;align-items:center;gap:12px;font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--soft-text)}
/* The cord passes through this dot; it lights once the travelling pearl reaches it. */
.leg-dot{position:absolute;left:calc(-30px - clamp(24px,2.4vw,36px) + 9.5px);top:50%;margin-top:-5.5px;width:11px;height:11px;border-radius:50%;background:var(--journey-bg);border:1.5px solid var(--dot-ring);transition:background .4s,border-color .4s,box-shadow .4s}
.leg.is-reached .leg-dot{background:var(--pearl);border-color:var(--muted);box-shadow:0 0 0 5px rgba(var(--journey-ink),.12)}
.leg-name{display:flex;align-items:center;gap:14px}
.leg-name img{width:48px;height:48px;border-radius:11px;box-shadow:0 4px 14px -6px rgba(0,0,0,.35)}
.leg-name h3{font-family:var(--brand);font-size:max(34px,2.8vw);line-height:1.1;font-weight:600;letter-spacing:-.02em}
.steps{list-style:none;margin:6px 0 4px;padding:0;display:flex;flex-direction:column;gap:2px;counter-reset:step}
/* The step in view takes the text colour; the others stay in the muted colour, which still meets the contrast
   guideline on the panel in both appearances (a dimmed opacity did not). */
.steps li{position:relative;padding:8px 0 8px 30px;display:flex;flex-direction:column;gap:2px;color:var(--muted);transition:color .35s ease}
.steps li::before{counter-increment:step;content:counter(step);position:absolute;left:0;top:9px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:600;border:1px solid var(--border);background:var(--surface);color:var(--muted);transition:background .35s,color .35s,border-color .35s}
.steps b{font-family:var(--brand);font-size:max(17px,1.2vw);font-weight:600;letter-spacing:-.01em}
.steps span{font-size:15px;line-height:1.45;color:var(--muted)}
.leg[data-active="0"] [data-step="0"],.leg[data-active="1"] [data-step="1"],.leg[data-active="2"] [data-step="2"]{color:var(--text)}
.leg[data-active="0"] [data-step="0"]::before,.leg[data-active="1"] [data-step="1"]::before,.leg[data-active="2"] [data-step="2"]::before{background:var(--leg-fill);border-color:var(--leg-fill);color:var(--leg-on-fill)}

/* Devices: drawn in each company's own colours. Each shows one view per step. */
.device{margin:0;justify-self:center;position:relative}
.phone{width:clamp(230px,20vw,290px);aspect-ratio:9/19;padding:9px;border-radius:44px;background:linear-gradient(160deg,#2a2f36 0%,#0d1014 45%,#22272e 100%);box-shadow:0 0 0 1px var(--edge),0 50px 90px -40px rgba(0,0,0,.55)}
.browser{width:min(520px,100%);aspect-ratio:16/11;padding:0;border-radius:14px;background:var(--surface);box-shadow:0 0 0 1px var(--border),0 50px 90px -40px rgba(0,0,0,.4);overflow:hidden}
/* The screen fills the device by absolute insets (the phone's 9px bezel), not by height:100%: Safari resolves a
   percentage height against an aspect-ratio box as auto, which clipped the views to the app bar. */
.screen{position:absolute;inset:9px;overflow:hidden;border-radius:36px;background:var(--leg-ink);color:#fff;font-family:var(--brand)}
.browser .screen{inset:0;border-radius:0;background:var(--alt);color:var(--text)}
/* Each view is a screenshot of the app, swapped as the steps advance (data-active on the leg). */
.browser-bar{display:flex;align-items:center;gap:7px;height:40px;padding:0 14px;background:var(--soft);border-bottom:1px solid var(--border)}
.browser-bar i{width:10px;height:10px;border-radius:50%;background:var(--border)}
.browser-bar span{flex:1;max-width:240px;margin:0 auto;height:24px;border-radius:6px;background:var(--surface);font:12px/24px var(--ui);text-align:center;color:var(--muted)}
.view{position:absolute;inset:0;opacity:0;transform:translateY(14px);transition:opacity .45s ease,transform .55s cubic-bezier(.23,1,.32,1)}
.browser .view{top:40px;height:calc(100% - 40px)}
.screen img{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
.leg[data-active="0"] .view-0,.leg[data-active="1"] .view-1,.leg[data-active="2"] .view-2{opacity:1;transform:none}

/* About */
.about .inner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:end}
.about-links{display:flex;flex-wrap:wrap;gap:4px 26px;margin-top:6px;font-size:15px}
.about-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:5px}
.about-links a:hover{text-decoration-color:currentColor}
.contact{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.contact .mail{font-family:var(--brand);font-size:max(20px,1.4vw);font-weight:500;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--rule);text-underline-offset:6px}
.contact .mail:hover{text-decoration-color:currentColor}

/* Footer: the shared footer in the homepage's style. */
.home-site .site-footer{padding:clamp(56px,6vw,88px) var(--pad-r) 32px var(--pad-l);background:var(--surface);color:var(--text);border-top:1px solid var(--border);font-family:var(--ui)}
.home-site .footer-top{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:40px}
.home-site .footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.home-site .footer-brand>p{font-size:15px;line-height:1.6;color:var(--muted)}
.home-site .site-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:15px}
.home-site .site-footer nav>p{margin-bottom:10px;font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--soft-text)}
.home-site .site-footer nav>a{display:inline-flex;align-items:center;gap:10px;min-height:40px}
.home-site .site-footer a:hover{color:var(--muted)}
.home-site .footer-socials{display:flex;gap:4px;margin:-2px 0 6px -11px}
.home-site .footer-socials a{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}
.home-site .social-icon{width:18px;height:18px}
.home-site .footer-company-social .social-icon{width:16px;height:16px}
.home-site .footer-bottom{margin-top:48px;padding-top:24px;border-top:1px solid var(--border);display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;font-size:13px;color:var(--muted)}
.home-site .footer-bottom nav{flex-direction:row!important;flex-wrap:wrap;gap:0 24px!important}
.home-site .footer-bottom nav>a{min-height:44px}

@media(prefers-color-scheme:dark){
  .leg{--leg-fill:var(--leg-accent);--leg-on-fill:var(--leg-ink)}
  /* The graphite mark and the pearl pick up a faint rim so they read against the dark ground. */
  .mark-e,.home-site .mark-glyph,.fluid-mobile-menu .mark-glyph{filter:drop-shadow(0 0 1px rgba(255,255,255,.18))}
  .stop,.mark .mark-pearl{filter:drop-shadow(0 .03em .08em rgba(0,0,0,.6))}
}
/* Wide screens (large monitors, or a browser zoomed out): the hero scales with the viewport instead of
   stopping at the 1296px page, so the first screen still reads as one composition. */
@media(min-width:1600px){
  .mark{--mark-w:clamp(360px,min(22.5vw,calc((100svh - var(--head)) * .34)),640px)}
  .hero h1{font-size:clamp(60px,3.75vw,84px)}
  .actions .btn{font-size:max(13px,.6vw);min-height:max(52px,2.4vw);min-width:max(236px,11vw);padding:0 max(23px,1.1vw)}
}
@media(max-width:1100px){
  .home-site .desktop-nav{display:none}
  .home-site .mobile-navigation{display:flex;align-items:center;gap:4px;margin-left:auto}
  /* Icon only: the link text stays as the accessible name. */
  .home-site .mobile-explore{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:0;color:var(--text)}
  .home-site .mobile-explore .account-icon{width:22px;height:22px}
  .home-site .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-site .footer-brand{grid-column:1/-1}
}
@media(max-width:860px){
  :root{--head:64px}
  .home-site .masthead{gap:12px}
  .home-site .escalate-mark{font-size:13px;gap:10px}
  .home-site .mark-glyph{width:22px}
  .hero-inner{min-height:0;padding-block:40px 32px}
  .mark{--mark-w:min(56vw,240px)}
  .hero h1{font-size:clamp(22px,6vw,34px)}
  .lede{font-size:17px}
  .actions{width:100%}
  .actions .btn{width:100%;max-width:340px}
  .motion-control{position:static;margin-top:6px}
  .film-copy{bottom:96px}
  .film-controls{right:auto;left:var(--pad-l);bottom:24px}
  .film-skip{padding:0 14px}
  .about .inner{grid-template-columns:1fr}
  /* Phones: legs flow normally (no sticky hold); the device follows the copy. */
  .leg{min-height:0;padding-block:36px}
  .leg-inner{position:static;min-height:0;grid-template-columns:1fr;gap:28px}
  .leg-copy{padding:20px 16px 20px 46px}
  .leg-copy::before{border-radius:18px}
  .leg-dot{left:-36.5px}
  .phone{width:min(56vw,220px)}
}
@media(max-width:480px){
  .home-site .footer-top{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .motion-control,.film,.flyer{display:none!important}
  .mark *{animation:none!important}
  .steps li,.view,.leg-dot{transition:none}
  .btn,.btn svg{transition:none}
}
@media(max-width:480px){
  /* The smallest phones keep the login as the icon alone. */
  .home-site .mobile-navigation .employee-login{min-width:44px;padding:0;font-size:0;justify-content:center}
}
