@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&display=swap");

/* Palette: a relief map at dusk. Every section owns a hypsometric tint. */
:root {
  --lx-night: #10163f;
  --lx-night-2: #1a2259;
  --lx-glacier: #e8eff3;
  --lx-snow: #f7fafb;
  --lx-ink: #141a42;
  --lx-muted: #535b84;
  --lx-line: #c6d2dc;
  --lx-bg: var(--lx-glacier);
  --lx-text: var(--lx-ink);
  --lx-code: var(--lx-night);
  --lx-tint: #6d4dff;
  --lx-deep: #4a2fd0;
  --lx-display: "Archivo", "Arial Narrow", sans-serif;
  --lx-serif: "Newsreader", Georgia, serif;
  --lx-gutter: clamp(16px, 4vw, 64px);
}
:root:not([data-theme="light"]) { color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lx-bg: var(--lx-night);
    --lx-text: var(--lx-glacier);
    --lx-muted: #a7afd6;
    --lx-line: #333c7a;
    --lx-snow: var(--lx-night-2);
    --lx-code: var(--lx-night-2);
  }
}
[data-rubric="transition-ia"] { --lx-tint: #8467ff; --lx-deep: #4a2fd0; }
[data-rubric="mes-projets"] { --lx-tint: #14c9ac; --lx-deep: #00776a; }
[data-rubric="passions"] { --lx-tint: #ff6b3d; --lx-deep: #c23a10; }
[data-rubric="news-tech-ia"] { --lx-tint: #45a8ff; --lx-deep: #0b60c0; }
[data-rubric="edito"] { --lx-tint: #ffc53d; --lx-deep: #805a00; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-rubric] { --lx-deep: var(--lx-tint); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body.lx { margin: 0; background: var(--lx-bg); color: var(--lx-text); font: 400 1.0625rem/1.55 var(--lx-display); overflow-x: clip; -webkit-font-smoothing: antialiased; }
.lx img { max-width: 100%; height: auto; display: block; }
.lx a { color: inherit; }
.lx :focus-visible { outline: 3px solid var(--lx-tint); outline-offset: 3px; border-radius: 2px; }
.lx h1, .lx h2, .lx h3 { font-family: var(--lx-display); margin: 0; text-wrap: balance; }

/* Header */
.lx-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; min-height: 68px; padding: 0 var(--lx-gutter); background: var(--lx-night); color: var(--lx-glacier); }
.lx-header { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.lx-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .lx-header { transition: none; } }
.lx-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 112%; white-space: nowrap; }
.lx-brand svg { width: 30px; height: 20px; fill: #ff6b3d; }
.lx-nav { margin-left: auto; }
.lx-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); list-style: none; margin: 0; padding: 0; }
.lx-nav a { position: relative; padding: 6px 0; text-decoration: none; font-size: .95rem; font-weight: 500; }
.lx-nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: #ff6b3d; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.lx-nav a:hover::after, .lx-nav a[aria-current="page"]::after { transform: scaleX(1); }
.lx-header__tools { display: flex; align-items: center; gap: 6px; }
.lx-iconbtn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: inherit; cursor: pointer; }
.lx-iconbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lx-burger { display: none; }
@media (max-width: 960px) {
  .lx-burger { display: grid; }
  .lx-header__tools { margin-left: auto; }
  .lx-nav { position: fixed; inset: 68px 0 0; margin: 0; padding: 32px var(--lx-gutter); background: var(--lx-night); visibility: hidden; opacity: 0; transition: opacity .2s; overflow-y: auto; }
  .lx-nav.is-open { visibility: visible; opacity: 1; }
  .lx-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .lx-nav a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: 110%; line-height: 1.1; }
}

/* Hero */
.lx-hero { position: relative; isolation: isolate; height: calc(100svh - 68px); min-height: 560px; max-height: 1100px; overflow: hidden; background: var(--lx-night); color: var(--lx-snow); }
.lx-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.lx-hero__canvas--front { z-index: 3; pointer-events: none; }
.lx-hero__copy { position: absolute; inset: auto 0 41%; z-index: 1; padding: 0 var(--lx-gutter); }
.lx-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; z-index: 4; pointer-events: none; background: linear-gradient(transparent, var(--lx-night)); }
.lx-hero__tagline { max-width: 34ch; margin: 0 0 clamp(16px, 3vh, 32px); font: italic 400 clamp(1.15rem, 1.7vw, 1.6rem)/1.3 var(--lx-serif); color: #cdd6f4; }
.lx-hero__name { font-size: min(15.4vw, 24vh, 22rem); font-weight: 900; font-stretch: 125%; line-height: .84; letter-spacing: -.035em; color: var(--lx-glacier); }
.lx-hero__name span { display: block; }
.lx-hero__name span:last-child { padding-left: .62em; }
.lx-hero__static { position: absolute; inset: auto 0 0; width: 100%; height: 42%; z-index: 2; }
.lx-hero__static path { fill: var(--lx-night-2); }
.lx-hero__static path:nth-child(2) { fill: #3b2a96; }
.lx-hero__static path:nth-child(3) { fill: #ff6b3d; }
.lx-hero.is-live .lx-hero__static { display: none; }
@media (max-width: 640px) {
  .lx-hero { height: min(calc(100svh - 68px), 150vw); }
  .lx-hero__copy { inset: 20px 0 auto; }
  .lx-hero__name { font-size: 16vw; }
  .lx-hero__name span:last-child { padding-left: 0; }
}

/* Panorama: the orientation table */
.lx-pano { position: relative; background: var(--lx-night); color: var(--lx-glacier); padding-top: clamp(48px, 8vw, 110px); }
.lx-pano__title { padding: 0 var(--lx-gutter); font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; }
.lx-pano__stage { position: relative; margin-top: clamp(60px, 8vw, 110px); aspect-ratio: 1600 / 620; }
.lx-pano__stage > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.lx-peak { transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.lx-peak__lit { fill: var(--lx-tint); }
.lx-peak__shade { fill: var(--lx-night); opacity: .3; }
.lx-pano:has([data-label="transition-ia"] a:hover) [data-peak="transition-ia"],
.lx-pano:has([data-label="mes-projets"] a:hover) [data-peak="mes-projets"],
.lx-pano:has([data-label="passions"] a:hover) [data-peak="passions"],
.lx-pano:has([data-label="news-tech-ia"] a:hover) [data-peak="news-tech-ia"],
.lx-pano:has([data-label="edito"] a:hover) [data-peak="edito"],
a:hover > .lx-peak { transform: translateY(-16px); }
.lx-pano__labels { list-style: none; margin: 0; padding: 0; }
.lx-pano__labels li { position: absolute; width: max-content; max-width: 19ch; transform: translate(-50%, calc(-100% - 14px)); text-align: center; }
.lx-pano__labels li::after { content: ""; display: block; width: 2px; height: 12px; margin: 6px auto 0; background: var(--lx-tint); }
.lx-pano__labels a { display: block; text-decoration: none; }
.lx-pano__labels strong { display: block; font-size: clamp(1.05rem, 1.7vw, 1.7rem); font-weight: 800; font-stretch: 108%; line-height: 1.05; }
.lx-pano__labels span { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.25; color: #c3cbea; }
.lx-pano__labels a:hover strong { color: var(--lx-tint); }
@media (max-width: 860px) {
  .lx-pano__stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .lx-pano__stage > svg { position: relative; inset: auto; order: 2; aspect-ratio: 1600 / 620; height: auto; margin-top: 8px; }
  .lx-pano__labels { padding: 0 var(--lx-gutter); }
  .lx-pano__labels li { position: static; transform: none; width: auto; max-width: none; text-align: left; border-left: 6px solid var(--lx-tint); margin-bottom: 18px; padding-left: 14px; left: auto !important; top: auto !important; }
  .lx-pano__labels li::after { display: none; }
  .lx-pano__labels strong { font-size: 1.5rem; }
  .lx-pano__labels span { font-size: 1rem; }
}

/* Home: one block per section */
.lx-shelves { display: grid; gap: clamp(72px, 9vw, 128px); max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--lx-gutter) clamp(110px, 12vw, 170px); }
.lx-shelf__head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; padding-bottom: 20px; border-bottom: 2px solid var(--lx-line); }
.lx-shelf__head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: clamp(80px, 12vw, 160px); height: 2px; background: var(--lx-tint); }
.lx-shelf__title { display: flex; align-items: center; gap: .32em; font-size: clamp(2.1rem, 4.4vw, 3.8rem); font-weight: 900; font-stretch: 118%; letter-spacing: -.028em; line-height: 1; }
.lx-shelf__title svg { flex: none; width: .78em; height: .5em; fill: var(--lx-tint); }
.lx-shelf__title a { text-decoration: none; transition: color .2s; }
.lx-shelf__title a:hover { color: var(--lx-deep); }
.lx-shelf__tag { margin: 10px 0 0; font: italic 400 clamp(1.1rem, 1.5vw, 1.3rem)/1.35 var(--lx-serif); color: var(--lx-muted); }
.lx-shelf__all { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; font-weight: 700; white-space: nowrap; text-decoration: none; color: var(--lx-deep) !important; }
.lx-shelf__all svg, .lx-feature__cta svg { flex: none; }
.lx-shelf__all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.lx-shelf__all:hover svg { transform: translateX(4px); }
.lx-shelf__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(28px, 3.5vw, 44px); }
.lx-shelf__side { display: grid; align-content: start; gap: clamp(22px, 2.6vw, 34px); }
.lx-shelf__side .lx-card + .lx-card { padding-top: clamp(22px, 2.6vw, 34px); border-top: 1px solid var(--lx-line); }
.lx-card { position: relative; }
.lx-card__art { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--lx-tint); color: var(--lx-night); clip-path: polygon(0 6%, 14% 0, 34% 4%, 57% 0, 78% 4%, 100% 0, 100% 100%, 0 100%); }
.lx-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.lx-card:hover .lx-card__art img { transform: scale(1.04); }
.lx-card__meta { margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--lx-muted); }
.lx-card h3 { font-size: 1.3rem; font-weight: 780; font-stretch: 104%; line-height: 1.14; letter-spacing: -.008em; }
.lx-card h3 a { text-decoration: none; background: linear-gradient(var(--lx-tint), var(--lx-tint)) 0 100% / 0 3px no-repeat; transition: background-size .3s; }
.lx-card h3 a:hover { background-size: 100% 3px; }
.lx-card--lead .lx-card__text { margin-top: 22px; }
.lx-card--lead h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-weight: 850; font-stretch: 108%; line-height: 1.04; letter-spacing: -.015em; }
.lx-card__excerpt { max-width: 52ch; margin: 12px 0 0; font: 400 1.18rem/1.45 var(--lx-serif); color: var(--lx-muted); }
.lx-card:not(.lx-card--lead) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: center; }
.lx-card:not(.lx-card--lead) .lx-card__art { aspect-ratio: 3 / 2; clip-path: polygon(0 8%, 30% 0, 62% 6%, 100% 0, 100% 100%, 0 100%); }
.lx-shelf__grid--solo { grid-template-columns: minmax(0, 1fr); }
.lx-shelf__grid--solo .lx-card--lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.lx-shelf__grid--solo .lx-card--lead .lx-card__text { margin-top: 0; }
.lx-shelves__more { margin: 0; padding-top: 28px; border-top: 2px solid var(--lx-line); text-align: center; }
.lx-shelves__more a { display: inline-block; padding: 14px 26px; border: 2px solid currentColor; text-decoration: none; transition: background-color .2s, color .2s; }
.lx-shelves__more a:hover { background: var(--lx-text); color: var(--lx-bg); }

