/* GENERATED by scripts/build-css.mjs from src/styles/jette-ai/*.css. Do not edit. Tokens: tokens-jette-ai.css */

/* ── 10-primitives.css ── */
/* Penpot: label/section, chip/suggestion, link/all — tokens only */
.label-section { color: var(--color-text-label); }
.label-section--inverse { color: var(--color-text-inverse-secondary); }

.chip {
  display: inline-flex; align-items: center; gap: var(--space-inline-xs);
  padding: var(--space-inset-xs) var(--space-inset-sm); border-radius: var(--radius-pill);
  border: var(--border-width-default) solid var(--color-border-subtle);
  background: var(--color-bg-subtle); color: var(--color-text-accent); cursor: pointer;
}
.chip--suggestion { border-color: var(--color-border-inverse); background: var(--color-bg-inverse-subtle); color: var(--color-text-inverse-primary); }
.chip--suggestion:hover { background: var(--color-bg-accent-hover); border-color: var(--color-bg-accent-hover); }
.chip:focus-visible { outline: var(--border-width-focus) solid var(--color-focus-ring-inverse); outline-offset: var(--space-inline-xs); }

.link-all { display: inline-flex; align-items: center; gap: var(--space-inline-xs); min-height: var(--size-target-min); box-sizing: border-box; padding: var(--space-inset-sm) var(--space-inset-md);
  border-radius: var(--radius-pill); border: var(--border-width-default) solid var(--color-border-accent); color: var(--color-text-accent); text-decoration: none; }
.link-all svg { width: 1rem; height: 1rem; flex: 0 0 auto; }
.link-all:focus-visible { outline: var(--border-width-focus) solid var(--color-focus-ring); outline-offset: var(--space-inline-xs); }

/* ── 20-hero-chat.css ── */
/* Penpot: input/chat-on-dark, chip/suggestion, msg/user + msg/jette, reset — the conversation inside the hero (JetteBubble is gone).
   Text on the dark hero is always the inverse colour; the answer bubble is the one light surface. */
.one-ask { display: flex; align-items: center; gap: var(--space-inline-xs); width: 100%; max-width: 35rem; box-sizing: border-box;
  padding: var(--space-inset-xs) var(--space-inset-xs) var(--space-inset-xs) var(--space-inset-md);
  border: var(--border-width-default) solid var(--color-border-inverse); border-radius: var(--radius-control); background: var(--color-bg-inverse-subtle); }
.one-ask:focus-within { border-color: var(--color-text-inverse-secondary); }
/* 17 px: smaller text makes iOS zoom into the field on focus */
.one-ask__input { flex: 1; min-width: 0; height: var(--size-target-min); border: 0; background: none; color: var(--color-text-inverse-primary); outline: none;
  font-family: var(--type-body-default-font); font-size: var(--type-body-default-size); font-weight: var(--type-body-default-weight); line-height: var(--type-body-default-line); }
.one-ask__input::placeholder { color: var(--color-text-inverse-secondary); opacity: 1; }
.one-ask__send { flex: 0 0 var(--size-target-min); width: var(--size-target-min); height: var(--size-target-min); display: grid; place-items: center; padding: 0; border: 0;
  border-radius: var(--radius-control); background: var(--color-bg-accent); color: var(--color-text-on-accent); cursor: pointer; }
.one-ask__send:hover { background: var(--color-bg-accent-hover); }
.one-ask__send[disabled] { opacity: .5; cursor: default; }
.one-ask__send svg { width: var(--size-icon-md); height: var(--size-icon-md); }
.one-ask__send:focus-visible { outline: var(--border-width-focus) solid var(--color-focus-ring-inverse); outline-offset: var(--space-inline-xs); }

.one-chips { display: flex; flex-wrap: wrap; gap: var(--space-inline-sm); max-width: 35rem; }
.one-chips .chip { min-height: var(--size-target-min); padding-inline: var(--space-inset-md); box-sizing: border-box; }
.one-chips .chip[disabled] { opacity: .5; cursor: default; }

