/* Portefeuille et Agentic Hub. Every value comes from fr-system.css. */
.fp-page [id] { scroll-margin-top: 24px; }

/* Header media */
.fp-triptych { display: grid; grid-template-columns: 1fr 1.18fr .92fr; align-items: center; gap: clamp(6px, .7vw, 12px); }
.fp-triptych a { position: relative; display: block; overflow: hidden; aspect-ratio: .52; border-radius: var(--pz-r-md); background: var(--pz-mat); }
.fp-triptych a:nth-child(2) { aspect-ratio: .48; }
.fp-triptych img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .67, .3, 1); }
.fp-triptych span { position: absolute; inset: auto 0 0; padding: 32px 12px 12px; background: var(--pz-scrim); color: var(--pz-white); font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); }
.fp-triptych a::after { content: '↗' / ''; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--pz-r-pill); background: var(--pz-backdrop); color: var(--pz-white); font-size: var(--pz-fs-small); }
.fp-hub-cover h1 { max-width: 14ch; }

/* Figures */
.fp-stats { padding-block: 32px; }
.fp-stats > p { margin-top: 16px; }
.fp-stat-qualifier { margin-top: 4px; }
.fp-hub .pz-stat-label { text-transform: lowercase; }
.fp-hub .pz-stat-label::first-letter { text-transform: uppercase; }

/* Company directory */
/* One pill bar follows the reader: a link per category (the one being read is marked), then the search field */
.fp-directory-controls [aria-disabled="true"] { opacity: .45; cursor: default; }
.fp-group[data-group="filiales"] .fp-subsidiary { display: none; }
.fp-directory .fp-company { scroll-margin-top: 96px; }
.fp-group { margin-top: clamp(40px, 5vw, 72px); }
.fp-note { margin-top: 8px; color: var(--pz-muted); }
.fp-company-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 36px) var(--pz-gap); list-style: none; padding: 0; }
.fp-group > .fp-company-list { margin-top: 24px; }
.fp-company { min-width: 0; }
.fp-company-body { display: grid; grid-template-columns: clamp(64px, 6vw, 88px) minmax(0, 1fr); align-items: start; gap: 16px; height: 100%; text-decoration: none; }
.fp-company a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.fp-company-art { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; border-radius: var(--pz-r-sm); background: var(--pz-paper); }
.fp-company-art.fp-brand-dark { background: var(--pz-deep-raised); }
.fp-company-art img { transition: transform .55s ease; }
.fp-brand-identity { width: 76%; height: 64%; max-width: 14rem; object-fit: contain; }
.fp-brand-picture { width: 100%; height: 100%; object-fit: cover; }
.fp-chief-picture { object-position: 69% center; }
.fp-company-initial { color: var(--pz-muted); font-size: var(--pz-fs-h2); font-weight: var(--pz-fw-display); line-height: 1; }
.fp-subsidiary { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: var(--pz-r-pill); background: var(--pz-white); color: var(--pz-ink); font-size: var(--pz-fs-xs); font-weight: var(--pz-fw-semi); }
.fp-company-text { min-width: 0; }
.fp-sector { color: var(--pz-muted); font-size: var(--pz-fs-xs); line-height: 1.3; }
.fp-company-text h3 { margin-block: 4px; font-size: var(--pz-fs-h4); line-height: 1.3; letter-spacing: -.02em; }
.fp-company a h3::after { content: '↗' / ''; display: inline-block; margin-left: .35em; color: var(--pz-muted); font-size: var(--pz-fs-xs); vertical-align: .15em; }
.fp-company-text > p:not(.fp-sector) { color: var(--pz-muted); font-size: var(--pz-fs-small); line-height: 1.45; }
.fp-card-link { display: block; margin-top: 8px; color: var(--pz-red-ink); font-size: var(--pz-fs-xs); font-weight: var(--pz-fw-semi); text-decoration: underline; text-underline-offset: .18em; }
.fp-company:target .fp-company-body { outline: 2px solid var(--pz-red); outline-offset: 4px; }
.fp-flagships .fp-company-list { gap: var(--pz-gap); }
.fp-group[data-group="phares"] .fp-company-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fp-flagships .fp-company-body { display: flex; flex-direction: column; gap: 0; }
.fp-flagships .fp-company-art { width: 100%; aspect-ratio: 1.7; border-radius: var(--pz-r-md); }
.fp-flagships .fp-brand-identity { width: 58%; height: 39%; }
.fp-flagships .fp-brand-picture { object-position: 50% 43%; }
.fp-flagships .fp-company-text { padding: 16px 0 8px; }
.fp-flagships .fp-company-text h3 { font-size: var(--pz-fs-h3); line-height: 1.2; letter-spacing: -.03em; }
.fp-visual-sources { max-width: 80ch; margin-top: 24px; color: var(--pz-muted); font-size: var(--pz-fs-small); }
.fp-visual-sources summary { display: inline-flex; align-items: center; gap: 12px; padding-block: 12px; font-weight: var(--pz-fw-semi); }
.fp-visual-sources p { padding-bottom: 12px; line-height: 1.6; }
.fp-empty { padding-block: 32px; }
/* Content: brand colours of the portfolio companies, taken from their identities. */
#venture-billy .fp-brand { background: #191622; }
#venture-bubblemaps .fp-brand { background: #271c37; }
#venture-kiln .fp-brand { background: #282722; }
#venture-zama .fp-brand { background: #ffd200; }

