/* ============================================================
   PORTFOLIO REFINEMENT V10
   Canonical geometry, motion and case-study media rules.
   This file intentionally loads after kit.css so older experiments cannot
   reintroduce incompatible scales, colours or responsive behaviour.
   ============================================================ */

/* ---------- Loader ---------- */
.pf-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--neutral-950);
  opacity: 1;
  clip-path: none;
  transform: none;
  transition: opacity .26s var(--ease-out);
  contain: layout paint style;
  will-change: opacity;
}

.pf-loader::before { display: none; }

.pf-loader.is-exiting {
  opacity: 0;
  clip-path: none;
  transform: none;
  pointer-events: none;
}

.pf-loader__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  place-content: center;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-content: center;
  align-content: center;
  width: auto;
  min-height: 0;
  gap: 0;
  padding: 0;
  transition: opacity .3s var(--ease-out);
}

.pf-loader.is-exiting .pf-loader__inner {
  opacity: 0;
  transform: none;
}

.pf-loader__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min-content;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(104px, 11vw, 154px);
  font-weight: 260;
  line-height: .82;
  letter-spacing: -.08em;
  animation: pf-loader-mark-v10-in .5s cubic-bezier(.22, 1, .36, 1) both;
  transform: none;
  transform-origin: center;
  align-self: center;
  justify-self: center;
  grid-area: 1 / 1;
}

@keyframes pf-loader-mark-v10-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pf-loader__mark-outline,
.pf-loader__mark-fill {
  grid-area: 1 / 1;
  display: block;
  padding-right: .08em;
  white-space: nowrap;
  transform: scaleX(.76);
  transform-origin: center;
}

.pf-loader__mark-outline { color: rgba(255, 255, 255, .15); }
.pf-loader__mark-fill {
  color: #fff;
  clip-path: inset(100% 0 0 0);
  text-shadow: none;
  transition: clip-path .46s cubic-bezier(.22, 1, .36, 1);
  will-change: clip-path;
}

.pf-loader.is-loading .pf-loader__mark-fill { clip-path: inset(0 0 0 0); }

.pf-loader__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pf-hero__canvas {
  opacity: 0;
  transition: opacity 360ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity;
}

.pf-hero.is-visual-ready .pf-hero__canvas { opacity: 1; }

/* ---------- Flight transition ---------- */
.pf-about-flight {
  --portal-scale: .72;
  --shell-scale: .72;
  --lead-e: 1;
  --window-e: 0;
  --zoom-e: 0;
  --white-e: 0;
  --window-out-e: 0;
  --arrival-e: 0;
  position: relative;
  height: calc(100dvh + clamp(620px, 140svh, 1400px));
  margin-top: 0;
  background: var(--neutral-950);
}

.pf-about-flight .pf-zoom__sticky {
  position: sticky;
  top: 0;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--neutral-950);
  perspective: none;
}

.pf-about-flight .pf-zoom__sticky::before,
.pf-about-flight .pf-zoom__sticky::after { display: none; }

.pf-flight-lead {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: start center;
  padding: clamp(112px, 15vh, 158px) var(--gutter) 0;
  text-align: center;
  opacity: var(--lead-e);
  transform: translateY(calc((1 - var(--lead-e)) * -22px));
  pointer-events: none;
}

.pf-flight-lead__title {
  width: min(100%, 10ch);
  margin: 0;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: .98;
  text-wrap: balance;
}

.pf-flight-lead__title > span,
.pf-flight-lead__title > em,
.pf-flight-arrival h2 > span,
.pf-flight-arrival h2 > em {
  display: block;
}

.pf-flight-window {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  opacity: clamp(0, calc(var(--window-e) - var(--window-out-e)), 1);
  transform:
    translateY(calc((1 - var(--zoom-e)) * 9svh))
    scale(calc(.97 + (var(--window-e) * .03)));
  pointer-events: none;
  will-change: opacity, transform;
}

.pf-flight-window__shell {
  width: 300px;
  height: 455px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 180px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.14), transparent 30%),
    linear-gradient(160deg, #2a2d2f 0%, #111315 64%, #060708 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 -38px 80px rgba(0,0,0,.48),
    0 70px 140px -76px rgba(0,0,0,.9);
  transform: rotateX(calc((1 - var(--zoom-e, 0)) * 7deg)) scale(var(--shell-scale));
  transform-origin: center;
  will-change: transform, opacity;
}

.pf-flight-window__glass {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 150px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(47,182,162,.15);
}

.pf-flight-window__hint {
  bottom: 38px;
  opacity: clamp(0, calc(var(--window-e) - (var(--zoom-e) * 2)), 1);
}

/* The glass itself is the portal. The shell scales only as far as needed to
   cover the viewport, reproducing the BY-SL zoom without a second capsule. */
.pf-flight-portal {
  display: none;
}

.pf-flight-arrival {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: clamp(88px, 10vh, 120px) var(--gutter) clamp(56px, 8vh, 88px);
  color: #111315;
  text-align: center;
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.pf-flight-arrival::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f5f8f6;
  opacity: var(--white-e);
  will-change: opacity;
}

.pf-flight-arrival__content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(100%, 920px);
  text-align: center;
  opacity: var(--arrival-e);
  transform: translateY(calc((1 - var(--arrival-e)) * 22px));
  will-change: opacity, transform;
}

.pf-flight-arrival__objects {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: auto;
  opacity: clamp(0, calc((var(--arrival-e) - .04) * 3.2), 1);
  will-change: opacity;
}

.pf-flight-token {
  --float-delay: 0s;
  --float-distance: 8px;
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #31413d;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17,19,21,.12);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(20,42,36,.1);
  font: 600 11px var(--font-mono);
  letter-spacing: .04em;
  cursor: grab;
  touch-action: none;
  user-select: none;
  opacity: 1;
  transform: translate(var(--drag-x, 0), calc(var(--drag-y, 0) + (1 - var(--arrival-e, 0)) * 24px));
  animation: pf-token-float 3.8s ease-in-out var(--float-delay) infinite alternate;
  will-change: transform;
}

.pf-flight-arrival__objects.is-physics .pf-flight-token {
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  margin: 0;
  animation: none;
}

.pf-flight-token:active { cursor: grabbing; }
.pf-flight-token svg { width: 15px; height: 15px; color: var(--emerald-700); }
.pf-flight-token__logo {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
  pointer-events: none;
}
.pf-flight-token--sm { gap: 7px; padding: 8px 11px; font-size: 9px; }
.pf-flight-token--sm .pf-flight-token__logo { width: 16px; height: 16px; }
.pf-flight-token--lg { gap: 11px; padding: 14px 18px; font-size: 12px; font-weight: 750; }
.pf-flight-token--lg .pf-flight-token__logo { width: 32px; height: 32px; }
.pf-flight-token--xl { gap: 13px; padding: 18px 23px; font-size: 14px; font-weight: 800; }
.pf-flight-token--xl .pf-flight-token__logo { width: 44px; height: 44px; }
.pf-flight-token--wide { padding: 13px 21px; font-size: 12px; }
.pf-flight-token--one { top: 18%; left: 7%; --float-delay: -.8s; }
.pf-flight-token--two { top: 11%; left: 24%; --float-delay: -2.1s; --float-distance: 11px; }
.pf-flight-token--three { top: 13%; right: 25%; --float-delay: -1.5s; --float-distance: 10px; }
.pf-flight-token--four { top: 18%; right: 7%; --float-delay: -.3s; }
.pf-flight-token--five { left: 50%; bottom: 8%; --float-delay: -2.7s; --float-distance: 6px; transform: translateX(-50%); }
.pf-flight-token--six { top: 8%; left: 42%; --float-delay: -1.1s; }
.pf-flight-token--seven { top: 8%; right: 40%; --float-delay: -2.4s; }
.pf-flight-token--eight { left: 27%; bottom: 11%; --float-delay: -.5s; }
.pf-flight-token--nine { right: 27%; bottom: 11%; --float-delay: -1.8s; }
.pf-flight-token--ten { right: 8%; bottom: 27%; --float-delay: -2.2s; --float-distance: 9px; }

@keyframes pf-token-float {
  from { margin-top: calc(var(--float-distance) * -.5); }
  to { margin-top: calc(var(--float-distance) * .5); }
}

.pf-flight-arrival .pf__eyebrow { color: #67716d; justify-content: center; gap: 0; }
.pf-flight-arrival .pf__eyeline { display: none; }
.pf-flight-arrival h2 {
  max-width: 12ch;
  margin: 16px 0 0;
  color: #111315;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.pf-flight-arrival h2 em {
  color: var(--emerald-700);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}
.pf-about-flight + .pf-about {
  --sheet-e: 0;
  position: relative;
  z-index: 7;
  margin-top: -90dvh;
  padding-top: clamp(96px, 11svh, 128px);
  border-radius: clamp(28px, 4vw, 58px) clamp(28px, 4vw, 58px) 0 0;
  box-shadow: 0 -34px 100px rgba(25,54,45,.16);
  opacity: clamp(0, calc(var(--sheet-e) * 1.8), 1);
  transform: translateY(calc((1 - var(--sheet-e)) * 35dvh));
  pointer-events: none;
  will-change: transform, opacity;
}

.pf-about-flight + .pf-about.is-sheet-active { pointer-events: auto; }

.pf-about-flight + .pf-about::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: rgba(17,19,21,.12);
  transform: translateX(-50%);
}

.pf-about__toolbelt {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(17,19,21,.14);
}

.pf-about__tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font: 600 10px var(--font-mono);
  letter-spacing: .04em;
}

.pf-about__tool img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ---------- Stable radii and individual reveals ---------- */
.pf-nav,
.pf-mobile-menu,
.pf-project-card__button,
.pf-layer,
.pf-service,
.pf-about__photo { border-radius: var(--radius-xl); }

.pf-nav__brand,
.pf-nav__links,
.pf-nav__locale,
.pf-nav__cta,
.pf-nav__menu,
.pf-layer__icon,
.pf-service__icon,
.pf-contact-list__icon { border-radius: var(--radius-lg); }

.pf-nav__monogram,
.pf-nav__link,
.pf-footer__brand > span,
.pf-project-card__tags > span,
.pf-about__capability span,
.pf-work2__count,
.pf-about__actions a { border-radius: var(--radius-md); }

.pf-nav__locale {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.04);
  font: 700 10px var(--font-mono);
  letter-spacing: .08em;
  cursor: pointer;
}

