/* The glow sketch (2026-11-21, owner's reference): shown only with ?look=glow, which puts .ex-glow on <html>.
   The hero's sky becomes night over a lit planet edge that opens into the page's white (enterprise-sky.js "glow"), with
   Q small on the horizon; the globe section becomes light (navy dots on paper). Everything here is scoped to .ex-glow,
   so the page without the switch is unchanged. */

/* ---- hero ---- */
.ex-hero__q { display: none; }
.ex-glow .ex-hero__sky { background: linear-gradient(180deg, #071233 0%, #0b2a8a 40%, #2563f5 52%, #c9d8fb 68%, #eef3fd 82%, #fff 100%); }
/* Q: a small accent on the top corner of the changing word (placed by enterprise-hero-q.js) */
.ex-glow .ex-hero__q { display: block; position: absolute; left: 0; top: 0; width: 40px; height: 40px; pointer-events: none; opacity: 0; transition: opacity .6s ease; z-index: 2; }
.ex-glow .ex-hero__q.is-on { opacity: 1; }
.ex-glow .ex-hero__q .ex-qorb { display: block; width: 100%; height: 100%; transform: scale(.55); transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.ex-glow .ex-hero__q.is-on .ex-qorb { transform: none; }

/* the opening (2026-11-21; enterprise-look.js adds .ex-opening, enterprise.js runs it): the hero starts as the page's white
   (the sky shader begins white, so it shows at once, without its fade); the nav waits for the light; the divider lines
   draw up from the hero's foot (.ex-opening-lines). When the opening ends, .ex-opening goes and everything is as before. */
.ex-opening .ex-hero__sky:not(.is-static) { transition: none; }
.ex-opening .ex-nav, .ex-opening [data-hero-title], .ex-opening [data-hero-copy], .ex-opening [data-hero-fade] { opacity: 0; }
.ex-opening .ex-hero__ticks i { transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
.ex-opening .ex-hero__ticks i:nth-child(2) { transition-delay: .12s; }
.ex-opening .ex-hero__ticks i:nth-child(3) { transition-delay: .06s; }
.ex-glow.ex-opening .ex-hero.ex-ruled::before { transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1.3s cubic-bezier(.16, 1, .3, 1); }
.ex-opening.ex-opening-lines .ex-hero__ticks i, .ex-glow.ex-opening.ex-opening-lines .ex-hero.ex-ruled::before { transform: none; }
/* text reveals to compare (2026-11-21, owner: the usual line rise looks generic): ?text=light | develop | condense.
   None of them slides the words, so the headline's line masks are opened while they play (blur and glow need the room). */
.ex-opening.ex-text-light .ex-hl, .ex-opening.ex-text-develop .ex-hl, .ex-opening.ex-text-condense .ex-hl { overflow: visible; }
/* light: each line is uncovered by a soft front that spreads out from its middle, as the sky's light does */
/* the text reveal picker (glow sketch only): the sky picker's look, at the hero's bottom left */
.ex-skypick.ex-textpick { right: auto; left: calc(var(--rail, 24px) + 16px); }
@media (max-width: 900px) { .ex-skypick.ex-textpick { left: 12px; right: 12px; bottom: 60px; } }
/* (two edges, one from each side, kept where both are open, so nothing shows before the front starts) */
.ex-lit { --r: 70%;
  -webkit-mask-image: linear-gradient(90deg, transparent calc(50% - var(--r)), #000 calc(64% - var(--r))), linear-gradient(270deg, transparent calc(50% - var(--r)), #000 calc(64% - var(--r)));
  mask-image: linear-gradient(90deg, transparent calc(50% - var(--r)), #000 calc(64% - var(--r))), linear-gradient(270deg, transparent calc(50% - var(--r)), #000 calc(64% - var(--r)));
  -webkit-mask-composite: source-in; mask-composite: intersect; }
/* the word: no glow, the same white as the rest of the headline (owner, 2026-11-21); it flips over to the next one */
.ex-glow .ex-verb, .ex-glow .ex-verb__word { background: none; -webkit-text-fill-color: currentColor; filter: none; text-shadow: none; color: inherit; }
.ex-glow .ex-verb { perspective: 700px; }
.ex-glow .ex-verb__word { transform-origin: 50% 55%; backface-visibility: hidden; }
.ex-glow .ex-verb__word.is-out { opacity: 0; transform: rotateX(88deg); filter: none; transition-duration: .24s; transition-timing-function: cubic-bezier(.5, 0, .9, .4); }
.ex-glow .ex-verb__word.is-entering { opacity: 0; transform: rotateX(-88deg); filter: none; }
.ex-glow .ex-verb__word.is-in { transition: opacity .2s ease, transform .5s cubic-bezier(.2, 1.4, .4, 1); }
/* the email box sits on the pale part of the light: light glass, navy text, a navy button */
.ex-glow .ex-hero .ex-quick { border-color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 24px 48px -24px rgba(20, 60, 170, .45); }
.ex-glow .ex-hero .ex-quick:focus-within { border-color: #fff; }
.ex-glow .ex-hero .ex-quick__input { color: var(--deep); }
.ex-glow .ex-hero .ex-quick__input::placeholder { color: rgba(15, 34, 48, .5); }
.ex-glow .ex-hero .ex-quick__go { background: var(--deep); color: #fff; }
.ex-glow .ex-hero .ex-quick__go::before { background: #1d4a62; }
.ex-glow .ex-quick__note { color: var(--deep-2); }
@media (max-width: 900px) {
  .ex-glow .ex-hero { justify-content: center; padding-bottom: 6vh; }
}

/* ---- the globe, light ---- */
.ex-glow .ex-stage-wrap--globe { background: var(--day); }
.ex-glow #change .ex-globe__cells { border-color: var(--line-light); }
.ex-glow #change .ex-globe__cells li + li { border-left-color: var(--line-light); }
.ex-glow #change .ex-globe__cells li::before { background: var(--deep); }
.ex-glow #change .ex-globe__cells svg { stroke: var(--deep); }
.ex-glow #change .ex-globe__cells b { color: var(--deep); }
.ex-glow #change .ex-globe__cells p { color: var(--deep-2); }
.ex-glow #change .ex-globe__cells .ex-num { color: var(--deep-3); }
.ex-glow #change .ex-globe__cells li.is-on .ex-num { color: var(--deep); }

.ex-glow #change .ex-gtool { border-color: var(--line-light); background: #fff; box-shadow: 0 6px 16px -10px rgba(15, 34, 48, .35); }
.ex-glow #change .ex-gtool.is-active { border-color: rgba(15, 34, 48, .5); box-shadow: 0 0 0 4px rgba(15, 34, 48, .06), 0 10px 22px -10px rgba(15, 34, 48, .45); }
.ex-glow #change .ex-gicon { border-color: var(--line-light); background: #fff; color: var(--deep); box-shadow: 0 6px 16px -10px rgba(15, 34, 48, .35); }
.ex-glow #change .ex-gcall { border-color: rgba(15, 34, 48, .2); background: #fff; color: var(--deep-2); }
.ex-glow #change .ex-gcall.is-key { border-color: var(--deep); color: var(--deep); box-shadow: 0 10px 22px -12px rgba(15, 34, 48, .45); }
.ex-glow #change .ex-gnote { --c: rgba(15, 34, 48, .55); background-color: #fff; box-shadow: 0 10px 24px -14px rgba(15, 34, 48, .4); }
.ex-glow #change .ex-gnote b { color: var(--deep); }
.ex-glow #change .ex-gnote span { color: var(--deep-2); }

/* the morning summary the globe gathers into: navy on paper */
.ex-glow #change .ex-summary li { border-top-color: rgba(15, 34, 48, .1); }
.ex-glow #change .ex-summary__t, .ex-glow #change .ex-summary--tally .ex-summary__t { color: var(--deep); }
.ex-glow #change .ex-summary__s, .ex-glow #change .ex-summary--tally .ex-summary__s { color: var(--deep-2); border-color: rgba(15, 34, 48, .2); }
.ex-glow #change .ex-summary__n, .ex-glow #change .ex-summary__time { color: var(--deep-3); }
.ex-glow #change .ex-summary em { color: var(--deep-2); }
.ex-glow #change .ex-summary li.is-held .ex-summary__t, .ex-glow #change .ex-summary li.is-held .ex-summary__time, .ex-glow #change .ex-summary li.is-held .ex-summary__s { color: var(--deep); }
.ex-glow #change .ex-summary li.is-held em { color: var(--deep); }
.ex-glow #change .ex-summary--tally li:not(:last-child)::after { background: linear-gradient(90deg, rgba(15, 34, 48, .3), rgba(15, 34, 48, .1)); }
.ex-glow #change .ex-summary--night { background: linear-gradient(90deg, rgba(15, 34, 48, .06), rgba(15, 34, 48, .22) 12%, rgba(15, 34, 48, .22) 88%, rgba(15, 34, 48, .06)) 0 calc(var(--tl) - .5px) / 100% 1px no-repeat; }
.ex-glow #change .ex-summary--night::before, .ex-glow #change .ex-summary--night::after { color: var(--deep-3); }
.ex-glow #change .ex-summary--night .ex-summary__b { background: #fff; box-shadow: 0 0 0 1px var(--line-light), 0 8px 18px -10px rgba(15, 34, 48, .4); }
.ex-glow #change .ex-summary--night li.is-held .ex-summary__b { box-shadow: 0 0 0 1px var(--deep), 0 8px 20px -8px rgba(15, 34, 48, .45); }
@media (max-width: 900px) {
  .ex-glow #change .ex-summary--night { background: none; }
}

/* the subtitle sits on the azure band: white, as in the reference */
.ex-glow .ex-hero__sub { color: rgba(255, 255, 255, .9); }

/* full screen (owner, 2026-11-21): the glow fills the whole hero, behind the nav and past the side lines */
.ex-glow .ex-hero__sky { top: 0; left: 0; width: 100%; height: 100%; }
.ex-glow .ex-hero { background: #fff; }
/* the dividers (owner, 2026-11-21): no nav lines over the hero's dark part; they appear once the nav reaches its white
   part (where the nav turns light) and join the hero's side lines, which rise from its foot fading in at their tops */
.ex-glow .ex-nav:not(.is-light)::after { opacity: 0; }
.ex-glow .ex-nav::after { transition: opacity .4s ease, background-color .4s ease; }
.ex-glow .ex-hero.ex-ruled { --rule: var(--line-light); }
.ex-glow .ex-hero.ex-ruled::before { display: block; top: 64%; border-top: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%); mask-image: linear-gradient(to bottom, transparent, #000 70%); }
@media (max-width: 900px) { .ex-glow .ex-hero.ex-ruled::before { display: none; } }
/* the hero's lower, white part: an empty marker the nav uses to switch to its light style */
.ex-hero__lightzone { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; pointer-events: none; }
/* three short divider lines rising from the hero's foot, at the heights the owner drew; each fades out at its top */
.ex-hero__ticks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ex-hero__ticks i { position: absolute; bottom: 0; width: 1px; background: linear-gradient(to top, var(--line-light) 35%, rgba(15, 34, 48, 0)); }
.ex-hero__ticks i:nth-child(1) { left: 17.3%; height: 16.5%; }
.ex-hero__ticks i:nth-child(2) { left: 49.4%; height: 4.5%; }
.ex-hero__ticks i:nth-child(3) { left: 79.7%; height: 13.8%; }
@media (max-width: 900px) { .ex-hero__ticks { display: none; } }

/* the agents that visit Q beside the verb (enterprise-hero-q.js): each in its own colour, with its role underneath */
.ex-agents { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* agents fly in and out (Web Animations, curved paths, no fading): visible only while on a visit */
.ex-agent { position: absolute; left: 0; top: 0; width: 40px; height: 40px; visibility: hidden; }
.ex-agent.is-in { visibility: visible; }
.ex-agent__body { display: block; width: 100%; height: 100%; will-change: transform; }
.ex-agent .ex-qorb { display: block; width: 100%; height: 100%; }
.ex-agent__name { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -2px); font-size: 11px; letter-spacing: .01em; white-space: nowrap; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 8px rgba(4, 16, 48, .5); }
/* the step its workflow is at, beside the name (the same word as in the headline) */
.ex-agent__name em { font-style: normal; color: rgba(255, 255, 255, .55); }
/* phones: the headline wraps and there is no clear space by the word, so only Q is there */
@media (max-width: 900px) { .ex-agents { display: none; } }
/* a message between Q and an agent: a small glowing pulse in the sender's colour */
.ex-agent-msg { position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff 0 25%, rgba(var(--tint, 255, 255, 255), .95) 45%, rgba(var(--tint, 255, 255, 255), 0) 72%);
  box-shadow: 0 0 10px 2px rgba(var(--tint, 255, 255, 255), .55); }

/* a fainter pulse for information Q receives between visits */
.ex-agent .ex-qorb { transform-origin: 50% 50%; }
.ex-agent-msg--faint { width: 5px; height: 5px; opacity: .7; box-shadow: 0 0 8px 1px rgba(var(--tint, 255, 255, 255), .4); }
