/* ============================================================
   DXHero website · Phase 2 styles
   Loaded after pages.css, on Phase 2 pages only. Uses the Phase 1
   tokens, base and components; adds nothing to Phase 1 pages.
   ============================================================ */

/* ======================= Join us (join-us.html) =======================
   Warmer than the service pages, and every section laid out differently: two big numbers, three in a
   row, a wheel of values, notes of different sizes on one line, a close on white.
   Shares the About helpers (.ab-col reading column, .ab-head section head). */

.jn-photo { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--c-wash); }
.jn-photo img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.jn-photo__ph, .jn-face__ph { display: grid; place-items: center; block-size: 100%; padding: var(--sp-3); text-align: center; color: var(--c-muted); background: repeating-linear-gradient(45deg, var(--c-wash) 0 10px, #ECEBF6 10px 11px); }
.jn-intro { margin-block-start: var(--sp-6); }
.jn-intro__lede { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--c-ink); }

/* faces: a row of portraits, slightly offset for a less formal feel */
.jn-faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); }
.jn-face { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-wash); }
.jn-face:nth-child(even) { transform: translateY(1.5rem); }
.jn-face img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.jn-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); margin: calc(var(--sp-6) + 1.5rem) 0 0; }
.jn-facts > div { padding-block-start: var(--sp-3); border-block-start: 1px solid var(--c-line); }
.jn-facts dt { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; letter-spacing: var(--tr-stat); color: var(--c-tag); }
.jn-facts dd { margin: var(--sp-2) 0 0; color: var(--c-body); font-size: var(--fs-small); }
.jn-quote figcaption .quote__ph { inline-size: 2.75rem; block-size: 2.75rem; }

/* working here: three in a row, each under an outlined number */
.jn-trio { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6) var(--grid-gap); }
.jn-trio__item { display: grid; align-content: start; gap: var(--sp-3); padding-block-start: var(--sp-4); border-block-start: 2px solid var(--c-primary); }
.jn-trio__n { font: 700 clamp(3.5rem, 2.4rem + 4vw, 6rem)/0.9 var(--font-display); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px var(--c-tag); }
.jn-trio__title { margin: var(--sp-2) 0 0; font: 600 clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem)/1.15 var(--font-display); letter-spacing: -0.015em; color: var(--c-ink); }
.jn-trio__text { margin: 0; max-inline-size: 22rem; font-size: var(--fs-body); line-height: 1.55; color: var(--c-body); }
@media (max-width: 760px) { .jn-trio { grid-template-columns: 1fr; } }

/* working here: outlined numbers, a primary rule over each column */
.jn-workband .jn-trio { margin-block-start: var(--sp-7); }
.jn-workband .jn-trio__item { transition-delay: calc(var(--i) * 120ms); }
.jn-workband .jn-trio__n { font-size: clamp(4.5rem, 3rem + 5vw, 8rem); }

/* who fits: four notes of different sizes (--h) standing on one line. Square white notes with a small
   indigo marker on top. Two per row on tablets, one per row on phones. */
.jn-notes { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; grid-template-columns: 1.15fr 0.9fr 1.1fr 0.95fr; gap: var(--sp-5); align-items: end; }
.jn-card { position: relative; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-3); min-block-size: var(--h, 12rem); padding: var(--sp-6) var(--sp-5) var(--sp-5);
  background: #FFFFFF; border: 1px solid var(--c-line); box-shadow: 0 24px 48px -32px rgba(38, 25, 86, 0.45); transition-delay: calc(var(--i, 0) * 90ms); }
.jn-card::before { content: ""; position: absolute; inset-block-start: -7px; inset-inline-start: calc(50% - 7px); inline-size: 14px; block-size: 14px; background: var(--c-primary); }
.jn-card__n { font: 500 var(--fs-small)/1 var(--font-mono); letter-spacing: 0.08em; color: var(--c-tag); }
.jn-card__title { margin: 0; font: 600 clamp(1.125rem, 1rem + 0.45vw, 1.375rem)/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--c-ink); }
@media (max-width: 1000px) { .jn-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-5); } }
@media (max-width: 600px) { .jn-notes { grid-template-columns: 1fr; } .jn-card { min-block-size: 0; } }