.pf-nav__locale:hover { color: #fff; background: rgba(255,255,255,.09); }

@media (max-width: 860px) {
  .pf-nav__locale { display: none; }
}

.pf-service.pf-reveal,
.pf-layer.pf-reveal,
.pf-stat.pf-reveal,
.pf-step.pf-reveal {
  opacity: 0;
  transform: translateY(var(--pf-rise, 18px));
  transition-property: opacity, transform, border-color, background;
  transition-duration: var(--pf-reveal-dur, .62s), var(--pf-reveal-dur, .62s), .25s, .25s;
  transition-timing-function: var(--ease-soft), var(--ease-soft), var(--ease-out), var(--ease-out);
  transition-delay: calc(var(--i, 0) * 84ms), calc(var(--i, 0) * 84ms), 0s, 0s;
}

.pf-service.pf-reveal.is-in,
.pf-layer.pf-reveal.is-in,
.pf-stat.pf-reveal.is-in,
.pf-step.pf-reveal.is-in { opacity: 1; transform: none; }

.pf-service.pf-reveal.is-in:hover { transform: translateY(-4px); }

/* ---------- Full-page project previews ---------- */
.pf-page-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background: #242827;
}

.pf-page-preview__placeholder {
  position: absolute;
  inset: 0;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.pf-page-preview > img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  min-height: 100%;
  object-fit: initial;
  transform: translateY(0);
  opacity: 0;
  transition: transform var(--preview-duration, 12s) cubic-bezier(.2, .66, .18, 1), opacity .28s ease;
  will-change: auto;
}

.pf-page-preview.is-loaded > img { opacity: 1; }

.pf-project-card__button:hover .pf-page-preview.has-travel > img,
.pf-project-card__button:focus-visible .pf-page-preview.has-travel > img,
.pf-cs__feature--page-preview:hover .pf-page-preview.has-travel > img,
.pf-cs__feature--page-preview:focus-visible .pf-page-preview.has-travel > img {
  will-change: transform;
  transform: translateY(var(--preview-travel, 0));
}

.pf-page-preview.is-auto.has-travel > img {
  animation: pf-page-preview-auto var(--preview-auto-duration, 15s) cubic-bezier(.3,.1,.2,1) 1 both;
}

.pf-page-preview__hint {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(10,11,12,.66);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: opacity .25s var(--ease-out);
}
.pf-page-preview__hint svg { width: 13px; height: 13px; }
.pf-project-card__button:hover .pf-page-preview__hint { opacity: 0; }
.pf-cs__feature--page-preview:hover .pf-page-preview__hint,
.pf-cs__feature--page-preview:focus-visible .pf-page-preview__hint { opacity: 0; }

@keyframes pf-page-preview-auto {
  0%, 12% { transform: translateY(0); }
  45%, 58% { transform: translateY(var(--preview-travel, 0)); }
  90%, 100% { transform: translateY(0); }
}

/* ---------- Case studies ---------- */
.pf-cs,
.pf-cs__inner,
.pf-cs__head,
.pf-cs__hero-stage,
.pf-cs__hero,
.pf-cs__hero-media,
.pf-cs__cols,
.pf-cs__aside,
.pf-cs__narrative,
.pf-cs__chapter,
.pf-cs__chapter-head,
.pf-cs__chapter-media,
.pf-cs__feature,
.pf-cs__gallery,
.pf-cs__shot { min-width: 0; max-width: 100%; }

.pf-cs { overflow-x: clip; overscroll-behavior: contain; outline: none; }
.pf-cs__inner { overflow: visible; }

/* Restore a deliberate editorial measure after the defensive width reset. */
.pf-cs__head {
  width: min(100%, 1080px);
  max-width: 1080px;
  padding-top: clamp(8px, 1.4vw, 20px);
}
.pf-cs__title {
  width: 100%;
  max-width: 16.5ch;
  margin-top: clamp(16px, 2vw, 22px);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}
.pf-cs__lead {
  max-width: 54ch;
  margin-top: clamp(20px, 2.4vw, 28px);
}
.pf-cs__facts { margin-top: clamp(22px, 2.4vw, 30px); }

.pf-cs__block p + p { margin-top: 18px; }
.pf-cs__block-emphasis {
  max-width: 58ch;
  padding-left: 18px;
  border-left: 2px solid var(--aqua-500);
  color: var(--text-strong);
}

.pf-cs__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #f1f2ef;
}

.pf-cs__hero-stage {
  position: relative;
  height: 138svh;
  margin: clamp(34px, 5vw, 68px) 0 clamp(54px, 7vw, 92px);
}

.pf-cs__hero-stage .pf-cs__hero {
  position: sticky;
  top: clamp(82px, 9svh, 108px);
  width: var(--cs-hero-width, 100%);
  height: var(--cs-hero-height, 78svh);
  min-height: 360px;
  max-height: 820px;
  margin: 0 auto;
  aspect-ratio: auto;
  border-radius: var(--cs-hero-radius, var(--radius-xl));
}

.pf-cs__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  will-change: auto;
}

.pf-cs__hero-media > img,
.pf-cs__hero-media > video,
.pf-cs__hero-media > .pf-project-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.pf-cs__hero--mas-linda .pf-cs__hero-media > img,
.pf-cs__hero--alternativa .pf-cs__hero-media > img { object-fit: contain; }
.pf-cs__hero--fourlife .pf-cs__hero-media { background: #f4f2eb; }

.pf-cs__chapter {
  display: grid;
  grid-template-columns: minmax(250px, .38fr) minmax(0, .62fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
  margin: clamp(72px, 10vw, 140px) 0;
  padding-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--border-subtle);
}

.pf-cs__chapter-head { position: sticky; top: 104px; }
.pf-cs__chapter-head h3 {
  max-width: 15ch;
  margin: 8px 0 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.pf-cs__chapter-head p {
  max-width: 52ch;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.7;
}

.pf-cs__chapter-media { display: grid; gap: 18px; }
.pf-cs__feature {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: #0b0c0d;
}
.pf-cs__feature-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--media-ratio, 16 / 9);
  overflow: hidden;
  background: inherit;
}
.pf-cs__feature-frame > img,
.pf-cs__feature-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: inherit;
}
.pf-cs__feature--image { background: #f2f1ed; }
.pf-cs__feature--video { background: #0b0c0d; }
.pf-cs__feature--page-preview { background: #eceeeb; outline: none; }
.pf-cs__feature--page-preview:focus-visible {
  border-color: var(--aqua-400);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua-400) 22%, transparent);
}
.pf-cs__feature figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
}

.pf-cs__chapter--document .pf-cs__chapter-media {
  width: min(100%, 760px);
  justify-self: center;
}
.pf-cs__chapter--demo .pf-cs__chapter-media { width: 100%; }

.pf-cs__gallery { align-items: start; }
.pf-cs__shot { height: auto; }
.pf-cs__shot > img,
.pf-cs__shot > .pf-project-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.pf-cs__gallery--mas-linda {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}
.pf-cs__gallery--mas-linda .pf-cs__shot {
  width: 100%;
  aspect-ratio: 390 / 844;
  background: #f2f1ed;
}
.pf-cs__gallery--mas-linda .pf-cs__shot > img { object-fit: contain; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pf-about-flight { margin-top: 0; }
  .pf-about-flight .pf-zoom__sticky { position: sticky; height: 100dvh; }
  .pf-flight-lead { padding: 106px 24px 0; }
  .pf-flight-window__shell {
    width: min(244px, 64vw);
    height: min(380px, 54vh);
    padding: 16px;
  }
  .pf-flight-portal {
    width: min(212px, calc(64vw - 32px));
    height: min(348px, calc(54vh - 32px));
    border-radius: 110px;
  }
  .pf-flight-arrival { padding: 98px 24px 74px; }
  .pf-flight-token--one { top: 18%; left: 5%; }
  .pf-flight-token--two { top: 12%; left: 18%; }
  .pf-flight-token--three { top: 14%; right: 18%; }
  .pf-flight-token--four { top: 19%; right: 5%; }
  .pf-flight-token--five { bottom: 7%; }
  .pf-flight-token--six { top: 8%; left: 39%; }
  .pf-flight-token--seven { top: 9%; right: 37%; }
  .pf-flight-token--eight { left: 16%; bottom: 15%; }
  .pf-flight-token--nine { right: 16%; bottom: 14%; }
  .pf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cs__cols { grid-template-columns: 1fr; }
  .pf-cs__scheda { position: relative; top: 0; }
  .pf-cs__chapter { grid-template-columns: 1fr; gap: 28px; }
  .pf-cs__chapter-head { position: static; }
  .pf-cs__chapter-head h3 { max-width: 18ch; }
}

