/* Metafive.ai — site stylesheet
   Palette: paper #F5F7F8 · ink #14212B · steel #5B6B78 · line #D5DCE1 · signal #0E7C66 · burn #B45309 */

@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #F5F7F8;
  --paper-2: #EAEFF1;
  --ink: #14212B;
  --ink-2: #1D2F3C;
  --steel: #5B6B78;
  --line: #D5DCE1;
  --signal: #0E7C66;
  --signal-soft: #7FD1BC;
  --burn: #B45309;
  --white: #FFFFFF;
  --measure: 66ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.6vw, 2.45rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.2vw, 3.9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plex", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "kern" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 247, 248, .92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: baseline; gap: .1rem; font-weight: 600; font-size: 1.2rem; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--signal); margin-right: .5rem; align-self: center; box-shadow: 0 0 0 4px rgba(14,124,102,.15); }
.brand-tld { color: var(--steel); font-weight: 500; }
.nav { display: flex; gap: 1.35rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--steel); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a:hover { color: var(--ink); }
.lang { font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--steel); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1;
  padding: .9rem 1.35rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--white);
}
.btn:hover { background: var(--signal); border-color: var(--signal); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: transparent; color: var(--signal); border-color: var(--signal); }
.btn--small { padding: .6rem 1rem; font-size: .92rem; }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--signal-soft); border-color: var(--signal-soft); color: var(--ink); }
@media (max-width: 1180px) { .nav { display: none; } .top .wrap { gap: 1rem; } .lang { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.03em; max-width: 16ch; }
.hero-p { margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.sig { margin-top: 2.5rem; display: flex; align-items: center; gap: .9rem; color: var(--steel); font-size: .95rem; max-width: 34rem; }
.sig img { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ---------- commitment panel (the memorable element) ---------- */
.panel { background: var(--ink); color: #E8EEF1; border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 30px 60px -30px rgba(20, 33, 43, .55); }
.panel-title { font-size: 1.05rem; font-weight: 500; color: var(--white); }
.panel fieldset { border: 0; margin: 1.25rem 0 0; padding: 0; }
.panel legend { font-size: .9rem; color: #A9B8C3; margin-bottom: .6rem; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; background: var(--ink-2); padding: .3rem; border-radius: .8rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: .6rem .25rem; border-radius: .55rem; cursor: pointer; font-weight: 500; color: #C9D5DD; font-variant-numeric: tabular-nums; }
.seg input:checked + label { background: var(--white); color: var(--ink); }
.seg input:focus-visible + label { outline: 3px solid var(--signal-soft); outline-offset: 2px; }
.chain { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.chain::before { content: ""; position: absolute; left: .45rem; top: .7rem; bottom: .7rem; width: 2px; background: linear-gradient(var(--signal-soft), rgba(127, 209, 188, .15)); }
.chain li { position: relative; display: grid; grid-template-columns: 1.6rem minmax(7.5rem, 9.5rem) 1fr; gap: .2rem .9rem; padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .07); align-items: baseline; }
.chain li:first-child { border-top: 0; }
.chain li::before { content: ""; width: .9rem; height: .9rem; border-radius: 50%; background: var(--ink); border: 2px solid var(--signal-soft); align-self: center; grid-row: 1 / span 2; }
.chain li[data-k="cap"]::before { background: var(--signal-soft); }
.chain .k { font-weight: 600; color: var(--white); font-size: .98rem; }
.chain .v { font-size: 1.35rem; font-weight: 600; color: var(--signal-soft); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; text-align: right; }
.chain .v small { font-size: .82rem; font-weight: 400; color: #A9B8C3; margin-left: .25rem; }
.chain li[data-k="budget"] .v { color: #F2B57A; }
.chain .d { grid-column: 2 / 4; font-size: .88rem; line-height: 1.45; color: #A9B8C3; }
.chain .v.flash { animation: flash .6s ease; }
@keyframes flash { from { color: var(--white); } }
.panel-note { margin-top: 1rem; font-size: .78rem; line-height: 1.45; color: #8496A3; }
@media (max-width: 520px) {
  .chain li { grid-template-columns: 1.4rem 1fr; }
  .chain .v { grid-column: 2; text-align: left; }
  .chain .d { grid-column: 2; }
  .seg label { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .chain .v.flash { animation: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.section-head { max-width: var(--measure); }
.section h2 { font-size: var(--step-3); }
.lead { margin-top: 1rem; font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); }

/* method: a true sequence, so numbered */
.steps { list-style: none; counter-reset: s; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 1.15rem; left: 1.15rem; right: 1.15rem; height: 2px; background: var(--line); }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; position: relative; }
.steps li:last-child::before { background: var(--ink); color: var(--white); }
.steps h3 { margin-top: 1rem; font-size: var(--step-1); }
.steps p { margin-top: .5rem; color: var(--steel); font-size: .98rem; line-height: 1.55; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 1.15rem; bottom: 1.15rem; left: 1.1rem; right: auto; width: 2px; height: auto; }
  .steps li { display: grid; grid-template-columns: 2.3rem 1fr; column-gap: 1.25rem; padding-bottom: 1.75rem; }
  .steps li::before { grid-row: 1 / span 2; }
  .steps h3 { margin-top: .3rem; }
}

/* consulting: a definition list, not a card grid */

/* training */
.train { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: 3rem; align-items: start; }
.modules { list-style: none; margin: 0; padding: 0; }
.modules li { border-top: 1px solid var(--line); }
.modules a { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: .3rem 1.5rem; padding: 1.1rem 0; color: inherit; text-decoration: none; align-items: baseline; }
.modules a:hover strong { color: var(--signal); }
.modules .m-h { display: flex; flex-direction: column; gap: .2rem; color: var(--ink); }
.modules em { font-style: normal; font-size: .85rem; color: var(--signal); font-weight: 600; }
.train-cta { margin-top: 1.75rem; }
.modules li:last-child { border-bottom: 1px solid var(--line); }
.modules strong { font-weight: 600; }
.modules span { color: var(--steel); }
.proof { background: var(--paper-2); border-radius: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.proof h3 { font-size: var(--step-1); }
.proof ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.proof li { margin-top: .75rem; color: var(--ink-2); }
.proof li::marker { color: var(--signal); }
@media (max-width: 960px) { .train { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .modules a { grid-template-columns: 1fr; gap: .2rem; } }

/* videos (hidden until VIDEOS has entries) */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: .9rem; overflow: hidden; background: var(--ink); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: var(--white); font: inherit; }
.video-play span { background: rgba(20, 33, 43, .85); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 500; }
.video-play:hover span { background: var(--signal); }
.video figcaption { margin-top: .7rem; font-weight: 500; }
.video figcaption small { display: block; color: var(--steel); font-weight: 400; }
.video-consent { margin-top: 1.25rem; font-size: .85rem; color: var(--steel); }

/* references */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 3rem 0 0; }
.figures div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.figures dt { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.figures dd { margin: .4rem 0 0; color: var(--steel); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.refs-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: 3.5rem; }
.refs-cols h3 { font-size: var(--step-1); }
.plain { list-style: none; margin: 1rem 0 0; padding: 0; }
.plain li { padding: .7rem 0; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .refs-cols { grid-template-columns: 1fr; } }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about img { border-radius: 1rem; aspect-ratio: 1; object-fit: cover; width: 100%; }
.about p + p { margin-top: 1rem; }
.about-text p { max-width: var(--measure); font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.links a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem; font-size: .95rem; background: var(--white); }
.links a:hover { border-color: var(--signal); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { max-width: 14rem; } }

/* contact */
.contact { background: var(--ink); color: #E8EEF1; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.contact h2 { color: var(--white); font-size: var(--step-3); max-width: 22ch; }
.contact p { margin-top: 1rem; font-size: var(--step-1); color: #C9D5DD; max-width: 40rem; }
.contact .hero-actions a.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.contact .hero-actions a.btn--ghost:hover { border-color: var(--signal-soft); color: var(--signal-soft); }
.contact .where { font-size: .95rem; color: #8496A3; margin-top: 2rem; }

/* footer */
.foot { padding: 2rem 0 3rem; font-size: .9rem; color: var(--steel); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.foot details { max-width: 48rem; }
.foot summary { cursor: pointer; }
.foot details p { margin-top: .6rem; }

/* ---------- architecture of the chain ---------- */
.chain li[data-k="uc"] .v { color: #F2D27A; }
.lv { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.lv.flash { animation: flash .6s ease; }
.arch { margin-top: 3rem; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; gap: 1rem; }
.rail { position: relative; display: flex; justify-content: center; }
.rail::before { content: ""; position: absolute; top: .5rem; bottom: .5rem; width: 2px; background: var(--signal); }
.rail--down::before { background: var(--burn); }
.rail::after { content: ""; position: absolute; left: 50%; width: .75rem; height: .75rem; border: solid var(--signal); border-width: 2px 0 0 2px; transform: translateX(-50%) rotate(45deg); top: .35rem; }
.rail--down::after { border-color: var(--burn); top: auto; bottom: .35rem; transform: translateX(-50%) rotate(225deg); }
.rail span { position: relative; align-self: center; writing-mode: vertical-rl; transform: rotate(180deg); background: var(--paper); padding: .75rem 0; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.rail--down span { transform: none; color: var(--burn); }
.layers { display: grid; gap: .6rem; }
.layer { background: var(--white); border: 1px solid var(--line); border-radius: .9rem; padding: 1rem 1.25rem; display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(9rem, 14rem) 1fr; gap: .35rem 1.25rem; align-items: baseline; }
.layer-tag { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.layer-ab { font-size: var(--step-1); font-weight: 600; display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.layer-ab .lv { font-size: .95rem; color: var(--signal); background: rgba(14, 124, 102, .08); border-radius: 999px; padding: .1rem .55rem; }
.layer p { color: var(--steel); font-size: .95rem; line-height: 1.5; margin: 0; }
.layer--top { background: var(--ink); border-color: var(--ink); color: var(--white); }
.layer--top .layer-tag, .layer--top p { color: #A9B8C3; }
.layer--top .layer-ab .lv { color: var(--signal-soft); background: rgba(127, 209, 188, .12); }
.layer--base { background: var(--paper-2); border-style: dashed; }
.layer-split { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.layer-split .layer { grid-template-columns: 1fr; }
.layer--uc .layer-ab .lv { color: #8A5A00; background: rgba(180, 83, 9, .09); }
@media (max-width: 860px) {
  .arch { grid-template-columns: 1fr; }
  .rail { display: none; }
  .layer { grid-template-columns: 1fr; }
  .layer-split { grid-template-columns: 1fr; }
}

.calc { margin-top: 3.5rem; }
.calc-head { max-width: var(--measure); }
.calc-head h3 { font-size: var(--step-2); }
.calc-head p { margin-top: .5rem; color: var(--steel); }
.calc-head .lv { color: var(--signal); }
.formulas { margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.formula { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.formula dt { font-weight: 600; font-size: var(--step-1); }
.formula dd { margin: .6rem 0 0; }
.formula code { display: inline-block; font-family: "Plex", ui-monospace, monospace; font-size: 1.02rem; background: var(--ink); color: var(--signal-soft); border-radius: .5rem; padding: .45rem .75rem; letter-spacing: .01em; }
.formula p { margin: .7rem 0 0; color: var(--steel); font-size: .97rem; line-height: 1.55; }
.formula .ex { color: var(--ink); }
.formula .ex > span:first-child { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin-right: .6rem; }
.formula .ex .lv { color: var(--signal); }
@media (max-width: 860px) { .formulas { grid-template-columns: 1fr; } }

/* ---------- AI automation (dark band) ---------- */
.section--ink { background: var(--ink); color: #E8EEF1; border-top: 0; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .lead { color: #C3D0D8; }
.steps--ink::before { background: rgba(255, 255, 255, .14); }
.steps--ink li::before { background: var(--ink); border-color: var(--signal-soft); color: var(--signal-soft); }
.steps--ink li:last-child::before { background: var(--signal-soft); color: var(--ink); }
.steps--ink p { color: #A9B8C3; }
.guard { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: 1.5rem 2.5rem; }
.guard h3 { font-size: var(--step-1); }
.guard ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2rem; }
.guard li { position: relative; padding-left: 1.5rem; color: #C3D0D8; line-height: 1.5; }
.guard li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .6rem; height: .6rem; border-radius: 2px; background: var(--signal-soft); }
@media (max-width: 860px) { .guard, .guard ul { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.whys { margin: 2.5rem 0 0; }
.why { display: grid; grid-template-columns: minmax(11rem, 17rem) 1fr; gap: .5rem 2.5rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.why dt { font-weight: 600; font-size: var(--step-1); }
.why dd { margin: 0; }
.why p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.tags { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { font-size: .85rem; line-height: 1.35; padding: .3rem .7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.h3-gap { margin-top: 2rem; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* ---------- hero proof panel ---------- */
.proof-figures { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
.proof-figures div { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1rem; }
.proof-figures dt { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; color: var(--signal-soft); font-variant-numeric: tabular-nums; line-height: 1.1; }
.proof-figures div:nth-child(2) dt { color: #F2B57A; }
.proof-figures dd { margin: .5rem 0 0; color: #C3D0D8; font-size: .95rem; line-height: 1.45; }
.panel-envs { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; line-height: 1.55; color: #A9B8C3; }
@media (max-width: 420px) { .proof-figures { grid-template-columns: 1fr; } }

/* ---------- expertise domains ---------- */
.domains { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.domain { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: .9rem; padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; }
.domain:nth-child(2) { border-top-color: var(--burn); }
.domain:nth-child(3) { border-top-color: var(--signal); }
.domain:nth-child(4) { border-top-color: var(--signal-soft); }
.domain h3 { font-size: var(--step-2); letter-spacing: -0.01em; }
.domain-p { margin-top: .6rem; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.domain-list { list-style: none; margin: 1.25rem 0 0; padding: 0; flex: 1; }
.domain-list li { position: relative; padding: .55rem 0 .55rem 1.4rem; border-top: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.domain-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .55rem; height: 2px; background: var(--signal); }
.domain .tags { margin-top: 1.25rem; }
.domain .tags li { background: var(--paper); }
@media (max-width: 860px) { .domains { grid-template-columns: 1fr; } }

/* ---------- service level close-up ---------- */
.section--tint { background: var(--paper-2); }
.section--tint .rail span { background: var(--paper-2); }
.lvl { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.lvl-arch h3 { font-size: var(--step-2); }
.lvl-sub { margin-top: .5rem; color: var(--steel); }
.lvl .arch { margin-top: 1.5rem; grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem; gap: .75rem; }
.lvl .layer { grid-template-columns: 1fr; gap: .2rem; padding: .85rem 1.1rem; }
.lvl .layer p { font-size: .9rem; }
.lvl .layer-ab { font-size: 1.1rem; }
@media (max-width: 1100px) { .lvl { grid-template-columns: 1fr; } }

/* ---------- training catalogue page ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
.page-hero .hero-p { max-width: 46rem; }
.crumb { font-size: .9rem; margin-bottom: 1.25rem; }
.crumb a { color: var(--steel); }
.fmt { margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.fmt div { border-top: 2px solid var(--ink); padding-top: .9rem; }
.fmt dt { font-weight: 600; }
.fmt dd { margin: .35rem 0 0; color: var(--steel); font-size: .95rem; line-height: 1.5; }
.assess { margin-top: 2.5rem; max-width: var(--measure); }
.assess h2 { font-size: var(--step-1); }
.assess p { margin-top: .5rem; color: var(--ink-2); }
.assess .muted { color: var(--steel); font-size: .92rem; }
@media (max-width: 960px) { .fmt { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fmt { grid-template-columns: 1fr; } }
.cindex { list-style: none; counter-reset: c; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.cindex li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.cindex a { font-weight: 600; color: var(--ink); text-decoration: none; }
.cindex a:hover { color: var(--signal); }
.cindex span { color: var(--signal); font-size: .88rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .cindex { grid-template-columns: 1fr; } }
.courses { display: grid; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.course { background: var(--white); border: 1px solid var(--line); border-radius: 1.1rem; overflow: hidden; scroll-margin-top: 5rem; }
.course-head { background: var(--ink); color: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); }
.course-head h2 { font-size: var(--step-3); color: var(--white); }
.course-head p { margin-top: .6rem; color: #C3D0D8; font-size: var(--step-1); line-height: 1.5; max-width: 52rem; }
.course-body { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2.25rem); }
.course-meta { margin: 0; }
.course-meta div { padding: .9rem 0; border-top: 1px solid var(--line); }
.course-meta div:first-child { border-top: 0; padding-top: 0; }
.course-meta dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.course-meta dd { margin: .35rem 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.course-meta .course-dur { font-size: var(--step-2); font-weight: 600; color: var(--signal); }
.course-meta .tags li { background: var(--paper); font-size: .8rem; }
.course-main h3 { font-size: var(--step-1); margin-top: 1.75rem; }
.course-main > h3:first-child { margin-top: 0; }
.course-main ul { margin: .75rem 0 0; padding-left: 1.2rem; }
.course-main li { margin-top: .4rem; color: var(--ink-2); line-height: 1.5; }
.course-main li::marker { color: var(--signal); }
.prog { margin-top: .9rem; display: grid; gap: .75rem; }
.prog-part { background: var(--paper); border-radius: .75rem; padding: 1rem 1.15rem; }
.prog-part h4 { font-size: .95rem; font-weight: 600; }
.prog-part ul { margin-top: .5rem; columns: 2; column-gap: 2rem; }
.prog-part li { break-inside: avoid; }
@media (max-width: 760px) { .prog-part ul { columns: 1; } }
.prog-part li { font-size: .92rem; }
.course-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.course-top { margin-top: 1.75rem; font-size: .88rem; }
.course-top a { color: var(--steel); }
@media (max-width: 860px) { .course-body, .course-two { grid-template-columns: 1fr; } }
.tracks { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.track { border-top: 3px solid var(--signal); background: var(--white); border-radius: .9rem; padding: 1.5rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.track h3 { font-size: var(--step-2); }
.track p { margin-top: .5rem; color: var(--steel); }
.track ol { margin: 1rem 0 0; padding-left: 1.3rem; }
.track li { margin-top: .4rem; }
.track a { color: var(--ink); }
@media (max-width: 960px) { .tracks { grid-template-columns: 1fr; } }

/* ---------- hero doors ---------- */
.doors { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.door { display: flex; flex-direction: column; gap: .45rem; padding: 1.15rem 1.25rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: .9rem; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.door:nth-child(2) { border-top-color: var(--signal); }
.door:nth-child(3) { border-top-color: var(--burn); }
.door:nth-child(4) { border-top-color: var(--signal-soft); }
.door:hover { transform: translateY(-2px); border-color: var(--steel); }
.door-k { font-weight: 600; font-size: var(--step-1); }
.door-k::after { content: " →"; color: var(--signal); }
.door-t { color: var(--steel); font-size: .95rem; line-height: 1.5; }
@media (max-width: 960px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .doors { grid-template-columns: 1fr; } }

/* ---------- leadership ---------- */
.roles { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1rem; }
.roles h3 { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.roles ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.roles li { background: var(--ink); color: var(--white); border-radius: 999px; padding: .35rem .85rem; font-size: .9rem; font-weight: 500; }
.lead-grid { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sub-h { font-size: var(--step-2); }
.tl { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: .4rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 2rem 2rem; }
.tl-item::before { content: ""; position: absolute; left: 0; top: .35rem; width: .9rem; height: .9rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.tl-item:first-child::before { background: var(--signal); border-color: var(--signal); }
.tl-when { font-size: .85rem; font-weight: 600; color: var(--signal); font-variant-numeric: tabular-nums; }
.tl-body h4 { margin-top: .2rem; font-size: var(--step-1); font-weight: 600; }
.tl-org { margin-top: .15rem; color: var(--ink-2); font-weight: 500; }
.tl-ctx { margin-top: .4rem; color: var(--steel); font-size: .95rem; line-height: 1.5; }
.tl-body ul { margin: .6rem 0 0; padding-left: 1.1rem; }
.tl-body li { margin-top: .3rem; color: var(--ink-2); line-height: 1.5; }
.tl-body li::marker { color: var(--signal); }
.bring { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2rem); position: sticky; top: 5.5rem; }
.bring dl { margin: 1.25rem 0 0; }
.bring dl div { padding: .85rem 0; border-top: 1px solid var(--line); }
.bring dt { font-weight: 600; }
.bring dd { margin: .3rem 0 0; color: var(--steel); font-size: .95rem; line-height: 1.5; }
.lead-note { margin-top: 1rem; font-size: .88rem; color: var(--steel); }
.bring .hero-actions { margin-top: 1.25rem; }
@media (max-width: 960px) { .lead-grid { grid-template-columns: 1fr; } .bring { position: static; } }

/* ---------- consulting chapter ---------- */
.chapter { background: var(--ink); color: #E8EEF1; padding: clamp(3rem, 7vw, 5rem) 0; }
.chapter h2 { font-size: var(--step-4); letter-spacing: -0.03em; color: var(--white); }
.chapter .lead { color: #C3D0D8; max-width: var(--measure); }
.chapter-nav { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.chapter-nav a { color: var(--white); text-decoration: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .45rem .95rem; font-size: .92rem; }
.chapter-nav a:hover { border-color: var(--signal-soft); color: var(--signal-soft); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--signal); margin-bottom: .6rem; }
.eyebrow--ink { color: var(--signal-soft); }
#contexte { border-top: 0; }

/* ---------- trading lab ---------- */
.tblocks { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tblock { background: var(--white); border: 1px solid var(--line); border-radius: .9rem; padding: 1.5rem; }
.tblock h3 { font-size: var(--step-1); }
.tblock ul { margin: .9rem 0 0; padding-left: 1.1rem; }
.tblock li { margin-top: .45rem; color: var(--ink-2); line-height: 1.5; }
.tblock li::marker { color: var(--signal); }
.trading-reuse { margin-top: 2rem; max-width: var(--measure); color: var(--ink-2); }
.trading-reuse a { color: var(--signal); font-weight: 500; }
.disclaimer { margin-top: 1.25rem; max-width: var(--measure); font-size: .85rem; color: var(--steel); border-left: 3px solid var(--burn); padding-left: .9rem; }
@media (max-width: 960px) { .tblocks { grid-template-columns: 1fr; } }

/* ---------- course why ---------- */
.course-why { margin-top: 1.25rem; max-width: 52rem; background: rgba(127, 209, 188, .1); border-left: 3px solid var(--signal-soft); border-radius: 0 .5rem .5rem 0; padding: .8rem 1rem; color: #E8EEF1; font-size: .95rem; line-height: 1.55; }
.course-why span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-soft); margin-bottom: .3rem; }
.tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr; } }
.hero .wrap.doors-wrap { display: block; }
