/* /operate/enable: the AI Capability Programme page (v=20261019).
   Visual-first: photo hero, retention curve + comparison, 12-month timeline,
   artefact kit, champions network. Accent comes from .theme-workshops (--c). */

.theme-workshops { --en: var(--c, #8a3b52); --en-soft: color-mix(in srgb, var(--en) 10%, transparent); --en-mid: color-mix(in srgb, var(--en) 45%, transparent); }

/* ---------- Hero ---------- */
.en-hero { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.en-hero__title { max-width: 13ch; }
.en-hero__lede { margin-top: 22px; max-width: 40ch; }
.en-hero .hero__actions { margin-top: 28px; }
.en-facts { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.en-facts div { padding: 16px 16px 0 0; }
.en-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.en-facts dt { font-size: 22px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; color: var(--en); }
.en-facts dd { margin: 6px 0 0; font-size: 13px; line-height: 19px; color: var(--ink-2); }

.en-collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; }
.en-collage figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--line); }
.en-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.en-collage__a { grid-column: 1; grid-row: 1; }
.en-collage__b { grid-column: 1; grid-row: 2; }
.en-collage__c { grid-column: 2; grid-row: 1 / 3; }
.en-collage figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 6px 10px; border-radius: 8px;
  font-size: 12px; line-height: 16px; color: #fff; background: rgba(20, 18, 16, 0.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- Why: curve + comparison ---------- */
.en-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: stretch; }
.en-curve, .en-compare { border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow); }
.en-curve { margin: 0; padding: 24px 24px 20px; display: flex; flex-direction: column; }
.en-curve__h { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.en-curve svg { margin-top: 12px; width: 100%; height: auto; overflow: visible; }
.en-curve__grid line { stroke: var(--line); stroke-width: 1; }
.en-curve__one { fill: none; stroke: var(--ink-2); stroke-width: 2.5; stroke-linecap: round; }
.en-curve__prog { fill: none; stroke: var(--en); stroke-width: 2; stroke-dasharray: 5 4; stroke-linejoin: round; }
.en-curve__dot { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; }
.en-curve__dot--end { fill: var(--ink-2); }
.en-curve__v { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; fill: var(--ink); }
.en-curve__x { font-size: 12px; fill: var(--muted); }
.en-curve__key { margin-top: auto; padding-top: 14px; display: grid; gap: 6px; font-size: 12px; line-height: 17px; color: var(--muted); }
.en-curve__key li { position: relative; padding-left: 26px; }
.en-curve__key li::before { content: ""; position: absolute; left: 0; top: 8px; width: 18px; border-top: 2.5px solid var(--ink-2); }
.en-curve__key--prog::before { border-top: 2px dashed var(--en) !important; }

.en-compare { padding: 8px 24px; display: flex; flex-direction: column; justify-content: center; }
.en-compare__row { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 21px; align-items: baseline; }
.en-compare__row:last-child { border-bottom: 0; }
.en-compare__row [role="rowheader"] { font-size: 13px; color: var(--muted); }
.en-compare__row [role="cell"]:nth-child(2) { color: var(--muted); }
.en-compare__row [role="cell"]:nth-child(3) { color: var(--ink); font-weight: 500; position: relative; padding-left: 18px; }
.en-compare__row [role="cell"]:nth-child(3)::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 1px; background: var(--en); transform: rotate(45deg); }
.en-compare__head { padding-top: 16px; font-size: 13px; }
.en-compare__head [role="columnheader"] { color: var(--muted); }
.en-compare__head [role="columnheader"]:last-child { color: var(--en); font-weight: 500; }

