/* product-page.css: the product line page, one layout for every line.
   Owns every .pp-* rule. Loaded only by themes/ulric/_product-showcase.php
   (with its stills walkthrough, _product-walk.php, wired by product-walk.js;
   the drawn stepper brings its own rules from gycp/_stepper.php and takes
   this page's spacing from the .pp-explore rules here). Theme
   tokens only: colours, type, radii and spacing all come from style.css
   :root. Shared pieces (.eyebrow, .lede, .btn, .sec-head, .prose, .work-grid,
   .wcard, .svc-cta, .detail-k, .case-link, .try-it, .st-*) keep their rules
   there. */

.pp em{font-style:italic;color:var(--accent-deep)}
/* a section opens on a centred head: a small label, one sentence, at most one line under it */
.pp .sec-head{max-width:46em;margin-inline:auto;text-align:center}
.pp .sec-head .eyebrow{justify-content:center}
.pp .sec-head .lede{max-width:34em;margin-inline:auto}
/* the exploration is a rail beside a stage, so its head starts at the rail's edge (the drawn stepper's does too) */
#explore.pp .sec-head{margin-inline:0;text-align:left}
#explore.pp .sec-head .eyebrow{justify-content:flex-start}

/* ---------- one spacing scale (the --s-* tokens), the same on every line ---------- */
/* Between sections: --s-7 on phones, --s-9 on desks, above and below, so two
   blocks stand 96px or 160px apart and white space does the parting (the
   theme's own section padding follows the screen's height, so the rhythm
   changed from phone to phone). Inside a block: eyebrow or numeral to heading --s-3, heading to text
   --s-2 or --s-3, text to its picture or card --s-5 (--s-6 on desks). */
.pp{padding:var(--s-7) 0}
.pp .sec-head{margin-bottom:var(--s-5)}
.pp .sec-head .eyebrow{margin-bottom:var(--s-3)}
.pp .sec-head h2{margin-bottom:var(--s-3)}
.pp .sec-head>:last-child{margin-bottom:0}
@media (min-width:900px){
  .pp{padding:var(--s-9) 0}
  .pp .sec-head{margin-bottom:var(--s-6)}
}

/* ---------- hero: the circle, the name, one sentence, the pill; the screens under them ---------- */
/* Centred. The words fit a phone's first screen (402x690 too) and the picture
   starts under them, so its top edge shows above the fold. The circle is the
   same on every line, one size, with a hairline ring; a cover is centre-cropped
   into it, so it must hold its subject mid-frame. */
.pp-hero{position:relative;padding:var(--s-5) 0 var(--s-6);text-align:center}
.pp-hero>.wrap{position:relative}
/* the ground behind it all: a hairline grid that thins to paper at its edges
   and moves slower than the page (its plate is taller than the hero, so the
   slide never bares an edge) */
.pp-hero-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.pp-hero-bg i{position:absolute;left:0;right:0;top:-10%;height:130%;opacity:.7;
  background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:56px 56px;background-position:50% 0;
  -webkit-mask-image:radial-gradient(ellipse 62% 46% at 50% 34%,#000,transparent 78%);mask-image:radial-gradient(ellipse 62% 46% at 50% 34%,#000,transparent 78%)}
.pp-hero-text{display:flex;flex-direction:column;align-items:center}
.pp-mark{width:96px;height:96px;margin:0 0 var(--s-4);border-radius:50%;overflow:hidden;border:1px solid var(--line);background:var(--paper-2)}
.pp-mark img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
/* a line's own render is the product on a plain paper ground: it is shown
   whole, so no corner of the device falls outside the ring (a centre crop of
   the Real OS render cut the phone stand's corner) */
.pp-mark--whole{background:var(--paper)}
/* a render's cast shadow runs to the picture's side; it thins out over the
   last few percent so the side never shows as a line inside the ring */
.pp-mark--whole img{object-fit:contain;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 93%,transparent)}
/* one heading in two voices: the line's name as a small label, the sentence at display size */
.pp-hero h1{margin:0;display:flex;flex-direction:column;align-items:center;gap:var(--s-3);font-size:inherit;letter-spacing:0}
.pp-name{font:400 12px/1 var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--accent-deep)}
.pp-claim{font-family:var(--display);font-size:clamp(2.5rem,6.6vw,5.6rem);line-height:1;letter-spacing:-.028em;max-width:12.5em}
.pp-hero-cta{display:flex;align-items:center;justify-content:center;gap:var(--s-2) var(--s-5);flex-wrap:wrap;margin-top:var(--s-5)}
.pp-hero-cta .case-link{display:inline-flex;align-items:center}

