/* ═════════════════════════════════════════════════════════════════════════
   PROJECT PAGES — one template, content in project-pages.js, motion in
   project.js. A tile on the wheel grows into the hero panel (same panel as
   the homepage showreel), its name flies from the line above it into the
   title. Play film opens the crop to the film's real frame and turns the
   lights off. Below: lead + credits, then the page flips between white and
   black at "edges" whose headline inverts as the edge passes through it.
   ═════════════════════════════════════════════════════════════════════════ */

#project-view {
  --ink: #1B1819;
  --paper: #FFFFFF;
  --night: #0D0C0C;
  --g: max(16px, 2.5vw);                                   /* outer gutter = the panel's side margin */
  --cg: clamp(10px, 1.35vw, 26px);                         /* column gap */
  --pad-y: calc(3vh + 76px);                               /* panel top/bottom (logo above, menu below) */
  --lead: clamp(24px, min(2.6vw, 4.6vh), 46px);
  --body: clamp(16px, min(1.25vw, 2.2vh), 20px);
  --label: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: fixed;
  inset: 0;
  z-index: 90;                              /* like Services: above the wheel, below logo (95), menu (150), modal (200) */
  visibility: hidden;
  pointer-events: none;
  background: transparent;
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.45s ease;
}
#project-view.open { visibility: visible; pointer-events: auto; }
#project-view.solid { background: var(--paper); }
#project-view.fading { opacity: 0; transition: opacity 0.45s ease, background-color 0.45s ease; }
#project-view.cinema { background: var(--night); transition: background-color 0.7s ease; }

.pj-scroll {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pj-scroll::-webkit-scrollbar { display: none; }
.pj-scroll:focus { outline: none; }
#project-view.locked .pj-scroll { overflow: hidden; }
/* while the tile grows, only the hero exists */
#project-view.opening .pj-body, #project-view.closing .pj-body { visibility: hidden; }

/* ── grain ─────────────────────────────────────────────────────────────────
   The site's grain (#grain, index.html) sits on top of everything. Once a
   page is open it is swapped for this layer: same tile, same flicker, but
   it lies under the pictures (they sit at z-index 2), so it never stacks
   with the film's own grain. */
.pj-grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background-repeat: repeat;
  animation: grainShift 0.9s steps(6) infinite;
  transition: opacity 0.5s ease;
}
body.pj-clean .pj-grain { opacity: 0.04; }
#grain { transition: opacity 0.5s ease; }
body.pj-clean #grain { opacity: 0 !important; }

/* ── close (same as Services) ───────────────────────────────────────────── */
.pj-close {
  position: fixed;
  z-index: 6;
  top: calc(2.4vh + 4px);
  right: 2.5vw;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--fg, var(--ink)) 28%, transparent);
  background: transparent;
  color: var(--fg, var(--ink));
  cursor: pointer;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, color 0.35s ease, opacity 0.4s ease;
}
.pj-close span {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.pj-close span + span { transform: translate(-50%, -50%) rotate(-45deg); }
.pj-close:hover { transform: rotate(90deg); border-color: var(--fg, var(--ink)); }
#project-view.ready .pj-close { opacity: 1; }
#project-view.dark-top { --fg: #FFFFFF; }
#project-view.cinema .pj-close { opacity: 0; pointer-events: none; }

/* ── hero: the panel ────────────────────────────────────────────────────── */
.pj-hero { position: relative; height: 100vh; height: 100svh; }
.pj-frame {
  position: absolute;
  left: var(--g); right: var(--g);
  top: var(--pad-y); bottom: var(--pad-y);
  cursor: pointer;
}
.pj-media {
  position: absolute;
  z-index: 2;                                /* above the page grain */
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--night);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);   /* Safari: clip video to the radius */
}
.pj-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pj-media .pj-teaser,
.pj-media .pj-borrowed { transform: translate3d(0, var(--hero-py, 0px), 0) scale(var(--hero-s, 1.06)); transform-origin: 50% 50%; }
.pj-media .pj-borrowed { z-index: 1; transition: opacity 0.35s ease; }
.pj-media .pj-film { z-index: 2; object-fit: contain; background: #000; opacity: 0; transition: opacity 0.5s ease; }
.pj-media .pj-film.on { opacity: 1; }
.pj-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 9, 9, 0.42) 0%, rgba(10, 9, 9, 0) 42%),
    linear-gradient(0deg, rgba(10, 9, 9, 0.28) 0%, rgba(10, 9, 9, 0) 30%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
#project-view.ready .pj-shade { opacity: 1; }
#project-view.cinema .pj-shade { opacity: 0; }

.pj-title {
  position: absolute;
  z-index: 4;
  left: clamp(16px, 2.4vw, 44px);
  top: clamp(14px, 2.1vw, 40px);
  margin: 0;
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(52px, 11.2vw, 230px);
  line-height: 0.8;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.pj-title .ch { display: inline-block; transform-origin: 0 0; }
.pj-title, .pj-service { transition: opacity 0.35s ease; }
#project-view.cinema .pj-title, #project-view.cinema .pj-service { opacity: 0 !important; }
.pj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.pj-title .ln { display: block; }
.pj-title.long { font-size: clamp(40px, 6.6vw, 140px); line-height: 0.86; }

.pj-service {
  position: absolute;
  z-index: 4;
  right: clamp(16px, 2.4vw, 44px);
  top: clamp(16px, 2.4vw, 44px);
  margin: 0;
  color: #FFFFFF;
  font-size: var(--label);
  letter-spacing: -0.005em;
  text-transform: lowercase;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--lbl);
  font-weight: 500;
}

/* Play film: a pill in the corner; on a fine pointer it follows the cursor over the panel */
.pj-play {
  position: absolute;
  z-index: 5;
  right: clamp(16px, 2.4vw, 44px);
  bottom: clamp(16px, 2.4vw, 44px);
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 24px 0 20px;
  border: none;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink);
  font: 800 0.86rem var(--lbl);
  letter-spacing: -0.005em;
  text-transform: lowercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--ps, 0.6));
  transition: opacity 0.35s ease;
  will-change: transform;
}
.pj-play i {                                    /* the triangle */
  width: 0; height: 0;
  border-left: 9px solid currentColor;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  margin-right: -2px;
}
.pj-play b { font-weight: 400; letter-spacing: 0; opacity: 0.55; font-variant-numeric: tabular-nums; }
a.pj-play { text-decoration: none; }
#project-view.ready .pj-play { opacity: 1; }
#project-view.cinema .pj-play { opacity: 0; pointer-events: none; }
#project-view.ready .pj-frame.follow { cursor: none; }

