/* Portfolio BTS SIO SISR — Evan Nioche · V1 */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --night: #0e1526;
  --night-2: #121b30;
  --panel: #162039;
  --panel-2: #1b2744;
  --rule: #26324d;
  --rule-2: #34436a;
  --text: #eaf0fa;
  --soft: #b9c4d9;
  --muted: #8b98b3;
  --amber: #f5b544;
  --amber-ink: #241a05;
  --fibre: #6ea8ff;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* compétences du bloc 1 */
  --c1: #6ea8ff; --c2: #ff9b72; --c3: #e58fd0;
  --c4: #63d9a4; --c5: #f5b544; --c6: #5fd0e0;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--fibre); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
strong { color: var(--text); font-weight: 600; }
sup { line-height: 0; }
.wrap { width: min(var(--wrap), 90%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--text); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
.soft { color: var(--soft); }
.muted { color: var(--muted); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(14,21,38,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--text); margin-right: auto; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 12px; color: var(--muted); font-weight: 600; font-size: .95rem; border-radius: 8px; }
.menu a:hover { color: var(--text); text-decoration: none; }
.menu a[aria-current="page"] { color: var(--text); background: var(--panel); }
.cta-cv { padding: 9px 16px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-weight: 600; font-size: .92rem; }
.cta-cv:hover { text-decoration: none; background: #ffc864; }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--rule-2); background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; }

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 1px solid var(--rule-2); color: var(--text); transition: background .15s, border-color .15s; }
.btn:hover { text-decoration: none; border-color: var(--soft); background: var(--panel); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: #ffc864; border-color: #ffc864; }

/* ---------- Hero accueil ---------- */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(110,168,255,.14), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; position: relative; }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-size: .95rem; margin-bottom: 26px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #63d9a4; box-shadow: 0 0 0 5px rgba(99,217,164,.15); }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: .92; letter-spacing: -.045em; margin-bottom: 26px; }
.hero .intro { font-size: 1.22rem; color: var(--soft); max-width: 36ch; margin-bottom: 32px; }

/* carte réseau */
.topo { width: 100%; height: auto; display: block; }
.topo .link { fill: none; stroke: var(--rule-2); stroke-width: 1.5; }
.topo .link.hot { stroke: rgba(110,168,255,.55); }
.topo .draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s ease-out forwards; }
.topo .draw:nth-of-type(2) { animation-delay: .15s; } .topo .draw:nth-of-type(3) { animation-delay: .3s; }
.topo .draw:nth-of-type(4) { animation-delay: .45s; } .topo .draw:nth-of-type(5) { animation-delay: .6s; }
.topo .draw:nth-of-type(6) { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.topo .packet { fill: var(--amber); }
.topo .node rect { fill: var(--panel); stroke: var(--rule-2); stroke-width: 1.2; transition: fill .15s, stroke .15s; }
.topo .node text { fill: var(--text); font-family: var(--sans); font-size: 15px; font-weight: 600; }
.topo .node text.sub { fill: var(--muted); font-size: 12.5px; font-weight: 400; }
.topo a.node:hover rect, .topo a.node:focus rect { fill: var(--panel-2); stroke: var(--fibre); }
.topo a.node:focus { outline: none; }
.topo .core circle.ring { fill: none; stroke: var(--amber); stroke-width: 1.5; opacity: .5; }
.topo .core circle.disc { fill: var(--amber); }
.topo .core text { fill: var(--amber-ink); font-family: var(--display); font-weight: 700; font-size: 26px; }
.topo .tag { fill: var(--muted); font-size: 11.5px; font-family: var(--sans); }

/* bandeau de faits */
.facts { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts div { padding: 24px 24px 24px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; }

/* ---------- Sections ---------- */
.block { padding: 88px 0; }
.block + .block { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
.split > header p { color: var(--muted); margin-top: 14px; max-width: 32ch; }
.prose { font-size: 1.08rem; color: var(--soft); max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }

.aims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule); }
.aims h3 { margin-bottom: 8px; }
.aims p { color: var(--muted); margin: 0; }

/* VexCloud */
.vex { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border: 1px solid var(--rule-2); border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--panel) 0%, var(--night-2) 100%); }
.vex .body { padding: 44px; }
.vex .body h2 { margin: 10px 0 16px; }
.vex .kicker { color: var(--amber); font-weight: 600; }
.vex .body p { color: var(--soft); }
.vex .specs { margin: 0; padding: 44px; background: rgba(14,21,38,.5); border-left: 1px solid var(--rule); display: grid; gap: 0; align-content: center; }
.vex .specs div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.vex .specs div:last-child { border-bottom: 0; }
.vex .specs dt { color: var(--muted); font-size: .93rem; }
.vex .specs dd { margin: 0; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 26px; padding: 0; }
.chips li { font-size: .88rem; padding: 5px 12px; border-radius: 999px; background: rgba(110,168,255,.1); color: #cfe0ff; border: 1px solid rgba(110,168,255,.22); }

/* Parcours */
.paths { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; margin-top: 44px; }
.paths h3 { font-size: 1rem; color: var(--muted); font-family: var(--sans); font-weight: 600; margin-bottom: 18px; letter-spacing: 0; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--rule-2); }
.steps > li { position: relative; padding: 0 0 26px 30px; }
.steps > li::before { content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 2px solid var(--rule-2); }
.steps > li.now::before { border-color: var(--amber); background: var(--amber); }
.steps .when { color: var(--muted); font-size: .9rem; }
.steps h4 { font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin: 2px 0 4px; letter-spacing: -.01em; }
.steps h4 a { color: var(--text); }
.steps p, .steps ul { color: var(--soft); margin: 0; }
.steps ul { padding-left: 18px; }

