/* Home — the six-beat page (task #8394 / #8395), moved up from home-v3/ (#8426).
   Page-only rules on top of site.css: same type, colour, nav and footer. One idea per screen, big
   pictures, few words. Beats 2 and 4 use the work comparison and department
   map from task #8520; their layout stays independent of the shared tower.
   Every rule is scoped to body.v3 so nothing here can leak into another page. */

/* ------------------------------------------------------------ the shell */
/* out of the site's two-column prose grid: one centred 1248 column per beat */

body.v3 main > section.b[id] {
  position: relative;
  display: block;
  overflow: hidden;
  padding: var(--b-top, var(--b-y)) max(var(--pad), calc((100% - 1248px) / 2)) var(--b-end, var(--b-y));
  background: var(--b-bg, var(--ground));
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}
body.v3 { --b-y: clamp(96px, 11vw, 168px); }

body.v3 .b .display { font-size: var(--d, clamp(46px, 6.4vw, 96px)); line-height: 1; letter-spacing: -0.045em; }
body.v3 .b .display span { width: auto; }
body.v3 .b p { margin: 0; color: #d4d1cc; }

/* the page's own bullet stops at the door here too */
body.v3 .b ul, body.v3 .b ol { margin: 0; padding: 0; list-style: none; }
body.v3 .b li { margin: 0; padding: 0; }
body.v3 .b li::before { content: none; }

/* a second, quieter pill: the hero's other way forward */
body.v3 .pill-ghost {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
body.v3 .pill-ghost::after { content: '\2193'; }
body.v3 .pill-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ------------------------------------------------------------ 1 · hero */
/* A layered scene (#8528): one panoramic plate edge to edge, then Sable, Cyrus
   and Octavia as three separate cut-outs in front of it, each with its own
   light. assets/hero/hero.js moves them a few px at three depths with the
   pointer and the scroll; under reduced motion nothing moves. */

body.v3 main > #top.b {
  display: flex;
  align-items: center;
  min-height: clamp(780px, 100svh, 1200px);
  padding: calc(var(--header-h) + 88px) max(var(--pad), calc((100% - 1248px) / 2)) 112px;
  isolation: isolate;
  text-align: left;
}
#top .hz-copy {
  position: relative;
  z-index: 1;
  width: 44%;
  max-width: 540px;
  min-width: 0;
}
#top #top-eyebrow {
  margin-bottom: 28px;
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.16em;
}
#top .display {
  --d: clamp(64px, 6.2vw, 92px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}
#top .display span {
  display: block;
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--ivory-hi);
}
#top .display span:last-child { color: var(--gold); }
#top #top-sub {
  max-width: 19em;
  margin-top: 28px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  color: #c3c6cc;
}
#top .actions { justify-content: flex-start; gap: 12px; margin-top: 36px; }
#top .pill {
  min-height: 52px;
  padding: 15px 22px;
  background: var(--gold);
  box-shadow: none;
  color: #181711;
  font-size: 15px;
  font-weight: 500;
  transition: background 180ms ease, transform 180ms ease;
}
#top .pill:hover { background: var(--ivory-mid); transform: translateY(-2px); }
#top .pill:active { transform: translateY(0) scale(0.98); }
#top .pill:focus-visible { outline: 2px solid var(--ivory-hi); outline-offset: 5px; }
#top .pill-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px #535760;
  color: var(--ivory-hi);
}
#top .pill-ghost:hover { background: rgba(255, 255, 255, 0.07); }
#top #top-note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: #b9bcc2; }
#top {
  --sy: 0;
  --col: max(var(--pad), calc((100% - 1248px) / 2));
  --colv: max(var(--pad), calc((100vw - 1248px) / 2));   /* the same column, for a height */
}
#top .hz-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
#top .hz-scene > *,
#top .hz-plate { position: absolute; }
#top .hz-scene picture { display: block; }
#top .hz-scene > picture { inset: 0; }

/* far: the skyline, sky and planet. Overscanned so the scroll never shows an edge.
   Every layer moves up and down with the scroll only, never sideways. */
#top .hz-plate {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 60%;
  transform: translate3d(0, calc(var(--sy) * 0.3px), 0) scale(1.05);
  animation: hz-settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  will-change: transform;
}
/* the city's own light, slowly brightening and settling over the horizon */
#top .hz-haze {
  inset: -8% -12%;
  background:
    radial-gradient(42% 14% at 62% 56%, rgba(255, 176, 104, 0.16), transparent 70%),
    radial-gradient(30% 22% at 80% 30%, rgba(255, 70, 170, 0.07), transparent 70%),
    radial-gradient(34% 26% at 36% 28%, rgba(70, 140, 255, 0.1), transparent 70%);
  transform: translate3d(0, calc(var(--sy) * 0.22px), 0);
  animation: hz-breathe 9s ease-in-out infinite alternate;
}
/* reading side: tied to the copy column, so a wide screen keeps its panorama */
#top .hz-scrim {
  inset: 0;
  background:
    radial-gradient(60% 46% at calc(var(--col) + 180px) 72%, rgba(2, 6, 13, 0.55), transparent 70%),
    linear-gradient(90deg,
      rgba(2, 6, 13, 0.3) 0,
      rgba(2, 6, 13, 0.84) calc(var(--col) + 60px),
      rgba(2, 6, 13, 0.74) calc(var(--col) + 400px),
      rgba(2, 6, 13, 0) calc(var(--col) + 660px));
}

/* The trio, placed as hero-01 placed them. Box = source x480–1545, y120–850;
   each figure's frame is its matched position in that 1536 × 1024 source.
   It starts far enough into the copy column that Sable's hair clears "Era"
   and the second button, and is sized so Cyrus's head (86% across the box)
   stays at least 60px inside the right edge. The tags share the box. */
#top .hz-trio,
#top .hz-tags {
  left: calc(var(--col) + 310px + 5vw);
  bottom: 0;
  height: min(90%, 52vw, calc((95vw - var(--colv) - 370px) / 0.86 * 730 / 1065));
  aspect-ratio: 1065 / 730;
}
#top .hz-fig {
  position: absolute;
  animation: hz-rise 1.4s cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
  will-change: transform;
}
#top .hz-fig picture { position: relative; z-index: 1; }
#top .hz-fig img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  transform-origin: 50% 100%;
  transition: filter 0.6s ease, scale 0.6s cubic-bezier(0.2, 0.75, 0.25, 1), translate 0.6s cubic-bezier(0.2, 0.75, 0.25, 1);
}
/* each Synth's own light, behind it and nowhere else */
#top .hz-fig::before,
#top .hz-fig::after {
  content: '';
  position: absolute;
  z-index: 0;
  transition: opacity 0.6s ease;
}
#top .hz-fig::after { opacity: 0.85; animation: hz-glow 2.2s 0.9s ease-out backwards; }
#top .hz-fig--sable {
  left: 1.127%; top: 8.247%; width: 46.152%;
  transform: translate3d(0, calc(var(--sy) * 0.12px), 0);
  animation-delay: 0.15s;
}
#top .hz-fig--sable::after {
  inset: -8% -18% 40% -14%;
  background: radial-gradient(closest-side, rgba(64, 168, 255, 0.34), rgba(64, 168, 255, 0.1) 55%, transparent);
}
#top .hz-fig--cyrus {
  left: 55.305%; top: 7.099%; width: 44.229%;
  transform: translate3d(0, calc(var(--sy) * 0.12px), 0);
  animation-delay: 0.3s;
}
#top .hz-fig--cyrus::before {
  inset: 0 0 34% -8%;
  background: radial-gradient(closest-side, rgba(2, 6, 13, 0.55), rgba(2, 6, 13, 0.2) 70%, transparent);
}
#top .hz-fig--cyrus::after {
  inset: -10% -6% 36% -24%;
  background: radial-gradient(closest-side, rgba(255, 64, 172, 0.36), rgba(255, 64, 172, 0.1) 58%, transparent);
}
/* near: Octavia, and the shadow she throws on the two behind her */
#top .hz-fig--octavia {
  left: 21.117%; top: 1.674%; width: 59.307%;
  transform: translate3d(0, calc(var(--sy) * 0.05px), 0);
  animation-delay: 0.45s;
}
#top .hz-fig--octavia::before {
  inset: 14% -16% -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(2, 6, 13, 0.6), rgba(2, 6, 13, 0.25) 60%, transparent);
}
#top .hz-fig--octavia::after {
  inset: -14% -14% 40%;
  background: radial-gradient(closest-side, rgba(255, 198, 124, 0.6), rgba(255, 170, 92, 0.22) 58%, transparent);
}

/* under the header, and into the page below */
#top .hz-fade {
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 6, 13, 0.6), rgba(2, 6, 13, 0) 18%),
    linear-gradient(to top, var(--ground), rgba(2, 6, 13, 0) 22%);
}

/* Who they are. Name and title always; what they do opens on hover (a tap on a
   phone). The words are the department map's own, further down this page. */
#top .hz-tags { pointer-events: none; }
#top .hz-tag {
  position: absolute;
  translate: -50% 0;
  display: grid;
  max-width: 260px;
  padding: 10px 15px 11px;
  border-radius: 14px;
  background: rgba(20, 25, 38, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 12px 32px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ivory-hi);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  pointer-events: auto;
  cursor: default;
  transition: opacity 0.5s ease, background 0.5s ease;
  animation: hz-tag-in 0.9s 1.3s cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
}
/* One baseline for all three, each under its own Synth, below Octavia's gold
   waist band; a tag opens upward from it. A hairline runs up to each body. */
#top .hz-tag--sable { --dot: #49aaff; left: 18%; bottom: 5%; animation-delay: 1.3s; }
#top .hz-tag--octavia { --dot: #ffc77a; left: 51%; bottom: 5%; animation-delay: 1.45s; }
#top .hz-tag--cyrus { --dot: #ff4fb0; left: 76%; bottom: 5%; animation-delay: 1.6s; }
/* both ends restate top and corners: site.css gives every section li::before a bullet */
#top .hz-tag::before {
  content: '';
  position: absolute;
  top: auto;
  left: 50%;
  bottom: 100%;
  border-radius: 0;
  width: 1.5px;
  height: 40px;
  translate: -50% 0;
  background: var(--dot);
  box-shadow: 0 0 0 1px rgba(2, 6, 13, 0.3), 0 0 6px var(--dot);
}
#top .hz-tag::after {
  content: '';
  position: absolute;
  top: auto;
  left: calc(50% - 2.5px);
  bottom: calc(100% + 40px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 1.5px rgba(2, 6, 13, 0.45), 0 0 8px var(--dot);
}
#top .hz-tag-who { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
#top .hz-tag-who::before {
  content: '';
  flex: none;
  align-self: center;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), 0 0 10px var(--dot);
}
#top .hz-tag-who b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
#top .hz-tag-who span { color: #babdc3; }
#top .hz-tag-does {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.75, 0.25, 1), opacity 0.35s ease;
}
/* zero intrinsic width, so the closed tag is only as wide as its name */
#top .hz-tag-does > span { overflow: hidden; width: 0; min-width: 100%; color: #e8eaee; }
#top .hz-tag-does > span::before { content: ''; display: block; height: 7px; }