@media (max-width: 640px) {
  .pf-loader__mark { font-size: clamp(88px, 28vw, 122px); }
  .pf-flight-lead { padding: 98px 18px 0; }
  .pf-flight-lead__title { font-size: clamp(38px, 12vw, 56px); }
  .pf-flight-window__hint { bottom: 28px; }
  .pf-flight-arrival { padding: 92px 18px 68px; text-align: center; }
  .pf-flight-arrival h2 { max-width: 100%; font-size: clamp(34px, 10.2vw, 40px); }
  .pf-flight-token { gap: 6px; padding: 7px 9px; font-size: 8px; }
  .pf-flight-token svg { width: 13px; height: 13px; }
  .pf-flight-token--lg { gap: 8px; padding: 10px 13px; font-size: 9px; }
  .pf-flight-token--lg .pf-flight-token__logo { width: 24px; height: 24px; }
  .pf-flight-token--xl { gap: 9px; padding: 12px 15px; font-size: 10px; }
  .pf-flight-token--xl .pf-flight-token__logo { width: 30px; height: 30px; }
  .pf-flight-token--wide { padding: 10px 13px; font-size: 8px; }
  .pf-flight-token--one { top: 18%; left: 2%; }
  .pf-flight-token--two { top: 74%; left: 3%; }
  .pf-flight-token--three { top: 20%; right: 2%; }
  .pf-flight-token--four { right: 3%; bottom: 18%; }
  .pf-flight-token--five { left: 50%; bottom: 6%; }
  .pf-flight-token--six { top: 7%; left: 38%; }
  .pf-flight-token--seven { top: 9%; right: 35%; }
  .pf-flight-token--eight { left: 10%; bottom: 15%; }
  .pf-flight-token--nine { right: 10%; bottom: 14%; }
  .pf-about-flight + .pf-about {
    margin-top: -90dvh;
    padding-top: 96px;
    border-radius: 30px 30px 0 0;
    transform: translateY(calc((1 - var(--sheet-e)) * 35dvh));
  }
  .pf-stats { grid-template-columns: 1fr; }
  .pf-page-preview__hint { left: 12px; bottom: 12px; }
  .pf-cs__inner { padding-top: 28px; padding-bottom: 56px; }
  .pf-cs__hero-stage { height: 112svh; margin: 28px 0 54px; }
  .pf-cs__hero-stage .pf-cs__hero {
    top: 78px;
    min-height: 280px;
    max-height: 70svh;
    aspect-ratio: auto;
    border-radius: var(--radius-lg);
  }
  .pf-cs__chapter { margin: 68px 0; padding-top: 26px; }
  .pf-cs__chapter-head h3 { font-size: 30px; }
  .pf-cs__feature { border-radius: var(--radius-lg); }
  .pf-cs__feature-frame { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-loader,
  .pf-loader__inner,
  .pf-loader__mark,
  .pf-loader__mark-fill,
  .pf-flight-window,
  .pf-flight-window__shell,
  .pf-flight-portal,
  .pf-flight-arrival,
  .pf-flight-token,
  .pf-page-preview > img,
  .pf-service,
  .pf-layer,
  .pf-stat,
  .pf-step { animation: none; transition: none; }

  .pf-page-preview.is-auto.has-travel > img,
  .pf-project-card__button:hover .pf-page-preview.has-travel > img,
  .pf-project-card__button:focus-visible .pf-page-preview.has-travel > img,
  .pf-cs__feature--page-preview:hover .pf-page-preview.has-travel > img,
  .pf-cs__feature--page-preview:focus-visible .pf-page-preview.has-travel > img { transform: none; }

  .pf-reveal,
  .pf-service.pf-reveal,
  .pf-layer.pf-reveal,
  .pf-stat.pf-reveal,
  .pf-step.pf-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

  .pf-about-flight { height: auto; margin-top: 0; background: #f5f8f6; }
  .pf-about-flight .pf-zoom__sticky {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    padding: 96px var(--gutter) 86px;
    background: #f5f8f6;
  }
  .pf-flight-lead,
  .pf-flight-window,
  .pf-flight-window__hint,
  .pf-flight-portal { display: none; }
  .pf-flight-arrival {
    position: relative;
    display: flex;
    min-height: 360px;
    padding: 0;
    opacity: 1;
    transform: none;
  }
  .pf-flight-arrival__objects { display: none; }
  .pf-about-flight + .pf-about {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .pf-cs__hero-stage { height: auto; margin-bottom: 54px; }
  .pf-cs__hero-stage .pf-cs__hero {
    position: relative;
    top: auto;
    width: 100%;
    height: min(70svh, 640px);
  }
}

/* Touch/tablet keeps the window and profile sheet; only the tokens are passive. */
.pf-about-flight.is-lite[data-scrub] { height: calc(100dvh + clamp(480px, 110svh, 1050px)); }
.pf-about-flight.is-lite .pf-flight-arrival h2 {
  max-width: 100%;
  font-size: 34px;
  letter-spacing: 0;
}
.pf-about-flight.is-lite .pf-flight-arrival__objects {
  inset: max(88px, 16%) 20px max(44px, 12%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 72px 72px;
  align-content: space-between;
  justify-items: center;
  gap: 12px;
  width: auto;
  max-width: 720px;
  margin-inline: auto;
  overflow: visible;
  pointer-events: none;
  will-change: auto;
}
.pf-about-flight.is-lite .pf-flight-token {
  position: relative;
  inset: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: 7px;
  width: min(100%, 88px);
  padding: 10px 5px;
  margin: 0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 10px;
  letter-spacing: 0;
  cursor: default;
  touch-action: auto;
  transform: none;
  animation: pf-token-drift 5s ease-in-out var(--float-delay) infinite alternate;
  animation-play-state: paused;
  will-change: auto;
}
.pf-about-flight.is-lite.is-in-view .pf-flight-token { animation-play-state: running; }
.pf-about-flight.is-lite .pf-flight-token__logo { width: 26px; height: 26px; }
@keyframes pf-token-drift {
  from { transform: translate3d(-3px, -5px, 0) rotate(-2deg); }
  to { transform: translate3d(3px, 5px, 0) rotate(2deg); }
}
@media (min-width: 641px) {
  .pf-about-flight.is-lite .pf-flight-arrival h2 { font-size: 48px; }
  .pf-about-flight.is-lite .pf-flight-token {
    width: auto;
    max-width: 100%;
    flex-direction: row;
    padding: 12px 16px;
    font-size: 12px;
    border-radius: 999px;
  }
}
@media (max-height: 540px) and (prefers-reduced-motion: no-preference) {
  .pf-about-flight.is-lite .pf-flight-arrival { padding: 84px 20px 38px; }
  .pf-about-flight.is-lite .pf-flight-arrival h2 { margin-top: 8px; font-size: 30px; }
  .pf-about-flight.is-lite .pf-flight-arrival__objects {
    inset-block: 82px 28px;
    grid-template-rows: 40px 40px;
  }
  .pf-about-flight.is-lite .pf-flight-token { flex-direction: row; width: auto; padding: 7px 10px; font-size: 10px; }
  .pf-about-flight.is-lite .pf-flight-token__logo { width: 20px; height: 20px; }
  .pf-about-flight.is-lite .pf-flight-lead { padding-top: 82px; }
  .pf-about-flight.is-lite .pf-flight-lead__title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-about-flight.is-lite .pf-flight-arrival__objects { display: none; }
  .pf-about-flight.is-lite .pf-flight-arrival__content { opacity: 1; transform: none; }
  .pf-about-flight.is-lite .pf-flight-token { animation: none; }
}

/* ---------- Editorial motion language ---------- */
.pf-hero__typed {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  margin-top: 20px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
}
.pf-hero__typed-label {
  flex: 0 0 auto;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.pf-hero__typed-value {
  color: var(--aqua-300);
  font-weight: 600;
}
.pf-hero__typed-value i {
  display: inline-block;
  width: 1px;
  height: 1.15em;
  margin-left: 4px;
  vertical-align: -.16em;
  background: currentColor;
  animation: pf-caret-blink .9s steps(1) infinite;
}
@keyframes pf-caret-blink { 50% { opacity: 0; } }

.pf-reveal[data-reveal-dir="left"] { transform: translate3d(-36px, 8px, 0); }
.pf-reveal[data-reveal-dir="right"] { transform: translate3d(36px, 8px, 0); }
.pf-reveal.is-in[data-reveal-dir="left"],
.pf-reveal.is-in[data-reveal-dir="right"] { transform: translate3d(0, 0, 0); }
.pf-cs [data-rev][data-rev-dir="left"] { transform: translate3d(-36px, 8px, 0); }
.pf-cs [data-rev][data-rev-dir="right"] { transform: translate3d(36px, 8px, 0); }
.pf-cs [data-rev].is-in[data-rev-dir="left"],
.pf-cs [data-rev].is-in[data-rev-dir="right"] { transform: translate3d(0, 0, 0); }

/* ---------- Skills: a connected path instead of six interchangeable cards ---------- */
.pf-skill-orbit {
  --orbit-panel: #202324;
  position: relative;
  min-height: 650px;
  margin-top: clamp(44px, 7vw, 78px);
  padding: 4px 0 30px;
}
.pf-skill-orbit__map {
  position: relative;
  height: 340px;
}
.pf-skill-orbit__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.pf-skill-orbit__arc path {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.pf-skill-orbit__arc-shadow {
  stroke: color-mix(in srgb, var(--aqua-400) 13%, transparent);
  stroke-width: 18;
  filter: blur(11px);
}
.pf-skill-orbit__arc-line {
  stroke: color-mix(in srgb, var(--text-muted) 24%, transparent);
  stroke-width: 1.25;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(.2,.75,.2,1);
}
.pf-skill-orbit.is-in .pf-skill-orbit__arc-line { stroke-dashoffset: 0; }
.pf-skill-orbit__arc-progress {
  stroke: var(--aqua-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: var(--orbit-progress, 0) 1;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--aqua-400) 55%, transparent));
  transition: stroke-dasharray .65s cubic-bezier(.2,.75,.2,1);
}
.pf-skill-orbit__nodes { position: absolute; inset: 0; }
.pf-skill-orbit__node {
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 150px;
  padding: 0;
  color: var(--text-muted);
  text-align: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.pf-skill-orbit__node-dot {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--aqua-300);
  background: #1e2524;
  border: 1px solid color-mix(in srgb, var(--aqua-400) 26%, var(--border-subtle));
  border-radius: 50%;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--ink-950) 82%, transparent);
  transition: transform .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}
.pf-skill-orbit__node-dot svg { width: 20px; height: 20px; }
.pf-skill-orbit__node-label {
  max-width: 13ch;
  color: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  transition: color .25s ease, transform .25s ease;
}
.pf-skill-orbit__node:hover .pf-skill-orbit__node-dot,
.pf-skill-orbit__node:focus-visible .pf-skill-orbit__node-dot,
.pf-skill-orbit__node.is-active .pf-skill-orbit__node-dot {
  color: var(--neutral-950);
  background: var(--aqua-400);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--aqua-400) 9%, transparent), 0 12px 34px color-mix(in srgb, var(--aqua-400) 24%, transparent);
}
.pf-skill-orbit__node:hover .pf-skill-orbit__node-label,
.pf-skill-orbit__node:focus-visible .pf-skill-orbit__node-label,
.pf-skill-orbit__node.is-active .pf-skill-orbit__node-label { color: var(--text-strong); transform: translateY(-2px); }
.pf-skill-orbit__node:focus-visible { outline: 0; }

