/* Hotel and group pages, in Boulevard's palette:
   night navy, warm white, one brass accent. */

.pp { position: relative; }
.pp img { user-select: none; -webkit-user-drag: none; }
.pp-invert { filter: invert(1); }

/* ---- Fixed chrome (badge, nav, rail) ----------------------------------------- */
.pp-chrome {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: max(20px, env(safe-area-inset-top)) var(--gx) 0;
  pointer-events: none;
  color: var(--fg);
  transition: color 0.5s var(--ease);
}
.pp-badge { pointer-events: auto; position: relative; width: clamp(64px, 6.2vw, 96px); aspect-ratio: 1; display: grid; place-items: center; }
.pp-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pp-badge text { font: 600 13px var(--sans); letter-spacing: 0.24em; fill: currentColor; }
.pp-badge img { width: 44%; transition: filter 0.5s; }
/* Previous, next and a labelled close, side by side — never stacked under one another. */
.pp-nav { pointer-events: auto; display: flex; align-items: center; gap: 22px; text-align: right; }
.pp-close:hover, .pp-nav a:hover { opacity: 0.6; }
.pp-nav .label { opacity: 0.8; }
.pp-step { display: inline-flex; align-items: center; gap: 10px; opacity: 0.85; transition: opacity 0.3s, gap 0.4s var(--ease); }
.pp-step span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; font-size: 13px; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.pp-step:hover { opacity: 1; gap: 14px; }
.pp-step:hover span { background: var(--red); border-color: var(--red); color: #fff; }
.pp-prev { margin-right: -6px; }
/* While the island's menu is open it spans the top bar; previous / next step aside for it. */
body:has(#island.is-open) .pp-step { opacity: 0; pointer-events: none; }
body.has-overlay .pp-nav { opacity: 0; pointer-events: none; }
.view-project.on-light .pp-chrome, .view-project.on-light .pp-rail { color: var(--ink); }
.view-project.on-light .pp-badge img { filter: invert(1); }

.pp-rail {
  position: fixed;
  left: calc(var(--gx) * 0.5);
  top: 26vh;
  bottom: 6vh;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--fg);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), color 0.5s var(--ease);
}
.pp-rail.is-hidden { opacity: 0; }
.pp-rail-line { width: 1px; height: 18vh; background: currentColor; opacity: 0.35; position: relative; overflow: hidden; }
.pp-rail-line i { position: absolute; inset: 0; background: currentColor; transform-origin: top; transform: scaleY(0); opacity: 1; }
.pp-rail-num { font: 600 10px var(--sans); letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.pp-rail-scroll { margin-top: auto; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; letter-spacing: 0.3em; opacity: 0.7; }

/* ---- Reveal ------------------------------------------------------------------ */
.pp .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.pp .rv.is-in { opacity: 1; transform: none; }

/* ---- Shared type -------------------------------------------------------------- */
.pp-light { background: var(--paper); color: var(--ink); }
.pp-giant {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(64px, 11.5vw, 210px);
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-align: center;
}
.pp-script { font-family: var(--script); font-size: clamp(40px, 5vw, 92px); line-height: 1; }
.pp-small { font-size: 13px; line-height: 1.6; max-width: 34ch; margin: 0 auto; text-align: center; opacity: 0.8; }
.pp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  letter-spacing: 0.1em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.pp-light .pp-pill:hover { background: var(--ink); color: var(--paper); }
.pp-pill:hover { background: var(--fg); color: var(--ink); }

/* ---- 1. Hero: the arched window ---------------------------------------------- */
.pp-hero { height: 240vh; --p: 0; }
.pp-hero-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--bg); }
.pp-hero-media {
  --a: calc(1 - var(--p));
  position: absolute;
  inset: 0;
  /* At rest the head is a complete semicircle on any screen. It opens with the curve always
     spanning the full width, so there is never a straight run along the top. */
  --r0: min(29vw, 50vh);
  --side: calc(var(--a) * (50vw - var(--r0)));
  --rx: calc(50vw - var(--side));
  --ry: calc(var(--a) * var(--r0));
  clip-path: inset(calc(var(--a) * 50vh) var(--side) 0 var(--side) round var(--rx) var(--rx) 0 0 / var(--ry) var(--ry) 0 0);
  will-change: clip-path;
}
.pp-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.06 - var(--p) * 0.06)); }
.pp-hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.45) 100%);
  opacity: var(--p);
}
.pp-hero-head {
  position: absolute;
  left: 0;
  right: 0;
  top: max(12vh, 128px);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: clamp(0, calc(1 - var(--p) * 2.4), 1);
  transform: translateY(calc(var(--p) * -12vh));
  pointer-events: none;
}
.pp-hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: min(var(--fs), 12.5vh);
  line-height: 0.84;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.pp-hero-title span { display: block; animation: pp-rise 1.4s var(--ease) both; }