/* Home: "Mes projets", one round logo per project */
.lx-projects { position: relative; isolation: isolate; overflow: hidden; margin: 0 calc(50% - 50vw); padding: clamp(110px, 12vw, 170px) 0; background: var(--lx-night); color: var(--lx-glacier); }
.lx-projects::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 85% 30%, color-mix(in srgb, var(--lx-tint) 22%, transparent), transparent 70%), radial-gradient(50% 70% at 5% 100%, color-mix(in srgb, var(--lx-tint) 14%, transparent), transparent 70%); }
.lx-projects__art { position: absolute; inset: 0; z-index: -2; color: var(--lx-tint); opacity: .14; }
.lx-projects__edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(44px, 7vw, 90px); }
.lx-projects__edge--top { top: -1px; bottom: auto; transform: rotate(180deg); }
.lx-projects__edge path { fill: var(--lx-bg); }
.lx-projects__inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--lx-gutter); }
.lx-projects .lx-shelf__head { border-color: rgba(232, 239, 243, .18); }
.lx-projects .lx-shelf__tag { color: #c3cbea; }
.lx-projects .lx-shelf__title a:hover, .lx-projects .lx-shelf__all { color: var(--lx-tint) !important; }
.lx-projects__list { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); margin: clamp(44px, 5vw, 72px) 0 0; padding: 0; list-style: none; }
.lx-projects__list a { display: flex; flex-direction: column; align-items: center; width: clamp(132px, 13vw, 176px); text-align: center; text-decoration: none; }
.lx-projects__logo { display: grid; place-items: center; width: clamp(112px, 10.5vw, 148px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px var(--lx-night), 0 0 0 7px var(--lx-tint), 0 22px 44px rgba(0, 0, 0, .38); transition: transform .4s cubic-bezier(.2, .9, .3, 1.2), box-shadow .3s; }
.lx-projects__logo img { width: 100%; height: 100%; object-fit: cover; }
.lx-projects__logo:not(:has(img)) { background: linear-gradient(140deg, var(--lx-tint), var(--lx-deep)); }
.lx-projects__logo > span { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 900; font-stretch: 120%; letter-spacing: -.02em; color: var(--lx-night); }
.lx-projects__list a:hover .lx-projects__logo, .lx-projects__list a:focus-visible .lx-projects__logo { transform: translateY(-8px); box-shadow: 0 0 0 5px var(--lx-night), 0 0 0 8px var(--lx-tint), 0 0 0 18px color-mix(in srgb, var(--lx-tint) 18%, transparent), 0 28px 50px rgba(0, 0, 0, .45); }
.lx-projects__name { margin-top: 24px; font-size: 1.25rem; font-weight: 800; font-stretch: 108%; line-height: 1.15; }
.lx-projects__list a:hover .lx-projects__name { color: var(--lx-tint); }
.lx-projects__tag { margin-top: 6px; font: italic 400 1rem/1.35 var(--lx-serif); color: #c3cbea; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lx-projects { background: var(--lx-night-2); }
  :root:not([data-theme="light"]) .lx-projects__logo { box-shadow: 0 0 0 5px var(--lx-night-2), 0 0 0 7px var(--lx-tint), 0 22px 44px rgba(0, 0, 0, .38); }
}
:root[data-theme="dark"] .lx-projects { background: var(--lx-night-2); }

/* Home ends with the orientation table, straight into the footer */
.lx-pano__edge { position: absolute; left: 0; top: -1px; width: 100%; height: clamp(44px, 7vw, 90px); transform: rotate(180deg); }
.lx-pano__edge path { fill: var(--lx-bg); }
main:has(> .lx-pano:last-child) ~ .lx-footer { margin-top: 0; }
main:has(> .lx-pano:last-child) ~ .lx-footer .lx-footer__ridge { display: none; }

@media (max-width: 760px) {
  .lx-shelf__grid, .lx-shelf__grid--solo .lx-card--lead { grid-template-columns: minmax(0, 1fr); }
  .lx-shelf__grid--solo .lx-card--lead .lx-card__text { margin-top: 0; }
  .lx-card:not(.lx-card--lead) { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
  .lx-card:not(.lx-card--lead) .lx-card__art { aspect-ratio: 1; }
  .lx-card h3 { font-size: 1.12rem; }
  .lx-projects__list { justify-content: center; gap: 36px 24px; }
  .lx-projects__list a { width: 140px; }
}

/* Sections and trail */
.lx-section { max-width: 1320px; margin: 0 auto; padding: clamp(64px, 9vw, 130px) var(--lx-gutter) clamp(48px, 7vw, 90px); }
.lx-section--flush { padding-top: clamp(32px, 5vw, 64px); }
.lx-section__title { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; margin-bottom: clamp(36px, 5vw, 72px) !important; }
.lx-empty { font: italic 1.4rem/1.4 var(--lx-serif); color: var(--lx-muted); }
.lx-trail { position: relative; display: grid; gap: clamp(48px, 7vw, 104px); }
.lx-trail__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.lx-trail__path path { fill: none; stroke: #ff6b3d; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lx-way { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: min(100%, 980px); }
.lx-way:nth-child(even of .lx-way) { justify-self: end; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.lx-way:nth-child(even of .lx-way) .lx-way__art { order: 2; }
.lx-way--first { width: 100%; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lx-way__pin { position: absolute; left: -11px; top: 50%; width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--lx-bg); background: var(--lx-tint); z-index: 2; }
.lx-way:nth-child(even of .lx-way) .lx-way__pin { left: auto; right: -11px; }
.lx-way__art { position: relative; display: block; aspect-ratio: 8 / 5; overflow: hidden; background: var(--lx-tint); color: var(--lx-night); clip-path: polygon(0 7%, 14% 0, 34% 5%, 57% 0, 78% 4%, 100% 0, 100% 100%, 0 100%); transition: clip-path .4s ease; }
.lx-way:nth-child(3n) .lx-way__art { clip-path: polygon(0 0, 22% 5%, 41% 0, 66% 6%, 84% 1%, 100% 6%, 100% 100%, 0 100%); }
.lx-way__art:hover { clip-path: polygon(0 0, 14% 0, 34% 0, 57% 0, 78% 0, 100% 0, 100% 100%, 0 100%); }
.lx-way__art img { width: 100%; height: 100%; object-fit: cover; }
.lx-topo { display: block; width: 100%; height: 100%; }
.lx-topo path { fill: none; stroke: currentColor; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lx-topo__minor { stroke-width: .8; opacity: .55; }
.lx-topo__major { stroke-width: 1.6; }
.lx-way__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; font-size: .95rem; color: var(--lx-muted); }
.lx-way__meta a { color: var(--lx-deep); font-weight: 700; text-decoration: none; }
.lx-way__meta a:hover { text-decoration: underline; }
.lx-way h3 { font-size: clamp(1.55rem, 2.7vw, 2.5rem); font-weight: 800; font-stretch: 104%; line-height: 1.06; letter-spacing: -.012em; }
.lx-way--first h3 { font-size: clamp(2rem, 4vw, 3.8rem); font-stretch: 112%; line-height: 1; }
.lx-way h3 a { text-decoration: none; background: linear-gradient(var(--lx-tint), var(--lx-tint)) 0 100% / 0 3px no-repeat; transition: background-size .3s; }
.lx-way h3 a:hover { background-size: 100% 3px; }
.lx-way__excerpt { margin: 12px 0 0; font: 400 1.2rem/1.45 var(--lx-serif); color: var(--lx-muted); max-width: 46ch; }
.lx-more { margin: clamp(40px, 5vw, 64px) 0 0; font-weight: 700; }
@media (max-width: 760px) {
  .lx-trail { padding-left: 22px; }
  .lx-way, .lx-way--first, .lx-way:nth-child(even of .lx-way) { grid-template-columns: minmax(0, 1fr); gap: 16px; width: 100%; }
  .lx-way:nth-child(even of .lx-way) .lx-way__art { order: 0; }
  .lx-way__pin, .lx-way:nth-child(even of .lx-way) .lx-way__pin { left: -33px; right: auto; top: 12px; }
}

/* Color bands: top of article, category and author pages */
.lx-band { position: relative; overflow: hidden; isolation: isolate; background: var(--lx-tint); color: var(--lx-night); }
.lx-article:not([data-rubric]) .lx-band, .lx-band--author { background: var(--lx-night-2); color: var(--lx-glacier); }
.lx-band__art { position: absolute; inset: 0; z-index: -1; opacity: .5; transform-origin: 50% 0; }
.lx-band--category .lx-band__art, .lx-band--category .lx-band__inner { will-change: transform; }
.lx-band--photo { display: flex; align-items: flex-end; min-height: min(88vh, 860px); background: var(--lx-night) !important; color: #fff !important; }
.lx-band--photo .lx-band__art { opacity: 1; will-change: transform; }
.lx-band--photo .lx-band__inner { width: 100%; will-change: transform; }
.lx-band__photo img { width: 100%; height: 100%; object-fit: cover; }
/* "photo-shade" field: an extra veil over light images (the file itself is never darkened). */
.lx-band--photo[data-shade] .lx-band__photo::before { content: ""; position: absolute; inset: 0; background: rgba(16, 22, 63, .4); }
/* 3D header ("header-3d" field): the scene fills the photo frame under the veils; the text lets the pointer through to it. */
.lx-band__photo agent3d-scene { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }
.lx-band__photo::before, .lx-band__photo::after { z-index: 1; pointer-events: none; }
.lx-band--3d .lx-band__inner { pointer-events: none; }
.lx-band--3d .lx-band__inner a, .lx-band--3d .lx-band__inner button { pointer-events: auto; }
/* Readability veil, darker where the text sits (left on wide screens, bottom on phones); the image itself stays untouched. */
.lx-band__photo::after { content: ""; position: absolute; inset: 0; }
.lx-band--photo h1, .lx-band--photo .lx-band__lead, .lx-band--photo .lx-band__count { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.lx-band--photo .lx-band__count a { color: inherit; }
.lx-band__inner { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--lx-gutter) clamp(80px, 11vw, 150px); }
.lx-band h1 { font-weight: 900; letter-spacing: -.025em; line-height: .96; }
/* Same size as the home's featured title (.lx-feature__title) from desktop up; 2.5rem floor keeps phones unchanged. */
.lx-band--article h1 { max-width: 18ch; font-size: clamp(2.5rem, 5.2vw, 5rem); font-stretch: 112%; line-height: .98; }
.lx-band--category h1 { font-size: clamp(3.4rem, 13.5vw, 13rem); font-stretch: 125%; line-height: .88; letter-spacing: -.035em; }
.lx-band--author h1 { font-size: clamp(3rem, 10vw, 9rem); font-stretch: 120%; }
.lx-band__rubric { display: inline-block; margin-bottom: 18px; padding: 5px 12px 6px; background: var(--lx-night); color: var(--lx-glacier) !important; font-weight: 700; text-decoration: none; }
.lx-band__lead { max-width: 40ch; margin: 30px 0 0; font: 500 clamp(1.3rem, 2.2vw, 1.85rem)/1.25 var(--lx-serif); }
.lx-band__bio { max-width: 58ch; margin: 14px 0 0; font: 400 1.25rem/1.45 var(--lx-serif); }
.lx-band__count { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 22px 0 0; font-weight: 600; }
.lx-band__edge { position: absolute; inset: auto 0 -1px; width: 100%; height: clamp(44px, 7vw, 90px); }
.lx-band__edge path { fill: var(--lx-bg); }
/* Section pages: the latest post takes the band, its image behind the text */
.lx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lx-brand-h { display: contents; font: inherit; }
.lx-band--feature { display: flex; align-items: flex-end; min-height: min(84vh, 800px); }
.lx-band--feature .lx-band__inner { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(84px, 9vw, 130px); }
.lx-band--feature .lx-band__inner { width: 100%; }
.lx-band--photo .lx-band__photo::after { background:
  radial-gradient(120% 90% at 0% 100%, color-mix(in srgb, var(--lx-tint) 26%, transparent) 0%, transparent 55%),
  linear-gradient(90deg, rgba(16,22,63,.9) 0%, rgba(16,22,63,.66) 42%, rgba(16,22,63,.12) 78%),
  linear-gradient(180deg, rgba(16,22,63,.35) 0%, rgba(16,22,63,0) 30%, rgba(16,22,63,.55) 100%); }
.lx-feature { max-width: 980px; }
.lx-feature__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lx-feature__kicker > span:last-child { display: inline-flex; align-items: center; gap: 14px; }
.lx-feature__kicker > span:last-child::before { content: ""; width: 34px; height: 2px; background: var(--lx-tint); }
.lx-feature__rubric { padding: 6px 12px 6px; background: var(--lx-tint); color: var(--lx-night); letter-spacing: .1em; }
.lx-feature__title { max-width: 18ch; margin-top: clamp(18px, 2.4vw, 28px) !important; font-size: clamp(2.3rem, 5.2vw, 5rem); font-weight: 900; font-stretch: 112%; line-height: .98; letter-spacing: -.025em; }
.lx-feature__title a { text-decoration: none; background: linear-gradient(var(--lx-tint), var(--lx-tint)) 0 96% / 0 .07em no-repeat; transition: background-size .45s cubic-bezier(.2, .7, .2, 1); }
.lx-feature__title a:hover, .lx-feature__title a:focus-visible { background-size: 100% .07em; }
.lx-band--feature .lx-band__lead { max-width: 46ch; margin-top: clamp(16px, 2vw, 24px); font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.lx-section__title--small { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.lx-feature__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(26px, 3.4vw, 40px); }
.lx-feature__foot .lx-band__count { margin: 0; opacity: .9; }
.lx-feature__cta { display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px 15px 26px; background: var(--lx-tint); color: var(--lx-night) !important; font-weight: 800; font-stretch: 108%; text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% 72%, calc(100% - 12px) 100%, 0 100%); transition: background-color .2s; }
.lx-feature__cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.lx-feature__cta:hover { background: #fff; }
.lx-feature__cta:hover svg { transform: translateX(4px); }
.lx-band--feature:not(.lx-band--photo) .lx-feature__rubric, .lx-band--feature:not(.lx-band--photo) .lx-feature__cta { background: var(--lx-night); color: var(--lx-glacier) !important; }
.lx-band--feature:not(.lx-band--photo) .lx-feature__kicker > span:last-child::before { background: var(--lx-night); }
.lx-section__title span { margin-left: .4em; font-size: .38em; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--lx-muted); vertical-align: middle; }
@media (max-width: 760px) {
  .lx-band--feature { min-height: min(82vh, 720px); }
  .lx-band--photo .lx-band__photo::after { background:
    radial-gradient(140% 70% at 0% 100%, color-mix(in srgb, var(--lx-tint) 24%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, rgba(16,22,63,.3) 0%, rgba(16,22,63,.35) 30%, rgba(16,22,63,.86) 70%, rgba(16,22,63,.92) 100%); }
  .lx-feature__title { font-size: clamp(2.1rem, 9.4vw, 3rem); }
  .lx-band--feature .lx-band__lead { font-size: 1.2rem; }
  .lx-feature__kicker > span:last-child::before { display: none; }
  .lx-feature__kicker { gap: 10px 12px; }
  .lx-section__title--small { font-size: 1.6rem; }
}
.lx-avatar { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin-bottom: 20px; }
.lx-socials { display: flex; gap: 14px; list-style: none; margin: 18px 0 0; padding: 0; }

/* Reading */
.lx-figure { max-width: 1120px; margin: clamp(24px, 4vw, 48px) auto 0; padding: 0 var(--lx-gutter); }
.lx-figure img { width: 100%; }
.lx-figure figcaption { margin-top: 10px; font: italic 1rem/1.4 var(--lx-serif); color: var(--lx-muted); }
.lx-prose { max-width: calc(68ch + 2 * var(--lx-gutter)); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--lx-gutter) clamp(40px, 6vw, 80px); font: 400 clamp(1.2rem, 1.1rem + .3vw, 1.34rem)/1.68 var(--lx-serif); }
.lx-prose--page { padding-top: 64px; }
.lx-prose > :first-child { margin-top: 0; }
.lx-prose p, .lx-prose ul, .lx-prose ol { margin: 0 0 1.15em; }
.lx-prose h2 { margin: 1.9em 0 .55em; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; font-stretch: 106%; line-height: 1.08; letter-spacing: -.012em; }
.lx-prose h3 { margin: 1.6em 0 .45em; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 750; line-height: 1.15; }
.lx-prose a { color: var(--lx-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lx-prose li { margin-bottom: .4em; }
.lx-prose li::marker { color: var(--lx-deep); font-weight: 700; }
.lx-prose strong { font-weight: 650; }
.lx-prose img { margin: 1.6em 0; }
/* 3D photos (Agent3D): figure.lx-3d keeps the photo's frame (inline aspect-ratio); menu-loader.js turns it into a 3D scene near the viewport. */
.lx-prose .lx-3d { position: relative; margin: 1.6em 0; overflow: hidden; background: var(--lx-night); }
/* Scroll story ("scroll-story" field): a run of images pinned full screen while the reader scrolls (menu-loader.js sets the sizes and transforms). */
.lx-story { position: relative; width: 100vw; margin: 1.6em 0 1.6em calc(50% - 50vw); }
.lx-story__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.lx-story__stage::before { content: ""; position: absolute; inset: 0; background: var(--lx-night); opacity: var(--z, 0); }
.lx-story__item { position: absolute; inset: 0; will-change: transform; }
.lx-story__item[data-fit="contain"]::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover; filter: blur(28px) brightness(.55); opacity: var(--z, 0); }
.lx-story__media { position: absolute; margin: 0; transform-origin: 50% 50%; will-change: transform; }
.lx-prose .lx-story .lx-3d { position: absolute; margin: 0; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.lx-prose .lx-story .lx-3d.is-on { opacity: 1; pointer-events: auto; }
.lx-story__media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.lx-3d__tilt { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border: 0; border-radius: 999px; background: rgba(16, 22, 63, .72); color: #fff; font: 700 .78rem/1 var(--lx-display); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; }
.lx-3d__tilt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lx-prose .lx-3d agent3d-scene { display: block; width: 100%; height: 100%; }
.lx-prose .lx-3d img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.lx-prose hr { height: 16px; margin: 2.4em 0; border: 0; background: var(--lx-deep); clip-path: polygon(0 100%, 8% 30%, 15% 70%, 27% 0, 38% 80%, 49% 25%, 62% 75%, 74% 10%, 87% 70%, 100% 100%, 100% 100%); }
.lx-prose blockquote { margin: 1.8em 0; padding: .1em 0 .1em clamp(18px, 3vw, 32px); border-left: 8px solid var(--lx-tint); font-size: 1.28em; font-style: italic; line-height: 1.34; }
.lx-prose blockquote p:last-child { margin-bottom: 0; }
.lx-prose .lx-pullquote { position: relative; margin: 2.2em calc(-1 * min(var(--lx-gutter), 48px)); padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px) clamp(24px, 3.5vw, 36px); background: var(--lx-night); color: #fff; }
.lx-prose .lx-pullquote::before { content: "\201C"; position: absolute; top: -.28em; left: clamp(12px, 3vw, 36px); color: var(--lx-tint); font: 900 clamp(5rem, 9vw, 7.5rem)/1 var(--lx-display); }
.lx-prose .lx-pullquote blockquote { margin: 0; padding: 0; border: 0; font: 800 clamp(1.45rem, 1.1rem + 1.4vw, 2.15rem)/1.16 var(--lx-display); font-stretch: 104%; font-style: normal; letter-spacing: -.01em; text-wrap: balance; }
.lx-prose .lx-pullquote blockquote p { margin: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lx-prose .lx-pullquote { background: var(--lx-night-2); } }
.lx-prose .lx-pullquote figcaption { margin-top: 14px; color: var(--lx-tint); font: 700 .62em/1.3 var(--lx-display); letter-spacing: .08em; text-transform: uppercase; }
.lx-prose .lx-case { margin: 2em 0; padding: 22px clamp(18px, 3vw, 28px) 18px; border: 2px solid var(--lx-text); border-top-width: 8px; border-top-color: var(--lx-tint); background: var(--lx-snow); font-size: .88em; line-height: 1.58; }
.lx-prose .lx-case p { margin: 0 0 .8em; }
.lx-prose .lx-case__tag { display: inline-block; margin-bottom: 12px !important; padding: 4px 10px; background: var(--lx-text); color: var(--lx-bg); font: 700 .74em/1.3 var(--lx-display); letter-spacing: .06em; text-transform: uppercase; }
.lx-prose .lx-case__title { font: 800 1.22em/1.2 var(--lx-display); }
.lx-prose .lx-case__src { margin: 0 !important; color: var(--lx-muted); font: 500 .8em/1.4 var(--lx-display); }
.lx-prose .lx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; margin: 2em 0 .6em; background: var(--lx-text); border: 2px solid var(--lx-text); }
.lx-prose .lx-stats > div { padding: 20px 22px; background: var(--lx-bg); }
.lx-prose .lx-stats strong { display: block; color: var(--lx-deep); font: 900 clamp(2.6rem, 6vw, 3.6rem)/1 var(--lx-display); letter-spacing: -.02em; }
.lx-prose .lx-stats span { display: block; margin-top: 8px; font: 500 .74em/1.4 var(--lx-display); }
.lx-prose .lx-chart { margin: 2.2em 0; padding: clamp(18px, 3vw, 28px); border: 2px solid var(--lx-text); background: var(--lx-snow); font-family: var(--lx-display); }
.lx-prose .lx-chart__title { margin: 0 0 4px !important; font: 800 1.02em/1.25 var(--lx-display); }
.lx-prose .lx-chart__sub { margin: 0 0 18px !important; color: var(--lx-muted); font: 500 .72em/1.4 var(--lx-display); }
.lx-prose .lx-chart__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -6px 0 16px; padding: 0; list-style: none; font: 600 .7em/1.3 var(--lx-display); }
.lx-prose .lx-chart__legend li { display: flex; align-items: center; gap: 6px; margin: 0; }
.lx-prose .lx-chart__legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--lx-line); }
.lx-prose .lx-chart__legend i.is-hi { background: var(--lx-deep); }
.lx-prose .lx-chart__cols { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; gap: 2px clamp(2px, .8vw, 8px); height: clamp(190px, 32vw, 260px); padding-top: 26px; border-bottom: 1px solid var(--lx-text); background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), color-mix(in srgb, var(--lx-line) 70%, transparent) calc(25% - 1px) 25%); }
.lx-prose .lx-chart__col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.lx-prose .lx-chart__bar { height: calc(var(--v) * 100%); min-height: 2px; border-radius: 4px 4px 0 0; background: var(--lx-line); transition: filter .15s; }
.lx-prose .lx-chart__col.is-hi .lx-chart__bar { background: var(--lx-deep); }
.lx-prose .lx-chart__col.is-part .lx-chart__bar { background: repeating-linear-gradient(135deg, var(--lx-deep) 0 6px, color-mix(in srgb, var(--lx-deep) 55%, transparent) 6px 9px); }
.lx-prose .lx-chart__val { position: absolute; bottom: calc(var(--v) * 100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 800 .66em/1 var(--lx-display); font-variant-numeric: tabular-nums; }
.lx-prose .lx-chart__col:not(.is-lab) .lx-chart__val { display: none; }
.lx-prose .lx-chart__col:hover .lx-chart__bar { filter: brightness(1.15) saturate(1.2); }
.lx-prose .lx-chart__col:hover .lx-chart__val { display: block; z-index: 2; padding: 3px 6px; border-radius: 4px; background: var(--lx-text); color: var(--lx-bg); }
.lx-prose .lx-chart__axis { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 clamp(2px, .8vw, 8px); margin-top: 6px; color: var(--lx-muted); font: 600 .62em/1.2 var(--lx-display); text-align: center; }
.lx-prose .lx-chart__axis span { white-space: nowrap; }
.lx-prose .lx-chart__rows { display: grid; gap: 14px; margin: 0; }
.lx-prose .lx-chart__row { display: grid; grid-template-columns: minmax(84px, 130px) 1fr; align-items: center; gap: 4px 12px; font: 600 .74em/1.2 var(--lx-display); }
.lx-prose .lx-chart__row > span { grid-row: span 2; }
.lx-prose .lx-chart__hb { display: flex; white-space: nowrap; align-items: center; gap: 8px; font: 700 .9em/1 var(--lx-display); font-variant-numeric: tabular-nums; }
.lx-prose .lx-chart__hb i { display: block; width: calc(var(--v) * 82%); min-width: 2px; height: 12px; border-radius: 0 4px 4px 0; background: var(--lx-line); }
.lx-prose .lx-chart__hb.is-hi i { height: 16px; background: var(--lx-deep); }
.lx-prose .lx-chart__hb em { color: var(--lx-muted); font-style: normal; font-weight: 600; }
.lx-prose .lx-chart .lx-case__src { margin-top: 14px !important; }
.lx-prose .lx-chart details { margin-top: 10px; font: 500 .7em/1.4 var(--lx-display); }
.lx-prose .lx-chart summary { cursor: pointer; color: var(--lx-muted); }
.lx-prose .lx-chart table { margin: 8px 0 0; font-size: 1em; }
.lx-prose .lx-chart th, .lx-prose .lx-chart td { padding: 4px 8px; }
@media (max-width: 560px) { .lx-prose .lx-chart__axis span.is-minor { visibility: hidden; } .lx-prose .lx-chart__val { font-size: .56em; } .lx-prose .lx-chart__hb i { width: calc(var(--v) * 66%); } }
.lx-prose .lx-stats + .lx-case__src { margin-bottom: 1.4em !important; }
.lx-prose code { padding: .1em .3em; background: color-mix(in srgb, var(--lx-tint) 22%, transparent); font-size: .84em; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.lx-prose pre { margin: 1.7em calc(-1 * min(var(--lx-gutter), 32px)); padding: 22px 26px; overflow-x: auto; background: var(--lx-code); color: var(--lx-glacier); font-size: .82em; line-height: 1.6; }
.lx-prose pre code { padding: 0; background: none; font-size: inherit; }
.lx-prose table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: .9em; }
.lx-prose th, .lx-prose td { padding: 10px 12px; border-bottom: 1px solid var(--lx-line); text-align: left; }
.lx-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; max-width: calc(68ch + 2 * var(--lx-gutter)); margin: 0 auto; padding: 0 var(--lx-gutter) 32px; }
.lx-tags li { padding: 3px 12px 4px; border: 2px solid var(--lx-deep); color: var(--lx-deep); font-weight: 600; font-size: .95rem; }
.lx-related { max-width: 1320px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--lx-gutter) 96px; }
.lx-related h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; font-stretch: 110%; margin-bottom: 24px; }
.lx-related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.lx-related__list a { display: block; padding: 16px 0 22px; border-top: 4px solid var(--lx-tint); text-decoration: none; font-size: 1.35rem; font-weight: 750; line-height: 1.14; }
.lx-related__list a:hover { color: var(--lx-deep); }
.lx-related__list small { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 400; color: var(--lx-muted); }