.one-thread { display: flex; flex-direction: column; gap: var(--space-stack-sm); width: 100%; max-width: 35rem;
  /* capped: about half the viewport on the phone, 320 px from 900 px; the thread scrolls inside, the statement, input and chips stay put */
  max-height: 50svh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.one-thread::-webkit-scrollbar { display: none; }
/* once the thread outgrows its cap the older messages fade out at the top (no scrollbar is shown); the newest stays in full */
.one-thread[data-fade] { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 8px, black 88px); mask-image: linear-gradient(to bottom, transparent 0, transparent 8px, black 88px); }
@media (min-width: 900px) { .one-thread { max-height: 320px; } }
.msg { max-width: 92%; min-width: 0; }
.msg p { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.msg--u { align-self: flex-end; padding: var(--space-inset-sm) var(--space-inset-md); border-radius: var(--radius-card) var(--radius-card) var(--bubble-radius-tail) var(--radius-card);
  background: var(--color-bg-accent); color: var(--color-text-on-accent);
  font-family: var(--type-body-small-font); font-size: var(--type-body-small-size); line-height: var(--type-body-small-line); }
.msg--j { align-self: flex-start; display: flex; flex-direction: column; gap: var(--space-stack-sm); max-width: 100%; }
.msg--j > p { padding: var(--space-inset-sm) var(--space-inset-md); border: var(--border-width-default) solid var(--color-border-subtle);
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) var(--bubble-radius-tail); background: var(--color-bg-surface); color: var(--color-text-primary);
  font-family: var(--type-body-small-font); font-size: var(--type-body-small-size); line-height: var(--type-body-small-line); }
.msg__link { color: var(--color-text-accent); }
.msg--typing > p { display: inline-flex; align-items: center; gap: var(--space-inline-xs); }
.msg--typing > p span { width: .3rem; height: .3rem; border-radius: var(--radius-pill); background: var(--color-bg-accent); opacity: .35; animation: one-dot 1.2s ease-in-out infinite; }
.msg--typing > p span:nth-child(2) { animation-delay: .2s; }
.msg--typing > p span:nth-child(3) { animation-delay: .4s; }
@keyframes one-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

.one-reset { align-self: flex-start; min-height: var(--size-target-min); padding: var(--space-inset-sm) 0; border: 0; background: none; cursor: pointer;
  color: var(--color-text-inverse-secondary); text-decoration: underline; text-underline-offset: 4px; }
.one-reset[disabled] { opacity: .5; cursor: default; }
.one-reset:focus-visible { outline: var(--border-width-focus) solid var(--color-focus-ring-inverse); outline-offset: var(--space-inline-xs); }

