/* ===========================================================
   Bizniaga Technologies — Products page: card fan (29 Oct)
   A fanned row of product cards (after the user's reference). The middle
   card is the current one; the others lean away on both sides. Clicking a
   card grows it to fill the screen with that product's details.
   Behaviour: script/products-fan.js · Content: data/products-data.js
   Shared bits (title, blurred background, pills) come from css/services.css.
   =========================================================== */

.pf {
  --cw: clamp(170px, min(14vw, 30vh), 270px);     /* card width */
  --ch: calc(var(--cw) * 1.36);                   /* card height */
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #0b0a24;
}
.pf-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-space) + clamp(8px, 2vh, 24px));
  padding-bottom: clamp(18px, 4vh, 40px);
}
.pf-head { margin-bottom: 0; }
.pf-lead {
  margin: clamp(8px, 1.4vh, 14px) 0 0;
  max-width: 520px;
  font-size: clamp(13.5px, min(0.3vw + 10.5px, 1.4vh + 5px), 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------------- the fan ---------------- */
.pf-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: calc(var(--ch) + 60px);
  margin: 0 -40px;                 /* let the outer cards run past the text edges */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
}
.pf-stage.is-grabbing { cursor: grabbing; }
.pf-track { position: absolute; left: 50%; top: 50%; width: 0; height: 0; perspective: 1400px; }
.pf-card {
  position: absolute;
  left: calc(var(--cw) / -2);
  top: calc(var(--ch) / -2);
  width: var(--cw);
  height: var(--ch);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: var(--card-color, #23206b);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  /* transform + z-index + filter are set by the script */
  transition: transform 0.75s cubic-bezier(.22,.9,.32,1), filter 0.5s ease, opacity 0.5s ease;
  will-change: transform;
}
.pf-stage.is-grabbing .pf-card { transition: filter 0.3s ease, opacity 0.3s ease; }
.pf-card-img {
  position: absolute;
  inset: 0;
  background: var(--card-img, none) center / cover no-repeat;
  transition: transform 0.6s ease;
}
.pf-card:hover .pf-card-img { transform: scale(1.05); }
.pf-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 30, 0.45) 0%, rgba(8, 6, 30, 0) 32%),
    linear-gradient(0deg, rgba(8, 6, 30, 0.85) 0%, rgba(8, 6, 30, 0) 48%);
}
.pf-card-num {
  position: absolute;
  left: 16px;
  top: 10px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: calc(var(--cw) * 0.24);
  line-height: 1;
  letter-spacing: -1px;
  color: rgba(255, 255, 255, 0.9);
}
.pf-card-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, calc(var(--cw) * 0.075), 19px);
  line-height: 1.15;
}
.pf-card:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.pf-card.is-hidden { visibility: hidden; }        /* while it is growing into the full-screen view */