/* Dark bands: thesis and lab */
.fp-thesis-inside { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 32px var(--pz-col-gap); }
.fp-thesis-copy > p:not(.pz-kicker) { max-width: 46ch; margin-block: 16px 24px; color: var(--pz-on-deep-muted); }
.fp-lenses > div { padding-block: 20px; border-top: 1px solid var(--pz-line-on-deep); }
.fp-lenses p { margin-top: 8px; color: var(--pz-on-deep-muted); }
/* Artificial Lab: a heading row, then the three steps as numbered cards. The last step,
   the one that speaks to the visitor, is the light card. */
.fp-lab-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 24px var(--pz-col-gap); }
.fp-lab-intro > p { max-width: 58ch; color: var(--pz-on-deep-muted); }
.fp-lab-intro .pz-actions { margin-top: 20px; }
.fp-lab-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pz-gap); margin-top: clamp(36px, 5vw, 72px); padding: 0; list-style: none; }
.fp-lab-steps li { display: flex; flex-direction: column; min-height: clamp(250px, 23vw, 350px); padding: clamp(24px, 2.4vw, 36px); border-radius: var(--pz-r-lg); background: var(--pz-deep-raised); }
.fp-lab-number { margin-bottom: clamp(40px, 5.5vw, 88px); color: var(--pz-red-soft); font-size: var(--pz-fs-stat); font-weight: var(--pz-fw-display); line-height: 1; letter-spacing: -.05em; }
.fp-lab-steps h3 { max-width: 17ch; }
.fp-lab-steps p { margin-top: 10px; color: var(--pz-on-deep-muted); }
.fp-lab-steps li:last-child { background: var(--pz-white); color: var(--pz-ink); }
.fp-lab-steps li:last-child .fp-lab-number { color: var(--pz-red); }
.fp-lab-steps li:last-child p { color: var(--pz-muted); }

/* Allocation and co-investors */
.fp-allocation h2 { max-width: 22ch; }
.fp-allocation figcaption { margin-top: 16px; color: var(--pz-muted); font-size: var(--pz-fs-lead); }
/* Allocation: the life of a company as one rising line, cut into three equal stages.
   When the chart comes into view (fr-portfolio.js), the stages play one after the other:
   early stages, then growth, then pre-IPO. Each stage is uncovered from left to right. */
