/* ============================================================
   SITE MENU BAR (Glass), the same on every page.
   Minimal tech: one thin full-width bar of frosted dark glass, hairlines, small precise Inter type, lots of air.
   Monochrome, with one accent: a 4px lilac square (the PP monogram's pixel) under the current page.
   Markup: scripts/stamp-site-nav.mjs writes it into each page. Behaviour: site-nav.js.
   Every rule is scoped under #pp-strip, #pp-header, #pp-menu or #pp-dock, and the bar uses its own
   font names, so the pages' stylesheets cannot leak into it. Load this file last in <head>.
   Page fixes for the new bar (hero spacing, anchor offsets, sticky gallery) are at the end.
   ============================================================ */
@font-face { font-family: 'PPN Inter'; src: url('/shared/fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPN Inter'; src: url('/shared/fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPN Inter'; src: url('/shared/fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPN Grotesk'; src: url('/shared/fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

#pp-strip, #pp-header, #pp-menu, #pp-dock {
  --ink: #0b0c0e;          /* strip, menu, pill text */
  --solid: #101114;        /* the bar without backdrop-filter */
  --glass: rgba(16, 17, 20, .84); /* .72 left the 13px links at 3.6:1 over the light FAQ band; .84 keeps them above 5:1 */
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --paper: #f3f3f0;        /* text, pills */
  --white: #fff;
  --soft: #a9adb6;         /* links */
  --mute: #8b8f98;         /* strip, secondary text */
  --pill-sub: #5b5f68;     /* price inside the pill */
  --lilac: #c4b8f0;        /* the one accent */
  --tile: #141619;
  --sans: 'PPN Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --bar-h: 52px;
  color-scheme: dark;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: 'cv11', 'ss01';
}
:is(#pp-strip, #pp-header, #pp-menu, #pp-dock) *,
:is(#pp-strip, #pp-header, #pp-menu, #pp-dock) *::before,
:is(#pp-strip, #pp-header, #pp-menu, #pp-dock) *::after { box-sizing: border-box; }
:is(#pp-header, #pp-menu, #pp-dock) .pp-vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
:is(#pp-strip, #pp-menu, #pp-dock) .pp-ext { display: inline-block; flex: none; vertical-align: 0; }

/* ============================== strip ============================== */
#pp-strip {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 28px;
  padding: 0 32px;
  background: var(--ink);
  color: var(--mute);
  font: 500 12px/16px var(--sans);
  letter-spacing: 0;
  text-align: center;
}
#pp-strip .pp-strip__line {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1280px;
  margin: 0;
}
#pp-strip .pp-strip__item { padding-block: 6px; }
#pp-strip .pp-strip__dot { margin: 0 10px; color: var(--pill-sub); }
#pp-strip .pp-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-block: 6px;
  color: var(--soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(169, 173, 182, .4);
  border-radius: 4px;
  outline: none;
  transition: color 150ms ease-out, text-decoration-color 150ms ease-out;
}
#pp-strip .pp-strip__ext { display: inline-flex; color: var(--mute); }
@media (hover: hover) and (pointer: fine) {
  #pp-strip .pp-strip__link:hover { color: var(--paper); text-decoration-color: var(--paper); }
}
#pp-strip .pp-strip__link:focus-visible { color: var(--paper); outline: 2px solid var(--paper); outline-offset: -1px; padding-inline: 6px; margin-inline: -6px; }
@media (min-width: 1024px) { #pp-strip .pp-strip__line--wide { display: flex; } }
@media (min-width: 768px) and (max-width: 1023px) { #pp-strip .pp-strip__line--mid { display: flex; } }
@media (max-width: 767px) {
  #pp-strip { padding: 0 16px; }
  #pp-strip .pp-strip__line--phone { display: flex; }
  #pp-strip .pp-strip__dot { margin: 0 8px; }
}
@media (max-width: 389px) {
  #pp-strip { font-size: 11px; }
  #pp-strip .pp-strip__dot { margin: 0 6px; }
}
/* Too narrow for one line: two centred lines, no dangling dot. */
@media (max-width: 359px) {
  #pp-strip .pp-strip__line--phone { flex-direction: column; padding-block: 3px; }
  #pp-strip .pp-strip__line--phone :is(.pp-strip__item, .pp-strip__link) { padding-block: 2px; }
  #pp-strip .pp-strip__dot { display: none; }
}

/* ============================== bar ============================== */
#pp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: block;
  margin: 0;
  padding: 0;
  background: var(--solid);
  color: var(--paper);
  font-family: var(--sans);
  letter-spacing: 0;
  transform: translateY(0);
  transition: transform 360ms var(--ease), background-color 240ms ease-out;
}
/* Frosted glass where the browser can blur what is under it. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #pp-header, #pp-dock {
    background: var(--glass);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
  }
}
#pp-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}
#pp-header[data-hidden="1"] { transform: translateY(calc(-100% - 2px)); }
/* At the top of the page the bar is thinner glass, so it takes the page's own tone (navy or charcoal)
   and only the hairline marks it; once it floats over content it thickens for legibility. */
#pp-header[data-top="1"] { --glass: rgba(16, 17, 20, .42); }
/* Equal side columns, so the links sit on the page's centre line, under the strip's centre. */
#pp-header .pp-nav__in {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  column-gap: 32px;
  align-items: center;
  max-width: 1264px; /* a 1200px column: the product pages' own edges (120 to 1320 at 1440) */
  min-height: var(--bar-h);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- logo: PP mark ---------- */
:is(#pp-header, #pp-menu) .pp-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 44px;
  min-width: 44px;
  color: var(--paper);
  text-decoration: none;
  border-radius: 8px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
:is(#pp-header, #pp-menu) .pp-logo__mark { display: block; flex: none; width: 22px; height: 22px; }
:is(#pp-header, #pp-menu) .pp-logo__mark img { display: block; width: 22px; height: 22px; max-width: none; margin: 0; border: 0; border-radius: 0; }
:is(#pp-header, #pp-menu) .pp-logo:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

/* ---------- links ---------- */
#pp-header .pp-nav__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#pp-header .pp-nav__links li { margin: 0; padding: 0; }
#pp-header .pp-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  color: var(--soft);
  font: 500 13px/1 var(--sans);
  letter-spacing: -.003em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 150ms ease-out;
}
/* The current page: white, with the monogram's 4px pixel centred under the label. */
#pp-header .pp-nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  background: var(--lilac);
  opacity: 0;
  transform: scale(.5);
  transition: opacity 200ms ease-out, transform 200ms var(--ease);
}
#pp-header .pp-nav__link[aria-current="page"] { color: var(--white); }
#pp-header .pp-nav__link[aria-current="page"]::after { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  #pp-header .pp-nav__link:hover { color: var(--white); }
}
#pp-header .pp-nav__link:focus-visible { color: var(--white); outline: 2px solid var(--paper); outline-offset: 2px; }
#pp-header .pp-nav__link:active { color: var(--paper); opacity: .8; }

/* ---------- Shop: a small light pill ---------- */
:is(#pp-header, #pp-menu, #pp-dock) .pp-shop {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 13px/1 var(--sans);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease-out, transform 160ms var(--ease);
}
:is(#pp-header, #pp-menu, #pp-dock) .pp-shop__price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pill-sub);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
/* A hairline between Shop and the price. */
:is(#pp-header, #pp-menu) .pp-shop:not(.pp-shop--wide) .pp-shop__price::before {
  content: '';
  display: block;
  width: 1px;
  height: 12px;
  background: rgba(11, 12, 14, .16);
}
@media (hover: hover) and (pointer: fine) {
  :is(#pp-header, #pp-menu, #pp-dock) .pp-shop:hover { background: var(--white); }
}
:is(#pp-header, #pp-menu, #pp-dock) .pp-shop:active { transform: scale(.97); transition-duration: 80ms; }
:is(#pp-header, #pp-menu, #pp-dock) .pp-shop:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
#pp-header .pp-nav__shop { justify-self: end; }

/* ---------- Menu and Close buttons (phones) ---------- */
:is(#pp-header, #pp-menu) .pp-btn {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin: 0 -8px 0 0;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font: 500 13px/1 var(--sans);
  letter-spacing: 0;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  :is(#pp-header, #pp-menu) .pp-btn:hover { background: rgba(255, 255, 255, .06); }
}
:is(#pp-header, #pp-menu) .pp-btn:active { background: rgba(255, 255, 255, .08); }
:is(#pp-header, #pp-menu) .pp-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: -2px; }

/* The two-line icon: 16px wide, 1.5px lines, 5px apart. On Close the lines meet in an X. */
:is(#pp-header, #pp-menu) .pp-ico { position: relative; display: block; flex: none; width: 16px; height: 16px; }
:is(#pp-header, #pp-menu) .pp-ico i {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 320ms var(--ease);
}
:is(#pp-header, #pp-menu) .pp-ico i:first-child { top: 4.75px; }
:is(#pp-header, #pp-menu) .pp-ico i:last-child { top: 9.75px; }
#pp-menu .pp-ico--close i:first-child { transform: translateY(2.5px) rotate(45deg) scaleX(.875); }
#pp-menu .pp-ico--close i:last-child { transform: translateY(-2.5px) rotate(-45deg) scaleX(.875); }
@starting-style {
  #pp-menu[open] .pp-ico--close i:first-child,
  #pp-menu[open] .pp-ico--close i:last-child { transform: none; }
}

/* ---------- 768 to 1023px ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  #pp-header .pp-nav__in { column-gap: 20px; padding: 0 24px; }
  #pp-header .pp-nav__links { gap: 8px; }
  #pp-header .pp-nav__shop .pp-shop__price { display: none; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  #pp-header .pp-nav__in { display: flex; align-items: center; gap: 4px; padding: 0 16px; }
  #pp-header .pp-nav__links, #pp-header .pp-nav__shop { display: none; }
  :is(#pp-header, #pp-menu) .pp-logo { margin-left: auto; }
  :is(#pp-header, #pp-menu) .pp-btn { margin: 0 0 0 -8px; }
  :is(#pp-header, #pp-menu) .pp-shop:not(.pp-shop--wide) { margin-left: auto; margin-right: 4px; }
  :is(#pp-header, #pp-menu) .pp-shop:not(.pp-shop--wide) .pp-shop__price { display: none; }
  /* 32px pill, 44px tap target. */
  :is(#pp-header, #pp-menu) .pp-shop:not(.pp-shop--wide)::after { content: ''; position: absolute; inset: -6px -4px; }
  :is(#pp-header, #pp-menu) .pp-btn { display: inline-flex; }
}
@media (max-width: 339px) {
  :is(#pp-header, #pp-menu) .pp-btn { gap: 6px; }
}

/* ============================== menu (phones) ============================== */
/* The menu opens from the bar down: it starts where the bar is (below the strip at the top of the page),
   so nothing above the bar moves and there is no empty band; the strip stays, dimmed, behind the backdrop. */
#pp-menu {
  position: fixed;
  inset: var(--pp-menu-top, 0px) 0 0 0;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  color: var(--paper);
  background: var(--ink);
  color-scheme: dark;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  font: 400 15px/1.4 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
#pp-menu::backdrop { background: rgba(11, 12, 14, .55); transition: background-color 220ms ease-out; }
@starting-style { #pp-menu[open]::backdrop { background: rgba(11, 12, 14, 0); } }
html:has(#pp-menu[open]) { overflow: hidden; }

/* Open: a calm fade, the list rises 8px. Close: a shorter fade where overlay transitions exist. */
#pp-menu[open] { opacity: 1; transition: opacity 220ms ease-out; }
@starting-style { #pp-menu[open] { opacity: 0; } }
@supports (overlay: auto) {
  #pp-menu { opacity: 0; transition: opacity 160ms ease-in, display 160ms allow-discrete, overlay 160ms allow-discrete; }
  #pp-menu[open] { opacity: 1; transition: opacity 220ms ease-out, display 220ms allow-discrete, overlay 220ms allow-discrete; }
}
#pp-menu .pp-menu__body { flex: 1 0 auto; transform: none; transition: transform 420ms var(--ease); }
@starting-style { #pp-menu[open] .pp-menu__body { transform: translateY(8px); } }

#pp-menu .pp-menu__in { display: flex; flex-direction: column; min-height: 100%; }
/* Close replaces Menu on the left; the logo stays on the right. */
#pp-menu .pp-menu__bar {
  position: sticky; /* Close stays in reach when the list scrolls (320 and 360px phones), framed by the pinned Shop below */
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: var(--bar-h);
  margin: 0 -16px;
  padding: 0 16px;
  background: var(--ink);
  box-shadow: inset 0 -1px 0 var(--line);
}

#pp-menu nav { display: block; }
#pp-menu .pp-menu__list { margin: 0 -16px; padding: 8px 0 0; list-style: none; }
#pp-menu .pp-menu__item { margin: 0 16px; padding: 0; border-bottom: 1px solid var(--line); }

#pp-menu .pp-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 16px;
  column-gap: 16px;
  align-items: center;
  min-height: 96px;
  margin: 0 -16px;
  padding: 16px;
  color: var(--paper);
  text-decoration: none;
  border-radius: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease-out;
}
#pp-menu .pp-row--text { display: flex; align-items: center; min-height: 68px; padding-block: 14px; }
@media (hover: hover) and (pointer: fine) {
  #pp-menu .pp-row:hover { background: rgba(255, 255, 255, .03); }
}
#pp-menu .pp-row:active { background: rgba(255, 255, 255, .05); }
#pp-menu .pp-row:focus-visible { outline: 2px solid var(--paper); outline-offset: -6px; border-radius: 14px; }

/* Console rows: a quiet tile, then name, price, shape and the four colours. */
#pp-menu .pp-row__pic {
  display: grid;
  place-items: center;
  width: 88px;
  height: 64px;
  border-radius: 12px;
  background: var(--tile);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  overflow: hidden;
}
#pp-menu .pp-row__pic img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
#pp-menu .pp-row__pic--wide img { width: 76px; }
#pp-menu .pp-row__pic--upright img { height: 54px; }
#pp-menu .pp-row__text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
#pp-menu .pp-row__name { display: inline-flex; align-items: center; gap: 0; color: var(--paper); font: 600 20px/1.15 var(--sans); letter-spacing: -.015em; }
/* the model's last letter in gold (owner, 22 Oct) */
#pp-menu .pp-row__end--gold { color: #c5ad79; }
#pp-menu .pp-row__name::after { margin-left: 10px; } /* the current-page pixel keeps its gap; the letters sit tight */
#pp-menu .pp-row__meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--mute); font: 400 13px/1 var(--sans); }
#pp-menu .pp-dots { display: flex; gap: 5px; }
#pp-menu .pp-dots i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
#pp-menu .pp-row__arrow { color: var(--pill-sub); font: 400 16px/1 var(--sans); justify-self: end; transition: color 150ms ease-out, transform 200ms var(--ease); }
#pp-menu .pp-row:is(:hover, :focus-visible) .pp-row__arrow { color: var(--paper); transform: translateX(2px); }

/* Text rows: plain large links. */
#pp-menu .pp-row__label { display: inline-flex; align-items: center; gap: 12px; font: 600 28px/1.1 var(--sans); letter-spacing: -.025em; }
#pp-menu .pp-row__sub { margin-top: 4px; color: var(--mute); font: 400 13px/1.3 var(--sans); }

/* The current page: the same 4px lilac pixel, after the name. */
#pp-menu .pp-row[aria-current="page"] :is(.pp-row__label, .pp-row__name)::after {
  content: '';
  display: block;
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--lilac);
}

#pp-menu .pp-menu__facts { padding: 24px 0 28px; } /* clears the fade above the pinned Shop at the end of the list */
#pp-menu .pp-menu__facts ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
#pp-menu .pp-menu__facts li { color: var(--mute); font: 400 13px/1.45 var(--sans); }
#pp-menu .pp-menu__contact { display: flex; flex-wrap: wrap; column-gap: 20px; margin: 6px 0 0; }
#pp-menu .pp-menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  color: var(--soft);
  font: 500 13px/1.2 var(--sans);
  text-decoration: underline;
  text-decoration-color: rgba(169, 173, 182, .35);
  text-underline-offset: 4px;
  border-radius: 4px;
  outline: none;
}
#pp-menu .pp-menu__contact a:focus-visible { color: var(--paper); outline: 2px solid var(--paper); outline-offset: 2px; }

/* Pinned: one full-width Shop pill. */
#pp-menu .pp-menu__pin {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 0 -16px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
}
/* The list fades out above the pinned Shop instead of being sliced by it. */
#pp-menu .pp-menu__pin::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: 24px;
  background: linear-gradient(to bottom, rgba(11, 12, 14, 0), var(--ink));
  pointer-events: none;
}
#pp-menu .pp-shop--wide { display: flex; width: 100%; min-height: 48px; gap: 8px; font-size: 15px; }
#pp-menu .pp-shop--wide .pp-shop__sep { color: var(--pill-sub); }
#pp-menu .pp-shop--wide .pp-shop__price { font-size: 15px; }

@media (max-width: 359px) {
  #pp-menu .pp-row { grid-template-columns: 72px minmax(0, 1fr) 14px; column-gap: 14px; }
  #pp-menu .pp-row__pic { width: 72px; height: 56px; border-radius: 10px; }
  #pp-menu .pp-row__pic--wide img { width: 62px; }
  #pp-menu .pp-row__pic--upright img { height: 46px; }
  #pp-menu .pp-row__label { font-size: 26px; }
}

/* ============================== product pages: glass buy dock ============================== */
#pp-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: block;
  margin: 0;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  background: var(--solid);
  color: var(--paper);
  box-shadow: inset 0 1px 0 var(--line);
  font-family: var(--sans);
  letter-spacing: 0;
  transform: translateY(calc(100% + 8px));
  visibility: hidden;
  transition: transform 220ms ease-in, visibility 0s linear 220ms;
}
#pp-dock.is-shown {
  transform: none;
  visibility: visible;
  transition: transform 420ms var(--ease), visibility 0s;
}
#pp-dock .pp-dock__in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "thumb pick total buy";
  align-items: center;
  max-width: 1264px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 32px;
}
#pp-dock .pp-dock__thumb {
  grid-area: thumb;
  display: grid;
  place-items: center;
  width: 56px;
  height: 40px;
  margin-right: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
#pp-dock .pp-dock__thumb img { display: block; width: auto; height: 32px; max-width: 48px; }
#pp-dock .pp-dock__thumb--wide img { width: 48px; height: auto; max-height: 32px; }
/* Desktop: the info wrapper dissolves, so the pick and the total are cells of the dock's grid. */
#pp-dock .pp-dock__info { display: contents; }
#pp-dock .pp-dock__pick {
  grid-area: pick;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 2px;
  justify-self: start;
  align-content: center;
  min-height: 40px;
  padding: 0 6px;
  margin-left: -6px;
  color: var(--paper);
  text-decoration: none;
  border-radius: 8px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
#pp-dock .pp-dock__choice { font: 500 14px/1.2 var(--sans); letter-spacing: -.005em; }
#pp-dock .pp-dock__change {
  color: var(--mute);
  font: 400 13px/1.2 var(--sans);
  text-decoration: underline;
  text-decoration-color: rgba(139, 143, 152, .45);
  text-underline-offset: 3px;
  transition: color 150ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  #pp-dock .pp-dock__pick:hover .pp-dock__change { color: var(--paper); text-decoration-color: var(--paper); }
}
#pp-dock .pp-dock__pick:focus-visible { outline: 2px solid var(--paper); outline-offset: 0; }
#pp-dock .pp-dock__total {
  grid-area: total;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 24px;
}
#pp-dock .pp-dock__total-label { color: var(--mute); font: 400 13px/1 var(--sans); }
#pp-dock .pp-dock__total-num { color: var(--white); font: 600 15px/1 var(--sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
#pp-dock .pp-dock__buy { grid-area: buy; gap: 6px; min-height: 36px; padding: 0 18px; }
#pp-dock .pp-dock__buy .pp-ext { margin-top: 1px; }

@media (max-width: 767px) {
  #pp-dock .pp-dock__in {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "thumb info buy";
    min-height: 64px;
    padding: 10px 16px;
  }
  #pp-dock .pp-dock__thumb { width: 48px; height: 40px; margin-right: 0; }
  #pp-dock .pp-dock__thumb img { height: 32px; max-width: 40px; }
  #pp-dock .pp-dock__thumb--wide img { width: 40px; height: auto; }
  /* The whole text cell is the change-colour link (stretched over choice and total). */
  #pp-dock .pp-dock__info {
    grid-area: info;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    align-self: stretch;
    min-height: 44px;
    margin: 0 12px;
  }
  #pp-dock .pp-dock__pick { position: static; display: block; min-height: 0; margin: 0; padding: 0; }
  #pp-dock .pp-dock__pick::after { content: ''; position: absolute; inset: -10px -12px; border-radius: 10px; }
  #pp-dock .pp-dock__pick:focus-visible { outline: none; }
  #pp-dock .pp-dock__pick:focus-visible::after { outline: 2px solid var(--paper); outline-offset: -2px; }
  #pp-dock .pp-dock__choice { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #pp-dock .pp-dock__change { display: none; }
  #pp-dock .pp-dock__total { display: block; padding: 0; pointer-events: none; }
  #pp-dock .pp-dock__total-label { display: none; }
  #pp-dock .pp-dock__total-num { font-size: 14px; }
  #pp-dock .pp-dock__buy { min-height: 40px; padding: 0 16px; }
  #pp-dock .pp-dock__buy::after { content: ''; position: absolute; inset: -4px -4px; }
}
@media (max-width: 359px) {
  #pp-dock .pp-dock__thumb { display: none; }
  #pp-dock .pp-dock__info { margin-left: 0; }
}

/* ============================== reduced motion ============================== */
@media (prefers-reduced-motion: reduce) {
  /* An invisible bar never catches taps; no visibility:hidden, so the focusin reveal still works. */
  #pp-header { transition: opacity 120ms linear !important; transform: none !important; }
  #pp-header[data-hidden="1"] { opacity: 0; pointer-events: none; }
  :is(#pp-header, #pp-menu, #pp-dock) .pp-shop:active { transform: none; }
  :is(#pp-header, #pp-menu) .pp-ico i, #pp-header .pp-nav__link::after, #pp-menu .pp-row__arrow { transition: none !important; }
  #pp-menu[open] { transition: opacity 120ms linear; }
  @starting-style { #pp-menu[open] .pp-menu__body { transform: none; } }
  #pp-menu .pp-menu__body { transition: none; }
  #pp-dock, #pp-dock.is-shown { transform: none; transition: opacity 120ms linear, visibility 0s linear 120ms; opacity: 0; }
  #pp-dock.is-shown { opacity: 1; transition: opacity 120ms linear, visibility 0s; }
}

/* ============================== forced colours ============================== */
@media (forced-colors: active) {
  #pp-header .pp-nav__link[aria-current="page"] { text-decoration: underline 2px; text-underline-offset: 6px; }
  :is(#pp-header, #pp-menu, #pp-dock) .pp-shop { border: 1px solid ButtonText; }
  #pp-header .pp-nav__link::after, #pp-menu .pp-row[aria-current="page"] :is(.pp-row__label, .pp-row__name)::after { forced-color-adjust: none; background: CanvasText; }
  :is(#pp-header, #pp-menu) .pp-ico i { forced-color-adjust: none; background: ButtonText; }
}

/* ============================== page fixes for the new bar ============================== */
/* Anchors stop just below the bar (52px + 24px; + 20px on phones). This replaces the pages' own
   offsets, which were sized for the old bars. */
html:has(#pp-header) { scroll-padding-top: 76px; }
@media (max-width: 767px) { html:has(#pp-header) { scroll-padding-top: 72px; } }

/* Short landscape screens: the bar stays at the top of the page instead of following you. */
@media (max-height: 480px) and (orientation: landscape) {
  #pp-header { position: relative; }
  #pp-header[data-hidden="1"] { transform: none; opacity: 1; pointer-events: auto; }
  html:has(#pp-header) { scroll-padding-top: 0; }
  #pp-dock { display: none; }
}

/* Homepage: the old bar was fixed and the body was padded for it; the new bar is in the page flow.
   --nav-h is the strip plus the bar (28 + 52), so the hero still fills the rest of the first screen. */
body.homepage-studio { padding-top: 0; }
:root[data-nav="studio"] { --nav-h: 80px; }
/* The homepage's sections kept their own 88-96px offsets for the old fixed bar; the scroll-padding above
   already clears the new bar, so they would add up (FAQ landed 164px down instead of 76px). */
body.homepage-studio :is(#top, .pp-sec, .pp-qa),
body.homepage-studio :where(.pp-sec, .pp-foot) :is(a, button, summary, [tabindex]) { scroll-margin-top: 0; }

/* Consoles: the old pill floated over the hero, which was padded 88-132px for it. The new bar is in
   the flow, so the hero only needs its own breathing space. */
body.cs .cs-wrap { padding-top: 44px; }
body.cs .cs-below section { scroll-margin-top: 0; } /* the scroll-padding above already clears the bar */
@media (max-width: 767px) { body.cs .cs-wrap { padding-top: 28px; } }

/* Product pages: the sticky gallery follows the bar as it hides and returns
   (site-nav.js writes --pp-bar-offset: the bar's height while shown, 0 while hidden). */
body.retro-product .gallery { top: calc(var(--pp-bar-offset, 52px) + 24px); transition: top 360ms cubic-bezier(.32, .72, 0, 1); }
@media (prefers-reduced-motion: reduce) { body.retro-product .gallery { transition: none; } }

/* The cookie notice sits above the buy dock while the dock is showing. */
html.pp-dock-on .pp-ads-notice { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
/* keep focused controls clear of the dock while it shows (meta-pixel.js sets its own value while the cookie notice is open) */
html.pp-dock-on { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* Menu thumbnails reuse the consoles-page casing crops and switched-off displays. */
#pp-menu .pp-row__photo { position: relative; display: block; }
#pp-menu .pp-row__photo--r36h { width: 76px; aspect-ratio: 651 / 305; overflow: hidden; border-radius: 7.5% / 16%; }
#pp-menu .pp-row__photo--r36h img { position: absolute; left: -23.809524%; top: -38.360656%; width: 147.465438%; height: auto; max-width: none; max-height: none; }
#pp-menu .pp-row__photo--r36s { height: 54px; aspect-ratio: 627 / 1125; }
#pp-menu .pp-row__photo--r36s img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
#pp-menu .pp-row__screen { position: absolute; left: 7.017544%; top: 12.533333%; width: 85.167464%; height: 34.4%; border-radius: 1%; background: linear-gradient(112deg, #202124 0%, #17181a 48%, #050506 48.2%, #050506 100%); }
@media (max-width: 359px) {
  #pp-menu .pp-row__photo--r36h { width: 62px; }
  #pp-menu .pp-row__photo--r36s { height: 46px; }
}

/* Approved mobile menu: black glass, matching the homepage hero. */
@media (max-width: 767px) {
  body #pp-header .pp-btn.pp-nav__menu:not(:disabled),
  body #pp-menu .pp-btn.pp-menu__close:not(:disabled) {
    min-height: 44px;
    margin: 0;
    padding: 0 15px 0 13px;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(36, 36, 40, .88) 0%, rgba(8, 8, 10, .91) 48%, rgba(0, 0, 0, .94) 100%);
    color: #f5f5f7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .27), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 3px 14px rgba(0, 0, 0, .24);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 150ms ease-out, transform 150ms ease-out;
  }
  body #pp-header .pp-btn.pp-nav__menu:not(:disabled):active,
  body #pp-menu .pp-btn.pp-menu__close:not(:disabled):active {
    background: linear-gradient(160deg, #323238, #161619);
  }
  @media (prefers-reduced-motion: no-preference) {
    body #pp-header .pp-btn.pp-nav__menu:not(:disabled):active,
    body #pp-menu .pp-btn.pp-menu__close:not(:disabled):active { transform: scale(.96); }
  }
  @media (prefers-reduced-motion: reduce) {
    body #pp-header .pp-btn.pp-nav__menu:not(:disabled),
    body #pp-menu .pp-btn.pp-menu__close:not(:disabled) { transition: none; }
  }
  @media (prefers-reduced-transparency: reduce) {
    body #pp-header .pp-btn.pp-nav__menu:not(:disabled),
    body #pp-menu .pp-btn.pp-menu__close:not(:disabled) { background: #101012; -webkit-backdrop-filter: none; backdrop-filter: none; }
  }
  @media (forced-colors: active) {
    body #pp-header .pp-btn.pp-nav__menu:not(:disabled),
    body #pp-menu .pp-btn.pp-menu__close:not(:disabled) { color: ButtonText; background: ButtonFace; border-color: ButtonText; box-shadow: none; }
  }
}

/* Keep the desktop links centred and the mobile cart on the right without a header logo. */
@media (min-width: 768px) {
  #pp-header .pp-nav__links { grid-column: 2; }
  #pp-header .pp-nav__actions { grid-column: 3; }
}
@media (max-width: 767px) {
  #pp-header .pp-nav__actions { margin-left: auto; }
}

/* Every page: keep the page exactly the screen's width. iOS Safari (seen on an iPhone 17 Pro, 29 Oct 2026) let pages
   slide sideways when anything poked past the edge, even with body overflow-x: hidden. clip (not hidden) keeps the sticky
   menu working; overscroll-behavior-x stops the sideways rubber-band. Vertical scrolling and pinch-zoom are unchanged. */
html, body { overflow-x: clip; }
html { overscroll-behavior-x: none; }