/* ---------------- name + controls under the fan ---------------- */
.pf-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.8vh, 16px);
  margin-top: clamp(4px, 1vh, 12px);
}
.pf-name {
  margin: 0;
  min-height: 1.3em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, min(1.2vw, 2.6vh) + 4px, 24px);
  text-align: center;
  transition: opacity 0.25s ease, transform 0.35s ease;
}
.pf-name.is-changing { opacity: 0; transform: translateY(6px); }
.pf-controls { display: flex; align-items: center; gap: 14px; }
.pf-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 18px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.pf-arrow:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.pf-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pf-arrow:disabled { opacity: 0.3; pointer-events: none; }
.pf-count { margin: 0 0 0 6px; font-family: var(--font-display); font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.pf-count strong { color: #fff; font-size: 18px; }

/* ---------------- opened product (fills the screen) ---------------- */
.pf-detail {
  position: fixed;
  inset: 0;
  z-index: 400;                    /* above the header */
  color: #fff;
  overflow: hidden;
}
.pf-detail[hidden] { display: none; }
.pf-detail-photo {
  position: absolute;
  inset: 0;
  background: var(--card-color, #1a1660);
  /* grows out of the clicked card: the script animates this clip-path */
  clip-path: inset(0 round 0);
  transition: clip-path 0.75s cubic-bezier(.65,.05,.25,1);
}
.pf-detail-photo::before,
.pf-detail-photo::after { content: ""; position: absolute; inset: 0; }
.pf-detail-photo::before {
  background: var(--card-img, none) center / cover no-repeat;
  transition: transform 1.4s cubic-bezier(.22,.9,.32,1);
}
.pf-detail-photo::after {          /* darker on the left, behind the words */
  background:
    linear-gradient(90deg, rgba(8, 7, 30, 0.9) 0%, rgba(8, 7, 30, 0.72) 40%, rgba(8, 7, 30, 0.2) 75%, rgba(8, 7, 30, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 7, 30, 0.55) 0%, rgba(8, 7, 30, 0) 35%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.pf-detail.is-open .pf-detail-photo::after { opacity: 1; }
.pf-detail.is-closing .pf-detail-photo::after { opacity: 0; transition-duration: 0.35s; }

.pf-back {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - 1200px) / 2));
  top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(10, 8, 40, 0.35);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: background 0.25s ease, color 0.25s ease, opacity 0.4s ease, transform 0.4s ease;
}
.pf-back:hover { background: #fff; color: var(--navy); }
.pf-back:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.pf-detail-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 60px;
}
.pf-detail-copy {
  width: min(600px, 52%);
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}
.pf-detail-copy::-webkit-scrollbar { display: none; }
.pf-detail-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.pf-detail-title {
  margin: 0 0 clamp(12px, 2vh, 18px);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, min(3.4vw, 7vh), 60px);
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.pf-detail .deck-card-summary, .pf-detail .deck-card-desc, .pf-detail .deck-card-offers { max-width: none; }
.pf-detail .deck-card-offers { overflow: visible; padding-top: 4px; }
.pf-detail-copy { padding-top: 60px; margin-top: -60px; }   /* room for the pill pop-ups */

/* words rise in once the photo has grown; swap out/in between products */
.pf-detail-copy > *, .pf-back, .pf-detail-nav { opacity: 0; transform: translateY(22px); }
.pf-detail.is-open .pf-detail-copy > *,
.pf-detail.is-open .pf-back,
.pf-detail.is-open .pf-detail-nav { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.7s cubic-bezier(.22,.9,.32,1); }
.pf-detail.is-open .pf-back { transition-delay: 0.35s; }
.pf-detail.is-open .pf-detail-copy > :nth-child(1) { transition-delay: 0.4s; }
.pf-detail.is-open .pf-detail-copy > :nth-child(2) { transition-delay: 0.47s; }
.pf-detail.is-open .pf-detail-copy > :nth-child(3) { transition-delay: 0.54s; }
.pf-detail.is-open .pf-detail-copy > :nth-child(4) { transition-delay: 0.61s; }
.pf-detail.is-open .pf-detail-copy > :nth-child(5) { transition-delay: 0.68s; }
.pf-detail.is-open .pf-detail-copy > :nth-child(6) { transition-delay: 0.75s; }
.pf-detail.is-open .pf-detail-nav { transition-delay: 0.6s; }
.pf-detail.is-swapping .pf-detail-copy > * { opacity: 0; transform: translateY(-12px); transition: opacity 0.22s ease, transform 0.3s ease; transition-delay: 0s; }
.pf-detail.is-closing .pf-detail-copy > *,
.pf-detail.is-closing .pf-back,
.pf-detail.is-closing .pf-detail-nav { opacity: 0; transform: translateY(12px); transition: opacity 0.25s ease, transform 0.3s ease; transition-delay: 0s; }

.pf-detail-nav {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: clamp(24px, 5vh, 48px);
  display: flex;
  gap: 12px;
}
.pf-detail-nav .pf-arrow { font-size: 24px; }

html.pf-open { overflow: hidden; }

/* ---------------- phones / small tablets ---------------- */
@media (max-width: 860px), (orientation: landscape) and (max-height: 540px) {
  .pf { --cw: clamp(140px, 42vw, 190px); }
  .pf-inner { padding-top: calc(var(--nav-space) + 30px); }
  .pf-stage { margin: 0 -16px; min-height: calc(var(--ch) + 70px); }
  .pf-detail { overflow-y: auto; }
  .pf-detail-photo { position: fixed; }
  .pf-detail-photo::after { background: linear-gradient(180deg, rgba(8, 7, 30, 0.35) 0%, rgba(8, 7, 30, 0.8) 40%, rgba(8, 7, 30, 0.94) 100%); }
  .pf-detail-inner { height: auto; min-height: 100%; align-items: flex-end; padding-top: 34vh; padding-bottom: 110px; }
  .pf-detail-copy { width: 100%; max-height: none; overflow: visible; }
  .pf-back { top: 16px; left: 16px; position: fixed; }
  .pf-detail-nav { position: fixed; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-card, .pf-detail-photo, .pf-detail-copy > * { transition: none !important; }
}

/* ---------------- wide screens (units from css/wide.css) ---------------- */
@media (min-width: 1537px) {
  .pf-lead { font-size: calc(16 * var(--ut)); max-width: calc(560 * var(--u)); }
  .pf-detail-copy { width: min(calc(640 * var(--u)), 52%); }
}

/* ---------------- 29 Oct: back button beside the label + sliding product swap ---------------- */
.pf-detail-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; }
.pf-detail-top .pf-detail-num { margin: 0; }
.pf-detail .pf-back {
  position: static;
  padding: 7px 14px;
  font-size: 12.5px;
  gap: 8px;
  opacity: 1;
  transform: none;
}
@media (max-width: 860px), (orientation: landscape) and (max-height: 540px) {
  .pf-detail .pf-back { position: static; }
}

/* photo: the new one slides in from the side, the old one drifts away and darkens */
.pf-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(.65,.05,.25,1);
}
.pf-slide--next { transform: translateX(100%); }
.pf-slide--prev { transform: translateX(-100%); }
.pf-slide.is-in { transform: none; }
.pf-detail-photo::before { transition: transform 0.8s cubic-bezier(.65,.05,.25,1), filter 0.8s ease; }
.pf-detail-photo.is-leaving-next::before { transform: translateX(-30%); filter: brightness(0.5); }
.pf-detail-photo.is-leaving-prev::before { transform: translateX(30%); filter: brightness(0.5); }
.pf-detail-photo.no-anim::before { transition: none; }

/* words: slide out to one side, the new ones slide in from the other, one after another */
.pf-detail.is-swap-out .pf-detail-copy > * {
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.32s cubic-bezier(.55,0,.75,.4);
  transition-delay: 0s;
}
.pf-detail.is-swap-out.swap-next .pf-detail-copy > * { transform: translateX(-40px); }
.pf-detail.is-swap-out.swap-prev .pf-detail-copy > * { transform: translateX(40px); }
.pf-detail.is-swap-in .pf-detail-copy > * { opacity: 0; transition: none; }
.pf-detail.is-swap-in.swap-next .pf-detail-copy > * { transform: translateX(50px); }
.pf-detail.is-swap-in.swap-prev .pf-detail-copy > * { transform: translateX(-50px); }
.pf-detail.swap-next:not(.is-swap-out):not(.is-swap-in) .pf-detail-copy > *,
.pf-detail.swap-prev:not(.is-swap-out):not(.is-swap-in) .pf-detail-copy > * {
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(.22,.9,.32,1);
}
.pf-detail.swap-next .pf-detail-copy > :nth-child(2), .pf-detail.swap-prev .pf-detail-copy > :nth-child(2) { transition-delay: 0.05s; }
.pf-detail.swap-next .pf-detail-copy > :nth-child(3), .pf-detail.swap-prev .pf-detail-copy > :nth-child(3) { transition-delay: 0.1s; }
.pf-detail.swap-next .pf-detail-copy > :nth-child(4), .pf-detail.swap-prev .pf-detail-copy > :nth-child(4) { transition-delay: 0.15s; }
.pf-detail.swap-next .pf-detail-copy > :nth-child(5), .pf-detail.swap-prev .pf-detail-copy > :nth-child(5) { transition-delay: 0.2s; }
.pf-detail.swap-next .pf-detail-copy > :nth-child(6), .pf-detail.swap-prev .pf-detail-copy > :nth-child(6) { transition-delay: 0.25s; }
.pf-detail.is-swap-out .pf-detail-copy > * { transition-delay: 0s !important; }

/* ---------------- 29 Oct: wide rectangles, progress line, more room at the bottom ---------------- */
.pf {
  --cw: clamp(260px, min(22vw, 46vh), 440px);     /* card width (29 Oct: ~15% larger) */
  --ch: calc(var(--cw) * 0.7);                    /* landscape: wider than tall */
}
.pf-card { border-radius: 12px; }
.pf-card-num { font-size: calc(var(--ch) * 0.26); top: 8px; left: 14px; }
.pf-card-title { font-size: clamp(14px, calc(var(--cw) * 0.055), 19px); left: 14px; bottom: 12px; }
.pf-inner { padding-bottom: clamp(40px, 8vh, 84px); }
.pf-progress { position: relative; width: clamp(110px, 11vw, 200px); height: 2px; margin-left: 10px; background: rgba(255, 255, 255, 0.25); }
.pf-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--red), #fff); transition: width 0.8s cubic-bezier(.65,.05,.25,1); }
@media (max-width: 860px), (orientation: landscape) and (max-height: 540px) {
  .pf { --cw: clamp(200px, 64vw, 280px); }
  .pf-progress { width: 70px; }
}