.pp-hero-title span:nth-child(2) { animation-delay: 0.12s; }
.pp-hero-script {
  align-self: center;
  margin-top: -0.28em;
  transform: translateX(22%) rotate(-6deg);
  font-family: var(--script);
  font-size: clamp(40px, 5.2vw, 96px);
  line-height: 1;
  color: var(--fg);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
  animation: pp-fade 1.8s 0.5s var(--ease) both;
}
/* Longer place names sit closer to centre so their tail never touches the title. */
.pp-hero-script.is-long { margin-top: -0.08em; transform: translateX(4%) rotate(-5deg); }
/* Low-resolution sources share the same arched window, but it only opens part-way instead of going full-bleed. */
.pp-hero.is-lowres .pp-hero-media { --a: max(0.42, calc(1 - var(--p))); }
.pp-hero.is-lowres .pp-hero-media img { transform: none; filter: saturate(0.95) contrast(1.02); }
.pp-hero.is-lowres .pp-hero-shade { opacity: 0.35; }
.pp-hero-row {
  position: absolute;
  left: var(--gx);
  right: var(--gx);
  top: calc(50vh - 44px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(16px, 1.5vw, 24px);
  opacity: clamp(0, calc(1 - var(--p) * 4), 1);
  transform: translateY(calc(var(--p) * -6vh));
  animation: pp-fade 1.6s 0.5s var(--ease) both;
}
.pp-hero-row span:first-child { text-align: left; padding-left: 12vw; }
.pp-hero-row span:last-child { text-align: right; padding-right: 12vw; }
.pp-hero-row .label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; opacity: 0.75; }
/* "Scroll to explore" sits over the photograph, so it gets its own dark pill. */
.pp-hero-cta { position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); letter-spacing: 0.2em; white-space: nowrap; opacity: calc(1 - var(--p) * 1.5); }
@keyframes pp-rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- 2. Arch panel ------------------------------------------------------------ */
.pp-arch { position: relative; z-index: 2; margin-top: -100vh; padding: 0 4vw; }
.pp-arch-panel {
  position: relative;
  padding-bottom: 14vh;
  background: var(--paper);
  color: var(--ink);
  border-radius: 50% 50% 0 0 / 46vw 46vw 0 0;
}
.pp-arch-text { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; }
.pp-arch-text text { font-family: var(--display); letter-spacing: 0.06em; fill: var(--ink); }
.pp-arch-inner {
  position: relative;
  padding-top: calc(46vw * 0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.pp-arch-mark { display: flex; align-items: center; gap: 28px; }
.pp-arch-mark img { width: 92px; }
.pp-vline { width: 1px; height: clamp(90px, 20vh, 220px); background: currentColor; opacity: 0.45; transform-origin: top; }
.pp-vline.rv { transform: scaleY(0); }
.pp-vline.rv.is-in { transform: scaleY(1); }
.pp-arch-inner > p { max-width: 30ch; letter-spacing: 0.14em; line-height: 1.6; }

/* ---- 3. Concept -------------------------------------------------------------- */
.pp-concept { padding: 14vh var(--gx) 18vh; display: flex; flex-direction: column; align-items: center; gap: 44px; text-align: center; }
.pp-concept > .label { letter-spacing: 0.18em; }
.pp-statement {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 76px);
  line-height: 0.98;
  max-width: 18ch;
  text-wrap: balance;
}
.pp-emblem { width: 70px; opacity: 0.9; }

/* ---- 4. Headline + slider (the cinema slider, below) ----------------------------- */
.pp-slider { padding: 12vh var(--gx) 16vh; display: flex; flex-direction: column; align-items: center; }

/* ---- 5. Split ----------------------------------------------------------------- */
.pp-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; align-items: center; padding: 12vh 0 12vh var(--gx); gap: 4vw; }
.pp-split-words { display: flex; align-items: center; gap: 4vw; justify-content: flex-end; }
.pp-split-label { letter-spacing: 0.3em; opacity: 0.7; }
.pp-stack { display: flex; flex-direction: column; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 8.5vw, 150px); line-height: 0.84; }
.pp-stack span:nth-child(2) { padding-left: 0.6em; }
.pp-stack span:nth-child(3) { padding-left: 0.2em; }
.pp-split-media { height: 88vh; overflow: hidden; margin: 0; }
.pp-split-media > div { height: 116%; margin-top: -8%; }
.pp-split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- 6. Quote ------------------------------------------------------------------ */
.pp-quote { position: relative; min-height: 100vh; overflow: hidden; display: grid; align-items: end; justify-items: end; padding: 10vh var(--gx) 14vh; }
.pp-quote.is-plain { align-items: center; justify-items: center; min-height: 80vh; }
.pp-quote-media { position: absolute; inset: -10% 0; }
.pp-quote-media img { width: 100%; height: 100%; object-fit: cover; }
.pp-quote::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65) 100%); pointer-events: none; }
.pp-quote.is-plain::after { display: none; }
.pp-quote blockquote { position: relative; z-index: 1; max-width: 560px; }
.pp-quote-mark { font-family: var(--display); font-size: 80px; line-height: 0.5; display: block; margin-bottom: 18px; }
.pp-quote p { font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 2.3vw, 40px); line-height: 1.02; }
.pp-quote cite { display: block; margin-top: 22px; font-style: normal; opacity: 0.7; letter-spacing: 0.14em; }

