/* ============================================================
   COMMERCIAL page only (commercial.html). Loads after services.css.
   Everything is prefixed .cx-* so the shared system is untouched.
   Promotion candidates (generic enough for services.css):
     .cx-moves   intent chips that swap static answer panels in the hero card
     .cx-years   5-column escalation chart inside a toolkit readout
     .cx-clock   day track with milestone markers (1031 window)
     .cx-sectors asset-type grid
     .cx-quiet   wide dark link banner
   ============================================================ */

/* ---------- hero entry: "What's your move?" ---------- */
.cx-moves { margin-top: 12px; }
.cx-move { margin-top: 12px; }
.js .cx-move:not(.on) { display: none; }
.cx-move .svc-read { margin-top: 0; }
.cx-move a { color: var(--amber-ink); font-weight: 700; text-underline-offset: 3px; }
.cx-deal { margin-top: 14px; }
.cx-deal .val-pill { margin-top: 6px; }

/* ---------- toolkit readouts ---------- */
.cx-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }
.cx-kpis div { border: 1px solid var(--term-line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.cx-kpis dt { font-size: 11.5px; color: var(--term-dim); }
.cx-kpis dd { margin: 3px 0 0; font-size: 1.05rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* 5-year occupancy cost, one column per lease year */
.cx-years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; height: 150px; margin-top: 4px; padding-top: 6px; }
.cx-years div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-width: 0; }
.cx-years i { display: block; height: var(--h, 0%); min-height: 4px; border-radius: 6px 6px 2px 2px; background: #5F6670; transition: height .45s cubic-bezier(.2,.7,.2,1); }
.cx-years div:first-child i { background: var(--amber); }
.cx-years b { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #fff; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-years span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--term-dim); text-align: center; }

/* 1031 window: a 180-day track with the day-45 gate */
.cx-clock { position: relative; margin: 30px 0 4px; height: 12px; border-radius: 999px; background: #1C2027; }
.cx-clock::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 25%; border-radius: 999px 0 0 999px; background: var(--amber); }
.cx-clock span { position: absolute; top: -24px; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; color: var(--term-dim); white-space: nowrap; }
.cx-clock span::after { content: ''; position: absolute; left: 50%; top: 20px; width: 2px; height: 16px; background: rgba(255,255,255,.5); }
.cx-clock .s0 { left: 0; transform: none; }
.cx-clock .s0::after { left: 0; }
.cx-clock .s45 { left: 25%; color: var(--amber); }
.cx-clock .s180 { left: 100%; transform: translateX(-100%); }
.cx-clock .s180::after { left: auto; right: 0; }

/* ---------- representation: four sides of the deal ---------- */
@media (min-width: 1081px) { .cx-sides.svc-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cx-sides .svc-door .n { font-size: 12.5px; font-weight: 800; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- sectors ---------- */
.cx-sectors { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cx-sectors li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cx-sectors li span { font-size: 18px; flex: none; }
.cx-feature { align-items: start; }
@media (min-width: 981px) { .cx-feature figure { position: sticky; top: calc(var(--svc-nav-h) + 24px); } }
.cx-feature .cx-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cx-who { margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 701px) { .cx-who .svc-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cx-who .svc-checks { margin-top: 24px; }

/* ---------- quiet deals banner ---------- */
.cx-quiet { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 32px; margin-top: 14px; padding: clamp(24px, 3vw, 36px); border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.cx-quiet h3 { color: #fff; font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
.cx-quiet p { margin-top: 8px; max-width: 36em; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.7); }
.cx-quiet .k { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 700; color: var(--amber); }
.cx-quiet .go { font-size: 14px; font-weight: 700; color: var(--amber); white-space: nowrap; }
.cx-quiet:hover .go span, .cx-quiet:focus-visible .go span { transform: translateX(4px); }
.cx-quiet .go span { display: inline-block; transition: transform .15s ease; }

@media (min-width: 701px) and (max-width: 1080px) { .cx-sides.svc-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) {
  .cx-sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cx-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-sectors li { padding: 12px; font-size: 13.5px; }
  .cx-quiet { grid-template-columns: minmax(0, 1fr); }
  .cx-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cx-kpis div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-years i { transition: none; }
}