.pf-skill-orbit__panel-wrap {
  position: relative;
  z-index: 4;
  width: min(690px, 82%);
  min-height: 300px;
  margin: -8px auto 0;
}
.pf-skill-orbit__sheet {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.pf-skill-orbit__sheet--back {
  background: #171a1b;
  transform: translate(18px, 18px) rotate(1.4deg);
  opacity: .72;
}
.pf-skill-orbit__sheet--mid {
  background: #1b1e1f;
  transform: translate(-13px, 10px) rotate(-1deg);
  opacity: .9;
}
.pf-skill-orbit__panel {
  position: relative;
  display: grid;
  min-height: 300px;
  padding: clamp(28px, 4vw, 46px);
  background: var(--orbit-panel);
  border: 1px solid color-mix(in srgb, var(--aqua-400) 15%, var(--border-subtle));
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0,0,0,.18);
  animation: pf-skill-sheet-in .5s cubic-bezier(.2,.78,.2,1) both;
}
@keyframes pf-skill-sheet-in {
  from { opacity: 0; transform: translate3d(34px, 8px, 0) rotate(1.2deg); }
  to { opacity: 1; transform: translate3d(0,0,0) rotate(0); }
}
.pf-skill-orbit__panel-top { display: flex; align-items: center; justify-content: space-between; }
.pf-skill-orbit__panel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--aqua-300);
  background: color-mix(in srgb, var(--aqua-400) 11%, transparent);
  border-radius: var(--radius-md);
}
.pf-skill-orbit__panel-icon svg { width: 20px; height: 20px; }
.pf-skill-orbit__count { color: var(--text-subtle); font: 10px var(--font-mono); letter-spacing: .08em; }
.pf-skill-orbit__panel h3 { margin: 28px 0 10px; color: var(--text-strong); font-size: clamp(29px, 4vw, 42px); letter-spacing: -.025em; }
.pf-skill-orbit__panel > p { max-width: 55ch; margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.pf-skill-orbit__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pf-skill-orbit__tags span {
  padding: 7px 10px;
  color: var(--text-muted);
  font: 9px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.pf-skill-orbit__tags span:hover { color: var(--text-strong); background: color-mix(in srgb, var(--aqua-400) 8%, transparent); border-color: color-mix(in srgb, var(--aqua-400) 35%, var(--border-subtle)); }
.pf-skill-orbit__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.pf-skill-orbit__controls > span { color: var(--text-subtle); font: 9px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pf-skill-orbit__controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--text-strong);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.pf-skill-orbit__controls button:hover,
.pf-skill-orbit__controls button:focus-visible { color: var(--ink-950); background: var(--aqua-400); transform: scale(1.06); }
.pf-skill-orbit__controls button svg { width: 16px; height: 16px; }

/* ---------- Case studies: spacious proof, not repeated modules ---------- */
.pf-cs__hero-link,
.pf-cs__media-link {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111515;
  background: rgba(245,248,246,.94);
  border: 1px solid rgba(255,255,255,.46);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 34px rgba(0,0,0,.2);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.pf-cs__hero-clickarea {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.pf-cs__hero-clickarea:focus-visible {
  outline: 2px solid var(--aqua-300);
  outline-offset: -4px;
}
.pf-cs__hero-link { right: 22px; bottom: 22px; padding: 12px 15px; }
.pf-cs__media-link { top: 15px; right: 15px; padding: 10px 12px; }
.pf-cs__hero-link svg,
.pf-cs__media-link svg { width: 15px; height: 15px; }
.pf-cs__hero-link:hover,
.pf-cs__media-link:hover,
.pf-cs__hero-clickarea:hover .pf-cs__hero-link { color: var(--ink-950); background: var(--aqua-300); transform: translateY(-3px); }

.pf-cs__chapter-nav {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}
.pf-cs__chapter-nav > span {
  margin-bottom: 8px;
  color: var(--text-subtle);
  font: 9px var(--font-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.pf-cs__chapter-nav a {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.pf-cs__chapter-nav a i {
  color: inherit;
  font: 9px var(--font-mono);
  font-style: normal;
}
.pf-cs__chapter-nav a b {
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-cs__chapter-nav a:hover,
.pf-cs__chapter-nav a.is-active { color: var(--aqua-300); transform: translateX(4px); }

.pf-cs__system {
  margin: clamp(105px, 12vw, 170px) 0;
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.pf-cs__system-head { max-width: 690px; margin-bottom: clamp(54px, 7vw, 82px); }
.pf-cs__system-head h3 { max-width: 15ch; margin: 12px 0 16px; color: var(--text-strong); font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: -.035em; }
.pf-cs__system-head p { max-width: 58ch; margin: 0; color: var(--text-muted); line-height: 1.7; }
.pf-cs__system-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--system-count, 4), minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  padding-top: 28px;
}
.pf-cs__system-line { position: absolute; z-index: 0; top: 0; left: 1%; width: 98%; height: 130px; overflow: visible; }
.pf-cs__system-line path {
  fill: none;
  stroke: color-mix(in srgb, var(--aqua-400) 45%, transparent);
  stroke-width: 1.7;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke-dashoffset 1.4s cubic-bezier(.2,.75,.2,1) .18s;
}
.pf-cs__system.is-in .pf-cs__system-line path { stroke-dashoffset: 0; }
.pf-cs__system-node {
  position: relative;
  z-index: 1;
  min-height: 230px;
  padding: 24px;
  background: #202324;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.pf-cs__system-node:nth-of-type(2),
.pf-cs__system-node:nth-of-type(4) { transform: translateY(20px); }
.pf-cs__system-node:hover { transform: translateY(-6px); background: #242829; border-color: color-mix(in srgb, var(--aqua-400) 35%, var(--border-subtle)); }
.pf-cs__system-node:nth-of-type(2):hover,
.pf-cs__system-node:nth-of-type(4):hover { transform: translateY(14px); }
.pf-cs__system-index { display: block; margin-bottom: 20px; color: var(--text-subtle); font: 9px var(--font-mono); letter-spacing: .12em; }
.pf-cs__system-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 28px; color: var(--aqua-300); background: color-mix(in srgb, var(--aqua-400) 10%, transparent); border-radius: var(--radius-md); }
.pf-cs__system-icon svg { width: 19px; height: 19px; }
.pf-cs__system-node h4 { margin: 0 0 9px; color: var(--text-strong); font-size: 18px; }
.pf-cs__system-node p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 1.55; }

.pf-cs__chapter {
  grid-template-areas: "head media";
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
  gap: clamp(46px, 7vw, 96px);
  margin: clamp(84px, 8vw, 124px) 0;
  padding-top: clamp(34px, 5vw, 58px);
}
.pf-cs__chapter-head { grid-area: head; }
.pf-cs__chapter-media { grid-area: media; min-width: 0; }
.pf-cs__chapter[data-chapter-side="media-left"] {
  grid-template-areas: "media head";
  grid-template-columns: minmax(0, 1.32fr) minmax(260px, .68fr);
}
.pf-cs__chapter--page {
  grid-template-areas: "head" "media" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 42px;
}
.pf-cs__chapter--page .pf-cs__chapter-head { position: static; max-width: 720px; }
.pf-cs__chapter--page .pf-cs__chapter-media { width: 100%; }
.pf-cs__chapter--page .pf-cs__feature { width: 100%; }
.pf-cs__chapter--demo,
.pf-cs__chapter--demo[data-chapter-side="media-left"] {
  grid-template-areas: "head media";
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 40px;
}
.pf-cs__chapter--demo .pf-cs__chapter-head {
  position: static;
  max-width: 760px;
}
.pf-cs__chapter--demo .pf-cs__chapter-media { width: 100%; }
.pf-cs__chapter--document .pf-cs__feature {
  transform: rotate(-.45deg);
  box-shadow: 22px 26px 0 color-mix(in srgb, var(--aqua-400) 5%, transparent), 0 28px 65px rgba(0,0,0,.18);
}

@media (max-width: 1100px), (pointer: coarse), (hover: none) {
  .pf-cs__chapter--document .pf-cs__feature { transform: none; box-shadow: none; }
  .pf-cs__chapter-media { min-width: 0; }
}

/* The demo separates delivery progress from measurable key results. */
.pf-method-board .pf-cs__agile-metrics > span { display: grid; gap: 6px; align-content: start; }
.pf-method-board .pf-cs__agile-metrics small { min-height: 3em; font-size: 10px; line-height: 1.5; letter-spacing: 0; }
.pf-method-board .pf-cs__agile-level-copy b,
.pf-method-board .pf-cs__agile-story-copy b { white-space: normal; overflow: visible; line-height: 1.5; }
.pf-method-board .pf-cs__agile-level-copy small { color: var(--text-muted); font-size: 10px; line-height: 1.5; }
.pf-method-board .pf-cs__agile-level { grid-template-columns: auto minmax(0, 1fr); }
.pf-method-board .pf-cs__agile-level--epic { --agile-indent: 0px; }
.pf-method-board .pf-cs__agile-story { grid-template-columns: 20px minmax(0, 1fr); gap: 8px 10px; }
.pf-method-board .pf-cs__agile-story-meta { grid-column: 2; flex-wrap: wrap; }
.pf-method-board .pf-cs__agile-story-meta em,
.pf-method-board .pf-cs__agile-story-meta strong { font-size: 9px; }
.pf-method-krs { display: grid; gap: 16px; padding: 6px 4px 12px; }
.pf-method-kr { min-width: 0; }
.pf-method-kr > b { display: flex; align-items: baseline; gap: 10px; font-size: 12px; line-height: 1.5; }
.pf-method-kr > b > span { flex-shrink: 0; color: var(--aqua-300); font: 10px var(--font-mono); }
.pf-method-kr dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.pf-method-kr dt { color: var(--text-muted); font-size: 10px; }
.pf-method-kr dd { margin: 4px 0 0; color: var(--text-strong); font-size: 13px; font-weight: 600; }
.pf-method-kr progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 4px; overflow: hidden; appearance: none; background: #343b39; }
.pf-method-kr progress::-webkit-progress-bar { background: #343b39; }
.pf-method-kr progress::-webkit-progress-value { background: var(--aqua-400); }
.pf-method-kr progress::-moz-progress-bar { background: var(--aqua-400); }
.pf-method-board .pf-cs__agile-foot { flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 640px) {
  .pf-method-board .pf-cs__agile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-method-board .pf-cs__agile-tree { padding: 16px; }
  .pf-method-board .pf-cs__agile-level { gap: 10px; padding: 12px; }
}

@media (max-width: 980px) {
  .pf-reveal[data-reveal-dir="left"],
  .pf-reveal[data-reveal-dir="right"],
  .pf-cs [data-rev][data-rev-dir="left"],
  .pf-cs [data-rev][data-rev-dir="right"] {
    transform: translate3d(0, 18px, 0);
  }
  .pf-reveal.is-in[data-reveal-dir="left"],
  .pf-reveal.is-in[data-reveal-dir="right"],
  .pf-cs [data-rev].is-in[data-rev-dir="left"],
  .pf-cs [data-rev].is-in[data-rev-dir="right"] {
    transform: translate3d(0, 0, 0);
  }
  .pf-skill-orbit { min-height: 590px; }
  .pf-skill-orbit__node { width: 112px; }
  .pf-skill-orbit__node-label { font-size: 10px; }
  .pf-skill-orbit__node-dot { width: 46px; height: 46px; }
  .pf-cs__system-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cs__system-line { display: none; }
  .pf-cs__system-node:nth-of-type(n) { transform: none; }
  .pf-cs__chapter,
  .pf-cs__chapter[data-chapter-side="media-left"] { grid-template-areas: "head" "media"; grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pf-reveal[data-reveal-dir="left"],
  .pf-reveal[data-reveal-dir="right"],
  .pf-cs [data-rev][data-rev-dir="left"],
  .pf-cs [data-rev][data-rev-dir="right"] {
    transform: translate3d(0, 18px, 0);
  }
  .pf-reveal.is-in[data-reveal-dir="left"],
  .pf-reveal.is-in[data-reveal-dir="right"],
  .pf-cs [data-rev].is-in[data-rev-dir="left"],
  .pf-cs [data-rev].is-in[data-rev-dir="right"] {
    transform: translate3d(0, 0, 0);
  }
  .pf-cs__aside,
  .pf-cs__scheda,
  .pf-cs__narrative,
  .pf-cs__block,
  .pf-cs__system,
  .pf-cs__system-head,
  .pf-cs__chapter-media,
  .pf-cs__feature,
  .pf-cs__feature-frame {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .pf-cs__chapter--document .pf-cs__feature {
    transform: none;
    box-shadow: 0 18px 38px rgba(0,0,0,.14);
  }
  .pf-cs__head { padding-top: 4px; }
  .pf-cs__title {
    max-width: 100%;
    font-size: clamp(36px, 11vw, 50px);
    line-height: 1.02;
  }
  .pf-cs__lead { margin-top: 18px; }
  .pf-hero__typed { align-items: flex-start; min-height: 42px; font-size: 10px; }
  .pf-skill-orbit { min-height: 0; margin-top: 38px; padding-bottom: 10px; }
  .pf-skill-orbit__map { height: auto; margin-inline: -18px; padding: 8px 18px 22px; overflow-x: auto; scrollbar-width: none; }
  .pf-skill-orbit__map::-webkit-scrollbar { display: none; }
  .pf-skill-orbit__arc { display: none; }
  .pf-skill-orbit__nodes { position: static; display: flex; width: max-content; gap: 9px; }
  .pf-skill-orbit__node:nth-child(n) { position: static; display: flex; align-items: center; width: auto; padding: 7px 11px 7px 7px; gap: 8px; background: #1c2021; border: 1px solid var(--border-subtle); border-radius: 999px; transform: none; }
  .pf-skill-orbit__node-dot { width: 34px; height: 34px; box-shadow: none; }
  .pf-skill-orbit__node-dot svg { width: 16px; height: 16px; }
  .pf-skill-orbit__node-label { max-width: none; white-space: nowrap; }
  .pf-skill-orbit__node:hover .pf-skill-orbit__node-dot,
  .pf-skill-orbit__node:focus-visible .pf-skill-orbit__node-dot,
  .pf-skill-orbit__node.is-active .pf-skill-orbit__node-dot { transform: none; box-shadow: none; }
  .pf-skill-orbit__panel-wrap { width: 100%; min-height: 330px; margin-top: 8px; }
  .pf-skill-orbit__panel { min-height: 330px; padding: 25px 22px; }
  .pf-skill-orbit__panel h3 { margin-top: 24px; font-size: 30px; }
  .pf-skill-orbit__sheet--back { transform: translate(6px, 10px) rotate(.8deg); }
  .pf-skill-orbit__sheet--mid { transform: translate(-5px, 6px) rotate(-.6deg); }
  .pf-skill-orbit__controls > span { display: none; }
  .pf-cs__system { margin: 68px 0; padding: 30px 0; }
  .pf-cs__system-head { margin-bottom: 28px; }
  .pf-cs__system-head h3 { margin: 9px 0 12px; font-size: 30px; line-height: 1.06; }
  .pf-cs__system-head p { font-size: 14px; line-height: 1.58; }
  .pf-cs__system-flow { grid-template-columns: 1fr; gap: 10px; padding-left: 14px; }
  .pf-cs__system-flow::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 1px; width: 1px; background: color-mix(in srgb, var(--aqua-400) 35%, transparent); }
  .pf-cs__system-node {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 4px;
    min-height: 0;
    padding: 16px 15px;
  }
  .pf-cs__system-index { display: none; }
  .pf-cs__system-icon { grid-column: 1; grid-row: 1 / span 2; width: 36px; height: 36px; margin: 0; }
  .pf-cs__system-node h4 { grid-column: 2; margin: 1px 0 3px; font-size: 16px; }
  .pf-cs__system-node p { grid-column: 2; font-size: 12px; line-height: 1.5; }
  .pf-cs__hero-link { right: 12px; bottom: 12px; gap: 7px; padding: 10px 11px; font-size: 11px; }
  .pf-cs__hero-link span { display: inline; }
  .pf-cs__hero--mybrain .pf-cs__hero-link {
    bottom: 102px;
  }
  .pf-cs__media-link {
    top: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    padding: 9px 10px;
    font-size: 10px;
  }
  .pf-cs__media-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pf-cs__chapter,
  .pf-cs__chapter[data-chapter-side="media-left"] { gap: 28px; margin: 82px 0; padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-hero__typed-value i,
  .pf-skill-orbit__panel { animation: none; }
  .pf-skill-orbit__arc-line,
  .pf-skill-orbit__arc-progress,
  .pf-cs__system-line path,
  .pf-skill-orbit__node-dot,
  .pf-skill-orbit__node-label,
  .pf-cs__system-node { transition: none; }
  .pf-skill-orbit__arc-line,
  .pf-cs__system-line path { stroke-dashoffset: 0; }
}

/* ============================================================
   POSITIONING PASS V11
   The hero, capability path and progress rail share one visual language.
   ============================================================ */

/* ---------- Hero: one promise, three concrete outcomes ---------- */
.pf-hero__display {
  width: min(100%, 15.5ch);
  max-width: none;
  min-height: 2.12em;
  margin-inline: auto;
  text-wrap: balance;
}

.pf-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pf-hero__statement {
  position: relative;
  display: grid;
  min-height: 1.05em;
  margin-top: .02em;
  overflow: hidden;
  color: var(--aqua-300);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  line-height: .98;
}

.pf-hero__statement-ghost {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.pf-hero__statement-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  will-change: transform, opacity;
}

.pf-hero__statement-ghost,
.pf-hero__statement-slide {
  grid-area: 1 / 1;
  box-sizing: border-box;
  padding: .10em .12em .18em;
}

.pf-hero__statement-slide--in {
  animation: pf-hero-statement-in .68s cubic-bezier(.22, 1, .36, 1) both;
}

.pf-hero__statement-slide--out {
  animation: pf-hero-statement-out .58s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes pf-hero-statement-in {
  from { opacity: 0; transform: translateY(108%); }
  to { opacity: 1; transform: none; }
}

@keyframes pf-hero-statement-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-108%); }
}

.pf-hero__statement em {
  color: inherit;
  font: inherit;
}

.pf-hero__cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 372px);
  margin-top: clamp(30px, 4.2vh, 46px);
  gap: 12px;
}

.pf-hero__cta .sn-btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Skills: areas on the path, tools kept quietly in the proof card ---------- */
.pf-skill-orbit__map { height: 360px; }

.pf-skill-orbit__node {
  width: 156px;
  gap: 11px;
}

.pf-skill-orbit__node-dot {
  overflow: visible;
  width: 44px;
  height: 44px;
  color: var(--aqua-300);
  background: #1e2524;
  border-color: color-mix(in srgb, var(--aqua-400) 25%, var(--border-subtle));
}

.pf-skill-orbit__node-dot svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.pf-skill-orbit__node-label {
  max-width: 16ch;
  padding: 5px 8px;
  color: var(--text-muted);
  background: color-mix(in srgb, var(--neutral-950) 91%, transparent);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--neutral-950) 72%, transparent);
}

.pf-skill-orbit__panel-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
}

.pf-skill-orbit__panel-logos > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 6px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.pf-skill-orbit__panel-logos img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.pf-skill-orbit__panel-logos b {
  color: var(--text-muted);
  font: 8px var(--font-mono);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ---------- Altern@tiva: an operational system, not a second website screenshot ---------- */
.pf-cs__chapter--flow,
.pf-cs__chapter--flow[data-chapter-side="media-left"] {
  position: relative;
  z-index: 1;
  grid-template-areas: "head" "media" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(38px, 5vw, 62px);
}

.pf-cs__chapter--flow .pf-cs__chapter-head {
  position: static;
  max-width: 830px;
}

.pf-cs__chapter--flow .pf-cs__chapter-media {
  grid-area: media;
  grid-column: 1 / -1;
  width: 100%;
}

.pf-cs__operation-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--flow-count, 5), minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  min-height: 250px;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 3.5vw, 42px);
  overflow: hidden;
  background: color-mix(in srgb, var(--neutral-900) 92%, var(--aqua-950));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.pf-cs__operation-line {
  display: none;
}

.pf-cs__operation-line path {
  fill: none;
  stroke: color-mix(in srgb, var(--aqua-400) 52%, transparent);
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--aqua-400) 28%, transparent));
  transition: stroke-dashoffset 1.2s cubic-bezier(.2,.75,.2,1) .16s;
}