/* pointing at one Synth lifts it, opens its tag, and lets the other two fall back */
#top .hz-scene[data-focus] .hz-fig img { filter: brightness(0.6); }
#top .hz-scene[data-focus] .hz-fig::after { opacity: 0.45; }
#top .hz-scene[data-focus] .hz-tag { opacity: 0.5; }
#top .hz-scene[data-focus="sable"] .hz-fig--sable img,
#top .hz-scene[data-focus="cyrus"] .hz-fig--cyrus img,
#top .hz-scene[data-focus="octavia"] .hz-fig--octavia img { filter: brightness(1.08) saturate(1.05); scale: 1.02; translate: 0 -8px; }
#top .hz-scene[data-focus="sable"] .hz-fig--sable::after,
#top .hz-scene[data-focus="cyrus"] .hz-fig--cyrus::after,
#top .hz-scene[data-focus="octavia"] .hz-fig--octavia::after { opacity: 1; }
#top .hz-scene[data-focus="sable"] .hz-tag--sable,
#top .hz-scene[data-focus="cyrus"] .hz-tag--cyrus,
#top .hz-scene[data-focus="octavia"] .hz-tag--octavia { opacity: 1; background: rgba(14, 18, 30, 0.78); }
#top .hz-scene[data-focus="sable"] .hz-tag--sable .hz-tag-does,
#top .hz-scene[data-focus="cyrus"] .hz-tag--cyrus .hz-tag-does,
#top .hz-scene[data-focus="octavia"] .hz-tag--octavia .hz-tag-does { grid-template-rows: 1fr; opacity: 1; }

@keyframes hz-settle { from { scale: 1.06; } }
@keyframes hz-rise { from { opacity: 0; translate: 0 40px; } }
@keyframes hz-glow { from { opacity: 0; } }
@keyframes hz-breathe { from { opacity: 0.7; } to { opacity: 1; } }
@keyframes hz-tag-in { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  #top .hz-scene *,
  #top .hz-scene *::after { animation: none !important; transition: none !important; }
  #top .hz-scene[data-focus] .hz-fig img { scale: none !important; translate: none !important; }
}

@media (max-width: 1100px) {
  body.v3 main > #top.b {
    display: block;
    min-height: 0;
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 0;
  }
  #top .hz-copy { width: 100%; max-width: 640px; margin: 0 auto; }
  #top .hz-scene {
    position: relative;
    inset: auto;
    width: 100vw;
    height: clamp(420px, 118vw, 660px);
    margin: 28px 0 0 calc(50% - 50vw);
  }
  #top .hz-plate { object-position: 58% 62%; }
  #top .hz-scrim { display: none; }
  /* centred between Sable's and Cyrus's faces, so all three read at 390 */
  #top .hz-trio { left: 50%; height: 84%; translate: -48% 0; }
  #top .hz-fade {
    background:
      linear-gradient(to bottom, var(--ground), rgba(2, 6, 13, 0) 18%),
      linear-gradient(to top, var(--ground), rgba(2, 6, 13, 0) 30%);
  }
  /* the tags line up along the foot of the scene, left to right as they stand */
  #top .hz-tags {
    left: 0;
    right: 0;
    bottom: 14px;
    height: auto;
    aspect-ratio: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 0 16px;
  }
  #top .hz-tag {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    translate: none;
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    padding: 9px 11px 10px;
    cursor: pointer;
  }
  /* name on one line, title under it: each tag only as wide as its longest line */
  #top .hz-tag-who { display: grid; grid-template-columns: 7px auto; gap: 0 7px; }
  #top .hz-tag-who span { grid-column: 1 / -1; font-size: 12px; }
  #top .hz-tag::before,
  #top .hz-tag::after { content: none; }
  /* the one tapped becomes a caption across the row; the other two step aside */
  #top .hz-scene[data-focus] .hz-tag { display: none; }
  #top .hz-scene[data-focus="sable"] .hz-tag--sable,
  #top .hz-scene[data-focus="cyrus"] .hz-tag--cyrus,
  #top .hz-scene[data-focus="octavia"] .hz-tag--octavia { display: grid; flex: 1 1 auto; padding: 11px 14px 12px; }
  #top .hz-scene[data-focus] .hz-tag-who { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
  #top .hz-scene[data-focus] .hz-tag-who::before { align-self: center; }
  #top .hz-scene[data-focus] .hz-tag-who span { flex-basis: auto; }
  #top .hz-tag-does > span { font-size: 13px; }
}

/* ------------------------------------------------------------ 2 · problem */
/* Four levels of AI at work (task #8534; drawn as D in KB #8790). Levels 1 to 3 are ChatGPT and
   Claude, tools you run; level 4 is HyperionOS, a system. Every level answers the same four
   questions. It is a table whose cards step up like stairs while the answer rows stay
   level (from 1240px). Below that the three tools sit side by side over level 4 (from 900px),
   then stack, and levels 1 to 3 shorten their answers to two chips and a line. */

body.v3 main > #problem.b {
  --b-bg: linear-gradient(to bottom, var(--ground), var(--ground-up));
}
#problem { --lv-need: 236, 214, 160; --lv-hh: 452px; --lv-row: 76px; }
#problem .display { --d: clamp(42px, 5.8vw, 84px); }
#problem .display .dim {
  background: none;
  -webkit-text-fill-color: #9c9fa5;
}
#problem .lv-lede { margin: 30px auto 0; max-width: 40em; font-size: clamp(17px, 1.45vw, 20.5px); font-weight: 300; line-height: 1.45; color: #d4d1cc; }
#problem .lv-lede span { display: block; }

#problem .lv { position: relative; display: grid; gap: 14px; margin-top: clamp(48px, 6vw, 80px); text-align: left; }
#problem .lv-q { display: none; }
#problem .lv-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }

/* the label over levels 1 to 3 */
#problem .lv-label { display: flex; align-items: center; gap: 14px; margin: 0 0 4px; }
#problem .lv-label b { flex: none; font: 500 12px/1.3 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: #bac1cc; }
#problem .lv-label i { flex: 1; height: 1px; background: linear-gradient(to right, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); }

/* a level: cool glass for a tool, warm and lit for the system */
#problem .lv-card { min-width: 0; border-radius: 16px; overflow: hidden;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02) 50%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 70px -40px rgba(0, 0, 0, .9); }
#problem .lv-sys {
  background: radial-gradient(100% 200px at 50% -30px, rgba(var(--lv-need), .24), transparent), linear-gradient(to bottom, rgba(191, 162, 95, .12), rgba(191, 162, 95, .04)), #0d0e12;
  box-shadow: inset 0 1.5px 0 rgba(var(--lv-need), .6), inset 0 0 0 1px rgba(var(--lv-need), .2), 0 30px 70px -40px rgba(0, 0, 0, .9), 0 0 70px -18px rgba(191, 162, 95, .5); }
#problem .lv-hd { display: flex; flex-direction: column; padding: 18px 18px 0; }
#problem .lv-tag { display: flex; align-items: center; gap: 10px; font: 500 12px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .16em; text-transform: uppercase; color: #bac1cc; }
#problem .lv-sys .lv-tag { color: #e6d29c; }
#problem .lv-steps { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
#problem .lv-steps i { width: 6px; border-radius: 1.5px; background: rgba(255, 255, 255, .26); }
#problem .lv-steps i:nth-child(1) { height: 7px; }
#problem .lv-steps i:nth-child(2) { height: 12px; }
#problem .lv-steps i:nth-child(3) { height: 17px; }
#problem .lv-steps i:nth-child(4) { height: 22px; }
#problem .lv-steps i.on { background: #c6d2f2; }
#problem .lv-sys .lv-steps i.on { background: #e6cf98; }
#problem .lv-nm { margin-top: 12px; font-size: clamp(20px, 1.6vw, 22px); font-weight: 460; line-height: 1.15; letter-spacing: -.025em; color: var(--ivory-mid); }
#problem .lv-sys .lv-nm { font-size: clamp(24px, 2vw, 26px); color: var(--ivory-hi); }
#problem .lv-sb { margin-top: 5px; font-size: 14px; color: #bcc0c6; }
#problem .lv-sys .lv-sb { color: #d8cdb4; }
#problem .lv-scn { display: grid; place-items: center; padding: 18px 0 14px; }
#problem .lv-ad { padding-bottom: 14px; font-size: 15px; line-height: 1.45; color: #d6d8dd; text-wrap: balance; }
#problem .lv-sys .lv-ad { color: #f2ecdc; }

/* the answers */
#problem .lv-rows { margin: 0; padding: 0 18px 4px; }
#problem .lv-rows > div { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
#problem .lv-sys .lv-rows > div { box-shadow: inset 0 1px 0 rgba(var(--lv-need), .16); }
#problem .lv-rows dt { font-size: 12.5px; color: #c9bfa6; }
#problem .lv-rows dd { margin: 0; }
#problem .lv-you { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 10px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #f3e3bd;
  background: rgba(var(--lv-need), .13); box-shadow: inset 0 0 0 1px rgba(var(--lv-need), .32); }
#problem .lv-you svg, #problem .lv-yes svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#problem .lv-no { font-size: 15.5px; line-height: 1.4; color: #c4c7cc; }
#problem .lv-no em { font-style: normal; font-weight: 600; color: #f3e3bd; }
#problem .lv-yes { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--ivory-hi); text-wrap: balance; }
#problem .lv-yes svg { width: 16px; height: 16px; margin-top: 2px; color: #e6cf98; stroke-width: 2.2; }

/* levels 1 to 3, said short: two chips and a line, where the table is not drawn */
#problem .lv-tools .lv-rows { display: none; }
#problem .lv-sum { padding: 14px 18px 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
#problem .lv-still { display: flex; flex-wrap: wrap; gap: 6px; }
#problem .lv-still span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #f3e3bd;
  background: rgba(var(--lv-need), .13); box-shadow: inset 0 0 0 1px rgba(var(--lv-need), .32); }
#problem .lv-line { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: #c4c7cc; text-wrap: pretty; }

#problem .lv-turn { margin-top: clamp(48px, 5vw, 72px); font-size: clamp(21px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -.02em; color: #d6d8dd; text-wrap: balance; }

