/* Native motion scenes. Each animation explains a procurement transition.
   No stock or generated media; example content remains readable without JS. */
[hidden] { display: none !important; }
.portfolio-hero { grid-template-columns: .9fr 1.1fr; gap: 58px; }
.motion-story { position: relative; background: #f5f3f0; border: 1px solid #e8e3df; border-radius: 18px; padding: 20px; min-width: 0; overflow: hidden; }
.motion-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 17px; }
.motion-heading > span { font-size: 11px; color: var(--muted); }
.motion-play, .intake-replay { font: inherit; border: 0; background: transparent; padding: 9px 10px; font-size: 11px; color: var(--accent); border-radius: 5px; cursor: pointer; white-space: nowrap; }
.motion-play:disabled, .intake-replay:disabled { visibility: hidden; }
.journey-scenes { position: relative; height: 400px; isolation: isolate; }
.journey-scene { position: absolute; inset: 0; display: grid; align-items: center; padding: 0 12px; }
.motion-card { background: #fff; border: 1px solid #e8e3df; border-radius: 11px; padding: 24px; box-shadow: 0 12px 38px -23px rgb(36 39 44 / .3); transform-origin: 50% 85%; }
.motion-card-label { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 500; }
.motion-card-label small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 400; }
.document-mark { display: grid; place-items: center; background: #f8ede5; color: var(--accent); width: 38px; height: 40px; border: 1px solid #ecd2c2; border-radius: 5px; flex: none; font-size: 10px; letter-spacing: -.03em; }
.motion-card h3 { font-size: 27px; letter-spacing: -.035em; line-height: 1.15; margin: 20px 0 19px; }
.material-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid #eeece9; padding: 13px 0; font-size: 11px; }
.material-row small { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; }
.material-row strong { font-weight: 500; font-size: 11px; white-space: nowrap; }
.motion-card-footer { font-size: 9px; color: var(--accent); margin-top: 13px; }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 17px; gap: 6px; }
.journey-steps button { font: inherit; border: 1px solid transparent; background: transparent; color: var(--muted); padding: 12px 6px; border-radius: 6px; font-size: 11px; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.journey-steps button[aria-pressed="true"] { color: var(--accent); background: #fff; border-color: #ead9ce; }
.journey-steps button:disabled { cursor: default; }
.quotes-scene { padding: 0 5px; }
.scene-kicker { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.motion-quote { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 1px solid #e6e1dd; border-radius: 8px; padding: 19px 20px; margin-top: 11px; box-shadow: 0 8px 25px -20px rgb(36 39 44 / .3); }
.motion-quote > span { font-size: 12px; font-weight: 500; }
.motion-quote small { display: block; font-size: 9px; margin-top: 6px; color: var(--muted); font-weight: 400; }
.motion-quote strong { font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.quote-highlight { border-color: #c68b69; background: #fffaf6; }
.quote-difference { margin-top: 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 10px; }
.quote-difference > span { font-size: 11px; color: var(--muted); }
.quote-difference strong { font-size: 29px; color: var(--accent); font-weight: 500; letter-spacing: -.04em; }
.quote-difference small { grid-column: 1 / -1; font-size: 9px; color: var(--muted); }
.agreement-row { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid #eeece9; font-size: 11px; }
.agreement-row > span { color: var(--muted); }
.agreement-row strong { font-size: 11px; font-weight: 500; }
.agreement-note { display: flex; gap: 9px; align-items: center; margin-top: 16px; font-size: 10px; line-height: 1.6; color: var(--accent); }
.agreement-note > span, .order-check > span { font-size: 16px; }
.order-summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; border-block: 1px solid #eeece9; font-size: 11px; }
.order-summary > span { color: var(--muted); }
.order-summary strong { font-weight: 500; }
.order-total { margin: 20px 0 23px; }
.order-total > span { display: block; font-size: 10px; color: var(--muted); }
.order-total > strong { display: block; margin-top: 8px; font-size: 36px; letter-spacing: -.045em; color: var(--accent); font-weight: 500; }
.order-check { font-size: 10px; display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.order-check > span { color: var(--accent); }
.workspace-story { grid-template-columns: 1.15fr 1fr; gap: 70px; padding-top: 38px; padding-bottom: 38px; }
.intake-motion { padding: 22px; background: #fff; border: 1px solid #e2dcd6; border-radius: 11px; }
.intake-source { border: 1px solid #e6e1dd; padding: 18px; border-radius: 6px; background: #fcfbf9; }
.intake-source > span, .intake-result > span { font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.intake-source p { font-size: 12px; line-height: 2; margin-top: 10px; }
.intake-handoff { display: grid; place-items: center; height: 48px; font-size: 26px; color: var(--accent); }
.intake-result { border: 1px solid #e4c8b6; border-radius: 6px; padding: 16px 18px; }
.intake-result > span { color: var(--accent); }
.intake-result > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 11px; border-top: 1px solid #eee8e2; padding: 13px 0; }
.intake-result > div:first-of-type { margin-top: 12px; }
.intake-result > div:last-child { padding-bottom: 0; }
.intake-result strong { font-weight: 500; }
.intake-result > div > span { color: var(--muted); white-space: nowrap; }
.intake-replay { display: flex; align-items: center; gap: 16px; margin: 12px 0 0 -10px; min-height: 40px; }
.intake-replay span { font-size: 19px; }
.intake-motion > small { display: block; font-size: 9px; color: var(--muted); line-height: 1.6; margin-top: 3px; }
.conversation-motion { background: #f5f3f0; border: 1px solid #e8e3df; border-radius: 18px; padding: 30px; }
.conversation-heading { display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.conversation-heading > span { font-size: 15px; letter-spacing: -.02em; font-weight: 500; }
.conversation-heading > small { font-size: 10px; color: var(--muted); }
.conversation-message { padding: 15px 18px; border: 1px solid #e5dfda; border-radius: 12px 12px 12px 3px; background: #fff; width: 85%; margin: 18px auto 0 0; transform-origin: left bottom; }
.conversation-message > span { font-size: 9px; color: var(--muted); }
.conversation-message > p { font-size: 13px; line-height: 1.7; margin-top: 6px; }
.vendor-message { margin-left: auto; margin-right: 0; background: #fbede3; border-color: #e6c7b3; border-radius: 12px 12px 3px 12px; transform-origin: right bottom; }
.vendor-message > span { color: var(--accent); }
.conversation-outcome { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--accent); font-size: 11px; }
.conversation-outcome > span { font-size: 16px; }
button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .motion-play:hover, .intake-replay:hover { background: #f4e6dc; }
  .journey-steps button:hover { color: var(--accent); }
}
@media (max-width: 1100px) {
  .portfolio-hero { gap: 32px; }
  .motion-story { padding: 16px; }
  .journey-scene { padding-inline: 0; }
  .motion-card { padding: 20px; }
  .workspace-story { gap: 36px; }
}
@media (max-width: 820px) {
  .portfolio-hero { grid-template-columns: 1fr; }
  .motion-story { width: 100%; max-width: 590px; justify-self: center; }
  .journey-scene { padding-inline: 18px; }
  .workspace-story { grid-template-columns: 1fr; }
  .conversation-motion { padding: 30px; }
}
@media (max-width: 600px) {
  .motion-story { padding: 14px; border-radius: 12px; }
  .motion-heading { padding-bottom: 12px; }
  .motion-heading > span { font-size: 10px; }
  .motion-play { font-size: 10px; padding-inline: 7px; }
  .journey-scenes { height: 392px; }
  .journey-scene { padding: 0; }
  .motion-card { padding: 18px; }
  .motion-card h3 { font-size: 25px; }
  .material-row { font-size: 10px; padding-block: 14px; }
  .material-row strong { font-size: 10px; }
  .motion-card-footer { font-size: 8px; }
  .journey-steps { margin-top: 12px; gap: 3px; }
  .journey-steps button { padding-inline: 4px; font-size: 10px; }
  .motion-quote { padding: 17px 15px; }
  .motion-quote strong { font-size: 19px; }
  .scene-kicker { font-size: 11px; }
  .agreement-row { grid-template-columns: 76px 1fr; font-size: 10px; }
  .agreement-row strong { font-size: 10px; }
  .order-check { font-size: 9px; }
  .intake-motion { padding: 16px; }
  .intake-source, .intake-result { padding-inline: 12px; }
  .intake-source p { font-size: 10px; }
  .intake-result > div { font-size: 10px; gap: 8px; }
  .intake-replay { font-size: 10px; }
  .conversation-motion { padding: 24px 18px; border-radius: 12px; }
  .conversation-message { width: 90%; padding: 14px; }
  .conversation-message p { font-size: 12px; }
  .conversation-outcome { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-story, .intake-motion, .conversation-motion { scroll-behavior: auto; }
}
@media print {
  .motion-play, .journey-steps, .intake-replay { display: none; }
  .journey-scenes { height: auto; }
  .journey-scene { position: static; }
  .motion-story, .conversation-motion { break-inside: avoid; }
}