.pf-cs__chapter--flow.is-in .pf-cs__operation-line path { stroke-dashoffset: 0; }

.pf-cs__operation-node {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  padding: 18px 15px;
  color: var(--text-strong);
  background: rgba(26,29,29,.94);
  border: 1px solid color-mix(in srgb, var(--aqua-400) 16%, var(--border-subtle));
  border-radius: var(--radius-md);
  box-shadow: 0 18px 34px rgba(0,0,0,.2);
  opacity: 0;
  transition: opacity .45s ease calc(var(--i) * 90ms + 120ms), transform .55s cubic-bezier(.2,.75,.2,1) calc(var(--i) * 90ms + 120ms), border-color .2s ease, background .2s ease;
}

.pf-cs__operation-node { transform: translateY(22px); }
.pf-cs__chapter--flow.is-in .pf-cs__operation-node { opacity: 1; }
.pf-cs__chapter--flow.is-in .pf-cs__operation-node { transform: translateY(0); }
.pf-cs__operation-node:not(:first-of-type)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(100% + 1px);
  width: clamp(10px, 1.4vw, 18px);
  height: 1px;
  background: color-mix(in srgb, var(--aqua-400) 34%, transparent);
}
.pf-cs__operation-node:hover {
  background: #202526;
  border-color: color-mix(in srgb, var(--aqua-400) 36%, var(--border-subtle));
}