/* answer cards under 1200 px: below the answer, in the thread (the card itself is card/hologram, 30-card-deal.css) */
.one-holos { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-inline-md); width: 100%; }
.one-holos .deal-card { width: auto; }
@media (min-width: 620px) { .one-holos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-motion="on"] .one-holos .deal-card { animation: one-deal-in .7s cubic-bezier(.2, .7, .2, 1) both; }
[data-motion="on"] .one-holos .deal-card:nth-child(2) { animation-delay: .14s; }
@keyframes one-deal-in { from { transform: translate(60px, 24px) rotate(6deg) scale(.86); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) { .msg--typing > p span { animation: none; } }

/* ── 30-card-deal.css ── */
/* Penpot: card/hologram → card/post. One element travels; --k (0..1) is set by the motion hook:
   0 = hologram glass, 1 = white post card. Without JS --k stays 0 and the card is a plain hologram. */
.deal-card {
  --k: 0;
  --deal-width: 15.5rem;
  position: relative; width: var(--deal-width); overflow: hidden;
  display: flex; flex-direction: column; gap: var(--space-stack-sm);
  padding: var(--space-inset-md);
  background: color-mix(in srgb, var(--color-bg-surface) calc(var(--k) * 100%), var(--card-holo-bg));
  color: color-mix(in srgb, var(--color-text-primary) calc(var(--k) * 100%), var(--color-text-inverse-primary));
  border: var(--border-width-default) solid color-mix(in srgb, var(--color-border-subtle) calc(var(--k) * 100%), var(--card-holo-border));
  border-radius: calc(var(--card-holo-radius) + (var(--radius-card) - var(--card-holo-radius)) * var(--k));
  will-change: transform, opacity;
}
.deal-card__media { margin: calc(var(--space-inset-md) * -1) calc(var(--space-inset-md) * -1) 0; height: calc(var(--deal-media-height, 9rem) * var(--k)); opacity: calc((var(--k) - .2) * 1.6); background: center / cover no-repeat; }
.deal-card__meta { display: flex; justify-content: space-between; gap: var(--space-inline-sm); white-space: nowrap; }
.deal-card__meta { color: color-mix(in srgb, var(--color-text-secondary) calc(var(--k) * 100%), var(--color-text-inverse-primary)); }
.deal-card__title { margin: 0; }
.deal-card__excerpt { margin: 0; opacity: .9; }
.deal-card__more { display: inline-flex; align-items: center; gap: var(--space-inline-xs); text-decoration: none; color: color-mix(in srgb, var(--color-text-accent) calc(var(--k) * 100%), var(--color-text-inverse-primary)); }
.deal-card__more svg { width: 1rem; height: 1rem; }
/* corner brackets of the hologram fade out while it becomes a card */
.deal-card__corner { position: absolute; width: .75rem; height: .75rem; border: 0 solid var(--color-line-callout); opacity: calc(1 - var(--k) * 1.6); pointer-events: none; }
.deal-card__corner--tl { left: -1px; top: -1px; border-left-width: var(--border-width-focus); border-top-width: var(--border-width-focus); }
.deal-card__corner--tr { right: -1px; top: -1px; border-right-width: var(--border-width-focus); border-top-width: var(--border-width-focus); }
.deal-card__corner--bl { left: -1px; bottom: -1px; border-left-width: var(--border-width-focus); border-bottom-width: var(--border-width-focus); }
.deal-card__corner--br { right: -1px; bottom: -1px; border-right-width: var(--border-width-focus); border-bottom-width: var(--border-width-focus); }
.deal-card:hover { border-color: var(--color-text-inverse-secondary); }
.deal-card--compact .deal-card__excerpt { display: none; }

/* ── 40-hero-one.css ── */
/* Penpot pattern: hero/one-sentence (width 375 / 1440, state rest | talking). One statement, one chat input, the conversation opens
   inside the hero. Layers for the parallax, back to front: photo (plate) -> Jette -> answer cards. Motion: useHomeMotion.ts,
   which only sets --mx --my --sc --bob1 --bob2 on .one-hero; without it every var stays 0 and the page is the static layout. */
.one { --home-nav: 61px; background: var(--color-bg-page); color: var(--color-text-primary); overflow-x: clip; }
.one-hero {
  /* TODO token (Penpot job): size.base.264 + hero.photo.height.phone.one; the older --hero-photo-height-phone (360) belongs to the old hero */
  --one-photo-height: 264px;
  /* the hero's REST height: Jette and the floating answer cards are sized and placed from it, never from the live height, so a long
     conversation can neither rescale nor move her (and with her the face the cards must keep clear of) */
  --one-rest-h: max(min(76vh, 700px), 640px);
  --mx: 0; --my: 0; --sc: 0; --bob1: 0px; --bob2: 0px;
  position: relative; overflow: hidden; background: var(--color-bg-inverse); color: var(--color-text-inverse-primary);
}
.one-photo { position: relative; height: var(--one-photo-height); overflow: hidden; }
.one-plate { position: absolute; inset: -4%; background: center 40% / cover no-repeat;
  transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -9px + var(--sc) * 0.22px), 0); will-change: transform; }
.one-fig { position: absolute; left: 50%; top: 10px; height: 360%; aspect-ratio: 701 / 2613; margin-left: -44px;
  transform: translateX(-50%) translateY(calc(var(--sc) * 0.07px)); background: center top / contain no-repeat; }
.one-scrim { display: none; }
.one-lines { display: none; }

.one-in { position: relative; z-index: 3; width: 100%; max-width: 1240px; margin-inline: auto; box-sizing: border-box;
  padding-inline: max(var(--space-gutter-page-phone), env(safe-area-inset-left, 0px)) max(var(--space-gutter-page-phone), env(safe-area-inset-right, 0px)); }
.one-say { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-stack-md); padding-block: var(--space-stack-lg) calc(var(--space-stack-lg) + var(--space-inline-xs)); }
.one-say > * { max-width: 100%; }
.one-eyebrow { margin: 0; color: var(--color-text-inverse-secondary); }

/* the statement: type.display.hero.phone / .desktop at rest, type.display.h1.phone once the conversation has begun */
.one-statement { margin: 0; text-wrap: balance;
  font-family: var(--type-display-hero-phone-font); font-size: var(--type-display-hero-phone-size); font-weight: var(--type-display-hero-phone-weight); font-style: var(--type-display-hero-phone-style); line-height: var(--type-display-hero-phone-line);
  transition: font-size .5s cubic-bezier(.2, .7, .2, 1); }
