/* Portfolio page built on the approved clean render (1586 x 992). Everything is placed in plate pixels
   inside .pp-stage, which is scaled to cover the window. */
:root { --serif: Georgia, "Times New Roman", serif; --ink: #f3f7fb; --ink2: #b9c9da; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #031126; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; } ul { list-style: none; margin: 0; padding: 0; }
.pp-backdrop { position: fixed; inset: -60px; background: #031126 url('../../assets/portfolio/plate/stage-empty.webp') center / cover no-repeat;
  filter: blur(36px) brightness(.62) saturate(1.1); pointer-events: none; }
.pp-stage { position: absolute; left: 0; top: 0; width: 1586px; height: 992px; transform-origin: 0 0; font-family: var(--serif); }
.pp-plate { position: absolute; inset: 0; width: 1586px; height: 992px; display: block; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 3%, #000 97%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 3%, #000 97%, transparent 100%); mask-composite: intersect; }
.pp-fx { position: absolute; inset: 0; width: 1586px; height: 992px; pointer-events: none; mix-blend-mode: screen; }

/* portrait sits behind the glass band */
.pp-portrait { position: absolute; display: block; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 70%, rgba(0,0,0,.5) 86%, transparent 100%); mask-image: linear-gradient(#000 70%, rgba(0,0,0,.5) 86%, transparent 100%);
  filter: drop-shadow(0 0 28px rgba(35,112,210,.16)); }
.pp-bandglass { position: absolute; display: block; pointer-events: none; opacity: .82; }

.pp-emblem { position: absolute; display: block; }
.pp-emblem img, .pp-emblem video { width: 100%; height: 100%; display: block; object-fit: cover; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 47%, #000 52%, transparent 70%); mask-image: radial-gradient(circle at 50% 47%, #000 52%, transparent 70%); }
.pp-emblem { z-index: 5; isolation: auto; }

/* navigation labels inside the plate's glass tabs */
.pp-nav a { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  font: 400 15px/1 var(--serif); letter-spacing: .03em; text-transform: uppercase; color: rgba(236,243,251,.92);
  transition: transform .18s ease, color .18s ease, background .18s ease; }
.pp-nav a:hover, .pp-nav a:focus-visible { transform: translateY(-1px); color: #fff; background: rgba(120,190,255,.07); outline: none; }
.pp-nav a:focus-visible { box-shadow: 0 0 0 2px rgba(225,238,255,.75); }
.pp-nav a[aria-current="page"] { color: #fff; text-shadow: 0 0 10px rgba(120,190,255,.45); }

.pp-identity { position: absolute; left: 487px; top: 108px; width: 720px; pointer-events: none; }
.pp-identity h1 { margin: 0; font: 400 58px/1.04 var(--serif); letter-spacing: -.004em;
  background: linear-gradient(180deg, #ffffff 15%, #e3ecf7 55%, #b1c2d8 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
.pp-descriptor { margin: 12px 0 0; font: 400 22px/1.3 var(--serif); color: rgba(238,244,251,.95); }
.pp-descriptor span { margin: 0 .5em; color: rgba(185,201,218,.9); }
.pp-statement { margin: 14px 0 0; width: 660px; font: 400 18.5px/1.45 var(--serif); color: var(--ink2); }

.pp-actions a { position: absolute; display: flex; align-items: center; justify-content: center; gap: 14px; border-radius: 12px;
  font: 400 19px/1 var(--serif); color: var(--ink); transition: transform .18s ease, background .18s ease; }
.pp-actions a:hover, .pp-actions a:focus-visible { transform: translateY(-1px); background: rgba(120,190,255,.08); outline: none; }
.pp-actions svg { width: 24px; height: 24px; fill: none; stroke: rgba(232,242,255,.95); stroke-width: 1.3; stroke-linejoin: round; }

/* credentials on the band */
.pp-creds { position: absolute; inset: 0; pointer-events: none; }
.pp-cred { position: absolute; display: flex; flex-direction: column; gap: 4px; white-space: nowrap; pointer-events: auto; transform-origin: 0 50%;
  text-shadow: 0 1px 3px rgba(0,12,40,.85); }
.pp-cred b { font: 400 19.5px/1.15 var(--serif); color: rgba(243,247,251,.97); }
.pp-cred em { font: 400 15px/1.2 var(--serif); font-style: normal; color: rgba(205,220,236,.88); }
.pp-cred.lead { flex-direction: row; align-items: center; gap: 10px; font: 400 28px/1 var(--serif); color: #f3f7fb; }

/* exhibits: real images fitted into the card windows, text in the glass below */
.pp-work > li { position: absolute; left: 0; top: 0; }
.pp-hit { position: absolute; left: 0; top: 0; width: 1586px; height: 992px; display: block; outline: none; }
.pp-window { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; border-radius: 9px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(160,210,255,.18); }
.pp-window img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-window::after { content: ""; position: absolute; inset: 0; border-radius: inherit;   /* the glass in front of the image */
  background: linear-gradient(125deg, rgba(255,255,255,.16), rgba(255,255,255,0) 32%), linear-gradient(0deg, rgba(4,20,48,.28), transparent 35%);
  box-shadow: inset 0 0 18px rgba(2,10,30,.55); }
.pp-textbox { position: absolute; display: grid; text-align: center; pointer-events: none; }
.pp-text { grid-area: 1 / 1; align-self: center; display: block; }
.pp-window img { position: absolute; inset: 0; will-change: transform, opacity; user-select: none; -webkit-user-drag: none; }
.pp-hit { all: unset; position: absolute; left: 0; top: 0; width: 1586px; height: 992px; cursor: grab; touch-action: pan-y; }
.pp-hit:active { cursor: grabbing; }
.pp-hit:focus-visible { outline: none; }
.pp-work > li:has(.pp-hit:focus-visible) .pp-glow { opacity: 1; }
.pp-title { white-space: pre-line; }
.pp-title.long { font-size: 17px !important; }
/* arrows: small glass discs at either end of the stage */
.pp-arrow { all: unset; position: absolute; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(40,100,170,.42), rgba(6,26,56,.55)); border: 1px solid rgba(150,210,255,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -8px 14px -8px rgba(92,191,255,.5), 0 8px 22px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .2s ease, box-shadow .2s ease; }
.pp-arrow svg { width: 24px; height: 24px; fill: none; stroke: #eaf4ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-arrow:hover, .pp-arrow:focus-visible { transform: scale(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -10px 16px -8px rgba(92,191,255,.7), 0 0 18px rgba(92,191,255,.35), 0 8px 22px rgba(0,0,0,.35); }
.pp-arrow:focus-visible { outline: 2px solid rgba(225,238,255,.8); outline-offset: 3px; }
.pp-counter { position: absolute; margin: 0; transform: translate(-50%, -50%); font: 400 15px/1 var(--serif); letter-spacing: .1em; color: #eaf3ff; text-shadow: 0 1px 6px rgba(0,8,24,.9), 0 0 2px rgba(0,8,24,.9); pointer-events: none; }
.pp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* slideshow viewer */
.pv { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; opacity: 0; transition: opacity .3s ease; font-family: var(--serif); }
.pv.in { opacity: 1; }
.pv[hidden] { display: none; }
.pv-scrim { position: absolute; inset: 0; background: rgba(2,8,20,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pv-frame { position: relative; width: min(92vw, 1280px); max-height: 92vh; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 20px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(30,79,128,.42), rgba(5,22,47,.62)); border: 1px solid rgba(150,210,255,.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 30px 80px rgba(0,0,0,.55); user-select: none; }
.pv-head { display: flex; align-items: center; gap: 16px; }
.pv-head h2 { flex: 1; margin: 0; font: 400 20px/1.25 var(--serif); color: var(--ink); }
.pv-count { font: 400 15px/1 var(--serif); color: var(--ink2); letter-spacing: .06em; }
.pv-close, .pv-nav { all: unset; flex: none; display: grid; place-items: center; cursor: pointer; border-radius: 50%; width: 42px; height: 42px;
  background: rgba(120,190,255,.10); border: 1px solid rgba(150,210,255,.30); }
.pv-close svg, .pv-nav svg { width: 22px; height: 22px; fill: none; stroke: #eaf4ff; stroke-width: 1.8; stroke-linecap: round; }
.pv-close:hover, .pv-nav:hover, .pv-close:focus-visible, .pv-nav:focus-visible { background: rgba(120,190,255,.22); outline: none; box-shadow: 0 0 0 2px rgba(225,238,255,.6); }
.pv-nav[disabled] { opacity: .3; cursor: default; }
.pv-body { display: flex; align-items: center; gap: 14px; min-height: 0; }
.pv-img { flex: 1; min-width: 0; max-height: calc(92vh - 110px); object-fit: contain; border-radius: 8px; background: #02060f; -webkit-user-drag: none; touch-action: pan-y; }
.pv-soon { display: none; flex: 1; padding: 60px 40px; text-align: center; font: 400 18px/1.5 var(--serif); color: var(--ink2); }
.pv-soon .pv-soon-note { color: var(--ink); font-size: 22px; }
.pv-soon a { color: #9fd3ff; text-decoration: underline; text-underline-offset: 4px; }
.pv.soon .pv-img, .pv.soon .pv-nav { display: none; }
.pv.soon .pv-soon { display: block; }

.pp-title { display: block; font: 400 22px/1.18 var(--serif); color: var(--ink); text-shadow: 0 1px 6px rgba(0,10,30,.75); }
.pp-desc { display: block; margin-top: 7px; font: 400 15px/1.36 var(--serif); color: rgba(226,236,248,.93); text-shadow: 0 1px 6px rgba(0,10,30,.75); }
.pp-window { background: #0a1d40; }
.pp-text.centre .pp-title { font-size: 19.5px; line-height: 1.16; }
.pp-text.centre .pp-desc { font-size: 13px; line-height: 1.3; margin-top: 5px; }
.pp-text.small .pp-title { font-size: 19px; }
.pp-text.small .pp-desc { font-size: 11px; line-height: 1.27; margin-top: 4px; }
.pp-text.title-only .pp-title { font-size: 19px; line-height: 1.2; }
.pp-text .pp-rule { margin-top: 7px; }
.pp-rule { display: block; width: 46px; height: 1px; margin: 10px auto 0; background: linear-gradient(90deg, transparent, rgba(242,185,120,.9), transparent); }

/* hover / focus: light catches the glass, the base glows warmer, others dim slightly */
.pp-glow { position: absolute; left: 0; top: 0; width: 1586px; height: 992px; pointer-events: none; opacity: 0; transition: opacity .35s ease; mix-blend-mode: screen; }
.pp-work > li.on .pp-glow { opacity: 1; }
.pp-work > li .pp-window { transition: filter .35s ease; }
.pp-work.hasfocus > li:not(.on) .pp-window, .pp-work.hasfocus > li:not(.on) .pp-text { filter: brightness(.9); }
.pp-work > li.on .pp-window { filter: brightness(1.08) saturate(1.05); }
.pp-sweep { position: absolute; left: 0; top: 0; width: 1586px; height: 992px; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
.pp-work > li.on .pp-sweep { animation: pp-sweep .9s cubic-bezier(.3,.6,.2,1) 1; }
@keyframes pp-sweep { 0% { opacity: 0; background-position: -40% 0; } 25% { opacity: 1; } 100% { opacity: 0; background-position: 140% 0; } }

/* strengths */
.pp-strengths button { all: unset; position: absolute; transform: translate(-50%, -50%); cursor: pointer; white-space: nowrap;
  font: 400 17px/1 var(--serif); color: rgba(214,226,240,.88); padding: 6px 2px; transition: color .2s, text-shadow .2s; }
.pp-strengths button:hover, .pp-strengths button:focus-visible, .pp-strengths button[aria-pressed="true"] { color: #fff; text-shadow: 0 0 12px rgba(93,190,255,.5); outline: none; }
.pp-threads { position: absolute; inset: 0; width: 1586px; height: 992px; pointer-events: none; overflow: visible; }
.pp-threads path { fill: none; stroke: rgba(120,200,255,.8); stroke-width: 1.4px; filter: drop-shadow(0 0 3px rgba(93,190,255,.6)); stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: pp-draw .4s ease-out forwards; }
@keyframes pp-draw { to { stroke-dashoffset: 0; } }
.pp-foot { position: absolute; left: 0; right: 0; top: 944px; text-align: center; font: 400 13px/1.5 var(--serif); color: rgba(200,216,238,.72); letter-spacing: .02em; }
.pp-foot p { margin: 0; }
.pp-compact .pp-foot { position: static; margin-top: 28px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .pv { transition: none; }
  .pp-work > li.on .pp-sweep { animation: none; }
  .pp-threads path { animation: none; stroke-dashoffset: 0; }
  .pp-nav a, .pp-actions a { transition: none; }
}

/* carousel tablets */
.pp-work { position: absolute; inset: 0; }
.pp-tab { position: absolute; left: 0; top: 0; will-change: transform, opacity; transition: filter .3s ease; }
.pp-glass { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.pp-shot { position: absolute; overflow: hidden; border-radius: 14px; background: #04102a; box-shadow: 0 0 0 1px rgba(150,205,255,.35); }
.pp-shot img { width: 100%; height: 100%; display: block; user-select: none; }
.pp-shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,.14), rgba(255,255,255,0) 30%), linear-gradient(0deg, rgba(4,20,48,.3), transparent 35%); box-shadow: inset 0 0 22px rgba(2,10,30,.6); }
.pp-tabtext { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; pointer-events: none; padding-top: 8px; }
.pp-tab .pp-title { font: 400 28px/1.14 var(--serif); color: var(--ink); text-shadow: 0 1px 8px rgba(0,10,30,.8); }
.pp-tab .pp-title.long { font-size: 25px !important; }
.pp-tab .pp-desc { display: block; margin-top: 6px; font: 400 17px/1.28 var(--serif); color: rgba(226,236,248,.94); text-shadow: 0 1px 6px rgba(0,10,30,.8); opacity: var(--desc, 0); }
.pp-tab:not(.front) .pp-desc { visibility: hidden; }
.pp-tab .pp-rule { margin-top: 10px; }
.pp-tab .pp-hit { all: unset; position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.pp-tab .pp-hit:active { cursor: grabbing; }
.pp-tab.on { filter: brightness(1.12) !important; }
.pp-tab .pp-hit:focus-visible { outline: 3px solid rgba(225,238,255,.8); outline-offset: -6px; border-radius: 40px; }

/* CIPHER's clip sits over his poster and fades in once it is playing */
.pp-clip { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.pp-clip.on { opacity: 1; }

/* ---------- phones and portrait tablets: the same scene, restacked ---------- */
.pp-menu { display: none; }
body.pp-compact { overflow-y: auto; overflow-x: hidden; height: auto; min-height: 100%; }
html:has(body.pp-compact) { overflow-y: auto; height: auto; }
.pp-compact .pp-stage { position: relative; width: 100%; height: auto; padding: 92px 16px 40px; transform: none !important; }
.pp-compact .pp-plate, .pp-compact .pp-fx, .pp-compact .pp-bandglass, .pp-compact .pp-threads, .pp-compact .pp-arrow { display: none; }
.pp-compact .pp-backdrop { filter: blur(28px) brightness(.55) saturate(1.1); }
.pp-compact .pp-emblem { position: absolute; left: 8px !important; top: 6px !important; width: 84px !important; height: 84px !important; z-index: 40; }
.pp-compact .pp-menu { all: unset; position: absolute; right: 16px; top: 22px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; cursor: pointer; z-index: 40;
  font: 400 15px/1 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: #eef5ff;
  background: linear-gradient(180deg, rgba(30,79,128,.42), rgba(5,22,47,.55)); border: 1px solid rgba(140,205,255,.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 22px rgba(0,0,0,.3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pp-compact .pp-menu svg { width: 20px; height: 20px; fill: none; stroke: #eef5ff; stroke-width: 1.6; stroke-linecap: round; }
.pp-compact .pp-menu:focus-visible { outline: 2px solid rgba(225,238,255,.8); outline-offset: 3px; }
.pp-compact .pp-nav { display: none; }
.pp-compact.pp-menu-open .pp-nav { display: flex; flex-direction: column; gap: 10px; position: fixed; left: 16px; right: 16px; top: 80px; z-index: 39; padding: 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(20,60,110,.62), rgba(4,18,40,.8)); border: 1px solid rgba(140,205,255,.3); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.pp-compact.pp-menu-open .pp-nav a { position: static; width: auto !important; height: 52px !important; justify-content: flex-start; padding: 0 18px; font-size: 16px; letter-spacing: .08em;
  background: rgba(120,190,255,.07); border: 1px solid rgba(140,205,255,.18); }
.pp-compact.pp-menu-open .pp-nav a[aria-current="page"] { background: rgba(92,170,255,.2); border-color: rgba(150,212,255,.45); }
.pp-compact main { display: flex; flex-direction: column; align-items: stretch; }
.pp-compact .pp-portrait { position: relative; display: block; left: auto !important; top: auto !important; width: min(72vw, 300px) !important; height: min(72vw, 300px) !important; margin: 4px auto -12px; }
.pp-compact .pp-identity { position: static; width: auto; max-width: 680px; margin: 0 auto; text-align: center; }
.pp-compact .pp-identity h1 { font-size: clamp(38px, 10vw, 54px); }
.pp-compact .pp-descriptor { font-size: 17px; line-height: 1.5; }
.pp-compact .pp-statement { width: auto; font-size: 16px; }
.pp-compact .pp-actions { position: static; display: flex; gap: 12px; justify-content: center; margin: 22px 0 6px; }
.pp-compact .pp-actions a { position: relative; left: auto !important; top: auto !important; width: 150px !important; height: 48px !important;
  background: linear-gradient(180deg, rgba(30,79,128,.42), rgba(5,22,47,.55)); border: 1px solid rgba(140,205,255,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.pp-compact .pp-creds { position: relative; inset: auto; width: 100%; max-width: 680px; align-self: center; display: flex; flex-direction: column; gap: 0; margin: 22px 0 8px; padding: 6px 18px; border-radius: 18px; pointer-events: auto;
  background: linear-gradient(180deg, rgba(160,205,255,.13), rgba(40,90,170,.10)); border: 1px solid rgba(160,210,255,.32); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 34px rgba(0,0,0,.3); }
.pp-compact .pp-cred { position: static; transform: none !important; white-space: normal; padding: 12px 0; border-top: 1px solid rgba(180,215,255,.16); }
.pp-compact .pp-cred:first-child { border-top: 0; }
.pp-compact .pp-cred.lead { font-size: 22px; }
.pp-compact .pp-cred b { font-size: 17px; }
.pp-compact section[aria-roledescription="carousel"] { position: relative; margin-top: 18px; }
.pp-compact .pp-work { position: relative; inset: auto; overflow: hidden; }
.pp-compact .pp-counter { position: static; transform: none; text-align: center; margin: 8px 0 0; left: auto !important; top: auto !important; }
.pp-compact .pp-strengths { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.pp-compact .pp-strengths button { position: static; transform: none; padding: 10px 14px; border-radius: 22px; font-size: 15px; background: rgba(120,190,255,.08); border: 1px solid rgba(140,205,255,.24); }
.pp-compact .pp-strengths button[aria-pressed="true"] { background: rgba(92,170,255,.22); border-color: rgba(150,212,255,.5); }
.pp-compact .pp-tab .pp-hit { touch-action: pan-y; }
.pp-compact .pv-frame { width: 96vw; padding: 12px; }
.pp-compact .pv-head h2 { font-size: 16px; }
.pp-compact .pv-nav { display: none; }

.pp-mesh { display: none; }
.pp-compact .pp-mesh { display: block; position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; mix-blend-mode: screen; }

/* click fix (2026-11-13, Loy reported links and buttons not working): the exhibit layer is a full-stage sheet stacked over
   the menu, so clicks landed on it. Only the tablets themselves take clicks now, and the menu, actions and arrows sit above. */
.pp-work { pointer-events: none; }
.pp-work .pp-hit, .pp-work a, .pp-work button { pointer-events: auto; }
.pp-nav a, .pp-actions a { z-index: 130; }
.pp-arrow { z-index: 120; }