.pf-cs__operation-node > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--aqua-300);
  background: color-mix(in srgb, var(--aqua-400) 10%, transparent);
  border-radius: var(--radius-sm);
}

.pf-cs__operation-node svg { width: 17px; height: 17px; }
.pf-cs__operation-node b { display: block; margin-bottom: 7px; font-size: 13px; }
.pf-cs__operation-node small { display: block; color: var(--text-muted); font-size: 10px; line-height: 1.45; }

/* ---------- Altern@tiva: the Odoo core shown as an operating console ---------- */
.pf-cs__chapter--modules,
.pf-cs__chapter--modules[data-chapter-side="media-left"] {
  position: relative;
  z-index: 1;
  grid-template-areas: "head" "media" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(38px, 5vw, 62px);
}

.pf-cs__chapter--modules .pf-cs__chapter-head {
  position: static;
  max-width: 840px;
}

.pf-cs__chapter--modules .pf-cs__chapter-media {
  grid-area: media;
  width: 100%;
}

.pf-cs__odoo-board {
  overflow: hidden;
  width: 100%;
  background: #171a1b;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.24);
}

.pf-cs__odoo-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #202425;
  border-bottom: 1px solid var(--border-subtle);
}

.pf-cs__odoo-brand {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: var(--radius-sm);
}

.pf-cs__odoo-brand img { display: block; width: 34px; height: 34px; object-fit: contain; }
.pf-cs__odoo-head b { display: block; margin-bottom: 4px; color: var(--text-strong); font-size: 15px; }
.pf-cs__odoo-head small { display: block; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.pf-cs__odoo-head > i {
  padding: 7px 9px;
  color: #c8b3c5;
  background: rgba(135,90,123,.14);
  border: 1px solid rgba(135,90,123,.32);
  border-radius: 999px;
  font: 9px var(--font-mono);
  font-style: normal;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pf-cs__odoo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-subtle);
}

.pf-cs__odoo-module {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 13px;
  min-height: 164px;
  padding: 22px 18px 18px;
  background: #191c1d;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .42s ease calc(var(--i) * 65ms + 100ms), transform .52s var(--ease-out) calc(var(--i) * 65ms + 100ms), background .2s ease;
}

.pf-cs__chapter--modules.is-in .pf-cs__odoo-module { opacity: 1; transform: none; }
.pf-cs__odoo-module:hover { background: #202425; }
.pf-cs__odoo-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #d0b9ca;
  background: rgba(135,90,123,.14);
  border: 1px solid rgba(135,90,123,.27);
  border-radius: var(--radius-sm);
}
.pf-cs__odoo-icon svg { width: 17px; height: 17px; }
.pf-cs__odoo-icon img { display: block; width: 25px; height: 25px; object-fit: contain; }
.pf-cs__odoo-copy b { display: block; margin: 1px 0 7px; color: var(--text-strong); font-size: 13px; }
.pf-cs__odoo-copy small { display: block; color: var(--text-muted); font-size: 10px; line-height: 1.5; }
.pf-cs__odoo-module > em {
  grid-column: 1 / -1;
  align-self: end;
  color: color-mix(in srgb, #b794ad 74%, var(--text-subtle));
  font: 8px var(--font-mono);
  font-style: normal;
  letter-spacing: .1em;
}

.pf-cs__odoo-flows {
  display: grid;
  background: var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}

.pf-cs__odoo-flow {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 2.28fr);
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  min-width: 0;
  padding: 18px 20px;
  background: #191c1d;
}

.pf-cs__odoo-flow + .pf-cs__odoo-flow {
  border-top: 1px solid var(--border-subtle);
}

.pf-cs__odoo-flow-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pf-cs__odoo-flow-head > span:first-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--aqua-300);
  background: color-mix(in srgb, var(--aqua-400) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--aqua-400) 24%, transparent);
  border-radius: var(--radius-sm);
}

.pf-cs__odoo-flow-head svg { width: 17px; height: 17px; }
.pf-cs__odoo-flow-head small {
  display: block;
  margin-bottom: 4px;
  color: var(--text-subtle);
  font: 8px var(--font-mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.pf-cs__odoo-flow-head b {
  display: block;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.35;
}

.pf-cs__odoo-flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  min-width: 0;
}

.pf-cs__odoo-flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 12px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.35;
}

.pf-cs__odoo-flow-step + .pf-cs__odoo-flow-step {
  border-left: 1px solid var(--border-subtle);
}

.pf-cs__odoo-flow-step i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--aqua-300);
  background: #202526;
  border: 1px solid color-mix(in srgb, var(--aqua-400) 20%, var(--border-subtle));
  border-radius: 50%;
  font: 8px var(--font-mono);
  font-style: normal;
}

.pf-cs__odoo-flow-pulse { display: none; }

.pf-cs__odoo-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 17px 20px;
  color: var(--text-muted);
  background: #151718;
  border-top: 1px solid var(--border-subtle);
}

.pf-cs__odoo-foot span { display: inline-flex; align-items: center; gap: 7px; font: 9px var(--font-mono); letter-spacing: .04em; }
.pf-cs__odoo-foot svg { width: 13px; height: 13px; color: var(--aqua-300); }

/* ---------- MyBrain: sanitized Agile/Fibery proof ---------- */
.pf-cs__chapter--agile,
.pf-cs__chapter--agile[data-chapter-side="media-left"] {
  position: relative;
  z-index: 1;
  grid-template-areas: "head" "media" !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(38px, 5vw, 62px);
}

.pf-cs__chapter--agile .pf-cs__chapter-head {
  position: static;
  max-width: 880px;
}

.pf-cs__chapter--agile .pf-cs__chapter-media {
  grid-area: media;
  width: 100%;
}

.pf-cs__agile-board {
  overflow: hidden;
  width: 100%;
  color: var(--text-strong);
  background: #171a1b;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.24);
}

.pf-cs__agile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  background: #202425;
  border-bottom: 1px solid var(--border-subtle);
}

.pf-cs__agile-brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--aqua-300);
  background: color-mix(in srgb, var(--aqua-400) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--aqua-400) 24%, var(--border-subtle));
  border-radius: var(--radius-sm);
}

.pf-cs__agile-brand svg { width: 19px; height: 19px; }
.pf-cs__agile-head b { display: block; margin-bottom: 4px; font-size: 15px; }
.pf-cs__agile-head small { display: block; color: var(--text-muted); font-size: 10px; line-height: 1.45; }
.pf-cs__agile-head > i {
  padding: 7px 10px;
  color: var(--aqua-300);
  background: color-mix(in srgb, var(--aqua-400) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--aqua-400) 22%, var(--border-subtle));
  border-radius: 999px;
  font: 9px var(--font-mono);
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pf-cs__agile-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pf-cs__agile-metrics > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 15px 18px;
  background: #191c1d;
}

.pf-cs__agile-metrics small {
  color: var(--text-subtle);
  font: 8px var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pf-cs__agile-metrics b { color: var(--aqua-300); font-size: 14px; }

.pf-cs__agile-tree { position: relative; display: grid; gap: 12px; padding: clamp(22px, 3.2vw, 38px); }
.pf-cs__agile-level {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: calc(100% - var(--agile-indent, 0px));
  margin-left: var(--agile-indent, 0px);
  padding: 15px 17px;
  background: #1d2021;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.pf-cs__agile-level--epic { --agile-indent: clamp(22px, 4vw, 58px); }
.pf-cs__agile-type {
  min-width: 48px;
  padding: 6px 7px;
  color: var(--aqua-300);
  text-align: center;
  background: color-mix(in srgb, var(--aqua-400) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--aqua-400) 22%, var(--border-subtle));
  border-radius: 999px;
  font: 8px var(--font-mono);
  letter-spacing: .08em;
}

.pf-cs__agile-level-copy { display: grid; gap: 9px; min-width: 0; }
.pf-cs__agile-level-copy b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pf-cs__agile-level-copy > i {
  display: block;
  overflow: hidden;
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
}
.pf-cs__agile-level-copy > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--aqua-500), var(--aqua-300));
  border-radius: inherit;
}
.pf-cs__agile-level > strong { color: var(--text-muted); font: 10px var(--font-mono); }
.pf-cs__agile-branch {
  position: absolute;
  top: 100%;
  left: clamp(35px, 5vw, 70px);
  width: 1px;
  height: 14px;
  background: var(--border-strong);
}

.pf-cs__agile-stories {
  display: grid;
  gap: 8px;
  width: calc(100% - clamp(44px, 8vw, 116px));
  margin-left: clamp(44px, 8vw, 116px);
}

.pf-cs__agile-story {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  background: #191c1d;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .4s ease calc(var(--i) * 90ms + 160ms), transform .5s var(--ease-out) calc(var(--i) * 90ms + 160ms), border-color .2s ease;
}
.pf-cs__chapter--agile.is-in .pf-cs__agile-story,
.pf-method-proof.is-in .pf-cs__agile-story { opacity: 1; transform: none; }
.pf-cs__agile-story:hover { border-color: color-mix(in srgb, var(--aqua-400) 28%, var(--border-subtle)); }
.pf-cs__agile-story-icon { display: grid; place-items: center; color: var(--text-subtle); }
.pf-cs__agile-story.is-done .pf-cs__agile-story-icon { color: #65c993; }
.pf-cs__agile-story.is-active .pf-cs__agile-story-icon { color: var(--aqua-300); }
.pf-cs__agile-story-icon svg { width: 17px; height: 17px; }
.pf-cs__agile-story.is-active .pf-cs__agile-story-icon svg { animation: pf-agile-spin 2.4s linear infinite; }
@keyframes pf-agile-spin { to { transform: rotate(360deg); } }
.pf-cs__agile-story-copy { display: grid; gap: 4px; min-width: 0; }
.pf-cs__agile-story-copy small { color: var(--text-subtle); font: 7px var(--font-mono); letter-spacing: .1em; }
.pf-cs__agile-story-copy b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pf-cs__agile-story-meta { display: flex; align-items: center; gap: 8px; }
.pf-cs__agile-story-meta em,
.pf-cs__agile-story-meta strong {
  padding: 6px 7px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font: 8px var(--font-mono);
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
}
.pf-cs__agile-story-meta em { color: var(--text-muted); }
.pf-cs__agile-story-meta strong { color: var(--aqua-300); background: color-mix(in srgb, var(--aqua-400) 7%, transparent); }

.pf-cs__agile-foot {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 5vw, 54px);
  padding: 16px 20px;
  color: var(--text-muted);
  background: #151718;
  border-top: 1px solid var(--border-subtle);
}
.pf-cs__agile-foot span { display: inline-flex; align-items: center; gap: 7px; font: 8px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.pf-cs__agile-foot svg { width: 13px; height: 13px; color: var(--aqua-300); }

/* ---------- Method: real Agile structure, presented without private data ---------- */
.pf-method-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  align-items: stretch;
  gap: clamp(26px, 4vw, 58px);
  margin-top: clamp(48px, 7vw, 88px);
}

