/* =====================================================================================
   About page (about.html + js/pages/about.js)
   Figures: route-to-the-work diagram (story), stepped timeline rail (milestones),
   programme resourcing plan (approach), community map (specialisms), clearance ladder,
   pillar glyphs. Every figure reads without JS and settles to its finished state under
   reduced motion.
   ===================================================================================== */

/* ---------- hero ---------- */
@media (max-width: 760px) {
  .about-hero .page-hero__art { opacity: .7; }
}

/* ---------- story ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story__lead { font-size: clamp(1.55rem, 2.6vw, 2.45rem); font-weight: 500; line-height: 1.14; letter-spacing: -.02em; color: var(--fg); max-width: 22em; }
.story__paras { margin-top: clamp(36px, 4.4vw, 60px); border-top: 1px solid var(--line); }
.story__para { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: clamp(18px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); }
.story__para .mono { color: var(--sage); padding-top: .35em; }
.story__para p { color: var(--fg-2); font-size: 1.06rem; line-height: 1.6; max-width: 36rem; }
.story__stats { margin-top: clamp(56px, 7vw, 104px); }
.story__stats .stat__label { max-width: 18rem; line-height: 1.5; }
.story__stats [data-count] { min-width: 0 !important; }
@media (max-width: 1024px) { .story__grid { grid-template-columns: 1fr; } .story-fig { max-width: 720px; } }
@media (max-width: 960px) { .story__stats.stats--3 { --cols: 1; } .story__stats .stat:nth-child(n) { border-left: 0; padding-left: 0; } }

/* route-to-the-work figure */
.story-fig { padding: clamp(18px, 2vw, 28px); margin: 0; }
.story-fig__state { display: inline-flex; align-items: center; gap: 8px; color: var(--sage); transition: color .4s; }
.story-fig__state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(163, 193, 173, .18); }
.story-fig.is-layered .story-fig__state { color: var(--on-dark-3); }
.story-fig__stage { margin: 8px -6px 0; }
.story-fig__svg { width: 100%; height: auto; overflow: visible; }
.story-fig__svg text { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-anchor: middle; }
.sf-layered { transition: opacity .2s linear; }
.sf-layered__path { fill: none; stroke: rgba(238, 240, 242, .4); stroke-width: 1.4; stroke-dasharray: 3 6; stroke-linejoin: round; }
.sf-hop rect { fill: #171731; stroke: rgba(238, 240, 242, .3); stroke-width: 1; }
.sf-hop text { fill: rgba(238, 240, 242, .62); font-size: 9.5px; }
.sf-direct__base { fill: none; stroke: rgba(163, 193, 173, .1); stroke-width: 2; stroke-linejoin: round; }
.sf-direct__path { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sf-gs path { fill: var(--sage); }
.sf-project rect { fill: var(--sage); }
.sf-project text { fill: var(--ink); font-size: 10.5px; }
.sf-cap { fill: rgba(238, 240, 242, .6); }
.sf-dot { fill: rgba(238, 240, 242, .3); transition: fill .5s; }
.sf-dot.is-lit { fill: var(--sage); }
.sf-pulse { fill: #f1f7f2; filter: drop-shadow(0 0 5px rgba(163, 193, 173, .95)); }
.sf-pulse--slow { fill: rgba(238, 240, 242, .85); filter: none; }
.story-fig__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.story-fig__note { flex: 1 1 260px; font-size: .94rem; line-height: 1.5; color: var(--on-dark-2); max-width: 30rem; }
.story-fig__toggle { display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px 0 10px; border-radius: 999px; border: 1px solid var(--line-dark-2); font-size: .88rem; font-weight: 500; color: var(--on-dark); transition: border-color .3s, background-color .3s; }
.story-fig__toggle:hover { border-color: var(--sage); background: rgba(163, 193, 173, .08); }
.story-fig__switch { position: relative; width: 34px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background-color .4s; }
.story-fig__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--on-dark); transition: transform .5s var(--ease), background-color .4s; }
.story-fig__toggle[aria-pressed="true"] .story-fig__switch { background: rgba(163, 193, 173, .35); }
.story-fig__toggle[aria-pressed="true"] .story-fig__switch::after { transform: translateX(16px); background: var(--sage); }
html:not(.js) .story-fig__toggle { display: none; }
@media (max-width: 640px) {
  .story-fig__svg text { font-size: 17px; letter-spacing: .08em; }
  .sf-hop text { font-size: 15px; letter-spacing: .04em; }
  .sf-project text { font-size: 16px; }
}

/* ---------- ethos and mission (sage sheet, statement scrub) ---------- */
.ethos { overflow: hidden; }
.ethos__sheen { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.ethos__sheen i { position: absolute; top: -20%; height: 140%; transform: translateX(calc((var(--p, .5) - .5) * -38vw)) skewX(var(--slash)); background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 80%); }
.ethos__sheen i:nth-child(1) { right: 6%; width: 22%; }
.ethos__sheen i:nth-child(2) { right: 31%; width: 5%; opacity: .7; transform: translateX(calc((var(--p, .5) - .5) * -22vw)) skewX(var(--slash)); }
.ethos__sheen i:nth-child(3) { right: -6%; width: 7%; opacity: .5; transform: translateX(calc((var(--p, .5) - .5) * -60vw)) skewX(var(--slash)); }
.ethos__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px clamp(24px, 4vw, 64px); align-items: start; }
.ethos__row + .ethos__row { margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(26, 26, 46, .16); }
.ethos__row .label { padding-top: .9em; color: rgba(26, 26, 46, .72); }
.ethos__text { font-size: clamp(2.3rem, 5.4vw, 5.3rem); font-weight: 500; line-height: .98; letter-spacing: -.027em; color: var(--ink); text-wrap: balance; }
.ethos__text--sm { font-size: clamp(1.55rem, 2.9vw, 2.8rem); line-height: 1.12; letter-spacing: -.02em; max-width: 24em; text-wrap: pretty; }
html.js .ethos [data-highlight] .hw { opacity: .2; }
.ethos__words { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(28px, 3vw, 40px); font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.ethos__words li { display: inline-flex; align-items: center; gap: 10px; }
.ethos .slash-mark { background: var(--ink); }
@media (max-width: 860px) {
  .ethos__row { grid-template-columns: 1fr; }
  .ethos__row .label { padding-top: 0; }
}

/* ---------- timeline: a rail that steps up at the slash angle ---------- */
.tl-sec { overflow: clip; }
.tl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(48px, 6vw, 88px); }
.tl-head .label { margin-bottom: clamp(16px, 2vw, 24px); }
.tl-readout { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.tl-readout__year { font-size: clamp(4rem, 9.6vw, 9rem); font-weight: 500; line-height: .8; letter-spacing: -.032em; font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1px rgba(163, 193, 173, .55); }
.tl-readout__of { color: var(--on-dark-3); }
.tl-readout__of span { color: var(--sage); }
html:not(.js) .tl-readout { display: none; }

.tl { --rise: clamp(34px, 6.4vh, 70px); position: relative; }
.tl__rail { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .6s; }
.tl.is-ready .tl__rail { opacity: 1; }
.tl__base { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; stroke-linejoin: round; }
.tl__fill { fill: none; stroke: var(--sage); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(163, 193, 173, .45)); }
.tl__halo { fill: rgba(163, 193, 173, .18); }
.tl__dot { fill: #f1f7f2; filter: drop-shadow(0 0 6px rgba(163, 193, 173, .9)); }
.tl__list { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.tl__item { position: relative; margin-top: calc((4 - var(--n, 0)) * var(--rise)); padding-top: 38px; }
.tl__node { position: absolute; left: 0; top: 0; width: 24px; height: 12px; transform: skewX(var(--slash)); background: var(--sage); box-shadow: 0 0 0 5px var(--ink-3); transition: background-color .5s, box-shadow .6s var(--ease); }
.tl__tag { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); transition: color .5s; }
.tl__year { display: block; margin-bottom: 14px; font-size: clamp(3rem, 5.6vw, 5.4rem); font-weight: 500; line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--on-dark); transition: color .7s var(--ease), -webkit-text-stroke-color .7s var(--ease); -webkit-text-stroke: 1px transparent; }
.tl__item:last-child .tl__year { color: var(--sage); }
.tl__item p { margin-top: 10px; color: var(--fg-2); font-size: 1rem; line-height: 1.55; max-width: 15rem; transition: opacity .7s var(--ease), transform .8s var(--ease); }
/* live states (js adds .is-live; items light as the rail reaches them) */
.tl.is-live .tl__item:not(.is-on) .tl__node { background: var(--ink-3); box-shadow: 0 0 0 5px var(--ink-3), inset 0 0 0 1px rgba(255, 255, 255, .28); }
.tl.is-live .tl__item:not(.is-on) .tl__year { color: transparent; -webkit-text-stroke-color: rgba(238, 240, 242, .26); }
.tl.is-live .tl__item:not(.is-on) .tl__tag { color: var(--on-dark-3); }
.tl.is-live .tl__item:not(.is-on) p { opacity: 0; transform: translateY(14px); }
.tl.is-live .tl__item.is-on .tl__node { animation: tl-pop .7s var(--ease); box-shadow: 0 0 0 5px var(--ink-3), 0 0 22px 2px rgba(163, 193, 173, .55); }
@keyframes tl-pop { 0% { transform: skewX(var(--slash)) scale(.4); } 60% { transform: skewX(var(--slash)) scale(1.35); } 100% { transform: skewX(var(--slash)) scale(1); } }
/* pinned on wide, tall screens (same query as about.js): the section holds while the rail fills */
@media (min-width: 1100px) and (min-height: 740px) {
  html.js:not(.gs-reduced) .tl-sec { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(40px, 7vh, 72px); }
  html.js:not(.gs-reduced) .tl-sec .tl-head { margin-bottom: clamp(36px, 6vh, 64px); }
}
@media (max-width: 1100px) { .tl__year { font-size: clamp(2.6rem, 5vw, 4rem); } }
@media (max-width: 899px) {
  .tl-head { align-items: flex-start; flex-direction: column; }
  .tl-readout { display: none; }
  .tl__list { grid-template-columns: 1fr; row-gap: 40px; padding-left: 48px; }
  .tl__item { margin-top: 0; padding-top: 0; }
  .tl__node { left: -48px; top: 6px; }
  .tl__year { font-size: clamp(3rem, 14vw, 4.4rem); margin-bottom: 8px; }
  .tl__item p { max-width: 28rem; }
}
@media (min-width: 561px) and (max-width: 899px) {
  .tl__item { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 28px; align-items: end; }
  .tl__year { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .tl__tag { grid-column: 2; grid-row: 1; }
  .tl__item p { grid-column: 2; grid-row: 2; margin-top: 6px; }
  .tl__node { top: 2.2rem; }
}

/* ---------- approach ---------- */
.approach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach__tender { margin-top: var(--frame); padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.approach__tender p { color: var(--fg-2); font-size: 1.02rem; }
.approach__kicker { text-transform: uppercase; letter-spacing: .12em; color: var(--fg-3); margin-bottom: 18px; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc-list li { position: relative; display: grid; grid-template-columns: 44px 52px minmax(0, 1fr); gap: 18px; align-items: center; padding: clamp(16px, 1.8vw, 22px) 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.svc-list li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svc-list__num { font-family: var(--mono); font-size: .78rem; color: var(--fg-3); transition: color .3s; }
.svc-list__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-tint); color: var(--sage-3); transition: background-color .4s var(--ease), color .4s var(--ease), transform .6s var(--ease); }
.svc-list__icon .icon { width: 24px; height: 24px; }
.svc-list__title { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.018em; line-height: 1.15; }
.svc-list li:hover { padding-left: 10px; }
.svc-list li:hover::after { transform: scaleX(1); }
.svc-list li:hover .svc-list__num { color: var(--sage-3); }
.svc-list li:hover .svc-list__icon { background: var(--ink); color: var(--sage); transform: rotate(-8deg) scale(1.04); }
@media (max-width: 960px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__aside { order: 2; }
}
@media (max-width: 520px) {
  .svc-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .svc-list__num { display: none; }
  .svc-list__icon { width: 44px; height: 44px; border-radius: 10px; }
  .svc-list__icon .icon { width: 20px; height: 20px; }
}

/* programme resourcing plan: bars fill as a cursor sweeps with scroll */
.plan { --q: clamp(0, calc(var(--p, 1) * 1.75 - .28), 1); margin: 0; padding: clamp(20px, 2.2vw, 30px); container-type: inline-size; }
.plan__tag { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-dark-2); font-size: .62rem; }
.plan__chart { --lab: 118px; margin-top: 22px; }
.plan__phases { display: grid; grid-template-columns: var(--lab) repeat(4, minmax(0, 1fr)); font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.plan__phases::before { content: ""; }
.plan__phases span { padding: 0 0 10px 8px; border-left: 1px solid var(--line-dark); white-space: nowrap; }
.plan__grid { position: relative; display: grid; gap: 8px; padding: 14px 0 6px; border-top: 1px solid var(--line-dark); }
.plan__grid::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--lab); right: 0; pointer-events: none; background: linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 25% 100%; }
.plan__row { position: relative; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); align-items: center; }
.plan__role { font-size: .8rem; line-height: 1.25; color: var(--on-dark-2); padding-right: 10px; }
.plan__track { position: relative; height: 26px; }
.plan__bar { position: absolute; top: 6px; bottom: 6px; left: calc(var(--s) * 100%); width: calc((var(--e) - var(--s)) * 100%); background: rgba(163, 193, 173, .1); clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.plan__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(163, 193, 173, .5), var(--sage)); transform-origin: left center; transform: scaleX(clamp(0, calc((var(--q) - var(--s)) / (var(--e) - var(--s))), 1)); }
.plan__cursor { position: absolute; top: 0; bottom: 0; left: calc(var(--lab) + (100% - var(--lab)) * var(--q)); width: 1px; background: linear-gradient(180deg, var(--sage), rgba(163, 193, 173, .1)); pointer-events: none; }
.plan__cursor i { position: absolute; top: -4px; left: -7px; width: 14px; height: 7px; background: var(--sage); transform: skewX(var(--slash)); box-shadow: 0 0 12px rgba(163, 193, 173, .8); }
.plan__note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: .9rem; color: var(--on-dark-2); }
/* a narrow chart (phones, and the two-column layout up to ~1300px) puts each role above its bar, so the phases
   get the full width and no label is ever cut short */