/* the small pictures: one SVG each, so they scale with their card */
#problem .lv-scn svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
#problem .lv-scn .s1 { max-width: 196px; }
#problem .lv-scn .s2, #problem .lv-scn .s3 { max-width: 190px; }
#problem .lv-scn .s4 { max-width: 256px; }
#problem .lv-scn .ub { fill: #1b2130; stroke: rgba(var(--lv-need), .3); }
#problem .lv-scn .ut { fill: #dfe1e5; font-size: 13.5px; }
#problem .lv-scn .av { fill: #1a1f2b; stroke: rgba(255, 255, 255, .16); }
#problem .lv-scn .ln { fill: rgba(255, 255, 255, .24); }
#problem .lv-scn .w { fill: none; stroke: rgba(170, 180, 200, .45); stroke-width: 1.4; }
#problem .lv-scn .w.you { stroke: rgba(var(--lv-need), .75); stroke-width: 1.6; }
#problem .lv-scn .w.kb { stroke-dasharray: 3 4; }
#problem .lv-scn .hd { fill: rgba(var(--lv-need), .85); }
#problem .lv-scn .plug { fill: #2b3346; stroke: rgba(170, 180, 200, .6); }
#problem .lv-scn .ag { fill: #1f2740; stroke: rgba(140, 159, 208, .5); filter: drop-shadow(0 0 9px rgba(110, 121, 201, .45)); }
#problem .lv-scn .agi, #problem .lv-scn .ic { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#problem .lv-scn .agi { stroke: #c6d2f2; }
#problem .lv-scn .ic { stroke: #b4bccb; }
#problem .lv-scn .tl { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .12); }
#problem .lv-scn .lb { fill: #ccd2dc; font-size: 13.5px; font-weight: 500; }
#problem .lv-scn .mcp { fill: #ccd2dc; font: 600 12px ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 1.6px; }
#problem .lv-scn rect.you { fill: #e9e2d2; filter: drop-shadow(0 0 8px rgba(226, 190, 110, .35)); }
#problem .lv-scn .yt, #problem .lv-scn .apt { fill: #15130f; font-size: 12px; font-weight: 600; }
#problem .lv-scn .kbs { fill: #2a3146; stroke: rgba(140, 159, 208, .35); }
#problem .lv-scn .ap { fill: none; stroke: rgba(var(--lv-need), .7); stroke-width: 1.4; stroke-dasharray: 3 4; }
#problem .lv-scn .ho { fill: none; stroke: rgba(var(--lv-need), .85); stroke-width: 1.6; }
#problem .lv-scn .hd2 { fill: rgba(var(--lv-need), .9); }
#problem .lv-scn .ring { fill: #0b0f18; stroke: rgba(var(--lv-need), .6); stroke-width: 1.5; filter: drop-shadow(0 0 10px rgba(226, 190, 110, .4)); }
#problem .lv-scn .bead { fill: #e8d3a6; }
#problem .lv-scn .apv { filter: drop-shadow(0 0 8px rgba(226, 190, 110, .35)); }
#problem .lv-scn .apc { fill: none; stroke: #15130f; stroke-width: 4.8; stroke-linecap: round; stroke-linejoin: round; }
#problem .lv-scn .col { fill: rgba(255, 255, 255, .045); stroke: rgba(255, 255, 255, .09); }
#problem .lv-scn .bl { fill: #d2cab8; font-size: 11.5px; font-weight: 600; }
#problem .lv-scn .bar { fill: rgba(255, 255, 255, .14); }
#problem .lv-scn .bar.s { fill: rgba(140, 159, 208, .45); }
#problem .lv-scn .bar.g { fill: rgba(var(--lv-need), .5); }

/* a tablet: the three tools side by side from 900px, the system under them with its answers beside it */
@media (min-width: 900px) {
  #problem .lv-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #problem .lv-label { grid-column: 1 / -1; }
  #problem .lv-tools .lv-card { display: flex; flex-direction: column; }
  #problem .lv-tools .lv-hd { flex: 1; height: auto; }
  #problem .lv-tools .lv-scn { flex: 1; }
  /* three lines of room for every summary, so the chips sit level across the row */
  #problem .lv-line { min-height: 4.35em; }
}
@media (min-width: 700px) {
  #problem .lv-sys { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  #problem .lv-sys .lv-rows { padding: 18px 22px 18px 4px; }
  #problem .lv-sys .lv-rows > div:first-child { box-shadow: none; }
  #problem .lv-lede span { display: block; }
}
@media (max-width: 699px) {
  #problem .lv-lede span { display: inline; }
  #problem .lv-label b { flex: 1 1 auto; white-space: normal; }
  #problem .lv-label i { display: none; }
}

/* the table: questions on the left, each card a step higher, the answer rows level across */
@media (min-width: 1240px) {
  #problem .lv { display: flex; align-items: flex-start; gap: 12px; }
  #problem .lv-q { display: block; flex: 0 0 16.5%; }
  #problem .lv-ask { display: flex; flex-direction: column; justify-content: flex-end; height: var(--lv-hh); padding: 0 12px 22px 0; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; color: var(--ivory-mid); }
  #problem .lv-ask span:last-child { color: #a7abb2; }
  #problem .lv-q li { display: flex; align-items: center; height: var(--lv-row); font-size: 17px; font-weight: 460; line-height: 1.3; letter-spacing: -.015em; color: var(--ivory-mid); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
  #problem .lv-tools { position: relative; display: flex; flex: 3 1 0; gap: 12px; min-width: 0; }
  #problem .lv-label { position: absolute; top: 0; left: 0; right: 0; margin: 0; }
  #problem .lv-card { flex: 1 1 0; margin-top: var(--st); }
  #problem .lv-tools .lv-card { display: block; }
  #problem .lv-sys { display: block; flex: 1.17 1 0; margin-left: 16px; }
  #problem .lv-hd, #problem .lv-tools .lv-hd { height: calc(var(--lv-hh) - var(--st)); padding: 20px 16px 18px; }
  #problem .lv-tools .lv-hd { padding-left: 14px; padding-right: 14px; }
  #problem .lv-steps { display: none; }
  #problem .lv-scn, #problem .lv-tools .lv-scn { flex: 1; min-height: 0; padding: 12px 0 6px; }
  #problem .lv-ad { min-height: 44px; padding-bottom: 0; }
  #problem .lv-sum { display: none; }
  #problem .lv-tools .lv-rows, #problem .lv-sys .lv-rows { display: block; padding: 0; }
  #problem .lv-rows > div, #problem .lv-sys .lv-rows > div:first-child { flex-direction: row; align-items: center; justify-content: center; height: var(--lv-row); padding: 0 12px; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
  #problem .lv-sys .lv-rows > div, #problem .lv-sys .lv-rows > div:first-child { justify-content: flex-start; text-align: left; box-shadow: inset 0 1px 0 rgba(var(--lv-need), .16); }
  /* the question column names each row, so the per-card question is for a screen reader only */
  #problem .lv-rows dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ------------------------------------------------------------ 3 · opportunity */
/* A million tools, or one building: six floors of Synths, your files at the foot, your calls
   at the top, and the lead, the site and the booked call leaving the base (task #8533). */

body.v3 main > #opportunity.b {
  --b-bg:
    radial-gradient(44% 32% at 50% 4%, rgba(227, 184, 122, 0.12), transparent 80%),
    radial-gradient(70% 40% at 50% 62%, rgba(80, 118, 196, 0.14), transparent 80%),
    linear-gradient(to bottom, var(--ground-up), var(--ground-up) 70%, var(--ground));
  --haze: none;
}
#opportunity .display { --d: clamp(42px, 6.2vw, 92px); }
#opportunity .opp-lede {
  margin-top: clamp(32px, 4vw, 48px);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 300;
  line-height: 1.45;
}
#opportunity .opp-lede span { display: block; }
#opportunity .opp-lede span:last-child { margin-top: 18px; color: var(--ivory-mid); }
/* the turn: the headline's "or", then a key that reads the picture top to bottom */
#opportunity .opp-turn {
  margin-top: clamp(48px, 5.5vw, 80px);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 300;
  line-height: 1.45;
}
#opportunity .opp-turn span,
#opportunity .opp-close span { text-wrap: balance; }
#opportunity .opp-turn span { display: block; }
#opportunity .opp-turn span:first-child {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ivory-mid);
}

/* The picture is one 1248 × 1360 composition, drawn as direction C in KB #8791: a painted
   tower, six floor labels on leader lines, the million tools adrift in the sky either side, and
   three results leaving the base. From 1376 up it sits 1:1. Down to 1100 it is scaled as one
   piece, so nothing inside is re-measured. Under 1100 it reflows to one column. */
body.v3 main > #opportunity.b { container-type: inline-size; }
#opportunity .opp-stage {
  position: relative;
  width: 1248px;
  height: 1360px;
  margin: clamp(56px, 6vw, 88px) auto 0;
  text-align: left;
  zoom: 0.8;
  zoom: min(1, tan(atan2(100cqw, 1248px)));
}
#opportunity .opp-ico { position: absolute; width: 0; height: 0; overflow: hidden; }
#opportunity .opp-stage svg use { fill: none; stroke: currentColor; }

/* the building: wider than the column, faded into the sky at every edge */
#opportunity .opp-art {
  position: absolute;
  left: -204px;
  top: 110px;
  z-index: 0;
  width: 1656px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-composite: intersect;
}
#opportunity .opp-art img { display: block; width: 100%; height: auto; }

/* the million tools: dim chips in the sky, joined to nothing. The lede's three are lit. */
#opportunity .opp-tools { position: absolute; inset: 0; z-index: 1; }
#opportunity .opp-tools li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: 9px;
  font-size: 13.5px;
  color: #c8ccd3;
  white-space: nowrap;
  background: rgba(26, 32, 48, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: var(--o, 0.45);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: saturate(0.4);
}
#opportunity .opp-tools li.near {
  --o: 1;
  height: 40px;
  font-size: 14.5px;
  color: #f2f4f7;
  background: rgba(58, 68, 94, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 24px rgba(150, 160, 200, 0.18);
  filter: none;
}
#opportunity .opp-tools svg { width: 16px; height: 16px; stroke-width: 1.8; color: #a1a8b3; }
#opportunity .opp-tools li.near svg { color: #c4cad4; }

/* the calls that are yours, where the beam comes out at the top */
#opportunity .opp-you {
  position: absolute;
  z-index: 3;
  left: 624px;
  top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  transform: translate(-50%, -50%);
}
#opportunity .opp-you-t { display: grid; gap: 6px; }
#opportunity .opp-you-t > span { font-size: 16px; color: #f4ecdb; white-space: nowrap; }
#opportunity .opp-you .k { font-size: 12.5px; }

/* leader lines, the gold line up, the three lines out. Beads move along them. */
#opportunity .opp-wire { position: absolute; inset: 0; z-index: 2; width: 1248px; height: 1360px; overflow: visible; pointer-events: none; }
#opportunity .opp-outlines { filter: drop-shadow(0 0 7px rgba(255, 250, 240, 0.85)); }
#opportunity .opp-gold { filter: drop-shadow(0 0 6px rgba(242, 215, 154, 0.95)); }
#opportunity .opp-ends circle,
#opportunity .opp-beads circle { filter: drop-shadow(0 0 7px rgba(255, 250, 240, 0.95)); }

