/* PD Slides · signature. The layer that makes a deck read as Partners Dogs and not as a template:
     · Partner, our mascot, as a live puppet (core/js/partner.js) that walks in, reacts, talks and always faces the content
     · hand-drawn marks in our colours: leash, paw trail, swoosh, wag, circle, bone, highlighter glow
     · word inks: one or two words re-inked in another colour or texture (WORD INKS, below)
     · light that draws the eye: text glow, gradient ink, spotlight, halo ring, sheen, aurora and contour shaders, film grain
     · our land under every slide: a topographic contour texture that moves a step with each slide (one journey, not 40 pages)
     · dog things: paw-print trails, dog tags, sheriff-star badges, bandana corners, the seal, paw bullets, training-tool icons
     · our type, used with intent: M PLUS Rounded at 500 and 800, Montserrat italic for voice, JetBrains Mono for metadata
   Everything reads the semantic tokens, so it follows the slide's theme. Static mode (?static) shows every mark drawn and every
   entrance finished; calm (M) and prefers-reduced-motion stop the ambient loops. */

/* Animatable angles and positions for the shaders and rings */
@property --ha { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --ax1 { syntax: '<percentage>'; inherits: false; initial-value: 78%; }
@property --ay1 { syntax: '<percentage>'; inherits: false; initial-value: 12%; }
@property --ax2 { syntax: '<percentage>'; inherits: false; initial-value: 8%; }
@property --ay2 { syntax: '<percentage>'; inherits: false; initial-value: 92%; }
@property --shine { syntax: '<percentage>'; inherits: false; initial-value: -60%; }

:root {
  /* our land: topographic contours (from the website's topo-pattern.svg), teal on dark, navy on light */
  --topo-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%2334C6B9' stroke-width='.8'%3E%3Cg opacity='.10'%3E%3Cpath d='M30 10Q50 5 70 12Q90 20 85 40Q80 55 60 58Q40 60 25 50Q10 40 15 25Q18 15 30 10Z'/%3E%3Cpath d='M35 18Q50 14 65 18Q78 24 75 38Q72 48 58 50Q42 52 33 44Q22 36 27 27Q30 22 35 18Z'/%3E%3Cpath d='M42 26Q52 23 60 27Q68 32 66 40Q64 46 55 47Q46 48 40 42Q35 36 38 31Q40 28 42 26Z'/%3E%3Cpath d='M120 60Q145 50 170 55Q195 62 192 80Q188 100 165 108Q140 115 125 105Q108 92 112 75Q115 65 120 60Z'/%3E%3Cpath d='M128 68Q148 60 165 65Q182 72 180 85Q177 98 160 103Q142 108 132 99Q120 90 124 78Q126 72 128 68Z'/%3E%3Cpath d='M136 76Q150 70 160 74Q172 80 170 90Q168 98 156 100Q144 102 138 95Q132 88 134 82Q135 78 136 76Z'/%3E%3Cpath d='M143 82Q152 78 158 82Q164 86 162 92Q160 96 154 97Q148 98 144 94Q140 90 143 82Z'/%3E%3Cpath d='M20 130Q45 118 75 125Q100 132 98 155Q95 178 70 185Q45 190 28 178Q12 165 14 148Q16 136 20 130Z'/%3E%3Cpath d='M30 138Q50 129 72 134Q90 140 88 157Q86 172 68 177Q50 181 37 171Q25 162 27 150Q28 142 30 138Z'/%3E%3Cpath d='M40 147Q55 140 68 144Q80 149 78 160Q76 168 64 171Q52 173 44 166Q37 159 38 152Q39 149 40 147Z'/%3E%3Cpath d='M0 95Q30 88 60 92Q95 98 110 88Q125 78 150 80Q180 82 200 95'/%3E%3Cpath d='M0 105Q35 99 62 103Q96 108 114 98Q130 89 152 91Q182 93 200 105'/%3E%3Cpath d='M150 150Q170 140 190 148Q205 156 200 175Q195 192 175 195Q155 197 147 182Q140 168 150 150Z'/%3E%3Cpath d='M158 158Q172 151 185 157Q195 163 192 175Q189 186 176 188Q162 189 156 179Q151 170 158 158Z'/%3E%3C/g%3E%3C/svg%3E");
  --topo-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23022D41' stroke-width='.8'%3E%3Cg opacity='.075'%3E%3Cpath d='M30 10Q50 5 70 12Q90 20 85 40Q80 55 60 58Q40 60 25 50Q10 40 15 25Q18 15 30 10Z'/%3E%3Cpath d='M35 18Q50 14 65 18Q78 24 75 38Q72 48 58 50Q42 52 33 44Q22 36 27 27Q30 22 35 18Z'/%3E%3Cpath d='M42 26Q52 23 60 27Q68 32 66 40Q64 46 55 47Q46 48 40 42Q35 36 38 31Q40 28 42 26Z'/%3E%3Cpath d='M120 60Q145 50 170 55Q195 62 192 80Q188 100 165 108Q140 115 125 105Q108 92 112 75Q115 65 120 60Z'/%3E%3Cpath d='M128 68Q148 60 165 65Q182 72 180 85Q177 98 160 103Q142 108 132 99Q120 90 124 78Q126 72 128 68Z'/%3E%3Cpath d='M136 76Q150 70 160 74Q172 80 170 90Q168 98 156 100Q144 102 138 95Q132 88 134 82Q135 78 136 76Z'/%3E%3Cpath d='M143 82Q152 78 158 82Q164 86 162 92Q160 96 154 97Q148 98 144 94Q140 90 143 82Z'/%3E%3Cpath d='M20 130Q45 118 75 125Q100 132 98 155Q95 178 70 185Q45 190 28 178Q12 165 14 148Q16 136 20 130Z'/%3E%3Cpath d='M30 138Q50 129 72 134Q90 140 88 157Q86 172 68 177Q50 181 37 171Q25 162 27 150Q28 142 30 138Z'/%3E%3Cpath d='M40 147Q55 140 68 144Q80 149 78 160Q76 168 64 171Q52 173 44 166Q37 159 38 152Q39 149 40 147Z'/%3E%3Cpath d='M0 95Q30 88 60 92Q95 98 110 88Q125 78 150 80Q180 82 200 95'/%3E%3Cpath d='M0 105Q35 99 62 103Q96 108 114 98Q130 89 152 91Q182 93 200 105'/%3E%3Cpath d='M150 150Q170 140 190 148Q205 156 200 175Q195 192 175 195Q155 197 147 182Q140 168 150 150Z'/%3E%3Cpath d='M158 158Q172 151 185 157Q195 163 192 175Q189 186 176 188Q162 189 156 179Q151 170 158 158Z'/%3E%3C/g%3E%3C/svg%3E");
  --topo: var(--topo-dark);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-o: .07;
  --grad-ink: linear-gradient(100deg, var(--teal) 0%, #7FE0D6 30%, var(--yellow) 62%, var(--teal) 100%);
  --mark: var(--grad-brand);            /* the colour of hand-drawn marks */
  --glow-c: rgba(255, 222, 89, .5);     /* the glow colour behind highlighted words */
  --f-voice: 'Montserrat', system-ui, sans-serif;
  /* one paw print as a mask: background: <colour>; -webkit-mask: var(--paw) center / contain no-repeat */
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -14 24 26'%3E%3Cellipse cx='0' cy='4' rx='6.4' ry='6.8'/%3E%3Cellipse cx='-8' cy='-4.2' rx='2.8' ry='3.7'/%3E%3Cellipse cx='-3' cy='-9.6' rx='2.8' ry='3.7'/%3E%3Cellipse cx='3' cy='-9.6' rx='2.8' ry='3.7'/%3E%3Cellipse cx='8' cy='-4.2' rx='2.8' ry='3.7'/%3E%3C/svg%3E");
}
.t-light, .t-cream { --topo: var(--topo-light); --grain-o: .05; --grad-ink: linear-gradient(100deg, var(--teal-ink) 0%, #0E8A80 40%, var(--navy) 100%);
  --mark: linear-gradient(90deg, var(--teal), #F2C200); --glow-c: rgba(255, 222, 89, .85); }
.t-teal, .t-yellow, .t-butter { --topo: var(--topo-light); --grain-o: .06; --grad-ink: linear-gradient(100deg, var(--navy), #0E4560, var(--navy));
  --mark: linear-gradient(90deg, var(--navy), #0E4560); --glow-c: rgba(255, 255, 255, .7); }
.t-yellow, .t-butter { --mark: linear-gradient(90deg, var(--navy), var(--teal-deep)); }

/* ================= Our land: contours under every slide, a step further on with each slide ================= */
.reveal .slides > section, .reveal .slides > section > section {
  background:
    var(--topo) calc(var(--k, 0) * -150px) calc(var(--k, 0) * -36px) / 620px 620px repeat,
    radial-gradient(1200px 800px at 85% -10%, var(--bg-glow-1), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, var(--bg-glow-2), transparent 60%),
    var(--bg);
}
.reveal .slides > section.no-topo { --topo: none; }
.reveal .slides > section.flat { background: var(--bg); }
/* Film grain over the whole slide, photos included (a printed, made-by-hand feel). .no-grain turns it off. */
.reveal .slides > section::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--grain) 0 0 / 220px 220px; opacity: var(--grain-o); mix-blend-mode: overlay;
}
.reveal .slides > section.no-grain::after { display: none; }

/* ================= Type with intent ================= */
.voice, .reveal .voice { font-family: var(--f-voice); font-style: italic; font-weight: 500; letter-spacing: 0; }   /* the spoken aside */
.soft { font-weight: 500 !important; }                                       /* M PLUS Rounded 500 inside an 800 headline */
.reveal h1 .soft, .reveal h2 .soft { color: var(--text-2); }
.mono, .reveal .mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
.tagline { font-family: var(--f-mono); font-size: 22px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tagline b { color: var(--accent); font-weight: 700; }
.kicker[data-n]::before { content: attr(data-n); width: auto; height: auto; background: none; font-family: var(--f-mono); font-weight: 700;
  letter-spacing: .04em; padding: 6px 12px; border-radius: 10px; border: 2px solid currentColor; font-size: 22px; line-height: 1; }
.ghost-num { font-family: var(--f-head); font-weight: 800; line-height: .8; color: transparent; letter-spacing: -.04em;
  -webkit-text-stroke: 3px color-mix(in srgb, var(--accent) 55%, transparent); pointer-events: none; user-select: none; }
.grad-text, .reveal .grad-text { background: var(--grad-ink); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent; }
.reveal .slides section.present .grad-text.shimmer { animation: inkShimmer 7s ease-in-out 1.2s infinite alternate; }
@keyframes inkShimmer { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ================= Hand-drawn marks: <span class="mk leash">word</span> ================= */
/* signature.js measures the words and draws the mark as a real line in our colours, which draws itself on when the slide arrives:
   leash: a lead with its handle loop and clip · paws: a paw-print trail · swoosh: a brush stroke · wag: a happy zigzag
   circle: a marker loop round the words, drawn the way a hand draws one: outside the words with a slight tilt, and only where
   the pen lands and where the closing stroke overshoots does it cross the top edge of a letter or two (seeded, so it is the
   same loop in every render) · bone: a line with bone ends · glow: a soft highlighter glow behind the words (CSS only)
   Delay: .mk.soon, .mk.late, or style="--mk-d: 1.4s". Keep a mark to one line of 1 to 3 words. */
:root { --mk-a: var(--teal); --mk-b: var(--yellow); }
.t-light, .t-cream { --mk-a: var(--teal-deep); --mk-b: #F2C200; }
.t-teal, .t-yellow, .t-butter { --mk-a: var(--navy); --mk-b: #0E6B78; }
.mk { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.mk > svg.mk-svg { position: absolute; z-index: -1; overflow: visible; pointer-events: none; }
.mk-svg .mk-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.reveal .slides section.present .mk-svg .mk-draw { animation: mkStroke var(--mk-t, 1.1s) var(--ease-out) both; animation-delay: var(--mk-d, .9s); }
@keyframes mkStroke { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.reveal .slides section.present .mk-svg .mk-wipe { animation: mkWipe 1s var(--ease-out) both; animation-delay: var(--mk-d, .9s); }
@keyframes mkWipe { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes mkDraw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }   /* a .note's arrow draws itself on */
.reveal .slides section.present .mk-svg .mk-pop { animation: mkPop .45s var(--ease-pop) both; animation-delay: calc(var(--mk-d, .9s) + var(--pi, 0) * 110ms + var(--po, 0ms)); transform-box: fill-box; transform-origin: center; }
@keyframes mkPop { from { opacity: 0; transform: scale(.2); } }
.mk.soon { --mk-d: .35s; } .mk.late { --mk-d: 2.2s; }
/* room for a mark that hangs below its line, and for a loop round words on a second line */
.reveal :is(h1, h2, h3, .big, .term, .ask, .quote):has(.mk:is(.leash, .paws, .wag, .bone, .swoosh)) { padding-bottom: .24em; }
.reveal :is(h1, h2, .big, .ask, .display):has(.mk.circle) { line-height: 1.16; }
.mk.glow::after { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: .5em -.14em .04em; border-radius: .14em .3em .2em .34em; background: var(--glow-c); opacity: .55; skew: -6deg; }   /* a highlighter swipe, not a glow (owner 2026-11-05) */
.reveal .slides section.present .mk.glow::after { animation: mkGlow 1.2s var(--ease-out) both; animation-delay: var(--mk-d, .9s); }
@keyframes mkGlow { from { opacity: 0; transform: scaleX(.3); transform-origin: left; } to { opacity: .55; transform: none; } }

/* ================= WORD INKS: <span class="word-ink">words</span> ================= */
/* One or two words in a heading or a sentence, re-inked to say "this one" (owner, 2026-11-06): a change of colour, or of
   texture in that colour. One a slide, one or two words, never a whole line. Works on h1, h2, h3, .big, p and li at any size.

   INK. With no ink named it picks the one that reads on the stock, the way the marks pick theirs:
     stock                                    auto                          .t                .y          .n
     navy, t-deep, t-chalk, navy cards        yellow #FFDE59 (10.9:1)       teal #34C6B9 6.8  yellow      (yellow)
     t-light, t-dot, t-board, t-graph,        deep teal #0E6A63 (6.4:1)     (deep teal)       (deep teal) navy 14:1
       light cards and index cards
     t-yellow, sticky notes                   deep teal #0E6A63 (4.8:1)     (deep teal)       (deep teal) navy 10.9:1
     t-teal                                   navy (4.58:1) over a yellow plate: navy is the only ink that reads on our teal
                                              (no white or yellow type on teal, DESIGN-RULES 5), so the plate carries it
   An ink in brackets would not read there, so it falls back to the auto ink. .n is for body copy, where the type is slate.

   TEXTURE. Add one class; the words keep their ink as the solid colour (color) that ?static, print and check.py read.
     .dots     halftone fade: solid ink across the top of the letters, a 45-degree screen of the second ink growing to the
               baseline (navy: yellow over teal dots; paper and yellow: deep teal over navy dots). Openers, Field Dots decks
     .streak   marker fill: the ink laid down in strokes, with the thin streaks where the felt ran dry. School slides
     .chalk    chalk: the ink with the board's grain in it (the #pd-chalk filter). t-chalk and t-board
     .hatch    pencil hatch: a lighter wash of the ink shaded with pencil lines. t-graph and t-dot: lab pages, field-guide words
     .drift    a second plate under the words, off register: a flat printed offset in school, halftone dots in Field Dots.
               Field Dots gives every plain word ink this plate on its own, so the same markup prints in both styles.
   Textures need display type: under 40px (body copy, list items) signature.js sets .wk-flat and the words take the solid ink.
   Every tone a texture lays inside the letters holds 3:1 on its stock (--wk-b, --wk-c); the solid inks hold 4.5:1.

   EXAMPLES
     <h2>Calm dogs, <span class="word-ink">happy homes</span>.</h2>
     <div class="big">We teach the dog, then <span class="word-ink streak">we teach you</span>.</div>
     <div class="term"><span class="word-ink hatch">Proofing</span></div>
     <li>Practise <span class="word-ink n">five minutes</span> a day.</li>
   Motion: the words re-ink from the line's own colour as the slide arrives (style="--wk-d: 1.6s" moves it); ?static, calm
   and reduced motion show the ink. Do not combine with .hilite or a .mk on the same slide: one highlight a slide. */
@property --wk-a { syntax: '<color>'; inherits: true; initial-value: transparent; }   /* the ink */
@property --wk-b { syntax: '<color>'; inherits: true; initial-value: transparent; }   /* a texture's second tone */
@property --wk-c { syntax: '<color>'; inherits: true; initial-value: transparent; }   /* a texture's third tone (hatch lines) */
/* the stock table: each stock names the inks that read on it, the texture tones and the plate */
:root, .t-deep, .t-chalk {
  --wk-ink: var(--yellow); --wk-t: var(--teal); --wk-y: var(--yellow); --wk-n: var(--yellow);
  --wk-stock: var(--navy); --wk-thin: 62%; --wk-wash: 100%; --wk-dot: var(--teal); --wk-line-k: 56%; --wk-line-to: var(--navy); --wk-plate: var(--teal); }
.t-light, .t-cream, .t-board, .t-paper, .t-graph, .card.light, .index-card, .clipboard .page {
  --wk-ink: var(--teal-ink); --wk-t: var(--teal-ink); --wk-y: var(--teal-ink); --wk-n: var(--navy);
  --wk-stock: #FFFFFF; --wk-thin: 70%; --wk-wash: 78%; --wk-dot: var(--navy); --wk-line-k: 0%; --wk-line-to: var(--navy); --wk-plate: var(--yellow); }
.t-yellow, .t-butter, .sticky {
  --wk-ink: var(--teal-ink); --wk-t: var(--teal-ink); --wk-y: var(--teal-ink); --wk-n: var(--navy);
  --wk-stock: var(--yellow); --wk-thin: 74%; --wk-wash: 80%; --wk-dot: var(--navy); --wk-line-k: 0%; --wk-line-to: var(--navy); --wk-plate: #FFFFFF; }
.t-teal {
  --wk-ink: var(--navy); --wk-t: var(--navy); --wk-y: var(--navy); --wk-n: var(--navy);
  --wk-stock: #20A296; --wk-thin: 78%; --wk-wash: 100%; --wk-dot: var(--navy-raise); --wk-line-k: 0%; --wk-line-to: var(--navy-raise); --wk-plate: var(--yellow); }
.t-teal .card:not(.light):not(.ghost), .t-yellow .card:not(.light):not(.ghost), .t-butter .card:not(.light):not(.ghost) {
  --wk-ink: var(--yellow); --wk-t: var(--teal); --wk-y: var(--yellow); --wk-n: var(--yellow);
  --wk-stock: var(--navy); --wk-thin: 62%; --wk-wash: 100%; --wk-dot: var(--teal); --wk-line-k: 56%; --wk-line-to: var(--navy); --wk-plate: var(--teal); }
.reveal :is(p, li, .lede, .after, .body, .means) { --wk-from: var(--text); }
.reveal :is(h1, h2, h3, h4, .big, .term, .ask, .display) { --wk-from: var(--fg); }

/* the padding gives a texture (painted as the background) room for descenders and overhangs; the margins take it back */
.reveal .word-ink { --wk-a: var(--wk-ink); position: relative; z-index: 0; display: inline-block; white-space: nowrap; color: var(--wk-a);
  padding: .1em .08em .26em; margin: -.1em -.08em -.26em; }
.reveal .word-ink.t { --wk-a: var(--wk-t); }
.reveal .word-ink.y { --wk-a: var(--wk-y); }
.reveal .word-ink.n { --wk-a: var(--wk-n); }
.reveal .slides section.present .word-ink { animation: wkInk .8s var(--ease-out) both; animation-delay: var(--wk-d, 1.1s); }
@keyframes wkInk { from { --wk-a: var(--wk-from, var(--fg)); } }
/* the plate: a flat offset in our second ink (always on teal, where it carries the highlight; on any stock with .drift) */
.reveal .word-ink.drift, .reveal .t-teal .word-ink { filter: drop-shadow(var(--wk-dx, .045em) var(--wk-dy, .03em) 0 var(--wk-plate)); }
.reveal .t-teal :is(.card:not(.light):not(.ghost)) .word-ink:not(.drift) { filter: none; }
/* textures: the fill is drawn as the background, clipped to the letters; color stays the solid ink */
.reveal .word-ink.dots:not(.wk-flat) { --wk-b: var(--wk-dot); background: var(--wk-dots, none), var(--wk-a); }
.reveal .word-ink.streak:not(.wk-flat) { --wk-b: color-mix(in srgb, var(--wk-a) var(--wk-thin), var(--wk-stock));
  background:
    repeating-linear-gradient(var(--wk-r, -3deg), transparent 0 .09em, var(--wk-b) .09em .118em, transparent .118em .17em, var(--wk-b) .17em .184em, transparent .184em .29em) 0 var(--wk-o, 0),
    repeating-linear-gradient(calc(var(--wk-r, -3deg) + 1.4deg), transparent 0 .23em, var(--wk-b) .23em .275em, transparent .275em .41em) 0 calc(var(--wk-o, 0em) * -1.7),
    var(--wk-a); }
.reveal .word-ink.hatch:not(.wk-flat) { --wk-b: color-mix(in srgb, var(--wk-a) var(--wk-wash), var(--wk-stock));
  --wk-c: color-mix(in srgb, var(--wk-a) var(--wk-line-k), var(--wk-line-to));
  background: repeating-linear-gradient(var(--wk-h, -38deg), var(--wk-c) 0 max(.017em, 1.4px), transparent max(.017em, 1.4px) max(.068em, 5px)), var(--wk-b); }
.reveal .word-ink.chalk:not(.wk-flat) { --wk-b: color-mix(in srgb, var(--wk-a) 70%, var(--wk-stock)); filter: url(#pd-chalk); }
/* after the textures: their background shorthand resets the clip */
.reveal .word-ink:is(.dots, .streak, .hatch):not(.wk-flat) { -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-clip: text; text-shadow: none; }
.reveal .word-ink.chalk:not(.wk-flat):is(.drift, .t-teal *) { filter: url(#pd-chalk) drop-shadow(var(--wk-dx, .045em) var(--wk-dy, .03em) 0 var(--wk-plate)); }
/* Field Dots: plain word inks (and .drift) print over a second plate in halftone dots, a hair off register and askew.
   signature.js copies the words into data-wk for it. Textured words keep their flat plate (.drift, teal) */
.st-press .word-ink[data-wk]:not(.dots):not(.streak):not(.hatch):not(.chalk) { filter: none; }
.st-press .word-ink[data-wk]:not(.dots):not(.streak):not(.hatch):not(.chalk)::before { content: attr(data-wk); position: absolute; left: 0; top: 0; z-index: -1;
  padding: inherit; pointer-events: none; white-space: nowrap; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none;
  background: radial-gradient(circle closest-side, var(--wk-plate) 64%, transparent 74%) 0 0 / .09em .09em,
    radial-gradient(circle closest-side, var(--wk-plate) 64%, transparent 74%) .045em .045em / .09em .09em;
  -webkit-background-clip: text; background-clip: text;
  translate: calc(var(--wk-dx, .045em) * 1.3) calc(var(--wk-dy, .03em) * 1.3); rotate: var(--wk-rot, .4deg); }
.st-press .t-teal .card:not(.light):not(.ghost) .word-ink[data-wk]:not(.drift)::before { content: none; }
html.static .word-ink, body.calm .word-ink { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal .word-ink { animation: none !important; } }
@media print, (forced-colors: active) {   /* backgrounds may not print: the solid ink */
  .reveal .word-ink { -webkit-text-fill-color: currentColor !important; background: none !important; }
  .reveal .word-ink::before { display: none !important; }
}
/* the word inks sheet (layouts/10-sheets/highlights.html): five stocks across, one row a highlight */
.wk-sheet .wk-table { flex: 1; min-height: 0; display: grid; grid-template-columns: 290px repeat(5, 1fr); column-gap: 16px; }
.wk-sheet .wk-keys, .wk-sheet .wk-col { display: grid; grid-template-rows: 54px repeat(7, 1fr); align-items: center; }
.wk-sheet .wk-col.theme-tile { display: grid; gap: 0; padding: 0 20px 8px; border-radius: 20px; }
.wk-sheet .wk-col.navy { --bg: var(--navy); }
.wk-sheet .wk-col > code, .wk-sheet .wk-keys > b { font-family: var(--f-mono); font-size: 22px; font-weight: 700; letter-spacing: .02em; color: var(--accent); }
.wk-sheet .wk-col.t-teal > code { color: var(--navy); }
.wk-sheet .wk-keys > b { color: var(--muted); font-weight: 500; }
.wk-sheet .wk-col > span { font-family: var(--f-head); font-weight: 800; font-size: 46px; line-height: 1.1; letter-spacing: -.01em; color: var(--fg); }
.wk-sheet .wk-col > p { margin: 0; font-size: 28px; line-height: 1.2; color: var(--text); }
.wk-sheet .wk-key { display: grid; gap: 4px; padding-right: 8px; }
.wk-sheet .wk-key code { font-family: var(--f-mono); font-size: 22px; font-weight: 700; color: var(--yellow); }
.wk-sheet .wk-key span { font-size: 22px; line-height: 1.25; color: var(--text-2); }

/* ================= Light that draws the eye ================= */
.glow { text-shadow: 0 0 .32em var(--glow-c), 0 0 1.1em color-mix(in srgb, var(--glow-c) 55%, transparent); }
.glow-t { text-shadow: 0 0 .32em rgba(52, 198, 185, .55), 0 0 1.1em rgba(52, 198, 185, .3); }
.t-light .glow-t, .t-cream .glow-t { text-shadow: 0 0 .5em rgba(52, 198, 185, .35); }
/* spotlight: a soft pool of light behind an element (a number, a photo, Partner) that breathes */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; z-index: -1; inset: -28% -22%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 34%, transparent), color-mix(in srgb, var(--accent) 16%, transparent) 55%, transparent);
  filter: blur(10px); }
.spot.t::before { background: radial-gradient(closest-side, rgba(52, 198, 185, .38), rgba(52, 198, 185, .1) 55%, transparent); }
.reveal .slides section.present .spot::before { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
/* halo: a turning teal-to-yellow ring round a round thing (an avatar, a portrait, a stat, Partner's head) */
.halo { position: relative; isolation: isolate; }
.halo::after { content: ""; position: absolute; z-index: -1; inset: -16px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ha), var(--teal), var(--yellow), var(--teal) 50%, transparent 50.2%, transparent 62%, var(--teal) 62.2%, var(--yellow) 86%, var(--teal));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.halo.round::after, .avatar.halo::after, .photo.round.halo::after { border-radius: 50%; }
.reveal .slides section.present .halo::after { animation: spinRing 14s linear infinite; }
@keyframes spinRing { to { --ha: 360deg; } }
/* sheen: one sweep of light across a card, photo or button just after it arrives */
.sheen { position: relative; overflow: hidden; }
.sheen > .sheen-l, .sheen::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(105deg, transparent calc(var(--shine) - 12%), rgba(255, 255, 255, .26) var(--shine), transparent calc(var(--shine) + 12%)); }
.reveal .slides section.present .sheen::after { animation: sweep 1.6s var(--ease-in-out) both; animation-delay: var(--sheen-d, 1.4s); }
@keyframes sweep { from { --shine: -60%; } to { --shine: 160%; } }
.card.sheen::before { z-index: 6; }
/* glow edge: a turning gradient border that pulls the eye to one box (the prompt, the plan we recommend, the answer) */
.glow-edge { position: relative; isolation: isolate; }
.glow-edge::after { content: ""; position: absolute; inset: -3px; z-index: -1; border-radius: inherit; pointer-events: none; padding: 3px;
  background: conic-gradient(from var(--ha), var(--teal), var(--yellow), var(--coral), var(--teal));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* the soft glow sits only outside the box (masked to a ring), so it never tints what is inside */
.glow-edge::before { content: ""; position: absolute; inset: -26px; padding: 26px; z-index: -2; border-radius: calc(var(--ge-r, 16px) + 26px); pointer-events: none; filter: blur(16px); opacity: .4;
  background: conic-gradient(from var(--ha), var(--teal), var(--yellow), var(--coral), var(--teal));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glow-edge::before { display: none !important; }   /* the blurred halo is retired: nothing glows (owner 2026-11-05); the ring stays, still */
.card.glow-edge::before { content: ""; inset: -26px; width: auto; height: auto; border-radius: calc(var(--ge-r, 16px) + 26px); }
.card.glow-edge { overflow: visible; }   /* the card's top bar steps aside */

/* aurora: slow-drifting light in our colours behind a title, opener or closer (the CSS shader; .shader adds the WebGL one) */
.reveal .slides > section.aurora {
  background:
    var(--topo) calc(var(--k, 0) * -150px) calc(var(--k, 0) * -36px) / 620px 620px repeat,
    radial-gradient(900px 700px at var(--ax1) var(--ay1), rgba(52, 198, 185, .30), transparent 62%),
    radial-gradient(800px 640px at var(--ax2) var(--ay2), rgba(255, 222, 89, .18), transparent 62%),
    radial-gradient(700px 500px at 50% 120%, rgba(255, 122, 107, .10), transparent 70%),
    var(--bg);
}
.reveal .slides > section.aurora.present { animation: aurora 22s ease-in-out infinite alternate; }
@keyframes aurora { 0% { --ax1: 78%; --ay1: 12%; --ax2: 8%; --ay2: 92%; } 50% { --ax1: 60%; --ay1: 30%; --ax2: 26%; --ay2: 70%; } 100% { --ax1: 88%; --ay1: 44%; --ax2: 12%; --ay2: 60%; } }
.reveal .slides > section.t-light.aurora, .reveal .slides > section.t-cream.aurora {
  background:
    var(--topo) calc(var(--k, 0) * -150px) calc(var(--k, 0) * -36px) / 620px 620px repeat,
    radial-gradient(900px 700px at var(--ax1) var(--ay1), rgba(52, 198, 185, .20), transparent 62%),
    radial-gradient(800px 640px at var(--ax2) var(--ay2), rgba(255, 222, 89, .38), transparent 62%), var(--bg); }
/* WebGL shader layer (signature.js paints it: data-shader="contours" or "silk"); sits behind the frame */
.shader-layer { position: absolute; z-index: 0; inset: calc(-1 * var(--bleed-t, 0px)) calc(-1 * var(--bleed-r, 0px)) calc(-1 * var(--bleed-b, 0px)) calc(-1 * var(--bleed-l, 0px));
  pointer-events: none; }
.shader-layer canvas { width: 100%; height: 100%; display: block; }

/* ================= Dog things ================= */
/* Art from the sprite in signature.js: <svg class="art"><use href="#a-desert"/></svg> */
.art { display: block; overflow: visible; fill: none; stroke: currentColor; }
.art-line { color: var(--accent); }
/* Desert horizon (Scottsdale and Cave Creek): runs along the bottom edge of an opener or closer */
.horizon { position: absolute; z-index: 1; left: calc(-1 * var(--bleed-l, 0px)); right: calc(-1 * var(--bleed-r, 0px)); bottom: 0; height: 230px;
  color: var(--accent); pointer-events: none; --art-shade: color-mix(in srgb, var(--fg) 22%, transparent); }
.horizon svg { width: 100%; height: 100%; }
.t-teal .horizon, .t-yellow .horizon, .t-butter .horizon { --art-shade: rgba(255, 255, 255, .55); }
.reveal .slides section.present .horizon .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 2.6s var(--ease-out) .3s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* Paw-print trail: <div class="paw-walk" data-path="arc" data-n="9"></div> (signature.js lays the prints along the path) */
.paw-walk { position: absolute; z-index: 1; pointer-events: none; color: var(--accent-2); }
.paw-walk svg { width: 100%; height: 100%; overflow: visible; }
.paw-walk .pw { fill: currentColor; opacity: .0; }
.paw-walk .pw.l { opacity: .55; } .paw-walk .pw.r { opacity: .4; }
.reveal .slides section.present .paw-walk .pw { animation: pawStep .5s var(--ease-out) both; animation-delay: calc(var(--pi) * 180ms + var(--pw-d, 500ms)); }
@keyframes pawStep { from { opacity: 0; transform: scale(.4); } }

/* Paw bullets */
.paws-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.paws-list li { position: relative; padding-left: 64px; font-size: 36px; line-height: 1.36; color: var(--text); }
.paws-list li::before { content: ""; position: absolute; left: 0; top: .1em; width: 40px; height: 40px; background: var(--accent);
  rotate: calc(-14deg + var(--r, 0deg));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -14 24 26'%3E%3Cellipse cx='0' cy='4' rx='6.4' ry='6.8'/%3E%3Cellipse cx='-8' cy='-4.2' rx='2.8' ry='3.7'/%3E%3Cellipse cx='-3' cy='-9.6' rx='2.8' ry='3.7'/%3E%3Cellipse cx='3' cy='-9.6' rx='2.8' ry='3.7'/%3E%3Cellipse cx='8' cy='-4.2' rx='2.8' ry='3.7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -14 24 26'%3E%3Cellipse cx='0' cy='4' rx='6.4' ry='6.8'/%3E%3Cellipse cx='-8' cy='-4.2' rx='2.8' ry='3.7'/%3E%3Cellipse cx='-3' cy='-9.6' rx='2.8' ry='3.7'/%3E%3Cellipse cx='3' cy='-9.6' rx='2.8' ry='3.7'/%3E%3Cellipse cx='8' cy='-4.2' rx='2.8' ry='3.7'/%3E%3C/svg%3E") center / contain no-repeat; }
.paws-list li:nth-child(even)::before { --r: 26deg; background: var(--accent-2); }
.paws-list.tight { gap: 16px; } .paws-list.tight li { font-size: 31px; padding-left: 56px; } .paws-list.tight li::before { width: 34px; height: 34px; }
.paws-list li b { color: var(--fg); }

/* Dog tag: a name or a label on a tag hanging from a ring */
.dogtag { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 220px; padding: 34px 32px 20px; border-radius: 26px 26px 40px 40px; text-align: center;
  background: linear-gradient(160deg, #F4F7F8, #C9D3D7 55%, #EEF2F3); color: var(--navy);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7), inset 0 -6px 12px rgba(2, 45, 65, .12), var(--shadow-2); }
.dogtag::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .35); }
.dogtag::after { content: ""; position: absolute; top: -26px; left: 50%; translate: -50% 0; width: 34px; height: 44px; border-radius: 50%;
  border: 4px solid #9AA9B0; border-bottom-color: transparent; rotate: 12deg; }
.dogtag b { font-family: var(--f-head); font-weight: 800; font-size: 34px; line-height: 1.1; color: var(--navy); }
.dogtag small { font-family: var(--f-mono); font-size: 22px; letter-spacing: .1em; text-transform: uppercase; color: #3D4C53; }
.dogtag.gold { background: linear-gradient(160deg, #FFF1B8, #F2C94C 55%, #FFE58A); }
.dogtag.teal { background: linear-gradient(160deg, #A8EDE6, #34C6B9 55%, #8FE3DA); }
.dogtag.sm { min-width: 160px; padding: 28px 22px 14px; } .dogtag.sm b { font-size: 26px; }
.reveal .slides section.present .dogtag.swing { animation: tagSwing 2.4s var(--ease-out) both; transform-origin: 50% -20px; animation-delay: calc(var(--i, 0) * var(--stagger) + 300ms); }
@keyframes tagSwing { 0% { rotate: 14deg; opacity: 0; } 30% { rotate: -9deg; opacity: 1; } 55% { rotate: 5deg; } 75% { rotate: -2deg; } 100% { rotate: 0deg; } }

/* Sheriff star badge (Partner wears one on his belt): a number, a grade or a word of praise */
.star-badge { position: relative; display: inline-grid; place-items: center; width: 200px; height: 200px; flex: none; color: var(--navy); text-align: center; isolation: isolate; }
.star-badge::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 38% 30%, #FFF3B0, var(--yellow) 45%, #E9B800);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cpath d='M0-46L10.5-18.2 40-23 21.5 0 40 23 10.5 18.2 0 46-10.5 18.2-40 23-21.5 0-40-23-10.5-18.2Z'/%3E%3Ccircle cx='0' cy='-44' r='5'/%3E%3Ccircle cx='38.5' cy='-22.5' r='5'/%3E%3Ccircle cx='38.5' cy='22.5' r='5'/%3E%3Ccircle cx='0' cy='44' r='5'/%3E%3Ccircle cx='-38.5' cy='22.5' r='5'/%3E%3Ccircle cx='-38.5' cy='-22.5' r='5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cpath d='M0-46L10.5-18.2 40-23 21.5 0 40 23 10.5 18.2 0 46-10.5 18.2-40 23-21.5 0-40-23-10.5-18.2Z'/%3E%3Ccircle cx='0' cy='-44' r='5'/%3E%3Ccircle cx='38.5' cy='-22.5' r='5'/%3E%3Ccircle cx='38.5' cy='22.5' r='5'/%3E%3Ccircle cx='0' cy='44' r='5'/%3E%3Ccircle cx='-38.5' cy='22.5' r='5'/%3E%3Ccircle cx='-38.5' cy='-22.5' r='5'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.star-badge::after { content: ""; position: absolute; inset: 27%; z-index: -1; border-radius: 50%; border: 3px solid rgba(2, 45, 65, .25); }
.star-badge b, .star-badge small { color: var(--navy); }
.star-badge b { font-family: var(--f-head); font-weight: 800; font-size: 48px; line-height: .95; }
.star-badge small { display: block; font-family: var(--f-body); font-weight: 800; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.star-badge.teal::before { background: radial-gradient(circle at 38% 30%, #B6F2EC, var(--teal) 50%, #1E9E93); }
.star-badge.xs { width: 104px; height: 104px; } .star-badge.xs b { font-size: 40px; } .star-badge.xs::after { border-width: 2px; }
.star-badge.ghost::before { background: color-mix(in srgb, var(--fg) 18%, transparent); filter: none; } .star-badge.ghost::after { border-color: var(--line-strong); }
.star-badge.ghost b { color: var(--muted); }
.star-badge.sm { width: 140px; height: 140px; } .star-badge.sm b { font-size: 34px; } .star-badge.lg { width: 280px; height: 280px; } .star-badge.lg b { font-size: 68px; }
.reveal .slides section.present .star-badge.spin-in { animation: starIn 1.1s var(--ease-pop) both; animation-delay: calc(var(--i, 0) * var(--stagger) + 300ms); }
@keyframes starIn { from { opacity: 0; transform: rotate(-120deg) scale(.3); } }

/* The seal: our name round a paw, turning slowly (signature.js writes the ring of text) */
.seal { position: relative; width: 230px; height: 230px; flex: none; color: var(--fg); }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal .ring-text { font-family: var(--f-body); font-weight: 800; font-size: 15.5px; letter-spacing: 3.2px; fill: currentColor; text-transform: uppercase; }
.seal .core { fill: var(--accent-2); }
.seal .core-ring { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.reveal .slides section.present .seal .turn { animation: sealTurn 40s linear infinite; transform-origin: 50% 50%; }
@keyframes sealTurn { to { transform: rotate(360deg); } }

/* Partner's portrait (a still in a pale teal circle: his head, his bandana and his shoulders, never a head on its own): on an
   insight card, by an answer, as a byline. <i class="pp-face"></i>. The head and the body are his rig's own two layers, sized
   as a share of the circle, so the portrait holds at any size. */
.pp-face { display: inline-block; flex: none; width: 96px; height: 96px; border-radius: 50%;
  background: url("../partner/p07-head.webp") 42.2% -.63% / 69.7% auto no-repeat, url("../partner/p07.webp") 51.3% 1.42% / 76.6% auto no-repeat,
    radial-gradient(circle at 50% 32%, #DDF6F3, #93DAD3 74%);
  box-shadow: 0 0 0 5px var(--accent-soft), var(--shadow-2); }
.pp-face.sm { width: 64px; height: 64px; } .pp-face.lg { width: 150px; height: 150px; }
.card.said { overflow: visible; }
.card.said > .pp-face { position: absolute; z-index: 3; right: -26px; top: -40px; rotate: 6deg; }
.reveal .slides section.present .card.said > .pp-face { animation: ppFacePop .7s var(--ease-pop) both; animation-delay: 1.2s; }
@keyframes ppFacePop { from { opacity: 0; transform: scale(.3) rotate(-30deg); } }

/* A row of five stars filled to a rating: <div class="stars" style="--v:96%"></div> (4.8 of 5 = 96%) */
.stars { position: relative; width: 230px; height: 44px; margin-top: 12px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 44'%3E%3Cpath d='M23 2l6.2 13.2 14.4 1.7-10.6 9.9 2.8 14.2L23 34 10.2 41l2.8-14.2L2.4 16.9l14.4-1.7z'/%3E%3C/svg%3E") 0 0 / 46px 44px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 44'%3E%3Cpath d='M23 2l6.2 13.2 14.4 1.7-10.6 9.9 2.8 14.2L23 34 10.2 41l2.8-14.2L2.4 16.9l14.4-1.7z'/%3E%3C/svg%3E") 0 0 / 46px 44px repeat-x;
  background: linear-gradient(90deg, var(--yellow) var(--v, 100%), var(--line-strong) var(--v, 100%)); }

/* Bandana corner (Partner's teal bandana) on a card or photo */
.bandana { position: relative; }
.bandana > .bd, .bandana:not(:has(> .bd))::after { content: ""; position: absolute; top: -2px; right: -2px; width: 150px; height: 150px; z-index: 4; pointer-events: none;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .5) 2.5px, transparent 3.5px) 0 0 / 22px 22px,
    linear-gradient(225deg, #34C6B9 0%, #1E9E93 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%); border-top-right-radius: inherit; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.bandana.y > .bd, .bandana.y:not(:has(> .bd))::after { background: radial-gradient(circle at 70% 30%, rgba(2, 45, 65, .25) 2.5px, transparent 3.5px) 0 0 / 22px 22px, linear-gradient(225deg, #FFDE59, #F2C94C); }

/* Tape on a photo or a note (a scrapbook feel) */
.tape { position: relative; }
.tape::before { content: ""; position: absolute; z-index: 6; top: -22px; left: 50%; width: 170px; height: 46px; translate: -50% 0; rotate: -4deg;
  background: linear-gradient(90deg, rgba(255, 238, 172, .82), rgba(255, 248, 231, .9)); box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
  -webkit-mask: linear-gradient(90deg, transparent 0 4px, #000 4px calc(100% - 4px), transparent 0), repeating-linear-gradient(0deg, #000 0 6px, transparent 6px 8px);
  mask: radial-gradient(4px at 0 50%, transparent 98%, #000) -4px 0 / 100% 12px, linear-gradient(#000, #000); }
.tape.l::before { left: 18%; rotate: -12deg; } .tape.r::before { left: 82%; rotate: 9deg; }

/* Hand-drawn note with an arrow: <div class="note" data-arrow="down-left">This is the moment</div> */
.note { position: absolute; z-index: 5; font-family: var(--f-voice); font-style: italic; font-weight: 500; font-size: 32px; line-height: 1.25; color: var(--accent-2); max-width: 420px; }
.note[data-arrow]::after { content: ""; position: absolute; width: 120px; height: 90px; background: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.note[data-arrow="down-left"] { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M108 6C104 40 78 64 22 76'/%3E%3Cpath d='M38 60L18 77L42 86'/%3E%3C/svg%3E"); }
.note[data-arrow="down-left"]::after { left: -70px; top: 100%; }
.note[data-arrow="down-right"] { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 6C16 40 42 64 98 76'/%3E%3Cpath d='M82 60L102 77L78 86'/%3E%3C/svg%3E"); }
.note[data-arrow="down-right"]::after { right: -70px; top: 100%; }
.note[data-arrow="left"] { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M114 30C90 70 50 70 12 48'/%3E%3Cpath d='M30 34L10 48L32 60'/%3E%3C/svg%3E"); }
.note[data-arrow="left"]::after { right: 100%; top: -10px; margin-right: 10px; }
.note[data-arrow="right"] { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 30C30 70 70 70 108 48'/%3E%3Cpath d='M90 34L110 48L88 60'/%3E%3C/svg%3E"); }
.note[data-arrow="right"]::after { left: 100%; top: -10px; margin-left: 10px; }
.note[data-arrow="up"] { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M40 86C30 56 40 26 66 10'/%3E%3Cpath d='M46 10L68 8L64 30'/%3E%3C/svg%3E"); }
.note[data-arrow="up"]::after { left: 10px; bottom: 100%; }
.reveal .slides section.present .note[data-arrow]::after { animation: mkDraw .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * var(--stagger) + 600ms); }

/* Media slot: a designed place for a photo or video that is not in yet (tells you what to put there) */
.media-slot { position: relative; height: 100%; min-height: 0; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; text-align: center;
  background:
    var(--topo) 0 0 / 360px 360px,
    radial-gradient(circle at 30% 20%, var(--accent-soft), transparent 60%),
    var(--surface-sunk);
  border: 2px dashed color-mix(in srgb, var(--accent) 45%, transparent); color: var(--muted); }
.media-slot .ms { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px; }
.media-slot .ms .i { font-size: 74px; color: var(--accent); }
.media-slot .ms b { font-family: var(--f-head); font-weight: 700; font-size: 32px; color: var(--fg); }
.media-slot .ms span { font-family: var(--f-mono); font-size: 22px; letter-spacing: .04em; }
.media-slot::before, .media-slot::after { content: ""; position: absolute; width: 46px; height: 46px; border: 4px solid var(--accent-2); pointer-events: none; }
.media-slot::before { top: 22px; left: 22px; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.media-slot::after { bottom: 22px; right: 22px; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }

/* Photo treatments: duotone (navy shadows, teal light), warm, organic edge */
.duo { position: relative; }
.duo img, .duo video { filter: grayscale(1) contrast(1.1) brightness(1.04); }
.duo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: color; background: linear-gradient(135deg, #34C6B9, #022D41 75%); opacity: .85; }
.duo.y::before { background: linear-gradient(135deg, #FFDE59, #022D41 80%); }
.warm img { filter: saturate(1.08) contrast(1.04) sepia(.08); }
.blob { border-radius: 46% 54% 42% 58% / 52% 40% 60% 48% !important; }
.wave-edge-l { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000' preserveAspectRatio='none'%3E%3Cpath d='M18 0C4 120 30 220 12 340S2 560 20 680 6 900 16 1000H100V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000' preserveAspectRatio='none'%3E%3Cpath d='M18 0C4 120 30 220 12 340S2 560 20 680 6 900 16 1000H100V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.wave-edge-r { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000' preserveAspectRatio='none'%3E%3Cpath d='M82 0C96 120 70 220 88 340S98 560 80 680 94 900 84 1000H0V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000' preserveAspectRatio='none'%3E%3Cpath d='M82 0C96 120 70 220 88 340S98 560 80 680 94 900 84 1000H0V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
/* a label on a photo: <span class="field">Cave Creek · DaySchool yard</span>. Text on a photo always sits on a chip (DESIGN-RULES 5).
   school: a rounded navy chip in the kicker's type (Montserrat 700, uppercase, tracked) · press: printed solid, square cut,
   mono, a hair askew. No glass and no blur in either (DESIGN-PACK rule 2). */
.field { position: absolute; z-index: 4; left: 28px; bottom: 26px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 22px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: none;
  padding: 10px 18px 10px 14px; border-radius: 12px; background: var(--navy); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 12px 22px -14px rgba(0, 0, 0, .7); }
.st-press .field { padding: 9px 16px 9px 14px; border-radius: 3px; background: var(--ink-navy, var(--navy)); font-family: var(--f-mono); font-weight: 500; letter-spacing: .08em;
  rotate: -.6deg; box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 12px 22px -14px rgba(0, 0, 0, .7); }
.field::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: none; }
.field.r { left: auto; right: 28px; } .field.t { bottom: auto; top: 26px; }

/* ================= Partner the puppet ================= */
.partner { position: absolute; z-index: 6; bottom: 0; height: 760px; pointer-events: none; }
.partner.in-flow { position: relative; bottom: auto; }
.partner .pp-enter { position: absolute; left: 0; bottom: 0; }
.partner .pp-flip, .partner .pp-sway, .partner .pp-breath, .partner .pp-act { position: absolute; inset: 0; }
.partner .pp-body { position: absolute; left: 0; bottom: 0; transform-origin: 0 100%; }
.partner .pp-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* the head turns on its neck (pivot from the rig); the eyes move first and faster, the head follows */
.partner .pp-head, .partner .pp-bob, .partner .pp-cyc { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.partner .pp-head { transition: transform .75s cubic-bezier(.3, .7, .25, 1); }
.partner .pp-headimg { position: absolute; display: block; }
.partner .pp-eyes { position: absolute; inset: 0; transition: transform .28s cubic-bezier(.3, .7, .25, 1); }
.partner .pp-pivot { position: absolute; width: 1px; height: 1px; }
.partner .pp-treat { position: absolute; width: 112px; height: 64px; margin: -32px 0 0 -56px; opacity: 0; z-index: 3; }
.partner .pp-treat svg { width: 100%; height: 100%; display: block; }
/* small nods while he talks, a firmer nod when asked, a bounce of the jaw when he chomps */
/* no head wobble while talking (owner 2026-11-17, the shorts' rig: a loop that is not tied to the voice reads as a late mouth); ppTalk kept for reference */
@keyframes ppTalk { 0%, 100% { transform: none; } 30% { transform: rotate(1.3deg) translateY(2px); } 65% { transform: rotate(-.6deg); } }
.reveal .slides section.present .partner .pp-head.nodding .pp-bob { animation: ppHeadNod 1s ease-in-out both; }
@keyframes ppHeadNod { 0%, 100% { transform: none; } 25% { transform: rotate(4.5deg) translateY(4px); } 50% { transform: rotate(-.5deg); } 75% { transform: rotate(3.5deg) translateY(3px); } }
.reveal .slides section.present .partner.chomp .pp-bob { animation: ppChomp .27s ease-in-out 4; }
@keyframes ppChomp { 50% { transform: translateY(3px) rotate(.8deg); } }
.partner .pp-sway { transform-origin: 50% 100%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35)); }
.partner .pp-breath { transform-origin: 50% 100%; }
.partner .pp-act { transform-origin: 50% 100%; }
.partner.look-left .pp-flip { transform: scaleX(-1); }
/* a soft shadow on the ground under his feet */
.partner:not(.peek):not(.avatar)::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: -10px; height: 30px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .35), transparent); }
.t-light .partner::before, .t-cream .partner::before { background: radial-gradient(closest-side, rgba(2, 45, 65, .25), transparent); }
/* idle life: breathing and a slow sway (paused off-slide, in calm mode and under reduced motion) */
.reveal .slides section.present .partner .pp-breath { animation: ppBreath 2.8s ease-in-out infinite; }
.reveal .slides section.present .partner .pp-sway { animation: ppSway 5.6s ease-in-out infinite; }
@keyframes ppBreath { 0%, 100% { transform: none; } 50% { transform: scaleY(1.012) translateY(-1px); } }
@keyframes ppSway { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(.5deg); } 75% { transform: rotate(-.5deg); } }
/* entrances */
.reveal .slides section.present .partner[data-enter-as="walk"] .pp-enter { animation: ppWalk 1.3s cubic-bezier(.3, .7, .3, 1) both; animation-delay: var(--pp-delay, .4s); }
@keyframes ppWalk {
  0% { opacity: 0; transform: translateX(calc(var(--dir, 1) * -420px)); }
  12% { opacity: 1; }
  20% { transform: translateX(calc(var(--dir, 1) * -300px)) translateY(-18px); }
  40% { transform: translateX(calc(var(--dir, 1) * -170px)) translateY(0); }
  58% { transform: translateX(calc(var(--dir, 1) * -70px)) translateY(-14px); }
  76% { transform: translateX(calc(var(--dir, 1) * -10px)) translateY(0) scaleY(.97); }
  88% { transform: translateY(-4px) scaleY(1.01); }
  100% { opacity: 1; transform: none; } }
.reveal .slides section.present .partner[data-enter-as="peek"] .pp-enter { animation: ppPeek 1s var(--ease-out) both; animation-delay: var(--pp-delay, .4s); }
@keyframes ppPeek { from { transform: translateY(105%); } 70% { transform: translateY(-3%); } to { transform: none; } }
.reveal .slides section.present .partner[data-enter-as="pop"] .pp-enter { animation: ppPop .8s var(--ease-pop) both; animation-delay: var(--pp-delay, .4s); transform-origin: 50% 100%; }
@keyframes ppPop { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: none; } }
.reveal .slides section.present .partner[data-enter-as="rise"] .pp-enter { animation: rise .9s var(--ease-out) both; animation-delay: var(--pp-delay, .4s); }
/* reactions, once he has arrived */
.reveal .slides section.present .partner.reacting[data-reacting="wave"] .pp-act { animation: ppWave 1.3s ease-in-out both; }
@keyframes ppWave { 0%, 100% { transform: none; } 15% { transform: rotate(2.6deg); } 35% { transform: rotate(-2deg); } 55% { transform: rotate(2.2deg); } 75% { transform: rotate(-1.2deg); } }
.reveal .slides section.present .partner.reacting[data-reacting="hop"] .pp-act { animation: ppHop .9s cubic-bezier(.3, .6, .4, 1) both; }
@keyframes ppHop { 0% { transform: none; } 18% { transform: scaleY(.93) scaleX(1.04); } 45% { transform: translateY(-70px) scaleY(1.04); } 72% { transform: translateY(0) scaleY(.95) scaleX(1.03); } 86% { transform: scaleY(1.02); } 100% { transform: none; } }
.reveal .slides section.present .partner.reacting[data-reacting="tilt"] .pp-act { animation: ppTilt 2.4s ease-in-out both; }
@keyframes ppTilt { 0% { transform: none; } 25%, 70% { transform: rotate(calc(var(--dir) * -3.4deg)); } 100% { transform: none; } }
.reveal .slides section.present .partner.reacting[data-reacting="lean"] .pp-act { animation: ppLean 1s var(--ease-out) both; }
@keyframes ppLean { to { transform: rotate(calc(var(--dir) * 2.4deg)) translateX(calc(var(--dir) * 10px)); } }
/* his speech balloon types as he talks (Partner's voice is our rounded type). partner.js places it (in front of his face, its foot
   at his eyes; .say.side lower, by his nose; .say.over above his hat) and draws one outline in the house marker round the words
   and a tail that points at his mouth, with a thin rim of white outside the line so it reads on dark stock too. The box keeps
   the fill under the drawing, so the words always sit on it. The whole line sizes the box; .say-typed types it over the top
   (both wrap the same way, so no text-wrap: balance here; break a line by hand with <br>). */
.partner .say { position: absolute; z-index: 2; bottom: calc(100% + 16px); width: max-content; max-width: 460px; padding: 22px 30px 24px;
  font-family: var(--f-head); font-weight: 700; font-size: 34px; line-height: 1.24; color: var(--navy); text-align: left;
  --say-bg: #FFFFFF; --say-ink: var(--navy); background: var(--say-bg); border-radius: 30px; isolation: isolate;
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease-pop); }
.partner .say-t { position: relative; display: block; white-space: pre-line; }
.partner .say-typed { position: absolute; left: 30px; right: 30px; top: 22px; white-space: pre-line; pointer-events: none; }
.partner .say.typing .say-t { color: transparent; }
.partner .say-shape { position: absolute; left: 0; top: 0; z-index: -1; overflow: visible; pointer-events: none; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .3)); }
.partner .say-shape path { stroke-linejoin: round; stroke-linecap: round; }
.partner .say-shape .halo { fill: none; stroke: #FFFFFF; stroke-width: 13; }
.partner .say-shape .fill { fill: var(--say-bg); }
.partner .say-shape .ln { fill: none; stroke: var(--say-ink); stroke-width: 4.5; }
.partner .say-shape .sh { display: none; }
.partner.look-right .say { left: 34%; transform-origin: 0 100%; }
.partner.look-left .say { right: 34%; transform-origin: 100% 100%; }
.partner .say.open { opacity: 1; transform: none; }
.partner .say.t { --say-bg: var(--teal); } .partner .say.y { --say-bg: var(--yellow); }
/* Field Dots: the same balloon printed, crisp ink (no marker wobble) with the teal plate a hair off register at its edge */
.st-press .partner .say-shape .sh { display: block; fill: none; stroke: var(--ink-teal, #1E9E93); stroke-width: 4.5; transform: translate(4px, 4px); }
/* peek: he peeks over an edge. The box is the room above the edge and its bottom IS the edge: on a card, top: -<height>; on the
   land, data-ledge="butte" draws the ground he hides behind, down to the foot of the slide. The crop cuts only along the edge
   (never his hat or ears), and his two front paws come down on it, toes curled over (data-paws="off" leaves them out). */
.partner.peek { height: 200px; width: 230px; bottom: auto; }
.partner.peek > .pp-crop { position: absolute; left: -60%; right: -60%; top: -80%; bottom: 0; overflow: hidden; pointer-events: none; }
.partner.peek .pp-enter { left: 0; bottom: auto; }
.partner.peek .pp-sway { filter: none; }
.partner.peek > .pp-paw { position: absolute; z-index: 2; overflow: visible; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .18)); }
.pp-paw .pw-f { fill: #FFFFFF; }
.pp-paw .pw-p { fill: #23282B; }
.pp-paw .pw-s { fill: none; stroke: #CAD5DA; stroke-width: calc(var(--pw-sw, 5) * 1.4); stroke-linecap: round; }
.pp-paw .pw-l { fill: none; stroke: #1C2023; stroke-width: var(--pw-sw, 5); stroke-linejoin: round; stroke-linecap: round; }
.partner.peek > .pp-ledge { position: absolute; z-index: 1; overflow: visible; pointer-events: none; }
.pp-ledge .pp-ledge-d { stroke: rgba(52, 198, 185, .6); }
.pp-ledge.on-dark .pp-ledge-d { stroke: rgba(2, 45, 65, .45); }
/* he grabs the edge as his head comes up: the paws land just after he starts to rise */
.reveal .slides section.present .partner.peek > .pp-paw { animation: ppPaws .55s var(--ease-pop) both; animation-delay: calc(var(--pp-delay, .4s) + .35s); }
.reveal .slides section.present .partner.peek > .pp-paw.p1 { animation-delay: calc(var(--pp-delay, .4s) + .47s); }
@keyframes ppPaws { from { opacity: 0; translate: 0 -26px; } 55% { opacity: 1; translate: 0 4px; } to { opacity: 1; translate: none; } }
/* avatar: his portrait in a circle (head, bandana and shoulders; partner.js frames it) */
.partner.avatar { position: relative; overflow: hidden; border-radius: 50%; width: 96px; height: 96px; bottom: auto; flex: none;
  background: radial-gradient(circle at 50% 32%, #DDF6F3, #93DAD3 74%); box-shadow: 0 0 0 5px var(--accent-soft); z-index: 1; }
.partner.avatar .pp-enter { bottom: auto; }
.partner.avatar .pp-sway { filter: none; }
.partner.avatar.lg { width: 180px; height: 180px; }

/* ================= Journey chrome: Partner walks a paw-print trail along the bottom as the talk goes on ================= */
.deck-trail { position: fixed; z-index: 31; left: 40px; right: 40px; bottom: 8px; height: 30px; pointer-events: none; transition: opacity .4s; }
.deck-trail .track { position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 2px dashed rgba(255, 255, 255, .16); }
.deck-trail .walked { position: absolute; left: 0; top: 2px; height: 26px; width: var(--p, 0%); transition: width 1.1s var(--ease-in-out);
  background: var(--grad-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 26'%3E%3Cg transform='translate(10 18) rotate(90) scale(.5)'%3E%3Cellipse cx='0' cy='3' rx='5.6' ry='6.4'/%3E%3Cellipse cx='-6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3Cellipse cx='0' cy='-8.4' rx='2.6' ry='3.4'/%3E%3Cellipse cx='6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3C/g%3E%3Cg transform='translate(32 8) rotate(90) scale(.5)'%3E%3Cellipse cx='0' cy='3' rx='5.6' ry='6.4'/%3E%3Cellipse cx='-6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3Cellipse cx='0' cy='-8.4' rx='2.6' ry='3.4'/%3E%3Cellipse cx='6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 44px 26px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 26'%3E%3Cg transform='translate(10 18) rotate(90) scale(.5)'%3E%3Cellipse cx='0' cy='3' rx='5.6' ry='6.4'/%3E%3Cellipse cx='-6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3Cellipse cx='0' cy='-8.4' rx='2.6' ry='3.4'/%3E%3Cellipse cx='6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3C/g%3E%3Cg transform='translate(32 8) rotate(90) scale(.5)'%3E%3Cellipse cx='0' cy='3' rx='5.6' ry='6.4'/%3E%3Cellipse cx='-6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3Cellipse cx='0' cy='-8.4' rx='2.6' ry='3.4'/%3E%3Cellipse cx='6.4' cy='-5' rx='2.6' ry='3.4'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 44px 26px repeat-x;
  opacity: .8; }
.deck-trail .stop { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--navy); border: 2px solid rgba(255, 255, 255, .4); }
.deck-trail .stop.passed { background: var(--teal); border-color: var(--teal); }
.deck-trail .stop.here { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 222, 89, .25); }
/* the walker is Partner's portrait (head, bandana and shoulders in his teal circle, the .pp-face still), resting on the trail
   at the slide you are on; it hops along when the slide changes. Never a floating head (owner, 2026-11-06) */
.deck-trail .walker { position: absolute; top: 50%; left: var(--p, 0%); width: 40px; height: 40px; margin: -40px 0 0 -20px; transition: left 1.1s var(--ease-in-out); }
.deck-trail .walker .pp-face { display: block; width: 100%; height: 100%; box-shadow: 0 0 0 3px #FFFFFF, 0 6px 10px -4px rgba(0, 0, 0, .55); }
.deck-trail.on-light .walker .pp-face { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4.5px rgba(2, 45, 65, .3), 0 6px 10px -4px rgba(2, 45, 65, .45); }
.deck-trail.moving .walker .pp-face { animation: trotHop .26s ease-in-out 4 alternate; }
@keyframes trotHop { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-5px) rotate(3deg); } }
@keyframes trot { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-6px) rotate(4deg); } }
.deck-trail.on-light .track { border-top-color: rgba(2, 45, 65, .22); }
.deck-trail.on-light .stop { background: #fff; border-color: rgba(2, 45, 65, .3); }
.deck-trail.on-light .stop.passed { background: var(--navy); border-color: var(--navy); }
.deck-trail.hidden { opacity: 0; }
.chrome { bottom: 34px; height: 40px; }
.chrome .part { font-family: var(--f-mono); letter-spacing: .14em; }
.chrome .part b { color: var(--teal); font-weight: 700; margin-right: 10px; }
.chrome.on-light .part b { color: var(--teal-ink); }
.chrome .count { font-family: var(--f-mono); letter-spacing: .1em; }

/* ================= Calm, reduced motion, static ================= */
body.calm .partner .pp-breath, body.calm .partner .pp-sway, body.calm .spot::before, body.calm .halo::after, body.calm .glow-edge::after,
body.calm .glow-edge::before, body.calm .seal .turn, body.calm .grad-text.shimmer, body.calm section.aurora { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .partner .pp-bob, .partner .pp-breath, .partner .pp-sway, .partner .pp-act, .partner .pp-enter, .partner > .pp-paw, .spot::before, .halo::after, .glow-edge::after, .glow-edge::before,
  .seal .turn, .grad-text.shimmer, section.aurora, .deck-trail .walker .pp-face { animation: none !important; }
}
html.static .partner .pp-head, html.static .partner .pp-eyes { transition: none !important; }
html.static .partner .pp-bob, html.static .partner .pp-breath, html.static .partner .pp-sway, html.static .partner .pp-act, html.static .partner .pp-enter, html.static .partner > .pp-paw,
html.static .spot::before, html.static .halo::after, html.static .glow-edge::after, html.static .glow-edge::before, html.static .seal .turn,
html.static .grad-text.shimmer, html.static section.aurora, html.static .mk::after, html.static .mk-svg *, html.static .paw-walk .pw,
html.static .horizon .draw, html.static .sheen::after, html.static .check.done span, html.static .card.said > .pp-face, html.static .rec i, html.static .pin.pad::after, html.static .note::after, html.static .dogtag.swing, html.static .star-badge.spin-in {
  animation: none !important; }
html.static .horizon .draw { stroke-dashoffset: 0 !important; }   /* beats the .present start state, so the sun disc prints too */
html.static .partner .say { opacity: 1; transform: none; transition: none; }
@media print { .deck-trail { display: none; } }

/* ================= the mountain ridge: the deck's true bottom and its timeline (owner, 2026-11-06) =================
   signature.js draws one Sonoran ridge under every slide: each part's section page rises as a summit or a mesa (the
   breadcrumbs) and a faint white-to-yellow glow runs along the ridge top up to this slide, with a small light where we
   are. Its height follows the screen width, so it stays a sliver on a phone. */
.deck-ridge { position: fixed; z-index: 29; left: 0; right: 0; bottom: 0; height: min(64px, 5.4vw); pointer-events: none; }
.deck-ridge svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.deck-ridge .dr-land { fill: var(--navy, #022D41); }
.deck-ridge.on-dark .dr-land { fill: #01202E; }   /* a shade under navy, so the ridge still reads on navy slides */
.deck-ridge .dr-glow { fill: none; stroke: url(#dr-glow); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(255, 222, 89, .55)); }
.deck-ridge .dr-clip { transition: width 1.1s var(--ease-in-out, ease-in-out); }
.deck-ridge .dr-here { position: absolute; width: 7px; height: 7px; margin: 0 0 -3.5px -3.5px; border-radius: 50%; background: #FFF6C9;
  box-shadow: 0 0 0 3px rgba(255, 222, 89, .25), 0 0 12px 3px rgba(255, 222, 89, .5); transition: left 1.1s var(--ease-in-out, ease-in-out), bottom 1.1s var(--ease-in-out, ease-in-out); }
@media (prefers-reduced-motion: reduce) { .deck-ridge .dr-clip, .deck-ridge .dr-here { transition: none; } }
/* the footer's brand and count sit small on the ridge's foot, always light on its dark land */
body .chrome { height: min(30px, 2.6vw); padding: 0 120px 0 28px; font-size: min(11px, 1vw); letter-spacing: .24em; color: rgba(255, 255, 255, .62); z-index: 30; }
body .chrome.on-light { color: rgba(255, 255, 255, .62); }
body .chrome.on-light .brand i { background: var(--teal); box-shadow: 0 0 0 3px rgba(52, 198, 185, .18); }
body .chrome .brand i { width: 7px; height: 7px; }
@media (max-width: 700px) { body .chrome { display: none; } }

/* the arrows: two small chevrons on the ridge's foot, bottom right */
.deck-nav { position: fixed; z-index: 32; right: max(10px, env(safe-area-inset-right, 0px)); bottom: max(2px, env(safe-area-inset-bottom, 0px)); display: flex; gap: 2px; }
.deck-nav button { width: min(30px, 6vw); height: min(30px, 6vw); min-width: 24px; min-height: 24px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: rgba(255, 255, 255, .55); display: grid; place-items: center; transition: color .2s, background .2s; }
.deck-nav button:hover, .deck-nav button:focus-visible { color: #FFDE59; background: rgba(255, 255, 255, .08); outline: none; }
.deck-nav svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.static .deck-nav, html.static .deck-ridge { display: none; }

/* ================= the ridge, second pass (owner 11-06): the deck's only ground, with depth; the footer lives inside it =================
   A far range in teal haze stands behind the front range for depth; the front range is shaded from a lit crest down to
   the deep foot. The slides' own desert bands step aside while the ridge is up (body.has-ridge; PDF renders keep them).
   The footer's words sit in the foot, under the glow, never across it. */
.deck-ridge { height: var(--ridge-h, min(84px, 6.6vw)); }
.deck-ridge .dr-land { fill: url(#dr-depth); }
.deck-ridge .dr-s1 { stop-color: #0B3B52; }
.deck-ridge .dr-s2 { stop-color: #011C29; }
.deck-ridge.on-dark .dr-s1 { stop-color: #04293B; }
.deck-ridge.on-dark .dr-s2 { stop-color: #00121B; }
.deck-ridge .dr-far { fill: #1E9E93; opacity: .34; }
.deck-ridge.on-dark .dr-far { fill: #34C6B9; opacity: .17; }
body .chrome { bottom: 0; height: calc(var(--ridge-h, 84px) * .34); align-items: center; }
body.has-ridge .ht-scene.band, body.has-ridge .horizon { display: none; }

/* ================= logos (owner 11-06: "our various logos, depending on colour contrast, all over these slides") =================
   Files in core/img/logos: the Partners Dogs seal in navy and white, the Snake Avoidance badge in navy and white, the
   University emblem in colour and as a sticker with a white keyline for dark stock. <body data-logo="snake-avoidance"> or
   "university" makes a deck that brand's; unset it is Partners Dogs. The seal sits in the footer (always white on the
   ridge), in the top corner (navy on light, teal and yellow stock, white on navy) and in every wordmark. */
body { --logo-on-light: url(../img/logos/pd-main-navy.webp); --logo-on-dark: url(../img/logos/pd-main-white.webp); }
body[data-logo="snake-avoidance"] { --logo-on-light: url(../img/logos/snake-avoidance-navy.webp); --logo-on-dark: url(../img/logos/snake-avoidance-white.webp); }
body[data-logo="university"] { --logo-on-light: url(../img/logos/university.webp); --logo-on-dark: url(../img/logos/university-sticker.webp); }
/* (the corner logo became the ribbon below) */
body .chrome .brand i, body .chrome.on-light .brand i { width: min(24px, 2.1vw); height: min(24px, 2.1vw); border-radius: 0; box-shadow: none;
  background: var(--logo-on-dark) center / contain no-repeat; }
.wordmark .i { display: none; }
.wordmark::before { content: ""; flex: none; width: 1.9em; height: 1.9em; background: var(--logo-on-dark) center / contain no-repeat; }
.t-light .wordmark::before, .t-dot .wordmark::before, .t-cream .wordmark::before, .t-paper .wordmark::before, .t-yellow .wordmark::before,
.t-butter .wordmark::before, .t-teal .wordmark::before, .t-graph .wordmark::before, .t-board .wordmark::before { background-image: var(--logo-on-light); }

/* ================= third pass (owner 11-06): nothing on a slide under the ridge, Partner on the ridge, the logo as a ribbon =================
   ROOM: pd-slides.js sizes the live stage 1920 x 1172 and keeps each slide 1080 tall at its top, so the ridge (92 units,
   scaled with the slide: --ridge-h) has a strip of its own and never covers a word, a chart or a card. */
body.has-ridge-room .reveal .slides > section { height: 1080px; }
/* Partner on the ground: signature.js seats the peek so its cut edge hides just under the crest; the old ledge goes */
.partner.peek.on-ridge { translate: 0 var(--ridge-dy, 0px); }
.partner.peek.on-ridge > .pp-ledge { display: none; }
/* the logo: a stitched ribbon hanging from the slide's top edge on the right, like the ribbon marker in a field book.
   Navy with the white seal on light, teal and yellow stock; teal with the navy seal on navy. It lives in the stage, so it
   scales with the slide, and it tucks up out of sight on slides that carry their own logo or wordmark. */
.reveal .slides > .deck-logo { position: absolute; z-index: 40; top: 0; right: 40px; width: 84px; height: 120px; pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(1, 25, 37, .28)); transition: transform .55s var(--ease-out, ease-out), opacity .4s; transform-origin: 50% 0; }
.deck-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.deck-logo .dl-ribbon { fill: #34C6B9; transition: fill .5s; }
.deck-logo .dl-stitch { fill: none; stroke: rgba(2, 45, 65, .45); stroke-width: 1.6; stroke-dasharray: 5 4; transition: stroke .5s; }
.deck-logo .dl-mark { position: absolute; left: 12px; right: 12px; top: 16px; height: 60px; background: var(--logo-on-light) center / contain no-repeat; }
.deck-logo.on-light .dl-ribbon { fill: #022D41; }
.deck-logo.on-light .dl-stitch { stroke: rgba(255, 255, 255, .42); }
.deck-logo.on-light .dl-mark { background-image: var(--logo-on-dark); }
.deck-logo.hidden { transform: translateY(-112%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .reveal .slides > .deck-logo { transition: opacity .3s; } }

/* ================= the ridge as navigation (owner 11-17): click a point on the range to go there; hover names it ================= */
.deck-ridge.nav { pointer-events: auto; cursor: pointer; }
.deck-ridge.nav:hover .dr-glow { filter: drop-shadow(0 0 5px rgba(255, 222, 89, .8)); }
.deck-ridge .dr-tip { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font: 600 13px/1.25 Roboto, system-ui, sans-serif; color: #022D41; background: #FFDE59; padding: 6px 10px; border-radius: 8px;
  box-shadow: 0 6px 18px -6px rgba(1, 30, 44, .5); opacity: 0; transition: opacity .15s; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.deck-ridge .dr-tip.on { opacity: 1; }
.deck-ridge .dr-tip b { margin-right: 4px; }
.deck-ridge .dr-tip span { display: block; font-weight: 500; font-size: 11px; opacity: .75; }