@container (max-width: 430px) {
  .plan__chart { --lab: 0px; }
  .plan__phases { grid-template-columns: repeat(4, minmax(0, 1fr)); letter-spacing: .07em; }
  .plan__phases::before { display: none; }
  .plan__grid { gap: 6px; }
  .plan__row { grid-template-columns: minmax(0, 1fr); row-gap: 1px; }
  .plan__role { padding: 0 0 0 8px; font-size: .76rem; }
  .plan__track { height: 22px; }
}

/* ---------- specialisms: community map + index ---------- */
.specs__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.specs__fig { position: sticky; top: calc(var(--header-h) + 20px); }
.cst { margin: 0; padding: clamp(18px, 2vw, 26px); }
.cst__group { color: var(--sage); transition: color .3s; }
.cst__stage { position: relative; aspect-ratio: 1 / .84; margin-top: 10px; }
.cst__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.cst__readout { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: baseline; min-height: 4.2em; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.cst__num { font-family: var(--mono); font-size: .8rem; color: var(--sage); }
.cst__name { font-size: clamp(1.02rem, 1.3vw, 1.2rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.35; color: var(--on-dark); }
.cst__name small { display: block; margin-top: 4px; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
html:not(.js) .specs__fig { display: none; }
html:not(.js) .specs__grid { grid-template-columns: 1fr; }
.spec-index { list-style: none; border-top: 1px solid var(--line); }
.spec-index li { border-bottom: 1px solid var(--line); }
.spec-index a { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 26px; gap: 14px; align-items: center; padding: clamp(15px, 1.5vw, 20px) 0; transition: padding .45s var(--ease), color .3s; }
.spec-index a::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 7px; margin-top: -3.5px; background: var(--sage); transform: skewX(var(--slash)) scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.spec-index__num { font-family: var(--mono); font-size: .78rem; color: var(--fg-3); transition: color .3s, transform .45s var(--ease); }
.spec-index__title { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.spec-index__title small { display: block; margin-top: 5px; font-size: .8rem; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: var(--fg-3); }
.spec-index__go { width: 22px; height: 22px; color: var(--fg-3); transition: transform .5s var(--ease), color .3s; }
.spec-index a:hover, .spec-index a:focus-visible, .spec-index a.is-active { padding-left: 26px; color: var(--sage); }
.spec-index a:hover::before, .spec-index a:focus-visible::before, .spec-index a.is-active::before { transform: skewX(var(--slash)) scaleX(1); }
.spec-index a:hover .spec-index__num, .spec-index a:focus-visible .spec-index__num, .spec-index a.is-active .spec-index__num, .spec-index a:hover .spec-index__go, .spec-index a.is-active .spec-index__go { color: var(--sage); }
.spec-index a:hover .spec-index__go, .spec-index a.is-active .spec-index__go { transform: translate(3px, -3px); }
.spec-index a.is-linked .spec-index__num { color: var(--sage); }
@media (max-width: 960px) {
  .specs__grid { grid-template-columns: 1fr; }
  .specs__fig { position: relative; top: auto; }
  .cst__stage { aspect-ratio: 1 / .9; }
}
@media (max-width: 760px) { .spec-index a { grid-template-columns: 40px minmax(0, 1fr) 22px; } }

/* ---------- security clearance: the ladder ---------- */
.clear__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.clear__copy .body-lg { max-width: 34rem; }
.clr-levels { list-style: none; margin-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.clr-level { position: relative; border-bottom: 1px solid var(--line); }
.clr-level::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 2px; background: var(--sage); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.clr-level.is-active::before { transform: scaleY(1); }
.clr-level__btn { width: 100%; display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; text-align: left; transition: padding .5s var(--ease); }
.clr-level.is-active .clr-level__btn { padding-left: 16px; }
.clr-level__code { position: relative; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 500; font-size: clamp(.95rem, 1.15vw, 1.06rem); letter-spacing: 0; color: var(--on-dark-2); white-space: nowrap; transition: color .4s; }
.clr-level.is-sourced .clr-level__code::after, .clr-key__dot { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 3px rgba(163, 193, 173, .2); flex: none; }
.clr-level.is-active .clr-level__code, .clr-level.is-lit .clr-level__code { color: var(--sage); }
.clr-level__name { font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; color: var(--on-dark); transition: color .3s; }
.clr-level__flag { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--on-dark-3); }
.clr-level__desc { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease); }
.clr-level__desc > div { overflow: hidden; }
.clr-level__desc p { padding: 0 0 18px 164px; color: var(--fg-2); font-size: .98rem; line-height: 1.55; max-width: 38rem; transition: opacity .5s var(--ease) .1s; }
.clr.is-live .clr-level:not(.is-active) .clr-level__desc { grid-template-rows: 0fr; }
.clr.is-live .clr-level:not(.is-active) .clr-level__desc p { opacity: 0; transition-delay: 0s; }
.clr-level__btn:hover .clr-level__name { color: var(--sage); }
.clr-key { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--on-dark-3); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.clr-fig { margin: 0; position: relative; }
.clr-svg { width: 100%; height: auto; overflow: visible; }
.clr-svg text { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.clr-svg .clr-rung__code { text-transform: none; letter-spacing: .06em; }
.clr-band line { stroke: rgba(255, 255, 255, .1); stroke-dasharray: 2 6; }
.clr-band text { font-size: 11px; fill: rgba(238, 240, 242, .36); transition: fill .5s; }
.clr-band.is-lit text { fill: rgba(163, 193, 173, .9); }
.clr-stile { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.clr-stile--fill { stroke: var(--sage); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(163, 193, 173, .5)); }
.clr-rung { cursor: pointer; }
.clr-rung path { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .2); stroke-width: 1; transition: fill .5s, stroke .5s; }
.clr-rung .clr-rung__code { font-size: 15px; fill: rgba(238, 240, 242, .55); transition: fill .4s; }
.clr-rung .clr-rung__code--sm { font-size: 12.5px; letter-spacing: .04em; }
.clr-rung.is-lit path { fill: rgba(163, 193, 173, .22); stroke: rgba(163, 193, 173, .75); }
.clr-rung.is-lit .clr-rung__code { fill: var(--on-dark); }
.clr-rung.is-active path { fill: var(--sage); stroke: var(--sage); }
.clr-rung.is-active .clr-rung__code { fill: var(--ink); }
.clr-rung.is-active path { filter: drop-shadow(0 0 14px rgba(163, 193, 173, .45)); }
.clr-rung:hover path { stroke: var(--sage); }
.clr-climber__halo { fill: rgba(163, 193, 173, .16); }
.clr-climber__dot { fill: #f1f7f2; filter: drop-shadow(0 0 7px rgba(163, 193, 173, 1)); }
html:not(.js) .clr-fig { display: none; }
@media (max-width: 960px) {
  .clear__grid { grid-template-columns: 1fr; }
  .clr-fig { max-width: 560px; }
  .clr-svg .clr-rung__code { font-size: 22px; }
  .clr-svg .clr-rung__code--sm { font-size: 15px; letter-spacing: 0; }
  .clr-band text { font-size: 15px; }
}
@media (max-width: 560px) {
  .clr-level__btn { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .clr-level__code { grid-column: 1; }
  .clr-level__name { grid-column: 1; grid-row: 2; font-size: .95rem; }
  .clr-level__flag { grid-column: 2; grid-row: 1 / span 2; }
  .clr-level__desc p { padding-left: 16px; }
}

/* ---------- what sets GS apart: pillars with drawn glyphs ---------- */
.pillar-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { position: relative; display: flex; flex-direction: column; min-height: clamp(380px, 32vw, 460px); padding: clamp(22px, 2.2vw, 32px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); outline-offset: -3px; overflow: hidden; isolation: isolate; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); clip-path: polygon(0 0, 0 0, -60% 100%, -60% 100%); transition: clip-path .9s var(--ease); }
.pillar::after { content: ""; position: absolute; left: -1px; top: -1px; height: 2px; width: 0; background: var(--sage-3); transition: width .9s var(--ease); }
@media (hover: hover) {
  .pillar:hover::before { clip-path: polygon(0 0, 160% 0, 100% 100%, -60% 100%); }
  .pillar:hover::after { width: calc(100% + 2px); }
  .pillar:hover .pillar__num { color: var(--sage-tint); }
}
.pillar__num { font-size: clamp(3.4rem, 5.4vw, 5rem); font-weight: 400; line-height: .85; letter-spacing: -.032em; color: transparent; -webkit-text-stroke: 1px var(--sage-3); transition: color .5s var(--ease); }
.pillar__fig { position: absolute; top: clamp(22px, 2.2vw, 32px); right: clamp(14px, 1.6vw, 24px); width: clamp(110px, 10.4vw, 152px); height: auto; overflow: visible; }
.pillar h3 { margin-top: auto; padding-top: 40px; min-height: calc(2.3em + 40px); font-size: clamp(1.3rem, 1.75vw, 1.6rem); font-weight: 500; letter-spacing: -.018em; line-height: 1.15; margin-bottom: 12px; }
.pillar p { color: var(--fg-2); font-size: .98rem; line-height: 1.6; min-height: 8em; }
/* glyph strokes: navy hairlines with sage accents, drawn as each pillar arrives */
.pillar__fig path, .pillar__fig circle, .pillar__fig ellipse { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pillar__fig .pf-lab { fill: var(--on-light-3); stroke: none; font-family: var(--mono); font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase; }
.pf-dots circle { fill: var(--white); }
.pf-dots .pf-hub { fill: var(--sage-3); stroke: var(--sage-3); }
.pillar__fig .pf-pulse { fill: var(--sage-3); stroke: none; }
.pillar__fig .pf-ring { stroke: var(--line-light-2); transform-box: fill-box; transform-origin: center; }
.pillar__fig .pf-ring--1 { stroke: var(--sage-3); fill: var(--sage-tint); }
.pillar__fig .pf-slash { fill: var(--sage-3); stroke: none; }
.pillar__fig .pf-track { stroke: var(--line-light-2); }
.pillar__fig .pf-fill { stroke: var(--sage-3); stroke-width: 2.4; }
.pillar__fig .pf-goal { fill: var(--white); stroke: var(--sage-3); }
.pillar__fig .pf-check { stroke: var(--sage-3); stroke-width: 1.8; }
.pillar__fig .pf-earth { fill: var(--white); }
.pillar__fig .pf-mer ellipse, .pillar__fig .pf-lat { stroke: var(--line-light-2); }
.pillar__fig .pf-mer { transform-box: fill-box; transform-origin: center; }
.pillar__fig .pf-arc { stroke: var(--sage-3); }
.pillar__fig .pf-home { fill: var(--ink); }
.pillar__fig .pf-away { fill: var(--sage-3); stroke: none; }
html.js .pillar[data-reveal] [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) calc(.35s + var(--d, 0) * 90ms + var(--k, 0) * 120ms); }
html.js .pillar.is-in [pathLength] { stroke-dashoffset: 0; }
/* hover loops */
.pillar:hover .pf-ring--2, .pillar:focus-visible .pf-ring--2 { animation: pf-ring 1.8s var(--ease) infinite; }
.pillar:hover .pf-ring--3, .pillar:focus-visible .pf-ring--3 { animation: pf-ring 1.8s var(--ease) .25s infinite; }
@keyframes pf-ring { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.pillar:hover .pf-mer, .pillar:focus-visible .pf-mer { animation: pf-spin 2.4s linear infinite; }
@keyframes pf-spin { from { transform: scaleX(1); } 50% { transform: scaleX(-1); } to { transform: scaleX(1); } }
.pillar:hover .pf-fill, .pillar:focus-visible .pf-fill { animation: pf-fill 2.2s var(--ease) infinite; }
@keyframes pf-fill { 0% { stroke-dasharray: 0 1; } 70%, 100% { stroke-dasharray: 1 0; } }
.pillar:hover .pf-slash, .pillar:focus-visible .pf-slash { animation: pf-land 1.8s var(--ease) infinite; }
@keyframes pf-land { 0% { transform: translate(-30px, 30px); opacity: 0; } 45%, 100% { transform: none; opacity: 1; } }
.pillar__fig .pf-pulse { opacity: 0; transition: opacity .4s; }
.pillar.is-in .pillar__fig .pf-pulse { opacity: 1; }
@media (max-width: 1024px) { .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pillar { min-height: 340px; } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } .pillar { min-height: 0; } .pillar h3 { min-height: 0; padding-top: 64px; } .pillar p { min-height: 0; } }

/* ---------- core values (14 Oct 2026; the Optronix about-page values in GS dress) ----------
   Each value lights left to right as its row comes into view, a sage line drawing under it in step.
   The lit state is the default: the dim start only applies once js/pages/about.js adds .values--anim. */
.values { list-style: none; border-top: 1px solid var(--line-2); }
.value { position: relative; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px clamp(24px, 4vw, 64px); align-items: baseline; padding: clamp(24px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line-2); }
.value::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--sage), rgba(163, 193, 173, .15)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); pointer-events: none; }
.value__num { display: inline-flex; align-items: center; gap: .7em; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; color: var(--sage); }
.value__num::before { content: ""; width: .95em; height: .55em; background: currentColor; transform: skewX(var(--slash)); flex: none; }
.value__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: 12px clamp(24px, 4vw, 64px); align-items: baseline; }
.value__word { font-size: clamp(2.1rem, 1.2rem + 2.7vw, 3.75rem); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; color: var(--white); }
.value__word .vw { position: relative; }
.value__word .vw::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.13em; height: max(2px, .05em); border-radius: 2px; background: var(--sage); transform-origin: left; }
.value__text { max-width: 30em; font-size: clamp(1.02rem, 1.1vw, 1.15rem); line-height: 1.55; color: var(--fg-2); }
.values--anim .vw {
  background-image: linear-gradient(90deg, var(--white) 0%, var(--white) 45%, rgba(238, 240, 242, .2) 55%, rgba(238, 240, 242, .2) 100%);
  background-size: 220% 100%; background-repeat: no-repeat; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position 1.3s var(--ease-out);
}
.values--anim .vw::after { transform: scaleX(0); transition: transform 1.3s var(--ease-out); }
.values--anim .value.is-in .vw { background-position: 0 0; }
.values--anim .value.is-in .vw::after { transform: scaleX(1); }
.values--anim .value .vw, .values--anim .value .vw::after { transition-delay: var(--vd, 0s); }
@media (hover: hover) and (pointer: fine) {
  .value:hover::before { transform: scaleX(1); }
}
@media (max-width: 860px) {
  .value { grid-template-columns: 1fr; gap: 14px; }
  .value__body { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- people and next steps ---------- */
.people__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.people__intro { max-width: 30rem; }
.people__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--frame); }
.people-card { position: relative; display: flex; flex-direction: column; min-height: clamp(440px, 42vw, 600px); padding: clamp(24px, 2.8vw, 44px); border-radius: var(--r-lg); background: radial-gradient(90% 80% at 85% 20%, rgba(163, 193, 173, .1), transparent 60%), var(--ink); border: 1px solid var(--line-dark); overflow: hidden; isolation: isolate; color: var(--on-dark); }
.people-card .art-fill { z-index: -2; }
.people-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(26, 26, 46, .82) 0%, rgba(26, 26, 46, .3) 55%, rgba(26, 26, 46, 0) 80%), linear-gradient(0deg, rgba(15, 15, 32, .7), transparent 50%); }
.people-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.people-card__top .mono { text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--sage); }
.people-card__title { display: block; margin-top: auto; font-size: clamp(2.3rem, 4.8vw, 4.6rem); font-weight: 500; line-height: .98; letter-spacing: -.025em; max-width: 9.5em; text-wrap: balance; }
.people-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(24px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--line-dark); color: var(--on-dark-2); }
.people-card__go { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--ink); transition: transform .6s var(--ease), background-color .3s; }
.people-card__go .icon { width: 22px; height: 22px; }
.people-card:hover .people-card__go, .people-card:focus-visible .people-card__go { transform: rotate(45deg); background: var(--white); }
.people__side { display: grid; gap: var(--frame); }
.people__side .cta-panel { min-height: clamp(220px, 20vw, 290px); }
.people__side .cta-panel h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
@media (max-width: 960px) {
  .people__head, .people__grid { grid-template-columns: 1fr; }
  .people-card { min-height: 420px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tl.is-live .tl__item p { opacity: 1 !important; transform: none !important; }
  .pillar__fig .pf-pulse { display: none; }
  html.js .pillar[data-reveal] [pathLength] { stroke-dashoffset: 0 !important; }
}

/* ---------- slash dividers ---------- */
.story__div { margin-top: clamp(56px, 7vw, 104px); }
.story__div + .story__stats { margin-top: 28px; }
.specs__foot { display: flex; align-items: center; gap: 24px; margin-top: clamp(48px, 6vw, 88px); }
.specs__foot .slash-divider { flex: 1; }
.specs__foot .link { flex: none; }