.en-stats { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.en-stats li { font-size: 13px; line-height: 19px; color: var(--ink-2); }
.en-stats b { display: block; font-size: 26px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.en-stats i { font-style: normal; color: var(--muted); }

/* ---------- 12-month timeline ---------- */
.en-gantt { --lab: 260px; border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow); padding: 20px 28px 8px; }
.en-gantt__scale, .en-gantt__phases, .en-gantt__row { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); gap: 20px; }
.en-gantt__scale { grid-template-columns: calc(var(--lab) + 20px) repeat(12, minmax(0, 1fr)); gap: 0 0; font-size: 11px; color: var(--muted); padding-bottom: 8px; }
.en-gantt__scale span:not(:first-child) { padding-left: 4px; border-left: 1px solid var(--line); }
.en-gantt__phases { grid-template-columns: calc(var(--lab) + 20px) repeat(24, minmax(0, 1fr)); gap: 0; margin-bottom: 6px; }
.en-gantt__phase { font-size: 12px; line-height: 16px; padding: 8px 8px 8px 10px; color: var(--ink-2); border-top: 3px solid var(--en); background: var(--en-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en-gantt__phase b { display: block; font-weight: 500; color: var(--en); }
.en-gantt__phase--1 { grid-column: 2 / 5; margin-right: 3px; }
.en-gantt__phase--3 { grid-column: 5 / 26; border-top-color: var(--en-mid); background: color-mix(in srgb, var(--en) 5%, transparent); }
.en-gantt__row { align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.en-gantt__label { font-size: 13px; line-height: 18px; color: var(--muted); }
.en-gantt__label b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
.en-gantt__track { position: relative; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px) calc(100% / 12)); }
.en-gantt__track > i { position: absolute; top: 50%; }
.en-bar { display: inline-block; height: 12px; border-radius: 6px; }
.en-gantt__track .en-bar { left: calc(var(--s) / 12 * 100%); width: calc((var(--e) - var(--s)) / 12 * 100%); transform: translateY(-50%); }
.en-bar--solid { background: var(--en); }
.en-bar--fade { background: linear-gradient(90deg, var(--en-mid), transparent); }
.en-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--en); }
.en-dia { display: inline-block; width: 11px; height: 11px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.en-gantt__track .en-dot { left: calc(var(--at) / 12 * 100%); transform: translate(-50%, -50%); }
.en-gantt__track .en-dia { left: calc(var(--at) / 12 * 100%); transform: translate(-50%, -50%) rotate(45deg); }
.en-gantt__track .en-dia[style*="--at:12"] { left: calc(100% - 6px); }
.en-flag { left: calc(var(--at) / 12 * 100%); transform: translate(-6px, -50%); font-style: normal; font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: 9px; background: var(--ink); color: var(--canvas); white-space: nowrap; }
.en-flag--quiet { background: var(--line); color: var(--ink-2); }
.en-gantt__track .en-flag[style*="--at:12"] { left: auto; right: 0; transform: translateY(-50%); }
.en-gantt__key { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); }
.en-gantt__key li { display: inline-flex; align-items: center; gap: 8px; }
.en-gantt__key .en-bar { width: 22px; height: 8px; }
.en-gantt__key .en-dia { width: 9px; height: 9px; }