/* values: a wheel. Without the script, a plain list. With it (.is-live), the section is a tall track;
   the frame stays in view while the values turn past on a large arc (positions set by the page script). */
.jn-wheel__list { list-style: none; margin: var(--sp-5) 0 0; padding: 0; }
.jn-wheel__ring { display: none; }
.jn-wv__row { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--sp-3); align-items: baseline; padding-block: var(--sp-4); border-block-start: 1px solid var(--c-line); }
.jn-wv__dot { display: none; }
.jn-wv__n { font: 500 var(--fs-small)/1 var(--font-mono); color: var(--c-tag); }
.jn-wv__word { margin: 0; font: 700 clamp(2rem, 1.3rem + 2.6vw, 3.5rem)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--c-primary); }
.jn-wv__text { margin: var(--sp-2) 0 0; max-inline-size: 30rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-body); }

.jn-wheel.is-live { padding: 0; block-size: calc(100svh + (var(--n) - 1) * 46svh); }   /* about a quarter shorter than before */
.jn-wheel.is-live .jn-wheel__pin { position: sticky; inset-block-start: 0; block-size: 100svh; overflow: hidden; }
/* the heading sits inside the wheel, left of the arc, level with the value at the middle; on phones it stays on top */
.jn-wheel.is-live .jn-wheel__head { position: absolute; z-index: 1; inset-inline: 0; inset-block-start: 54%; translate: 0 -50%; }
.jn-wheel.is-live .jn-wheel__head > * { max-inline-size: var(--room, 20rem); }
.jn-wheel.is-live .jn-wheel__head .section-title { font-size: clamp(2rem, 1.1rem + 2vw, 3.25rem); line-height: 1.05; }
.jn-wheel.is-live.is-narrow .jn-wheel__head { inset-block-start: 0; translate: none; padding-block-start: calc(var(--header-h, 4.5rem) + var(--sp-5)); }
.jn-wheel.is-live.is-narrow .jn-wheel__head > * { max-inline-size: none; }
.jn-wheel.is-live .jn-wheel__ring { display: block; position: absolute; inset: 0; inline-size: 100%; block-size: 100%; overflow: visible; }
.jn-wheel.is-live .jn-wheel__ring circle { fill: none; stroke: var(--c-line); stroke-width: 1.5; }
.jn-wheel.is-live .jn-wheel__list { margin: 0; }
.jn-wheel.is-live .jn-wv { position: absolute; inset-block-start: 0; inset-inline-start: 0; transform-origin: 0 0; will-change: transform, opacity; }
.jn-wheel.is-live .jn-wv__row { display: flex; align-items: center; gap: var(--sp-4); padding: 0; border: 0; transform: translateY(-50%); }
.jn-wheel.is-live .jn-wv__dot { display: block; flex: none; inline-size: 8px; block-size: 8px; margin-inline-start: -4px; background: var(--c-muted); }
.jn-wheel.is-live .jn-wv.is-on .jn-wv__dot { inline-size: 12px; block-size: 12px; margin-inline-start: -6px; background: var(--c-primary); }
.jn-wheel.is-live .jn-wv__n { font: 500 clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem)/1 var(--font-mono); color: var(--c-muted); }
.jn-wheel.is-live .jn-wv.is-on .jn-wv__n { color: var(--c-ink); }
.jn-wheel.is-live .jn-wv__body { opacity: var(--on, 0); inline-size: min(34rem, 52vw); margin-inline-start: var(--sp-5); }
.jn-wheel.is-live .jn-wv__word { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem); }
.jn-wheel.is-live .jn-wv__text { margin-block-start: var(--sp-2); }
@media (max-width: 700px) {
  .jn-wheel.is-live .jn-wv__body { inline-size: 58vw; margin-inline-start: var(--sp-3); }
  .jn-wheel.is-live .jn-wv__word { font-size: clamp(2rem, 1.2rem + 4vw, 2.75rem); }
  .jn-wheel.is-live .jn-wv__text { font-size: var(--fs-body); }
}

/* join DXHero: one button under the paragraph, out to the open roles on LinkedIn */
.jn-join__cta { margin-block-start: var(--sp-5); }
/* who fits: one button under the notes, out to the open roles on LinkedIn */
.jn-fits__cta { display: flex; justify-content: center; margin-block-start: var(--sp-7); }