/* each floor, named where it is */
#opportunity .opp-floors { position: absolute; inset: 0; z-index: 3; }
#opportunity .opp-floors li {
  position: absolute;
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 13px;
  width: 300px;
  min-height: 90px;
  box-sizing: border-box;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background-color: rgba(18, 24, 42, 0.78);
  transform: translateY(-50%);
}
#opportunity .opp-floors li.l { left: 18px; }
#opportunity .opp-floors li.r { left: 930px; }
#opportunity .opp-floors li.root { background: radial-gradient(90% 120% at 0% 0%, rgba(242, 236, 220, 0.16), transparent 70%), rgba(18, 24, 42, 0.82); }
#opportunity .opp-floors li > span { display: grid; gap: 3px; min-width: 0; }
#opportunity .opp-floors .fc { width: 48px; height: 48px; box-shadow: 0 0 0 2px rgba(242, 236, 220, 0.55), 0 0 20px rgba(242, 236, 220, 0.3); }
#opportunity .opp-floors b { font-size: 17px; letter-spacing: -0.01em; color: #f4f0e8; }
#opportunity .opp-floors li > span > span { font-size: 13.5px; line-height: 1.35; color: #c6cad1; }

/* what leaves the base: three results, one height, each label on its line */
#opportunity .opp-outs {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 1062px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
#opportunity .opp-outs > li { display: grid; grid-template-rows: auto 248px; gap: 24px; }
#opportunity .opp-outs > li > :last-child { height: 248px; box-sizing: border-box; }
#opportunity .opp-out-nm {
  justify-self: center;
  padding: 7px 15px;
  border-radius: 999px;
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3ecde;
  background: #1d2233;
  box-shadow: inset 0 0 0 1px rgba(242, 236, 220, 0.3), 0 0 18px rgba(242, 236, 220, 0.12);
}
#opportunity .opp-outs .lb { font-size: 12.5px; color: #c9ced6; }
#opportunity .opp-outs .lead { align-content: center; }
#opportunity .opp-outs .site { display: grid; grid-template-rows: auto 1fr; box-shadow: 0 0 0 6px rgba(30, 38, 60, 0.9), 0 0 0 7px rgba(255, 255, 255, 0.12), 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
#opportunity .opp-outs .site img { display: block; height: 100%; object-fit: cover; object-position: left top; }
#opportunity .opp-outs .booked { align-content: center; padding: 28px 26px; }
#opportunity .opp-outs .booked .k { font-size: 12.5px; color: #ead7a3; }
#opportunity .opp-outs .booked .tq { font-size: 28px; }
#opportunity .opp-outs .booked-cal { top: 28px; right: 26px; }
#opportunity .booked-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: #d9cfb6; }

/* the lead: a reply that opened a deal (the Swarm page's own card) */
#opportunity .lead { display: grid; justify-items: start; gap: 10px; padding: 20px 20px 18px; }
#opportunity .lead-who { font-size: 17px; color: #eceae6; }
#opportunity .lead-bub {
  padding: 12px 14px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 15px;
  line-height: 1.45;
  color: #e4e2dd;
}
#opportunity .lead-bub em { display: block; margin-top: 6px; font-size: 13px; color: #b3b8c0; }

/* the site: a page the Synths built, in a browser frame */
#opportunity .site {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px -24px rgba(0, 0, 0, 0.9);
}
#opportunity .site-bar { display: flex; gap: 6px; padding: 9px 12px; background: #e9ebef; }
#opportunity .site-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c6cad2; }
#opportunity .site img { width: 100%; height: auto; }

/* the booked call: the same warm glass the site uses for a call that is yours */
#opportunity .booked {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 22px 22px 22px;
}
#opportunity .booked .tq { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: #f4ecdb; }
#opportunity .booked .sm { font-size: 14.5px; color: #c9c2b2; }
#opportunity .booked-cal {
  position: absolute;
  right: 20px;
  top: 20px;
  display: grid;
  justify-items: center;
  width: 64px;
  overflow: hidden;
  border-radius: 10px;
  background: #f4efe4;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8);
}
#opportunity .booked-cal i { display: block; width: 100%; padding: 3px 0; font: 600 11px/1.3 var(--font); letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: #fff; background: #b8452f; }
#opportunity .booked-cal b { padding: 7px 0 8px; font-size: 16px; font-weight: 600; color: #15130f; }

#opportunity .opp-close {
  max-width: 30em;
  margin: clamp(64px, 7vw, 104px) auto 0;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 300;
  line-height: 1.45;
}
#opportunity .opp-close span { display: block; }
#opportunity .opp-close span + span { margin-top: 14px; }
#opportunity .opp-close span:last-child {
  margin-top: 32px;
  font-size: clamp(30px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--ivory-mid);
  text-wrap: balance;
}

/* ------------------------------------------------------------ 4 · the board */
/* One board for the whole business (task #8538): the Agentic Swarm's three lanes over
   HyperionOS's three, and four columns, the gold one yours. assets/board/board.js writes the
   markup and moves the cards. Every cell is one fixed slot, so a moving card never changes a
   lane's height. From 1180 each lane's name has its own column; under that it heads its lane;
   under 980 the work in hand and your call sit side by side over two one-line strips, and on
   a phone they stack, with the queue left out. */

body.v3 main > #solution.b {
  --b-end: 0px;
  --b-bg:
    radial-gradient(54% 30% at 50% 46%, rgba(80, 110, 214, 0.15), transparent 75%),
    radial-gradient(60% 30% at 50% 96%, rgba(70, 110, 220, 0.16), transparent 70%),
    var(--ground);
  --haze: none;
  /* the board is wider than the page's 1248 column */
  padding-left: max(var(--pad), calc((100% - 1440px) / 2));
  padding-right: max(var(--pad), calc((100% - 1440px) / 2));
}
#solution .display { --d: clamp(48px, 7.2vw, 108px); }
#solution .display span { display: inline-block; }
#solution .lede { display: grid; margin: 32px auto 0; }
#solution .lede span { text-wrap: balance; }
#solution .lede .gold { color: #ecd9ae; }
#solution .show-city { --city-h: max(130px, 14vw); background-size: cover; }

#solution .kb {
  --kb-who: 220px;
  --kb-gap: 10px;
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
  padding: 20px 20px 10px;
  border-radius: 18px;
  text-align: left;
  background: radial-gradient(70% 40% at 50% 0%, rgba(110, 130, 220, 0.1), transparent 70%), #060b15;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 120px -50px rgba(0, 0, 0, 0.95),
    0 0 140px -30px rgba(90, 120, 230, 0.3);
}

/* the top: your goal, who split it, and the board's own clock */
#solution .kb-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 2px 4px 20px; }
#solution .kb-goal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
#solution .kb-goal .you { width: 40px; height: 40px; }
#solution .kb-goal-t { display: grid; gap: 6px; }
#solution .kb-goal-t .lb { color: #c2c7cf; }
#solution .kb-goal-t b { font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; color: #f4ecdb; }
#solution .kb-by { display: inline-flex; align-items: center; gap: 9px; margin-left: 8px; padding: 5px 13px 5px 5px; border-radius: 999px; font-size: 13.5px; color: #d0d3d9; background: rgba(255, 255, 255, 0.06); }
#solution .kb-by .kf { width: 28px; height: 28px; }
#solution .kb-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
#solution .kb-clock,
#solution .kb-tally { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; color: #d0d3d9; background: rgba(255, 255, 255, 0.07); }
#solution .kb-clock { font: 500 13px/1 var(--mono); color: #e8eaee; }
#solution .kb-clock .dot { color: #9fd8b0; }
#solution .kb-tally b { font: 600 14px/1 var(--mono); font-variant-numeric: tabular-nums; color: #f2f4f7; }
#solution .kb-tally-you { color: #f6e6b8; background: #2b2413; }
#solution .kb-tally-you b { color: #f6e6b8; }
#solution .kb:not(.kb-on) .kb-js-only { display: none; }

/* one grid for the column heads and every lane; the cells' own row only exists on a phone */
#solution .kb-cols,
#solution .kb-lane { display: grid; grid-template-columns: var(--kb-who) repeat(4, minmax(0, 1fr)); column-gap: var(--kb-gap); }
#solution .kb-row { display: contents; }
#solution .kb-cols > span { display: flex; align-items: center; gap: 9px; padding: 12px 4px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #c2c7cf; }
#solution .kb-cols .kb-col-call { margin: 0 -5px; padding: 12px 9px; border-radius: 12px 12px 0 0; color: #f6e2ae; background: linear-gradient(to bottom, rgba(var(--need), 0.3), rgba(var(--need), 0.18)); }
#solution .kb-n-call { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font: 600 11.5px/1 var(--mono); letter-spacing: 0; color: #15130f; background: linear-gradient(to bottom, #f3eee2, #d8cfba); }
#solution .kb-try { margin-left: auto; font: 400 13px/1 var(--font); letter-spacing: 0; text-transform: none; white-space: nowrap; color: #f0dca8; }

/* the gold column, top to bottom behind every lane */
#solution .kb-body { position: relative; }
#solution .kb-body::before {
  --kb-w: calc((100% - var(--kb-who) - 4 * var(--kb-gap)) / 4);
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--kb-who) + 3 * var(--kb-gap) + 2 * var(--kb-w) - 5px);
  width: calc(var(--kb-w) + 10px);
  border-radius: 0 0 12px 12px;
  background: linear-gradient(to bottom, rgba(var(--need), 0.18), rgba(var(--need), 0.08));
  box-shadow: inset 0 0 40px rgba(var(--need), 0.06);
  pointer-events: none;
}

/* the two halves: the Swarm brings the deals, HyperionOS does the work. Opaque, so the
   gold column runs behind them and starts again under each. */
#solution .kb-band { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 12px 0 4px; padding: 12px 14px; border-radius: 10px; }
#solution .kb-band:first-child { margin-top: 0; }
#solution .kb-band b { font: 500 12px/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
#solution .kb-band span { font-size: 14.5px; color: #d0d3d9; }
#solution .kb-band-swarm { background: linear-gradient(90deg, rgba(96, 116, 222, 0.42), rgba(96, 116, 222, 0.1) 70%), #070c17; }
#solution .kb-band-swarm b { color: #d3d9fb; }
#solution .kb-band-os { background: linear-gradient(90deg, rgba(226, 196, 140, 0.3), rgba(226, 196, 140, 0.07) 70%), #070c17; }
#solution .kb-band-os b { color: var(--gold-ink); }