/* ---- 7. Gallery ----------------------------------------------------------------- */
.pp-gallery { padding: 16vh var(--gx) 12vh; }

/* ---- 8. More (hover list over full-bleed) ------------------------------------------ */
.pp-more { position: relative; height: 100vh; overflow: hidden; }
.pp-more-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 2.4s var(--ease); }
.pp-more-bg img.is-on { opacity: 1; transform: none; }
.pp-more::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 70%); }
.pp-more-list { border-left: 1px solid rgba(244,241,236,0.5); padding-left: 22px; display: grid; gap: 4px; }
.pp-more-list a { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.3vw, 38px); line-height: 1.05; opacity: 0.45; transition: opacity 0.4s var(--ease); }
.pp-more-list a.is-on, .pp-more-list a:hover { opacity: 1; }

/* ---- 9. Call to action -------------------------------------------------------------- */
.pp-cta { position: relative; padding: 22vh var(--gx) 18vh; display: flex; flex-direction: column; align-items: center; gap: 26px; justify-content: center; min-height: 50vw; border-radius: 50% 50% 0 0 / 46vw 46vw 0 0; margin: 0 4vw; }
.pp-cta-script { margin-top: -0.55em; transform: rotate(-5deg); }
.pp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.pp-cta-row .pp-pill:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pp-cta-row .pp-pill:first-child:hover { background: var(--red); border-color: var(--red); }

/* ---- 10. Next ------------------------------------------------------------------------ */
.pp-next { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 18vh var(--gx) 16vh; background: var(--bg); text-align: center; }
.pp-next .label { letter-spacing: 0.2em; opacity: 0.65; }
.pp-next-title { font-family: var(--display); text-transform: uppercase; font-size: clamp(56px, 9vw, 170px); line-height: 0.86; transition: opacity 0.4s; }
.pp-next:hover .pp-next-title { opacity: 0.7; }
.pp-next-arrow { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 2vh; border-radius: 50%; border: 1px solid var(--faint); font-size: 20px; transition: background 0.4s, color 0.4s, transform 0.6s var(--ease); }
.pp-next:hover .pp-next-arrow { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(8px); }
.pp-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px var(--gx) max(28px, env(safe-area-inset-bottom)); opacity: 0.6; border-top: 1px solid var(--faint); }