/* Video card (weekly review): a thumbnail that links to YouTube, no embed
   (no third-party player or cookies until the reader clicks). */
.lx-prose .lx-video { display: grid; grid-template-columns: minmax(0, 248px) minmax(0, 1fr); gap: 16px 22px; align-items: start; margin: 1.8em 0; padding: 16px; border: 2px solid var(--lx-line); background: var(--lx-snow); font: 500 .8em/1.5 var(--lx-display); }
.lx-prose .lx-video__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--lx-night); }
.lx-prose .lx-video__thumb img { width: 100%; height: 100%; margin: 0; object-fit: cover; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.lx-prose .lx-video__thumb:hover img { transform: scale(1.05); }
.lx-prose .lx-video__thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 40px; margin: -20px 0 0 -28px; border-radius: 10px; background: rgba(16, 22, 63, .84) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 20px no-repeat; transition: background-color .2s; }
.lx-prose .lx-video__thumb:hover::after { background-color: var(--lx-deep); }
.lx-prose .lx-video p { margin: 0 0 .6em; }
.lx-prose .lx-video p:last-child { margin-bottom: 0; }
.lx-prose .lx-video .lx-video__meta { margin-bottom: 4px; color: var(--lx-muted); font: 700 .78em/1.3 var(--lx-display); letter-spacing: .06em; text-transform: uppercase; }
.lx-prose .lx-video .lx-video__title { margin-bottom: 8px; font: 800 1.12em/1.25 var(--lx-display); }
.lx-prose .lx-video__title a { color: inherit; text-decoration: none; }
.lx-prose .lx-video__title a:hover { color: var(--lx-deep); text-decoration: underline; }
@media (max-width: 600px) { .lx-prose .lx-video { grid-template-columns: minmax(0, 1fr); } }

