/* Section four only: a quieter view of the work across the firm. */
#today .fo-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  padding-top: clamp(35px, 4vw, 64px);
}
#today .firm-intro > p { margin-top: 22px; font-size: clamp(16px, 1.25vw, 19px); color: #c9c7cd; }
#today .fo-board { min-width: 0; max-width: 650px; padding: 24px; border-radius: 14px; background: var(--ui-panel); box-shadow: 0 20px 50px -30px #11101775; color: var(--ui-text); }
#today svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

#today .fo-person { display: flex; align-items: center; gap: 12px; padding: 0 4px 24px; }
#today .fo-person > .case-avatar { width: 46px; height: 46px; box-shadow: 0 0 0 1px #857488; }
#today .fo-person h3 { font-size: 20px; font-weight: 530; letter-spacing: -.035em; }
#today .fo-person p { margin-top: 3px; color: var(--ui-muted); font-size: 13px; }
#today .fo-person > time { margin-left: auto; color: var(--ui-quiet); font-size: 12px; }
#today .fo-matters { list-style: none; padding: 0; margin: 0; }

#today .fo-review {
  position: relative;
  padding: 24px 27px 21px;
  border: 1px solid #8b776d;
  border-radius: 14px;
  background: linear-gradient(125deg, #443d37, #353333);
  box-shadow: 0 16px 32px -24px #110e1b80, inset 0 1px 0 #ead7c508;
}
#today .fo-review-label { display: flex; align-items: center; gap: 8px; color: #e7c9a6; font-size: 12px; font-weight: 510; letter-spacing: .01em; margin-bottom: 22px; }
#today .fo-dot { width: 6px; height: 6px; border-radius: 50%; background: #dfbb8b; box-shadow: 0 0 0 4px #dbb8890d; }
#today .fo-company { color: var(--ui-muted); font-size: 13px; line-height: 1.4; }
#today .fo-review .fo-company { color: #d3c9bd; }
#today h4 { margin: 5px 0 0; color: var(--ui-text); font-size: 21px; line-height: 1.25; letter-spacing: -.035em; font-weight: 490; }
#today .fo-review h4 { font-size: 28px; }
#today .fo-document { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 14px; background: #24242680; border: 1px solid transparent; border-radius: 7px; }
#today .fo-file-icon { display: grid; place-items: center; flex: none; color: #c8b2bd; }
#today .fo-file-icon svg { width: 25px; height: 29px; stroke-width: 1.2; }
#today .fo-document > span:nth-child(2) { min-width: 0; font-size: 13px; line-height: 1.45; color: #e2d5de; overflow-wrap: anywhere; }
#today .fo-document small { display: block; margin-top: 2px; color: #b8a9b5; font-size: 11px; }
#today .fo-file-format { margin-left: auto; font-size: 10px; letter-spacing: .04em; color: #b8a5af; }
#today .fo-prepared { display: flex; align-items: center; gap: 10px; margin-top: 19px; }
#today .fo-coworkers { display: flex; align-items: center; padding-right: 2px; flex: none; }
#today .fo-coworkers > .case-avatar { width: 29px; height: 29px; box-shadow: 0 0 0 2px #453b43; }
#today .fo-coworkers > span { display: grid; place-items: center; width: 25px; height: 25px; margin-left: -5px; border-radius: 50%; color: #d4b8e3; background: #665171; box-shadow: 0 0 0 2px #453b43; }
#today .fo-coworkers svg { width: 16px; height: 16px; fill: currentColor; stroke-width: .3; }
#today .fo-prepared p { color: #cdbecb; font-size: 12px; line-height: 1.5; }
#today .fo-prepared strong { color: #e8dce5; font-weight: 530; }
#today .fo-prepared p > span { color: #b7a7bc; margin-left: 5px; }
#today .fo-prepared > time { margin-left: auto; color: #ad9cab; font-size: 11px; }