/* the picture: layers set in one box, back to front a ring, the desk screen,
   the phone screen and two small cards. product-motion.js moves each .pp-layer
   at its own rate; what a layer holds makes its own entrance, so no element is
   written by both */
.pp-stage{margin:var(--s-6) auto 0;max-width:1040px}
.pp-stage-box{position:relative;aspect-ratio:16/11;transform-origin:50% 0}
.pp-layer{position:absolute;display:block}
.pp-layer--desk{left:0;right:13%;top:4%}
/* the phone stands past the desk's right edge and covers only its last few
   percent (a margin of empty dashboard), never the rows the desk is showing */
.pp-layer--phone{right:0;bottom:0;width:19%}
/* on a phone the ring stays inside the gutter, grown stage and all: nothing may reach past the screen's edge */
.pp-layer--ring{right:-2%;top:-9%;width:38%;aspect-ratio:1}
.pp-layer--ring i{display:block;width:100%;height:100%;border-radius:50%;border:1px solid var(--accent);opacity:.45;
  background:radial-gradient(circle at 50% 50%,transparent 55%,color-mix(in srgb,var(--accent) 10%,transparent))}
.pp-layer--chip{left:-2%;bottom:13%}
.pp-layer--chip2{left:auto;bottom:auto;right:14%;top:-1%}
.pp-chip{display:inline-flex;align-items:center;gap:var(--s-3);padding:var(--s-3) var(--s-4);border-radius:var(--radius);background:var(--paper);border:1px solid var(--line);
  box-shadow:var(--sh-2);font:500 .95rem/1.2 var(--display);letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
.pp-chip b{font:400 11px var(--mono);letter-spacing:.14em;color:var(--accent-deep)}
.pp-stage figcaption{margin-top:var(--s-4);font-size:var(--fs-caption);color:var(--stone)}
.pp-stage figcaption a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.pp-stage figcaption a:hover{color:var(--accent-deep)}
/* phones: the two cards would be specks beside a 320px screen */
@media (max-width:699px){
  .pp-layer--chip{display:none}
  .pp-stage .pp-frame-bar{height:18px}
  .pp-stage .pp-frame-bar span{font-size:8px;padding:1px 12px}
  .pp-layer--desk{right:16%}
  .pp-layer--phone{width:24%}
}
@media (min-width:900px){
  .pp-hero{padding:var(--s-7) 0 var(--s-8)}
  .pp-mark{margin-bottom:var(--s-5)}
  .pp-hero h1{gap:var(--s-4)}
  .pp-hero-cta{margin-top:var(--s-6)}
  .pp-stage{margin-top:var(--s-8)}
  .pp-layer--ring{right:-7%}
}

/* ---------- the drawn exploration (a line with no stills): the autoplay stepper ---------- */
/* the stepper was written inside GYCP's .gy scope, which is what releases the
   scroll stage's pinned height; the same release here, for .pp-explore */
.pp-explore .st-stage.st-auto{height:auto!important;padding:0!important;margin:0!important;background:var(--st-bg);color:var(--st-ink)}
/* its spacing on the page's scale, the same breath above and below as a .pp section */
.pp-explore .gy-sx .sx-wrap{padding-top:var(--s-7);padding-bottom:var(--s-7)}
.pp-explore .gy-sx .sx-head{margin-bottom:var(--s-4)}
.pp-explore .gy-sx .st-kicker{margin-bottom:var(--s-3)}
/* its title is set like the walkthrough's heading (the theme's h2, the line's
   name in the accent italic), so the three lines open their exploration alike */
.pp-explore .gy-sx .st-title{font-style:normal;font-size:clamp(2rem,4.4vw,3.3rem);line-height:1.04;letter-spacing:-.022em;max-width:none}
.pp-explore .gy-sx .st-title em{font-style:italic;color:var(--accent-deep)}
.pp-explore .gy-sx.sx-on .sx-bar{margin:var(--s-3) 0 var(--s-2)}
.pp-explore .gy-sx .sx-text h3{margin-bottom:var(--s-2)}
/* a step says its piece in its marks: small dots level with the first line's
   capitals and a tight indent (the stage's own ring was 12px wide, sat under
   the line and pushed the words 26px in) */
.pp-explore .gy-sx .st-marks{margin-top:0;gap:var(--s-1)}
.pp-explore .gy-sx .st-marks li{padding-left:var(--s-4);font-size:.95rem;line-height:1.5}
.pp-explore .gy-sx .st-marks li::before{top:calc(.75em - 3px);width:5px;height:5px}
@media (min-width:900px){
  .pp-explore .gy-sx .sx-wrap{padding-top:var(--s-9);padding-bottom:var(--s-9)}
  .pp-explore .gy-sx.sx-on .sx-head,.pp-explore .gy-sx.sx-on .sx-play{margin-bottom:var(--s-6)}
  .pp-explore .gy-sx.sx-on .sx-text{margin-top:var(--s-4)}
  .pp-explore .gy-sx.sx-on .sx-text .st-marks{margin-top:0}
}

/* ---------- the walkthrough: the real stills on an autoplay stepper ---------- */
/* One stage, a rail of steps and the current step's one line.
   The clock is gycp/_sxcore.php (wired by product-walk.js); nothing here is
   tied to the scroll and nothing pins. Without script (.is-live missing)
   every step prints in full, one under another. */
.pp-frame{border-radius:var(--radius);overflow:hidden;background:var(--d-bg);box-shadow:var(--sh-2)}
.pp-frame-bar{height:28px;background:var(--d-surface);display:flex;align-items:center;justify-content:center}
.pp-frame-bar span{font:400 11px var(--mono);color:var(--d-muted);background:var(--d-bg);border-radius:var(--r-pill);padding:2px 18px}
.pp-frame img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
/* the phone: the site's one handset (the --ph-* tokens in style.css: titanium
   band, glass edge), measured in its own width so it reads the same at 80px and
   at 200px. The still is a whole 390x844 screen, status bar included, and fills
   the glass at its own ratio: nothing stretched, nothing cut. The 2px ring of
   page colour keeps it a second device over a desk still. */
.pp-phone{display:flow-root;container-type:inline-size;border-radius:15.7%/7.5%;background:var(--ph-ti);
  box-shadow:inset 0 0 0 .75px var(--ph-edge),0 0 0 2px var(--paper),5px 12px 18px -10px rgba(25,25,23,.42)}
.pp-phone img{display:block;width:calc(100% - 6.8cqw);height:auto;margin:3.4cqw;border-radius:12.3cqw;background:var(--d-bg);box-shadow:0 0 0 2.6cqw var(--ph-glass)}
.pp-steps{list-style:none;margin:0;padding:0}
.pp-step+.pp-step{margin-top:var(--s-7)}
.pp-shot{position:relative;margin:0 0 var(--s-4)}
.pp-step h3{display:flex;align-items:baseline;gap:var(--s-3);margin:0 0 var(--s-2)}
.pp-step-n{flex:none;font:400 12px var(--mono);letter-spacing:.14em;color:var(--accent-deep)}
.pp-step-text p{color:var(--ink-soft);font-size:.95rem;line-height:1.5;max-width:30em}
/* a step with more than one view of its screen: one pill per view */
.pp-looks{display:flex;gap:var(--s-2);margin-top:var(--s-3)}
.pp-look{all:unset;box-sizing:border-box;flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 var(--s-4);border:1px solid var(--line);
  border-radius:var(--r-pill);font:500 14px var(--body);color:var(--ink-soft);white-space:nowrap;cursor:pointer}
.pp-look.is-on{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.pp-look:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}
/* the pills swap stills by script; without it they would be dead buttons */
.pp-walk:not(.is-live) .pp-looks{display:none}
/* a view pill's swap fades through the frame's ground instead of cutting */
.pp-shot img{transition:opacity .25s ease}
.pp-shot img.is-out{opacity:0}
/* the note under the block (the stills are sample data) */
.pp-walk-note{margin-top:var(--s-4);font-size:var(--fs-caption);color:var(--stone);max-width:44em}

/* the rail and the play button exist for the script alone */
.pp-walk-bar{display:none}
.pp-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);min-width:0}
/* tabs touch, so each keeps a 44px target on a phone; the gap is drawn inside the bar */
.pp-tab{all:unset;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:44px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pp-tab-n{font:400 12px var(--mono);letter-spacing:.14em;color:var(--stone)}
.pp-tab.is-on .pp-tab-n{color:var(--accent-deep)}
.pp-tab-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.pp-tab>i{display:block;height:3px;margin-right:6px;border-radius:2px;background:var(--line);overflow:hidden}
.pp-tab:last-child>i{margin-right:0}
/* the current step's bar fills as its time runs (--f, set by the clock) */
.pp-tab>i i{display:block;height:100%;background:var(--accent-deep);transform-origin:left;transform:scaleX(var(--f,0))}
.pp-tab:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px;border-radius:4px}
.pp-play{all:unset;box-sizing:border-box;width:44px;height:44px;display:inline-grid;place-items:center;border-radius:50%;border:1px solid var(--line);
  background:var(--paper-2);color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
.pp-play .pp-i-play,.pp-play.is-playing .pp-i-pause{display:block}
.pp-play .pp-i-pause,.pp-play.is-playing .pp-i-play{display:none}
.pp-play:focus-visible{outline:2px solid var(--accent-deep);outline-offset:3px}
.pp-play[hidden]{display:none}

/* with script: one grid, every step's stills in the stage cell and every
   step's words in the text cell, so the block is as tall as its tallest step
   and a change of step moves nothing on the page */
.pp-walk.is-live{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"stage" "bar" "text";align-items:start}
.pp-walk.is-live .pp-steps,.pp-walk.is-live .pp-step{display:contents}
.pp-walk.is-live .pp-shot{grid-area:stage;margin:0;touch-action:pan-y}
/* the bar's two children are placed by the walk's grid: the rail under the
   stage, the play button at the end of the step's name */
.pp-walk.is-live .pp-walk-bar{display:contents}
.pp-walk.is-live .pp-rail{grid-area:bar;margin:var(--s-3) 0 var(--s-2)}
.pp-walk.is-live .pp-step-text{grid-area:text}
.pp-walk.is-live .pp-play{grid-area:text;justify-self:end;position:relative;z-index:2}
.pp-walk.is-live .pp-step-text:focus{outline:none}
.pp-walk.is-live .pp-step-text:focus-visible{outline:2px solid var(--accent-deep);outline-offset:6px;border-radius:4px}
/* the crossfade: the step arriving fades in on top with its stills settling
   from a hair large, while the one leaving holds still underneath until it is
   covered, so the frame never thins to the page between two screens */
.pp-walk.is-live .pp-shot{transition:opacity 0s linear .6s,visibility 0s linear .6s}
.pp-walk.is-live .pp-step:not(.is-on) .pp-shot{opacity:0;visibility:hidden;pointer-events:none}
.pp-walk.is-live .pp-step.is-on .pp-shot{z-index:1;transition:opacity .6s ease,visibility 0s}
.pp-walk.is-live .pp-step:not(.is-on) .pp-shot img{transform:scale(1.035);transition:opacity .25s ease,transform 0s linear .6s}
.pp-walk.is-live .pp-step.is-on .pp-shot img{transition:opacity .25s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
/* the words: the old line leaves before the new one arrives, so two never overlap */
.pp-walk.is-live .pp-step-text{transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}
.pp-walk.is-live .pp-step:not(.is-on) .pp-step-text{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px)}
.pp-walk.is-live .pp-step.is-on .pp-step-text{transition:opacity .4s ease .16s,transform .5s cubic-bezier(.2,.7,.2,1) .16s,visibility 0s}
@media (prefers-reduced-motion:reduce){
  .pp-walk .pp-shot,.pp-walk .pp-shot img,.pp-walk .pp-step-text{transition:none!important}
  .pp-walk.is-live .pp-step:not(.is-on) .pp-shot img{transform:none}
}

/* every width: the desk still with the whole phone over its right edge, the
   work-images stack (uncropped desk, uncropped phone). The phone overlaps only
   the desk's empty margin; its top sits about a third of the way down the desk */
.pp-shot .pp-frame{width:84%}
.pp-shot .pp-phone{position:absolute;right:0;bottom:0;width:26%}
@media (max-width:899px){
  .pp-shot{padding-bottom:16%}
  .pp-shot .pp-frame-bar{height:18px}
  .pp-shot .pp-frame-bar span{font-size:8px;padding:1px 12px}
  /* the play button sits at the end of the step's name */
  .pp-walk.is-live .pp-step h3{min-height:44px;align-items:center;padding-right:calc(44px + var(--s-3));margin-bottom:0}
  /* a step's views stay on one line and scroll sideways inside it, so four looks cost one row */
  .pp-looks{overflow-x:auto;scrollbar-width:none;margin-inline:calc(var(--pad)*-1);padding-inline:var(--pad)}
  .pp-looks::-webkit-scrollbar{display:none}
}
/* desks: the desktop still in a plain frame with the phone over its corner,
   the rail beside it with the step's line under the rail */
@media (min-width:900px){
  .pp-shot{padding-bottom:var(--s-7)}
  .pp-shot .pp-frame{width:86%}
  .pp-shot .pp-phone{width:21%}
  .pp-looks{flex-wrap:wrap}
  /* without script: a step is its stills beside its words */
  .pp-step{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,5fr);column-gap:var(--s-8);align-items:center}
  .pp-walk.is-live{grid-template-columns:minmax(0,5fr) minmax(0,8fr);column-gap:var(--s-8);grid-template-areas:"bar stage" "text stage";grid-template-rows:auto 1fr}
  .pp-walk.is-live .pp-rail{grid-area:bar;grid-auto-flow:row;grid-auto-columns:auto;margin:0}
  /* the play button rests under the frame, clear of the phone */
  .pp-walk.is-live .pp-play{grid-area:stage;align-self:end;justify-self:start}
  .pp-tab{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:var(--s-4);row-gap:0;align-items:baseline;min-height:48px;padding-top:var(--s-3)}
  .pp-tab-name{position:static;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none;white-space:normal;
    font:500 1.05rem/1.3 var(--display);letter-spacing:-.01em;color:var(--stone);transition:color .3s}
  .pp-tab.is-on .pp-tab-name,.pp-tab:hover .pp-tab-name{color:var(--ink)}
  .pp-tab>i{grid-column:1/-1;height:2px;margin:var(--s-3) 0 0}
  /* the rail names the step, so the words under it drop their repeated heading */
  .pp-walk.is-live .pp-step-text{margin-top:var(--s-4)}
  .pp-walk.is-live .pp-step-text h3{display:none}
}