/* a lane: who runs it, then its four cells */
#solution .kb-lane { position: relative; padding: 10px 0 0; }
#solution .kb-lane + .kb-lane { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06); }
#solution .kb-who { display: flex; align-items: center; gap: 12px; padding: 0 4px 12px; }
#solution .kb-who > span { display: grid; gap: 3px; min-width: 0; }
#solution .kb-who b { font-size: 16.5px; letter-spacing: -0.01em; color: #f4f0e8; }
#solution .kb-who > span > span { font-size: 13.5px; line-height: 1.35; color: #c3c7ce; }
#solution .kb-who .kf { width: 42px; height: 42px; box-shadow: 0 0 0 2px rgba(242, 236, 220, 0.5), 0 0 18px rgba(242, 236, 220, 0.24); }
/* one slot per cell, tall enough for any card, with room under it for a pile */
#solution .kb-cell { position: relative; display: flex; flex-direction: column; box-sizing: border-box; min-height: 168px; padding-bottom: 16px; }
/* between two moves a cell can be empty for a moment: it keeps the shape of its slot */
#solution .kb-cell:empty::after { content: ''; flex: 1 1 auto; border-radius: 10px; border: 1px dashed rgba(255, 255, 255, 0.12); }

/* a face: the Synth's own portrait, cut to the head */
#solution .kf { display: block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #0b0f18 center / cover no-repeat; filter: brightness(1.2) saturate(1.05); }

/* a card is one job: what and who at the top, where it stands at the foot */
#solution .kc {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  box-sizing: border-box;
  padding: 11px 12px 12px;
  border-radius: 10px;
  background: #111a2c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 16px 26px -16px rgba(0, 0, 0, 0.9);
}
#solution .kc-tag { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; font: 500 11px/1 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: #bcc2cc; }
#solution .kc-f { width: 22px; height: 22px; box-shadow: 0 0 0 1.5px rgba(242, 236, 220, 0.45); }
#solution .kc-t { font-size: 14.5px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; color: #eef0f3; }
#solution .kc-m { display: flex; align-items: center; gap: 7px; font-size: 12.5px; line-height: 1.35; font-variant-numeric: tabular-nums; color: #c3c7ce; }
#solution .kc-next .kc-m,
#solution .kc-done .kc-m,
#solution .kc-work .kc-bar,
#solution .kc-call .kc-go,
#solution .kc-call .kc-th { margin-top: auto; }

/* a pile: the jobs waiting under the next one, and everything already shipped */
#solution .kc.p2 { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 7px 0 -3px #0d1424, 0 7px 0 -2px rgba(255, 255, 255, 0.1), 0 18px 26px -16px rgba(0, 0, 0, 0.9); }
#solution .kc.p3 { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 7px 0 -3px #0d1424, 0 7px 0 -2px rgba(255, 255, 255, 0.1), 0 13px 0 -6px #0a101c, 0 13px 0 -5px rgba(255, 255, 255, 0.08), 0 22px 26px -16px rgba(0, 0, 0, 0.9); }

#solution .kc-next { background: #0e1525; }
#solution .kc-next .kc-t { color: #dcdfe4; }

/* working: lit, with its bar */
#solution .kc-work {
  background: #16213b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(150, 170, 240, 0.24), 0 0 30px -8px rgba(110, 140, 240, 0.4), 0 16px 30px -16px rgba(0, 0, 0, 0.9);
}
#solution .kc-bar { display: block; flex: none; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
#solution .kc-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8fa3e8, #f2ecdc); box-shadow: 0 0 10px rgba(242, 236, 220, 0.6); transition: width 0.2s linear; }
#solution .kc-q { display: block; padding: 7px 10px; border-radius: 10px 10px 10px 3px; font-size: 13px; line-height: 1.35; color: #e8e6e1; background: rgba(255, 255, 255, 0.08); }

/* shipped */
#solution .kc-done { background: #0e1626; }
#solution .kc-done .kc-t { color: #e0e3e8; }
#solution .kc-done .kc-m { color: #b9dec3; }
#solution .kc-you .kc-m { color: #f0dca8; }
#solution .kc-ok { position: relative; flex: none; width: 15px; height: 15px; border-radius: 50%; background: rgba(159, 216, 176, 0.2); }
#solution .kc-you .kc-ok { background: rgba(var(--need), 0.22); }
#solution .kc-ok::after { content: ''; position: absolute; left: 5.2px; top: 2.8px; width: 3.5px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(40deg); }

/* yours to call: the same warm lamp the site uses for every call that is yours */
#solution .kc-call {
  background:
    radial-gradient(90% 90px at 50% -20px, rgba(var(--need), 0.28), transparent),
    linear-gradient(to bottom, rgba(191, 162, 95, 0.14), rgba(191, 162, 95, 0.05)),
    #15130f;
  box-shadow: inset 0 1px 0 rgba(var(--need), 0.55), inset 0 0 0 1px rgba(var(--need), 0.2), 0 0 40px -10px rgba(191, 162, 95, 0.55), 0 16px 30px -16px rgba(0, 0, 0, 0.9);
}
#solution .kb-on .kc-call::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px rgba(var(--need), 0.5), 0 0 28px -4px rgba(var(--need), 0.55); opacity: 0; animation: kb-breathe 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes kb-breathe { 50% { opacity: 1; } }
#solution .kc-call .kc-tag { color: #e9d6a2; }
#solution .kc-yours { padding: 4px 7px; border-radius: 999px; font: 600 10px/1 var(--mono); letter-spacing: 0.12em; color: #15130f; background: linear-gradient(to bottom, #f3eee2, #d8cfba); }
#solution .kc-call .kc-t { color: #f6eedc; }
#solution .kc-go { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
#solution .kc-go .kc-m { font-size: 12px; color: #ddd3bb; }
#solution .kc-go .bt { height: 30px; padding: 0 15px; border: 0; font: 500 13px/1 var(--font); cursor: pointer; }
#solution .kc-go .bt:hover { filter: brightness(1.07); }
#solution .kc-go .bt:active,
#solution .kc-pick:active { transform: translateY(1px); }
#solution .kc-go .bt:focus-visible,
#solution .kc-pick:focus-visible { outline: 2px solid #ecd6a0; outline-offset: 2px; }
/* three drafts: pressing one is the call */
#solution .kc-th { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#solution .kc-pick { display: block; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 0; border-radius: 5px; cursor: pointer; background: #f4f1ea; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); transition: box-shadow 160ms ease; }
#solution .kc-pick:hover { box-shadow: 0 0 0 2px #ecd6a0, 0 0 16px rgba(var(--need), 0.5); }
#solution .kc-pick img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
#solution .kb-none { display: grid; flex: 1 1 auto; place-items: center; margin: 0; padding: 0 12px; border-radius: 10px; font-size: 13px; text-align: center; color: #d6c597; background: rgba(var(--need), 0.06); border: 1px dashed rgba(var(--need), 0.3); }

/* a card on the move is lifted over the cards it passes */
/* a pile of calls stays gold */
#solution .kc-call.p2 { box-shadow: inset 0 1px 0 rgba(var(--need), 0.55), inset 0 0 0 1px rgba(var(--need), 0.2), 0 7px 0 -3px #2a2416, 0 7px 0 -2px rgba(var(--need), 0.3), 0 0 40px -10px rgba(191, 162, 95, 0.55); }
#solution .kc-call.p3 { box-shadow: inset 0 1px 0 rgba(var(--need), 0.55), inset 0 0 0 1px rgba(var(--need), 0.2), 0 7px 0 -3px #2a2416, 0 7px 0 -2px rgba(var(--need), 0.3), 0 13px 0 -6px #201b10, 0 13px 0 -5px rgba(var(--need), 0.22), 0 0 40px -10px rgba(191, 162, 95, 0.55); }

#solution .kc.kc-lift { z-index: 6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 50px -18px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.4); }

/* the close */
#solution .kb-close { max-width: 22em; margin: clamp(56px, 6vw, 88px) auto 0; font-size: clamp(26px, 3.3vw, 48px); font-weight: 400; line-height: 1.15; letter-spacing: -0.035em; text-wrap: balance; color: var(--ivory-mid); }
#solution .kb-close span { display: block; }
#solution .kb-own { margin-top: 22px; padding-bottom: max(150px, 16vw); font-size: 18px; font-weight: 300; color: #d0d3d9; }
#solution .kb-own a { margin-left: 6px; color: var(--gold-ink); text-decoration: none; white-space: nowrap; }
#solution .kb-own a:hover { text-decoration: underline; text-underline-offset: 4px; }
#solution .kb-own a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* under 1180: each lane's name heads its lane */
@media (max-width: 1179px) {
  #solution .kb-cols,
  #solution .kb-lane { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #solution .kb-cols > span:first-child { display: none; }
  #solution .kb-who { grid-column: 1 / -1; padding: 2px 4px 10px; }
  #solution .kb-who .kf { width: 32px; height: 32px; }
  #solution .kb-who > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  #solution .kb-body::before { --kb-w: calc((100% - 3 * var(--kb-gap)) / 4); left: calc(2 * (var(--kb-w) + var(--kb-gap)) - 5px); }
  #solution .kb-try { display: none; }
}
/* under 980: the work in hand and your call side by side, the queue and the last shipped
   job under them as one line each */
@media (max-width: 979px) {
  #solution .kb { padding: 14px 12px 6px; border-radius: 14px; }
  #solution .kb-top { padding: 2px 2px 14px; }
  #solution .kb-cols { display: none; }
  #solution .kb-body::before { content: none; }
  #solution .kb-lane { display: block; padding: 14px 0 12px; }
  #solution .kb-who { padding: 0 2px 10px; }
  #solution .kb-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "work call" "next done"; gap: 8px 10px; }
  #solution .kb-next { grid-area: next; }
  #solution .kb-work { grid-area: work; }
  #solution .kb-call { grid-area: call; }
  #solution .kb-done { grid-area: done; }
  #solution .kb-cell { min-height: 0; padding-bottom: 0; }
  #solution .kb-work,
  #solution .kb-call { min-height: 136px; }
  /* the strips: a label, then one line */
  #solution .kb-next,
  #solution .kb-done { flex-direction: row; align-items: center; gap: 10px; min-width: 0; }
  #solution .kb-next::before,
  #solution .kb-done::before { content: attr(data-col); flex: none; width: 62px; font: 500 11px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #c9ced6; }
  #solution .kb-next .kc,
  #solution .kb-done .kc { flex-direction: row; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; }
  #solution .kb-next .kc.p2,
  #solution .kb-done .kc.p2,
  #solution .kb-done .kc.p3 { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
  #solution .kb-next .kc-tag,
  #solution .kb-next .kc-m,
  #solution .kb-done .kc-tag { display: none; }
  #solution .kb-next .kc-t,
  #solution .kb-done .kc-t { min-width: 0; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
  #solution .kb-done .kc-m { flex: none; order: -1; margin: 0; font-size: 0; }
  #solution .kb-done .kc-ok { font-size: 12.5px; }
}
/* a phone: the work in hand, your call, then what shipped; the queue is left out */
@media (max-width: 560px) {
  #solution .display { text-wrap: balance; }
  #solution .display span { display: inline; }
  #solution .kb { padding: 12px 10px 4px; }
  #solution .kb-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "work" "call" "done"; gap: 6px; }
  #solution .kb-next { display: none; }
  #solution .kb-lane { padding: 12px 0 10px; }
  #solution .kb-who { padding-bottom: 8px; }
  #solution .kb-who > span > span { font-size: 12.5px; }
  #solution .kb-work { min-height: 112px; }
  #solution .kb-call { min-height: 0; }
  #solution .kc { gap: 6px; padding: 10px 11px; }
  /* an empty gold slot is one line on a phone */
  #solution .kb-none { flex: none; min-height: 36px; }
  #solution .kb-goal { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  #solution .kb-by { grid-column: 1 / -1; justify-self: start; margin-left: 0; }
  #solution .kb-goal-t b { font-size: 18px; }
  #solution .kb-live { gap: 6px; margin-left: 0; }
  #solution .kb-clock,
  #solution .kb-tally { height: 28px; padding: 0 10px; font-size: 12.5px; }
  #solution .kb-long { display: none; }
  #solution .kb-band span { font-size: 13.5px; }
}