/* ---------------- OPENED VIEW: bigger, easier targets + text that grows with the screen (29 Oct) ----------------
   Back button is a full-size pill (44px+ tall), and the words, pills and
   buttons scale like the banners: fluid up to 1536px, then with --u (wide.css). */
.pf-detail .pf-back {
  min-height: 42px;
  padding: 9px 18px 9px 14px;
  gap: 9px;
  font-size: clamp(13.5px, 0.3vw + 9.5px, 14.5px);
  border-width: 1.5px;
}
.pf-detail .pf-back .ico-chev { width: 16px; height: 16px; }
.pf-detail-top { gap: 12px 22px; margin-bottom: clamp(14px, 2.2vh, 20px); }
.pf-detail-num { font-size: clamp(12px, 0.2vw + 9.5px, 13px); }
.pf-detail-title { font-size: clamp(28px, min(2.9vw, 5.8vh), 52px); }
.pf-detail-inner { padding-top: clamp(56px, 9vh, 90px); padding-bottom: clamp(70px, 10vh, 96px); }
.pf-detail .deck-card-summary { font-size: clamp(15px, min(0.45vw + 8.5px, 1.2vh + 7px), 18.5px); }
.pf-detail .deck-card-desc { font-size: clamp(14px, min(0.25vw + 9.5px, 0.9vh + 7.5px), 15.5px); }
.pf-detail .deck-card-offers li { font-size: clamp(12.5px, 0.2vw + 10px, 13.5px); padding: 6px 14px; }
.pf-detail .pf-detail-cta { font-size: clamp(14px, 0.25vw + 10px, 15px); padding: 12px 22px; }
.pf-detail .pf-detail-more { font-size: clamp(13.5px, 0.25vw + 9.5px, 14.5px); }
.pf-detail-nav .pf-arrow { width: 50px; height: 50px; }
.pf-detail-copy { width: min(680px, 54%); }