/* ---------- Artefact kit ---------- */
.en-kit { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.en-art h3 { margin-top: 14px; font-size: 17px; line-height: 23px; letter-spacing: -0.02em; font-weight: 500; }
.en-art > p { margin-top: 4px; font-size: 13px; line-height: 19px; color: var(--muted); }
.en-art__vis { height: 196px; border-radius: 16px; background: var(--en-soft); padding: 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.en-doc { width: 100%; background: var(--surface); border-radius: 8px; padding: 12px 12px 14px; box-shadow: 0 6px 18px rgba(28, 26, 23, 0.08); transform: rotate(-2deg); }
.en-doc__h { font-size: 12px; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; margin-bottom: 6px; }
.en-doc__h span { font-weight: 400; color: var(--muted); font-size: 10px; }
.en-doc__row { position: relative; padding: 4px 0 4px 14px; font-size: 9.5px; line-height: 12px; color: var(--ink-2); border-top: 1px solid var(--line); }
.en-doc__row::before { position: absolute; left: 0; top: 4px; font-size: 10px; font-weight: 600; }
.en-doc__row--ok::before { content: "✓"; color: var(--operate); }
.en-doc__row--no::before { content: "×"; color: var(--en); }
.en-doc__sig { display: block; margin-top: 8px; width: 46%; height: 10px; border-bottom: 1px solid var(--rule); }

.en-map { width: 100%; display: grid; grid-template-columns: 44px repeat(4, minmax(0, 1fr)); gap: 4px; font-size: 9.5px; color: var(--muted); align-items: center; }
.en-map__c { text-align: center; }
.en-map__r { color: var(--ink-2); }
.en-map i { aspect-ratio: 1.4; border-radius: 4px; background: var(--surface); }
.en-map i.h1 { background: color-mix(in srgb, var(--en) 20%, var(--surface)); }
.en-map i.h2 { background: color-mix(in srgb, var(--en) 45%, var(--surface)); }
.en-map i.h3 { background: var(--en); }

.en-lib { width: 100%; position: relative; display: grid; gap: 5px; }
.en-lib__card { background: var(--surface); border-radius: 8px; padding: 6px 10px; box-shadow: 0 4px 12px rgba(28, 26, 23, 0.06); }
.en-lib__card:nth-child(2) { margin-left: 10px; }
.en-lib__card:nth-child(3) { margin-left: 20px; }
.en-lib__card b { display: block; font-size: 11px; line-height: 14px; font-weight: 500; color: var(--ink); }
.en-lib__card span { font-size: 9.5px; color: var(--muted); }

.en-timer { width: 100%; background: var(--surface); border-radius: 10px; padding: 12px; box-shadow: 0 4px 12px rgba(28, 26, 23, 0.06); }
.en-timer__task { font-size: 11px; line-height: 14px; color: var(--ink); font-weight: 500; margin-bottom: 10px; }
.en-timer__row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 8px; font-size: 9.5px; color: var(--muted); margin-top: 8px; }
.en-timer__row i { display: block; height: 10px; width: var(--w); border-radius: 5px; background: var(--ink-2); }
.en-timer__row--after i { background: transparent; border: 1.5px dashed var(--en); height: 10px; }
.en-timer__row em { grid-column: 2; margin-top: -2px; font-style: normal; font-size: 9.5px; line-height: 12px; color: var(--en); }

.en-score { width: 100%; background: var(--surface); border-radius: 10px; padding: 8px 12px; box-shadow: 0 4px 12px rgba(28, 26, 23, 0.06); }
.en-score__row { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 10px; color: var(--ink-2); }
.en-score__row:first-child { border-top: 0; }
.en-spark { width: 56px; height: 16px; background: linear-gradient(to bottom right, transparent 47%, var(--en) 48% 56%, transparent 57%); }
.en-bars, .en-ticks { display: inline-flex; gap: 3px; align-items: flex-end; flex: none; }
.en-bars b { display: block; width: 7px; background: var(--en); border-radius: 2px; }
.en-bars b:nth-child(1) { height: 5px; } .en-bars b:nth-child(2) { height: 9px; } .en-bars b:nth-child(3) { height: 13px; } .en-bars b:nth-child(4) { height: 16px; }
.en-ticks b { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--operate); }
.en-ticks b.off { background: var(--line); }

/* ---------- Champions network + guardrails ---------- */
.en-net { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
.en-org, .en-guard { border-radius: var(--r-panel); background: var(--surface); box-shadow: var(--shadow); padding: 28px; }
.en-org { display: flex; flex-direction: column; justify-content: center; }
.en-org__top { display: flex; justify-content: center; gap: 16px; }
.en-node { display: inline-flex; flex-direction: column; align-items: center; padding: 10px 16px; border-radius: 12px; font-size: 14px; line-height: 18px; font-weight: 500; text-align: center; }
.en-node small { font-size: 11px; font-weight: 400; color: var(--muted); }
.en-node--lead { background: var(--ink); color: var(--canvas); }
.en-node--lead small { color: color-mix(in srgb, var(--canvas) 70%, transparent); }
.en-node--tp { background: var(--en-soft); color: var(--en); border: 1px dashed var(--en-mid); }
.en-org__wires { height: 36px; margin: 6px 12.5% 0; border: 1.5px solid var(--rule); border-bottom: 0; border-radius: 10px 10px 0 0; position: relative; }
.en-org__wires::before { content: ""; position: absolute; left: 50%; top: -6px; height: 6px; border-left: 1.5px solid var(--rule); }
.en-org__depts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.en-dept { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; padding-top: 0; }
.en-org__wires { margin-bottom: 0; }
.en-org__depts { margin-top: -2px; }
.en-node--champ { font-size: 12px; padding: 7px 12px; background: var(--en); color: #fff; border-radius: 999px; }
.en-dept__name { font-size: 13px; color: var(--ink); font-weight: 500; text-align: center; }
.en-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; max-width: 80px; }
.en-team i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); }