.fp-allocation :is(.fp-lifecycle, .fp-allocation-bar, dl) > :nth-child(3n + 1) { --fp-segment: var(--pz-red); --fp-step: 0; }
.fp-allocation :is(.fp-lifecycle, .fp-allocation-bar, dl) > :nth-child(3n + 2) { --fp-segment: var(--pz-ink); --fp-step: 1; }
.fp-allocation :is(.fp-lifecycle, .fp-allocation-bar, dl) > :nth-child(3n) { --fp-segment: var(--pz-line-strong); --fp-step: 2; }
.fp-lifecycle { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: clamp(130px, 17vw, 230px); margin-top: clamp(28px, 3.5vw, 48px); }
.fp-lifecycle-stage { position: relative; min-width: 0; }
.fp-lifecycle-stage + .fp-lifecycle-stage { box-shadow: -1px 0 var(--pz-line); }
.fp-lifecycle svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.fp-lifecycle-area { fill: var(--fp-segment); fill-opacity: .07; stroke: none; }
.fp-lifecycle-line { fill: none; stroke: var(--fp-segment); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fp-lifecycle i { position: absolute; width: 14px; height: 14px; border: 3px solid var(--pz-white); border-radius: var(--pz-r-pill); background: var(--fp-segment); translate: -50% -50%; }
.fp-lifecycle i:nth-of-type(1) { top: 89%; left: 0; translate: -3px -50%; }
.fp-lifecycle i:nth-of-type(2) { top: 75%; left: calc(100% / 3); }
.fp-lifecycle i:nth-of-type(3) { top: 35%; left: calc(200% / 3); }
.fp-allocation .fp-lifecycle i:nth-of-type(4) { top: 9%; left: 100%; --fp-segment: var(--pz-line-strong); --fp-step: 3; translate: calc(-100% + 3px) -50%; }
.fp-allocation-bar { display: flex; gap: 3px; height: 6px; }
.fp-allocation-bar > span { flex-shrink: 1; background: var(--fp-segment); }
.fp-allocation dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin-top: 20px; }
.fp-allocation dl > div { min-width: 0; padding-right: clamp(16px, 3vw, 48px); }
.fp-allocation dt { font-size: var(--pz-fs-h4); font-weight: var(--pz-fw-bold); line-height: 1.3; letter-spacing: -.02em; }
.fp-allocation-share { display: block; margin-bottom: 6px; color: var(--fp-segment); font-size: var(--pz-fs-stat); font-weight: var(--pz-fw-display); line-height: 1.05; letter-spacing: -.04em; font-variant-numeric: diagonal-fractions; }
.fp-allocation dd { max-width: 38ch; margin-top: 6px; color: var(--pz-muted); }
@media screen and (prefers-reduced-motion: no-preference) {
  .fp-allocation .is-armed :where(.fp-lifecycle-stage, .fp-lifecycle i, .fp-allocation-bar > span, dl > div) { animation: .7s cubic-bezier(.45, 0, .25, 1) calc(var(--fp-step) * .75s) both paused; }
  .fp-allocation .is-armed.is-playing :where(.fp-lifecycle-stage, .fp-lifecycle i, .fp-allocation-bar > span, dl > div) { animation-play-state: running; }
  .fp-allocation .is-armed .fp-lifecycle-stage { animation-name: fp-uncover; }
  .fp-allocation .is-armed .fp-lifecycle i { animation-name: fp-pop; animation-duration: .3s; }
  .fp-allocation .is-armed .fp-allocation-bar > span { transform-origin: left; animation-name: fp-grow; }
  .fp-allocation .is-armed dl > div { animation-name: fp-rise; animation-duration: .5s; }
  @keyframes fp-uncover { from { clip-path: inset(-12px 100% -12px -12px); } to { clip-path: inset(-12px); } }
  @keyframes fp-pop { from { scale: 0; } }
  @keyframes fp-grow { from { scale: 0 1; } }
  @keyframes fp-rise { from { opacity: 0; translate: 0 12px; } }
}
.fp-partners > p { margin-block: 12px 28px; color: var(--pz-muted); }
.fp-partners ul { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: var(--pz-r-md); background: var(--pz-paper); list-style: none; }
.fp-partners li { display: grid; place-items: center; min-height: 64px; padding: 12px; }
.fp-partners img { width: 100%; max-width: 9rem; height: 2rem; object-fit: contain; filter: brightness(0); opacity: .82; }