/* ---- Smaller screens -------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .pp-step b { display: none; }
  .pp-prev { margin-right: -10px; }
}
@media (max-width: 899px) {
  /* The island owns the top-right corner here; previous / next / close move to the thumb. */
  .pp-nav { position: fixed; right: max(var(--gx), env(safe-area-inset-right)); bottom: max(var(--gy), env(safe-area-inset-bottom)); z-index: 14; gap: 10px; transition: opacity 0.4s var(--ease); }
  .pp-step { opacity: 1; }
  .pp-prev { margin-right: 0; }
  .pp-step span { width: 44px; height: 44px; font-size: 15px; border-color: rgba(244, 241, 236, 0.3); background: rgba(0, 0, 0, 0.36); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .view-project.on-light .pp-step span { color: #041a36; border-color: rgba(4, 26, 54, 0.22); background: rgba(244, 241, 236, 0.62); }
}
@media (max-width: 760px) {
  .pp-rail { display: none; }
  .pp-hero { height: 190vh; }
  /* Title, then the details, then the arch — each on black, none over the photograph. */
  .pp-hero-head { top: max(13vh, 104px); }
  .pp-hero-row { top: max(35vh, 272px); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; font-size: 15px; text-align: center; }
  .pp-hero-row span:first-child, .pp-hero-row span:last-child { padding: 0; text-align: center; }
  .pp-hero-media { --rx: calc(50vw - var(--a) * 7vw); --ry: min(calc(var(--a) * 43vw), calc(100vh - var(--a) * max(42vh, 326px))); clip-path: inset(calc(var(--a) * max(42vh, 326px)) calc(var(--a) * 7vw) 0 calc(var(--a) * 7vw) round var(--rx) var(--rx) 0 0 / var(--ry) var(--ry) 0 0); }
  .pp-hero-cta { bottom: calc(max(var(--gy), env(safe-area-inset-bottom)) + 62px); }
  .pp-arch { margin-top: -60vh; padding: 0 3vw; }
  .pp-arch-panel { border-radius: 50% 50% 0 0 / 47vw 47vw 0 0; }
  .pp-arch-inner { padding-top: 34vw; }
  .pp-split { grid-template-columns: 1fr; padding: 10vh var(--gx); }
  .pp-split-words { justify-content: flex-start; }
  .pp-split-media { height: 70vh; }
  .pp-cta { margin: 0 2vw; padding-top: 16vh; }
}

/* ==== About page ==================================================================== */
.pp-scrub span { transition: opacity 0.25s linear; opacity: 0.14; }
.pp-about .pp-concept { padding-bottom: 12vh; }
.pp-about .pp-statement { max-width: 22ch; font-size: clamp(32px, 4.2vw, 72px); }

.pp-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; padding: 4vh var(--gx) 16vh; text-align: center; }
.pp-num { border-top: 1px solid rgba(4, 26, 54, 0.18); padding-top: 26px; }
.pp-num-v { font-family: var(--display); font-size: clamp(56px, 7.4vw, 136px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.pp-num .label { margin-top: 14px; opacity: 0.6; letter-spacing: 0.12em; }

.pp-marquee { overflow: hidden; background: var(--bg); padding: 4.5vh 0; border-block: 1px solid var(--faint); }
.pp-marquee-track { display: flex; width: max-content; will-change: transform; }
.pp-marquee-track span { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 6vw, 110px); line-height: 1; white-space: pre; padding-right: 0.3em; }
.pp-marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--fg); }

.pp-divisions { display: flex; height: 100vh; gap: 2px; background: var(--bg); }
.pp-div { position: relative; flex: 1; overflow: hidden; display: flex; align-items: flex-end; transition: flex 1.1s var(--ease); }
.pp-divisions:hover .pp-div { flex: 0.72; }
.pp-divisions .pp-div:hover { flex: 1.5; }
.pp-div img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.85); transform: scale(1.08); transition: filter 1s var(--ease), transform 2s var(--ease); }
.pp-div:hover img { filter: brightness(0.8) saturate(1); transform: scale(1); }
.pp-div-body { position: relative; padding: 0 var(--gx) 9vh; display: grid; gap: 18px; justify-items: start; max-width: 560px; }
.pp-div h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(64px, 8vw, 150px); line-height: 0.84; }
.pp-div-text { font-size: 14px; line-height: 1.6; max-width: 36ch; opacity: 0.85; }
.pp-div .pp-pill { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), background 0.4s; }
.pp-div:hover .pp-pill { opacity: 1; transform: none; }

.pp-strip { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--gx); cursor: grab; scrollbar-width: none; scroll-snap-type: x proximity; touch-action: pan-x pan-y; }
.pp-strip::-webkit-scrollbar { display: none; }
.pp-strip.is-drag { cursor: grabbing; scroll-snap-type: none; }