/* "En bref": key points at the top of a long post */
.lx-prose .lx-brief { margin: 0 0 2.4em; padding: 22px clamp(18px, 3vw, 30px) 20px; border-left: 8px solid var(--lx-tint); background: color-mix(in srgb, var(--lx-tint) 13%, var(--lx-snow)); font: 500 .8em/1.48 var(--lx-display); }
.lx-prose .lx-brief__tag { display: inline-block; margin: 0 0 14px; padding: 4px 10px 5px; background: var(--lx-tint); color: var(--lx-night); font: 800 .74em/1.1 var(--lx-display); letter-spacing: .1em; text-transform: uppercase; }
.lx-prose .lx-brief ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.lx-prose .lx-brief li { position: relative; margin: 0; padding-left: 26px; }
.lx-prose .lx-brief li::before { content: ""; position: absolute; left: 0; top: .34em; width: 15px; height: 11px; background: var(--lx-deep); clip-path: polygon(0 100%, 34% 22%, 52% 56%, 74% 0, 100% 100%); }
.lx-prose .lx-brief strong { font-weight: 800; }

/* Table of contents ("toc" field). Without JS: an open list above the text.
   With JS (.is-live): a sticky bar showing the current section on narrow
   screens, a sticky rail in the left margin on wide ones. */