/* Hub: a product for each stage */
.fp-journey-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.fp-journey-choice { min-width: 0; text-decoration: none; }
.fp-stage-image { display: block; overflow: hidden; aspect-ratio: 1.52; border-radius: var(--pz-r-md); background: var(--pz-mat); }
.fp-stage-image img { width: 100%; height: 100%; object-fit: cover; }
.fp-stage-label { display: flex; align-items: center; min-height: 48px; padding-block: 12px; border-bottom: 2px solid var(--pz-line); font-size: var(--pz-fs-h4); font-weight: var(--pz-fw-semi); letter-spacing: -.02em; }
.fp-journey-choice:hover .fp-stage-label { border-color: var(--pz-ink); }
.fp-journey-choice[aria-selected="true"] .fp-stage-label { border-color: var(--pz-red); color: var(--pz-red-ink); }
.fp-stage-sheet { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-content: start; column-gap: var(--pz-col-gap); padding-top: clamp(24px, 2.6vw, 40px); }
.fp-journey[data-ready] .fp-stage-sheets { display: grid; }
.fp-journey[data-ready] .fp-stage-sheet { grid-area: 1 / 1; }
.fp-stage-sheet[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.fp-stage-intent > p { max-width: 40ch; margin-top: 10px; color: var(--pz-muted); }
.fp-stage-intent .fp-stage-foot { font-size: var(--pz-fs-small); }
.fp-stage-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); align-items: start; gap: 16px var(--pz-gap); }
.fp-stage-product { min-width: 0; padding-left: 20px; border-left: 1px solid var(--pz-line); }
.fp-stage-product h4 a { text-decoration: none; }
.fp-stage-product h4 a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .18em; }
.fp-stage-product p, .fp-stage-product .fp-points { margin-top: 6px; color: var(--pz-muted); font-size: var(--pz-fs-small); line-height: 1.45; }
.fp-stage-product .fp-stage-launch { display: inline-block; margin-top: 10px; }
.fp-page .fp-points { padding-left: 1.15rem; }
.fp-points li + li { margin-top: 4px; }

/* Hub: the catalogue of tools */
.fp-collection-intro { max-width: 56ch; margin-block: 12px 24px; color: var(--pz-on-deep-muted); }
/* Each tool has its colours, the same as on its card on the home page (studio.css): the card
   gradient (--fp-ground), a light tint and an ink. The tools section is dark: while the reader
   scrolls from one tool to the next, the gradient of the next tool fades in over the previous one
   (fr-portfolio.js sets the opacity of each layer). Without the script the section stays dark. */