/* ------------------------------------------------------------ 4b · the team */
/* Train autonomous teams (task #8540). One team drawn as a pyramid: the Leader at the top, the
   workers at the foot, every card busy, and the week's improvements under it. Beside it on a wide
   screen, under it on a narrow one: the one page that reaches you, the daily report.
   The section is the size container, so the layout follows the width the page really has (the
   /rv/ review rail takes 440px off the body while media queries still read the window). From
   1260 the team and the report sit side by side; under 760 the pyramid becomes a column. */

body.v3 main > #the-team.b {
  container-type: inline-size;
  --b-bg:
    radial-gradient(46% 30% at 34% 62%, rgba(80, 110, 214, 0.14), transparent 75%),
    radial-gradient(34% 26% at 82% 60%, rgba(var(--need), 0.07), transparent 75%),
    var(--ground);
  --haze: none;
  padding-left: max(var(--pad), calc((100% - 1440px) / 2));
  padding-right: max(var(--pad), calc((100% - 1440px) / 2));
}
#the-team .display { --d: clamp(48px, 7.2vw, 108px); }
#the-team .display span { display: inline-block; }
#the-team .lede { display: grid; margin: 32px auto 0; }
#the-team .lede span { text-wrap: balance; }

#the-team .tm { display: grid; gap: clamp(64px, 7vw, 96px); margin-top: clamp(48px, 6vw, 80px); text-align: left; }

/* a face: the Synth's own portrait, cut to the head */
#the-team .tm-f { display: block; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #0b0f18 center / cover no-repeat; filter: brightness(1.2) saturate(1.05); }

/* the team: the board's own dark glass */
#the-team .tm-team {
  position: relative;
  padding: 20px 24px 24px;
  border-radius: 18px;
  background: radial-gradient(70% 40% at 50% 0%, rgba(110, 130, 220, 0.1), transparent 70%), #060b15;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 50px 120px -50px rgba(0, 0, 0, 0.95),
    0 0 140px -30px rgba(90, 120, 230, 0.3);
}

/* the goal the whole team is on, and how far it has got */
#the-team .tm-goal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 30px; padding: 2px 4px 20px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07); }
#the-team .tm-goal-t { display: grid; gap: 6px; }
#the-team .tm-goal-t .lb { color: #c2c7cf; }
#the-team .tm-goal-t b { font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; color: #f4ecdb; }
#the-team .tm-goal-n { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #d0d3d9; }
#the-team .tm-goal-n b { font: 600 14px/1 var(--mono); color: #f2f4f7; }
#the-team .tm-bar { display: block; flex: none; width: 160px; height: 6px; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
#the-team .tm-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8fa3e8, #f2ecdc); box-shadow: 0 0 10px rgba(242, 236, 220, 0.6); }

/* the pyramid: a rank down the left, then one row per rank. The last three ranks are one
   column per Synth (a subgrid), so a droid and its workers stand under the Synth they serve. */
#the-team .tm-grid {
  --tm-gap: 30px;
  --tm-wire: rgba(140, 160, 230, 0.42);
  --tm-flow: linear-gradient(to bottom, rgba(140, 160, 230, 0.3) 0 42%, rgba(226, 232, 255, 0.95) 50%, rgba(140, 160, 230, 0.3) 58% 100%);
  display: grid;
  grid-template-columns: 100px repeat(4, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: var(--tm-gap);
}
#the-team .tm-rk { grid-column: 1; align-self: center; display: grid; gap: 5px; }
#the-team .tm-rk b { font: 500 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #eef0f3; }
#the-team .tm-rk span { font-size: 13.5px; line-height: 1.3; color: #c3c7ce; }
#the-team .tm-rk-1, #the-team .tm-cmd-1 { grid-row: 1; }
#the-team .tm-rk-2, #the-team .tm-cmd-2 { grid-row: 2; }
#the-team .tm-rk-3, #the-team .tm-cmd-3 { grid-row: 3; }
#the-team .tm-rk-4 { grid-row: 4; align-self: start; padding-top: 14px; }
#the-team .tm-rk-5 { grid-row: 5; }
#the-team .tm-rk-6 { grid-row: 6; align-self: start; padding-top: 2px; }

/* the three who command: one card each, centred, with what they are holding beside it */
#the-team .tm-cmd { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 270px) minmax(0, 1fr); align-items: center; column-gap: 20px; }
#the-team .tm-cmd > .tm-c { grid-column: 2; }
/* a dotted leader from the rank to its card, so the two read as one row */
#the-team .tm-cmd::before { content: ''; grid-column: 1; grid-row: 1; align-self: center; height: 2px; background: radial-gradient(circle, rgba(255, 255, 255, 0.26) 1px, transparent 1.5px) 0 50% / 8px 2px repeat-x; }
#the-team .tm-cmd > .tm-note { grid-column: 3; justify-self: start; }

#the-team .tm-c {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  background: #111a2c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 16px 26px -16px rgba(0, 0, 0, 0.9);
}
#the-team .tm-cmd .tm-c {
  background: #16213b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(150, 170, 240, 0.24), 0 0 30px -8px rgba(110, 140, 240, 0.4), 0 16px 30px -16px rgba(0, 0, 0, 0.9);
}
#the-team .tm-cmd .tm-f { width: 44px; height: 44px; box-shadow: 0 0 0 2px rgba(242, 236, 220, 0.5), 0 0 18px rgba(242, 236, 220, 0.24); }
#the-team .tm-c-t { display: grid; gap: 4px; min-width: 0; }
#the-team .tm-c-t b { font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: #f4f0e8; }
#the-team .tm-tag { display: none; font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #bcc2cc; }
#the-team .tm-now { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.35; color: #c9cdd4; }
#the-team .tm-now .dot { width: 6px; height: 6px; color: #9fd8b0; }

#the-team .tm-note { margin: 0; max-width: 220px; font-size: 13.5px; line-height: 1.4; color: #c3c7ce; }
#the-team .tm-note-you { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; color: #f0dca8; background: rgba(var(--need), 0.13); box-shadow: 0 0 24px -6px rgba(var(--need), 0.35); }
#the-team .tm-note-you::after { content: '\2193'; font-weight: 600; }   /* the report is under the team */

/* the four steps the Executive planned */
#the-team .tm-ms { display: grid; gap: 6px; }
#the-team .tm-ms li { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.2; color: #b0b4bb; }
#the-team .tm-ms li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.32); }
#the-team .tm-ms .tm-ms-ok { color: #b9dec3; }
#the-team .tm-ms .tm-ms-ok::before { background: #9fd8b0; box-shadow: none; }
#the-team .tm-ms .tm-ms-on { color: #eef0f3; }
#the-team .tm-ms .tm-ms-on::before { background: #8fa3e8; box-shadow: 0 0 8px #8fa3e8; animation: show-glint 1.2s ease-in-out infinite; }

/* the Synths, each with its droid and its workers under it */
#the-team .tm-unit { position: relative; grid-row: 4 / span 3; display: grid; grid-template-rows: subgrid; justify-items: center; }
#the-team .tm-u1 { grid-column: 2; }
#the-team .tm-u2 { grid-column: 3; --u: 1; }
#the-team .tm-u3 { grid-column: 4; --u: 2; }
#the-team .tm-u4 { grid-column: 5; --u: 3; }
#the-team .tm-unit > .tm-syn { grid-row: 1; justify-self: stretch; }
#the-team .tm-unit > .tm-droid { grid-row: 2; }
#the-team .tm-unit > .tm-runs { grid-row: 3; }

#the-team .tm-syn { flex-direction: column; align-items: stretch; gap: 9px; padding: 12px 12px 12px; }
#the-team .tm-syn-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
#the-team .tm-syn-who > span { display: grid; gap: 3px; min-width: 0; }
#the-team .tm-syn-who b { font-size: 15.5px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; color: #f4f0e8; }
#the-team .tm-syn-who > span > span { font: 500 11px/1.2 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: #c9ced6; }
#the-team .tm-syn .tm-f { box-shadow: 0 0 0 1.5px rgba(242, 236, 220, 0.45); }
#the-team .tm-u2 .tm-syn .tm-f { filter: brightness(1.5) saturate(1.05); }   /* Lucian's portrait is a dark one */
#the-team .tm-syn .tm-now { align-items: flex-start; font-size: 13px; }
#the-team .tm-syn .tm-now .dot { margin-top: 6px; }
/* where the work goes next: to a colleague, or (gold) to you */
#the-team .tm-hand { margin-top: auto; padding: 6px 9px; border-radius: 8px; font-size: 12.5px; line-height: 1.3; color: #d3d9fb; background: rgba(110, 130, 230, 0.15); }
#the-team .tm-hand::before { content: '\21AA\00a0'; }
#the-team .tm-hand-you { color: #f0dca8; background: rgba(var(--need), 0.13); }

#the-team .tm-droid { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; box-sizing: border-box; max-width: 100%; margin: 0; padding: 5px 12px 5px 5px; border-radius: 16px; font-size: 13px; line-height: 1.25; color: #d0d4da; background: #0e1525; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11); }
#the-team .tm-droid .tm-f { width: 26px; height: 26px; }
#the-team .tm-droid b { font-weight: 500; color: #eef0f3; }

/* workers: one run each, lit while it runs and dim once it is done */
#the-team .tm-runs { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: center; gap: 6px; }
#the-team .tm-runs li { padding: 4px 10px; border-radius: 999px; font: 400 12px/1.25 var(--mono); color: #dfe4ee; background: rgba(140, 160, 230, 0.16); box-shadow: inset 0 0 0 1px rgba(140, 160, 230, 0.26); animation: tm-run 7.2s ease-in-out infinite; animation-delay: calc(var(--u, 0) * -1.3s); }
#the-team .tm-runs li:nth-child(2) { animation-delay: calc(var(--u, 0) * -1.3s - 2.4s); }
#the-team .tm-runs li:nth-child(3) { animation-delay: calc(var(--u, 0) * -1.3s - 4.8s); }
@keyframes tm-run { 0%, 100% { opacity: 0.6; } 10%, 40% { opacity: 1; box-shadow: inset 0 0 0 1px rgba(170, 190, 250, 0.5), 0 0 16px -2px rgba(130, 155, 240, 0.55); } 55% { opacity: 0.6; } }

