/* New deck: this deck's own styles. Linked after core/css/pd-slides.css, so it wins.
   Re-brand by overriding tokens, e.g.  :root {{ --teal: #34C6B9; }}  (see core/css/tokens.css). */

/* rebuild plates */
section figure.press-print.plate { position: absolute; right: 56px; bottom: 88px; width: 360px; z-index: 6; }
section figure.press-print.plate .pic { height: 230px; }
section figure.press-print.plate .cap { font-size: 23px; white-space: nowrap; }
section.l-title figure.press-print.plate { right: 80px; bottom: 330px; width: 470px; }
section.l-title figure.press-print.plate .pic { height: 300px; }
section.l-myth-fact figure.press-print.plate, section.l-versus figure.press-print.plate, section.l-sticky-board figure.press-print.plate, section.l-do-dont figure.press-print.plate, section.l-dg-route figure.press-print.plate, section.l-checklist figure.press-print.plate, section.l-team-directory figure.press-print.plate { top: 56px; right: 56px; bottom: auto; width: 248px; }
section.l-myth-fact figure.press-print.plate .pic, section.l-versus figure.press-print.plate .pic, section.l-sticky-board figure.press-print.plate .pic, section.l-do-dont figure.press-print.plate .pic, section.l-dg-route figure.press-print.plate .pic, section.l-checklist figure.press-print.plate .pic, section.l-team-directory figure.press-print.plate .pic { height: 158px; }
section.l-rings figure.press-print.plate { left: auto; right: 56px; top: 56px; bottom: auto; width: 248px; }
section.l-rings figure.press-print.plate .pic { height: 158px; }
section.l-myth-fact .myths { max-width: 1230px; }
section.l-team-directory .frame { padding-bottom: 110px; }
section.l-team-directory .dir-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 20px; }
section.l-team-directory .dir-card { background: #FFFFFF; border-radius: 14px; padding: 12px 22px 10px; box-shadow: var(--shadow-2); }
section.l-team-directory .dir-card.hot { box-shadow: 0 0 0 4px var(--teal-deep), var(--shadow-2); }
section.l-team-directory .dir-role { display: block; font: 700 22px/1.25 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); min-height: 2.5em; }
section.l-team-directory .dir-name { display: block; font: 800 28px/1.12 var(--f-head); color: var(--navy); margin-top: 6px; }
section.l-team-directory .dir-for { margin: 4px 0 0; font: 500 22px/1.28 var(--f-body); color: var(--slate); }
section.l-whiteboard .wb-chain { scale: .92; transform-origin: top left; }
section.l-versus .versus { scale: .93; transform-origin: top center; }
section.l-image-grid .fig .pic { height: 185px; }
section.l-image-grid .footnote { display: none; }
section.l-by-numbers .footnote { display: none; }
section.l-team-shoutout .partner { height: 470px !important; }
section.l-polaroids .wallp { margin-top: 30px; }
section.l-polaroids figure .pic { height: 392px; }
section.l-by-numbers .bn-grid { transform: scale(.89); transform-origin: top center; }
section.l-whiteboard .wb-chain { margin-top: 16px; row-gap: 16px; }
section.l-rings .rings-fig { height: 520px; }
section.l-dg-route .dg { height: 500px; }


/* PD Library overlay (content/culture-deck/deck.patch.css) */
/* verify fix: on the myth and fact slide the footer line sat against the last row; one-line lede gives the rows room */
section[data-slide="S05"] .lede { max-width: none; }
section[data-slide="S05"] .myths { margin-bottom: 22px; }

[data-slide="S12"] .dogtag.swing{animation-duration:1.7s !important;animation-delay:calc(var(--i,0)*var(--stagger,90ms)*.5 + 100ms) !important}
[data-slide="S14"] .info .ig-draw{animation-delay:calc(var(--d,0s)*.55 + var(--tx-hold,0ms)) !important}