html:has(.lx-toc) { scroll-padding-top: 132px; }
.lx-body--toc { position: relative; }
.lx-toc { --lx-toc-top: 0px; position: relative; z-index: 25; max-width: calc(68ch + 2 * var(--lx-gutter)); margin: clamp(24px, 4vw, 40px) auto 0; padding: 0 var(--lx-gutter); font-family: var(--lx-display); }
.lx-toc__box { border: 2px solid var(--lx-line); background: var(--lx-bg); }
.lx-toc__bar { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; cursor: pointer; list-style: none; user-select: none; }
.lx-toc__bar::-webkit-details-marker { display: none; }
.lx-toc__title { flex: none; color: var(--lx-deep); font: 800 .78rem/1 var(--lx-display); letter-spacing: .12em; text-transform: uppercase; }
.lx-toc__now { flex: 1; min-width: 0; overflow: hidden; color: var(--lx-text); font: 650 .98rem/1.2 var(--lx-display); white-space: nowrap; text-overflow: ellipsis; }
.lx-toc__chev { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.lx-toc__box[open] .lx-toc__chev { transform: rotate(180deg); }
.lx-toc__progress { position: absolute; inset: auto auto -2px 0; width: calc(var(--lx-p, 0) * 100%); height: 3px; background: var(--lx-tint); }
.lx-toc__list { margin: 0; padding: 4px 8px 12px; list-style: none; }
.lx-toc__list li { margin: 0; }
.lx-toc__list a { display: flex; gap: 12px; padding: 9px 8px; border-radius: 4px; color: var(--lx-muted); font: 600 1rem/1.3 var(--lx-display); text-decoration: none; }
.lx-toc__list a:hover { color: var(--lx-text); background: color-mix(in srgb, var(--lx-tint) 12%, transparent); }
.lx-toc__list a[aria-current="true"] { color: var(--lx-text); }
.lx-toc__list a[aria-current="true"] .lx-toc__num { color: var(--lx-night); background: var(--lx-tint); }
.lx-toc__list .is-sub a { padding-left: 50px; font-size: .92rem; font-weight: 500; }
.lx-toc__num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 3px; color: var(--lx-deep); background: color-mix(in srgb, var(--lx-tint) 16%, transparent); font: 800 .76rem/1 var(--lx-display); font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }

/* Narrow screens, JS on: sticky bar, the list drops down over the text. */
@media (max-width: 1199px) {
  .lx-toc.is-live { position: sticky; top: var(--lx-toc-top); margin-top: 0; padding: 0; max-width: none; transition: top .35s cubic-bezier(.2, .7, .2, 1); }
  body:has(.lx-header:not(.is-hidden)) .lx-toc.is-live { --lx-toc-top: 68px; }
  .lx-toc.is-live .lx-toc__box { border-width: 0 0 1px; background: color-mix(in srgb, var(--lx-bg) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .lx-toc.is-live .lx-toc__bar { max-width: calc(68ch + 2 * var(--lx-gutter)); margin: 0 auto; padding: 0 var(--lx-gutter); }
  .lx-toc.is-live .lx-toc__progress { left: 0; }
  .lx-toc.is-live .lx-toc__list { position: absolute; top: 100%; left: 50%; width: min(100%, calc(68ch + 2 * var(--lx-gutter))); max-height: calc(100svh - var(--lx-toc-top) - 120px); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-50%); padding: 8px var(--lx-gutter) 16px; background: var(--lx-bg); border-bottom: 1px solid var(--lx-line); box-shadow: 0 24px 40px -18px rgba(16, 22, 63, .45); }
  .lx-toc:not(.is-live) .lx-toc__progress { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lx-toc.is-live { transition: none; } }

/* Wide screens: the text on the left, aligned with the title; the contents
   stay open in a sticky column on the right, the rail fills as you read. */
@media (min-width: 1200px) {
  .lx-body--toc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 272px); column-gap: clamp(40px, 4vw, 72px); max-width: 1320px; margin: 0 auto; padding: 0 var(--lx-gutter); }
  .lx-body--toc > .lx-prose { grid-column: 1; grid-row: 1; max-width: 68ch; margin: 0; padding-left: 0; padding-right: 0; }
  .lx-toc { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: calc(var(--lx-toc-top) + 28px); max-width: none; max-height: calc(100vh - var(--lx-toc-top) - 110px); margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; overflow-y: auto; transition: top .35s cubic-bezier(.2, .7, .2, 1); }
  body:has(.lx-header:not(.is-hidden)) .lx-toc { --lx-toc-top: 68px; }
  .lx-toc__box { border: 0; background: none; }
  .lx-toc__bar { min-height: 0; padding: 0 0 14px 2px; cursor: default; pointer-events: none; }
  .lx-toc__now, .lx-toc__chev, .lx-toc__progress { display: none; }
  .lx-toc__list { position: relative; padding: 0; border-left: 2px solid var(--lx-line); }
  .lx-toc__list::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: calc(var(--lx-p, 0) * 100%); background: color-mix(in srgb, var(--lx-tint) 60%, transparent); }
  .lx-toc__list a { position: relative; margin-left: -2px; padding: 8px 6px 8px 14px; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; font-size: .9rem; }
  .lx-toc__list a[aria-current="true"] { border-left-color: var(--lx-tint); }
  .lx-toc__list .is-sub a { padding-left: 56px; font-size: .84rem; }
  .lx-toc__num { width: 28px; height: 20px; font-size: .7rem; }
}