.pp-founder { padding: 20vh var(--gx); display: grid; justify-items: center; gap: 44px; text-align: center; }
.pp-founder > .label { letter-spacing: 0.2em; opacity: 0.6; }
.pp-founder-quote { font-family: var(--display); text-transform: uppercase; font-size: clamp(38px, 5.4vw, 96px); line-height: 0.95; max-width: 16ch; margin: 0 auto; }
.pp-founder .pp-script { margin-top: 18px; transform: rotate(-5deg); }
.pp-founder cite { display: block; font-style: normal; opacity: 0.6; margin-top: 8px; }

.pp-scav { position: relative; min-height: 100vh; overflow: hidden; background: var(--red); color: #fff; display: grid; align-items: end; padding: 10vh var(--gx) 12vh; }
.pp-scav-word { position: absolute; left: 50%; top: 14vh; width: min(84vw, 1300px); transform: translateX(-50%); opacity: 0.95; }
.pp-scav-word[data-speed] { left: 8vw; transform: none; }
.pp-scav-body { position: relative; display: grid; gap: 26px; max-width: 560px; margin-left: auto; }
.pp-scav-text { font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 2.2vw, 38px); line-height: 1.02; }
.pp-scav-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-scav .pp-pill:hover { background: #fff; color: var(--red); }

.pp-time { padding: 16vh var(--gx) 18vh; }
.pp-time-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2vw; margin-top: 10vh; position: relative; }
.pp-time-list::before { content: ''; position: absolute; left: 0; right: 0; top: calc(clamp(40px, 4.6vw, 84px) + 22px); height: 1px; background: rgba(4, 26, 54, 0.2); }
.pp-time-y { display: block; font-family: var(--display); font-size: clamp(40px, 4.6vw, 84px); line-height: 1; }
.pp-time-dot { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--red); margin: 18px 0 22px; position: relative; }
.pp-time-list p { font-size: 13.5px; line-height: 1.55; max-width: 24ch; opacity: 0.8; }

.pp-voices-teaser { display: grid; justify-items: center; gap: 44px; text-align: center; background: var(--bg); }
.pp-voices-teaser blockquote { max-width: 900px; }
.pp-voices-teaser p { font-size: clamp(26px, 2.8vw, 48px); }

@media (max-width: 760px) {
  .pp-numbers { grid-template-columns: 1fr 1fr; row-gap: 8vh; }
  .pp-divisions { flex-direction: column; height: auto; }
  .pp-div { min-height: 70vh; }
  .pp-div .pp-pill { opacity: 1; transform: none; }
  .pp-time-list { grid-template-columns: 1fr; gap: 6vh; }
  .pp-time-list::before { display: none; }
  .pp-scav-word { top: 10vh; }
}

/* ==== Cinema slider ================================================================= */
.pp-cine-kicker { letter-spacing: 0.22em; opacity: 0.6; margin-bottom: 18px; }
.pp-cine-title { font-size: clamp(56px, 7.4vw, 140px); margin-bottom: 5vh; }
.pp-cine { position: relative; width: min(70vw, 1080px); }
.pp-cine-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 50% 50% 6px 6px / 80% 80% 6px 6px; cursor: none; background: #041a36; }
.pp-cine-slide { position: absolute; inset: 0; margin: 0; opacity: 0; }
.pp-cine-slide.is-on { opacity: 1; }
.pp-cine-slide img { width: 100%; height: 100%; object-fit: cover; }
.pp-cine-slide.is-enter { animation: cine-wipe 1.25s cubic-bezier(0.7, 0, 0.2, 1) both; }
.pp-cine-slide.is-enter img { animation: cine-settle 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes cine-wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes cine-settle { from { transform: scale(1.18) translateY(4%); } to { transform: none; } }
.pp-cine-cursor {
  position: absolute; left: 0; top: 0; z-index: 30;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff; letter-spacing: 0.14em;
  pointer-events: none; opacity: 0; scale: 0.4;
  transition: opacity 0.3s var(--ease), scale 0.45s var(--ease);
}
.pp-cine.is-hover .pp-cine-cursor { opacity: 1; scale: 1; }
.pp-cine-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 22px; }
.pp-cine-num { font-family: var(--display); font-size: clamp(44px, 4.4vw, 76px); line-height: 0.9; font-variant-numeric: tabular-nums; }
.pp-cine-num span { font-size: 0.34em; margin-left: 6px; opacity: 0.5; vertical-align: 0.9em; }
.pp-cine-thumbs { display: flex; gap: 8px; justify-content: center; }
.pp-cine-thumbs button { width: 64px; aspect-ratio: 3 / 2; border-radius: 3px; overflow: hidden; opacity: 0.4; outline: 1px solid transparent; outline-offset: 3px; transition: opacity 0.4s, outline-color 0.4s, transform 0.5s var(--ease); }
.pp-cine-thumbs button:hover { opacity: 0.8; transform: translateY(-3px); }
.pp-cine-thumbs button.is-on { opacity: 1; outline-color: var(--ink); }
.pp-cine-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-cine-arrows { display: flex; gap: 8px; }
.pp-cine-arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(10,10,10,0.25); font-size: 18px; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.pp-cine-arrows button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pp-cine-progress { height: 1px; background: rgba(10,10,10,0.14); margin-top: 18px; overflow: hidden; }
.pp-cine-progress i { display: block; height: 100%; background: var(--red); transform-origin: left; animation: cine-progress 5.5s linear forwards; }
.pp-cine.is-paused .pp-cine-progress i { animation-play-state: paused; }
@keyframes cine-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pp-slider > .pp-small { margin-top: 5vh; }

