/* Jobs Map dive — the Jobs step of the landing's "What KATCHUP opens up" scene.
   A phone showing the Jobs map sits where the Projects phone was; scrolling on
   opens its screen to the whole viewport, tilts the map into a 3D city and
   flies over it with roles pinned above the offices that posted them.
   Markup is built by jobs_map_dive.js; the panel only carries [data-jobs-map]. */

.jmd-layer, .jmd-hudbox {
  --jmd-surface: #fff;
  --jmd-ink: #111216;
  --jmd-muted: #70737a;
  --jmd-line: #e5e7eb;
  --jmd-red: var(--landing-red, #ed1c24);
  --jmd-ok: #0b8a60;
  --jmd-ok-soft: #dbf4ea;
}
/* The picture's pin for the journey's close on a narrow screen; only there. */
.jmd-pin-end { display: none; }
.jmd-words { display: none; }

.jmd-layer {
  position: absolute;
  left: 0;
  top: 0;
  /* Above the stage, whose film rises to z-index 10 while it fills the screen.
     The script drops it behind the stage while the Projects player is up. */
  z-index: 40;
  overflow: hidden;
  perspective: 1400px;
  pointer-events: none;
  color: var(--jmd-ink);
  contain: layout style;
}
.jmd-layer[hidden], .jmd-hudbox[hidden] { display: none; }
/* The scene's own progress values (set on #what-we-offer on every frame of a
   scroll, two of them eased by transitions) are handed down to everything
   inside it. Nothing in the picture or its copy uses them, yet their several
   hundred elements were restyled with each change. Held at fixed values here,
   they no longer change for these two, so the restyle stops at them. */
.jmd-layer, .jmd-hudbox {
  --company-offer-progress: 1;
  --company-offer-segment: 1;
  --company-jobs-blend: 0;
  --company-event-progress: 0;
  --company-event-copy-opacity: 1;
  --company-event-exit: 0;
  --company-event-media-opacity: 1;
  --company-event-entry: 0;
  --company-project-entry: 1;
  --company-project-copy-entry: 1;
}
/* The heads-up copy is a sheet of its own over the layer, so it stays on top
   while the picture drops behind the Projects player. */
.jmd-hudbox {
  position: absolute; left: 0; top: 0; z-index: 41; overflow: hidden;
  pointer-events: none; color: var(--jmd-ink); contain: layout style;
}

.jmd-tilt { position: absolute; inset: 0; }
/* Until the scene can draw, the window holds the map's picture (jobs_map_dive.js sets it). */
.jmd-window { position: absolute; inset: 0; background: #dce9f6 no-repeat; }
.jmd-window canvas { display: block; width: 100%; height: 100%; }
/* The scene fades in where nothing stood in for it while it was built. */
.jmd-window > :is(canvas, .jmd-labels) { transition: opacity var(--jmd-arrive, 0.5s) ease; }
.jmd-window.is-arriving > :is(canvas, .jmd-labels) { opacity: 0; transition: none; }
.jmd-labels { position: absolute; inset: 0; overflow: hidden; }
.jmd-bezel { position: absolute; left: 0; top: 0; }
.jmd-chrome { position: absolute; left: 0; top: 0; width: 390px; transform-origin: 0 0; color: #0a0a0a; }
.jmd-chrome svg { display: block; }

/* The phone's own UI, authored at 390pt wide and scaled with the screen. */
.jmd-time { position: absolute; left: 36px; top: 19px; font-size: 16px; font-weight: 700; }
.jmd-island { position: absolute; left: 50%; top: 12px; width: 122px; height: 35px; margin-left: -61px; border-radius: 20px; background: #000; }
.jmd-status { position: absolute; right: 30px; top: 21px; display: flex; align-items: center; gap: 6px; }
.jmd-status i { display: block; background: #0a0a0a; border-radius: 2px; }
.jmd-status .sig { width: 17px; height: 11px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.jmd-status .wifi { width: 15px; height: 11px; clip-path: polygon(50% 100%, 0 20%, 100% 20%); border-radius: 15px 15px 0 0; }
.jmd-status .bat { width: 24px; height: 12px; border-radius: 4px; }
.jmd-search { position: absolute; left: 14px; right: 14px; top: 58px; display: flex; gap: 10px; }
.jmd-field { flex: 1; height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 16px; border-radius: 22px; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / 10%); color: #a1a1aa; font-size: 15px; }
.jmd-round { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / 10%); }
.jmd-chips { position: absolute; left: 14px; top: 112px; display: flex; gap: 8px; white-space: nowrap; }
.jmd-chip { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 13px; border-radius: 17px; background: #fff; box-shadow: 0 1px 6px rgb(0 0 0 / 10%); font-size: 13.5px; font-weight: 600; }
.jmd-chip.icon { width: 34px; justify-content: center; padding: 0; }
.jmd-seg { position: absolute; left: 50%; bottom: 30px; height: 50px; display: flex; gap: 2px; padding: 5px; transform: translateX(-50%); border-radius: 25px; background: rgb(255 255 255 / 92%); box-shadow: 0 4px 18px rgb(0 0 0 / 14%); font-size: 14px; font-weight: 600; white-space: nowrap; }
/* The three tabs share one width, as the app lays them out (fillEqually). */
.jmd-seg span { flex: 1 1 0; width: 102px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border-radius: 20px; }
.jmd-seg svg { flex: none; }
.jmd-seg .on { background: #fce2e5; color: #e5262e; }

/* The phone takes over from the mark of the bridge above, which lands as the
   phone: its screen starts as that mark on white (--jmd-mark), then the map. */
.jmd-sleep { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: inherit; background: #fff; opacity: 0; }
.jmd-sleep img { display: block; width: 30%; max-width: none; height: auto; opacity: var(--jmd-mark, 1); }

/* As the journey closes the phone shows one post from the Communities belt:
   two white strips of app UI with a band left open between them, through
   which the belt's own post shows. Same 390pt units as the rest of the UI. */
.jmd-layer.is-post :is(.jmd-search, .jmd-chips, .jmd-seg) { display: none; }
.jmd-postui { position: absolute; inset: 0; overflow: hidden; opacity: 0; }
.jmd-postui-top { position: absolute; left: 0; right: 0; top: 0; height: 119px; background: #fff; }
.jmd-postui-top b { position: absolute; left: 20px; bottom: 15px; font-size: 23px; font-weight: 800; letter-spacing: -0.035em; }
.jmd-postui-top svg { position: absolute; right: 20px; bottom: 18px; }
.jmd-postui-bottom { position: absolute; left: 0; right: 0; top: var(--jmd-band-end, 670px); bottom: 0; padding: 16px 18px 0; background: #fff; }
.jmd-postui-actions { display: flex; align-items: center; gap: 16px; }
.jmd-postui-actions span { flex: 1; }
.jmd-postui-line { display: block; width: 78%; height: 11px; margin-top: 16px; border-radius: 6px; background: #eceef1; }
.jmd-postui-line.short { width: 46%; margin-top: 10px; }
.jmd-postui-home { position: absolute; left: 50%; bottom: 9px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #0a0a0a; }

/* The sun's glare across the lens: a bloom centred on the sun (--sx, --sy)
   and ghosts the script places along the line through the middle of the view. */
.jmd-flare { position: absolute; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.jmd-flare i { position: absolute; left: 0; top: 0; display: block; border-radius: 50%; }
.jmd-flare .bloom {
  width: 190vmax; height: 190vmax; margin: -95vmax 0 0 -95vmax; transform: translate3d(var(--sx, 50%), var(--sy, 50%), 0);
  background: radial-gradient(closest-side, rgb(255 246 222 / 58%) 0%, rgb(255 222 164 / 20%) 17%, rgb(255 200 140 / 6%) 40%, rgb(255 190 130 / 0%) 64%);
}
.jmd-flare .ghost.a { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: radial-gradient(closest-side, rgb(150 200 255 / 0%) 52%, rgb(150 200 255 / 20%) 76%, rgb(150 200 255 / 0%) 100%); }
.jmd-flare .ghost.b { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: radial-gradient(closest-side, rgb(255 210 150 / 30%), rgb(255 210 150 / 0%)); }
.jmd-flare .ghost.c { width: 190px; height: 190px; margin: -95px 0 0 -95px; background: radial-gradient(closest-side, rgb(180 255 220 / 0%) 60%, rgb(180 255 220 / 12%) 84%, rgb(180 255 220 / 0%) 100%); }

/* Map markers: clusters when far, roles when close. */
.jmd-cluster, .jmd-job { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform, opacity; }
.jmd-cluster > div {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 3px; width: max-content;
  padding: 4px 9px 4px 5px; transform: translate(-50%, -50%); border-radius: 999px;
  background: var(--jmd-surface); box-shadow: 0 2px 10px rgb(0 0 0 / 18%);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.jmd-cluster img { display: block; flex: none; max-width: none; width: 16px; height: 16px; margin-right: -5px; border: 1.5px solid var(--jmd-surface); border-radius: 50%; background: #f9fafb; object-fit: contain; }
.jmd-cluster span { margin-left: 8px; }
/* A club's name sits to one side of its point on the globe. */
.jmd-cluster.at-l > div { transform: translate(calc(-100% - 12px), -50%); }
.jmd-cluster.at-r > div { transform: translate(12px, -50%); }
.jmd-cluster.at-u > div { transform: translate(-50%, calc(-100% - 10px)); }
.jmd-cluster.at-d > div { transform: translate(-50%, 10px); }
/* A role is drawn at the site's own card size and scaled with its distance. */
.jmd-job .stem { position: absolute; left: -1px; bottom: 0; width: 2px; height: 46px; background: var(--jmd-ink); opacity: 0.45; }
.jmd-job .dot { position: absolute; left: -7.5px; top: -7.5px; width: 15px; height: 15px; border: 3px solid var(--jmd-surface); border-radius: 50%; background: var(--jmd-red); box-shadow: 0 1px 5px rgb(0 0 0 / 30%); }
.jmd-job-full, .jmd-job-pill { position: absolute; left: 0; bottom: 46px; transform: translateX(-50%); transition: opacity 0.22s ease; }
/* Holds one of the site's job cards as the Jobs list renders it. */
.jmd-job-full { width: 304px; border-radius: 0.75rem; box-shadow: 0 14px 34px rgb(17 19 24 / 20%); opacity: 0; }
.jmd-job-pill {
  display: flex; align-items: center; gap: 9px; width: max-content; padding: 5px 16px 5px 5px;
  border: 1px solid var(--jmd-line); border-radius: 999px; background: var(--jmd-surface);
  box-shadow: 0 8px 22px rgb(17 19 24 / 16%); font-size: 18px; font-weight: 700; white-space: nowrap;
}
.jmd-job-pill img { flex: none; max-width: none; width: 32px; height: 32px; border: 1px solid #f3f4f6; border-radius: 50%; background: #f9fafb; object-fit: contain; }
.jmd-job.near .jmd-job-full { opacity: 1; }
.jmd-job.near .jmd-job-pill { opacity: 0; }

/* A club, in the colours of the belt's placeholder cards. */
.jmd-post-dot { flex: none; display: block; width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 18% 112%, #fdc468 0%, #df4996 46%, #4f5bd5 100%); }
.jmd-cluster .jmd-post-dot { width: 15px; height: 15px; margin-right: -5px; border: 1.5px solid var(--jmd-surface); }
/* An event on the map is the site's own event card. */
.jmd-job.is-event .jmd-job-full { width: 236px; border-radius: 1rem; }

/* The reel (a narrow screen's journey): one phone, and the projects round it
   on a shallow cylinder (jobs_map_dive.js turns it). The cards stand in the
   ring's perspective; the phone's frame, drawn over them with its screen
   left open, shows the one in front through that screen; a dark screen
   (.jmd-reel-back) lies behind them for the moment between two clips. The
   cards aside are shaded a little (--jmd-shade). Dots under the phone tell
   which clip is in front. */
.jmd-reel { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.jmd-reel[hidden] { display: none; }
.jmd-reel-ring { position: absolute; inset: 0; }
.jmd-reel-back, .jmd-reel-frame, .jmd-reel-dots { position: absolute; left: 0; top: 0; }
.jmd-reel-back { background: #1a1b1f; }
.jmd-reel-frame {
  box-sizing: border-box; border: 0 solid #16171b; border-radius: 13.5% / 6.37%;
  box-shadow: 0 22px 40px -18px rgb(17 19 24 / 55%);
}
.jmd-reel-card {
  position: absolute; left: 0; top: 0; overflow: hidden; border-radius: 10px; background: #1a1b1f;
  transform-origin: 50% 50%; backface-visibility: hidden; will-change: transform, opacity;
  box-shadow: 0 18px 34px -16px rgb(17 19 24 / 50%);
}
.jmd-reel-card :is(img, video) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jmd-reel-card video { opacity: 0; transition: opacity 0.35s ease; }
.jmd-reel-card.is-playing video { opacity: 1; }
.jmd-reel-card::after { content: ""; position: absolute; inset: 0; background: #0b0c10; opacity: var(--jmd-shade, 0); pointer-events: none; }
.jmd-reel-dots { display: flex; gap: 6px; transform-origin: 0 0; translate: -50% 0; }
.jmd-reel-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: rgb(17 19 24 / 22%); transition: width 0.25s ease, background-color 0.25s ease; }
.jmd-reel-dots i.is-on { width: 18px; background: #111318; }
/* The band the clips stand in takes a swipe across it; up and down stay the page's. */
.jmd-reel-touch { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.jmd-reel-touch.is-live { pointer-events: auto; cursor: grab; }
.jmd-reel-touch.is-live:active { cursor: grabbing; }

/* The event films on the screen out in space (a narrow screen's journey):
   the one in front over the still the picture draws there, which shows until
   it plays, and any others on a drum laid on its side, above and below it
   (jobs_map_dive.js places them in the drum's perspective). One above or
   below can be tapped (.is-pick); its title reads along its foot. Dots under
   the drum tell which is in front. */
.jmd-film { position: absolute; inset: 0; pointer-events: none; }
.jmd-film[hidden] { display: none; }
.jmd-film-drum { position: absolute; inset: 0; }
.jmd-film-back { position: absolute; left: 0; top: 0; background: #070b16; opacity: 0; }
.jmd-film-card {
  position: absolute; left: 0; top: 0; overflow: hidden; border-radius: 4px; background: transparent;
  transform-origin: 50% 50%; backface-visibility: hidden; will-change: transform, opacity;
}
.jmd-film-card > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jmd-film-card > :is(video, iframe) {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0;
  object-fit: cover; background: transparent; opacity: 0; transition: opacity 0.4s ease;
}
.jmd-film-card.is-playing > :is(video, iframe) { opacity: 1; }
.jmd-film-card > :is(video, iframe):fullscreen { object-fit: contain; background: #000; pointer-events: auto; }
.jmd-film-card::after { content: ""; position: absolute; inset: 0; background: #050812; opacity: var(--jmd-shade, 0); pointer-events: none; }
.jmd-film-card.is-pick { pointer-events: auto; cursor: pointer; }
.jmd-film-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 12px 9px;
  background: linear-gradient(to top, rgb(5 8 18 / 72%), rgb(5 8 18 / 0%));
  color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jmd-film-dots { position: absolute; left: 0; top: 0; display: flex; gap: 6px; translate: -50% 0; }
.jmd-film-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: rgb(255 255 255 / 32%); transition: width 0.25s ease, background-color 0.25s ease; }
.jmd-film-dots i.is-on { width: 18px; background: #fff; }
.jmd-film-full {
  position: absolute; left: 0; top: 0; z-index: 200; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / 22%); border-radius: 50%; background: rgb(10 12 18 / 55%); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0s 0.25s;
}
.jmd-film.is-full .jmd-film-full { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.25s ease; }
.jmd-film-full:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* The picker (a wide screen's journey): over the site's full-screen event
   film, in its lower right corner across from the film's own caption, the
   events' films as thumbnails to choose from; the one playing is ringed. */
.jmd-picker {
  position: absolute; right: max(32px, calc((100vw - 80rem) / 2 + 32px)); bottom: 52px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  opacity: 0; visibility: hidden; pointer-events: none; color: #fff;
}
.jmd-picker.is-live { pointer-events: auto; }
/* A few seconds after it comes up the picker draws down small into its
   corner, a strip of thumbnails with no words, and leaves the film clear;
   the pointer over it (or the keyboard in it) brings it back whole. */
.jmd-picker { transform-origin: 100% 100%; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.jmd-picker.is-rest { transform: scale(0.4); }
.jmd-picker-label, .jmd-picker-title, .jmd-picker-row { transition: opacity 0.3s ease; }
.jmd-picker.is-rest .jmd-picker-label, .jmd-picker.is-rest .jmd-picker-title { opacity: 0; }
.jmd-picker.is-rest .jmd-picker-row { opacity: 0.86; }
.jmd-picker.is-rest .jmd-picker-film { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) { .jmd-picker, .jmd-picker-label, .jmd-picker-title, .jmd-picker-row { transition: none; } }
.jmd-picker-label { margin: 0; padding-left: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: rgb(255 255 255 / 78%); text-shadow: 0 1px 8px rgb(0 0 0 / 45%); }
.jmd-picker-row {
  display: flex; gap: 10px; padding: 10px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 18px;
  background: rgb(10 12 18 / 42%); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / 60%);
}
.jmd-picker-film {
  display: flex; flex-direction: column; gap: 7px; width: 148px; padding: 0; border: 0; background: none; color: inherit;
  text-align: left; cursor: pointer; font: inherit;
}
.jmd-picker-thumb {
  position: relative; display: block; width: 148px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px;
  background: #1a1d26; box-shadow: 0 0 0 1px rgb(255 255 255 / 14%);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.jmd-picker-thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0.72; transition: opacity 0.2s ease; }
.jmd-picker-film:hover .jmd-picker-thumb { transform: translateY(-2px); }
.jmd-picker-film:hover img, .jmd-picker-film.is-on img { opacity: 1; }
.jmd-picker-film.is-on .jmd-picker-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgb(237 28 36 / 55%); }
.jmd-picker-film:focus-visible { outline: none; }
.jmd-picker-film:focus-visible .jmd-picker-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgb(255 255 255 / 40%); }
.jmd-picker-title {
  display: block; overflow: hidden; font-size: 12.5px; font-weight: 650; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis;
  color: rgb(255 255 255 / 72%);
}
.jmd-picker-film.is-on .jmd-picker-title { color: #fff; }
@media (max-width: 1023.98px) { .jmd-picker { display: none; } }

/* The bright haze of the sky, where the map becomes the globe. */
.jmd-black { position: absolute; inset: 0; opacity: 0; background: #050506; }

/* Heads-up copy once the map fills the screen. */
.jmd-hud { position: absolute; inset: 0; }
.jmd-place {
  position: absolute; left: 50%; top: calc(18px + env(safe-area-inset-top, 0px)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--jmd-line); border-radius: 999px;
  background: var(--jmd-surface); box-shadow: 0 4px 16px rgb(17 19 24 / 12%);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.jmd-place small { color: var(--jmd-muted); font-size: 12px; font-weight: 600; }
.jmd-foot {
  position: absolute; left: 0; right: 0; bottom: 0; min-height: 230px; padding-top: 96px;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  padding-left: max(24px, calc((100vw - 80rem) / 2 + 32px));
  padding-right: max(24px, calc((100vw - 80rem) / 2 + 32px));
  isolation: isolate;
}
/* What the copy reads on: a wash across the foot of the view, or, beside the
   Projects player (--jmd-side), one that keeps to the copy's own corner. */
.jmd-foot::before, .jmd-foot::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.jmd-foot::before {
  inset: 0; opacity: calc(1 - var(--jmd-side, 0));
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), rgb(255 255 255 / 96%) 52%);
}
.jmd-foot::after {
  left: 0; bottom: 0; width: min(100%, 46vw + 4rem); height: 135%; opacity: var(--jmd-side, 0);
  background: radial-gradient(ellipse farthest-side at 0% 100%, rgb(255 255 255 / 97%) 0%, rgb(255 255 255 / 88%) 52%, rgb(255 255 255 / 0%) 100%);
}
/* Over the globe the copy sits on the dark of space instead. */
.jmd-hudbox.is-dark .jmd-foot::before { background: linear-gradient(to bottom, rgb(7 11 22 / 0%), rgb(7 11 22 / 92%) 58%); }
.jmd-hudbox.is-dark .jmd-foot::after { background: radial-gradient(ellipse farthest-side at 0% 100%, rgb(7 11 22 / 94%) 0%, rgb(7 11 22 / 80%) 52%, rgb(7 11 22 / 0%) 100%); }
.jmd-hudbox.is-dark .jmd-cap h3 { color: #fff; }
.jmd-hudbox.is-dark .jmd-cap p { color: rgb(255 255 255 / 70%); }
.jmd-caps { position: relative; max-width: 34rem; min-height: 124px; }
.jmd-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.jmd-cap h3 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.45rem); font-weight: 820; line-height: 1.02; letter-spacing: -0.055em; text-wrap: balance; }
.jmd-cap-line { display: block; }
.jmd-cap p { margin: 0; color: var(--jmd-muted); font-size: clamp(0.94rem, 1.25vw, 1.08rem); line-height: 1.5; }
/* Beside the Projects player the copy keeps clear of the phone. */
.jmd-cap.is-slim { right: auto; width: min(100%, 25rem); }
.jmd-cta {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3.25rem; margin-top: 4px; padding-inline: 1.6rem;
  border: 2px solid #000; border-radius: 999px; background: #fff; color: #111318;
  box-shadow: 0 6px 0 -1px var(--jmd-red), 0 6px 0 1px #000;
  font-size: 0.95rem; font-weight: 700; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.jmd-cta:hover { box-shadow: 0 3px 0 -1px var(--jmd-red), 0 3px 0 1px #000; transform: translateY(3px); }
.jmd-cta:focus-visible { outline: 2px solid var(--jmd-red); outline-offset: 4px; }

/* The site chrome steps aside while the map owns the screen. The script sets
   each fade on the elements that fade; registered as not inherited, a change
   restyles those alone and nothing inside them. */
@property --jobs-map-chrome-opacity { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --jobs-map-nav-opacity { syntax: "<number>"; inherits: false; initial-value: 1; }
body[data-jobs-map-immersive="true"] :is(#main-header, #student-bottom-nav, #company-bottom-nav, [data-offer-step-nav]) { opacity: var(--jobs-map-chrome-opacity, 1); }
body[data-jobs-map-immersive="true"][data-jobs-map-chrome-hidden="true"] :is(#main-header, #student-bottom-nav, #company-bottom-nav, [data-offer-step-nav]) { pointer-events: none; visibility: hidden; }
/* A narrow screen's journey keeps the bottom bar away on its own account, from start to end. */
body[data-jobs-map-nav] :is(#student-bottom-nav, #company-bottom-nav) { opacity: var(--jobs-map-nav-opacity, 1) !important; }
body[data-jobs-map-nav="hidden"] :is(#student-bottom-nav, #company-bottom-nav) { pointer-events: none; visibility: hidden; }

/* The frost the site lays behind the Jobs copy was for posts passing under it;
   the Jobs step is the map now, and the frost would show while the copy is away. */
#solutions[data-company-solutions] #what-we-offer[data-company-jobs-scene="true"][data-jobs-map-scene] [data-offer-detail="jobs"]::before { content: none; }

/* Desktop scene: the panel is only a marker; the layer draws the phone over the stage. */
#solutions[data-company-solutions] #offer-panel-jobs[data-jobs-map] { background: none; }
/* The Projects phone holds still while its screen cross-fades into the map,
   so the two steps read as one phone. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  #solutions[data-company-solutions] #what-we-offer[data-company-jobs-scene="true"][data-jobs-map-scene] #offer-panel-projects { transform: none; }
}

/* Narrow screens list every service. The Jobs block becomes its own scroll
   track with the map pinned to the screen for the length of the dive. */
@media (max-width: 1023.98px) {
  #solutions[data-company-solutions] #offer-panel-jobs[data-jobs-map] {
    height: auto; aspect-ratio: auto; overflow: visible; contain: none; perspective: none;
    border-radius: 0; content-visibility: visible;
  }
  /* A screen of pinned map plus the length of the flight, in the script's
     --jmd-unit: a hundredth of the screen's height, taken once in pixels.
     (svh follows an app browser's bars as they come and go, and a track
     many screens long would grow or shrink by many times the bar.) */
  #offer-panel-jobs[data-jobs-map] .jmd-track { height: calc(var(--jmd-track-len, 400) * 1vh + 100vh); height: calc((var(--jmd-track-len, 400) + 100) * var(--jmd-unit, 1vh)); }
  #offer-panel-jobs[data-jobs-map] .jmd-pin {
    position: sticky; top: 0; width: 100vw; height: 100vh; height: 100svh;
    margin-left: calc(50% - 50vw); overflow: hidden;
  }
  /* The whole journey on a narrow screen ([data-jobs-map-flight], set by the
     script while it flies): the flight itself tells every service, so the
     list is the Communities panel alone, as long as the journey, with the
     script's pin (.jmd-pin-end) holding the picture to the screen all the
     way. The words ride in the pin too (.jmd-words): Jobs' title over the
     phone and its button at the screen's foot to start with, Communities'
     title and button under the opened belt to end with; the page's own
     headings stay for a screen reader only, and the summaries are left out.
     The belt waits at the panel's foot and comes under the picture for the
     last part ([data-jobs-map-close]), where the phone's post opens out into
     it; it stays on the screen till the panel ends. */
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight] :is([data-offer-detail="projects"], [data-offer-detail="events"], #offer-panel-jobs, #offer-panel-projects, #offer-panel-events, [data-offer-step-nav]) {
    display: none !important;
  }
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight] :is(.landing-offer-detail-index, .landing-offer-detail-description, .landing-offer-detail-action) { display: none; }
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight] .landing-offer-detail-heading {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight] #offer-panel-communities {
    order: 13;
    width: 100vw; max-width: none; margin-left: calc(50% - 50vw);
    height: calc(100vh + var(--jmd-flight-len, 800) * 1vh); height: calc((100 + var(--jmd-flight-len, 800)) * var(--jmd-unit, 1vh));
    aspect-ratio: auto; max-height: none; overflow: visible; contain: none; perspective: none;
    border-radius: 0; content-visibility: visible;
  }
  #what-we-offer[data-jobs-map-flight] #offer-panel-communities .jmd-pin-end {
    display: block; position: sticky; top: 0; z-index: 2; width: 100%; height: 100vh; height: 100svh;
    overflow: hidden; pointer-events: none;
  }
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight] #offer-panel-communities .career-post-belt {
    position: absolute; inset: auto 0 0; width: 100%; height: 100vh; height: 100svh;
  }
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight][data-jobs-map-close] #offer-panel-communities .career-post-belt {
    position: sticky; inset: 0 auto auto; margin-top: -100vh; margin-top: -100svh;
  }
  /* The belt stands higher there, clear of the words under it, with larger
     posts for the screen it has to itself. */
  #what-we-offer[data-jobs-map-flight] #offer-panel-communities .career-post-belt__plane {
    --belt-card-width: clamp(130px, 58cqw, 270px);
    top: 34%;
  }
  /* Its pause button keeps to the corner under the header, once the belt has
     opened ([data-jobs-map-outro]); the screen's foot is the words'. */
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight] #offer-panel-communities > [data-company-media-actions] {
    position: sticky; top: 64px; right: auto; bottom: auto; width: fit-content; margin: 0 16px 0 auto;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s 0.3s;
  }
  #solutions[data-company-solutions] #what-we-offer[data-jobs-map-flight][data-jobs-map-outro] #offer-panel-communities > [data-company-media-actions] {
    opacity: 1; visibility: visible; transition: opacity 0.3s ease;
  }

  /* Over the picture (the layer is 40, its copy 41): as the phone opens out
     under them, the words fade over it rather than behind it. */
  #what-we-offer[data-jobs-map-flight] .jmd-words {
    --jmd-red: #ed1c24;
    display: block; position: absolute; inset: 0; z-index: 42; opacity: 0; visibility: hidden; pointer-events: none;
  }
  .jmd-words-title {
    margin: 0; color: #0a0a0a; font-size: clamp(1.4rem, 6.6vw, 1.9rem); font-weight: 600; line-height: 1.16; letter-spacing: -0.035em; text-align: center;
  }
  .jmd-words-title span { display: block; }
  /* Under the site's header, over the phone (WORDS_TOP in the script). */
  .jmd-words.is-intro > .jmd-words-title { position: absolute; left: 16px; right: 16px; top: 62px; }
  .jmd-words-foot {
    position: absolute; left: 24px; right: 24px; bottom: calc(26px + env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; align-items: center; gap: 20px;
  }
  .jmd-words-foot .jmd-cta { justify-content: center; width: 100%; max-width: 26rem; margin: 0; }
  .jmd-words.is-on .jmd-cta { pointer-events: auto; }
  @media (prefers-reduced-motion: reduce) {
    #offer-panel-jobs[data-jobs-map] .jmd-track { height: 78vh; height: 78svh; }
    #offer-panel-jobs[data-jobs-map] .jmd-pin { position: relative; height: 100%; }
  }
  .jmd-foot { min-height: 210px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}

/* While the flight holds the site's Projects player in the middle of the
   view, the stage shows that player alone. Scrolling back up from Events,
   the site's film is still fading out of the stage as the player comes up. */
#what-we-offer[data-jobs-map-player] [data-offer-stage] > [data-offer-panel]:not([data-offer-panel="projects"]) {
  opacity: 0 !important;
  transition: none !important;
  visibility: hidden !important;
}
