/* Pierre Filippi CV landing. Brand tokens from the Full Stack Marketing logo.
   Top bar, hero, proof row and journey are ported from docs/reference/mockup-v5.html. */
:root {
  --navy: #27295C; --purple: #594091; --blue: #3F7FCC; --violet: #6856DE;
  --ink: #1c1d3a; --paper: #f6f6fb; --line: #dcdcec; --muted: #5f6180;
  --grad: linear-gradient(135deg, #3F7FCC 0%, #6856DE 50%, #5A4196 100%);
  --display: "Montserrat", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: 40px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); line-height: 1.55; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--navy); }
ul, ol, dl, dd { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 72px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Shared atoms */
.pill { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--body); padding: 6px 12px; border-radius: 999px; background: #eaf7f0; color: #1d7a4a; margin: 0; align-self: flex-start; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .2); flex: none; }
.btn { display: inline-block; font: 600 14px var(--body); padding: 11px 22px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn.pri { background: var(--navy); color: #fff; }
.btn.pri:hover { background: var(--purple); }
.btn.sec { border-color: var(--navy); color: var(--navy); }
.btn.sec:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: #ecebff; }
.btn.ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.sec-label { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--purple); margin: 0; }
.sec-title { font-family: var(--display); color: var(--navy); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; margin: 4px 0 0; text-wrap: balance; }
.lead { max-width: 65ch; color: var(--muted); font-size: 17px; margin: 12px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chip { font: 500 12px var(--mono); padding: 4px 9px; border-radius: 6px; background: #f0f0f9; color: var(--navy); border: 1px solid #e2e2f2; }
.textlink { font: 600 14px var(--body); color: var(--violet); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.textlink:hover { color: var(--navy); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--pad); }
.mark { font-family: var(--display); font-weight: 800; color: var(--navy); letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.topbar nav ul { display: flex; list-style: none; }
.menu-wide ul { gap: 22px; }
.menu-wide a, .menu-narrow a { font-size: 14px; color: var(--muted); text-decoration: none; }
.menu-wide a:hover, .menu-narrow a:hover { color: var(--navy); }
.menu-narrow { display: none; position: relative; margin-left: auto; }
.menu-narrow summary { list-style: none; cursor: pointer; font: 600 13px var(--body); color: var(--navy); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.menu-narrow summary::-webkit-details-marker { display: none; }
.menu-narrow summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.menu-narrow[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.menu-narrow nav { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(39, 41, 92, .14); padding: 6px; min-width: 180px; }
.menu-narrow nav ul { flex-direction: column; }
.menu-narrow nav a { display: block; padding: 10px 14px; border-radius: 8px; }
.menu-narrow nav a:hover { background: var(--paper); }
.lang ul { gap: 4px; font: 600 12px var(--mono); }
.lang a { display: block; padding: 4px 7px; border-radius: 999px; color: var(--navy); text-decoration: none; }
.lang a:hover { background: #ecebff; }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }

/* Hero */
.hero-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; padding-top: 52px; padding-bottom: 48px; }
.hero-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero h1 { font-family: var(--display); font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; color: var(--navy); text-wrap: balance; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pitch { margin: 0; max-width: 54ch; color: var(--muted); font-size: 17px; }
.ai-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ai-label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--purple); margin-right: 4px; }
.ai-row .chip, .pills .chip { border-radius: 999px; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.mail { font: 500 14px var(--mono); color: var(--muted); margin-left: 6px; text-decoration-color: var(--line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.mail:hover { color: var(--navy); }
.bubble-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.bubble { width: min(300px, 70vw); aspect-ratio: 1; border-radius: 50%; background: var(--grad); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; outline: 6px solid #eeeefa; outline-offset: 6px; }
.bubble img { width: 118%; max-width: none; height: auto; display: block; transform: translateX(4%); }
.who { text-align: center; margin: 0; }
.who b { font-family: var(--display); color: var(--navy); font-size: 18px; display: block; }
.who span { display: block; font-size: 13px; color: var(--muted); }
.who .lang-note { margin-top: 6px; font-style: italic; max-width: 32ch; }
.proof-band { border-top: 1px solid var(--line); }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.proof li { padding: 18px 22px; }
.proof li + li { border-left: 1px solid var(--line); }
.proof li:first-child { padding-left: 0; }
.proof b { font-family: var(--display); color: var(--purple); font-size: 22px; display: block; }
.proof span { font-size: 13px; color: var(--muted); }

/* Journey */
.journey > .wrap { padding-top: 44px; padding-bottom: 48px; display: grid; gap: 18px; }
.journey-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.journey .hint { margin: 0; color: var(--muted); font: 13px var(--mono); }
.journey .hint { display: none; }
.journey-ready .journey .hint { display: block; }
.canvas { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 44px 28px 36px; background: #fff radial-gradient(#d6d7ea 1px, transparent 1px); background-size: 18px 18px; }
.grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 44px; row-gap: 34px; align-items: center; }
#wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.wire { fill: none; stroke: #c9cae3; stroke-width: 2; }
.wire-flow { fill: none; stroke: var(--violet); stroke-width: 2; stroke-dasharray: 4 10; stroke-linecap: round; opacity: .55; animation: flow 1.2s linear infinite; }
.wire.hot { stroke: var(--violet); }
.wire-flow.hot { opacity: 1; }
.port { fill: #fff; stroke: #a9abd3; stroke-width: 2; }
.port.hot { stroke: var(--violet); fill: var(--violet); }
@keyframes flow { to { stroke-dashoffset: -14; } }
.elabel { position: absolute; transform: translate(-50%, -50%); font: 500 11px var(--mono); color: var(--purple); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; z-index: 2; white-space: nowrap; pointer-events: none; }
.lane { grid-column: 3 / 5; grid-row: 1 / 2; align-self: stretch; margin: -22px -16px; border: 1.5px dashed #b9bbe0; border-radius: 14px; background: rgba(104, 86, 222, .04); position: relative; z-index: 0; }
.lane span { position: absolute; top: -11px; left: 14px; font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--purple); padding: 1px 8px; border-radius: 6px; border: 1px solid #d9d9f0; white-space: nowrap; }

.node { position: relative; z-index: 2; display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; box-shadow: 0 4px 14px rgba(39, 41, 92, .07); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.no-js .node { cursor: default; }
.node:hover { border-color: #b8b0ef; }
.node:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.node.on { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(104, 86, 222, .14), 0 8px 20px rgba(39, 41, 92, .10); }
.node .ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.node .ic svg { width: 18px; height: 18px; }
.node small { display: block; font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.node b { display: block; font-family: var(--display); color: var(--navy); font-size: 13.5px; line-height: 1.2; margin-top: 1px; }
.node .meta { display: block; font-size: 12px; color: var(--muted); }
.t-entry .ic { background: var(--blue); }
.t-step .ic { background: var(--violet); }
.t-input .ic { background: #fff; color: var(--purple); border: 1.5px dashed var(--purple); }
.t-input { border-style: dashed; }
.t-goal { background: var(--grad); border-color: transparent; color: #fff; }
.t-goal .ic { background: rgba(255, 255, 255, .18); }
.t-goal small, .t-goal b, .t-goal .meta { color: #fff; }
.t-goal.on { border-color: #fff; }

#n-design { grid-column: 1; grid-row: 1; }
#n-perf { grid-column: 2; grid-row: 1; }
#n-growth { grid-column: 3; grid-row: 1; }
#n-crm { grid-column: 4; grid-row: 1; }
#n-goal { grid-column: 5; grid-row: 1; }
#n-trail { grid-column: 4 / 6; grid-row: 2; justify-self: center; width: min(100%, 230px); }

/* Step inspector (and the no-JS step panels, same markup) */
.inspector { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 20px rgba(39, 41, 92, .06); overflow: hidden; }
.insp-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(63, 127, 204, .07), rgba(104, 86, 222, .07)); }
.insp-head .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.insp-head .ic svg { width: 16px; height: 16px; }
.ic-entry { background: var(--blue); }
.ic-step { background: var(--violet); }
.ic-input { background: var(--purple); }
.ic-goal { background: var(--grad); }
.insp-head h3 { font-family: var(--display); color: var(--navy); font-size: 17px; line-height: 1.25; }
.insp-head .where { color: var(--muted); font-size: 14px; }
.insp-head .when { margin-left: auto; font: 500 12px var(--mono); color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.insp-body { display: grid; grid-template-columns: 1.6fr 1fr; }
.insp-body > div { padding: 16px 18px; }
.insp-body > div + div { border-left: 1px solid var(--line); }
.insp-body h4 { margin: 0 0 8px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--purple); }
.insp-body ul:not(.chips) { padding-left: 18px; display: grid; gap: 4px; max-width: 65ch; }
.steps-data { display: grid; gap: 14px; }
/* The interactive canvas appears only once journey.js has run; until then (or if it fails) the plain step lists stay visible. */
.journey-ready .steps-data { display: none; }
html:not(.journey-ready) #insp, html:not(.journey-ready) .canvas { display: none; }

/* Projects: case cards drawn as small flows (problem -> built -> result) */
.projects > .wrap { padding-top: 64px; padding-bottom: 64px; }
.cases { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.case { padding: 28px 32px 32px 0; border-bottom: 1px solid var(--line); }
.case:nth-child(even) { padding: 28px 0 32px 32px; border-left: 1px solid var(--line); }
.case-no { margin: 0; font: 600 12px var(--mono); color: var(--violet); letter-spacing: .08em; }
.case h3 { font-family: var(--display); color: var(--navy); font-size: 19px; line-height: 1.25; margin: 6px 0 18px; text-wrap: balance; }
.flow { list-style: none; position: relative; display: grid; gap: 14px; }
.flow::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 14px; border-left: 2px dotted #c9cae3; }
.flow li { position: relative; padding-left: 26px; max-width: 60ch; }
.flow li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #a9abd3; }
.flow p { margin: 2px 0 0; color: var(--ink); }
.flow-label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.flow .flow-result::before { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 0 4px rgba(104, 86, 222, .16); }
.flow .flow-result .flow-label { color: var(--violet); }
.flow .flow-result p { font-weight: 600; color: var(--navy); }

/* AI in my workflow */
.ai > .wrap { padding-top: 64px; padding-bottom: 64px; }
.ai-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.ai-items { list-style: none; margin-top: 28px; counter-reset: ai; }
.ai-items li { counter-increment: ai; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; padding: 18px 0; border-top: 1px solid var(--line); }
.ai-items li::before { content: counter(ai, decimal-leading-zero); grid-row: 1 / 3; font: 600 13px var(--mono); color: var(--violet); padding-top: 3px; }
.ai-items h3 { font-family: var(--display); color: var(--navy); font-size: 17px; }
.ai-items p { margin: 4px 0 0; max-width: 60ch; }
.side-project { position: relative; overflow: hidden; background: var(--navy); color: #e9e9fb; border-radius: 18px; padding: 30px 30px 32px; display: grid; gap: 12px; justify-items: start; }
.side-project::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: var(--grad); opacity: .55; }
.side-project > * { position: relative; z-index: 1; }
.side-tag { margin: 0; font: 500 12px var(--mono); letter-spacing: .06em; color: #c9c6ff; }
.side-project h3 { font-family: var(--display); font-size: 26px; color: #fff; }
.side-project p { margin: 0; }
.side-project .btn { margin-top: 8px; }
.side-project :focus-visible { outline-color: #fff; }

/* Salesforce path: a progress track, then the Eloqua -> SFMC mapping */
.sf > .wrap { padding-top: 64px; padding-bottom: 64px; }
.track { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; position: relative; }
.track::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; border-top: 2px dashed #b9bbe0; }
.stop { position: relative; padding-top: 30px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.stop::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px dashed var(--purple); }
.stop.done::before { background: var(--grad); border: 0; box-shadow: 0 0 0 4px rgba(104, 86, 222, .16); }
.stop-tag { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--purple); border: 1px dashed #b9bbe0; border-radius: 999px; padding: 2px 9px; }
.stop.done .stop-tag { border-style: solid; }
.stop-intro { margin: 0; font-size: 14px; color: var(--muted); }
.stop-main { margin: 0; font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 17px; line-height: 1.3; }
.mapping { margin-top: 48px; max-width: 760px; }
.mapping h3 { font-family: var(--display); color: var(--navy); font-size: 19px; margin-bottom: 14px; }
.mapping table { width: 100%; border-collapse: collapse; }
.mapping th { text-align: left; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--purple); padding: 0 12px 10px 0; border-bottom: 2px solid var(--navy); }
.mapping td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mapping td:last-child { font-weight: 600; color: var(--navy); }
.mapping th:nth-child(2), .mapping td.arrow { width: 40px; text-align: center; color: var(--violet); font-weight: 600; }
.mapping th, .mapping td { overflow-wrap: anywhere; }

/* Skills & languages */
.skills > .wrap { padding-top: 64px; padding-bottom: 64px; }
.skill-groups { margin-top: 28px; display: grid; }
.skill-groups > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: center; }
.skill-groups > div:last-child { border-bottom: 1px solid var(--line); }
.skill-groups dt { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--purple); }
.pills .chip { background: #fff; padding: 5px 12px; font-size: 12.5px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.facts h3 { font-family: var(--display); color: var(--navy); font-size: 17px; margin-bottom: 12px; }
.kv > div { padding: 8px 0; border-top: 1px solid var(--line); }
.kv dt { font-weight: 600; color: var(--navy); }
.kv dd { color: var(--muted); font-size: 14px; }
.plain { list-style: none; }
.plain li { padding: 8px 0; border-top: 1px solid var(--line); display: grid; }
.plain b { color: var(--navy); }
.plain span { color: var(--muted); font-size: 14px; }
.plain .yr { font: 500 12px var(--mono); color: var(--purple); }

/* Contact */
.contact { background: var(--navy); color: #e9e9fb; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: var(--grad); opacity: .35; }
.contact > .wrap { position: relative; padding-top: 72px; padding-bottom: 72px; }
.contact .sec-title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.contact .lead { color: #cfcff0; }
.contact .ctas { margin-top: 24px; }
.contact :focus-visible { outline-color: #fff; }
.contact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-list dt { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #b9b6f5; }
.contact-list a { color: #fff; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration-color: #fff; }
.foot { background: #1d1f49; color: #b7b8d8; font: 13px var(--mono); }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.foot a { color: #fff; }
.foot :focus-visible { outline-color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .grid { column-gap: 30px; }
  .node .ic { display: none; }
  .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  :root { --pad: 20px; }
  .menu-wide { display: none; }
  .menu-narrow { display: block; }
  .hero-in { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 32px; }
  .bubble-wrap { order: -1; gap: 10px; }
  .bubble { width: min(200px, 55vw); outline-width: 4px; outline-offset: 4px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof li, .proof li:first-child { padding: 16px 0 16px 16px; }
  .proof li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .journey > .wrap { padding-left: 16px; padding-right: 16px; }
  .canvas { padding: 40px 18px; }
  .grid { grid-template-columns: 1fr; row-gap: 64px; }
  .node { padding: 14px 16px; gap: 14px; }
  .node .ic { display: grid; width: 40px; height: 40px; }
  .node b { font-size: 15.5px; }
  .node .meta { font-size: 13px; }
  #n-design, #n-perf, #n-growth, #n-crm, #n-trail, #n-goal { grid-column: 1; justify-self: center; width: min(100%, 380px); }
  #n-design { grid-row: 1; } #n-perf { grid-row: 2; } #n-growth { grid-row: 3; } #n-crm { grid-row: 4; } #n-trail { grid-row: 5; } #n-goal { grid-row: 6; }
  .lane { grid-column: 1; grid-row: 3 / 5; margin: -42px -10px -30px; }
  .lane span { top: 18px; } /* inside the lane, below the year pill that sits on its top border */
  .insp-head { flex-wrap: wrap; padding: 16px 18px; }
  .insp-body { grid-template-columns: 1fr; }
  .insp-body > div { padding: 18px; }
  .insp-body ul:not(.chips) { gap: 8px; }
  .insp-body > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .cases { grid-template-columns: 1fr; }
  .case, .case:nth-child(even) { padding: 28px 0; border-left: 0; }
  .ai-grid { grid-template-columns: 1fr; gap: 36px; }
  .track { grid-template-columns: 1fr; gap: 28px; }
  .track::before { left: 7px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 2px dashed #b9bbe0; }
  .stop { padding: 0 0 0 32px; }
  .skill-groups > div { grid-template-columns: 1fr; gap: 8px; }
  .facts { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .contact-list { grid-template-columns: 1fr; }
  .mail { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 420px) {
  .proof { grid-template-columns: 1fr; }
  .proof li, .proof li:first-child { padding: 14px 0; }
  .proof li + li { border-left: 0; border-top: 1px solid var(--line); }
  .topbar-in { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .mark { font-size: 14px; }
  .menu-narrow summary { padding: 6px 10px; }
  .menu-narrow summary::after { margin-left: 6px; }
  .lang ul { gap: 2px; }
  .lang a { padding: 4px 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .wire-flow { animation: none; }
  .node, .btn { transition: none; }
}