/* ==== Gallery reel: the home ribbon, embedded; page scroll plays it ==================== */
.pp-reel { position: relative; height: var(--reel-h, 300vh); background: var(--bg); }
.pp-reel-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.pp-reel-head { display: grid; justify-items: center; gap: 14px; text-align: center; padding: max(15vh, 120px) var(--gx) 0; }
.pp-reel-head .label { letter-spacing: 0.18em; opacity: 0.75; }
.pp-reel-title { font-family: var(--display); text-transform: uppercase; font-size: clamp(44px, 6vw, 110px); line-height: 0.9; }
.pp-reel-hint { opacity: 0.55 !important; }
.pp-reel-stage { position: relative; flex: 1; min-height: 0; touch-action: pan-y; cursor: grab; }
.pp-reel-stage canvas { display: block; width: 100% !important; height: 100% !important; }
.pp-reel-progress { position: absolute; left: 50%; bottom: 5vh; width: 160px; margin-left: -80px; height: 1px; background: var(--faint); overflow: hidden; }
.pp-reel-progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* ==== Lightbox ======================================================================= */
.pp-lb { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.94); display: grid; place-items: center; opacity: 0; transition: opacity 0.45s var(--ease); }
.pp-lb.is-open { opacity: 1; }
.pp-lb-fig { margin: 0; max-width: 88vw; max-height: 80vh; display: grid; place-items: center; }
.pp-lb-fig img { max-width: 88vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 40px 120px -40px rgba(0,0,0,0.9); transform: scale(0.94); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.5s var(--ease); }
.pp-lb.is-open .pp-lb-fig img { transform: none; opacity: 1; }
.pp-lb.is-swap .pp-lb-fig img { animation: lb-swap 0.6s var(--ease); }
@keyframes lb-swap { from { opacity: 0; transform: scale(0.97) translateX(12px); } to { opacity: 1; transform: none; } }
.pp-lb-close { position: absolute; top: calc(var(--gy) - 4px); right: var(--gx); border-radius: 999px; border: 1px solid var(--faint); }
.pp-lb-close:hover { background: var(--fg); color: #000; }
.pp-lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(244,241,236,0.3); font-size: 20px; background: rgba(0,0,0,0.3); transition: background 0.3s, color 0.3s; }
.pp-lb-nav:hover { background: var(--fg); color: #000; }
.pp-lb-prev { left: var(--gx); }
.pp-lb-next { right: var(--gx); }
.pp-lb-count { position: absolute; bottom: calc(var(--gy) + 4px); left: 50%; translate: -50% 0; font-size: 14px; letter-spacing: 0.14em; }
.pp-lb-cap { position: absolute; bottom: calc(var(--gy) + 4px); left: var(--gx); opacity: 0.6; }
@media (max-width: 760px) {
  .pp-cine { width: 92vw; }
  .pp-cine-bar { grid-template-columns: auto auto; }
  .pp-cine-thumbs { display: none; }
  .pp-lb-nav { top: auto; bottom: calc(var(--gy) + 40px); translate: none; width: 52px; height: 52px; }
  .pp-lb-cap { display: none; }
}

/* ==== Arch panel: the arched photograph flanked by two facts ========================== */
.pp-arch-show { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4vw; width: 100%; padding: 6vh var(--gx) 0; }
.pp-arch-fact { display: grid; gap: 12px; }
.pp-arch-fact:first-child { justify-items: end; text-align: right; }
.pp-arch-fact:last-child { justify-items: start; text-align: left; }
.pp-arch-fact .label { opacity: 0.55; letter-spacing: 0.16em; }
.pp-arch-fact span:last-child { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 46px); line-height: 0.95; max-width: 12ch; }
.pp-arch-img { margin: 0; width: min(34vw, 520px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 4px 4px; }
.pp-arch-img > div { height: 124%; margin-top: -12%; }
.pp-arch-img img { width: 100%; height: 100%; object-fit: cover; }

/* ==== Contract portfolio (typographic) ================================================ */
.pp-contract { background: var(--bg); padding: 18vh var(--gx) 16vh; }
.pp-contract-head { display: grid; justify-items: center; gap: 10px; text-align: center; margin-bottom: 10vh; }
.pp-contract-head .label { letter-spacing: 0.2em; opacity: 0.7; }
.pp-contract-head .pp-script { margin-top: -0.5em; transform: rotate(-5deg); }
.pp-contract-head .pp-small { margin-top: 20px; max-width: 46ch; }
.pp-contract-list { list-style: none; border-top: 1px solid var(--faint); max-width: 1320px; margin: 0 auto; }
.pp-crow {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1.5fr) minmax(0, 1fr) 150px;
  align-items: baseline;
  gap: 2vw;
  padding: 22px 0;
  border-bottom: 1px solid var(--faint);
  cursor: default;
}
.pp-crow::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--ease); }
.pp-crow:hover::before { transform: scaleX(1); }
.pp-crow-n { font: 600 12px var(--sans); opacity: 0.5; font-variant-numeric: tabular-nums; }
.pp-crow-t { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 46px); line-height: 0.95; transition: transform 0.6s var(--ease); }
.pp-crow:hover .pp-crow-t { transform: translateX(12px); }
.pp-crow-t small { display: block; margin-top: 8px; font: 400 13px var(--sans); text-transform: none; opacity: 0.6; }
.pp-crow-u { font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.pp-crow-s { text-align: right; opacity: 0.7; }
.pp-crow-x { grid-column: 2 / -1; max-height: 0; overflow: hidden; opacity: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease), margin 0.5s var(--ease); }
.pp-crow:hover .pp-crow-x { max-height: 120px; opacity: 1; margin-top: 4px; }