/* The reading climb */
.lx-climb { position: fixed; inset: auto 0 0; z-index: 20; height: 60px; pointer-events: none; }
.lx-climb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lx-climb path { fill: none; vector-effect: non-scaling-stroke; }
.lx-climb__base { stroke: var(--lx-muted); stroke-width: 1; opacity: .4; }
.lx-climb__done { stroke: var(--lx-tint); stroke-width: 3; }
.lx-climb__dot { position: absolute; left: 0; top: 0; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: var(--lx-tint); border: 3px solid var(--lx-night); }

/* 404 */
.lx-lost { position: relative; display: grid; place-items: center; min-height: calc(100svh - 68px); overflow: hidden; background: var(--lx-night); color: var(--lx-glacier); text-align: center; }
.lx-lost__art { position: absolute; inset: 0; color: #5a48d8; }
.lx-lost__copy { position: relative; padding: 32px var(--lx-gutter); }
.lx-lost__code { margin: 0; font-size: clamp(7rem, 30vw, 24rem); font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -.04em; color: #ff6b3d; }
.lx-lost h1 { margin-top: 18px; font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; font-stretch: 112%; }
.lx-lost p:not(.lx-lost__code) { font: italic 1.35rem/1.4 var(--lx-serif); }
.lx-button { display: inline-block; margin-top: 8px; padding: 13px 22px 14px; background: #ff6b3d; color: var(--lx-night) !important; font-weight: 800; text-decoration: none; }
.lx-button:hover { background: var(--lx-glacier); }

/* Footer */
.lx-footer { position: relative; background: var(--lx-night); color: var(--lx-glacier); margin-top: 90px; }
.lx-footer__ridge { position: absolute; inset: auto 0 calc(100% - 1px); width: 100%; height: 90px; }
.lx-footer__ridge path { fill: var(--lx-night); }
.lx-footer__body { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: end; max-width: 1320px; margin: 0 auto; padding: 24px var(--lx-gutter) 90px; }
.lx-footer__name { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); margin: 0; font-size: clamp(2.6rem, 9vw, 8rem); font-weight: 900; font-stretch: 125%; line-height: .9; letter-spacing: -.03em; }
.lx-footer__name > span:last-child { width: min-content; }
.lx-footer__portrait { flex: none; position: relative; width: 1.62em; height: 1.62em; padding: .04em; border-radius: 50%; background: conic-gradient(from 210deg, #ff6b3d, #7c5cff, #4aa8ff, #ff6b3d); box-shadow: 0 .06em .2em rgba(0, 0, 0, .35); }
.lx-footer__portrait img { display: block; width: 100%; height: 100%; box-sizing: border-box; border: .035em solid var(--lx-night); border-radius: 50%; object-fit: cover; }
.lx-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.lx-footer__note { margin: 0; color: #a7afd6; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .lx *, .lx *::before, .lx *::after { transition: none !important; animation: none !important; }
}

main:has(.lx-lost) + .lx-footer { margin-top: 0; }
main:has(.lx-lost) + .lx-footer .lx-footer__ridge { display: none; }

/* Qui suis-je: the career as a climb, a pin per stage */
.lx-article--about .lx-prose > p:first-child { font-size: 1.28em; line-height: 1.42; font-weight: 500; }
.lx-article--about .lx-prose h3 { position: relative; margin: 0; padding: 26px 0 4px 34px; border-left: 3px solid #ff6b3d; font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 800; font-stretch: 108%; }
.lx-article--about .lx-prose h3::before { content: ""; position: absolute; left: -12px; top: 34px; width: 21px; height: 21px; border-radius: 50%; border: 5px solid var(--lx-bg); background: #ff6b3d; }
.lx-article--about .lx-prose h3 + p { margin: 0; padding: 0 0 12px 34px; border-left: 3px solid #ff6b3d; }
.lx-article--about .lx-prose h3 + p + p:has(> img) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 4px 0 16px 34px; border-left: 3px solid #ff6b3d; }
.lx-article--about .lx-prose h3 + p + p:has(> img) img { box-sizing: border-box; width: auto; max-width: 100%; height: 52px; margin: 0; padding: 7px 11px; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(16, 22, 63, .18); object-fit: contain; }

/* Page transition: same-origin navigations only. Browsers without support
   simply load the page. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .lx-header { view-transition-name: lx-header; }
  .lx-band--article { view-transition-name: lx-art; }
  .lx-band--article h1 { view-transition-name: lx-title; }
  ::view-transition-group(lx-header) { z-index: 5; }
  ::view-transition-group(lx-art), ::view-transition-group(lx-title) { animation-duration: .6s; animation-timing-function: cubic-bezier(.65, 0, .2, 1); }
  ::view-transition-group(lx-art) { overflow: clip; }
  ::view-transition-old(lx-art), ::view-transition-new(lx-art) { width: 100%; height: 100%; object-fit: cover; animation-duration: .6s; }
  ::view-transition-image-pair(lx-title) { isolation: auto; }
  ::view-transition-old(lx-title), ::view-transition-new(lx-title) { width: auto; height: 100%; object-fit: contain; object-position: left top; mix-blend-mode: normal; }
  ::view-transition-old(lx-title) { animation: lx-out .14s ease both; }
  ::view-transition-new(lx-title) { animation: lx-fade .3s .34s ease both; }
  ::view-transition-old(root) { animation: lx-out .3s ease both; }
  ::view-transition-new(root) { animation: lx-in .45s .12s ease both; }
  @keyframes lx-out { to { opacity: 0; } }
  @keyframes lx-fade { from { opacity: 0; } }
  @keyframes lx-in { from { opacity: 0; transform: translateY(24px); } }
}

/* Parallax of the section / photo bands, driven by the scroll on the compositor
   (smooth on phones). Browsers without scroll-driven animations use the JS
   fallback in menu-loader.js (mouse only). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Inset 0: the default (auto) takes html's scroll-padding-top (88 px, 132 px
       with a table of contents) and would start the animation before any scroll. */
    .lx-band--category, .lx-band--photo { view-timeline: --lx-band block; view-timeline-inset: 0; }
    .lx-band--category .lx-band__art, .lx-band--photo .lx-band__art { animation: lx-par-art linear both; animation-timeline: --lx-band; animation-range: exit-crossing 0% exit-crossing 100%; }
    .lx-band--category .lx-band__inner, .lx-band--photo .lx-band__inner { animation: lx-par-inner linear both; animation-timeline: --lx-band; animation-range: exit-crossing 0% exit-crossing 90%; }
  }
}
@keyframes lx-par-art { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(0, 42%, 0) scale(1.17); } }
@keyframes lx-par-inner { from { transform: translate3d(0, 0, 0); opacity: 1; } to { transform: translate3d(0, 30%, 0); opacity: 0; } }

/* Observatoire de l'IA: dashboard page (candidate for leaux-altitude 1.8.0). */
.lx-obs { --obs-0: #8a93b8; --obs-1: #4a2fd0; --obs-2: #0b8577; --obs-3: #c8461d; max-width: 1320px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--lx-gutter) clamp(90px, 10vw, 150px); font-family: var(--lx-display); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lx-obs { --obs-0: #7d86b3; --obs-1: #9a85ff; --obs-2: #14c9ac; --obs-3: #ff7a4d; }
}
.lx-obs__updated { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--lx-muted); font: 700 .78rem/1.3 var(--lx-display); letter-spacing: .06em; text-transform: uppercase; }
.lx-obs__live { width: 9px; height: 9px; border-radius: 50%; background: var(--obs-2); box-shadow: 0 0 0 0 color-mix(in srgb, var(--obs-2) 60%, transparent); animation: lx-obs-pulse 2.4s infinite; }
@keyframes lx-obs-pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .lx-obs__live { animation: none; } }

/* Section accents (light, then dark). --acc fills marks, --acc-ink is the text-safe shade. */
.lx-obs [data-acc="securite"], .lx-obs[data-acc="securite"] { --acc: #d4531f; --acc-ink: #b33f10; }
.lx-obs [data-acc="adoption"] { --acc: #5b3ce0; --acc-ink: #4a2fd0; }
.lx-obs [data-acc="emploi"] { --acc: #0f9a88; --acc-ink: #0a7a6c; }
.lx-obs [data-acc="couts"] { --acc: #1a73d9; --acc-ink: #0b5bb5; }
.lx-obs [data-acc="modeles"] { --acc: #b8358f; --acc-ink: #9a2476; }
.lx-obs [data-acc="economie"] { --acc: #2f8f3a; --acc-ink: #23722c; }
.lx-obs [data-acc="energie"] { --acc: #d18b00; --acc-ink: #8f5e00; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lx-obs [data-acc="securite"] { --acc: #ff7a4d; --acc-ink: #ff8f68; }
  :root:not([data-theme="light"]) .lx-obs [data-acc="adoption"] { --acc: #9a85ff; --acc-ink: #ad9cff; }
  :root:not([data-theme="light"]) .lx-obs [data-acc="emploi"] { --acc: #14c9ac; --acc-ink: #3fd8bf; }
  :root:not([data-theme="light"]) .lx-obs [data-acc="couts"] { --acc: #45a8ff; --acc-ink: #6cbaff; }
  :root:not([data-theme="light"]) .lx-obs [data-acc="modeles"] { --acc: #f070c8; --acc-ink: #f58fd5; }
  :root:not([data-theme="light"]) .lx-obs [data-acc="economie"] { --acc: #5fd36a; --acc-ink: #7ddd86; }
  :root:not([data-theme="light"]) .lx-obs [data-acc="energie"] { --acc: #ffc53d; --acc-ink: #ffd36a; }
}
.lx-obs .sa { --c: var(--acc); }

/* Compact header: title and lead side by side, key figures overlap the band so they show without scrolling. */
.lx-band--obs .lx-band__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 14px clamp(28px, 4vw, 64px); padding: clamp(22px, 3vw, 40px) var(--lx-gutter) clamp(96px, 9vw, 124px); }
.lx-band--obs .lx-band__rubric { margin: 0; justify-self: start; }
.lx-band--obs .lx-obs__updated { margin: 0; align-self: center; color: inherit; opacity: .8; }
.lx-band--obs h1 { max-width: none; font-size: clamp(2.3rem, 4.4vw, 4rem); white-space: nowrap; }
.lx-band--obs .lx-band__lead { max-width: 44ch; margin: 0; font-size: clamp(1.05rem, 1.45vw, 1.32rem); line-height: 1.3; }
.lx-band--obs .lx-obs__live { background: var(--lx-night); }
.lx-band--obs + .lx-dash > .lx-obs { position: relative; z-index: 2; margin-top: clamp(-84px, -6vw, -48px); padding-top: 0; }
.lx-band--obs + .lx-dash > .lx-obs .lx-obs__kpis { box-shadow: 0 24px 48px -28px rgba(16, 22, 63, .5); }
@media (max-width: 900px) {
  .lx-band--obs .lx-band__inner { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lx-band--obs h1 { white-space: normal; }
  .lx-band--obs .lx-obs__updated { order: 3; }
}
/* Key figures */
.lx-obs__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); margin: 0; padding: 0; list-style: none; }
.lx-obs__kpis li { min-width: 0; }
.lx-obs__kpis a { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; overflow: hidden; padding: clamp(14px, 1.6vw, 20px) clamp(16px, 1.8vw, 22px) clamp(14px, 1.6vw, 18px); border: 2px solid var(--lx-text); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--acc) 13%, transparent), transparent 60%), var(--lx-snow); color: inherit; text-decoration: none; transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.lx-obs__kpis a::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--acc); }
.lx-obs__kpis a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--acc) 70%, transparent); }
.lx-obs__kcat { display: flex; align-items: center; gap: 7px; margin-top: 2px; color: var(--lx-muted); font: 800 .68rem/1 var(--lx-display); letter-spacing: .09em; text-transform: uppercase; }
.lx-obs__kcat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.lx-obs__kpis strong { margin-top: 12px; color: var(--acc-ink); font: 900 clamp(2rem, 3.4vw, 3rem)/1 var(--lx-display); font-stretch: 112%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lx-obs__klab { position: relative; z-index: 1; max-width: 26ch; margin: 8px 0 14px; font: 600 .95rem/1.3 var(--lx-display); }
.lx-obs__kpis em { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding: 4px 10px 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 15%, var(--lx-snow)); color: var(--acc-ink); font: 700 .76rem/1.2 var(--lx-display); font-style: normal; font-variant-numeric: tabular-nums; }
.lx-obs__kpis em b { font-size: 1.1em; line-height: 1; }
/* Home teaser: the page's key figures, copied at runtime (menu-loader.js). */
.lx-obs--home { max-width: none; margin: clamp(22px, 2.6vw, 32px) 0 0; padding: 0; }
.lx-obs-home__skel li { min-height: clamp(168px, 15vw, 196px); border: 2px solid var(--lx-line); background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--lx-tint) 9%, transparent) 50%, transparent 70%) 0 0 / 300% 100%, var(--lx-snow); animation: lx-obs-shimmer 1.6s linear infinite; }
@keyframes lx-obs-shimmer { to { background-position: -150% 0, 0 0; } }
.lx-obs--home .lx-obs__updated { margin: 16px 0 0; }
@media (prefers-reduced-motion: reduce) { .lx-obs-home__skel li { animation: none; } }
.lx-obs__spark { position: absolute; right: 0; bottom: 0; z-index: -1; width: 58%; height: 46%; overflow: visible; }
.lx-obs__spark path { fill: none; stroke: var(--acc); stroke-width: 2px; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .85; }
.lx-obs__spark path.is-area { fill: color-mix(in srgb, var(--acc) 16%, transparent); stroke: none; }
@media (max-width: 900px) { .lx-obs__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lx-obs__kpis strong { font-size: 1.9rem; } .lx-obs__klab { font-size: .84rem; } .lx-obs__kpis em { font-size: .7rem; } }

/* Section nav */
.lx-obs__nav { --lx-obs-top: 0px; position: sticky; top: var(--lx-obs-top); z-index: 5; transition: top .35s cubic-bezier(.2, .7, .2, 1); margin: clamp(36px, 5vw, 64px) calc(var(--lx-gutter) * -1) 0; padding: 12px var(--lx-gutter); background: color-mix(in srgb, var(--lx-bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lx-line); }
/* Follows the headroom header: glued to the top when it hides, under it when it shows (like .lx-toc). */
body:has(.lx-header:not(.is-hidden)) .lx-obs__nav { --lx-obs-top: 68px; }
@media (prefers-reduced-motion: reduce) { .lx-obs__nav { transition: none; } }
.lx-obs__nav ol { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.lx-obs__nav a { display: block; padding: 7px 14px; border: 2px solid var(--lx-text); border-radius: 999px; color: inherit; font: 700 .85rem/1 var(--lx-display); text-decoration: none; white-space: nowrap; }
.lx-obs__nav a:hover { background: var(--lx-text); color: var(--lx-bg); }

/* Sections */
.lx-obs__sec { scroll-margin-top: 140px; padding-top: clamp(48px, 6vw, 88px); }
.lx-obs__sec > header { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 18px; margin-bottom: clamp(20px, 3vw, 32px); padding-bottom: 18px; border-bottom: 2px solid var(--lx-line); }
.lx-obs__sec > header::after { content: ""; position: absolute; left: 0; bottom: -2px; width: clamp(80px, 12vw, 160px); height: 2px; background: var(--acc, var(--obs-1)); height: 3px; }
.lx-obs__num { color: var(--acc-ink, var(--obs-1)); font: 800 1rem/1 var(--lx-display); font-variant-numeric: tabular-nums; }
.lx-obs__sec h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; line-height: 1; }
.lx-obs__sec > header p { grid-column: 2; margin: 6px 0 0; color: var(--lx-muted); font: italic 400 clamp(1.08rem, 1.4vw, 1.25rem)/1.35 var(--lx-serif); }
.lx-obs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 960px) { .lx-obs__grid { grid-template-columns: minmax(0, 1fr); } }

/* Cards */
.lx-obs__card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: clamp(18px, 2.4vw, 28px); border: 2px solid var(--lx-text); border-top: 5px solid var(--acc, var(--lx-text)); background: var(--lx-snow); scroll-margin-top: 140px; }
.lx-obs__card.is-wide { grid-column: 1 / -1; }
.lx-obs__card h3 { font-size: 1.18rem; font-weight: 800; line-height: 1.25; }
.lx-obs__take { margin: 8px 0 20px; font: 400 1.08rem/1.45 var(--lx-serif); }
.lx-obs__src { margin: auto 0 0; padding-top: 16px; color: var(--lx-muted); font: 500 .76rem/1.45 var(--lx-display); }
.lx-obs__src a { color: inherit; text-underline-offset: 2px; }
.lx-obs__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 14px; padding: 0; list-style: none; font: 600 .8rem/1.3 var(--lx-display); }
.lx-obs__legend li { display: flex; align-items: center; gap: 7px; }
.lx-obs__legend i { width: 14px; height: 4px; border-radius: 2px; background: var(--c); }

