/* EPCIMA PMT landing · dynamic.css (Rev J, /v3 comparison)
   Tour button + dialog, E-Procurement flow block, vendor phone. Tokens from site.css. */

/* ── hero: the tour link ── */
.tourbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; color: var(--on-navy); font-weight: 500; text-decoration: none; transition-property: color; transition-duration: .2s; }
.tourbtn:hover { color: var(--orange-hi); }
.tourbtn__play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--navy-900); transition-property: transform; transition-duration: .2s; transition-timing-function: var(--ease); }
.tourbtn__play svg { width: 11px; height: 11px; margin-left: 2px; }
.tourbtn:hover .tourbtn__play { transform: scale(1.08); }
.tourbtn:active .tourbtn__play { transform: scale(0.96); }

.tour { width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.tour::backdrop { background: rgba(6, 14, 34, 0.86); backdrop-filter: blur(4px); }
.tour__box { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--navy-900); box-shadow: 0 40px 100px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.tour video { display: block; width: 100%; height: 100%; }
.tour__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(6,14,34,.7); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tour__x:hover { border-color: var(--orange); }
.tour__note { margin: 12px 0 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-3); }
.tour[open] .tour__box { animation: tourIn .32s var(--ease); }
@keyframes tourIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }

/* ── 02c E-Procurement flow ── */
.flow { background: var(--paper); padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.flow__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.flow__head h2 { font-size: clamp(28px, 3vw, 40px); }
.flow__head > p:not(.film__k) { margin-top: 14px; font-size: 17px; max-width: 60ch; }
.flow__more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 10px; color: var(--orange-ink); font-weight: 600; text-decoration: none; }
.flow__more span { transition-property: transform; transition-duration: .2s; }
.flow__more:hover span { transform: translateX(3px); }

.fl { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3vw, 40px); align-items: center; }
.fl__buyer { background: #fff; border-radius: 14px; box-shadow: var(--sh-md); padding: clamp(18px, 2.4vw, 30px); }
.fl__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.fl__doc { font-family: var(--mono); font-size: 12.5px; color: var(--ink); padding: 6px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.fl__side { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

.fl__railwrap { position: relative; }
.fl__rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; z-index: 1; }
.fl__track { position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 19px; height: 2px; background: var(--line); }
.fl__fill { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(1); }
.fl__step { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 0 2px 4px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: center; }
.fl__step i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-3); transition-property: background-color, color, box-shadow, transform; transition-duration: .25s; transition-timing-function: var(--ease); }
.fl__step b { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.fl__step small { font-size: 11.5px; line-height: 1.3; color: var(--ink-3); }
.fl__step:hover i { box-shadow: inset 0 0 0 1.5px var(--orange); }
.fl__step:active i { transform: scale(0.96); }
.fl__step:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
.fl__step.is-done i { background: var(--navy-900); color: #fff; box-shadow: none; }
.fl__step.is-now i { background: var(--orange); color: var(--navy-900); box-shadow: 0 0 0 5px rgba(245,130,42,.18); }

.fl__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 26px; }
.fl__status { background: var(--navy-900); color: var(--on-navy-2); border-radius: 10px; padding: 18px 20px 20px; min-height: 168px; display: flex; flex-direction: column; }
.fl__status small, .fl__chain small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-3); }
.fl__pills { position: relative; height: 48px; margin: 10px 0 8px; }
.fl__pill { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); letter-spacing: -0.02em; line-height: 1.5; color: #fff; opacity: 0; }
.fl__pill em { font-style: normal; color: var(--orange-hi); }
.fl__notes { position: relative; flex: 1; min-height: 3em; }
.fl__note { position: absolute; inset: 0 0 auto 0; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--on-navy-2); opacity: 0; transition: opacity .25s; }
.fl__note.is-on { opacity: 1; transition-delay: .1s; }