@media (min-width: 1537px) {
  .pf-detail .pf-back { min-height: calc(42 * var(--u)); padding: calc(9 * var(--u)) calc(18 * var(--u)) calc(9 * var(--u)) calc(14 * var(--u)); font-size: calc(14.5 * var(--u)); }
  .pf-detail .pf-back .ico-chev { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
  .pf-detail-num { font-size: calc(13 * var(--u)); }
  .pf-detail-title { font-size: clamp(28px, min(2.9vw, 5.8vh), calc(52 * var(--u))); }
  .pf-detail .deck-card-summary { font-size: calc(18.5 * var(--u)); }
  .pf-detail .deck-card-desc { font-size: calc(15.5 * var(--u)); }
  .pf-detail .deck-card-offers li { font-size: calc(13.5 * var(--u)); padding: calc(6 * var(--u)) calc(14 * var(--u)); }
  .pf-detail .pf-detail-cta { font-size: calc(15 * var(--u)); padding: calc(12 * var(--u)) calc(22 * var(--u)); }
  .pf-detail .pf-detail-more { font-size: calc(14.5 * var(--u)); }
  .pf-detail-nav .pf-arrow { width: calc(50 * var(--u)); height: calc(50 * var(--u)); }
  .pf-detail-copy { width: min(calc(720 * var(--u)), 54%); }
}
@media (max-width: 860px), (orientation: landscape) and (max-height: 540px) {
  .pf-detail-copy { width: 100%; }
  .pf-detail-inner { padding-top: 34vh; padding-bottom: 110px; }
}

/* ---------------- LONGER DESCRIPTIONS (3 Nov) ----------------
   The description is now several paragraphs. On desktop the title, intro,
   pills and buttons always stay in view and only the description box scrolls
   (mouse wheel / trackpad inside it), with a soft fade at its bottom edge.
   Phones: the whole view scrolls as before. */
@media (min-width: 861px) and (min-height: 541px) {
  .pf-detail-copy { display: flex; flex-direction: column; overflow: visible; }
  .pf-detail-copy > * { flex-shrink: 0; }
  .pf-detail .pf-detail-desc {
    flex: 0 1 auto;
    min-height: 90px;
    overflow-y: auto;
    padding-right: 12px;
    padding-bottom: 18px;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 34px), transparent);
            mask-image: linear-gradient(180deg, #000 calc(100% - 34px), transparent);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  }
  .pf-detail .pf-detail-desc::-webkit-scrollbar { width: 5px; }
  .pf-detail .pf-detail-desc::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.35); border-radius: 5px; }
  .pf-detail-desc.is-end { -webkit-mask-image: none; mask-image: none; }
}
.pf-detail-desc p { margin: 0 0 0.9em; }
.pf-detail-desc p:last-child { margin-bottom: 0; }
/* the old deck hid descriptions on short screens; the opened view always shows it (it scrolls instead) */
.pf-detail .pf-detail-desc { display: block !important; }