.one-statement span { display: block; }
.one-statement span:nth-child(2) { color: var(--color-text-inverse-secondary); }
.talking .one-statement { font-size: var(--type-display-h1-phone-size); line-height: var(--type-display-h1-phone-line); }
[data-motion="on"] .one-statement span { animation: one-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
[data-motion="on"] .one-statement span:nth-child(2) { animation-delay: .45s; }
[data-motion="on"] .one-statement span:nth-child(3) { animation-delay: .9s; }
@keyframes one-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 900+: the photo is the hero's background, Jette stands at the right, a scrim keeps the text readable */
@media (min-width: 900px) {
  .one-hero { display: grid; align-items: center; min-height: var(--one-rest-h); }
  .one-photo { position: absolute; inset: 0; height: auto; }
  .one-fig { left: auto; right: 13%; top: calc(var(--one-rest-h) * 0.05); height: calc(var(--one-rest-h) * 2.35); margin-left: 0;
    transform: translate3d(calc(var(--mx) * 20px), calc(var(--my) * 9px + var(--sc) * 0.08px), 0); will-change: transform; }
  .one-scrim { display: block; position: absolute; inset: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-bg-inverse) 94%, transparent) 0%, var(--color-bg-scrim) 40%, transparent 72%); }
  .one-in { padding-inline: max(var(--space-gutter-page-desktop), env(safe-area-inset-left, 0px)) max(var(--space-gutter-page-desktop), env(safe-area-inset-right, 0px)); }
  .one-say { gap: var(--space-stack-lg); padding-block: calc(var(--space-stack-xl) + var(--space-inline-sm)); }
  .one-say > * { max-width: 38.75rem; }
  .one-say > .one-statement { max-width: 43.75rem; }
  /* 900-1199: type.display.h1.desktop (46) — at 56 the first sentence ran into Jette's face at 1024; 1200+: type.display.hero.desktop (as the old hero did) */
  .one-statement { font-family: var(--type-display-h1-desktop-font); font-size: var(--type-display-h1-desktop-size); font-weight: var(--type-display-h1-desktop-weight); font-style: var(--type-display-h1-desktop-style); line-height: var(--type-display-h1-desktop-line); }
  .talking .one-statement { font-size: var(--type-display-h1-phone-size); line-height: var(--type-display-h1-phone-line); }
  .talking .one-say > * { max-width: 32.5rem; }
}

@media (min-width: 1200px) {
  .one-say > .one-statement { max-width: 48rem; } /* wide enough for each sentence on its own line at 56 px */
  .one-statement { font-family: var(--type-display-hero-desktop-font); font-size: var(--type-display-hero-desktop-size); font-weight: var(--type-display-hero-desktop-weight); font-style: var(--type-display-hero-desktop-style); line-height: var(--type-display-hero-desktop-line); }
}
/* 900-1199: the statement column ends left of the figure's hair (25 % of her box): her box is 0.6304 x the rest height wide
   and ends 13 % in from the right, so the hair is at 87vw - 0.4728 x rest height; a sentence may wrap */
@media (min-width: 900px) and (max-width: 1199px) {
  .one-say > .one-statement { max-width: max(12rem, calc(87vw - 0.4728 * var(--one-rest-h) - var(--space-gutter-page-desktop) - var(--space-inline-md))); }
}
/* below 620: the chips are one swipeable row, 44 high, starting at the gutter (full bleed) */
@media (max-width: 619px) {
  .one-say > .one-chips { align-self: stretch; max-width: none; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--space-gutter-page-phone) * -1); padding-inline: var(--space-gutter-page-phone); scroll-padding-inline: var(--space-gutter-page-phone); }
  .one-chips::-webkit-scrollbar { display: none; }
  .one-chips .chip { flex: 0 0 auto; white-space: nowrap; }
}
/* 1200+: the answer cards float beside Jette (left 50 % / top 12 % and left 53 % / top 56 % of the hero's rest height), tied to her by
   callout lines. useHomeMotion moves a card left or down (--gx / --gy) until it clears her face box; if it cannot, the cards go under the answer. */