/* ==== People, typographic ============================================================= */
.pp-people { display: grid; justify-items: center; gap: 10px; padding: 16vh var(--gx) 16vh; background: var(--bg); text-align: center; }
.pp-people .pp-script { margin-top: -0.5em; transform: rotate(-5deg); }
.pp-people-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; max-width: 900px; margin-top: 8vh; text-align: left; }
.pp-people-cols .label { letter-spacing: 0.16em; opacity: 0.6; margin-bottom: 14px; }
.pp-people-cols p:last-child { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 25px); line-height: 1.4; }
@media (max-width: 760px) {
  .pp-arch-show { grid-template-columns: 1fr; justify-items: center; }
  .pp-arch-fact:first-child, .pp-arch-fact:last-child { justify-items: center; text-align: center; }
  .pp-arch-img { width: 70vw; }
  .pp-crow { grid-template-columns: 30px 1fr; }
  .pp-crow-u, .pp-crow-s { grid-column: 2; text-align: left; }
  .pp-crow-x { max-height: none; opacity: 1; }
  .pp-people-cols { grid-template-columns: 1fr; }
}

/* Content slides under the menu into a soft, blurred fade instead of colliding with it. */
.pp-topfade {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(110px, 16vh, 150px);
  z-index: 11;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent);
  mask-image: linear-gradient(to bottom, #000 45%, transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease), background 0.6s var(--ease);
}
.view-project.is-scrolled .pp-topfade { opacity: 1; }
.view-project.on-light .pp-topfade { background: linear-gradient(to bottom, rgba(244, 241, 236, 0.96) 0%, rgba(244, 241, 236, 0.75) 42%, rgba(244, 241, 236, 0) 100%); }

/* WebGL slider layer */
.pp-cine-gl { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 1; opacity: 0; transition: opacity 0.6s var(--ease); }
.pp-cine.has-gl .pp-cine-gl { opacity: 1; }
.pp-cine.has-gl .pp-cine-slide { visibility: hidden; }