/* ── cinema controls (under the film) ──────────────────────────────────── */
.pj-controls {
  position: fixed;
  z-index: 8;
  left: 0; top: 0; width: 0;               /* placed by JS under the film */
  color: #FFFFFF;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  font-family: var(--lbl);
  font-weight: 500;
}
#project-view.cinema.ui .pj-controls { opacity: 1; pointer-events: auto; }
#project-view.cinema:not(.ui) { cursor: none; }
.pj-bar { position: relative; height: 18px; cursor: pointer; touch-action: none; }
.pj-bar::before, .pj-bar i {
  content: ''; position: absolute; left: 0; top: 8px; height: 1px;
}
.pj-bar::before { right: 0; background: rgba(255, 255, 255, 0.24); }
.pj-bar i { width: 100%; height: 2px; top: 7.5px; background: #FFFFFF; transform-origin: 0 50%; transform: scaleX(0); }
.pj-bar:hover::before { height: 3px; top: 7px; }
.pj-bar:hover i { height: 3px; top: 7px; }
.pj-ctl { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 6px; }
.pj-ctl > span { display: flex; align-items: center; gap: 22px; }
.pj-ctl button {
  white-space: nowrap;
  background: none; border: none; padding: 6px 0; margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  cursor: pointer;
}
.pj-ctl button:hover, .pj-ctl button:focus-visible { color: #FFFFFF; }
.pj-ctl button:focus { outline: none; }
.pj-ctl button:focus-visible, .pj-bar:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.55); outline-offset: 4px; }
.pj-bar:focus { outline: none; }
.pj-play:focus { outline: none; }
.pj-play:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.pj-next-a { display: block; color: inherit; text-decoration: none; }
.pj-next:focus, .pj-next-a:focus { outline: none; }
.pj-next-a:focus-visible .pj-next-title, .pj-next:focus-visible .pj-next-title { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.pj-time { color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── body sections ─────────────────────────────────────────────────────── */
.pj-body { position: relative; }
.pj-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--cg);
  padding: 0 var(--g);
}
.pj-labels {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: var(--label);
  letter-spacing: -0.005em;
  text-transform: lowercase;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-labels span:last-child { text-align: right; }
.pj-intro .pj-labels { display: grid; grid-template-columns: subgrid; }   /* "Credits" sits over the credits column */
.pj-intro .pj-labels span:first-child { grid-column: 1 / 8; }
.pj-intro .pj-labels span:last-child { grid-column: 9 / 13; text-align: left; }

/* intro: lead + credits */
.pj-intro { padding-top: 15vh; padding-bottom: 26vh; background: var(--paper); }
.pj-lead {
  grid-column: 1 / 8;
  margin: 7vh 0 0;
  font-weight: 700;
  font-size: var(--lead);
  line-height: 1.1;
  letter-spacing: -0.022em;
  max-width: 23em;
  text-wrap: pretty;
}
.pj-credits {
  grid-column: 9 / 13;
  margin: 7vh 0 0;
  padding-top: calc(var(--lead) * 0.16);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 12px;
  align-content: start;
}
.pj-credits dt {
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  padding-top: 3px;
  white-space: nowrap;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-credits dd { margin: 0; font-size: var(--body); font-weight: 500; line-height: 1.3; }
.pj-credits dd span { display: block; }
/* credits in groups (project-pages.js: { group: 'Film' }) — one column of labels for all of them */
.pj-credits-wrap { grid-column: 9 / 13; margin: 7vh 0 0; padding-top: calc(var(--lead) * 0.16); }
.pj-credits-wrap .pj-credits { margin: 0; padding-top: 0; grid-template-columns: 11em minmax(0, 1fr); }
.pj-credits-wrap .pj-credits dt { white-space: normal; line-height: 1.35; }
.pj-credits-head {
  margin: 36px 0 16px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: var(--label);
  letter-spacing: -0.005em;
  text-transform: lowercase;
  font-family: var(--lbl);
  font-weight: 500;
}

/* edge: the page changes tone; the headline holds still and inverts as the edge passes */
.pj-edge { position: relative; height: 210vh; }
.pj-edge.small { height: 150vh; }
.pj-edge[data-from="light"] { background: linear-gradient(180deg, var(--paper) 0 50%, var(--ink) 50% 100%); }
.pj-edge[data-from="dark"]  { background: linear-gradient(180deg, var(--ink) 0 50%, var(--paper) 50% 100%); }
.pj-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 var(--g);
  color: #FFFFFF;
  mix-blend-mode: difference;
  text-align: center;
  pointer-events: none;
}
.pj-kicker, .pj-note {
  margin: 0;
  font-size: var(--label);
  letter-spacing: -0.005em;
  text-transform: lowercase;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-edge-title {
  margin: 3.2vh 0 0;
  font-weight: 700;
  font-size: clamp(60px, 12.4vw, 250px);
  line-height: 0.84;
  letter-spacing: -0.05em;
}
.pj-edge-title > span { display: block; }
.pj-edge.small .pj-edge-title { font-size: clamp(52px, 9.6vw, 190px); margin: 0; }
.pj-edge.small .pj-note { margin-top: 3.2vh; }
.pj-edge-text {
  margin: 5.5vh 0 0;
  max-width: 34ch;
  font-size: var(--body);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}

/* chapters of stills, each on its own tone */
.pj-chapter { padding-top: 6vh; padding-bottom: 22vh; }
.pj-chapter[data-tone="dark"] { background: var(--ink); color: #FFFFFF; }
.pj-chapter[data-tone="light"] { background: var(--paper); color: var(--ink); padding-top: 0; }
/* the other blocks (statement, logos…) take the dark of a chapter too, outside a dive */
.pj-page:not(.depth) .pj-body > section[data-tone="dark"] { background: var(--ink); color: #FFFFFF; }
.pj-chapter-head { align-items: end; padding-bottom: 9vh; }
.pj-chapter-title {
  grid-column: 1 / 9;
  margin: 0;
  font-weight: 700;
  font-size: clamp(44px, 7.2vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.pj-chapter-head .pj-note { grid-column: 9 / 13; justify-self: end; text-align: right; padding-bottom: 0.6em; opacity: 0.66; }
.pj-row { align-items: start; }
.pj-row + .pj-row { margin-top: clamp(56px, 13vh, 170px); }
.pj-still { position: relative; margin: 0; }
.pj-shot {
  position: relative;
  z-index: 2;                                /* above the page grain */
  aspect-ratio: var(--still-ar, 1.4352);           /* the project's frame (project-pages.js: stillAspect) */
  overflow: hidden;
  background: color-mix(in srgb, currentColor 7%, transparent);
  clip-path: inset(46% 0 46% 0);                 /* opens like a tile coming into focus */
  transition: clip-path 1.25s var(--ease);
}
.pj-shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.12);
  transition: transform 1.6s var(--ease), opacity 0.6s ease;
  opacity: 0;
}
.pj-shot img.loaded { opacity: 1; }
.pj-still.in .pj-shot { clip-path: inset(0 0 0 0); }
.pj-still.in .pj-shot img { transform: translate3d(0, var(--py, 0px), 0) scale(1.06); }
.pj-cap {
  margin: 12px 0 0;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  opacity: 0.6;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-notes { margin: 0; align-self: center; }
.pj-notes p {
  margin: 0;
  font-weight: 700;
  font-size: var(--lead);
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}
.pj-notes h3 {
  margin: 7vh 0 14px;
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-family: var(--lbl);
}
.pj-notes dl { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 8px; margin: 0; }
.pj-notes dt { font-size: 13px; letter-spacing: -0.005em; text-transform: lowercase; opacity: 0.5; padding-top: 3px; font-family: var(--lbl); font-weight: 500; }
.pj-notes dd { margin: 0; font-size: var(--body); font-weight: 500; line-height: 1.3; }

/* finale: one frame edge to edge, then the closing line */
.pj-finale { background: var(--paper); padding-bottom: 20vh; }
.pj-finale .pj-still { margin: 0; }
.pj-finale .pj-shot { aspect-ratio: auto; height: min(100vh, calc(100vw / var(--still-ar, 1.4352))); }
.pj-finale.bare { padding-bottom: 14vh; }
.pj-finale-text {
  grid-column: 1 / 9;
  margin: 14vh 0 0;
  font-weight: 700;
  font-size: var(--lead);
  line-height: 1.1;
  letter-spacing: -0.022em;
  max-width: 23em;
  text-wrap: pretty;
}

/* next project */
.pj-next { background: var(--paper); padding-bottom: 12vh; cursor: pointer; }   /* the footer follows (footer.css) */
.pj-next-title {
  grid-column: 1 / 9;
  margin: 6vh 0 0;
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}
.pj-next-title span { display: block; }
.pj-next-tile {
  position: relative;
  z-index: 2;                                /* above the page grain */
  grid-column: 9 / 13;
  margin-top: 6vh;
  aspect-ratio: 3852 / 2038;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  align-self: start;
}
.pj-next-tile video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.01); transition: transform 0.9s var(--ease); }
.pj-next:hover .pj-next-tile video { transform: scale(1.06); }
.pj-next:hover .pj-next-title { opacity: 0.55; }

/* a client's wordmark inside a headline (project-pages.js: mark) — a white
   PNG; inside an edge it inverts with the letters around it */
.pj-mark {
  display: inline-block;
  height: 0.8em;
  width: calc(0.8em * var(--mark-ar, 4));
  vertical-align: -0.12em;
  object-fit: contain;
}
/* a struck word in an edge headline (~word~ in project-pages.js): the line draws across once it comes in */
.pj-edge-title .pj-strike { position: relative; display: inline-block; text-decoration: none; }
.pj-edge-title .pj-strike::after {
  content: '';
  position: absolute;
  left: -0.04em; right: -0.04em;
  top: 0.5em;
  height: 0.08em;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease) 0.35s;
}
.pj-edge-title .pj-strike.in::after { transform: scaleX(1); }
/* a medium headline for an edge (a line of copy rather than a title) */
.pj-edge.m .pj-edge-title { font-size: clamp(40px, 7.4vw, 150px); line-height: 0.9; letter-spacing: -0.045em; }
.pj-edge.m .pj-edge-title > span { white-space: nowrap; }

/* ── the row of clips (vertical teasers) ──────────────────────────────────
   wide screens: the section pins and the row walks past sideways (JS sets
   --reels-run and the transform); phones + reduced motion: a row you swipe */
.pj-reels {
  --reel-h: min(60vh, 620px);
  --reel-gap: clamp(10px, 1.1vw, 20px);
  position: relative;
  background: var(--paper);
}
.pj-reels-pin { position: relative; z-index: 2; padding: 8vh 0 18vh; }   /* the row sits above the page grain */
.pj-reels.pinned { height: calc(100vh + var(--reels-run, 0px)); }
.pj-reels.pinned .pj-reels-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pj-reels-track { position: relative; }
.pj-reels.pinned .pj-reels-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  padding: 0 var(--g);
  will-change: transform;
}
.pj-reels-head { padding: 0 var(--g); margin: 0 0 6vh; max-width: 44em; }
.pj-reels.pinned .pj-reels-head { flex: 0 0 auto; width: min(30vw, 440px); padding: 0; margin: 0 clamp(40px, 6vw, 110px) 0 0; }
.pj-reels-head .pj-chapter-title { margin: 2.6vh 0 0; }
.pj-reels-text {
  margin: 4.5vh 0 0;
  max-width: 30ch;
  font-size: var(--body);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}
.pj-reels-hint {
  margin: 3vh 0 0;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-reels-row { position: relative; display: flex; gap: var(--reel-gap); }
.pj-reel { position: relative; flex: 0 0 auto; width: calc(var(--reel-h) * 9 / 16); cursor: pointer; outline: none; }
.pj-reel-media {
  position: relative;
  height: var(--reel-h);
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.pj-reel-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.9s var(--ease);
}
.pj-reel:hover .pj-reel-media video { transform: scale(1.045); }
.pj-reel.on-stage .pj-reel-media { visibility: hidden; }
.pj-reel-badge {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pj-reel-badge::before {
  content: '';
  margin-left: 3px;
  border-left: 9px solid var(--ink);
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
}
.pj-reel:hover .pj-reel-badge { transform: scale(1.14); }
.pj-reel:focus-visible .pj-reel-media { outline: 2px solid var(--ink); outline-offset: 3px; }
.pj-reel-cap {
  display: flex;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  white-space: nowrap;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-reel-cap span:first-child, .pj-reel-cap span:last-child { color: color-mix(in srgb, var(--ink) 50%, transparent); font-variant-numeric: tabular-nums; }
.pj-reel-cap span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.pj-reels:not(.pinned) .pj-reels-row {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--g);
  scroll-padding: 0 var(--g);
  scrollbar-width: none;
}
.pj-reels:not(.pinned) .pj-reels-row::-webkit-scrollbar { display: none; }
.pj-reels:not(.pinned) .pj-reel { scroll-snap-align: start; }
.pj-reels + .pj-chapter { padding-top: 16vh; }
/* reels on a dark ground (a dive, or a dark chapter) */
.pj-reels[data-tone="dark"] .pj-reels-hint { color: rgba(255, 255, 255, 0.6); }
.pj-reels[data-tone="dark"] .pj-reel-cap span:first-child, .pj-reels[data-tone="dark"] .pj-reel-cap span:last-child { color: rgba(255, 255, 255, 0.5); }
.pj-reels[data-tone="dark"] .pj-reel-media { background: rgba(255, 255, 255, 0.06); }
.pj-reels[data-tone="dark"] .pj-reel:focus-visible .pj-reel-media { outline-color: #FFFFFF; }

/* ── monitors: a wall of security feeds ─────────────────────────────────── */
.pj-mon { padding: 4vh 0 22vh; }
.pj-mon-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 var(--g); }
.pj-mon-cam { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #0B0C0D; transition-delay: calc(var(--i, 0) * 70ms); }
.pj-mon-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.92) contrast(1.18) brightness(0.9); transition: filter 0.7s var(--ease); }
.pj-mon-cam:hover img { filter: none; }
.pj-mon-cam::after {                              /* scan lines */
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.pj-mon-id, .pj-mon-rec, .pj-mon-time {
  position: absolute; z-index: 2;
  font: 500 11px/1 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  font-variant-numeric: tabular-nums;
  white-space: pre;
}
.pj-mon-id { left: 12px; top: 12px; }
.pj-mon-rec { right: 12px; top: 12px; display: flex; align-items: center; gap: 6px; }
.pj-mon-rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #FF3B30; animation: pj-rec 1.2s steps(1) infinite; }
.pj-mon-time { left: 12px; bottom: 12px; }
@keyframes pj-rec { 50% { opacity: 0; } }

/* ── riders: people from the film; a portrait opens the film where they come in */
.pj-riders { background: var(--paper); padding: 6vh 0 24vh; }
.pj-riders-head { align-items: end; padding-bottom: 8vh; }
.pj-riders-head .pj-kicker { grid-column: 1 / -1; }
.pj-riders-head .pj-chapter-title { grid-column: 1 / 8; margin: 2.6vh 0 0; }
.pj-riders-text { grid-column: 9 / 13; margin: 0; font-size: var(--body); font-weight: 500; line-height: 1.45; text-wrap: pretty; }
.pj-riders-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--cg); padding: 0 var(--g); align-items: start; }
.pj-rider { position: relative; margin-top: var(--rider-y, 0px); cursor: pointer; outline: none; }
.pj-rider-media {
  position: relative;
  z-index: 2;                                /* above the page grain */
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.pj-rider-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.9s var(--ease);
}
.pj-rider:hover .pj-rider-media video { transform: scale(1.04); }
.pj-rider:hover .pj-reel-badge { transform: scale(1.14); }
.pj-rider.on-stage .pj-rider-media { visibility: hidden; }
.pj-rider:focus-visible .pj-rider-media { outline: 2px solid var(--ink); outline-offset: 3px; }
.pj-rider-name {
  margin: 18px 0 0;
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pj-rider-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  white-space: nowrap;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-rider-meta span:last-child { color: color-mix(in srgb, var(--ink) 58%, transparent); font-variant-numeric: tabular-nums; }
.pj-riders-hint {
  margin: 9vh 0 0;
  padding: 0 var(--g);
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  color: color-mix(in srgb, var(--ink) 58%, transparent);
  font-family: var(--lbl);
  font-weight: 500;
}

/* ── parts: a film in parts as wide tiles; a part opens in the player ──── */
.pj-parts { background: var(--paper); padding: 6vh 0 24vh; }
.pj-parts-head { align-items: end; padding-bottom: 8vh; }
.pj-parts-head .pj-kicker { grid-column: 1 / -1; }
.pj-parts-head .pj-chapter-title { grid-column: 1 / 9; margin: 2.6vh 0 0; }
.pj-parts-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--cg); padding: 0 var(--g); align-items: start; }
.pj-part { position: relative; margin-top: var(--part-y, 0px); cursor: pointer; outline: none; }
.pj-part-media {
  position: relative;
  z-index: 2;                                /* above the page grain */
  aspect-ratio: var(--part-ar, 16 / 9);          /* the part's own frame, if it has one */
  overflow: hidden;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.pj-part-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 0.9s var(--ease);
}
.pj-part:hover .pj-part-media video { transform: scale(1.04); }
.pj-part:hover .pj-reel-badge { transform: scale(1.14); }
.pj-part .pj-reel-badge { right: 14px; bottom: 14px; width: 44px; height: 44px; }
.pj-part.on-stage .pj-part-media { visibility: hidden; }
.pj-part:focus-visible .pj-part-media { outline: 2px solid var(--ink); outline-offset: 3px; }
.pj-part-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.pj-part-name { margin: 0; font-weight: 700; font-size: clamp(24px, 2.4vw, 42px); line-height: 1; letter-spacing: -0.03em; }
.pj-part-dur { font-size: 13px; letter-spacing: -0.005em; color: color-mix(in srgb, var(--ink) 58%, transparent); font-variant-numeric: tabular-nums; font-family: var(--lbl); font-weight: 500; }
.pj-part-text { margin: 14px 0 0; max-width: 34ch; font-size: var(--body); font-weight: 500; line-height: 1.45; text-wrap: pretty; }