@media (min-width: 1200px) {
  /* z-index above .one-in (3): the text container spans the hero and used to swallow every click on the cards' links */
  .one-hero > .one-holos { position: absolute; inset: 0; z-index: 4; display: block; pointer-events: none; }
  .one-hero > .one-holos .deal-card { position: absolute; box-sizing: border-box; width: 244px; pointer-events: auto; }
  .one-hero > .one-holos .deal-card:nth-child(1) { left: calc(50% + var(--gx, 0px)); top: calc(var(--one-rest-h) * 0.12 + var(--gy, 0px)); translate: calc(var(--mx) * 30px) calc(var(--my) * 14px + var(--bob1)); }
  .one-hero > .one-holos .deal-card:nth-child(2) { left: calc(53% + var(--gx, 0px)); top: calc(var(--one-rest-h) * 0.56 + var(--gy, 0px)); translate: calc(var(--mx) * 40px) calc(var(--my) * 18px + var(--bob2)); }
  .one-lines { display: block; position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
  .one-lines line { stroke: var(--color-line-callout); stroke-width: var(--border-width-default); }
  .one-lines circle { fill: var(--color-line-callout); }
}
@media (prefers-reduced-motion: reduce) { .one-statement { transition: none; } }

/* ── 50-three-cards.css ── */
/* Penpot pattern: cards/three (width 375 / 1440) + component card/experiment (kind = running | latest | start).
   Desktop (>= 900): the cards are dealt by the scroll (.linked, --p 0..1 set by useHomeMotion); phone: a small pile that settles
   (.pile / .instant). Without JS or under reduced motion none of these classes exist and the cards just stand in a row / a column. */
.one-hand { background: var(--color-bg-page); overflow-x: clip; }
.one-hand__in { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-stack-lg); padding-block: var(--space-stack-xl) calc(var(--space-stack-xl) - var(--space-inset-md) + var(--space-inset-sm)); }
.one-deal { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-gap-grid); width: 100%; }
/* three columns from 620 px (the stack of cards, with its pile-and-settle, is for the phone below); tighter inside below 900 */
@media (min-width: 620px) {
  .one-deal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-inset-md); }
  .xcard__body { padding: var(--space-inset-md); }
}
@media (min-width: 900px) {
  .one-deal { gap: var(--space-gap-grid); }
  .xcard__body { padding: var(--space-inset-lg); padding-top: var(--space-inset-md); }
  .one-hand__in { padding-block: var(--space-stack-xl) var(--space-stack-2xl); }
}

.xcard { display: flex; flex-direction: column; min-width: 0; overflow: hidden; text-decoration: none; color: var(--color-text-primary);
  border: var(--border-width-default) solid var(--color-border-subtle); border-radius: var(--radius-card); background: var(--color-bg-surface);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), border-color .3s ease; }
.xcard:nth-child(2) { transition-delay: .09s; } .xcard:nth-child(3) { transition-delay: .18s; }
.xcard:hover { border-color: var(--color-border-accent); }
.xcard:focus-visible { outline: var(--border-width-focus) solid var(--color-focus-ring); outline-offset: var(--space-inline-xs); }
.xcard__media { aspect-ratio: 3 / 2; max-width: 100%; background: var(--color-bg-subtle) center / cover no-repeat; }
/* running: the floors of the series as bars, published ones solid, planned ones dashed */
.xcard__media--run { display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: var(--space-inset-lg);
  background: color-mix(in srgb, var(--color-bg-inverse) 88%, var(--color-bg-accent)); }
.xcard__media--run i { display: block; height: 9%; border: var(--border-width-default) dashed var(--color-border-holo); border-radius: 2px; }
.xcard__media--run i.done { border-style: solid; border-color: var(--color-text-inverse-secondary); background: var(--color-text-inverse-secondary); }
.xcard__body { display: flex; flex-direction: column; gap: var(--space-stack-sm); flex: 1; padding: var(--space-inset-lg); padding-top: var(--space-inset-md); }
.xcard__tag { margin: 0; color: var(--color-text-accent); }
.xcard__title { margin: 0; text-wrap: balance; }
.xcard__did { margin: 0; color: var(--color-text-secondary); }
.xcard__more { display: inline-flex; align-items: center; gap: var(--space-inline-xs); margin: auto 0 0; padding-top: var(--space-inset-sm); color: var(--color-text-accent); }
.xcard__more svg { width: 1rem; height: 1rem; }

.one-deal.linked .xcard { transition: border-color .3s ease;
  transform: translate(calc((1 - var(--p, 1)) * var(--dx, 0%)), calc((1 - var(--p, 1)) * var(--dy, 0px))) rotate(calc((1 - var(--p, 1)) * var(--dr, 0deg))) scale(calc(1 - (1 - var(--p, 1)) * .18)); }