/* Compétences */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.skills h3 { margin-bottom: 14px; }
.skills ul { list-style: none; margin: 0; padding: 0; }
.skills li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--soft); }

/* Contact */
.contact { padding: 96px 0; border-top: 1px solid var(--rule); background: radial-gradient(600px 300px at 20% 100%, rgba(245,181,68,.10), transparent); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin-bottom: 18px; }
.contact p { color: var(--soft); font-size: 1.1rem; max-width: 52ch; margin-bottom: 30px; }

/* ---------- Pages internes ---------- */
.page-head { padding: 72px 0 48px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.page-head p { color: var(--soft); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.page-head .actions { margin-top: 28px; }

.facts-list { margin: 0; }
.facts-list div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; font-weight: 600; }

.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.missions article { padding: 30px; }
.missions article + article { border-left: 1px solid var(--rule); }
.missions h3 { margin-bottom: 10px; }
.missions p { color: var(--muted); }

/* badges de compétences */
.comp { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--soft); white-space: nowrap; }
.comp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.comp.c1 { --c: var(--c1); } .comp.c2 { --c: var(--c2); } .comp.c3 { --c: var(--c3); }
.comp.c4 { --c: var(--c4); } .comp.c5 { --c: var(--c5); } .comp.c6 { --c: var(--c6); }
.comps { display: flex; flex-wrap: wrap; gap: 6px 14px; }

.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px; }
.legend li { display: flex; gap: 10px; align-items: baseline; color: var(--soft); font-size: .95rem; }
.legend .comp { min-width: 34px; }