.l-by-numbers .bn > i.magnet.tl { background: radial-gradient(circle at 35% 30%, #B6F2EC, var(--teal) 55%, var(--teal-deep)); }

[data-slide="S09"] .sk-h, [data-slide="S09"] .sk-h * { animation-delay: .1s !important }

/* PD Library: a note card where Partner's balloon carried content (Partner lives in the side viewer) */
.reveal .pd-note { position: absolute; z-index: 5; max-width: 360px; padding: 18px 22px; background: #fff; color: #022D41;
  border-radius: 16px; box-shadow: 0 14px 30px -12px rgba(2,45,65,.45); font: 600 26px/1.35 'Montserrat', sans-serif;
  border-top: 6px solid #34C6B9; }


/* PD Library house fixes (tools/library-deck.css) */
/* PD Library house fixes appended to every deck by ingest.py (QA 2026-11-17). One fix per block, labelled. */

/* text-sidebar: the drop cap tile split the first word ("S tructure"); set the opening as a plain paragraph */
.reveal .slides section.l-text-sidebar p.drop::first-letter { float: none; font: inherit; line-height: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; text-shadow: none; }

/* pattern 1 · l-flow: the PRO TIP footnote sat at bottom 74px, on the mesa ridge, and the ground edge struck through it.
   Lift it clear of the desert band (200px tall, ridge peak about 115px) and give it a paper wash so a tall mesa never touches it. */
.reveal .slides section.l-flow > .footnote { bottom: 222px; z-index: 4; }
.reveal .slides section.l-flow > .footnote .tip { background: none; }

/* pattern 3 · hand-drawn circle mark in a headline: the loop reaches out into the gap before the mark (the gap is only a
   space wide, so the stroke touched the last letter of the word before it). A wider gap lets the loop stay clear of it. */
.reveal .slides section :is(h1, h2, h3, .big, .ask, .display, .quote) .mk.circle { margin-left: .3em; }
/* the full stop after a circled phrase wrapped onto a line of its own when the mark filled the line; keep the mark and the
   full stop on one unbreakable run by letting the mark sit in the line as inline text (the loop is measured to the letters,
   so the drawing does not move) */
.reveal .slides section :is(h1, h2, h3, .big, .ask, .display, .quote) > .mk.circle { display: inline; }

/* pattern 4 · l-cycle on yellow (and butter): the stage icons were navy on a navy tile. Print the icon in yellow, as t-teal does in teal. */
.t-yellow .orbit .node .icon, .t-butter .orbit .node .icon { background: var(--navy); border-color: var(--navy); color: var(--yellow); box-shadow: 0 0 0 10px var(--bg); }
.t-yellow .orbit .node .icon svg, .t-butter .orbit .node .icon svg { color: var(--yellow); stroke: currentColor; }

/* pattern 5 · l-definition: when the plate carries only the generic paw scene (no photo, no drawing of the thing), a bordered
   "Fig." card reads as a missing picture. Set the paw as a quiet printed mark instead: no card, no figure number, faint ink. */
.l-definition .fig:has(.ht-scene[data-scene="paw"]) { background: none; box-shadow: none; padding: 0; rotate: 0deg; right: 190px; top: 190px; }
.l-definition .fig:has(.ht-scene[data-scene="paw"]) .ht-scene { outline: 0; width: 520px; height: 520px; opacity: .22; }
.l-definition .fig:has(.ht-scene[data-scene="paw"]) figcaption { display: none; }
.reveal .slides > section.l-definition.mirror .fig:has(.ht-scene[data-scene="paw"]) { left: 190px; right: auto; rotate: 0deg; }

/* pattern 6 · title and call-to-action slides with no photo (or QR) for the sun to rise behind: a big whole yellow disc read as an
   empty frame. Make it a smaller sun resting on the horizon instead (kept inside the slide, so no clipping is needed). */
.l-title:not(:has(.plate, .cover-photo, .photo)) .ht-sun, .l-cta:not(:has(.qr-col)) .ht-sun { top: auto; bottom: 96px; right: 330px; width: 300px; height: 300px; }

/* pattern 7 · navy type on teal slides (owner 11-17: "navy font on teal slides" reads low): on the darker teal (t-teal, #20A296)
   navy #022D41 measured 4.59:1, the floor of AA, on every heading, lede, kicker and label. Ink teal slides in navy-deep
   (#011E2C) instead: 5.45:1 on the flat teal and more under the light glows. Navy cards and the ridge on a teal slide go a
   shade deeper with it, which only lifts the white type they carry. The coral "avoid" ink goes deeper too (3.74 to 4.76:1). */
.reveal .t-teal { --navy: #011E2C; --bad: #4E1009; }

/* owner 11-18 (phone screenshot, Behavior Camp S14): in the viewer (html.embed) the field-press masthead and its crop marks are
   pinned to the frame edges at fixed sizes, so in a small frame they cover the slide. The viewer has its own chrome: hide them. */
html.embed .press-frame { display: none !important; }

/* 11-18 timing pass (sync_check motion-late): every entrance lands within 3 s of the slide. Long authored delays on the
   infographic draws and the ink stamp are capped; their order is kept, only the tail is pulled in. */
.reveal .slides section.present .info .ig-draw,
.reveal .slides section.present .info-kpi .ig-draw { animation-delay: calc(min(var(--d, 0s), 1.7s) + var(--tx-hold, 0ms)) !important; }
.reveal .slides section.present .stamp-ink.press { animation-delay: min(var(--st-d, 1.2s), 1.8s) !important; }