/* ── the clip player: a curtain over the page, the clip on a stage above it */
.pj-curtain {
  position: fixed;
  inset: 0;
  z-index: 6;
  background: var(--night);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
#project-view.stage-cine .pj-curtain { opacity: 1; visibility: visible; transition: opacity 0.6s ease; }
.pj-stage {
  position: fixed;
  z-index: 7;
  left: 0; top: 0; width: 0; height: 0;
  overflow: hidden;
  visibility: hidden;
  background: #000 center / cover no-repeat;
}
.pj-stage.on { visibility: visible; }
.pj-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-stage .pj-stage-hi { opacity: 0; transition: opacity 0.25s ease; }
.pj-stage .pj-stage-hi.on { opacity: 1; }
#project-view.stage-cine .pj-stage { cursor: pointer; }
#project-view.stage-cine:not(.ui) .pj-stage { cursor: none; }
/* prev / next + which clip: a row of its own above the usual controls */
.pj-list { display: none !important; }
.pj-controls.list .pj-list { display: flex !important; flex-basis: 100%; justify-content: space-between; order: -1; }
.pj-controls.list .pj-ctl { flex-wrap: wrap; row-gap: 2px; }
.pj-list-label { color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* text reveals */
.pj-rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.9s ease, transform 1.1s var(--ease); }
.pj-rv.in { opacity: 1; transform: none; }

/* ── the wheel while a page is open (project.js parks it) ──────────────── */
#wheel-viewport #wheel-group > .wheel-item.pj-hide,
#wheel-viewport #wheel-group > .wheel-divider.pj-hide { opacity: 0 !important; transition: none !important; }
#wheel-viewport.pj-return #wheel-group > .wheel-item:not(.pj-hide),
#wheel-viewport.pj-return #wheel-group > .wheel-divider:not(.pj-hide) { transition: opacity 0.6s ease !important; }

/* ── the global chrome around a project page ───────────────────────────── */
body.pj-dark-top #corner-logo { filter: invert(1) !important; }
#dyn-island { transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, box-shadow 0.35s ease; }
body.pj-dark-bottom #dyn-island { background: #FFFFFF; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
body.pj-dark-bottom #island-toggle img { filter: brightness(0) !important; }
body.pj-dark-bottom .island-item { color: var(--ink, #1B1819); }
body.pj-cinema #corner-logo, body.pj-cinema #dyn-island { opacity: 0 !important; pointer-events: none !important; transition: opacity 0.4s ease; }

/* ── landscape tablets / small laptops: the credits need more room ─────── */
@media (min-width: 768px) and (max-width: 1099px) and (orientation: landscape) {
  .pj-lead { grid-column: 1 / 8; }
  .pj-credits, .pj-credits-wrap { grid-column: 8 / 13; }
  .pj-intro .pj-labels span:first-child { grid-column: 1 / 8; }
  .pj-intro .pj-labels span:last-child { grid-column: 8 / 13; }
  .pj-next-title { grid-column: 1 / -1; }
  .pj-next-tile { grid-column: 7 / 13; }
  .pj-notes { grid-column: 1 / 7 !important; }
  .pj-notes + .pj-still { grid-column: 7 / 13 !important; }
}

/* ── phones + portrait tablets: one column (sizes for tablets below) ────── */
@media (max-width: 767px), (max-width: 1099px) and (orientation: portrait) {
  #project-view { --lead: clamp(22px, 6.4vw, 30px); --body: 16px; }
  .pj-controls { font-size: 12px; letter-spacing: -0.005em; }
  .pj-ctl, .pj-ctl > span { gap: 14px; }
  .pj-media { border-radius: 16px; }
  .pj-title { font-size: clamp(44px, 15.5vw, 120px); }
  .pj-title.long { font-size: clamp(34px, 10vw, 80px); }
  .pj-service { top: auto; bottom: 86px; left: clamp(16px, 2.4vw, 44px); right: auto; }
  .pj-play { left: clamp(16px, 2.4vw, 44px); right: auto; }
  .pj-intro { padding-top: 10vh; padding-bottom: 16vh; }
  .pj-lead, .pj-credits, .pj-finale-text, .pj-next-title, .pj-next-tile { grid-column: 1 / -1; }
  .pj-credits { margin-top: 6vh; grid-template-columns: auto 1fr; }
  .pj-credits-wrap { grid-column: 1 / -1; margin-top: 6vh; }
  .pj-credits-wrap .pj-credits { margin-top: 0; grid-template-columns: 10em minmax(0, 1fr); }
  .pj-intro .pj-labels span:first-child { grid-column: 1 / 7; }
  .pj-intro .pj-labels span:last-child { grid-column: 7 / 13; text-align: right; }
  .pj-edge { height: 190vh; }
  .pj-edge.small { height: 140vh; }
  .pj-edge-title { font-size: clamp(48px, 16vw, 120px); }
  .pj-edge.small .pj-edge-title { font-size: clamp(44px, 14vw, 100px); }
  .pj-chapter-title { grid-column: 1 / -1; }
  .pj-chapter-head .pj-note { grid-column: 1 / -1; justify-self: start; text-align: left; padding-top: 18px; }
  .pj-row { row-gap: 40px; }
  .pj-row > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .pj-row + .pj-row { margin-top: 40px; }
  /* portrait stills sit two to a row, the second a little lower */
  .pj-page.tall .pj-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .pj-page.tall .pj-row > * { grid-column: auto !important; }
  .pj-page.tall .pj-row > :nth-child(even) { margin-top: 48px !important; }
  .pj-page.tall .pj-row > :only-child { grid-column: 1 / -1 !important; }
  .pj-reels { --reel-h: min(58vh, 110vw); }
  .pj-riders-head .pj-chapter-title, .pj-riders-text { grid-column: 1 / -1; }
  .pj-riders-text { margin-top: 3vh; }
  .pj-riders-row { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .pj-rider { margin-top: 0; }
  .pj-parts-head .pj-chapter-title { grid-column: 1 / -1; }
  .pj-parts-row { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .pj-part { margin-top: 0; }
  .pj-reels-head { margin-bottom: 5vh; }
  .pj-edge.m .pj-edge-title { font-size: clamp(34px, 10.4vw, 72px); }
  .pj-edge.m .pj-edge-title > span { white-space: normal; }
  .pj-notes { padding: 4vh 0; }
  .pj-finale .pj-shot { height: auto; aspect-ratio: var(--still-ar, 1.4352); }
  .pj-next-tile { margin-top: 5vh; }
}
/* portrait tablets: the same column, tablet type and a little more air */
@media (min-width: 768px) and (max-width: 1099px) and (orientation: portrait) {
  #project-view { --lead: clamp(28px, 4vw, 40px); --body: 18px; }
  .pj-controls { font-size: 13px; letter-spacing: -0.005em; }
  .pj-media { border-radius: 20px; }
  .pj-intro { padding-top: 12vh; padding-bottom: 18vh; }
  .pj-credits-wrap .pj-credits { grid-template-columns: 12em minmax(0, 1fr); }
  .pj-reels { --reel-h: min(56vh, 82vw); }
  .pj-row { row-gap: 56px; }
  .pj-row + .pj-row { margin-top: 56px; }
  .pj-page.tall .pj-row { row-gap: 20px; }
  .pj-page.tall .pj-row > :nth-child(even) { margin-top: 72px !important; }
}

/* ── reduced motion: same page, no travelling ──────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pj-grain { animation: none; }
  .pj-edge-title .pj-strike::after { transition: none; }
  .pj-rv, .pj-rv.in { opacity: 1; transform: none; transition: none; }
  .pj-shot, .pj-still.in .pj-shot { clip-path: none; transition: none; }
  .pj-shot img, .pj-still.in .pj-shot img { transform: none; transition: opacity 0.3s ease; }
  .pj-media .pj-teaser, .pj-media .pj-borrowed { transform: none; }
  #project-view, #project-view.cinema { transition: none; }
}

/* ═════════════════════════════════════════════════════════════════════════
   DEPTH PAGES (project-pages.js: depth) — a page that is a dive. The body
   carries one long gradient (JS, from each block's bg), so the sections are
   see-through; a gauge on the right edge reads the depth. Blocks of their
   own: merge, draw, palette, logos, capsules, guide, config, statement.
   ═════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/poppins-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-latin-500-normal.woff2') format('woff2'); }

.pj-page.depth .pj-body > section:not(.pj-next) { background: transparent; }
.pj-page.depth .pj-body > section[data-tone="dark"] { color: #FFFFFF; }
.pj-page.depth .pj-chapter[data-tone="light"] { padding-top: 6vh; }
.pj-page.depth .pj-finale[data-tone="dark"] { color: #FFFFFF; }

/* where a new zone of the ocean begins */
.pj-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 3.2vh;
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  font-variant-numeric: tabular-nums;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-zone::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.55; }
.pj-zone span:first-child { opacity: 0.6; }

/* ── the gauge: a line on the right edge, the reading low on the left ──── */
.pj-gauge {
  position: fixed;
  inset: 0;
  z-index: 5;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, color 0.6s ease;
}
.pj-gauge.on-dark { color: #FFFFFF; }
#project-view.gauge-on .pj-gauge { opacity: 1; }
#project-view.cinema .pj-gauge, #project-view.stage-cine .pj-gauge { opacity: 0; }
.pj-gauge-scale { position: absolute; right: max(10px, calc(var(--g) * 0.42)); top: 50%; width: 1px; height: min(44vh, 400px); transform: translateY(-50%); }
.pj-gauge-line { position: absolute; inset: 0; background: currentColor; opacity: 0.3; }
.pj-gauge-tick { position: absolute; right: 0; width: 7px; height: 1px; background: currentColor; opacity: 0.55; }
.pj-gauge-mark {
  position: absolute;
  left: -4px;
  top: var(--gm, 0%);
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #FFA9DF;
  box-shadow: 0 0 10px 2px rgba(255, 169, 223, 0.75), 0 0 28px 6px rgba(255, 169, 223, 0.32);
  transition: top 0.25s linear;
}
.pj-gauge-read {
  position: absolute;
  left: var(--g);
  bottom: calc(3vh + 22px);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}
.pj-gauge-read b { font-weight: 700; font-size: 13px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pj-gauge-read span { font-size: 12px; letter-spacing: -0.005em; text-transform: lowercase; opacity: 0.7; font-family: var(--lbl); font-weight: 500; }

/* specks in the water (project.js: buildSnow) — over the water, under the pictures */
.pj-snow { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
#project-view.cinema .pj-snow, #project-view.stage-cine .pj-snow { opacity: 0; }

/* ── shared head of the blocks ─────────────────────────────────────────── */
.pj-fx-head { align-items: end; padding-bottom: 8vh; }
.pj-fx-kick { grid-column: 1 / -1; }
.pj-fx-head .pj-chapter-title { grid-column: 1 / 8; margin: 2.6vh 0 0; }
/* a title in columns: the second word of every line starts on the same edge */
.pj-tab { display: inline-grid; grid-template-columns: repeat(var(--tab-cols, 2), auto); column-gap: 0.23em; white-space: nowrap; }
.pj-fx-text { grid-column: 9 / 13; margin: 0; font-size: var(--body); font-weight: 500; line-height: 1.45; text-wrap: pretty; }
.pj-fx-hint { margin: 8vh 0 0; padding: 0 var(--g); font-size: 13px; letter-spacing: -0.005em; text-transform: lowercase; opacity: 0.6; font-family: var(--lbl); font-weight: 500; }

/* ── merge: small shops drift into one brand ───────────────────────────── */
.pj-merge { position: relative; height: 280vh; }
.pj-merge-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.pj-merge-grid { width: 100%; align-items: center; }
.pj-merge-copy { grid-column: 1 / 6; }
.pj-merge-lines { position: relative; margin-top: 3vh; }
.pj-merge-line {
  margin: 0;
  font-weight: 700;
  font-size: var(--lead);
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: pretty;
  transition: opacity 0.55s ease, transform 0.8s var(--ease);
}
.pj-merge-line.b {
  position: absolute;
  left: 0; top: 0;
  font-size: clamp(36px, 4.6vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}
.pj-merge.done .pj-merge-line.a { opacity: 0; transform: translate3d(0, -22px, 0); }
.pj-merge.done .pj-merge-line.b { opacity: 1; transform: none; }
.pj-merge-art {
  grid-column: 7 / 13;
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(100%, 76vh);
  aspect-ratio: 1;
}
.pj-merge-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pj-merge-logo {
  position: absolute;
  left: 50%; top: 50%;
  width: 29%;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: opacity 0.7s ease, transform 1s var(--ease);
}
.pj-merge.done .pj-merge-logo { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ── draw: the logo animation as a reveal — a dark porthole that opens to the
   whole screen, the animation running inside it (project.js draws it all on
   one canvas over the pinned stretch) ─────────────────────────────────── */
.pj-draw { position: relative; height: 380vh; }
.pj-draw-pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.pj-draw-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; }

/* ── logos: one big loop of the logo, cut across colourways and materials */
.pj-logos-cut {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  margin: 0;
  aspect-ratio: var(--cut-ar, 1.7778);
  overflow: hidden;
  background: #242C43;
}
.pj-logos-cut video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── palette: the water column ─────────────────────────────────────────── */
.pj-palette { padding: 16vh 0 30vh; }
.pj-pal-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--cg); padding: 0 var(--g); align-items: start; }
.pj-pal { margin-top: var(--pal-y, 0); transition-delay: calc(var(--i, 0) * 90ms); }
.pj-pal-swatch {
  display: block;
  width: min(100%, 27vh);
  aspect-ratio: 9 / 15;
  border: none;
  border-radius: 999px;
  padding: 0;
  background: var(--c);
  position: relative;
  z-index: 2;
  cursor: copy;
  box-shadow: inset 0 0 0 1px rgba(27, 24, 25, 0.12), 0 18px 40px -18px rgba(27, 24, 25, 0.35);
  transition: transform 0.6s var(--ease), box-shadow 0.6s ease;
}
.pj-pal-swatch:hover { transform: translate3d(0, -8px, 0); }
.pj-pal-swatch:focus { outline: none; }
.pj-pal-swatch:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.pj-pal.glow .pj-pal-swatch { box-shadow: 0 0 46px 4px rgba(255, 169, 223, 0.6), 0 0 140px 24px rgba(255, 169, 223, 0.28); }
.pj-pal-name { margin: 18px 0 0; font-weight: 700; font-size: clamp(17px, 1.45vw, 26px); line-height: 1.05; letter-spacing: -0.02em; }
.pj-pal-hex { margin: 7px 0 0; font-size: 13px; letter-spacing: -0.005em; text-transform: lowercase; opacity: 0.66; font-variant-numeric: tabular-nums; font-family: var(--lbl); font-weight: 500; }

/* ── logos: the allowed colourways ─────────────────────────────────────── */
.pj-logos { padding: 6vh 0 26vh; }
.pj-logos-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 40px; padding: 0 var(--g); }
.pj-logo { margin: 0; transition-delay: calc(var(--i, 0) * 90ms); }
.pj-logo-tile {
  position: relative;
  z-index: 2;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(27, 24, 25, 0.07);
}
.pj-logo-tile img { width: 70%; height: auto; display: block; }
.pj-logo-tile.stack img { width: 52%; }
/* two big tiles: one mark on two grounds */
.pj-logos-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pj-logos-row.two .pj-logo-tile { aspect-ratio: 4 / 3; }
.pj-logos-row.two .pj-logo-tile img { width: 62%; }

/* ── capsules: products floating at different depths ───────────────────── */
.pj-caps { padding: 16vh 0 28vh; }
.pj-caps-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: var(--cg); padding: 0 var(--g); align-items: start; }
.pj-capsule { margin: var(--cap-y, 0) 0 0; transition: opacity 0.5s ease, filter 0.5s ease; }
.pj-capsule-float { animation: pjBob var(--bob, 7s) ease-in-out var(--bob-d, 0s) infinite alternate; }
.pj-capsule-media {
  position: relative;
  z-index: 2;
  aspect-ratio: 9 / 16;
  border-radius: 999px;
  overflow: hidden;
  background: #010617;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform 0.7s var(--ease), box-shadow 0.5s ease;
}
.pj-capsule-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-capsule figcaption { margin-top: 18px; text-align: center; }
.pj-capsule-name { display: block; font: 400 clamp(14px, 1.15vw, 19px)/1.2 'Poppins', 'Helvetica Neue', Arial, sans-serif; }
.pj-capsule-kind { display: block; margin-top: 5px; font-size: 12px; letter-spacing: -0.005em; text-transform: lowercase; opacity: 0.58; font-family: var(--lbl); font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
  .pj-caps-row:has(.pj-capsule:hover) .pj-capsule:not(:hover) { opacity: 0.3; filter: saturate(0.6); }
  .pj-capsule:hover .pj-capsule-media { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 60px rgba(255, 169, 223, 0.25); }
}
@keyframes pjBob { from { transform: translate3d(0, -8px, 0); } to { transform: translate3d(0, 8px, 0); } }

/* ── the website, rebuilt (guide + configurator): its own dark ground and type */
.pj-g-ui, .pj-cfg-ui {
  position: relative;
  z-index: 2;
  background: #010617;
  color: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 120px rgba(0, 0, 0, 0.45);
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
}

/* guide */
.pj-guide { padding: 16vh 0 24vh; }
.pj-g-ui { grid-column: 2 / 12; padding: 5.5vh 4vw 7vh; min-height: 500px; overflow: hidden; }
.pj-g-steps { display: flex; align-items: flex-start; justify-content: center; }
.pj-g-step { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 170px; transition: opacity 0.4s ease; }
.pj-g-step i {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-style: normal; font-size: 13px;
  transition: background 0.4s ease, color 0.4s ease;
}
.pj-g-step em { font-style: normal; font-size: 14px; font-weight: 300; white-space: nowrap; }
.pj-g-step.on i { background: #FFFFFF; color: #010617; }
.pj-g-step.on em { font-weight: 500; }
.pj-g-steps > b { flex: 0 0 90px; height: 1px; margin: 16px -40px 0; background: rgba(255, 255, 255, 0.5); }
.pj-g-tags { display: flex; justify-content: center; gap: 6px; min-height: 26px; margin: 5vh 0 1.6vh; }
.pj-g-tag { padding: 4px 10px; border-radius: 999px; background: rgba(255, 169, 223, 0.18); color: #FFA9DF; font-size: 11px; animation: pjFadeUp 0.5s var(--ease) both; }
.pj-g-stage { position: relative; }
.pj-g-card {
  max-width: 470px;
  margin: 0 auto;
  padding: 34px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  text-align: center;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.45s ease, transform 0.6s var(--ease);
}
.pj-g-card.shown, .pj-g-res.shown { opacity: 1; transform: none; }
.pj-g-q { margin: 0; font-size: clamp(20px, 1.9vw, 28px); font-weight: 300; line-height: 1.25; }
.pj-g-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.pj-g-chip {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  background: #FFFFFF;
  color: #010617;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease);
}
.pj-g-chip:hover { transform: translate3d(0, -2px, 0); }
.pj-g-chip.on { background: #C88BB4; color: #FFFFFF; }
.pj-g-chip:focus { outline: none; }
.pj-g-chip:focus-visible { outline: 2px solid #FFA9DF; outline-offset: 3px; }
.pj-g-res { text-align: center; opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 0.5s ease, transform 0.7s var(--ease); }
.pj-g-sum { margin: 0 0 28px; font-size: 14px; font-weight: 300; }
.pj-g-sum b { font-weight: 500; }
.pj-g-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin: 0 auto; }
.pj-g-arch { position: relative; }
.pj-g-arch-media {
  position: relative;
  aspect-ratio: 3 / 4.4;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.pj-g-arch-media video, .pj-g-arch-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-g-more {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  padding: 8px 16px; border-radius: 999px; background: #FFFFFF; color: #010617;
  font-size: 11px; white-space: nowrap;
}
.pj-g-again { margin-top: 26px; border: none; background: none; color: rgba(255, 255, 255, 0.7); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pj-g-again:hover { color: #FFFFFF; }
@keyframes pjFadeUp { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }

/* configurator */
.pj-config { padding: 16vh 0 24vh; }
.pj-cfg-ui {
  grid-column: 2 / 12;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  column-gap: 4.5vw;
  align-items: start;
  padding: 5vh 4.5vw;
}
.pj-cfg-cap {
  position: relative;
  aspect-ratio: 10 / 17;
  border-radius: 999px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.pj-cfg-cap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-cfg-name { margin: 2vh 0 0; font-weight: 300; font-size: clamp(36px, 3.6vw, 64px); line-height: 1; letter-spacing: -0.01em; }
.pj-cfg-diff { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 2.4vh 0 0; font-size: 15px; font-weight: 500; }
.pj-cfg-diff span { margin-right: 6px; }
.pj-cfg-diff i { width: 20px; height: 20px; color: rgba(255, 255, 255, 0.45); }
.pj-cfg-diff i.on { color: #FFA9DF; }
.pj-cfg-diff svg { width: 100%; height: 100%; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.pj-cfg-diff i:not(.on) svg { fill: none; }
.pj-cfg-desc { margin: 2.4vh 0 0; max-width: 46ch; font-size: 13px; font-weight: 300; line-height: 1.65; opacity: 0.85; }
.pj-cfg-h { margin: 4vh 0 0; padding-top: 3vh; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 17px; font-weight: 400; }
.pj-cfg-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.pj-cfg-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.5s ease, transform 0.7s var(--ease), border-color 0.3s ease;
  transition-delay: calc(0.35s + var(--i, 0) * 70ms);
}
.pj-cfg-ui.in .pj-cfg-item { opacity: 1; transform: none; }
.pj-cfg-item:hover { border-color: rgba(255, 255, 255, 0.4); }
.pj-cfg-thumb { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #0B1433; display: grid; place-items: center; color: #FFFFFF; }
.pj-cfg-thumb svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.pj-cfg-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pj-cfg-txt b { font-weight: 500; font-size: 14px; }
.pj-cfg-txt em { font-style: normal; font-size: 12px; color: #FFA9DF; }
.pj-cfg-cart { margin-left: auto; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: #FFA9DF; color: #3A1733; display: grid; place-items: center; }
.pj-cfg-cart svg { width: 19px; height: 19px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pj-cfg-cart svg path[fill="none"] { fill: none; }

/* ── screens: loops made for screens, side by side ─────────────────────── */
.pj-screens { padding: 6vh 0 24vh; }
.pj-screens-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--cg); row-gap: 8vh;
  padding: 0 var(--g);
  align-items: start;
}
.pj-screen { margin: var(--scr-y, 0px) 0 0; transition-delay: calc(var(--i, 0) * 90ms); }
.pj-screen-media {
  position: relative; z-index: 2;                       /* above the page grain */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #050505;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 34px 90px -40px rgba(255, 128, 48, 0.32);
}
.pj-screen-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-screen-cap {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 16px 0 0; padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-size: 13px; letter-spacing: -0.005em; text-transform: lowercase;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-screen-cap span:last-child { opacity: 0.55; font-variant-numeric: tabular-nums; }

/* ── statement ─────────────────────────────────────────────────────────── */
.pj-statement { min-height: 130vh; display: flex; align-items: center; justify-content: center; padding: 18vh var(--g); text-align: center; }
.pj-statement-in { display: flex; flex-direction: column; align-items: center; }
.pj-statement .pj-zone { justify-content: center; }
.pj-statement-title { margin: 3vh 0 0; font-size: clamp(42px, 7.6vw, 156px); line-height: 0.9; letter-spacing: -0.045em; }
.pj-statement-title > span { display: block; }
.pj-statement-text { margin: 6vh 0 0; max-width: 40ch; font-size: var(--body); font-weight: 500; line-height: 1.45; text-wrap: pretty; }
.pj-statement-by { margin: 3vh 0 0; font-size: 13px; letter-spacing: -0.005em; text-transform: lowercase; opacity: 0.6; font-family: var(--lbl); font-weight: 500; }

/* a chapter head with a paragraph (project-pages.js: chapter text) */
.pj-chapter-head.with-text { padding-bottom: 9vh; }
.pj-chapter-head.with-text .pj-kicker { opacity: 0.66; }

/* a figure in a row with its own frame (still rows: ar) */
.pj-still[style*="--still-ar"] .pj-shot { aspect-ratio: var(--still-ar); }

/* ── landscape tablets ─────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1099px) and (orientation: landscape) {
  .pj-fx-head .pj-chapter-title { grid-column: 1 / -1; }
  .pj-fx-text { grid-column: 1 / 9; margin-top: 3.5vh; }
  .pj-merge-copy { grid-column: 1 / 7; }
  .pj-merge-art { grid-column: 7 / 13; }
  .pj-caps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .pj-g-ui, .pj-cfg-ui { grid-column: 1 / -1; }
  .pj-logos-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── phones + portrait tablets: one column (sizes for tablets below) ────── */
@media (max-width: 767px), (max-width: 1099px) and (orientation: portrait) {
  .pj-gauge-scale { height: 30vh; }
  .pj-gauge-read { bottom: calc(3vh + 20px); }
  .pj-gauge-read span { display: none; }
  .pj-fx-head .pj-chapter-title, .pj-fx-text { grid-column: 1 / -1; }
  .pj-fx-text { margin-top: 3vh; }
  .pj-merge { height: 240vh; }
  .pj-merge-grid { align-content: center; row-gap: 5vh; }
  .pj-merge-copy, .pj-merge-art { grid-column: 1 / -1; }
  .pj-merge-art { width: min(82vw, 46vh); }
  .pj-merge-lines { min-height: 7.5em; }
  .pj-merge-line.b { font-size: clamp(32px, 10vw, 54px); }
  .pj-draw { height: 320vh; }
  .pj-logos-cut { aspect-ratio: 1 / 1; }      /* the logo sits in the middle of every shot: a square crop keeps it big */
  .pj-pal-row { column-gap: 8px; }
  .pj-pal-name { font-size: 13px; margin-top: 12px; }
  .pj-pal-hex { font-size: 11px; letter-spacing: -0.005em; }
  .pj-logos-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .pj-logos-row.two { grid-template-columns: 1fr; }
  .pj-mon-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .pj-mon-cam:nth-child(n+9) { display: none; }
  .pj-mon-id, .pj-mon-rec, .pj-mon-time { font-size: 9px; }
  .pj-mon-id, .pj-mon-rec { top: 8px; }
  .pj-mon-id, .pj-mon-time { left: 8px; }
  .pj-mon-rec { right: 8px; }
  .pj-mon-time { bottom: 8px; }
  .pj-caps-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--g);
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .pj-caps-row::-webkit-scrollbar { display: none; }
  .pj-capsule { flex: 0 0 44vw; margin-top: 0; scroll-snap-align: start; }
  .pj-g-ui { padding: 4vh 18px 5vh; min-height: 0; border-radius: 18px; }
  .pj-g-steps { gap: 28px; }
  .pj-g-step { width: auto; }
  .pj-g-step em { font-size: 12px; }
  .pj-g-steps > b { display: none; }
  .pj-g-card { padding: 26px 16px 22px; border-radius: 22px; }
  .pj-g-cards { gap: 8px; }
  .pj-g-more { font-size: 9px; padding: 6px 9px; bottom: 10px; }
  .pj-cfg-ui { grid-template-columns: minmax(0, 1fr); padding: 4vh 18px; border-radius: 18px; row-gap: 3vh; }
  .pj-cfg-cap { width: 62%; justify-self: center; }
  .pj-cfg-diff { font-size: 14px; gap: 4px; }
  .pj-cfg-diff i { width: 16px; height: 16px; }
  .pj-statement { min-height: 110vh; }
  .pj-statement-title { font-size: max(26px, min(11.5vw, 70px, calc(172vw / var(--ch, 1)))); }   /* the longest line still fits */
  .pj-screens-grid { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .pj-screen { margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1099px) and (orientation: portrait) {
  .pj-gauge-scale { height: 36vh; }
  .pj-capsule { flex-basis: 30vw; }
  .pj-merge-art { width: min(64vw, 44vh); }
  .pj-merge-line.b { font-size: clamp(44px, 6.6vw, 68px); }
  .pj-pal-row { column-gap: 14px; }
  .pj-pal-name { font-size: 15px; }
  .pj-pal-hex { font-size: 13px; letter-spacing: -0.005em; }
  .pj-mon-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .pj-mon-cam:nth-child(n+9) { display: block; }          /* all nine feeds again: three by three */
  .pj-mon-id, .pj-mon-rec, .pj-mon-time { font-size: 10px; }
  .pj-g-ui, .pj-cfg-ui { padding-left: 6vw; padding-right: 6vw; }
  .pj-cfg-cap { width: 46%; }
  .pj-screens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 6vh; }
  .pj-screen { margin-top: var(--scr-y, 0px); }
}

/* ── reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pj-mon-rec::before { animation: none; }
  .pj-merge { height: auto; }
  .pj-merge-pin { position: relative; height: auto; padding: 14vh 0; }
  .pj-draw { height: 100vh; height: 100svh; }
  .pj-draw-pin { position: relative; }
  .pj-merge-line.a { display: none; }
  .pj-merge-line.b { position: relative; opacity: 1; transform: none; }
  .pj-merge-logo { opacity: 1; transform: translate(-50%, -50%); transition: none; }
  .pj-capsule-float { animation: none; }
  .pj-cfg-item { opacity: 1; transform: none; transition: none; }
  .pj-g-card, .pj-g-res { transition: none; }
  .pj-gauge-mark, .pj-gauge-read { transition: none; }
}

/* ═════════════════════════════════════════════════════════════════════════
   theCUT.ID (project-pages.js: theme 'cutid') — the brand's faded black for
   the dark parts, its orange; blocks of its own: lanyards (the barbers'
   badges on straps), idcards (the client cards), gallery + loyalty (the
   client's account, rebuilt in the app's own type: Archivo, wide).
   ═════════════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('assets/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
.pj-page.theme-cutid { --ink: #101010; --cut: #FF6100; --cut-app: #EC6930; }

/* the answer in the edge: the ID mark stands in for the word, its letters as tall as the capitals */
.theme-cutid .pj-edge .pj-mark { height: 1.07em; width: calc(1.07em * var(--mark-ar, 2.1)); vertical-align: -0.36em; margin-left: 0.04em; }
/* the claim: its second line in the brand's orange */
.theme-cutid .pj-statement-title > span:last-child { color: var(--cut); }

/* ── lanyards: an orange, grainy ground like the brand's website ───────── */
#project-view .pj-body > section.pj-lan {
  position: relative;
  overflow: hidden;
  padding: 16vh 0 12vh;
  color: #FFFFFF;
  background:
    radial-gradient(60% 46% at 26% 34%, rgba(255, 97, 0, 0.62), rgba(255, 97, 0, 0) 72%),
    radial-gradient(55% 42% at 76% 70%, rgba(255, 97, 0, 0.5), rgba(255, 97, 0, 0) 72%),
    radial-gradient(70% 40% at 60% 0%, rgba(30, 6, 0, 0.6), rgba(30, 6, 0, 0) 70%),
    radial-gradient(80% 50% at 40% 100%, rgba(30, 6, 0, 0.55), rgba(30, 6, 0, 0) 70%),
    linear-gradient(180deg, #4E1602 0%, #9A3305 24%, #B23D06 58%, #6B2003 100%);
}
.pj-lan::before {                               /* grain: dark specks, a little heavier than the page's */
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1.6 1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.32;
}
.pj-lan::after {                                /* a slow glow, breathing under it all */
  content: '';
  position: absolute; left: 10%; right: 10%; top: 30%; height: 60%;
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 120, 30, 0.35), rgba(255, 120, 30, 0) 70%);
  animation: pjLanGlow 7s ease-in-out infinite alternate;
}
@keyframes pjLanGlow { from { opacity: 0.35; transform: translate3d(-4%, 0, 0) scale(0.92); } to { opacity: 1; transform: translate3d(5%, -3%, 0) scale(1.08); } }
.pj-lan > * { position: relative; z-index: 1; }
.pj-lan .pj-fx-head { padding-bottom: 4vh; }
.pj-lan-stage {
  position: relative;
  z-index: 2;
  height: clamp(600px, 96svh, 1060px);
  touch-action: pan-y;
}
.pj-lan-straps { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.pj-lan-card {
  --tab: 20px;
  position: absolute;
  left: 0; top: 0;
  width: 300px; height: 190px;
  transform-origin: 50% 50%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  outline: none;
  will-change: transform;
}
.pj-lan-card img {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  border-radius: 2.6% / 4.1%;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.06) inset, 0 26px 50px -10px rgba(36, 7, 0, 0.55), 0 8px 18px rgba(36, 7, 0, 0.35);
  pointer-events: none;
}
.pj-lan-card::after {                           /* the plastic catches the light as it turns */
  content: '';
  position: absolute; inset: 0;
  border-radius: 2.6% / 4.1%;
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.16) 48%, rgba(255, 255, 255, 0) 58%) no-repeat;
  background-size: 260% 100%;
  background-position: calc(50% + var(--sheen, 0) * 140%) 0;
  mix-blend-mode: screen;
}
.pj-lan-tab {                                   /* the clip: a black tab from the clasp into the card */
  position: absolute;
  left: 50%; top: calc(var(--tab) * -1);
  width: max(9px, 4.2%); height: calc(var(--tab) + 6%);
  transform: translateX(-50%);
  border-radius: 3px 3px 5px 5px;
  background: linear-gradient(90deg, #050505, #1C1C1C 45%, #060606);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.pj-lan-card.held { cursor: grabbing; }
.pj-lan-stage.holding { cursor: grabbing; }
.pj-lan-card:focus-visible img { outline: 2px solid #FFFFFF; outline-offset: 4px; }
.pj-lan .pj-fx-hint { margin-top: 0; opacity: 0.8; }

/* ── idcards: three cards, fanned out; each turns over ─────────────────── */
.pj-idcards { padding: 14vh 0 24vh; }
.pj-idc-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(18px, 3vw, 56px);
  padding: 4vh var(--g) 0;
  align-items: start;
}
.pj-idc { margin: 0; transition-delay: calc(var(--i, 0) * 110ms); }
.pj-idc:nth-child(2) { margin-top: 9vh; }
.pj-idc:nth-child(3) { margin-top: 3vh; }
.pj-idc-fan { transform: rotate(var(--fan, 0deg)); }
.pj-idc:nth-child(1) .pj-idc-fan { --fan: -4deg; }
.pj-idc:nth-child(2) .pj-idc-fan { --fan: 2.5deg; }
.pj-idc:nth-child(3) .pj-idc-fan { --fan: -1.5deg; }
.pj-idc-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1011 / 638;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  perspective: 1600px;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.pj-idc-in {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(0.6, 0, 0.14, 1);
}
.pj-idc.flipped .pj-idc-in { transform: rotateY(180deg); }
.pj-idc-face {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 2.6% / 4.1%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px -18px rgba(0, 0, 0, 0.75), 0 34px 90px -34px rgba(255, 97, 0, 0.45);
}
.pj-idc-face.back { transform: rotateY(180deg); }
.pj-idc-card::after {                           /* a glint that follows the pointer */
  content: '';
  position: absolute; inset: 0;
  border-radius: 2.6% / 4.1%;
  pointer-events: none;
  background: radial-gradient(42% 60% at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pj-idc-card.lit::after { opacity: 1; }
.pj-idc-card:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 6px; border-radius: 12px; }
.pj-idc-cap {
  display: flex;
  justify-content: space-between;
  margin: 26px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  font-family: var(--lbl);
  font-weight: 500;
}
.pj-idc-side { color: var(--cut, #FF6100); }

/* ── the client's account, rebuilt: the app's own frame and type ───────── */
.pj-cg, .pj-ls { padding: 12vh 0 22vh; }
.pj-app {
  grid-column: 2 / 12;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 22px;
  background: #121212;
  color: #F3EFEA;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 120px rgba(0, 0, 0, 0.55);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-stretch: 125%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.pj-app-bar {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  padding: 16px clamp(18px, 3vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #151312;
}
.pj-app-logo { height: clamp(22px, 2vw, 32px); width: auto; display: block; }
.pj-app-tabs { display: flex; gap: clamp(14px, 2vw, 32px); font-size: clamp(12px, 0.95vw, 15px); color: rgba(243, 239, 234, 0.55); white-space: nowrap; }
.pj-app-tabs .on { position: relative; color: #FFFFFF; }
.pj-app-tabs .on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; background: var(--cut-app, #EC6930); }
.pj-app-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.pj-app-user > b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cut-app, #EC6930); color: #1C0D05; font-size: 12px; font-weight: 800; }
.pj-app-user em { display: block; font-style: normal; font-weight: 700; font-size: 13px; line-height: 1.1; }
.pj-app-user i { display: block; font-style: normal; font-size: 11px; line-height: 1.2; color: var(--cut-app, #EC6930); }
.pj-app-off { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.7); flex: 0 0 auto; }
.pj-app-off svg { width: 15px; height: 15px; }
.pj-app-body {
  position: relative;
  padding: clamp(28px, 5vh, 56px) clamp(18px, 3vw, 44px) clamp(32px, 6vh, 64px);
  background: radial-gradient(90% 60% at 0% 0%, rgba(236, 105, 48, 0.1), rgba(236, 105, 48, 0) 60%), #111111;
}
.pj-app-h { margin: 0; font-weight: 800; font-size: clamp(26px, 2.5vw, 44px); line-height: 1.1; letter-spacing: -0.012em; white-space: nowrap; }
.pj-app-h img { display: inline-block; height: 1.22em; width: calc(1.22em * var(--br-ar, 2)); vertical-align: -0.36em; margin-left: 0.08em; }
.pj-app-sub { margin: 1.3vh 0 0; font-size: clamp(13px, 1vw, 16px); color: rgba(243, 239, 234, 0.55); }

/* gallery: the haircut history and its photos */
.pj-cg-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(22px, 4vh, 44px); }
.pj-cg-card {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #171717;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
  -webkit-tap-highlight-color: transparent;
}
.pj-cg-card:hover { box-shadow: inset 0 0 0 1px rgba(236, 105, 48, 0.45); }
.pj-cg-card.hint { transform: scale(0.975); box-shadow: inset 0 0 0 1px rgba(236, 105, 48, 0.8); }
.pj-cg-card:focus-visible { outline: 2px solid var(--cut-app, #EC6930); outline-offset: 3px; }
.pj-cg-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.pj-cg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; transition: transform 0.9s var(--ease); }
.pj-cg-card:hover .pj-cg-photo img { transform: scale(1.04); }
.pj-cg-star, .pj-cg-count {
  position: absolute; top: 12px;
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.pj-cg-star { left: 12px; background: var(--cut-app, #EC6930); color: #1C0D05; }
.pj-cg-count { right: 12px; background: rgba(22, 22, 22, 0.8); color: #FFFFFF; }
.pj-cg-count svg { width: 12px; height: 12px; }
.pj-cg-meta { display: block; padding: 16px 18px 20px; }
.pj-cg-meta em { display: block; font-style: normal; font-size: 13px; font-weight: 500; color: var(--cut-app, #EC6930); }
.pj-cg-meta strong { display: block; margin-top: 6px; font-size: 19px; font-weight: 800; }
.pj-cg-meta > span { display: block; margin-top: 6px; font-size: 13px; color: rgba(243, 239, 234, 0.55); }
.pj-cg-meta u { display: inline-block; margin-top: 12px; text-decoration: none; font-size: 13px; font-weight: 700; color: var(--cut-app, #EC6930); }
.pj-cg-meta u i { font-style: normal; margin-left: 6px; }
.pj-cg-modal {
  position: absolute; inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 4% 6%;
  background: rgba(8, 8, 8, 0.62);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.pj-cg-modal[hidden] { display: none; }
.pj-cg-modal.on { opacity: 1; }
.pj-cg-dialog {
  width: min(100%, 760px);
  padding: clamp(18px, 2.4vw, 34px);
  border-radius: 20px;
  background: #161616;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: translate3d(0, 18px, 0) scale(0.97);
  transition: transform 0.6s var(--ease);
}
.pj-cg-modal.on .pj-cg-dialog { transform: none; }
.pj-cg-dhead { position: relative; padding-right: 56px; }
.pj-cg-dhead em { display: block; font-style: normal; font-size: 14px; font-weight: 600; color: var(--cut-app, #EC6930); }
.pj-cg-dhead strong { display: block; margin-top: 6px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 800; }
.pj-cg-dhead span { display: block; margin-top: 4px; font-size: 14px; color: rgba(243, 239, 234, 0.55); }
.pj-cg-close {
  position: absolute; right: 0; top: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  cursor: pointer;
}
.pj-cg-close i { position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: #FFFFFF; transform: translate(-50%, -50%) rotate(45deg); }
.pj-cg-close i + i { transform: translate(-50%, -50%) rotate(-45deg); }
.pj-cg-close:focus-visible { outline: 2px solid var(--cut-app, #EC6930); outline-offset: 2px; }
.pj-cg-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(16px, 2.4vh, 26px); }
.pj-cg-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; }
.pj-app.modal .pj-app-body, .pj-app.modal .pj-app-bar { filter: blur(0.5px); }

/* loyalty: the holder's card and the loyalty card with its ID stars */
.pj-ls-row { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.6fr); gap: 18px; margin-top: clamp(22px, 4vh, 44px); }
.pj-ls-holder {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(260px, 34vh, 340px);
  padding: clamp(22px, 2.2vw, 32px);
  border-radius: 18px;
  background: radial-gradient(55% 65% at 80% 16%, rgba(236, 105, 48, 0.42), rgba(236, 105, 48, 0) 72%), linear-gradient(160deg, #1B1511, #141210);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pj-ls-slot { position: absolute; left: 50%; top: 14px; width: 54px; height: 8px; border-radius: 5px; background: #0A0A0A; transform: translateX(-50%); }
.pj-ls-logo { height: clamp(26px, 2.4vw, 36px); width: auto; align-self: flex-start; margin-top: 18px; }
.pj-ls-pill {
  position: absolute; right: clamp(22px, 2.2vw, 32px); top: clamp(36px, 3.4vw, 48px);
  padding: 6px 12px;
  border: 1px solid rgba(236, 105, 48, 0.6);
  border-radius: 999px;
  color: var(--cut-app, #EC6930);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pj-ls-k { margin-top: clamp(26px, 5vh, 52px); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243, 239, 234, 0.5); }
.pj-ls-name { margin-top: 6px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 800; }
.pj-ls-big { display: flex; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 24px; }
.pj-ls-big b { font-size: clamp(54px, 5.4vw, 86px); font-weight: 800; line-height: 0.8; color: var(--cut-app, #EC6930); font-variant-numeric: tabular-nums; }
.pj-ls-big span { font-size: 14px; color: rgba(243, 239, 234, 0.6); }
.pj-ls-card { padding: clamp(22px, 2.2vw, 32px) clamp(22px, 2.6vw, 38px); border-radius: 18px; background: #161616; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.pj-ls-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243, 239, 234, 0.6); }
.pj-ls-of { font-size: 16px; letter-spacing: 0.02em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.pj-ls-of b { font-weight: 600; }
.pj-ls-stars { display: flex; gap: clamp(6px, 1.1vw, 18px); margin-top: clamp(30px, 6vh, 64px); }
.pj-ls-star {
  position: relative;
  flex: 0 1 auto;
  width: clamp(38px, 4.6vw, 70px);
  padding: 4px;
  border: none;
  background: none;
  color: #353535;
  font: inherit;
  cursor: pointer;
  transition: color 0.4s ease, filter 0.4s ease;
  -webkit-tap-highlight-color: transparent;
}
.pj-ls-star.goal { color: #6A3418; }
.pj-ls-star.on { color: var(--cut-app, #EC6930); filter: drop-shadow(0 0 9px rgba(236, 105, 48, 0.55)) drop-shadow(0 8px 18px rgba(236, 105, 48, 0.35)); }
.pj-ls-star.pop svg { animation: pjStarPop 0.65s var(--ease); }
.pj-ls-star svg, .pj-ls-rewards svg { display: block; width: 100%; height: auto; fill: currentColor; }
.pj-ls-star:focus-visible { outline: 2px solid var(--cut-app, #EC6930); outline-offset: 2px; border-radius: 8px; }
@keyframes pjStarPop { 0% { transform: scale(0.55); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
.pj-ls-tip {
  position: absolute;
  left: 50%; bottom: calc(100% + 12px);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cut-app, #EC6930);
  color: #1C0D05;
  font-size: clamp(13px, 1vw, 15px); font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, 6px, 0);
  transition: opacity 0.25s ease, transform 0.4s var(--ease);
  pointer-events: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4));
}
.pj-ls-tip::after { content: ''; position: absolute; left: 50%; top: 100%; border: 6px solid transparent; border-top-color: var(--cut-app, #EC6930); transform: translateX(-50%); }
.pj-ls-star:last-child .pj-ls-tip { left: auto; right: -4px; transform: translate3d(0, 6px, 0); }
.pj-ls-star:last-child .pj-ls-tip::after { left: auto; right: 22px; transform: none; }
.pj-ls-star.goal:hover .pj-ls-tip, .pj-ls-star.goal:focus-visible .pj-ls-tip, .pj-ls-star.tip .pj-ls-tip { opacity: 1; transform: translate3d(-50%, 0, 0); }
.pj-ls-star.goal:last-child:hover .pj-ls-tip, .pj-ls-star.goal:last-child:focus-visible .pj-ls-tip, .pj-ls-star.tip:last-child .pj-ls-tip { transform: none; }
.pj-ls-rewards { list-style: none; display: grid; gap: 12px; margin: clamp(26px, 5vh, 52px) 0 0; padding: 0; font-size: clamp(14px, 1.15vw, 18px); }
.pj-ls-rewards li { display: flex; align-items: center; gap: 10px; }
.pj-ls-rewards b { font-weight: 800; min-width: 1.8em; }
.pj-ls-rewards svg { width: 22px; color: var(--cut-app, #EC6930); }

/* ── landscape tablets ─────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1099px) and (orientation: landscape) {
  .pj-app { grid-column: 1 / -1; }
  .pj-app-tabs { display: none; }
}
/* ── phones + portrait tablets ─────────────────────────────────────────── */
@media (max-width: 767px), (max-width: 1099px) and (orientation: portrait) {
  #project-view .pj-body > section.pj-lan { padding-top: 11vh; }
  .pj-lan-stage { height: clamp(560px, 112svh, 900px); }
  .pj-idc-row { grid-template-columns: minmax(0, 1fr); row-gap: 54px; padding-top: 2vh; }
  .pj-idc:nth-child(n) { margin-top: 0; }
  .pj-app { grid-column: 1 / -1; border-radius: 16px; }
  .pj-app-tabs, .pj-app-off { display: none; }
  .pj-app-h { white-space: normal; }
  .pj-cg-list { grid-template-columns: minmax(0, 1fr); }
  .pj-cg-modal { padding: 16px; align-items: center; }
  .pj-cg-photos { gap: 8px; }
  .pj-ls-row { grid-template-columns: minmax(0, 1fr); }
  .pj-ls-stars { justify-content: space-between; gap: 2px; }
  .pj-ls-star { width: calc((100% - 10px) / 6); padding: 2px; }
  .pj-ls-tip { font-size: 12px; padding: 8px 11px; }
  .pj-ls-star:nth-child(4) .pj-ls-tip { left: auto; right: -40px; transform: translate3d(0, 6px, 0); }
  .pj-ls-star:nth-child(4) .pj-ls-tip::after { left: auto; right: 52px; transform: none; }
  .pj-ls-star.goal:nth-child(4):hover .pj-ls-tip, .pj-ls-star.tip:nth-child(4) .pj-ls-tip { transform: none; }
}
@media (min-width: 768px) and (max-width: 1099px) and (orientation: portrait) {
  .pj-idc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .pj-idc:nth-child(2) { margin-top: 7vh; }
  .pj-cg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-ls-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
}
/* ── reduced motion ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pj-lan::after { animation: none; }
  .pj-idc-in, .pj-idc-card { transition: none; }
  .pj-ls-star.pop svg { animation: none; }
  .pj-cg-modal, .pj-cg-dialog { transition: none; }
}