/* Series colors */
.lx-obs .s0 { --c: var(--obs-0); } .lx-obs .s1 { --c: var(--obs-1); } .lx-obs .s2 { --c: var(--obs-2); } .lx-obs .s3 { --c: var(--obs-3); }

/* Plot */
.lx-obs__chart { position: relative; padding: 8px 84px 0 44px; }
.lx-obs__plot { position: relative; height: var(--h, 230px); border-bottom: 1px solid var(--lx-text); }
.lx-obs__plot.is-cols { margin-right: -72px; }
.lx-obs__gy { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid color-mix(in srgb, var(--lx-line) 75%, transparent); }
.lx-obs__gy b { position: absolute; right: calc(100% + 8px); transform: translateY(-50%); color: var(--lx-muted); font: 600 .72rem/1 var(--lx-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lx-obs__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lx-obs__plot svg { color: var(--c); }
.lx-obs__plot path.is-area { stroke: none; }
.lx-obs__plot path:not(.is-area) { fill: none; stroke: var(--c); stroke-width: 2.5px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lx-obs__plot path.is-dash { stroke-dasharray: 3 5; }
.lx-obs__dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--lx-snow); transform: translate(-50%, -50%); }
.lx-obs__end { position: absolute; left: calc(100% + 12px); display: flex; flex-direction: column; transform: translateY(-50%); color: var(--lx-muted); font: 600 .72rem/1.15 var(--lx-display); white-space: nowrap; }
.lx-obs__end small { font-size: 1em; }
.lx-obs__end b { color: var(--lx-text); font-size: 1.15em; font-weight: 800; font-variant-numeric: tabular-nums; }
.lx-obs__xl { position: relative; height: 16px; margin-top: 8px; color: var(--lx-muted); font: 600 .72rem/1 var(--lx-display); }
.lx-obs__xl span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.lx-obs__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; gap: 2px; }
.lx-obs__cols span { height: calc(var(--v) * 100%); min-height: 2px; border-radius: 3px 3px 0 0; background: color-mix(in srgb, var(--acc) 30%, var(--lx-snow)); outline: none; transition: filter .15s; }
.lx-obs__cols span.is-hi { background: linear-gradient(to top, color-mix(in srgb, var(--acc) 78%, var(--lx-snow)), var(--acc)); }
.lx-obs__cols span.is-part { background: repeating-linear-gradient(135deg, var(--acc) 0 5px, color-mix(in srgb, var(--acc) 35%, transparent) 5px 8px); }
.lx-obs__cols span:hover, .lx-obs__cols span:focus-visible { filter: brightness(1.2) saturate(1.2); }
.lx-obs__pt { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--acc) 72%, transparent); box-shadow: 0 0 0 2px var(--lx-snow); transform: translate(-50%, -50%); outline: none; }
.lx-obs__pt:hover, .lx-obs__pt:focus-visible { z-index: 3; background: var(--acc); width: 15px; height: 15px; }
.lx-obs__hover { position: absolute; z-index: 6; top: 0; padding: 7px 10px; border-radius: 6px; background: var(--lx-text); color: var(--lx-bg); font: 600 .78rem/1.35 var(--lx-display); white-space: nowrap; pointer-events: none; transform: translateX(-50%); }
.lx-obs__hover b { display: block; margin-bottom: 2px; font-weight: 800; }
.lx-obs__hover i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--c); }
.lx-obs__cross { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--lx-muted); pointer-events: none; }