/* the wires: work runs down them */
#the-team .tm-cmd-2 > .tm-c::before,
#the-team .tm-cmd-3 > .tm-c::before,
#the-team .tm-droid::before,
#the-team .tm-runs::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: var(--tm-gap);
  margin-left: -1px;
  background: var(--tm-flow);
  background-size: 100% 300%;
  animation: tm-flow 2.4s linear infinite;
}
#the-team .tm-droid::before { animation-delay: -0.8s; }
#the-team .tm-runs::before { animation-delay: -1.6s; }
@keyframes tm-flow { from { background-position: 0 100%; } to { background-position: 0 0; } }
/* a Synth with no droid: the wire runs straight through to its workers */
#the-team .tm-none { position: relative; width: 2px; align-self: stretch; margin-top: calc(var(--tm-gap) * -1); padding: 0; border-radius: 0; background: var(--tm-flow); background-size: 100% 300%; box-shadow: none; animation: tm-flow 2.4s linear infinite; }
#the-team .tm-none::before { content: none; }
/* the Lieutenant hands out to all four */
#the-team .tm-cmd-3 > .tm-c::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: calc(var(--tm-gap) / 2); margin-left: -1px; background: var(--tm-wire); }
#the-team .tm-unit::before { content: ''; position: absolute; top: calc(var(--tm-gap) / -2 - 1px); left: -6px; right: -6px; height: 2px; background: var(--tm-wire); }
#the-team .tm-u1::before { left: 50%; }
#the-team .tm-u4::before { right: 50%; }
#the-team .tm-syn::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 2px; height: calc(var(--tm-gap) / 2); margin-left: -1px; background: var(--tm-wire); }

/* what got better this week */
#the-team .tm-better { display: grid; gap: 12px; margin-top: 30px; padding: 14px 16px 16px; border-radius: 12px; background: linear-gradient(90deg, rgba(159, 216, 176, 0.13), rgba(159, 216, 176, 0.03)); }
#the-team .tm-better-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; }
#the-team .tm-better-h .lb { color: #b9dec3; }
#the-team .tm-better-h > span:last-child { font-size: 13px; color: #c3c7ce; }
#the-team .tm-better ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#the-team .tm-better li { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; font-size: 13px; line-height: 1.3; color: #e0e3e8; background: rgba(255, 255, 255, 0.06); }
#the-team .tm-better li::before { content: '\2191'; font-weight: 600; color: #9fd8b0; }

/* you: one page a day, under the warm lamp every call that is yours gets */
#the-team .tm-ceo { display: grid; gap: 24px; width: 100%; max-width: 720px; margin: 0 auto; }
#the-team .tm-ceo-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
#the-team .tm-ceo-head .you { width: 52px; height: 52px; font-size: 14px; box-shadow: 0 0 0 4px rgba(var(--need), 0.16), 0 0 36px rgba(var(--need), 0.45); }
#the-team .tm-ceo-t { display: grid; gap: 6px; }
#the-team .tm-ceo-t b { font-size: clamp(30px, 4.2cqi, 44px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; color: var(--ivory-mid); }
#the-team .tm-ceo-t > span { font-size: 19px; font-weight: 300; color: #d4d1cc; }

#the-team .tm-rep {
  position: relative;
  padding: 24px 26px 22px;
  border-radius: 16px;
  background:
    radial-gradient(90% 150px at 50% -40px, rgba(var(--need), 0.22), transparent),
    linear-gradient(to bottom, rgba(191, 162, 95, 0.12), rgba(191, 162, 95, 0.04)),
    #12100c;
  box-shadow: inset 0 1px 0 rgba(var(--need), 0.55), inset 0 0 0 1px rgba(var(--need), 0.2), 0 0 80px -20px rgba(191, 162, 95, 0.5), 0 40px 80px -30px rgba(0, 0, 0, 0.95);
}
#the-team .tm-rep-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#the-team .tm-rep-k { font: 600 12px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: #ecd6a0; }
#the-team .tm-rep-d { font: 500 12.5px/1 var(--mono); color: #ddd3bb; }
#the-team .tm-rep-from { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding-bottom: 18px; font-size: 14.5px; color: #e4dccb; box-shadow: 0 1px 0 rgba(var(--need), 0.16); }
#the-team .tm-rep-from .tm-f { width: 30px; height: 30px; box-shadow: 0 0 0 1.5px rgba(var(--need), 0.5); }
#the-team .tm-rep-from b { font-weight: 500; color: #f6eedc; }
#the-team .tm-rep-h { margin-top: 18px; color: #e6d29c; }
#the-team .tm-did { display: grid; gap: 10px; margin-top: 12px; }
#the-team .tm-did li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: #efe9db; }
#the-team .tm-ok { position: relative; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; color: #9fd8b0; background: rgba(159, 216, 176, 0.18); }
#the-team .tm-ok::after { content: ''; position: absolute; left: 6.4px; top: 3.6px; width: 4px; height: 8px; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: rotate(40deg); }

/* the arrows: two changes for your yes, then where the team looks next */
#the-team .tm-asks { display: grid; gap: 8px; margin-top: 20px; }
#the-team .tm-ask,
#the-team .tm-focus { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); transition: background-color 200ms ease; }
#the-team .tm-ar { grid-row: 1; font-size: 20px; line-height: 1; color: #ecd6a0; }
#the-team .tm-ask-t { display: grid; gap: 4px; min-width: 0; }
#the-team .tm-k { font: 600 10.5px/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #e6d29c; }
#the-team .tm-ask-t b { font-size: 15.5px; font-weight: 500; line-height: 1.35; color: #f6eedc; }
#the-team .tm-why { font-size: 13.5px; line-height: 1.4; color: #d6cdb8; }
#the-team .tm-yn,
#the-team .tm-said { grid-column: 2; }
#the-team .tm-yn { display: flex; flex-wrap: wrap; gap: 8px; }
#the-team .tm-yn .bt { height: 30px; padding: 0 15px; border: 0; font: 500 13px/1 var(--font); cursor: pointer; }
#the-team .tm-yn .bt:hover { filter: brightness(1.08); }
#the-team .tm-yn .bt:active { transform: translateY(1px); }
#the-team .tm-yn .bt:focus-visible { outline: 2px solid #ecd6a0; outline-offset: 2px; }
#the-team .tm-said { font-size: 13.5px; line-height: 1.4; color: #b9dec3; }
#the-team .tm-said:empty,
#the-team .tm-answered .tm-yn { display: none; }
#the-team .tm-yes { background: rgba(159, 216, 176, 0.09); }
#the-team .tm-no .tm-said { color: #d6cdb8; }
#the-team .tm-focus { background: rgba(var(--need), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--need), 0.22); }
#the-team .tm-rep-goal { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; font-size: 13.5px; color: #ddd3bb; box-shadow: 0 -1px 0 rgba(var(--need), 0.16); }
#the-team .tm-rep-goal .tm-bar { flex: 1 1 auto; width: auto; }
#the-team .tm-rep-goal b { font: 600 13.5px/1 var(--mono); color: #f6eedc; }

/* wide: the team and the report side by side, the Leader pointing across at you */
@container (min-width: 1260px) {
  #the-team .tm { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 48px; align-items: start; }
  #the-team .tm-ceo { max-width: none; margin: 0; padding-top: 118px; }   /* You, level with Ceres */
  #the-team .tm-ceo-head { flex-direction: row; text-align: left; }
  #the-team .tm-ceo-t b { font-size: 28px; }
  #the-team .tm-ceo-t > span { font-size: 18px; }
  #the-team .tm-note-you::after { content: '\2192'; }
}

/* a phone: the three who command in a column, the Synths two by two under them. One wire runs
   down the middle behind the notes, branches to each pair, and every piece names its own rank. */
@container (max-width: 759px) {
  #the-team .display { --d: 40px; text-wrap: balance; }
  #the-team .display span { display: inline; }
  #the-team .tm-team { padding: 16px 14px 18px; }
  #the-team .tm-goal { margin-bottom: 22px; }
  #the-team .tm-goal-n { flex-wrap: wrap; }
  #the-team .tm-grid { --tm-gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #the-team .tm-rk,
  #the-team .tm-cmd::before { display: none; }
  #the-team .tm-tag { display: block; }
  #the-team .tm-cmd { position: relative; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); row-gap: 10px; justify-items: center; }
  #the-team .tm-cmd > .tm-c,
  #the-team .tm-cmd > .tm-note { grid-column: 1; justify-self: center; }
  #the-team .tm-cmd > .tm-c { width: 100%; max-width: 380px; }
  /* the spine, behind each block and down into the gap under it; the notes sit on it like labels */
  #the-team .tm-cmd-2 > .tm-c::before,
  #the-team .tm-cmd-3 > .tm-c::before,
  #the-team .tm-cmd-3 > .tm-c::after { display: none; }
  #the-team .tm-cmd { isolation: isolate; }
  #the-team .tm-cmd > .tm-note { position: relative; z-index: 1; background-color: #060b15; }
  #the-team .tm-note { max-width: none; padding: 3px 10px; border-radius: 8px; text-align: center; }
  #the-team .tm-note-you { padding: 7px 13px; border-radius: 999px; background: linear-gradient(rgba(var(--need), 0.13), rgba(var(--need), 0.13)), #060b15; }
  #the-team .tm-ms { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 7px 18px; padding: 6px 12px; }
  #the-team .tm-cmd-1::after,
  #the-team .tm-cmd-2::after,
  #the-team .tm-cmd-3::after { content: ''; position: absolute; z-index: -1; left: 50%; top: 30px; bottom: calc(var(--tm-gap) * -1); width: 2px; margin-left: -1px; background: var(--tm-wire); }
  #the-team .tm-cmd-3::after { bottom: calc(var(--tm-gap) / -2); }
  /* two Synths a row, still one subgrid each, so a droid and its workers line up across the pair */
  #the-team .tm-u1 { grid-row: 4 / span 3; grid-column: 1; }
  #the-team .tm-u2 { grid-row: 4 / span 3; grid-column: 2; }
  #the-team .tm-u3 { grid-row: 7 / span 3; grid-column: 1; }
  #the-team .tm-u4 { grid-row: 7 / span 3; grid-column: 2; }
  #the-team .tm-u3 > .tm-syn,
  #the-team .tm-u4 > .tm-syn { margin-top: 12px; }
  /* the first pair hangs off the spine; it carries on down the gap between them to the second */
  #the-team .tm-u1::before { left: 50%; right: -6px; }
  #the-team .tm-u2::before { left: -6px; right: 50%; }
  #the-team .tm-u2::after { content: ''; position: absolute; left: -7px; top: calc(var(--tm-gap) / -2); bottom: calc(var(--tm-gap) * -1 - 6px); width: 2px; background: var(--tm-wire); }
  #the-team .tm-u3::before { top: 5px; left: 50%; right: -6px; }
  #the-team .tm-u4::before { top: 5px; left: -6px; right: 50%; }
  #the-team .tm-u3 > .tm-syn::before,
  #the-team .tm-u4 > .tm-syn::before { height: 5px; }
  /* with no rank down the side, the wire names the Synths and each droid and worker group says what it is */
  #the-team .tm-cmd-3::before { content: 'Synths'; display: block; grid-column: 1; grid-row: 3; align-self: auto; justify-self: center; height: auto; position: relative; z-index: 1; padding: 3px 10px; border-radius: 999px; font: 500 11px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #eef0f3; background: linear-gradient(rgba(140, 160, 230, 0.18), rgba(140, 160, 230, 0.18)), #060b15; }
  #the-team .tm-droid { justify-self: stretch; }
  #the-team .tm-dj { display: none; }
  #the-team .tm-droid b::after { content: 'Droid'; margin-left: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: #c3c7ce; }
  #the-team .tm-runs::after { content: 'Workers'; order: -1; flex-basis: 100%; font: 500 11px/1.2 var(--mono); letter-spacing: 0.13em; text-align: center; text-transform: uppercase; color: #c3c7ce; }
  #the-team .tm-runs li { font-size: 11px; white-space: nowrap; }
  #the-team .lede { display: block; max-width: 30em; }
  #the-team .lede span { display: inline; }
  #the-team .tm-better ul { grid-template-columns: minmax(0, 1fr); }
  #the-team .tm-better { margin-top: 22px; }
  #the-team .tm-rep { padding: 20px 18px 18px; }
}