#p-mrchief, [data-tool="p-mrchief"] { --fp-tint: #fde6d6; --fp-accent: #8c4a00; --fp-ground: radial-gradient(ellipse at 92% 124%, #9a5100, transparent 62%), linear-gradient(128deg, #532900, #6f3800 64%, #8c4a00); }
#p-echo, [data-tool="p-echo"] { --fp-tint: #e1f1d6; --fp-accent: #3f6c00; --fp-ground: radial-gradient(ellipse at 94% 130%, #548c03, transparent 64%), linear-gradient(126deg, #203805, #315700 70%, #3f6c00); }
#p-rainmaker, [data-tool="p-rainmaker"] { --fp-tint: #ffe2ec; --fp-accent: #b10b69; --fp-ground: radial-gradient(ellipse at 92% 124%, #cc1a7b, transparent 62%), linear-gradient(128deg, #540a31, #84004c 64%, #b10b69); }
#p-paseo-rooms, [data-tool="p-paseo-rooms"] { --fp-tint: #f1e9ff; --fp-accent: #6842aa; --fp-ground: radial-gradient(ellipse at 87% 22%, #35156d 0%, transparent 54%), linear-gradient(138deg, #271058 5%, #552597 43%, #804fbc 72%, #795794); }
#p-codevoucher, [data-tool="p-codevoucher"] { --fp-tint: #ddeeff; --fp-accent: #2757b6; --fp-ground: radial-gradient(ellipse at 92% 124%, #216bd8, transparent 62%), linear-gradient(128deg, #121230, #143b8a 64%, #2757b6); }
#p-grants, [data-tool="p-grants"] { --fp-tint: #f4ead4; --fp-accent: #755900; --fp-ground: radial-gradient(ellipse at 89% 0%, #8a6a02, transparent 65%), linear-gradient(135deg, #443300, #5e4700 65%, #755900); }
#p-adsgroom, [data-tool="p-adsgroom"] { --fp-tint: #d9f2ed; --fp-accent: #12657a; --fp-ground: linear-gradient(128deg, #083448, #12657a 67%, #386f79); }
.fp-products { --pz-line: color-mix(in srgb, var(--pz-white) 24%, transparent); position: relative; isolation: isolate; }
.fp-ground { position: absolute; inset: 0; z-index: -1; overflow: clip; pointer-events: none; }
.fp-ground-view { position: sticky; top: 0; height: 100vh; height: 100lvh; }
.fp-ground i { position: absolute; inset: 0; opacity: 0; background: var(--fp-ground); }
.fp-products :focus-visible { outline-color: var(--pz-white); }
.fp-products :is(.fp-gallery, .fp-product-index) :focus-visible { outline-color: var(--pz-red-ink); }
.fp-product-index { position: sticky; top: calc(var(--pz-header) + 4px); z-index: 3; }
.fp-page .fp-product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 4.5vw, 80px); padding-block: clamp(48px, 6vw, 96px); }
/* A tool reached from the tool bar: its content starts 30px below the bar (bar 54px high, under the header) */
.fr-internal .fp-page .fp-products .fp-product { scroll-margin-top: calc(var(--pz-header) + 12px - clamp(48px, 6vw, 96px)); }
.fp-page .fp-product:last-child { padding-bottom: 0; }
.fp-product-copy h3 { font-size: var(--pz-fs-h2); font-weight: var(--pz-fw-display); line-height: 1.08; letter-spacing: -.045em; }
.fp-product-copy .pz-kicker { margin-bottom: 10px; color: var(--pz-white); }
.fp-product-copy > p:not(.pz-kicker) { max-width: 40ch; margin-top: 12px; font-size: var(--pz-fs-lead); line-height: 1.45; letter-spacing: -.015em; }
.fp-product-copy .pz-actions { margin-top: 20px; }
.fp-product-detail { max-width: 44ch; margin-top: 16px; border-top: 0; }
.fp-product-detail > summary { min-height: 48px; font-size: var(--pz-fs-small); }
.fp-product-detail .fp-points { margin: 4px 0 12px; font-size: var(--pz-fs-small); }
.fp-product-detail p { color: var(--pz-on-deep-muted); font-size: var(--pz-fs-small); }
.fp-resources { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-block: 8px 12px; }
.fp-gallery { min-width: 0; overflow: hidden; border-radius: var(--pz-r-lg); background: var(--pz-white); color: var(--pz-ink); box-shadow: var(--pz-shadow); }
.fp-filmstrip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.fp-gallery[data-enhanced] .fp-filmstrip { scrollbar-width: none; }
.fp-gallery[data-enhanced] .fp-filmstrip::-webkit-scrollbar { display: none; }
.fp-filmstrip figure { display: flex; flex: 0 0 100%; flex-flow: column; min-width: 0; scroll-snap-align: start; }
.fp-filmstrip figure a { display: grid; place-items: center; aspect-ratio: 1.76; padding: clamp(12px, 2vw, 32px); overflow: hidden; background: color-mix(in srgb, var(--fp-tint, var(--pz-mat)) 45%, var(--pz-white)); cursor: zoom-in; }
.fp-filmstrip figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(var(--pz-shadow)); }
.fp-filmstrip figcaption { padding: 14px 16px; font-size: var(--pz-fs-small); line-height: 1.4; }
.fp-film-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px 14px; font-size: var(--pz-fs-small); font-variant-numeric: tabular-nums; }
.fp-film-controls button { display: grid; place-content: center; width: 44px; height: 44px; border: 1px solid var(--pz-line); border-radius: var(--pz-r-pill); background: var(--pz-white); color: var(--pz-ink); cursor: pointer; }
.fp-film-controls button span { font-size: var(--pz-fs-h3); line-height: .95; }
.fp-film-controls button:disabled { opacity: .4; cursor: default; }
/* Closing block: one card. The question on the left; on the right the seven tools in their
   own tint and one free slot for the tool that does not exist yet. */