/* Horizontal bars */
.lx-obs__bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lx-obs__bars li { display: grid; grid-template-columns: minmax(96px, 36%) 1fr; align-items: center; gap: 12px; font: 600 .86rem/1.25 var(--lx-display); }
.lx-obs__bars li > span { min-width: 0; overflow-wrap: anywhere; }
.lx-obs__bars em { display: block; color: var(--lx-muted); font: 500 .74rem/1.3 var(--lx-display); font-style: normal; }
.lx-obs__bars b { display: flex; align-items: center; gap: 8px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lx-obs__bars b i { flex: none; width: calc(var(--v) * (100% - 76px)); min-width: 2px; height: 14px; border-radius: 0 4px 4px 0; background: color-mix(in srgb, var(--acc) 34%, var(--lx-snow)); }
.lx-obs__bars li.is-hi b i { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, var(--lx-snow)), var(--acc)); }
.lx-obs__bars li.is-proj b i { background: repeating-linear-gradient(135deg, var(--obs-0) 0 5px, color-mix(in srgb, var(--obs-0) 35%, transparent) 5px 8px); }
.lx-obs__bars li.is-gap { color: var(--lx-muted); }

.lx-obs__bars.is-div li.is-pos b i { background: var(--acc); }
.lx-obs__bars.is-div li.is-neg b i { background: var(--obs-3); }
/* Mini stats, pending, data tables */
.lx-obs__mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--lx-line); border: 2px solid var(--lx-line); }
.lx-obs__mini div { padding: 16px; background: var(--lx-snow); }
.lx-obs__mini strong { display: block; color: var(--acc-ink); font: 900 clamp(1.7rem, 3vw, 2.3rem)/1 var(--lx-display); font-variant-numeric: tabular-nums; }
.lx-obs__mini span { display: block; margin-top: 6px; color: var(--lx-muted); font: 600 .76rem/1.35 var(--lx-display); }
.lx-obs__pending { display: grid; place-items: center; min-height: 200px; padding: 20px; border: 2px dashed var(--lx-line); color: var(--lx-muted); font: 600 .9rem/1.4 var(--lx-display); text-align: center; }
.lx-obs__data { min-width: 0; max-width: 100%; margin-top: 12px; font-size: .82rem; }
.lx-obs__data td:first-child { white-space: normal; min-width: 9em; }
.lx-obs__data summary { display: inline-flex; cursor: pointer; color: var(--lx-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lx-obs__scroll { max-width: 100%; max-height: 280px; margin-top: 10px; overflow: auto; border: 1px solid var(--lx-line); }
.lx-obs__data table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lx-obs__data th, .lx-obs__data td { padding: 6px 10px; border-bottom: 1px solid var(--lx-line); text-align: left; white-space: nowrap; }
.lx-obs__data th { position: sticky; top: 0; background: var(--lx-snow); }

/* Method */
.lx-obs__prose { max-width: 72ch; font: 400 1.12rem/1.6 var(--lx-serif); }
.lx-obs__prose li { margin-bottom: .6em; }
.lx-obs__prose strong { font-family: var(--lx-display); font-size: .92em; }

@media (max-width: 520px) {
  .lx-obs__chart { padding-left: 38px; padding-right: 64px; }
  .lx-obs__plot.is-cols { margin-right: -56px; }
  .lx-obs__end { left: calc(100% + 8px); font-size: .66rem; }
  .lx-obs__end small { display: none; }
  .lx-obs__bars li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Scroll reveal (only when JS opted in and motion is allowed): cards fade up, lines draw left to right, bars grow. */
@media (prefers-reduced-motion: no-preference) {
  .lx-obs-anim .lx-obs__card, .lx-obs-anim .lx-obs__kpis li { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .lx-obs-anim .lx-obs__kpis li:nth-child(2) { transition-delay: .06s; } .lx-obs-anim .lx-obs__kpis li:nth-child(3) { transition-delay: .12s; }
  .lx-obs-anim .lx-obs__kpis li:nth-child(4) { transition-delay: .18s; } .lx-obs-anim .lx-obs__kpis li:nth-child(5) { transition-delay: .24s; } .lx-obs-anim .lx-obs__kpis li:nth-child(6) { transition-delay: .3s; }
  .lx-obs-anim .is-in .lx-obs__card, .lx-obs-anim .lx-obs__card.is-in, .lx-obs-anim .is-in > li { opacity: 1; transform: none; }
  .lx-obs-anim .lx-obs__plot svg, .lx-obs-anim .lx-obs__spark { clip-path: inset(-12px 100% -12px -12px); transition: clip-path 1.5s cubic-bezier(.45, .05, .25, 1) .25s; }
  .lx-obs-anim .is-in .lx-obs__plot svg, .lx-obs-anim .is-in .lx-obs__spark { clip-path: inset(-12px -12px -12px -12px); }
  .lx-obs-anim .lx-obs__dot, .lx-obs-anim .lx-obs__end { opacity: 0; transition: opacity .5s ease 1.5s; }
  .lx-obs-anim .is-in .lx-obs__dot, .lx-obs-anim .is-in .lx-obs__end { opacity: 1; }
  .lx-obs-anim .lx-obs__cols span { transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2, .7, .2, 1) calc(.2s + var(--i) * 18ms), filter .15s; }
  .lx-obs-anim .is-in .lx-obs__cols span { transform: none; }
  .lx-obs-anim .lx-obs__bars b i { transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s cubic-bezier(.2, .7, .2, 1) calc(.2s + var(--i) * 70ms); }
  .lx-obs-anim .is-in .lx-obs__bars b i { transform: none; }
  .lx-obs-anim .lx-obs__pt { opacity: 0; scale: .3; transition: opacity .4s ease calc(.2s + var(--i) * 16ms), scale .4s cubic-bezier(.2, .7, .3, 1.4) calc(.2s + var(--i) * 16ms); }
  .lx-obs-anim .is-in .lx-obs__pt { opacity: 1; scale: 1; }
}