.one-deal.linked .xcard:nth-child(1) { --dx: 94%; --dy: -210px; --dr: -9deg; }
.one-deal.linked .xcard:nth-child(2) { --dx: 0%; --dy: -240px; --dr: 3deg; }
.one-deal.linked .xcard:nth-child(3) { --dx: -94%; --dy: -210px; --dr: 10deg; }
.one-deal.instant .xcard { transition: none; }
.one-deal.pile .xcard:nth-child(1) { transform: rotate(-2deg); }
.one-deal.pile .xcard:nth-child(2) { transform: translate(0, -160px) rotate(2deg); }
.one-deal.pile .xcard:nth-child(3) { transform: translate(0, -300px) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .xcard { transition: none; } }

/* ── 55-building.css ── */
/* Penpot: component illustration/building (BuildingFloors) — the seven floors as a stack, level 6 on top: published floors solid,
   planned floors dashed. Used in the "building" embed in articles (BuildingCard, variant article) — a card of its own like the
   game and graph embeds, dark, no shadow. */
.bcard { padding: var(--space-inset-lg); border-radius: var(--radius-card); background: color-mix(in srgb, var(--color-bg-inverse) 88%, var(--color-bg-accent)); color: var(--color-text-inverse-primary); }
.bfloors { position: relative; display: flex; flex-direction: column; gap: var(--space-stack-md); }
.bcard .bfloors__stack, .bfloors .bfloors__stack { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-inline-xs); }
.bfloors__stack > li { list-style: none; margin: 0; padding: 0; }
.bfloors__stack > li::marker { content: none; }
.bfloor { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: var(--space-inline-sm); height: 2rem; padding-inline: var(--space-inset-sm); border: var(--border-width-default) dashed var(--color-border-holo); border-radius: 2px; color: var(--color-text-inverse-secondary); cursor: pointer; transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.bfloor--done { border-style: solid; border-color: var(--color-text-inverse-secondary); background: var(--color-text-inverse-secondary); color: var(--color-bg-inverse); }
.bfloor:hover, .bfloor--active { border-style: solid; border-color: var(--color-text-inverse-primary); }
.bfloor--active:not(.bfloor--done) { background: var(--color-bg-inverse-subtle); color: var(--color-text-inverse-primary); }
.bfloor:focus-visible { outline: var(--border-width-focus) solid var(--color-focus-ring-inverse); outline-offset: var(--space-inline-xs); }
.bfloor__level { flex: 0 0 3.5rem; }
.bfloor__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bfloors__read { display: flex; flex-direction: column; gap: var(--space-stack-sm); min-height: 6rem; }
.bfloors__read p { margin: 0; }
.bfloors__status { color: var(--color-text-inverse-secondary); }
.bfloors__parts { color: var(--color-text-inverse-primary); }
.bfloors__facts { color: var(--color-text-inverse-secondary); }
.bfloors__why { color: var(--color-text-inverse-primary); }
.bfloors__idea { color: var(--color-text-inverse-secondary); }
@media (min-width: 700px) {
  .bfloors--article { flex-direction: row; align-items: stretch; gap: var(--space-gap-grid); }
  .bfloors--article .bfloors__stack { flex: 1 1 0; min-width: 0; }
  .bfloors--article .bfloors__read { flex: 1 1 0; min-width: 0; justify-content: center; }
}
/* poured from the ground up when the card comes into view */
[data-motion="on"] .bfloors:not(.is-in) .bfloor, .bfloors--article:not(.is-in) .bfloor { opacity: 0; transform: translateY(8px); }
.bfloors.is-in .bfloor { animation: bfloor-pour .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc((6 - var(--i, 0)) * 80ms); }
@keyframes bfloor-pour { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bfloor { transition: none; animation: none !important; opacity: 1 !important; transform: none !important; } }

/* ── 60-series.css ── */
/* Penpot pattern: series/building — floors of the infrastructure series, level 6 on top */
.series { --home-nav: 61px; background: var(--color-bg-page); color: var(--color-text-primary); padding: var(--space-stack-xl) var(--space-gutter-page-phone); }
.series__intro { display: flex; flex-direction: column; gap: var(--space-stack-md); max-width: 46rem; margin-bottom: var(--space-stack-lg); }
.series__heading { margin: 0; font-family: var(--type-display-h1-phone-font); font-size: var(--type-display-h1-phone-size); font-weight: var(--type-display-h1-phone-weight); font-style: var(--type-display-h1-phone-style); line-height: var(--type-display-h1-phone-line); letter-spacing: var(--type-display-h1-phone-spacing); }
/* Penpot: type.display.h1.phone up to 760 px (the heading used the desktop size, 46 px, on the phone until 10.11.2026) */
@media (min-width: 761px) { .series__heading { font-family: var(--type-display-h1-desktop-font); font-size: var(--type-display-h1-desktop-size); font-weight: var(--type-display-h1-desktop-weight); font-style: var(--type-display-h1-desktop-style); line-height: var(--type-display-h1-desktop-line); letter-spacing: var(--type-display-h1-desktop-spacing); } }
.series__lead { margin: 0; color: var(--color-text-secondary); }
.series__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-gap-grid); align-items: start; }
.series__floors { display: flex; flex-direction: column; gap: var(--space-stack-sm); }
.floor {
  display: grid; grid-template-columns: var(--floor-level-width) minmax(0, 1fr); gap: var(--space-inline-md); align-items: center;
  padding: var(--space-inset-md) var(--space-inset-lg); border-radius: var(--radius-control);
  background: var(--color-bg-surface); border: var(--border-width-default) dashed var(--color-border-subtle);
}
.floor--published { border-style: solid; background: var(--color-bg-subtle); border-color: var(--color-border-accent); }
.floor__level { color: var(--color-text-secondary); display: flex; flex-direction: column; }
.floor__head { display: flex; justify-content: space-between; gap: var(--space-inline-sm); align-items: baseline; }
.floor__status { color: var(--color-text-secondary); }
.floor--published .floor__status { color: var(--color-text-accent); }
.floor__parts { display: flex; flex-wrap: wrap; gap: var(--space-inline-xs); margin-top: var(--space-stack-xs); }
.floor__part { padding: var(--space-inset-xs) var(--space-inset-sm); border-radius: var(--radius-pill); border: var(--border-width-default) solid var(--color-border-subtle); background: var(--color-bg-subtle); }
.series__detail { padding: var(--space-inset-lg); border-radius: var(--radius-card); background: var(--color-bg-surface); border: var(--border-width-default) solid var(--color-border-subtle); display: flex; flex-direction: column; gap: var(--space-stack-sm); }
.series__detail p { margin: 0; color: var(--color-text-secondary); }
.series__note { padding: var(--space-inset-sm) var(--space-inset-md); border-radius: var(--radius-control); background: var(--color-bg-subtle); color: var(--color-text-primary); }
@media (min-width: 761px) { .series { padding-inline: var(--space-gutter-page-desktop); padding-block: var(--space-stack-2xl); } }
@media (min-width: 1000px) { .series__layout { grid-template-columns: minmax(0, 1fr) 20rem; } .series__detail { position: sticky; top: calc(var(--home-nav) + var(--space-stack-md)); } }