/* ---------- feature tiles: the row's short points, one soft panel each ---------- */
/* Three or four, never fewer (the layout drops the block): one row on a desk,
   two by two between, one swipe row on a phone with the next tile peeking. */
.pp-tiles{list-style:none;margin:0;padding:0;display:grid;gap:var(--s-3)}
.pp-tile{display:flex;flex-direction:column;min-height:200px;padding:var(--s-5);border-radius:var(--radius-lg);background:var(--paper-2)}
.pp-tile-n{font:400 12px var(--mono);letter-spacing:.14em;color:var(--accent-deep)}
.pp-tile h3{margin:auto 0 var(--s-2);padding-top:var(--s-6);font-size:var(--fs-h3);line-height:1.12}
.pp-tile p{margin:0;color:var(--ink-soft);font-size:.95rem;line-height:1.5}
@media (max-width:699px){
  .pp-tiles{display:flex;align-items:stretch;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--pad);
    -webkit-overflow-scrolling:touch;scrollbar-width:none;margin-inline:calc(var(--pad)*-1);padding-inline:var(--pad)}
  .pp-tiles::-webkit-scrollbar{display:none}
  .pp-tile{flex:0 0 min(78vw,320px);scroll-snap-align:start}
  /* a tile waiting off to the side is never held back by the entrance: only a
     page scroll wakes the observer, and a sideways swipe is not one */
  html.fx .pp-tiles .fade{opacity:1;transform:none}
}
@media (min-width:700px){
  .pp-tiles--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pp-tiles--4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pp-tile{min-height:240px;padding:var(--s-6)}
}
@media (min-width:1060px){.pp-tiles--4{grid-template-columns:repeat(4,minmax(0,1fr))}.pp-tile{min-height:280px}}