.fp-contact-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 36px var(--pz-col-gap); padding: clamp(28px, 5vw, 80px); border-radius: var(--pz-r-lg); background: var(--pz-paper); }
.fp-contact-copy h2 { max-width: 20ch; }
.fp-contact-copy > p { max-width: 52ch; margin-block: 14px 26px; color: var(--pz-muted); }
.fp-contact-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.fp-contact-slots :is(a, span) { display: flex; align-items: center; min-height: 56px; padding: 10px 18px; border-radius: var(--pz-r-md); }
.fr-internal .fp-contact-slots a { background: var(--fp-tint); color: var(--pz-ink); font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); letter-spacing: -.01em; text-decoration: none; transition: color .15s ease-out; }
.fr-internal .fp-contact-slots a:hover { color: var(--fp-accent); }
.fp-contact-open span { justify-content: center; border: 1px dashed var(--pz-line-strong); color: var(--pz-muted); font-size: var(--pz-fs-h3); line-height: 1; }

/* Enlarged screenshot */
.fp-lightbox { box-sizing: border-box; width: min(94vw, 1400px); max-width: 100vw; max-height: 96dvh; margin: auto; padding: clamp(12px, 1.5vw, 24px); overflow: auto; overscroll-behavior: contain; border: 0; border-radius: var(--pz-r-lg); background: var(--pz-ink); color: var(--pz-white); }
.fp-lightbox::backdrop { background: var(--pz-backdrop); }
.fp-lightbox header, .fp-lightbox-title, .fp-lightbox figcaption, .fp-large-nav { display: flex; align-items: center; gap: 12px; }
.fp-lightbox header { gap: 8px; margin-bottom: 12px; }
.fp-lightbox-title { flex-wrap: wrap; gap: 2px 12px; margin-right: auto; line-height: 1.2; }
.fp-lightbox-title span { color: var(--pz-on-deep-muted); font-size: var(--pz-fs-small); font-variant-numeric: tabular-nums; }
.fp-page .fp-lightbox button { display: grid; place-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--pz-line-on-deep); border-radius: var(--pz-r-pill); background: var(--pz-deep-raised); color: var(--pz-white); font-family: inherit; font-size: var(--pz-fs-small); font-weight: var(--pz-fw-semi); line-height: 1; cursor: pointer; }
.fp-page .fp-lightbox [aria-pressed="true"], .fp-page .fp-lightbox form button { border-color: var(--pz-white); background: var(--pz-white); color: var(--pz-ink); }
.fp-lightbox-viewport { display: grid; place-items: center; width: 100%; height: clamp(200px, 54vw, 68dvh); overflow: auto; overscroll-behavior: contain; border-radius: var(--pz-r-md); background: var(--pz-deep-raised); }
.fp-lightbox-viewport img { width: 100%; height: 100%; object-fit: contain; }
.fp-zoomed .fp-lightbox-viewport { display: block; height: 68dvh; }
.fp-zoomed .fp-lightbox-viewport img { width: auto; min-width: 100%; max-width: none; height: auto; }
.fp-lightbox figcaption { justify-content: space-between; margin-top: 12px; font-size: var(--pz-fs-small); }
.fp-large-nav { flex: none; gap: 6px; }
.fp-page .fp-large-nav button { width: 44px; padding: 0 0 3px; font-size: var(--pz-fs-h3); }
.fp-page .fp-large-nav button:disabled { opacity: .45; cursor: default; }
.fp-lightbox :is(button, .fp-lightbox-viewport):focus-visible { outline: 2px solid var(--pz-white); outline-offset: 2px; }
:root:has(.fp-lightbox[open]) { overflow: hidden; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fp-triptych a:hover img, .fp-company a:hover img { transform: scale(1.045); }
  .fp-stage-image img { transition: transform .5s cubic-bezier(.2, .7, .25, 1); }
  .fp-journey-choice:hover img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: no-preference) {
  .fp-triptych a { animation: fp-print-in .65s cubic-bezier(.2, .78, .3, 1) backwards; }
  .fp-triptych a:nth-child(2) { animation-delay: 65ms; }
  .fp-triptych a:nth-child(3) { animation-delay: 120ms; }
  .fp-lightbox[open] { animation: fp-sheet-in .25s cubic-bezier(.21, .65, .25, 1); }
  @keyframes fp-print-in { from { opacity: .35; transform: translateY(13px); } }
  @keyframes fp-sheet-in { from { opacity: .3; translate: 0 5px; } }
}
@media (max-width: 1050px) {
  .fp-company-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-flagships .fp-company-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fp-group[data-group="phares"] .fp-company-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .fp-thesis-inside, .fp-lab-head, .fp-lab-steps, .fp-contact-card, .fp-page .fp-product, .fp-stage-sheet { grid-template-columns: minmax(0, 1fr); }
  .fp-lab-steps li { min-height: 0; }
  .fp-lab-number { margin-bottom: 20px; }
  .fp-stage-sheet { row-gap: 20px; }
  .fp-journey[data-ready] .fp-stage-sheet[aria-hidden="true"] { display: none; }
  .fp-triptych { max-width: 460px; }
  .fp-filmstrip figure a { aspect-ratio: 1.5; }
}
@media (max-width: 1100px) {
  /* Narrower screens: categories on a first row, search and count on a second */
  .fp-directory .fp-company { scroll-margin-top: 150px; }
}
@media (max-width: 650px) {
  .fp-company-list, .fp-allocation dl { grid-template-columns: minmax(0, 1fr); }
  .fp-flagships .fp-company-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-flagships .fp-company-art { aspect-ratio: 1.32; }
  .fp-allocation dl { gap: 20px; margin-top: 24px; }
  .fp-partners ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fp-partners li { min-height: 44px; padding: 6px; }
  .fp-journey-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .fp-stage-image { aspect-ratio: 1.85; }
}
@media (max-width: 420px) {
  .fp-partners ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (forced-colors: active) {
  .fp-directory-controls [aria-current] { border: 2px solid Highlight; }
}
@media print {
  .fp-directory-controls, .fp-product-index, .fp-film-controls, .fp-product-detail > summary { display: none; }
  .fp-filmstrip { display: block; }
  .fp-filmstrip figure { break-inside: avoid; }
  .fp-product-detail::details-content { display: block; content-visibility: visible; }
  .fp-journey-choices { display: none; }
  .fp-journey[data-ready] .fp-stage-sheet { display: grid; grid-area: auto; visibility: visible; break-inside: avoid; }
}
