/* ============================================================================
   DaasLabs Telecom — story chapter framing (ribbon + "next chapter" band)
   Included only from /platform, /architecture and /maturity.
   Storyline: "From connectivity provider to intelligent, AI-native operator."
   Uses the consulting-light tokens from style.css.
   ============================================================================ */

/* ---------- Chapter ribbon (top of hero) ---------- */
.stc-ribbon { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 22px; }
.stc-k { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.stc-k b { font-weight: 600; color: var(--ink); }
.stc-k::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.stc-track { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.stc-track > li { display: block; margin: 0; padding: 0; border: 0; background: none; width: auto; height: auto; min-height: 0; line-height: 0; }
.stc-track > li::before, .stc-track > li::after { content: none; display: none; }
.stc-track a { display: block; padding: 0; border: 0; line-height: 0; width: 26px; height: 4px; background: var(--line-2); border-radius: 2px; position: relative; transition: background .2s ease, transform .2s ease; }
.stc-track a.done { background: var(--ink); }
.stc-track a.here { background: var(--accent); }
.stc-track a:hover, .stc-track a:focus-visible { background: var(--accent); transform: scaleY(1.6); }
.stc-track a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "Why it matters" executive line */
.stc-why { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; max-width: 680px; margin: 0 0 30px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 2px; }
.stc-why .l { font-size: 0.6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding-top: 2px; white-space: nowrap; }
.stc-why p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 575.98px) {
    .stc-why { grid-template-columns: 1fr; }
}

/* ---------- Next chapter band ---------- */
.stc-next { background: var(--ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.stc-next::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 260px at 85% 20%, rgba(34, 81, 255, .35), transparent 70%); pointer-events: none; }
.stc-next .container { position: relative; }
.stc-next-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.stc-next .so-far { font-size: 0.6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 10px; }
.stc-next .recap { font-family: var(--font-serif); font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin: 0; color: #fff; }
.stc-next .recap em { font-style: normal; color: #8FA6FF; }
.stc-next-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-left: 3px solid var(--accent); border-radius: 2px; padding: 24px 26px; color: #fff; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.stc-next-card:hover, .stc-next-card:focus-visible { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .35); border-left-color: #8FA6FF; color: #fff; }
.stc-next-card .k { grid-column: 1; font-size: 0.6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8FA6FF; }
.stc-next-card .t { grid-column: 1; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.25; }
.stc-next-card .d { grid-column: 1; font-size: 0.875rem; color: rgba(255, 255, 255, .75); line-height: 1.55; }
.stc-next-card .go { grid-column: 2; grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transition: transform .25s ease, background .25s ease; }
.stc-next-card:hover .go { transform: translateX(4px); background: var(--accent); border-color: var(--accent); }
.stc-next-alt { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 0.8125rem; }
.stc-next-alt a { color: rgba(255, 255, 255, .8); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.stc-next-alt a:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 991.98px) {
    .stc-next-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 575.98px) {
    .stc-next { padding: 52px 0; }
    .stc-next-card { padding: 20px; grid-template-columns: minmax(0, 1fr); }
    .stc-next-card .go { grid-column: 1; grid-row: auto; width: 40px; height: 40px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .stc-track a, .stc-next-card, .stc-next-card .go { transition: none; }
}