#today .fo-waiting, #today .fo-completed { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 15px; padding: 25px 20px; }
#today .fo-waiting { margin-top: 4px; border-bottom: 1px solid var(--ui-line); }
#today .fo-state-icon { color: #a99fae; display: grid; place-items: start center; padding-top: 4px; }
#today .fo-state-icon svg { width: 23px; height: 23px; stroke-width: 1.3; }
#today .fo-state { display: flex; align-items: center; gap: 5px; margin-top: 9px; color: var(--ui-muted); font-size: 13px; line-height: 1.4; }
#today .fo-completed > .case-avatar { width: 34px; height: 34px; margin-top: 3px; box-shadow: 0 0 0 1px #6a7e71; }
#today .fo-company > span { margin-inline: 4px; color: #85778d; }
#today .fo-completed h4 a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
#today .fo-completed h4 a:hover { text-decoration: underline; }
#today .fo-completed h4 a > span { margin-left: 5px; color: #af9bbd; font-size: 15px; }
#today .fo-delivery { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
#today .fo-delivery .fo-state { margin: 0; color: #b8d1c0; }
#today .fo-state > svg { width: 13px; height: 13px; }
#today .fo-channels { display: flex; align-items: center; gap: 9px; margin-left: auto; color: #b6cabb; }
#today .fo-channels svg { width: 17px; height: 17px; }
#today .fo-delivery > time { color: #aa9cb5; font-size: 11px; }

@media (max-width: 959.98px) {
  #today .fo-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 650px; }
  #today .firm-intro h2 br { display: none; }
  #today .firm-intro > p { margin-top: 17px; max-width: none; }
  #today .fo-board { width: 100%; }
}
@media (max-width: 560px) {
  #today .fo-layout { width: calc(100% - 40px); gap: 27px; padding-top: 42px; }
  #today .fo-board { padding: 18px 14px 5px; border-radius: 12px; }
  #today .firm-intro h2 { max-width: 10ch; font-size: clamp(43px, 12vw, 58px); }
  #today .firm-intro h2 br { display: initial; }
  #today .firm-intro > p { margin-top: 15px; font-size: 16px; line-height: 1.5; }
  #today .fo-person { gap: 10px; padding: 0 1px 20px; }
  #today .fo-person > .case-avatar { width: 40px; height: 40px; }
  #today .fo-person h3 { font-size: 18px; }
  #today .fo-person p { font-size: 12px; }
  #today .fo-person > time { font-size: 11px; }
  #today .fo-review { padding: 18px 18px 17px; border-radius: 12px; }
  #today .fo-review-label { font-size: 11px; margin-bottom: 17px; }
  #today .fo-review h4 { font-size: 25px; }
  #today .fo-document { margin-top: 17px; gap: 10px; padding: 11px; }
  #today .fo-file-format { display: none; }
  #today .fo-prepared { margin-top: 16px; gap: 8px; }
  #today .fo-prepared p > span { display: block; margin: 0; font-size: 11px; }
  #today .fo-waiting, #today .fo-completed { grid-template-columns: 30px minmax(0, 1fr); gap: 11px; padding: 22px 8px; }
  #today .fo-completed > .case-avatar { width: 29px; height: 29px; }
  #today h4 { font-size: 20px; }
  #today .fo-state { font-size: 12px; }
  #today .fo-delivery { gap: 9px; }
  #today .fo-channels { gap: 7px; }
}
@media (max-width: 360px) {
  #today .fo-layout { width: calc(100% - 32px); }
  #today .fo-review { padding-inline: 15px; }
  #today .fo-delivery > time { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  #today[data-motion] .fo-completed:not(.is-seen) { opacity: .55; transform: translateY(6px); }
  #today[data-motion] .fo-completed.is-seen { animation: fo-record-arrives .9s ease-out both; }
  @keyframes fo-record-arrives { from { opacity: .55; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @keyframes fo-review-attention {
    0%, 100% { border-color: #8b776d; box-shadow: 0 16px 32px -24px #110e1b80; }
    45% { border-color: #c4a27f; box-shadow: 0 16px 32px -24px #110e1b80, 0 0 0 4px #d1ae8710, 0 0 34px -6px #d1ae871c; }
  }
  @media (min-width: 960px) {
    #today[data-motion] .fo-board[data-arrived] .fo-review { animation: fo-review-attention 2.5s .9s ease-in-out both; }
  }
  @media (max-width: 959.98px) {
    #today[data-motion] .fo-review.is-seen { animation: fo-review-attention 2.5s .2s ease-in-out both; }
  }
}