.en-guard__h { font-size: 17px; line-height: 23px; letter-spacing: -0.02em; font-weight: 500; }
.en-guard ul { margin-top: 12px; }
.en-guard li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); font-size: 13px; line-height: 19px; color: var(--muted); }
.en-guard li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 4px; background: var(--en-soft); box-shadow: inset 0 0 0 1.5px var(--en); }
.en-guard li::after { content: ""; position: absolute; left: 4px; top: 16px; width: 6px; height: 3px; border-left: 1.5px solid var(--en); border-bottom: 1.5px solid var(--en); transform: rotate(-45deg); }
.en-guard b { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------- Ways to start ---------- */
.en-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.en-format { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: var(--r-panel); color: var(--ink); text-decoration: none; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.en-format:hover { transform: translateY(-2px); }
.en-format__top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--c); }
.en-format__top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.en-format__top > span:last-child { margin-left: auto; font-weight: 400; color: var(--muted); }
.en-format b { margin-top: 6px; font-size: 21px; line-height: 26px; letter-spacing: -0.025em; font-weight: 500; }
.en-format__line { font-size: 14px; line-height: 21px; color: var(--ink-2); }
.en-format__more { margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--c); }
.en-sizes { margin-top: 20px; display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.en-sizes__h { font-size: 13px; font-weight: 500; color: var(--en); }
.en-sizes ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: 14px; color: var(--muted); }
.en-sizes b { color: var(--ink); font-weight: 500; margin-right: 6px; }
.en-steps { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.en-steps li { counter-increment: st; font-size: 14px; line-height: 21px; color: var(--muted); padding-left: 36px; position: relative; }
.en-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); }
.en-steps b { display: block; color: var(--ink); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .en-kit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .en-gantt { --lab: 200px; }
  .en-gantt__phase { white-space: normal; }
}
@media (max-width: 900px) {
  .en-hero { margin-top: 40px; grid-template-columns: 1fr; gap: 32px; }
  .en-collage { aspect-ratio: 4 / 3; }
  .en-why, .en-net { grid-template-columns: 1fr; }
  .en-stats, .en-formats, .en-steps { grid-template-columns: 1fr; gap: 14px; }
  .en-sizes { grid-template-columns: 1fr; gap: 8px; }
  .en-sizes ul { grid-template-columns: 1fr; gap: 6px; }
  .en-kit { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .en-kit::-webkit-scrollbar { display: none; }
  .en-art { scroll-snap-align: start; }
  .en-art__vis { height: 168px; padding: 12px; }
  .en-gantt { padding: 16px 16px 6px; }
  .en-gantt__scale { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .en-gantt__scale span:first-child { display: none; }
  .en-gantt__phases { grid-template-columns: 1fr; gap: 6px; }
  .en-gantt__phase--1, .en-gantt__phase--3 { grid-column: 1; margin-right: 0; white-space: normal; }
  .en-gantt__row { grid-template-columns: 1fr; gap: 8px; padding: 10px 0; }
  .en-org, .en-guard { padding: 20px; }
}
@media (max-width: 640px) {
  .en-facts { grid-template-columns: 1fr; }
  .en-facts div, .en-facts div + div { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .en-facts div:first-child { border-top: 0; }
  .en-compare { padding: 4px 16px; }
  .en-compare__row { grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 14px; }
  .en-compare__row [role="rowheader"] { grid-column: 1 / -1; }
  .en-compare__head [role="columnheader"]:first-child { display: none; }
  .en-org__depts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .en-org__wires { display: none; }
  .en-org__top { flex-direction: column; align-items: stretch; margin-bottom: 18px; }
  .en-collage figcaption { left: 6px; right: 6px; bottom: 6px; padding: 4px 7px; font-size: 10.5px; line-height: 13px; }
  .en-gantt__scale span:nth-child(odd):not(:first-child) { color: transparent; }
}

.en-org__clinic { margin-top: 22px; position: relative; text-align: center; }
.en-org__clinic::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; border-top: 1.5px dashed var(--en-mid); }
.en-org__clinic span { position: relative; display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--en-soft); color: var(--en); font-size: 12px; font-weight: 500; }
.en-org__key { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); }
.en-org__key i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.en-dept:nth-child(2)::before, .en-dept:nth-child(3)::before { content: ""; position: absolute; top: -36px; left: 50%; height: 36px; border-left: 1.5px solid var(--rule); }
@media (max-width: 640px) { .en-dept::before { display: none; } }

.en-swipe { display: none; }
@media (max-width: 900px) { .en-swipe { display: inline; } }