/* phone (<= 760): floors that are not selected show level, name and status only; the detail panel sits directly below the
   chosen floor with the same gap as between the floors (Penpot series/building width=375, mobile v2 part 2).
   The list is flattened (display: contents) so the aside can slot in by `order`; desktop and tablet keep list + aside as before. */
@media (max-width: 760px) {
  .series__layout { gap: var(--space-stack-sm); }
  .series__floors { display: contents; }
  /* the chosen floor keeps its chips, the detail panel slots in right below it (inline `order` from SeriesExplorer) */
  .series__floors > .floor:not(.floor--active) .floor__parts { display: none; }
}
.series__article { align-self: flex-start; }

/* floors are buttons now (SeriesExplorer): the row looks as before, the chosen one is marked */
.floor { display: block; padding: 0; }
.floor__button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: var(--floor-level-width) minmax(0, 1fr); gap: var(--space-inline-md); align-items: center; padding: var(--space-inset-md) var(--space-inset-lg); border-radius: var(--radius-control); cursor: pointer; }
.floor__button:focus-visible { outline: var(--border-width-focus) solid var(--color-focus-ring); outline-offset: var(--space-inline-xs); }
.floor:hover { border-color: var(--color-border-accent); }
.floor--active { border-style: solid; border-color: var(--color-bg-accent); background: var(--color-bg-subtle); outline: var(--border-width-default) solid var(--color-bg-accent); outline-offset: calc(var(--border-width-default) * -1); }
