/* Motion Sites Nimbus Demo, Nimbus Sticky Cards and Media Card Carousel,
   adapted to real Trumio recordings and colleagues. */
.home-experience,
.home-workbench {
  position: relative;
  padding-block: 88px;
}
.anchor-alias {
  position: absolute;
  top: 0;
}
.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}
.title-line > span {
  display: inline-block;
}
.experience-heading {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 48px;
}
.experience-heading .editorial-label {
  margin-bottom: 24px;
}
.experience-heading h2 {
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-wrap: initial;
}
.experience-heading > p {
  max-width: 36ch;
  justify-self: end;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 4px;
}
.product-console {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(210px, 0.27fr) minmax(0, 0.73fr);
  border: 1px solid rgba(var(--paper-rgb), 0.22);
  border-radius: 8px;
  background: #141414;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-origin: center bottom;
}
.product-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.05) 42%,
    transparent 64%
  );
  opacity: 0;
  transform: translateX(-10%);
  transition:
    opacity 0.4s,
    transform 0.8s var(--ease);
}
.product-navigation {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--line);
}
.product-tabs {
  display: none;
}
.product-is-ready .product-tabs {
  display: flex;
  flex-direction: column;
}
.product-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: left;
  gap: 0 12px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: rgba(var(--paper-rgb), 0.58);
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.product-tab:first-child {
  padding-top: 4px;
}
.product-tab-name {
  display: block;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.product-tab-purpose {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
}
.product-tab-arrow {
  font-size: 23px;
  line-height: 1.1;
  transition: transform 0.55s var(--ease);
}
.product-tab img {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  max-height: 0;
  opacity: 0;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1);
  margin-top: 0;
  border-radius: 3px;
  transition:
    max-height 0.65s var(--ease),
    opacity 0.55s,
    margin 0.65s var(--ease);
}
.product-tab.is-active {
  color: var(--paper);
}
.product-tab.is-active img {
  max-height: 160px;
  margin-top: 22px;
  opacity: 0.9;
}
.product-tab.is-active .product-tab-arrow {
  transform: rotate(45deg);
}
.product-tab:hover {
  color: var(--paper);
}
.console-coach {
  padding-top: 30px;
  margin-top: auto;
}
.coach-rule {
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--paper);
}
.console-coach h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.console-coach p {
  max-width: 25ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.product-screen-stack {
  min-width: 0;
  padding: 32px;
  overflow: hidden;
}
.product-screen {
  min-width: 0;
}
[data-product-panel][hidden] {
  display: none;
}
.product-screen + .product-screen {
  margin-top: 40px;
}
.product-is-ready .product-screen + .product-screen {
  margin-top: 0;
}
.screen-copy {
  margin-bottom: 24px;
}
.screen-copy h3 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.screen-copy p {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
  color: var(--muted);
}
.learning-film {
  margin: 0;
  min-width: 0;
}
.learning-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 1204;
  object-fit: contain;
  border: 1px solid rgba(var(--paper-rgb), 0.18);
  border-radius: 3px;
  background: var(--ink);
  filter: grayscale(1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.learning-video:fullscreen {
  object-fit: contain;
}
.learning-film figcaption,
.learning-video-error {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
  color: var(--muted);
}
.practice-scope {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-top: 32px;
}
.practice-scope .editorial-label {
  flex-shrink: 0;
}
.practice-scope ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.home-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pro-column-gap);
  align-items: end;
  margin-bottom: 44px;
}
.home-heading .editorial-label {
  margin-bottom: 24px;
}
.home-heading h2 {
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: initial;
}
.assignment-brief h3 {
  margin-bottom: 14px;
  font-size: 26px;
}
.assignment-brief p {
  max-width: 44ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.assignment-brief .simulation-note {
  margin-top: 16px;
  font-size: 14px;
}
.team-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.team-heading h3 {
  font-size: 18px;
}
.team-controls {
  display: none;
  gap: 8px;
}
.team-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 24px;
  transition:
    background 0.25s,
    color 0.25s;
}
.team-controls button:disabled {
  opacity: 0.3;
}
.team-controls button:not(:disabled):hover {
  background: var(--ink);
  color: var(--paper);
}
.team-gallery {
  display: flex;
  gap: 12px;
  margin: 0;
  min-width: 0;
}
.team-person {
  flex: 1 1 0%;
  min-width: 0;
  margin: 0;
  transition: flex-grow 0.8s cubic-bezier(0.2, 0.7, 0.15, 1);
}
.team-person.is-active {
  flex-grow: 1.85;
}
.team-select {
  position: relative;
  display: block;
  width: 100%;
  height: 450px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.team-select::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(0, 0, 0, 0.18) 52%,
    rgba(0, 0, 0, 0.9) 100%
  );
  pointer-events: none;
}
.team-select img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(1);
  opacity: 0.72;
  transform: scale(1.05);
  transition:
    opacity 0.8s,
    transform 1.2s var(--ease);
}
.team-person.is-active img {
  opacity: 1;
  transform: scale(1);
}
.team-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 24px;
  z-index: 1;
}
.team-name {
  display: block;
  max-width: 13ch;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.team-role {
  display: block;
  max-width: 23ch;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(var(--paper-rgb), 0.8);
}
.team-note {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transform: translateY(12px);
  font-size: 14px;
  line-height: 1.55;
  max-width: 29ch;
  transition:
    max-height 0.65s var(--ease),
    margin 0.65s var(--ease),
    opacity 0.5s,
    transform 0.65s var(--ease);
}
.team-person.is-active .team-note {
  max-height: 70px;
  opacity: 1;
  margin-top: 18px;
  transform: none;
}
.assignment-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0 0;
  margin: 0;
  list-style: none;
}
.assignment-flow li {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.4;
}
.home-experience :focus-visible,
.home-workbench :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.team-select:focus-visible {
  outline-color: var(--ink);
}
/* Defaults remain visible without JS; observer targets always retain geometry. */
[data-image-reveal] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
[data-image-reveal].image-is-ready::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
[data-image-reveal].image-is-ready:not(.image-is-visible)::before {
  transform: scaleY(1);
}
[data-image-reveal].image-is-ready:not(.image-is-visible) > img {
  transform: scale(1.12);
}
[data-image-reveal] > img {
  transition: transform 1.4s var(--ease);
}
[data-enter].enter-is-ready {
  transition:
    opacity 0.75s,
    transform 0.85s var(--ease);
}
[data-enter].enter-is-ready:not(.enter-is-visible) {
  opacity: 0;
  transform: translateY(32px);
}
.title-is-ready .title-line > span {
  transition: transform 1.1s var(--ease);
}
.title-is-ready .title-line:nth-child(2) > span {
  transition-delay: 0.12s;
}
.title-is-ready:not(.title-is-visible) .title-line > span {
  transform: translateY(115%) rotate(4deg);
}
.console-is-ready {
  transition:
    transform 1.2s var(--ease),
    opacity 0.9s;
}
.console-is-ready:not(.console-is-visible) {
  transform: perspective(1400px) rotateX(10deg) translateY(80px) scale(0.96);
  opacity: 0.35;
}
body:not(.pro-enhanced) .team-note {
  max-height: none;
  margin-top: 14px;
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .product-console:hover::before {
    opacity: 1;
    transform: translateX(10%);
  }
  .team-gallery:has(.team-select:focus-visible)
    .team-person:not(:focus-within)
    img {
    opacity: 0.6;
  }
}
@media (max-width: 1100px) {
  .home-experience,
  .home-workbench {
    padding-block: 72px;
  }
  .experience-heading {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
  .experience-heading h2,
  .home-heading h2 {
    font-size: clamp(44px, 5.4vw, 64px);
  }
  .experience-heading > p {
    font-size: 17px;
  }
  .product-console {
    grid-template-columns: minmax(190px, 0.27fr) minmax(0, 0.73fr);
  }
  .product-navigation {
    padding: 24px;
  }
  .product-screen-stack {
    padding: 24px;
  }
  .product-tab-name {
    font-size: 22px;
  }
  .product-tab-purpose {
    font-size: 12px;
  }
  .console-coach p {
    font-size: 13px;
  }
  .team-select {
    height: 390px;
  }
  .team-gallery {
    gap: 10px;
  }
  .team-caption {
    left: 16px;
    right: 16px;
    bottom: 20px;
  }
  .team-name {
    font-size: 19px;
  }
  .team-role {
    font-size: 11px;
  }
  .practice-scope {
    display: block;
  }
  .practice-scope ul {
    justify-content: flex-start;
    margin-top: 14px;
    gap: 8px 22px;
  }
}
@media (max-width: 900px) {
  .home-heading {
    gap: 32px;
    align-items: start;
  }
  .team-gallery {
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding-bottom: 16px;
    scrollbar-color: rgba(var(--ink-rgb), 0.3) transparent;
  }
  .team-person,
  .team-person.is-active {
    flex: 0 0 36%;
    scroll-snap-align: start;
  }
  .team-select {
    height: 400px;
  }
  .team-select img {
    opacity: 1;
    transform: none;
  }
  .team-name {
    font-size: 24px;
  }
  .team-role {
    font-size: 13px;
  }
  .team-note {
    max-height: 85px;
    opacity: 1;
    margin-top: 16px;
    transform: none;
  }
  .pro-enhanced .team-controls {
    display: flex;
  }
  .assignment-flow {
    gap: 16px;
    font-size: 15px;
  }
  .assignment-flow li {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .home-experience,
  .home-workbench {
    padding-block: 60px;
  }
  .experience-heading,
  .home-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }
  .experience-heading h2,
  .home-heading h2 {
    font-size: clamp(40px, 10.5vw, 64px);
  }
  .experience-heading > p {
    max-width: 42ch;
    justify-self: start;
    font-size: 17px;
  }
  .experience-heading .editorial-label,
  .home-heading .editorial-label {
    margin-bottom: 20px;
  }
  .product-console {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
  }
  .product-navigation {
    display: contents;
  }
  .product-is-ready .product-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    order: 0;
    border-bottom: 1px solid var(--line);
    padding: 0;
  }
  .product-tab,
  .product-tab:first-child {
    padding: 18px;
    border: 0;
    border-bottom: 2px solid transparent;
  }
  .product-tab + .product-tab {
    border-left: 1px solid var(--line);
  }
  .product-tab.is-active {
    border-bottom-color: var(--paper);
    background: rgba(255, 255, 255, 0.04);
  }
  .product-tab-purpose {
    display: none;
  }
  .product-tab img {
    display: none;
  }
  .product-tab-name {
    font-size: 20px;
  }
  .product-tab-arrow {
    font-size: 20px;
  }
  .product-screen-stack {
    padding: 24px 18px;
    order: 1;
  }
  .screen-copy {
    margin-bottom: 20px;
  }
  .screen-copy h3 {
    font-size: 23px;
  }
  .screen-copy p {
    font-size: 14px;
    line-height: 1.65;
  }
  .console-coach {
    order: 2;
    padding: 20px 18px;
    margin-top: 0;
    border-top: 1px solid var(--line);
  }
  .coach-rule {
    display: none;
  }
  .console-coach h3 {
    font-size: 18px;
  }
  .console-coach p {
    font-size: 14px;
    max-width: 42ch;
  }
  .learning-film figcaption {
    font-size: 12px;
  }
  .practice-scope {
    margin-top: 24px;
  }
  .practice-scope ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    font-size: 12px;
  }
  .assignment-brief h3 {
    font-size: 24px;
  }
  .assignment-brief p {
    font-size: 17px;
  }
  .team-heading {
    gap: 20px;
    margin-bottom: 20px;
  }
  .team-heading h3 {
    max-width: 17ch;
    font-size: 18px;
  }
  .team-controls {
    flex-shrink: 0;
  }
  .team-person,
  .team-person.is-active {
    flex-basis: 83%;
  }
  .team-select {
    height: 400px;
  }
  .team-caption {
    left: 22px;
    right: 22px;
    bottom: 26px;
  }
  .team-name {
    font-size: 28px;
  }
  .team-role {
    font-size: 13px;
  }
  .team-note {
    font-size: 14px;
  }
  .assignment-flow {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 16px;
  }
  .assignment-flow li {
    padding-block: 14px;
    font-size: 17px;
  }
}
.pro-motion-disabled [data-image-reveal]::before {
  display: none;
}
.pro-motion-disabled [data-enter],
.pro-motion-disabled [data-image-reveal] img,
.pro-motion-disabled .title-line > span,
.pro-motion-disabled .product-console,
.pro-motion-disabled .team-select img,
.pro-motion-disabled .team-note {
  transition: none !important;
  transform: none !important;
  opacity: 1 !important;
}
.pro-motion-disabled .team-person,
.pro-motion-disabled .product-tab img,
.pro-motion-disabled .product-tab-arrow {
  transition: none !important;
}
.pro-motion-disabled .product-console::before {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-image-reveal]::before,
  .product-console::before {
    display: none !important;
  }
  [data-enter],
  [data-image-reveal] img,
  .title-line > span,
  .product-console,
  .team-select img,
  .team-note {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .team-person,
  .product-tab img,
  .product-tab-arrow {
    transition: none !important;
  }
}