/* nothing moves for a reader who asked for stillness */
@media (prefers-reduced-motion: reduce) {
  #the-team .tm-runs li { animation: none; opacity: 1; }
  #the-team .tm-ms .tm-ms-on::before,
  #the-team .tm-cmd-2 > .tm-c::before,
  #the-team .tm-cmd-3 > .tm-c::before,
  #the-team .tm-droid::before,
  #the-team .tm-runs::before,
  #the-team .tm-none { animation: none; background: var(--tm-wire); }
  #the-team .tm-ms .tm-ms-on::before { background: #8fa3e8; }
}

/* ------------------------------------------------------------ 5 · explore */
/* Five doors: two wide, three narrow. Each one is the page's own hero line. */

body.v3 main > #explore.b {
  --b-bg: linear-gradient(to bottom, var(--ground), var(--ground-up) 50%, var(--ground));
}
#explore .display { --d: clamp(48px, 6.4vw, 96px); }
#explore .doors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(48px, 5vw, 72px);
  text-align: left;
}
#explore .door { grid-column: span 2; height: clamp(360px, 31vw, 440px); }
#explore .door:nth-child(-n+2) { grid-column: span 3; height: clamp(400px, 36vw, 520px); }
#explore .door a {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
  background: #0b0f18;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 48px 90px -42px rgba(0, 0, 0, 0.95);
  isolation: isolate;
}
#explore .door img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: brightness(1.1) saturate(1.05);
  transition: transform .6s ease;
}
#explore .door a::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 13, 0.88) 0%, rgba(2, 6, 13, 0.5) 30%, rgba(2, 6, 13, 0) 56%, rgba(2, 6, 13, 0.35) 100%);
}
#explore .door a:hover img { transform: scale(1.04); }
#explore .door-t { position: absolute; left: 34px; right: 34px; top: 32px; }
#explore .door-t b {
  display: block;
  padding-bottom: 0.08em;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 460;
  line-height: 1.05;
  letter-spacing: -0.035em;
  background: linear-gradient(to bottom, var(--ivory-hi), var(--ivory-lo));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
#explore .door-t span { display: block; max-width: 26em; margin-top: 10px; font-size: 17px; line-height: 1.4; color: #d4d1cc; }
#explore .door-go {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 15, 19, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1.5px #e3bf8e, 0 0 18px -4px rgba(227, 184, 122, 0.45);
  color: #fdfcfa;
  font-style: normal;
  transition: background .15s;
}
#explore .door-go::before { content: '\2192'; font-size: 19px; line-height: 1; }
#explore .door a:hover .door-go { background: rgba(219, 195, 170, 0.22); }

/* ------------------------------------------------------------ 6 · the way in */
/* The close: one subscription, three names, one price, one button. The hero's
   city rises out of the floor under a warm glow, as on the current Home. */

body.v3 main > #the-way-in.b {
  --b-end: 0px;
  --b-bg:
    radial-gradient(60% 40% at 50% 100%, rgba(236, 186, 116, 0.45), transparent 78%),
    radial-gradient(90% 50% at 50% 100%, rgba(80, 118, 196, 0.18), transparent 78%),
    radial-gradient(48% 34% at 50% 20%, rgba(227, 184, 122, 0.13), transparent 76%),
    var(--ground);
}
#the-way-in .display { --d: clamp(56px, 8.4vw, 124px); }
#the-way-in .cta-one { margin-top: clamp(32px, 4vw, 48px); font-size: clamp(20px, 1.9vw, 27px); font-weight: 300; }
#the-way-in .cta-three {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
#the-way-in .cta-three li {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 18px;
  line-height: 1.2;
  color: #f1ede6;
  background: var(--c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
#the-way-in .cta-three li:nth-child(1) { --c: rgba(120, 146, 222, 0.2); }
#the-way-in .cta-three li:nth-child(2) { --c: rgba(230, 160, 80, 0.2); }
#the-way-in .cta-three li:nth-child(3) { --c: rgba(255, 238, 200, 0.18); }
#the-way-in .cta-price {
  margin-top: clamp(40px, 5vw, 64px);
  padding-bottom: 0.08em;
  font-size: clamp(60px, 7.4vw, 108px);
  font-weight: 460;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(to bottom, var(--ivory-hi) 8%, var(--ivory-mid) 52%, var(--ivory-lo) 96%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
#the-way-in .cta-lines { margin-top: 28px; font-size: clamp(19px, 1.7vw, 23px); font-weight: 300; line-height: 1.5; }
#the-way-in .cta-lines span { display: block; }
#the-way-in .pill { margin-top: 44px; padding: 17px 64px; font-size: 20px; }
#the-way-in::after {
  content: '';
  display: block;
  height: max(150px, 22.2vw);           /* hero-city.webp is 1586 x 352 */
  margin: -12px calc(-1 * max(var(--pad), calc((100vw - 1248px) / 2))) 0;
  background: url('assets/hero-city.webp') center bottom / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 46%);
          mask-image: linear-gradient(to bottom, transparent, #000 46%);
  pointer-events: none;
}

/* ------------------------------------------------------------ 1100 and down */

@media (max-width: 1100px) {
  /* the building reflows: tools, your calls, the tower, its floors, the three results */
  #opportunity .opp-stage { display: flex; flex-direction: column; align-items: center; gap: 28px; width: auto; max-width: 640px; height: auto; zoom: 1; }
  #opportunity .opp-tools { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 8px; max-width: 600px; }
  #opportunity .opp-tools li { position: static; transform: rotate(var(--r, 0deg)); }
  #opportunity .opp-tools li:nth-child(n+12) { display: none; }
  #opportunity .opp-you { position: static; transform: none; }
  #opportunity .opp-art {
    position: relative; left: auto; top: auto; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  }
  #opportunity .opp-art img { height: 100%; object-fit: cover; object-position: 50% 50%; }
  #opportunity .opp-wire { display: none; }
  /* without leader lines, each card carries its floor number, top floor first */
  #opportunity .opp-floors { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin-top: -12px; counter-reset: floor 7; }
  #opportunity .opp-floors li { position: relative; top: auto; width: auto; padding-right: 44px; transform: none; counter-increment: floor -1; }
  #opportunity .opp-floors li.l,
  #opportunity .opp-floors li.r { left: auto; }
  #opportunity .opp-floors li::after { content: counter(floor, decimal-leading-zero); position: absolute; top: 12px; right: 14px; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; color: #b3aa9b; }
  /* and one lit line carries the work from the floors down to the three results */
  #opportunity .opp-outs { position: relative; top: auto; left: auto; right: auto; grid-template-columns: minmax(0, 1fr); gap: 44px; width: 100%; margin-top: 4px; padding-top: 64px; }
  #opportunity .opp-outs::before { content: ''; position: absolute; left: 50%; top: -32px; width: 3px; height: 84px; margin-left: -1.5px; border-radius: 2px; background: linear-gradient(to bottom, rgba(255, 250, 240, 0.25), #fffaf0); box-shadow: 0 0 12px rgba(255, 250, 240, 0.8); }
  #opportunity .opp-outs > li { grid-template-rows: auto auto; gap: 16px; }
  #opportunity .opp-outs > li > :last-child { height: auto; }
  #opportunity .opp-outs .site img { height: auto; }
  #explore .door,
  #explore .door:nth-child(-n+2) { grid-column: span 3; height: clamp(320px, 44vw, 440px); }
  #explore .door:last-child { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------ phones */
@media (max-width: 760px) {
  body.v3 { --b-y: 80px; }

  body.v3 main > #top.b {
    padding-top: calc(var(--header-h) + 48px);
  }
  #top #top-eyebrow { margin-bottom: 22px; font-size: 11px; }
  #top .display { --d: clamp(43px, 12.8vw, 62px); }
  #top #top-sub { max-width: 19em; margin-top: 22px; font-size: 18px; }
  #top .actions { gap: 12px; margin-top: 28px; }
  #top .pill { padding: 14px 18px; font-size: 14px; gap: 10px; }
  #top #top-note { margin-top: 16px; font-size: 12px; }

  #opportunity .opp-stage { gap: 24px; }
  #opportunity .opp-tools li { height: 32px; font-size: 12.5px; }
  #opportunity .opp-tools li.near { height: 34px; font-size: 13.5px; }
  #opportunity .opp-tools li:nth-child(n+9) { display: none; }
  #opportunity .opp-you .bt { display: none; }
  #opportunity .opp-art { aspect-ratio: 4 / 5; }
  #opportunity .opp-floors { grid-template-columns: minmax(0, 1fr); }
  #opportunity .opp-outs .booked { padding: 24px 22px; }
  #opportunity .opp-outs .booked .tq { font-size: 22px; }

  #explore .doors { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  #explore .door,
  #explore .door:nth-child(-n+2),
  #explore .door:last-child { grid-column: 1; height: 340px; }
  #explore .door-t { left: 24px; right: 24px; top: 24px; }
  #explore .door-t span { font-size: 16px; }

  #the-way-in .cta-three li { padding: 10px 18px; font-size: 16px; }
  #the-way-in .pill { width: 100%; max-width: 340px; padding: 16px 24px; font-size: 18px; }
}

/* nothing moves for a reader who asked for stillness */
@media (prefers-reduced-motion: reduce) {
  #top .pill,
  #explore .door img,
  #solution .kc-bar i { transition: none; }
  #solution .kb-on .kc-call::after { animation: none; }
  #opportunity .opp-beads { display: none; }
}
