/* /training, /transformation and /platforms. Everything on them is the kit
   (studio.css); this sheet holds the handful of pieces those three pages add. */

/* A small label above a cell's heading: "Day 01", "Operational workload", "Service and
   sales". Gradient-coloured, not gradient-filled, so it stays legible at 12px. */
.day {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-l);
}
.day em {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--txt);
  background: rgb(255 255 255 / 8%);
  border-radius: 999px;
}
.ico + .day { margin-top: -4px; }

/* The address of a shipped app, shown as evidence, not as somewhere to go. */
.addr { display: block; margin-top: 4px; font-family: var(--font); font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--mut2); }

/* A zoomable strip of app screens across the bottom of a cell. */
.strip { margin-top: 18px; }

.steps--centre { justify-content: center; margin-top: 28px; }
.proof { margin-top: 16px; }
.proof .cell { text-align: center; }
.proof h3 { font-size: 15px; color: var(--mut); }

/* The numbered points on /training's "how it is taught". */
.points { display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.points b { font-family: var(--font-h); font-size: 12px; font-weight: 800; color: var(--blue-l); padding-top: 4px; }
.points h3 { font-size: 17px; }
.points p { margin-top: 6px; font-size: 14.5px; line-height: 1.58; color: var(--mut); }

/* The one summary line after a grid. */
.sum { max-width: 760px; margin-top: 28px; font-size: 15px; line-height: 1.6; color: var(--mut); }
.sum b { color: var(--txt); font-weight: 600; }
.sum a { color: var(--txt); text-decoration: underline; text-underline-offset: 0.2em; }
.sum--centre { margin-inline: auto; text-align: center; }

/* ------------------------------------------------------------- the wall

   The WhatsApp messages: two rows travelling opposite ways, each carrying its own copy
   in the markup so -50% loops seamlessly with no script. The images are pre-scaled to
   one type size and padded to one height, so the row sets a height and each keeps its
   own width. Click one to open it full size. */
.wall {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.wall__row { display: flex; gap: 16px; width: max-content; animation: crawl 34s linear infinite; }
.wall__row--back { animation-duration: 40s; animation-direction: reverse; }
.wall__row > li { flex: none; height: 300px; }
.wall__row .zoomable { width: auto; height: 100%; }
.wall__row img { width: auto; height: 100%; border: 1px solid var(--line2); border-radius: 14px; }
@keyframes crawl { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .wall { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .wall__row { animation: none; }
}
@media (max-width: 749px) { .wall__row > li { height: 200px; } }

/* ------------------------------------------------------- the belt of builds

   The pill marquee, carrying a category, a title and a line rather than one word. */
.marq--belt .marquee__track > li {
  display: grid;
  gap: 4px;
  width: 330px;
  padding: 16px 18px;
  white-space: normal;
  border-radius: 16px;
}
.marq--belt .marquee__track > li::before { display: none; }
.marq--belt .marquee__track > li > span { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-l); }
.marq--belt .marquee__track > li { font-size: 16px; color: var(--txt); }
.marq--belt .marquee__track > li > small { font-family: var(--font); font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--mut); }
@media (max-width: 749px) { .marq--belt .marquee__track > li { width: 260px; } }

/* --------------------------------------------------------------- the orbit */
.graph .ring { fill: none; stroke: url(#wire); stroke-width: 1.5; transform-origin: 240px 150px; animation: ring 3.2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(0.7); opacity: 0.55; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* ------------------------------------------------------------------ grants */
.facts { margin-top: 16px; }
.facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; font-size: 14px; border-top: 1px solid var(--line); }
.facts dt { color: var(--mut2); }
.facts dd { color: var(--mut); }
.facts b { color: var(--txt); font-weight: 600; border-bottom: 2px solid var(--blue); }
.cell--pending { border-style: dashed; background: transparent; }
.cell--pending .facts b { border-bottom-color: var(--mut2); }
@media (max-width: 749px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* ------------------------------------------------------ the platform rows */
.rows { display: grid; gap: 32px; }
.row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; }
.row--flip .row__shot { order: 2; }
.row__shot { grid-column: auto; padding: 10px; }   /* .cell spans 2 in a bento; here the row is the grid */
.row__shot img { width: 100%; height: auto; border-radius: 12px; }
.row__copy h3 { font-size: clamp(24px, 2.4vw, 32px); }
.row__copy > p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--mut); }
.row__copy .list { margin-top: 14px; }
.row__copy .list li { padding-left: 16px; margin-top: 8px; font-size: 14.5px; color: var(--mut); position: relative; }
.row__copy .list li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: var(--grad); }
.row__copy .tags { margin-top: 18px; }
.row__copy .btn { margin-top: 22px; }
@media (max-width: 880px) {
  .row { grid-template-columns: 1fr; gap: 18px; }
  .row--flip .row__shot { order: 0; }
}