.fl__chain { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); padding: 18px 20px; }
.fl__chain small { color: var(--ink-3); }
.fl__chain ul { list-style: none; margin: 10px 0 0; padding: 0; }
.fl__seat { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--paper-2); font-size: 14px; color: var(--ink); }
.fl__seat:first-child { border-top: 0; }
.fl__av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); flex: none; }
.fl__ok { margin-left: auto; font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 5px; background: #E3F4EA; color: #17663A; opacity: 0; white-space: nowrap; }
.fl__seat.is-ok .fl__ok { opacity: 1; }
.fl__seat--na .fl__ok { background: var(--paper-2); color: var(--ink-3); }

.fl__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.fl__foot .levels__note { margin: 0; }
.fl__replay { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; transition-property: border-color; transition-duration: .2s; }
.fl__replay:hover { border-color: var(--orange); }
.fl__replay:active { transform: scale(0.96); }
.fl__replay svg { width: 14px; height: 14px; }

/* vendor phone */
.vp__phone { border-radius: 34px; background: var(--paper); box-shadow: 0 0 0 9px var(--navy-900), 0 0 0 10px rgba(255,255,255,.1), var(--sh-lg); overflow: hidden; min-height: 470px; display: flex; flex-direction: column; margin: 10px; }
.vp__top { background: var(--navy-900); padding: 22px 18px 16px; }
.vp__top small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; color: var(--on-navy-3); }
.vp__top b { display: block; margin-top: 4px; font-family: var(--display); font-size: 19px; color: #fff; }
.vp__count { margin: 14px 18px 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.vp__list { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 8px; }
.vp__card { display: none; grid-template-columns: 1fr auto; column-gap: 10px; padding: 11px 12px; border-radius: 10px; background: #fff; box-shadow: var(--sh-sm); }
.vp__card.is-in { display: grid; }
.vp__card b { font-size: 13.5px; color: var(--ink); line-height: 1.35; }
.vp__card span { grid-column: 1; font-size: 12px; color: var(--ink-3); }
.vp__card em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-family: var(--mono); font-size: 10.5px; padding: 4px 7px; border-radius: 5px; background: #FFF0E3; color: var(--orange-ink); white-space: nowrap; }
.vp__card em.red { background: #FCE8E6; color: #B3261E; }
.vp__card.is-done { box-shadow: inset 0 0 0 1px var(--line); background: transparent; }
.vp__card.is-done b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.vp__card.is-done em { font-size: 0; background: #E3F4EA; }
.vp__card.is-done em::after { content: "Done"; font-size: 10.5px; color: #17663A; }
.vp__empty { display: none; margin: 8px 18px; font-size: 13px; color: var(--ink-3); }
.vp-empty .vp__empty { display: block; }
.vp__foot { margin: auto 18px 18px; padding-top: 14px; font-size: 12px; line-height: 1.45; color: var(--ink-3); }

@media (max-width: 980px) {
  .fl { grid-template-columns: 1fr; }
  .vp { max-width: 320px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .fl__grid { grid-template-columns: 1fr; }
  .fl__step small { display: none; }
  .fl__step b { font-size: 11px; }
  .fl__step i { width: 32px; height: 32px; font-size: 10.5px; }
  .fl__track { top: 15px; }
  .fl__pill { font-size: 19px; white-space: normal; }
  .fl__pills { height: 56px; }
  .fl__foot { flex-direction: column; align-items: flex-start; }
  .hero__cta .tourbtn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tour[open] .tour__box { animation: none; } .fl__note { transition: none; } }

/* hero copy (Rev J.3): kicker + facts row */
.hero--d .hero__kicker { margin: 0 0 18px; }
.hero--d h1 { max-width: 14ch; }
.hero__facts { list-style: none; margin: 0 0 0 -16px; padding: 16px 0 0; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; gap: 6px 0; clip-path: inset(0 0 0 16px); }
.hero__facts li { position: relative; padding: 0 12px 0 16px; font-size: 13.5px; color: var(--on-navy-2); }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: var(--orange); }

/* Rev J.4: no eyebrows. Former uppercase mono labels read as plain sentence-case labels. */
.scope__label, .mods__pk, .drill__who, .tblock__k, .sec__dl dt, .msec__dl dt { font-family: var(--text); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; }
.drill__who { color: var(--orange-hi); }
.scope__label, .sec__dl dt, .msec__dl dt { color: var(--ink); }
.mods__pk, .tblock__k { color: var(--on-navy-2); }
.scope__note { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.scope__col--ext .scope__note { color: inherit; opacity: .8; }
/* J8: one portal card left (E-Procurement vendor portal), full width */
.portals { grid-template-columns: 1fr; }
/* J8: eight modules sit as 4 × 2 on desktop */
@media (min-width: 1100px) { .mods__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