.pf-method-proof__board { min-width: 0; }
.pf-method-board { height: 100%; }
.pf-method-board .pf-cs__agile-tree { padding: clamp(18px, 2.4vw, 30px); }
.pf-method-board .pf-cs__agile-stories { width: 100%; margin-left: 0; }

.pf-method-proof__steps {
  display: grid;
  align-content: center;
  gap: 0;
  min-width: 0;
  border-top: 1px solid var(--border-subtle);
}

.pf-method-proof__label {
  padding: 0 0 17px;
  color: var(--aqua-300);
  font: 9px var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pf-method-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateX(22px);
  transition: opacity .45s ease calc(var(--i) * 90ms + 160ms), transform .55s var(--ease-out) calc(var(--i) * 90ms + 160ms);
}

.pf-method-proof.is-in .pf-method-step { opacity: 1; transform: none; }
.pf-method-step__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--aqua-300);
  background: color-mix(in srgb, var(--aqua-400) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--aqua-400) 20%, var(--border-subtle));
  border-radius: var(--radius-sm);
}
.pf-method-step__icon svg { width: 17px; height: 17px; }
.pf-method-step__copy { display: grid; gap: 5px; }
.pf-method-step__copy small { color: var(--text-subtle); font: 8px var(--font-mono); letter-spacing: .1em; }
.pf-method-step__copy b { color: var(--text-strong); font-size: 16px; }
.pf-method-step__copy p { margin: 0; color: var(--text-muted); font-size: 12px; line-height: 1.55; }

/* ---------- Rail: a quiet vertical route synchronised with the page ---------- */
.pf-rail {
  position: fixed;
  z-index: 40;
  top: 50%;
  left: 12px;
  display: block;
  width: 32px;
  height: 228px;
  max-height: none;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(-50%);
  transition: color .28s ease;
}

.pf-rail__body,
.pf-rail__dots {
  position: absolute;
  inset: 0;
  width: 32px;
  height: 228px;
}

.pf-rail__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.24) 13%, rgba(255,255,255,.24) 87%, transparent);
  pointer-events: none;
  transform: translateX(-50%);
}

.pf-rail__dot {
  position: absolute;
  top: var(--rail-y);
  left: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.pf-rail__dot i {
  display: block;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,.34);
  border-radius: 50%;
  box-shadow: none;
  transition: transform .22s var(--ease-out), background .22s ease, box-shadow .22s ease;
}

.pf-rail__dot span {
  position: absolute;
  left: 25px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  padding: 6px 9px;
  color: #f4f7f5;
  background: rgba(20,22,22,.9);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  box-shadow: 0 9px 28px rgba(0,0,0,.22);
  font: 9px var(--font-mono);
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-5px);
  transition: opacity .18s ease, transform .18s ease;
}

.pf-rail__dot span small { color: var(--aqua-300); font: inherit; }

.pf-rail__dot:hover span,
.pf-rail__dot:focus-visible span { opacity: 1; transform: none; }

.pf-rail__dot:hover i,
.pf-rail__dot:focus-visible i { background: #fff; transform: scale(1.35); }

.pf-rail__dot.is-active i {
  background: var(--aqua-400);
  transform: scale(1.65);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--aqua-400) 15%, transparent);
}

.pf-rail__dot.is-active span { opacity: 0; }

.pf-rail.is-light { color: #111315; background: transparent; border: 0; box-shadow: none; }
.pf-rail.is-light .pf-rail__line { background: linear-gradient(to bottom, transparent, rgba(17,19,21,.2) 13%, rgba(17,19,21,.2) 87%, transparent); }
.pf-rail.is-light .pf-rail__dot i { background: rgba(17,19,21,.32); }
.pf-rail.is-light .pf-rail__dot.is-active i { background: var(--emerald-700); box-shadow: 0 0 0 5px rgba(20,108,91,.12); }
.pf-rail.is-light .pf-rail__dot span { color: #111315; background: rgba(255,255,255,.9); border-color: rgba(17,19,21,.12); }
.pf-rail.is-light .pf-rail__dot span small { color: var(--emerald-700); }

@media (max-width: 1100px) {
  .pf-rail { display: none; }
}

@media (max-width: 980px) {
  .pf-hero__display { width: min(100%, 720px); min-height: 2.12em; }
  .pf-hero__statement {
    min-height: 1.05em;
    font-size: clamp(30px, 4.5vw, 42px);
    white-space: nowrap;
  }
  .pf-cs__operation-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }
  .pf-cs__operation-node::before { display: none; }
  .pf-cs__odoo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cs__odoo-flow { grid-template-columns: 1fr; gap: 14px; }
  .pf-cs__odoo-flow-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-cs__odoo-flow-step:nth-child(odd) { border-left: 0; }
  .pf-cs__odoo-flow-step:nth-child(n + 3) { border-top: 1px solid var(--border-subtle); }
  .pf-cs__agile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-skill-orbit__node { width: 128px; }
  .pf-skill-orbit__node-label { max-width: 15ch; }
  .pf-method-proof { grid-template-columns: 1fr; }
  .pf-method-proof__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 0;
    border-left: 1px solid var(--border-subtle);
  }
  .pf-method-proof__label {
    grid-column: 1 / -1;
    padding: 0 0 17px 18px;
    border-left: 0;
  }
  .pf-method-step {
    padding: 18px;
    border-top: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
  }
}