/* Tableaux */
.table { overflow-x: auto; border: 1px solid var(--rule); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: middle; }
thead th { color: var(--muted); font-weight: 600; font-size: .88rem; background: var(--night-2); }
th.c, td.c { text-align: center; width: 96px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(110,168,255,.05); }
td small { display: block; color: var(--muted); font-size: .88rem; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.dot.c1 { --c: var(--c1); } .dot.c2 { --c: var(--c2); } .dot.c3 { --c: var(--c3); }
.dot.c4 { --c: var(--c4); } .dot.c5 { --c: var(--c5); } .dot.c6 { --c: var(--c6); }
tr.total td { background: var(--night-2); font-weight: 600; }

/* Réalisations : filtres + accordéon */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 20px; }
.filters button { font: inherit; font-size: .92rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule-2); background: transparent; color: var(--soft); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.filters button:hover { border-color: var(--soft); color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--night); border-color: var(--text); }
.filters .n { font-size: .8rem; opacity: .65; }
.count { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }

.works { border-top: 1px solid var(--rule); }
.work { border-bottom: 1px solid var(--rule); }
.work[hidden] { display: none; }
.work { scroll-margin-top: 80px; }
.article { scroll-margin-top: 80px; }
.work summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr auto 28px; gap: 20px; align-items: center; padding: 24px 6px; }
.work summary::-webkit-details-marker { display: none; }
.work summary:hover h3 { color: var(--amber); }
.work .id { font-family: var(--display); font-weight: 600; color: var(--muted); font-size: 1.05rem; }
.work .ctx { color: var(--muted); font-size: .93rem; margin-top: 2px; }
.work h3 { transition: color .15s; }
.work .chev { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-2); display: grid; place-items: center; transition: transform .25s, background .15s; color: var(--soft); font-size: .85rem; }
.work[open] .chev { transform: rotate(45deg); background: var(--panel); }
.work .detail { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 4px 6px 34px 82px; animation: open .3s ease-out; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.work .detail h4 { font-size: .95rem; color: var(--amber); font-weight: 600; margin: 0 0 8px; }
.work .detail p, .work .detail li { color: var(--soft); }
.work .detail ul { margin: 0 0 18px; padding-left: 18px; }
.work .detail li { margin-bottom: 4px; }
.work .detail .chips { margin: 0 0 18px; padding-left: 0; }

/* Veille */
.focus { list-style: none; padding: 0; margin: 0; }
.focus li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.focus li:first-child { border-top: 1px solid var(--rule); }
.articles { display: grid; gap: 0; margin-top: 40px; }
.article { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid var(--rule); }
.article .date { color: var(--amber); font-weight: 600; }
.article .theme { color: var(--muted); font-size: .93rem; }
.article h3 { font-size: 1.5rem; margin-bottom: 14px; }
.article ul { color: var(--soft); padding-left: 18px; margin: 0 0 16px; }
.article .opinion { border-left: 2px solid var(--amber); padding: 4px 0 4px 16px; color: var(--text); margin-bottom: 14px; }
.article .src { color: var(--muted); font-size: .92rem; margin: 0; }
.mini { min-width: 0; margin-bottom: 16px; }
.mini table { min-width: 0; }
.mini th, .mini td { padding: 10px 14px; }

.tools { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; margin-top: 40px; }
.tools h3 { margin-bottom: 12px; }
.tools ul { color: var(--soft); padding-left: 18px; margin: 0 0 16px; }
.rhythm { list-style: none; margin: 0; padding: 0; }
.rhythm li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--soft); }
.rhythm li b { color: var(--text); font-weight: 600; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--rule); padding: 28px 0 36px; color: var(--muted); font-size: .92rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .split, .vex, .paths, .tools { grid-template-columns: 1fr; }
  .vex .specs { border-left: 0; border-top: 1px solid var(--rule); }
  .facts dl { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div { border-top: 1px solid var(--rule); } .facts div:nth-child(-n+2) { border-top: 0; }
  .aims, .skills, .missions { grid-template-columns: 1fr; }
  .missions article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .legend { grid-template-columns: 1fr 1fr; }
  .work .detail { grid-template-columns: 1fr; padding-left: 6px; gap: 0; }
  .article { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px 5% 18px; background: var(--night); border-bottom: 1px solid var(--rule); }
  .nav.open .menu { display: flex; }
  .nav .wrap { gap: 12px; }
  .block { padding: 60px 0; }
  .legend { grid-template-columns: 1fr; }
  .work summary { grid-template-columns: 40px 1fr 28px; }
  .work summary .comps { display: none; }
  .facts-list div, .rhythm li, .vex .specs div { grid-template-columns: 1fr; gap: 2px; }
  .vex .body, .vex .specs { padding: 28px; }
}
@media (max-width: 460px) { .facts dl { grid-template-columns: 1fr; } .facts div { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--rule) !important; } .facts div:first-child { border-top: 0 !important; } .cta-cv { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; transition: none !important; } .topo .draw { stroke-dashoffset: 0; } }
@media print { .nav, .actions, .filters, .burger { display: none; } body { background: #fff; color: #000; } }

/* ---------- Compétences (grille) ---------- */
.skillgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.sk { position: relative; padding: 28px; border-radius: 20px; border: 1px solid var(--rule); background: linear-gradient(160deg, var(--panel) 0%, var(--night-2) 100%); overflow: hidden; transition: border-color .2s; }
.sk:hover { border-color: var(--rule-2); }
.sk h3 { margin-bottom: 16px; }
.sk-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr; gap: 22px; border-color: rgba(245,181,68,.28); background: radial-gradient(500px 260px at 100% 0%, rgba(245,181,68,.10), transparent 70%), linear-gradient(160deg, var(--panel) 0%, var(--night-2) 100%); }
.sk-wide h3 { font-size: 1.5rem; margin-bottom: 12px; }
.sk-wide p { color: var(--soft); margin: 0; max-width: 62ch; }
.sk-note { color: var(--muted) !important; font-size: .85rem; margin-top: -12px !important; text-align: right; max-width: none !important; }
.traffic { width: 100%; height: auto; display: block; }
.traffic .g { stroke: var(--rule); stroke-width: 1; }
.traffic .ax { fill: var(--muted); font-size: 12px; font-family: var(--sans); }
.traffic .tl { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.traffic.anim .tl { stroke-dashoffset: 1; animation: trace 1.8s ease-out forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.traffic .pk { fill: var(--amber); }
.traffic .pk-halo { fill: var(--amber); opacity: .18; animation: halo 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes halo { 50% { transform: scale(1.6); opacity: .05; } }
.traffic .pk-label { fill: var(--text); font-size: 14px; font-weight: 600; font-family: var(--sans); }
.sk-ico { width: 40px; height: 40px; padding: 9px; margin-bottom: 18px; border-radius: 12px; background: rgba(110,168,255,.1); border: 1px solid rgba(110,168,255,.25); fill: none; stroke: var(--fibre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: .9rem; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--rule-2); color: var(--soft); transition: border-color .15s, color .15s; }
.pills li:hover { border-color: var(--fibre); color: var(--text); }
.sk-stats { display: grid; grid-template-columns: 1fr; gap: 0; padding: 8px 28px; }
.sk-stats div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.sk-stats div:last-child { border-bottom: 0; }
.sk-stats .num { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--amber); letter-spacing: -.02em; }
.sk-stats .num.word { font-size: 1.35rem; }
.sk-stats .lab { color: var(--muted); font-size: .92rem; }
@media (max-width: 980px) {
  .skillgrid { grid-template-columns: 1fr 1fr; }
  .sk-wide { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .skillgrid { grid-template-columns: 1fr; } .sk-wide { grid-column: auto; } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 22px 0 0; border-top: 1px solid var(--rule); }
.kpis div { padding: 16px 16px 0 0; }
.kpis div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.kpis dt { color: var(--muted); font-size: .85rem; order: 2; }
.kpis dd { margin: 0 0 2px; font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--amber); letter-spacing: -.02em; }
.kpis div { display: flex; flex-direction: column-reverse; }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } .kpis div, .kpis div + div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--rule); } .kpis dd { font-size: 1.6rem; } }
