/* Briefing → media plan: the steps read top to bottom, the view changes beside them.
   Sized so heading, steps and view fit in one desktop viewport. */
#omnicom { padding-block: clamp(64px, 7vw, 104px); }
#omnicom .head { margin-bottom: clamp(26px, 3vw, 40px); }
.brief { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.brief__steps { display: grid; align-content: start; border-top: 1px solid var(--line-2); }
.brief-step {
  position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; width: 100%; text-align: left;
  padding: 18px 0 19px; border-bottom: 1px solid var(--line-2); color: var(--muted); transition: color .3s;
}
.brief-step:hover { color: var(--ink); }
.brief-step[aria-selected="true"] { color: var(--ink); }
.brief-step__n { font: 500 11px/1.9 var(--mono); }
.brief-step__t { font: 500 clamp(18px, 1.55vw, 22px)/1.25 var(--display); letter-spacing: -.02em; }
.brief-step__d {
  grid-column: 2; font-size: 15px; line-height: 1.55; color: var(--text);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin .4s ease;
}
.brief-step[aria-selected="true"] .brief-step__d { max-height: 140px; opacity: 1; margin-top: 8px; }
.brief-step__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.brief.is-auto.is-tick .brief-step[aria-selected="true"] .brief-step__bar { animation: brief-bar var(--dur) linear forwards; }
.brief:not(.is-auto) .brief-step[aria-selected="true"] .brief-step__bar { transform: scaleX(1); }
@keyframes brief-bar { to { transform: scaleX(1); } }

.brief__view { display: flex; flex-direction: column; min-width: 0; }
.brief .stage { flex: 1; min-height: clamp(380px, 34vw, 470px); border-radius: 18px; padding: clamp(20px, 3vw, 40px); }
.brief .stage__pane { width: min(560px, 100%); }
.brief .fine { margin-top: 12px; }
#omnicom .tabs { display: none; }

@media (max-width: 1023px) {
  .brief { grid-template-columns: 1fr; }
  .brief .stage { min-height: 0; }
}
@media (max-width: 640px) {
  .brief-step { padding: 14px 0 15px; }
  .brief .stage { padding: 14px 10px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .brief-step__d { transition: none; }
}