/* ================================================================
   3 Nov: TWO-COLUMN OPENED VIEW (desktop). Left: label + Back, title,
   intro, pills, buttons. Right: the full description in a frosted-glass
   panel over the photo (it scrolls only if it's still too long).
   Done with a grid on .pf-detail-copy, so the HTML stays the same.
   ================================================================ */
@media (min-width: 861px) and (min-height: 541px) {
  .pf-detail-copy,
  .pf-detail .pf-detail-copy {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: auto;
    column-gap: clamp(32px, 4.5vw, 84px);
    align-content: center;
    max-height: none;
    overflow: visible;
  }
  .pf-detail-copy > * { grid-column: 1; }
  .pf-detail .pf-detail-desc {
    grid-column: 2;
    grid-row: 1 / 7;
    align-self: center;
    max-height: calc(100vh - 200px);
    min-height: 0;
    margin: 0;
    padding: clamp(22px, 3.4vh, 34px) clamp(22px, 2vw, 34px);
    border-radius: 22px;
    background: rgba(12, 10, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
            backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    font-size: clamp(14.5px, min(0.3vw + 10px, 1vh + 8px), 17px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    -webkit-mask-image: none;
            mask-image: none;
  }
  .pf-detail-desc p { margin-bottom: 1em; }
  /* a soft fade at the bottom only while there's more to read */
  .pf-detail .pf-detail-desc:not(.is-end) {
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(180deg, #000 calc(100% - 40px), transparent);
  }
  .pf-detail-summary { font-size: clamp(16px, min(0.5vw + 9px, 1.4vh + 7px), 20px) !important; }
  /* the darker shade now spans more of the screen behind the panel */
  .pf-detail-photo::after {
    background:
      linear-gradient(90deg, rgba(8, 7, 30, 0.88) 0%, rgba(8, 7, 30, 0.6) 45%, rgba(8, 7, 30, 0.35) 100%),
      linear-gradient(0deg, rgba(8, 7, 30, 0.55) 0%, rgba(8, 7, 30, 0) 35%);
  }
}
@media (min-width: 1537px) {
  .pf-detail .pf-detail-desc { font-size: calc(17 * var(--u)); }
  .pf-detail-copy, .pf-detail .pf-detail-copy { width: 100%; }
}

/* ================================================================
   3 Nov: right column without the box — a soft dark shade that fades
   out at the edges, and the description as numbered, headed blocks
   (01, 02 …) with a thin line, appearing one after another.
   ================================================================ */
@media (min-width: 861px) and (min-height: 541px) {
  .pf-detail .pf-detail-desc {
    position: relative;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    padding: 6px 18px 18px 6px;
    overflow-y: auto;
  }
  /* the fading shade sits behind the column (on the photo layer side of the grid) */
  .pf-detail-copy { position: relative; }
  .pf-detail-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -12%;
    bottom: -12%;
    left: 44%;
    right: -14%;
    background: radial-gradient(closest-side, rgba(6, 5, 26, 0.72), rgba(6, 5, 26, 0.45) 55%, transparent 100%);
    pointer-events: none;
  }
  .pf-detail-copy { isolation: isolate; }
}
.pf-desc-block { position: relative; padding-top: 16px; margin-bottom: clamp(18px, 3vh, 28px); }
.pf-desc-block:last-child { margin-bottom: 0; }
.pf-desc-block::before {           /* thin line after the number */
  content: "";
  position: absolute;
  left: 42px;
  right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 173, 255, 0.55), rgba(255, 255, 255, 0.05));
}
.pf-desc-num {
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 20px;
  color: #b8adff;
}
.pf-desc-block h4 {
  margin: 22px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, min(0.6vw + 8px, 1.6vh + 6px), 21px);
  line-height: 1.25;
  color: #fff;
}
.pf-desc-block p { margin: 0 0 0.8em; color: rgba(255, 255, 255, 0.78); }
.pf-desc-block p:last-child { margin-bottom: 0; }
/* blocks rise in one after another when a product opens or changes */
.pf-detail.is-open .pf-desc-block { animation: pfBlockIn 0.6s cubic-bezier(.22,.9,.32,1) both; animation-delay: calc(0.55s + var(--b, 0) * 0.15s); }
@keyframes pfBlockIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pf-detail.is-open .pf-desc-block { animation: none; } }
@media (min-width: 1537px) { .pf-desc-block h4 { font-size: calc(21 * var(--u)); } .pf-desc-num { font-size: calc(15 * var(--u)); } }
/* blocks: slightly tighter body text so most items fit without scrolling */
@media (min-width: 861px) and (min-height: 541px) {
  .pf-detail .pf-detail-desc { font-size: clamp(14px, min(0.25vw + 10px, 0.9vh + 8px), 16px); line-height: 1.65; }
}
@media (min-width: 1537px) { .pf-detail .pf-detail-desc { font-size: calc(16 * var(--u)); } }