@media (max-width: 640px) {
  .pf-cs__bar .sn-btn { display: none; }
  .pf-cs__bar-inner { justify-content: flex-start; }
  .pf-cs__index {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    max-width: 100%;
    font-size: 10px;
    line-height: 1.45;
  }
  .pf-cs__title {
    max-width: 100%;
    font-size: clamp(34px, 9.7vw, 38px);
    line-height: 1.04;
  }
  .pf-cs__lead {
    max-width: 35ch;
    font-size: 16px;
    line-height: 1.58;
  }
  .pf-cs__metric-num {
    font-size: clamp(25px, 6.6vw, 30px);
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
  .pf-cs__facts {
    gap: 9px 16px;
    margin-top: 22px;
  }
  .pf-cs__facts > span { font-size: 12px; }
  .pf-cs__hero-stage {
    height: auto;
    margin: 24px 0 54px;
  }
  .pf-cs__hero-stage .pf-cs__hero {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
  }
  .pf-cs__hero-stage .pf-cs__hero--mybrain { aspect-ratio: 4 / 5; }
  .pf-hero__display { width: 100%; min-height: 2.18em; }
  .pf-hero__statement {
    width: 100%;
    min-height: 1.08em;
    font-size: 27px;
    line-height: 1;
    white-space: nowrap;
  }
  .pf-hero__cta { width: min(100%, 344px); gap: 8px; }
  .pf-hero__cta .sn-btn { padding-inline: 13px; }
  .pf-skill-orbit__map {
    display: none !important;
  }
  .pf-skill-orbit { min-height: 0; margin-top: 28px; }
  .pf-skill-orbit__panel-wrap { margin-top: 0; }
  .pf-skill-orbit__node-label { padding: 0; background: transparent; box-shadow: none; }
  .pf-skill-orbit__panel-logos b { display: none; }
  .pf-skill-orbit__panel-logos > span { padding: 6px; }
  .pf-cs__operation-flow { grid-template-columns: 1fr; min-height: 0; padding: 20px; }
  .pf-cs__operation-line { display: none; }
  .pf-cs__operation-node:nth-of-type(n) { transform: none; }
  .pf-cs__odoo-head { grid-template-columns: auto minmax(0, 1fr); }
  .pf-cs__odoo-head > i { display: none; }
  .pf-cs__odoo-grid { grid-template-columns: 1fr; }
  .pf-cs__odoo-module { min-height: 0; }
  .pf-cs__odoo-flow { padding: 17px 15px; }
  .pf-cs__odoo-flow-track { grid-template-columns: 1fr; }
  .pf-cs__odoo-flow-step:nth-child(n) { border-top: 1px solid var(--border-subtle); border-left: 0; }
  .pf-cs__odoo-flow-step:first-child { border-top: 0; }
  .pf-cs__odoo-foot { align-items: flex-start; flex-direction: column; }
  .pf-cs__odoo-foot > svg { display: none; }
  .pf-cs__agile-head { grid-template-columns: auto minmax(0, 1fr); }
  .pf-cs__agile-head > i { display: none; }
  .pf-cs__agile-metrics > span {
    display: grid;
    align-content: center;
    justify-content: stretch;
    gap: 4px;
    padding: 12px;
  }
  .pf-cs__agile-level {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }
  .pf-cs__agile-level--epic { --agile-indent: 12px; }
  .pf-cs__agile-level > strong { grid-column: 2; }
  .pf-cs__agile-level-copy b,
  .pf-cs__agile-story-copy b {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
  .pf-cs__agile-type { min-width: 42px; padding-inline: 5px; }
  .pf-cs__agile-stories { width: calc(100% - 12px); margin-left: 12px; }
  .pf-cs__agile-story {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
  }
  .pf-cs__agile-story-meta { grid-column: 2; justify-content: flex-start; }
  .pf-cs__agile-foot { justify-content: flex-start; overflow-x: auto; }
  .pf-method-proof { gap: 32px; margin-top: 48px; }
  .pf-method-board .pf-cs__agile-tree { padding: 14px; }
  .pf-method-board .pf-cs__agile-stories { width: 100%; margin-left: 0; }
  .pf-method-proof__steps { grid-template-columns: 1fr; }
  .pf-method-step { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 16px 14px; }
  .pf-method-step__icon { width: 36px; height: 36px; }
}

@media (max-width: 860px) {
  .pf-skill-orbit { min-height: 0; margin-top: 28px; }
  .pf-skill-orbit__map { display: none !important; }
  .pf-skill-orbit__panel-wrap { margin-top: 0; }
}

@media (max-width: 360px) {
  .pf-hero__statement { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-hero__statement-slide { animation: none; transform: none; }
  .pf-method-step { opacity: 1; transform: none; transition: none; }
  .pf-cs__odoo-module { opacity: 1; transform: none; transition: none; }
  .pf-cs__agile-story { opacity: 1; transform: none; transition: none; }
  .pf-cs__agile-story.is-active .pf-cs__agile-story-icon svg { animation: none; }
}

/* ================================================================
   RESPONSIVE FOUNDATION V12
   Final constraints for narrow viewports. Keep this block last so
   presentation experiments above cannot reintroduce local clipping.
   ================================================================ */
@media (max-width: 760px) {
  html,
  body,
  #root,
  .pf-app {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .pf-header {
    width: 100%;
    padding-inline: 12px;
  }

  .pf-nav {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 8px 9px 8px 12px;
  }

  .pf-nav__brand {
    min-width: 0;
    max-width: calc(100% - 48px);
    overflow: hidden;
  }

  .pf-nav__brand > span:last-child {
    min-width: 0;
    overflow: hidden;
  }

  .pf-nav__brand b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pf-nav__menu {
    display: grid !important;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-left: auto;
  }

  .pf-hero__content,
  .pf-hero__display,
  .pf-section__head,
  .pf-work2__head,
  .pf-about__intro,
  .pf-method-proof__intro {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .pf-hero__display {
    width: min(100%, 350px);
    min-height: 2.16em;
    font-size: clamp(31px, 9.4vw, 40px);
    line-height: .96;
  }

  .pf-hero__statement {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 1.08em;
    font-size: clamp(21px, 6.35vw, 27px);
    line-height: 1.02;
    white-space: nowrap;
  }

  .pf-hero__cta {
    grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
    width: min(100%, 344px);
    max-width: 100%;
    gap: 8px;
  }

  .pf-hero__cta .sn-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .pf-section__title,
  .pf-work2__title,
  .pf-about__title,
  .pf-method-proof__title {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: clamp(31px, 8.7vw, 41px);
    line-height: 1.02;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .pf-section__copy,
  .pf-work2__copy,
  .pf-about__copy,
  .pf-method-proof__copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .pf-project-grid,
  .pf-work2__grid,
  .pf-project-card,
  .pf-work-card,
  .pf-skill-orbit,
  .pf-skill-orbit__panel-wrap,
  .pf-skill-orbit__panel {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .pf-header { padding-inline: 8px; }
  .pf-nav { padding-left: 9px; }
  .pf-nav__brand b { font-size: 13px; }
  .pf-nav__brand small { font-size: 7px; }
  .pf-hero__display { font-size: clamp(29px, 9.2vw, 34px); }
  .pf-hero__statement { font-size: clamp(19px, 6.1vw, 22px); }
  .pf-hero__cta .sn-btn { padding-inline: 7px; font-size: 11px; }
}

/* Review: three glass islands merge without moving page content. */
.pf-nav-shell {
  --nav-glass: rgba(24, 27, 27, .64);
  --nav-ink: #f6f7f7;
  --nav-muted: #c4caca;
  --nav-border: rgba(255, 255, 255, .15);
}
.pf-nav-shell.is-light {
  --nav-glass: rgba(240, 243, 242, .76);
  --nav-ink: #182321;
  --nav-muted: #45534f;
  --nav-border: rgba(23, 40, 35, .17);
}
.pf-nav-shell .pf-nav,
.pf-nav-shell.is-scrolled .pf-nav {
  width: 100%;
  max-width: 1080px;
  padding: 10px;
  gap: 12px;
  border-color: var(--nav-border);
  border-radius: 999px;
  background: var(--nav-glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition: max-width .45s ease, gap .45s ease, background .25s ease, border-color .25s ease;
}
.pf-nav-shell .pf-nav__brand,
.pf-nav-shell .pf-nav__links,
.pf-nav-shell .pf-nav__actions {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease;
}
.pf-nav__actions,
.pf-cs__bar-actions { display: flex; align-items: center; gap: 10px; }
.pf-nav-shell .pf-nav__actions { padding: 0; }
.pf-nav-shell .pf-nav__cta { min-height: 40px; padding: 10px 18px; border-radius: 999px; margin: 0; }
.pf-nav-shell .pf-nav__brand b,
.pf-nav-shell .pf-nav__monogram { color: var(--nav-ink); }
.pf-nav-shell .pf-nav__brand small,
.pf-nav-shell .pf-nav__link { color: var(--nav-muted); }
.pf-nav-shell .pf-nav__link:hover,
.pf-nav-shell .pf-nav__link.is-active { color: var(--nav-ink); }
.pf-nav-shell .pf-nav__locale,
.pf-nav-shell .pf-nav__menu,
.pf-nav-shell .pf-nav__monogram { border-color: var(--nav-border); color: var(--nav-ink); }
.pf-nav-shell .pf-nav__locale,
.pf-cs__bar-actions .pf-nav__locale { display: grid; width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px; }
.pf-nav-shell .pf-nav__brand b,
.pf-nav-shell .pf-nav__brand small,
.pf-nav-shell .pf-nav__link,
.pf-nav-shell .pf-nav__locale,
.pf-rail__dot i { transition: color .25s ease, background .25s ease, border-color .25s ease; }
@media (min-width: 1021px) {
  .pf-nav-shell:not(.is-scrolled) .pf-nav {
    max-width: 1180px;
    gap: 28px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .pf-nav-shell:not(.is-scrolled) .pf-nav__brand,
  .pf-nav-shell:not(.is-scrolled) .pf-nav__links,
  .pf-nav-shell:not(.is-scrolled) .pf-nav__actions {
    background: var(--nav-glass);
    border-color: var(--nav-border);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    padding: 8px 12px;
  }
}
@media (max-width: 1020px) {
  .pf-nav-shell .pf-nav__links { display: none; }
  .pf-nav-shell .pf-nav { justify-content: space-between; }
  .pf-nav-shell .pf-nav__brand { flex-shrink: 1; min-width: 0; padding: 0 4px; }
  .pf-nav-shell .pf-nav__menu { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--nav-border); border-radius: 50%; color: var(--nav-ink); background: rgba(128,128,128,.08); cursor: pointer; }
  .pf-nav__menu svg { width: 18px; height: 18px; }
  .pf-mobile-menu { display: none; }
  .pf-nav-shell.is-menu-open .pf-mobile-menu {
    display: grid;
    width: 100%;
    max-width: 1080px;
    max-height: min(480px, calc(100svh - 100px));
    overflow: auto;
    margin: 8px auto 0;
    padding: 10px;
    border: 1px solid var(--nav-border);
    border-radius: 20px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: var(--nav-glass);
    backdrop-filter: blur(24px);
  }
  .pf-mobile-menu button { display: grid; grid-template-columns: 32px 1fr 18px; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 0; color: var(--nav-ink); background: transparent; font: 500 14px var(--font-display); text-align: left; cursor: pointer; }
  .pf-mobile-menu button svg { width: 16px; height: 16px; }
  .pf-nav-shell.is-light .pf-mobile-menu button,
  .pf-nav-shell.is-light .pf-mobile-menu button span { color: var(--nav-ink) !important; }
}
@media (max-width: 640px) {
  .pf-nav-shell .pf-nav { padding: 8px; gap: 6px; }
  .pf-nav-shell .pf-nav__actions { gap: 6px; }
  .pf-nav-shell .pf-nav__cta { display: none; }
}

/* Each localized phrase reserves its full wrapped height, including descenders. */
.pf-hero__statement { width: 100%; white-space: normal; line-height: 1.10; }
.pf-hero__statement-ghost { align-self: stretch; }
.pf-hero__statement-slide em { display: block; width: 100%; }
.pf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.pf-stat { display: block; text-align: center; }
.pf-stat__label { margin: 12px auto 0; }
.pf-cs__bar-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.pf-cs__back { justify-self: start; }
.pf-cs__bar-actions { justify-self: end; }
.pf-cs__bar-actions .sn-btn { display: inline-flex; }
.pf-cs__metric-num { overflow-wrap: normal; }
.pf-demo-expand, .pf-demo-close {
  display: grid;
  place-items: center;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  background: rgba(20,23,23,.9);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}
.pf-demo-expand svg, .pf-demo-close svg { width: 19px; height: 19px; }
.pf-demo-dialog {
  width: min(1500px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  padding: 60px 12px 12px;
  margin: auto;
  border: 1px solid #44504c;
  border-radius: 8px;
  background: #111515;
  overflow: auto;
}
.pf-demo-dialog::backdrop { background: rgba(0,0,0,.85); }
.pf-cs__feature-frame .pf-demo-dialog video {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(94dvh - 74px);
  object-fit: contain;
}
.pf-cs__chapter--demo .pf-cs__chapter-head h3 { font-size: 32px; line-height: 1.15; max-width: 23ch; }
.pf-cs__chapter--demo video { object-fit: contain; }
@media (max-width: 980px) {
  .pf-cs__chapter--demo,
  .pf-cs__chapter--demo[data-chapter-side="media-left"] { grid-template-areas: "head" "media"; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pf-cs__chapter--demo .pf-cs__chapter-head h3 { max-width: 30ch; }
}
@media (max-width: 640px) {
  .pf-stats { grid-template-columns: 1fr; gap: 0; }
  .pf-stat { padding-block: 24px; }
  .pf-cs__bar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-inline: 12px; }
  .pf-cs__barnum { display: none; }
  .pf-cs__bar-actions { gap: 8px; }
  .pf-cs__bar-actions .sn-btn { padding-inline: 12px; }
  .pf-cs__back { padding-inline: 4px; font-size: 12px; }
  .pf-cs__chapter--demo .pf-cs__chapter-head h3 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-nav-shell .pf-nav { transition: none; }
}

@media (max-width: 1100px), (pointer: coarse), (hover: none) {
  .pf-cs [data-rev],
  .pf-cs [data-rev][data-rev-dir],
  .pf .pf-reveal[data-reveal-dir] {
    transform: none;
    transition-property: opacity;
    transition-duration: .22s;
    transition-delay: 0s;
  }
}