@media (max-width: 760px) {
  .jn-photo { aspect-ratio: 4 / 3; }
  .jn-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jn-face:nth-child(even) { transform: none; }
  .jn-facts { grid-template-columns: minmax(0, 1fr); }
}

/* ============ Vision & Mission (vision-mission.html) ============
   .px is the About pages' opening (shared by Company, Vision & Mission, Join us, Partner Program):
   one screen; on the first downward scroll js/hero-beams.js holds the page and plays the word
   crumbling into beams (here PRECISION, converging on one point near the bottom), then glides on. .pv continues
   on the same ground: a line drops from that point into the vision and mission. Then the three values
   on paper. Without JS the word simply stands on its own; with prefers-reduced-motion the
   finished shape is drawn once and nothing is held. */
.pv-ground { background: linear-gradient(180deg, var(--dx-indigo-950) 0%, #1B1350 55%, var(--dx-indigo-800) 100%); color: var(--c-on-dark-body); }

.px { position: relative; block-size: 100svh; background: linear-gradient(180deg, var(--dx-indigo-950) 0%, #1B1350 100%); color: var(--c-on-dark-body); }
.pv-ground .px { background: none; }
.px-pin { position: sticky; inset-block-start: 0; block-size: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.px-canvas { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.px-top { position: relative; padding-block-start: calc(var(--header-h, 5rem) + var(--sp-6)); }
.px-copy { position: relative; display: grid; place-content: center; justify-items: center; gap: var(--sp-4); text-align: center; padding-inline: var(--gutter); }
/* the rest of the H1 (": About DXHero"): read by search engines and screen readers, not shown */
.px-word__more { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.px-word { margin: 0; font: 700 clamp(3.25rem, 0.6rem + 12.4vw, 12rem)/0.9 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--c-on-dark); }
.px-sub { margin: 0; font: 500 var(--fs-lead)/1.4 var(--font-body); color: var(--c-on-dark-body); }
.px-hint { position: relative; margin: 0 auto var(--sp-6); font: 500 var(--fs-eyebrow)/1 var(--font-mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-on-dark-muted); }
.px-hint::after { content: ""; display: block; inline-size: 1px; block-size: 2.5rem; margin: var(--sp-3) auto 0; background: linear-gradient(var(--c-on-dark-muted), transparent); }

.pv { padding-block-start: 0; }
.pv-stem { display: block; inline-size: 2px; block-size: clamp(5rem, 12vw, 9rem); margin: 0 auto var(--sp-6); background: linear-gradient(#ECEAF8, var(--c-tag-on-dark)); }
/* the tagline: where the page glides to after the hero. It floats up from well below, slowly, starting
   once the glide has nearly arrived (the glide brings it into view, which is what starts the reveal) */
.pv { padding-block-end: clamp(3.5rem, 10vh, 6rem); }
/* one line from 760px up (the size follows the screen width so it always fits); it wraps on phones */
/* Type on the purple ground, three sizes only: the tagline is the largest (one line from 760px up, sized to
   the screen so it always fits, at most 42px); the Vision heading is the site's section title (28–40px);
   its paragraph is the site's lead (17–20px). */
/* vision (purple) and mission (white): one row each, heading in the left third, paragraph on the right,
   a fine rule above; stacked on phones */
.pv-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--grid-gap); row-gap: var(--sp-3); align-items: baseline; padding-block-start: var(--sp-5); border-block-start: 1px solid var(--c-line); }
.pv-row .section-title { margin: 0; }
.pv-row .lead { margin: 0; max-inline-size: 40rem; color: var(--c-body); }
.pv-row--dark { margin-block-start: clamp(5rem, 14vh, 8rem); border-block-start-color: var(--c-line-dark); }
.pv-row--dark .section-title { color: var(--c-on-dark); }
.pv-row--dark .lead { color: var(--c-on-dark-body); }
@media (max-width: 760px) { .pv-row { grid-template-columns: minmax(0, 1fr); } }
.pv-tagline { margin: 0 auto; text-align: center; font: 600 clamp(1.5rem, 2.8vw, 2.625rem)/1.15 var(--font-display); letter-spacing: -0.02em; color: var(--c-on-dark); text-wrap: balance; }
@media (min-width: 760px) { .pv-tagline { white-space: nowrap; } }
.js-motion .pv-tagline[data-reveal] { transition: opacity 1500ms var(--ease) 550ms, transform 1800ms cubic-bezier(0.16, 1, 0.3, 1) 550ms; }
.js-motion .pv-tagline[data-reveal]:not(.is-in) { transform: translateY(4.5rem); }
.pv-stem { transform-origin: top; transition: transform 900ms var(--ease); }
.js-motion .pv-stem[data-reveal]:not(.is-in) { opacity: 1; transform: scaleY(0); }

.pv-head { display: grid; gap: var(--sp-3); max-inline-size: 40rem; margin-block-end: var(--sp-6); }
.pv-values { list-style: none; margin: 0; padding: 0; border-block-start: 2px solid var(--c-primary); }
.pv-value { display: grid; grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 7fr); gap: var(--grid-gap); align-items: baseline; padding-block: var(--sp-5); border-block-end: 1px solid var(--c-line); }
.pv-value__n { font: 500 var(--fs-small)/1 var(--font-mono); color: var(--c-tag); }
.pv-value__title { margin: 0; font: 600 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1.15 var(--font-display); color: var(--c-ink); }
.pv-value__text { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-muted); max-inline-size: 34rem; }

@media (max-width: 700px) {
  .pv-value { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .pv-value__text { grid-column: 2; }
}

/* ============ Company (about.html, Phase 2) ============
   The Phase 1 hero headline now heads the first section: set large, second line in the tag blue. */
.ab-title { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.08; }
.ab-title .line { display: block; }
.ab-title .accent { color: var(--c-tag); }

/* ============ About pages hero · travel mode (js/hero-beams.js, data-land) ============
   The particles fall on into the next section on a fixed overlay, above the page and below the header.
   [data-px-hold] targets are held back (.is-held, set by the script only) until the particles land. */
.px-overlay { position: fixed; inset: 0; inline-size: 100vw; block-size: 100vh; pointer-events: none; z-index: 29; }   /* the header is 30 */
/* Company: the map waits for its centre */
.wm-hq { transition: opacity 400ms var(--ease); }
.ab-map.is-held .wm-hq, .ab-map.is-held .wm-city { opacity: 0 !important; transition: none; }
.ab-map.is-held .wm-arc { animation: none !important; }

/* ============ Contact form (pop-up dialog #dx-contact, js/contact-form.js) ============
   One dialog for every page; the partner version swaps its heading and adds Partner type.
   Dark indigo head, white form below. Square corners, fine rules, no icons: Close is a word. */
html.dxf-open { overflow: hidden; }
.dxf { inline-size: min(44rem, calc(100% - 2 * var(--gutter))); max-inline-size: none; max-block-size: calc(100dvh - 2rem);
  margin: auto; padding: 0; border: 0; background: var(--c-paper); color: var(--c-body); overflow: auto; }
.dxf::backdrop { background: rgba(14, 10, 42, 0.72); }
.dxf[open] { animation: dxf-in 320ms var(--ease); }
@keyframes dxf-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dxf[open] { animation: none; } }

.dxf__head { position: relative; display: grid; gap: var(--sp-2); padding: var(--sp-6) var(--sp-6) var(--sp-5);
  background: linear-gradient(180deg, var(--dx-indigo-950), #1B1350); color: var(--c-on-dark-body); }
.dxf__eyebrow { margin: 0; font: 600 var(--fs-eyebrow)/1.4 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-tag-on-dark); }
.dxf__title { margin: 0; font: 600 clamp(1.5rem, 1.15rem + 1.2vw, 2rem)/1.2 var(--font-display); color: var(--c-on-dark); text-wrap: balance; }
.dxf__sub { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: var(--c-on-dark-body); max-inline-size: 34rem; }
.dxf__close { position: absolute; inset-block-start: var(--sp-4); inset-inline-end: var(--sp-4); padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--c-line-dark); background: none; color: var(--c-on-dark); font: 500 var(--fs-eyebrow)/1 var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.dxf__close:hover, .dxf__close:focus-visible { border-color: var(--c-on-dark); }

/* the two versions */

.dxf__form { display: grid; gap: var(--sp-5); padding: var(--sp-6); }
.dxf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.dxf__field { display: grid; gap: var(--sp-2); min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.dxf__field > label, .dxf__field > legend { padding: 0; font: 600 var(--fs-small)/1.4 var(--font-body); color: var(--c-ink); }
/* required fields: an asterisk after the label (the input itself carries required for screen readers) */
.dxf__req { margin-inline-start: 0.2em; color: var(--c-primary); font-weight: 600; }
.dxf__key { margin: 0 0 var(--sp-4); font-size: var(--fs-small); color: var(--c-muted); }
.dxf__opt { margin-inline-start: var(--sp-2); font: 500 0.6875rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.dxf input[type="text"], .dxf input[type="email"], .dxf input[type="tel"], .dxf select, .dxf textarea {
  inline-size: 100%; min-block-size: 3rem; padding: 0.625rem 0.875rem; border: 1px solid var(--c-line); border-radius: 0;
  background: #FFFFFF; color: var(--c-ink); font: 400 var(--fs-body)/1.4 var(--font-body); }
.dxf textarea { resize: vertical; min-block-size: 6.5rem; }
.dxf ::placeholder { color: var(--c-muted); opacity: 0.8; }
.dxf input:focus-visible, .dxf select:focus-visible, .dxf textarea:focus-visible { outline: none; border-color: var(--c-tag); box-shadow: 0 0 0 3px rgba(52, 80, 224, 0.18); }
.dxf__phone { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); }
.dxf__phone select { border-inline-end: 0; }

/* two-way choices: square segments, the chosen one filled */
.dxf__seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dxf__seg--short { max-inline-size: 16rem; }
.dxf__seg label { position: relative; cursor: pointer; }
.dxf__seg input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.dxf__seg span { display: grid; place-items: center; min-block-size: 3rem; padding: 0.5rem 0.75rem; border: 1px solid var(--c-line);
  background: #FFFFFF; color: var(--c-ink); font: 500 var(--fs-small)/1.3 var(--font-body); text-align: center; transition: background-color 150ms, color 150ms, border-color 150ms; }
.dxf__seg label + label span { border-inline-start: 0; }
.dxf__seg input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-dark); }
.dxf__seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(52, 80, 224, 0.3); position: relative; z-index: 1; }

.dxf__consent { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start; font-size: var(--fs-small); line-height: 1.5; color: var(--c-body); cursor: pointer; }
.dxf__consent input { inline-size: 1.125rem; block-size: 1.125rem; margin: 0.15rem 0 0; accent-color: var(--c-primary); border-radius: 0; }

/* errors: shown only after Send, next to the field */
.dxf__err { display: none; margin: 0; font-size: 0.8125rem; line-height: 1.4; color: #B42318; }
.dxf__err.is-on { display: block; }
.dxf__field.is-invalid input, .dxf__field.is-invalid select, .dxf__field.is-invalid .dxf__seg span { border-color: #B42318; }

.dxf__fail { margin: 0; padding: var(--sp-3) var(--sp-4); border-inline-start: 3px solid #B42318; background: #FEF3F2; font-size: var(--fs-small); line-height: 1.5; color: #7A271A; }
.dxf__fail[hidden] { display: none; }
.dxf__fail a { color: inherit; text-decoration: underline; }
.dxf__form[aria-busy="true"] .btn { opacity: 0.6; cursor: progress; }
.dxf__hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.dxf__actions { display: flex; justify-content: flex-start; padding-block-start: var(--sp-2); border-block-start: 1px solid var(--c-line); }
.dxf__actions .btn { margin-block-start: var(--sp-4); }

/* sent */
.dxf__done { display: grid; gap: var(--sp-3); padding: var(--sp-7) var(--sp-6) var(--sp-6); }
.dxf__form[hidden], .dxf__done[hidden] { display: none; }
.dxf__done .dxf__eyebrow { color: var(--c-tag); }
.dxf__done .dxf__title { color: var(--c-ink); outline: none; }
.dxf__done .dxf__sub { color: var(--c-body); }

@media (max-width: 640px) {
  .dxf { inline-size: 100%; max-block-size: 100dvh; margin: auto 0 0; }
  .dxf__head { padding: var(--sp-5) var(--gutter) var(--sp-4); padding-inline-end: 6rem; }
  .dxf__form, .dxf__done { padding: var(--sp-5) var(--gutter); }
  .dxf__grid { grid-template-columns: 1fr; }
  .dxf__seg--short { max-inline-size: none; }
}

/* Company: quotes from our founder and from Datadog on a short dark band, one at a time, on a frosted
   glass panel. Portraits are circles (the only round elements on the site, by request). */
.qt__label { margin: 0 0 var(--sp-3); font: 500 var(--fs-eyebrow)/1 var(--font-mono); letter-spacing: var(--tr-eyebrow); text-transform: uppercase; color: var(--c-tag-on-dark); }
.qt__by { display: flex; align-items: center; gap: var(--sp-3); margin-block-start: var(--sp-4); font-size: var(--fs-small); color: var(--c-on-dark-muted); }
.qt__by::before { content: ""; flex: none; inline-size: 2rem; block-size: 1px; background: var(--c-tag-on-dark); }
.qt__by b { display: block; color: var(--c-on-dark); font-weight: 600; }
.qt-band { padding-block: var(--sp-7); }
.qt-band__in { max-inline-size: min(58rem, calc(100% - 2 * var(--gutter))); padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 30px 60px -30px rgba(5, 6, 30, 0.6); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.qt-band__track { display: grid; }
.qt-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); align-items: center; opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s 700ms; }
.qt-slide.is-on { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease) 150ms, visibility 0s; }
.qt-band__media img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.qt-band__fig { margin: 0; }
.qt-band__text { margin: 0; }
.qt-band__text p { margin: 0; text-indent: -0.42em; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.125rem, 0.98rem + 0.6vw, 1.5rem); line-height: 1.4; letter-spacing: var(--tr-section); color: var(--c-on-dark); text-wrap: pretty; }
/* the numbers: plain mono index, each with a hairline that fills while its quote is showing */
.qt-band__nav { display: flex; gap: var(--sp-4); margin-block-start: var(--sp-5); padding-inline-start: calc(8.5rem + clamp(1.5rem, 1rem + 2.5vw, 3.5rem)); }
.qt-band__dot { appearance: none; background: none; border: 0; padding: var(--sp-2) 0; cursor: pointer; font: 500 var(--fs-eyebrow)/1 var(--font-mono); letter-spacing: var(--tr-eyebrow); color: var(--c-on-dark-muted); }
.qt-band__dot span { display: block; inline-size: 3rem; padding-block-end: var(--sp-2); text-align: start; background: linear-gradient(var(--c-line-dark), var(--c-line-dark)) bottom / 100% 1px no-repeat; }
.qt-band__dot.is-on { color: var(--c-on-dark); }
.qt-band__dot.is-on span { background: linear-gradient(var(--c-tag-on-dark), var(--c-tag-on-dark)) bottom left / 0 1px no-repeat, linear-gradient(var(--c-line-dark), var(--c-line-dark)) bottom / 100% 1px no-repeat; animation: qt-fill var(--wait, 8s) linear forwards; }
.qt-band.is-paused .qt-band__dot.is-on span { animation: none; background-size: 100% 1px, 100% 1px; }
.qt-band__dot:hover { color: var(--c-on-dark); }
.qt-band__dot:focus-visible { outline: 1px solid var(--c-tag-on-dark); outline-offset: 4px; }
@keyframes qt-fill { to { background-size: 100% 1px, 100% 1px; } }
@media (max-width: 699px) {
  .qt-slide { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); align-items: start; }
  .qt-band__media { inline-size: 5.5rem; }
  .qt-band__nav { padding-inline-start: 0; }
}

/* ===== Vision & Mission, version B (vision-mission-b.html): vision + mission over the signal field on white ===== */
/* One screen tall; the field (js/vm-field.js) fills it and fades out toward the copy on the left. */
.vmf { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(4rem, 10vh, 7rem); }
.vm-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.vm-field canvas {
  display: block; inline-size: 100%; block-size: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 22%, rgba(0,0,0,.35) 44%, #000 64%), linear-gradient(to bottom, transparent 2%, #000 18%, #000 82%, transparent 98%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, transparent 22%, rgba(0,0,0,.35) 44%, #000 64%), linear-gradient(to bottom, transparent 2%, #000 18%, #000 82%, transparent 98%);
}
[dir="rtl"] .vm-field canvas { transform: scaleX(-1); }
.vmf__grid {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-8);
  min-block-size: max(36rem, calc(100vh - 2 * clamp(4rem, 10vh, 7rem)));
}
.vmf__block { max-inline-size: 30rem; padding-block-start: var(--sp-4); border-block-start: 1px solid var(--c-line); }
.vmf__block .section-title { margin: 0 0 var(--sp-3); }
.vmf__block .lead { margin: 0; color: var(--c-body); }
.vmf__block--end { max-inline-size: 34rem; }
/* pause control (WCAG 2.2.2) */
.vm-field__toggle {
  position: absolute; inset-block-start: var(--sp-4); inset-inline-end: var(--sp-4); z-index: 1;
  inline-size: 2rem; block-size: 2rem; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.7); border: 1px solid var(--c-line); color: var(--c-ink);
}
.vm-field__toggle:hover { border-color: var(--c-ink); }
.vm-field__toggle:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.vm-field__toggle span { inline-size: 8px; block-size: 10px; border-inline: 3px solid currentColor; }
.vm-field__toggle[aria-pressed="true"] span { inline-size: 0; block-size: 0; border-block: 5px solid transparent; border-inline-start: 8px solid currentColor; border-inline-end: 0; }
@media (max-width: 760px) {
  .vmf__grid { min-block-size: 0; gap: clamp(14rem, 60vw, 18rem); }     /* the field shows in the gap between the two */
  .vm-field canvas { -webkit-mask-image: none; mask-image: none; }   /* the script keeps the surface inside the gap */
}

/* ===== Vision & Mission, version C (vision-mission-c.html): vision + mission in two overlapping circles ===== */
/* Circles are a graphic here, like the values wheel on Join us; every control and box elsewhere stays square. */
.vmc { overflow: hidden; }
.vmc .eyebrow { margin-block-end: var(--sp-6); }
.vmc__stage { position: relative; container-type: inline-size; inline-size: min(100%, 74rem); aspect-ratio: 60 / 47; margin-inline: auto; }
.vmc__circle { position: absolute; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; }
.vmc__circle--vision {
  inline-size: 50%; inset-block-start: 0; inset-inline-start: 2%;
  background: radial-gradient(circle at 35% 30%, var(--dx-indigo-800), var(--dx-indigo-950) 75%);
}
.vmc__circle--mission {
  inline-size: 60%; inset-block-start: 21%; inset-inline-start: 40%;
  background: rgba(250, 249, 253, 0.62);
  -webkit-backdrop-filter: blur(28px) saturate(1.2); backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(38, 25, 86, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .vmc__circle--mission { background: #F7F6FB; } }
.vmc__copy { inline-size: 56%; }
.vmc__circle--vision .vmc__copy { inline-size: 58%; }
.vmc__title { margin: 0 0 0.6em; font: 600 clamp(1.375rem, 3.2cqi, 2.375rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.vmc__text { margin: 0; font-size: clamp(0.9375rem, 1.6cqi, 1.125rem); line-height: 1.6; }
.vmc__circle--vision .vmc__title { color: var(--c-on-dark); }
.vmc__circle--vision .vmc__text { color: var(--c-on-dark-body); }
.vmc__circle--mission .vmc__title { color: var(--c-ink); }
.vmc__circle--mission .vmc__text { color: var(--c-body); }
/* the mission circle rises in from lower right */
.js-motion .vmc__circle--mission[data-reveal]:not(.is-in) { transform: translate(3rem, 3rem); }
.js-motion .vmc__circle[data-reveal] { transition-duration: 1100ms; }
/* phones: the two stack, still overlapping */
@media (max-width: 640px) {
  .vmc__stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .vmc__circle { position: relative; inset: auto; }
  .vmc__circle--vision { inline-size: 100%; }
  .vmc__circle--mission { inline-size: 118%; align-self: flex-end; margin-block-start: -14%; margin-inline-end: -9%; }
  .vmc__copy, .vmc__circle--vision .vmc__copy { inline-size: 68%; }
  .vmc__circle--mission .vmc__copy { inline-size: 64%; }
  .vmc__title { font-size: 1.375rem; }
  .vmc__text { font-size: 0.875rem; line-height: 1.5; }
}
