/* Three ways to take part: typed, spoken, and spread over the week, each one compact row over a small example.
   They are still pictures, with no motion, on a desktop as on a phone (the captain, 5 Oct) */
.take-part { margin-top: 80px; }
.take-part h3 { max-width: 720px; margin-bottom: 26px; font-size: 28px; font-weight: 800; line-height: 1.2; }
/* Side by side, each way's name, line and example on shared rows so the three examples line up */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }
.way { display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: 38px minmax(0, 1fr); grid-template-areas: "icon name" "icon line" "panel panel"; align-items: center; gap: 2px 14px; padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.way-head { display: contents; }
/* Level with the name, however many lines the tallest card's line takes */
.way-head .mode-icon { grid-area: icon; align-self: start; margin-top: 2px; }
.way-head h4 { grid-area: name; margin: 0; font-family: var(--font-heading); font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
/* The examples are plainly pictures, as on the phone, so the name has the row to itself */
.way-head .example-tag { display: none; }
.mode-icon { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.mode-icon .icon { width: 17px; height: 17px; }
.way-line { grid-area: line; align-self: start; margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.way-panel { grid-area: panel; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--soft); }

/* Chat: an answer being typed to Elly, with a caret that says it is still being written */
.call-bar { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.call-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.chat-bar .typing { display: flex; gap: 4px; margin-left: auto; }
.chat-bar .typing i { width: 4px; height: 4px; border-radius: 50%; background: #3E4245; opacity: .3; animation: none; }
.composer { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 4px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.composer-field { flex: 1; min-width: 0; height: 24px; overflow: hidden; white-space: nowrap; font-size: 14px; line-height: 24px; }
.composer-hint { display: none; color: var(--muted); }
.composer-typed { color: var(--ink); }
.composer-typed::after { content: ""; display: inline-block; width: 2px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--magenta); }
.composer-send { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.composer-send .icon { width: 12px; height: 12px; }

/* Voice: the call, Elly and the participant either side of the voice */
.call-time { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--muted); }
.call { display: flex; align-items: center; gap: 10px; height: 34px; }
.call-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.call-avatar img { width: 100%; height: 100%; }
.call-avatar.person { background: #3E4245; color: #fff; }
.call-avatar.person .icon { width: 15px; height: 15px; }
.wave { flex: 1; min-width: 0; height: 26px; display: flex; align-items: center; justify-content: space-between; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: #C6CBCB; transform: scaleY(var(--level)); }

/* On their own time: one conversation over the week, a bar like the call's with the sessions and their minutes, over a strip of the five working days with each sitting's time and minutes inside its day (the captain, 5 Oct: as compact as chat and voice) */
.time-panel { gap: 8px; }
.time-bar { flex-wrap: wrap; gap: 4px 8px; }
.time-bar > span { white-space: nowrap; }
.time-bar .call-time { color: var(--ink); }
.time-bar .call-time b { font-weight: 800; color: var(--blue); }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.day { display: grid; grid-template-rows: auto 42px; gap: 4px; text-align: center; }
.day-name { font-family: var(--font-heading); font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.day.has-sit .day-name { color: var(--ink); }
.day::after { content: ""; grid-row: 2; grid-column: 1; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sit { grid-row: 2; grid-column: 1; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; border-radius: 8px; background: var(--blue); font-family: var(--font-heading); line-height: 1.1; white-space: nowrap; color: #fff; }
.sit b { font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sit span { font-size: 10.5px; font-weight: 800; opacity: .85; }

/* One way to a row, its example beside it */
@media (max-width: 1099px) {
  .ways { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .way { grid-row: auto; grid-template-rows: none; grid-template-columns: 38px minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "icon name panel" "icon line panel"; gap: 2px 14px; padding: 14px 16px 14px 18px; }
  .way-head .mode-icon { align-self: center; margin-top: 0; }
  .way-head h4 { align-self: end; }
  .way-panel { margin-top: 0; margin-left: 14px; }
}
@media (max-width: 720px) {
  .take-part { margin-top: 40px; }
  .take-part h3 { font-size: 21px; margin-bottom: 14px; }
  /* On a phone each way is one row, its icon beside its name and one short line, with its example under it */
  .ways { gap: 8px; }
  .way { grid-template-columns: 36px minmax(0, 1fr); grid-template-areas: "icon name" "icon line" "panel panel"; gap: 2px 12px; padding: 12px 14px; border-radius: 16px; }
  .way-head h4 { font-size: 16px; }
  .mode-icon { width: 34px; height: 34px; }
  .mode-icon .icon { width: 16px; height: 16px; }
  .way-line { align-self: center; font-size: 14px; line-height: 1.4; }
  .way-panel { gap: 4px; margin: 8px 0 0; padding: 8px 16px; border-radius: 8px; }
  .call-bar { font-size: 10.5px; }
  .composer { height: 32px; }
  .composer-send { width: 24px; height: 24px; }
  .call { gap: 8px; height: 32px; }
  .call-avatar { width: 32px; height: 32px; }
  .call-avatar.person .icon { width: 14px; height: 14px; }
  .wave { height: 24px; }
  .time-panel { gap: 6px; padding-bottom: 10px; }
}