/* ---------- starters: one card per site recipe, on the tiles' grid ---------- */
/* Six cards are two rows of three on a desk, one swipe row on a phone. The
   "turns on" list is small hairline chips that wrap inside the card. */
.pp-start h3{margin:0 0 var(--s-2);padding:0}
.pp-start .pp-start-on{margin-top:var(--s-4);font:600 11px/1.4 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--accent-deep)}
.pp-chips{list-style:none;margin:var(--s-2) 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.pp-chips li{padding:3px 10px;border:1px solid var(--line);border-radius:999px;font-size:var(--fs-caption);line-height:1.5;color:var(--ink-soft);background:var(--paper)}
.pp-start .case-link{margin-top:auto;padding-top:var(--s-4);display:inline-flex;align-items:center;min-height:44px}

/* ---------- what it does: the plain list, then the developer table ---------- */
/* Both are hairline rows on the paper ground, never a filled band. On a phone
   a row stacks (name over sentence, area over spec) so nothing scrolls
   sideways; from 700px the name takes a fixed left column. */
.pp-feats{max-width:60rem;margin:0 auto;border-top:1px solid var(--line)}
.pp-feats>div{padding:var(--s-4) 0;border-bottom:1px solid var(--line)}
.pp-feats dt{font-family:var(--display);font-size:1.25rem;line-height:1.2;margin-bottom:var(--s-2)}
.pp-feats dd{margin:0;color:var(--ink-soft);line-height:1.55}
.pp-specs{max-width:60rem;margin:var(--s-7) auto 0}
.pp-specs h3{font-size:var(--fs-h3);line-height:1.2;margin:0 0 var(--s-4)}
.pp-spec-table{width:100%;border-collapse:collapse;font-size:var(--fs-small);line-height:1.5}
.pp-spec-table th,.pp-spec-table td{display:block;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.pp-spec-table tr{display:block;padding:var(--s-3) 0;border-top:1px solid var(--line)}
.pp-spec-table tr:last-child{border-bottom:1px solid var(--line)}
.pp-spec-table th{font:600 11px/1.4 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:var(--s-1)}
.pp-spec-table td{color:var(--ink-soft)}
@media (min-width:700px){
  .pp-feats>div{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:var(--s-5);align-items:baseline}
  .pp-feats dt{margin:0}
  .pp-spec-table tr{display:table-row;padding:0}
  .pp-spec-table th,.pp-spec-table td{display:table-cell;padding:var(--s-3) 0}
  .pp-spec-table th{width:15rem;padding-right:var(--s-5);margin:0}
}
@media (min-width:900px){.pp-specs{margin-top:var(--s-9)}}

/* ---------- what it costs: price cards on the tiles' grid, read live from the pricing table ---------- */
.pp-price h3{margin:0 0 var(--s-2);padding:0}
.pp-price .pp-price-n{font-family:var(--display);font-size:clamp(1.9rem,3vw,2.4rem);line-height:1.05;letter-spacing:-.02em;color:var(--ink);margin:0 0 var(--s-3)}
.pp-price .pp-price-note{margin-top:var(--s-3);font-size:var(--fs-caption);color:var(--stone)}
.pp-price .case-link{margin-top:auto;padding-top:var(--s-4);display:inline-flex;align-items:center;min-height:44px}
/* a name that runs to two lines must not drop its price below its neighbours' */
@media (min-width:700px){.pp-price h3{min-height:2.24em}}
.pp-price-foot{max-width:40em;margin:var(--s-5) auto 0;text-align:center;color:var(--ink-soft);line-height:1.55}

/* ---------- the film: wide on desks, tall on phones ---------- */
.pp-film--tall{display:none}
.pp-film--tall .ti-stage{aspect-ratio:9/16}
/* the tall cut is a narrow figure: its play label stays on one line */
.pp-film--tall .ti-play{white-space:nowrap}
@media (max-width:767px){
  .pp-film--wide{display:none}
  .pp-film--tall{display:block;max-width:min(78vw,320px);margin-inline:auto}
}

/* ---------- the case study, the only block that names the client ---------- */
.pp-case{display:grid;gap:var(--s-6)}
.pp-case figure{margin:0}
.pp-case-shot{display:block;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:var(--paper)}
.pp-case-shot img{display:block;width:100%;height:auto;transform-origin:50% 60%}
.pp-case figcaption{margin-top:var(--s-2);font-size:var(--fs-caption);color:var(--stone)}
.pp-case h2{margin-bottom:var(--s-4)}
.pp-case p{color:var(--ink-soft);max-width:36em;margin-bottom:var(--s-4)}
.pp-stats{display:grid;grid-template-columns:1fr 1fr;gap:var(--s-5);margin-top:var(--s-7);padding-top:var(--s-5);border-top:1px solid var(--line)}
.pp-stats b{display:block;font-family:var(--display);font-weight:500;font-size:clamp(1.6rem,2.8vw,2.3rem);letter-spacing:-.02em}
.pp-stats div>span{font-size:.82rem;color:var(--stone)}
.pp-related ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
/* names and services only: a work thumbnail on this site is a device stack, never a crop */
.pp-related a{display:block;min-height:44px;padding:var(--s-3) 0;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.pp-related b{display:block;font-weight:600;line-height:1.3}
.pp-related span{display:block;font-size:var(--fs-caption);color:var(--stone)}
.pp-related a:hover b{color:var(--accent-deep)}
@media (min-width:900px){
  .pp-case{grid-template-columns:7fr 5fr;gap:var(--s-8);align-items:center}
  .pp-stats{grid-template-columns:repeat(4,1fr)}
  /* one row of equal columns however many cards the script lists, so the row never ends on a gap */
  .pp-related ul{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:var(--s-5);border-top:0}
  .pp-related a{border-top:1px solid var(--line)}
}

/* ---------- the portfolio cards: each in a cell that drifts at its column's rate ---------- */
.pp-cell{display:flex;min-width:0}
.pp-cell>.wcard{flex:1;min-width:0}
/* the related list follows the products grid, whose own section ends the breath above it */
#related.pp{padding-top:0}

/* ---------- the booking panel: one line and the pill, on a soft rounded ground ---------- */
.pp-band{display:flex;flex-direction:column;align-items:center;gap:var(--s-5);padding:var(--s-7) var(--s-5);border-radius:var(--radius-lg);background:var(--paper-2);text-align:center}
.pp-band p{margin:0;font-family:var(--display);font-size:clamp(1.5rem,3vw,2.3rem);line-height:1.12;letter-spacing:-.02em;max-width:22em}
.pp-band .btns{display:flex;gap:var(--s-3);flex-wrap:wrap;justify-content:center}
@media (min-width:900px){.pp-band{padding:var(--s-9) var(--s-7)}}

/* ---------- View more info: the reading, closed until asked for ---------- */
.pp-more-sec{padding-top:0}
.pp-more{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pp-more>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--s-4);min-height:64px;cursor:pointer;list-style:none;
  font-family:var(--display);font-size:var(--fs-h3);letter-spacing:-.015em}
.pp-more>summary::-webkit-details-marker{display:none}
.pp-more>summary svg{flex:0 0 auto;color:var(--accent-deep);transition:transform .25s ease}
.pp-more[open]>summary svg{transform:rotate(180deg)}
.pp-more>summary:focus-visible{outline:2px solid var(--accent-deep);outline-offset:4px}
@media (prefers-reduced-motion:reduce){.pp-more>summary svg{transition:none}}
.pp-more-in{max-width:46em;padding:var(--s-4) 0 var(--s-8)}
.pp-more-in>.eyebrow{margin-bottom:var(--s-3)}
.pp-more-in>.lede{margin-bottom:var(--s-5)}
.pp-more-in .prose+.prose,.pp-qa{margin-top:var(--s-6)}
.pp-more-in h3{margin:1.6em 0 .5em}
.pp-more-in h4{margin:1.6em 0 .6em;font:400 .75rem var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--accent-deep)}
.pp-more-in li{margin-bottom:.7em}
.pp-more-link,.pp-qa p{color:var(--ink-soft);margin-bottom:1.15em}
.pp-more-link a{color:var(--accent-deep)}
/* a question is a sentence, not a label */
.pp-qa h4{font:600 1rem var(--body);letter-spacing:0;text-transform:none;color:var(--ink);margin:1.2em 0 .3em}
