/* ================================================================
   SITE SHARED LAYER — kadence-ydp-child (GRAND PORT, agent A1)
   Ported from the design-lab base.html skeleton (article-v9's tokens,
   chrome and the canonical site-wide footer, WP_W1 §7) MINUS the dock
   header + reading-progress hairline: the Kadence header builder
   replaces the dock, and the progress bar is the article surface's
   own (article.css/js). Plus: the frozen .ydp-* dress (article-v9
   §22.3–§22.6, the corpus-verbatim commerce bones) and the capture
   popup moment (capture-popup-v1 @CSS, modal component only).
   Tokens: the --ydp-* block lives in ydp-base.css (loads first);
   only the --ff-* concept tokens are declared here.
   MOTION POLICY (1.0.46, 14.11, Vladi): motion runs for everyone and
   the OS reduced-motion flag is not read (fleet rule f6c8726a, which
   1.0.43 had reversed). The one switch is the visitor's own: endless
   loops pause under html.ff-still (MOTION at the end of this file).
   Thread policy for inner pages: the progress hairline + one end
   stitch only.
   ================================================================ */
:root {
  --ff-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ff-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ff-radius: 20px;
  --ff-gutter: clamp(1.25rem, 5vw, 5rem);
  --ydp-dock-h: 92px;              /* the dock strip: 0.45rem*2 + 76px brand + border */
  --ff-paper: linear-gradient(165deg, #f4ebda 0%, #ece0c8 55%, #e3d5b8 100%);
  --ff-kraft: linear-gradient(135deg, #e2b04a, #f5cc7a, #c49a3a);
  --ff-ink: #221b33;
  --ff-shadow-rest: 0 6px 14px rgba(4, 4, 12, 0.5), 0 22px 44px rgba(4, 4, 12, 0.42);
  --ff-shadow-lift: 0 12px 22px rgba(4, 4, 12, 0.55), 0 36px 70px rgba(4, 4, 12, 0.5);
  color-scheme: dark;
}
/* base.html's global `*` / `a` / `img` / `ul,ol` resets, SCOPED
   (contract, shared-layer rule): the Kadence chrome — header builder,
   admin bar, wp_footer plugin UI — keeps its own spacing; every
   designed surface wrapper gets the prototype's flat ground. :where()
   holds specificity at zero so the ported rules behave exactly as the
   lab's bare selectors did. Surface wrappers covered: the fragments'
   #art-main main, the art-hero band, the art-shell column, the
   canonical footer, the capture popup scrim — and .ff-dock, added
   2026-08-01 when the dock became the site header (it renders on
   wp_body_open, outside every other wrapper here).

   KNOWN LIMIT OF THIS BLOCK — read before trusting it. :where() is
   specificity ZERO by design, so any parent rule written with a TYPE
   selector outranks it. The Kadence parent ships
   `ul, ol { margin: 0 0 1.5em 1.5em; padding: 0 }`
   (kadence/assets/css/global.min.css) at 0-0-1, and it wins here —
   source order cannot save us either: the child's functions.php is
   loaded BEFORE the parent's, so the child's enqueues print FIRST
   and the parent's global sheet lands after. Lists therefore need a
   CLASS-anchored reset; see THE LIST BELT below. */
:where(#art-main, .art-hero, .art-shell, .art-footer, .pop-scrim, .ff-dock),
:where(#art-main, .art-hero, .art-shell, .art-footer, .pop-scrim, .ff-dock) :where(*),
:where(#art-main, .art-hero, .art-shell, .art-footer, .pop-scrim, .ff-dock) :where(*)::before,
:where(#art-main, .art-hero, .art-shell, .art-footer, .pop-scrim, .ff-dock) :where(*)::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
:where(#art-main, .art-hero, .art-shell, .art-footer, .pop-scrim, .ff-dock) :where(a) { color: inherit; text-decoration: none; }
:where(#art-main, .art-hero, .art-shell, .art-footer, .pop-scrim, .ff-dock) :where(img) { max-width: 100%; display: block; }
:where(#art-main, .art-hero, .art-shell, .art-footer, .pop-scrim, .ff-dock) :where(ul, ol) { list-style: none; }
/* THE LIST BELT (2026-08-01) — the chrome's own lists, reset at CLASS
   specificity so the parent's `ul, ol { margin: 0 0 1.5em 1.5em }`
   cannot reach them (see the KNOWN LIMIT note above).

   What it fixes: the dock's <ul class="ff-dock-list"> was carrying a
   1.5em BOTTOM margin, which makes its margin box 24px taller at the
   foot — and `align-items: center` centres MARGIN boxes, so the five
   chips and the search pill rode 12px ABOVE the brand on every page
   (measured at 1366px: chip mid 33.2 vs brand mid 45.2). The same
   rule also put a phantom 24px indent on the canonical footer's
   three link columns.

   Deliberately narrow: the theme's own chrome only. the_content
   lists inside #art-main keep the parent's prose indent — changing
   those is a corpus-wide decision, not a header fix. */
.ff-dock ul,
.art-footer ul, .art-footer ol { margin: 0; padding: 0; list-style: none; }
/* The native anchor offset MUST track the real chrome, not a frozen
   number: --ydp-dock-h is 92px by default and 72px at <=1199px, and the
   admin bar adds 32px on a logged-in preview. A hardcoded 104px matched
   none of those states — worst case (desktop + admin bar) the chrome is
   124px and the target heading landed 20px BEHIND it. Every other offset
   in this theme already tracks the token; this one now does too, using
   the same +12px breathing room as the sticky rails. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ydp-dock-h, 92px) + 12px); }
html:has(body.admin-bar) { scroll-padding-top: calc(var(--ydp-dock-h, 92px) + 44px); }
/* 1.0.53 (queue job 13, addendum 2, 2.2): at 1024px and under the dock stands down and the header scrolls away
   (--ydp-sticky-top is 0 below), so nothing is fixed at the top and a same-page jump keeps only the 12px of
   breathing room; the admin bar is fixed from 783 to 1024px. Until 1.0.52 Kadence's anchor handler took every
   in-page link and ignored this padding, which hid that the dock's 72px stayed in it here; since the body class
   no-anchor-scroll (functions.php) the browser's jump reads it. tool.css's #tcx-tool offset that took the dock's
   share back for the "Jump to the tool" pill went with it. */
@media (max-width: 1024px) {
  html { scroll-padding-top: 12px; }
  html:has(body.admin-bar) { scroll-padding-top: 44px; }
}
@media (max-width: 782px) {
  html:has(body.admin-bar) { scroll-padding-top: 12px; }
}
/* --ydp-sticky-top (1.0.22): where something pinned to the top of the
   screen may stick — under the fixed dock on desktop, at 0 on phones,
   where the header scrolls away. The 32 stepped tools read it for their sticky
   stepper (top: var(--ydp-sticky-top, 0px)); the theme's own rails keep
   their dock-based offsets. */
:root { --ydp-sticky-top: var(--ydp-dock-h, 92px); }
body.admin-bar { --ydp-sticky-top: calc(var(--ydp-dock-h, 92px) + 32px); }
@media (max-width: 1024px) {
  :root, body.admin-bar { --ydp-sticky-top: 0px; }
}
body { background: var(--ydp-bg); color: var(--ydp-text); font-family: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, sans-serif; font-size: 17px; font-weight: 400; font-style: normal; line-height: 1.7; overflow-x: hidden; }
/* 1.0.34 — THE PARENT'S BASE LAYER, PINNED. The Kadence parent prints
   Customizer CSS for body, h1-h6 and its page wrapper. Since 1.0.34 the
   child's sheets print AFTER it (functions.php, priority 15), so equal
   selectors resolve to the child, and the rules here pin what the design
   owns — the same in the Customizer preview (no Kadence settings for this
   theme yet) and after activation (the old theme's settings copied in):
   - body (above): one type size, 17px, at every width. Kadence's live
     settings step it down to 16px under 1025px and 15px under 768px;
   - h1-h6: Kadence's heading font (the live settings make h1 Satisfy),
     its letter-spacing and case, and its palette colours (dark navy on
     our dark ground). Headings take the surface's font and colour; every
     surface sizes its own;
   - the wrapper: on an "unboxed" page (the static pages, Journal,
     Occasions) Kadence paints .site with palette9 — white. */
h1, h2, h3, h4, h5, h6 { font-family: inherit; font-style: normal; letter-spacing: normal; text-transform: none; color: inherit; }
#wrapper.site, body.content-style-unboxed .site { background: transparent; }
::selection { background: rgba(226, 176, 74, 0.35); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--ydp-gold-light); outline-offset: 3px; border-radius: 6px;
}
.art-skip {
  position: fixed; top: -4rem; left: 1rem; z-index: 300;
  background: var(--ydp-gold); color: var(--ydp-bg);
  font-weight: 700; font-size: 0.85rem; padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 10px; transition: top 0.25s var(--ff-out);
}
.art-skip:focus-visible { top: 0; outline-offset: 0; }
/* 1.0.43 (M2): the theme's link is the one skip link (functions.php,
   wp_body_open priority 0). Kadence's own points at #main, which no
   template here renders. */
a.skip-link[href="#main"] { display: none !important; }
/* its target, ydpc2_content_anchor(): a focus landing, not a control */
.ydp-anchor:focus, .ydp-anchor:focus-visible { outline: none; }
/* shared vocabulary */
.art-kicker {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ydp-gold);
}
.art-kicker::before { content: ''; width: 22px; height: 2px; background: var(--ydp-gradient-cta); }
.art-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0 1.4rem;
  border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ydp-gradient-cta);
  color: #14060a; font-weight: 800; font-size: 0.9rem; font-family: inherit;
  box-shadow: 0 10px 26px rgba(255, 107, 43, 0.35);
  transition: transform 0.4s var(--ff-spring), box-shadow 0.35s var(--ff-out);
  white-space: nowrap;
}
.art-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(255, 107, 43, 0.45); }
.art-btn--gold { background: var(--ydp-gradient-gold); color: #221b33; box-shadow: 0 10px 26px rgba(226, 176, 74, 0.3); }
.art-btn--gold:hover { box-shadow: 0 14px 34px rgba(226, 176, 74, 0.4); }
.art-btn--ghost { background: transparent; color: var(--ydp-gold-light); border: 1px solid var(--ydp-border-active); box-shadow: none; }
.art-btn--ghost:hover { background: rgba(226, 176, 74, 0.08); box-shadow: none; }
/* HOVER-INK GUARD — the Kadence parent paints every a:hover/:focus/
   :active gold-light at (0,1,1); anchor-buttons whose base ink sits
   at (0,1,0) must re-assert their color in the interactive states or
   the label melts into the gold/orange fills (gold-light on gold
   reads ~1.3:1). Cards keep inherit so unpainted text never flips. */
.art-btn:hover, .art-btn:focus, .art-btn:active { color: #14060a; }
.art-btn--gold:hover, .art-btn--gold:focus, .art-btn--gold:active { color: #221b33; }
.art-btn--ghost:hover, .art-btn--ghost:focus, .art-btn--ghost:active { color: var(--ydp-gold-light); }
.art-skip:hover, .art-skip:focus, .art-skip:focus-visible { color: var(--ydp-bg); }
a.art-card:hover, a.art-card:focus,
.sy-row:hover, .sy-row:focus,
.sh-card:hover, .sh-card:focus, .sh-coll:hover, .sh-coll:focus { color: inherit; }
/* …and the frozen .ydp- commerce anchors that live in post_content
   (payhip hero, shop bands) — same parent-hover repaint, same guard */
.ydp-payhip-hero__btn:hover, .ydp-payhip-hero__btn:focus, .ydp-payhip-hero__btn:active,
.ydp-btn-cta-end:hover, .ydp-btn-cta-end:focus, .ydp-btn-cta-end:active { color: #221b33; }
.ydp-shop-inline__btn:hover, .ydp-shop-inline__btn:focus,
.ydp-btn-shop-end:hover, .ydp-btn-shop-end:focus { color: var(--ydp-gold-light); }
.art-card {
  border: 1px solid var(--ydp-border);
  border-radius: var(--ff-radius);
  background: var(--ydp-gradient-card);
  box-shadow: var(--ff-shadow-rest);
  transition: transform 0.45s var(--ff-spring), border-color 0.3s var(--ff-out), box-shadow 0.4s var(--ff-out);
}
a.art-card:hover, .art-card--live:hover { transform: translateY(-5px) rotate(-0.35deg); border-color: var(--ydp-border-hover); box-shadow: var(--ff-shadow-lift); }
.art-hero {
  background: var(--ydp-gradient-hero);
  padding: clamp(2rem, 5vw, 3.6rem) var(--ff-gutter) clamp(2.2rem, 6vw, 3.6rem);
  border-bottom: 1px solid var(--ydp-border);
}
.art-hero-inner { max-width: 1240px; margin: 0 auto; }
.art-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--ydp-muted); margin-bottom: 1.4rem; }
.art-crumbs a { border-bottom: 1px solid transparent; transition: color 0.25s var(--ff-out), border-color 0.25s var(--ff-out); }
.art-crumbs a:hover { color: var(--ydp-gold-light); border-bottom-color: var(--ydp-border-active); }
/* .separator / .last: Rank Math's trail in the same dress (inc/setup.php, 1.0.34) */
.art-crumbs .art-crumb-sep, .art-crumbs .separator { color: rgba(226, 176, 74, 0.5); }
.art-crumbs [aria-current="page"], .art-crumbs .last { color: var(--ydp-text); }
.art-h1 { color: var(--ydp-text); font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.art-lede { margin-top: 1rem; max-width: 62ch; color: var(--ydp-muted); font-size: clamp(0.95rem, 1.6vw, 1.05rem); }
.art-shell { max-width: 1240px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.4rem) var(--ff-gutter) 0; }
/* Progressive: content is the default; the pre-reveal hidden state
   applies only after site.js signs in on the root (html.ydp-js), so
   no-JS and pre-boot render everything. The transition lives on the
   revealed state only — signing in hides instantly (no fade-out
   artifact), the reveal still rises. */
html.ydp-js .art-rise { opacity: 0; transform: translateY(22px); }
html.ydp-js .art-rise.art-in { opacity: 1; transform: none; transition: opacity 0.7s var(--ff-out), transform 0.8s var(--ff-out); }
/* 1.0.54 (queue job 13, addendum 2, 2.2): a same-page jump to a block that has not risen yet (or into one) landed 22px
   too high: the browser placed the block's translated box, then it rose. The jump's target is shown at once. */
html.ydp-js .art-rise:target, html.ydp-js .art-rise:has(:target) { opacity: 1; transform: none; }
.art-end-stitch { display: block; width: min(320px, 70%); margin: 0 auto 0.9rem; overflow: visible; }
.art-end-stitch path { fill: none; stroke: var(--ydp-gold); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(245, 204, 122, 0.5)); }
/* ---------------- THE CANONICAL SITE-WIDE FOOTER (WP_W1 §7) ---------------- */
.art-footer { margin-top: clamp(3.5rem, 8vw, 5.5rem); border-top: 1px solid var(--ydp-border); background: #07070f; padding: 64px var(--ff-gutter) 28px; }
.art-footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 48px; }
/* 1.0.35 (operator, 2026-10-11): the logo no longer tilts on hover — only the
   gold glow. And it sits in an .art-footer-col, so the column-link dress
   (.art-footer-col a: 34px min-height, a bottom border that turns gold on
   hover) drew a line under it; two class hops take it back off. */
.art-footer-brand { display: inline-flex; transition: filter 0.3s var(--ff-out); }
.art-footer-col .art-footer-brand { min-height: 0; border-bottom: 0; }
.art-footer-brand:hover { filter: drop-shadow(0 0 12px rgba(245, 204, 122, 0.35)); }
.art-footer-brand img { height: 84px; width: auto; }
.art-footer-tag { color: var(--ydp-muted); font-size: 0.9rem; margin-top: 0.8rem; max-width: 26ch; }
/* 1.0.42: "Follow on Pinterest" under the tagline, in the column-link dress */
.art-footer-follow { margin-top: 0.35rem; }
/* 1.0.50 (queue job 13, Claude's review 1.1): the column titles are h2, so the outline under the page's h1 skips no
   level. They are dressed as the h3 were: the line height is pinned to what Kadence gives an h3 (1.35, and 1.4 at
   767 px and under), since an h2 would take its 1.25 and 1.3. */
.art-footer-col h2 {
  font-size: 0.72rem; font-weight: 700; line-height: 1.35; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ydp-gold);
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem;
}
@media (max-width: 767px) { .art-footer-col h2 { line-height: 1.4; } }
.art-footer-col h2::before { content: ''; width: 18px; height: 2px; background: var(--ydp-gradient-cta); }
.art-footer-col ul { display: grid; gap: 0.15rem; }
/* 1.0.50 (queue job 13, Claude's review 1.4): Kadence's footer-on-bottom gives #wrapper a min-height of 100vh, so on a
   page shorter than the screen a band opened between the content and the footer (the 404: 321 px at 390, 458 px at
   1440). The thread never draws in it: it runs on the home page only, and not under html.ff-nothread. Where it does
   not run, the band closes to the footer's own margin, as on any taller page. */
body:not(.home).footer-on-bottom #wrapper,
html.ff-nothread body.footer-on-bottom #wrapper { min-height: 0; }
.art-footer-col a {
  display: inline-flex; align-items: center; min-height: 34px;
  font-size: 0.88rem; font-weight: 500; color: var(--ydp-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ff-out), border-color 0.25s var(--ff-out);
}
.art-footer-col a:hover { color: var(--ydp-gold-light); border-bottom-color: var(--ydp-border-active); }
/* 1.0.50 (queue job 13, Claude's review 2.1): "Cookie settings", the last item of Legal & info, is a button that
   CookieYes opens its preference centre on (footer.php). Dressed as the links beside it: Kadence's button look
   (its fill, padding, radius, shadow and hover) is taken off by two class hops, as for .ff-still-toggle; the focus
   ring is the theme's own (a:focus-visible, button:focus-visible). */
.art-footer-col .art-footer-cookie {
  display: inline-flex; align-items: center; min-height: 34px; width: auto; margin: 0; padding: 0;
  background: none; border: 0; border-bottom: 1px solid transparent; border-radius: 0; box-shadow: none;
  font-family: inherit; font-size: 0.88rem; font-weight: 500; font-style: normal; line-height: inherit;
  letter-spacing: normal; text-transform: none; text-align: left; color: var(--ydp-muted);
  cursor: pointer;
  transition: color 0.25s var(--ff-out), border-color 0.25s var(--ff-out);
}
.art-footer-col .art-footer-cookie:hover,
.art-footer-col .art-footer-cookie:focus,
.art-footer-col .art-footer-cookie:active { background: none; box-shadow: none; color: var(--ydp-muted); }
.art-footer-col .art-footer-cookie:hover { color: var(--ydp-gold-light); border-bottom-color: var(--ydp-border-active); }
.art-footer-legal { max-width: 1240px; margin: 0 auto; padding: 1.1rem 0; border-top: 1px solid var(--ydp-border); font-size: 0.78rem; color: var(--ydp-muted); }
.art-footer-legal a { color: var(--ydp-gold-light); border-bottom: 1px solid rgba(226, 176, 74, 0.4); }
.art-footer-legal a:hover { color: #fff; border-bottom-color: var(--ydp-gold-light); }
.art-footer-bottom { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 0.4rem; }
.art-footer-copy { font-size: 0.8rem; color: var(--ydp-muted); }
.art-footer-micro { font-family: 'Satisfy', 'Satisfy Fallback', cursive; font-size: 1.5rem; color: rgba(226, 176, 74, 0.78); }
/* (2026-08-01: the fx switch and its html.ydp-calm stand-down were
   retired here; the search chip below is the nav's only injected
   utility item. Motion itself: MOTION at the end of this file, 1.0.43.) */
/* the header row is tight next to Journal: the injected item may not
   shrink or wrap out, and the search chip goes icon-only up there
   (its text stays in the mobile drawer, where there is room) */
.ydp-search-item { flex-shrink: 0; }
.header-navigation .ydp-search-text { display: none; }
@media (max-width: 900px) { .art-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .art-footer-grid { grid-template-columns: 1fr; }
  .art-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   THE DOCK — the SITE header (moved here from front.css 2026-07-24,
   raised to the taller cut the operator chose: 76px brand). One
   strip for every page: front-page.php renders its own (section
   anchors + scroll-spy), functions.php renders the site edition
   (ff-dock--site, real destinations from YDP Primary) everywhere
   else on wp_body_open. Desktop only — <=1024px the site edition
   stands down for the Kadence mobile header (burger + drawer).
   Since 2026-08-01 the FRONT PAGE follows the same model (front.css
   stands its own dock down <=1024 and gives the masthead back), so
   the whole site has exactly ONE nav per breakpoint: the dock above
   1024, the burger + drawer at 1024 and below. The front page's old
   small-screen life — the 761-1024 icon strip and the <=760 bottom
   thumb bar — is retired; see the note in front.css.
   ================================================================ */
.ff-dock {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem var(--ff-gutter);
  background: rgba(10, 10, 26, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ydp-border);
}
.ff-dock-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
  transition: transform 0.4s var(--ff-spring), filter 0.3s var(--ff-out);
}
.ff-dock-brand:hover {
  transform: rotate(-2deg) scale(1.03);
  filter: drop-shadow(0 0 10px rgba(245, 204, 122, 0.35));
}
/* the logo image: explicit intrinsic size attributes in the markup,
   rendered ~44px tall at its natural ratio. If the file ever fails,
   the alt text lands on this same styled element — a brand span,
   never a broken-image glyph. */
.ff-brand-img {
  display: block;
  height: 76px;
  width: auto;
  font-family: 'Satisfy', 'Satisfy Fallback', cursive;   /* alt-text fallback dress */
  font-size: 2.2rem;
  line-height: 76px;
  color: var(--ydp-gold);
  white-space: nowrap;
  overflow: hidden;
}
.ff-dock-list { display: flex; align-items: center; gap: 0.3rem; }
.ff-dock-list li { display: flex; }
.ff-dock-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ydp-muted);
  transition: color 0.25s var(--ff-out), background 0.25s var(--ff-out),
              border-color 0.25s var(--ff-out), transform 0.4s var(--ff-spring);
}
.ff-dock-chip:hover { color: var(--ydp-text); background: var(--ydp-card-light); border-color: var(--ydp-border); }
.ff-dock-chip:active { transform: scale(0.92); }
.ff-dock-chip[aria-current="true"] {
  color: var(--ydp-gold-light);
  border-color: var(--ydp-border-active);
  background: rgba(226, 176, 74, 0.08);
}

/* --- tiny CSS dock glyphs; they inherit the chip's color --- */
.ff-dg { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.ff-dg-gear::before {
  content: ''; position: absolute; inset: 1px;
  border: 2.5px dotted currentColor; border-radius: 50%; opacity: 0.9;
}
.ff-dg-gear::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%; background: currentColor;
}
.ff-dg-sheet::before {
  content: ''; position: absolute; left: 2.5px; top: 0;
  width: 13px; height: 18px;
  border: 1.5px solid currentColor; border-radius: 2.5px;
}
.ff-dg-sheet::after {
  content: ''; position: absolute; left: 6.5px; top: 5px;
  width: 5px; height: 9px; opacity: 0.8;
  background: repeating-linear-gradient(180deg, currentColor 0 1.5px, transparent 1.5px 4px);
}
.ff-dg-bag::before {
  content: ''; position: absolute; left: 1.5px; bottom: 0.5px;
  width: 15px; height: 12px;
  border: 1.5px solid currentColor; border-radius: 2px 2px 4.5px 4.5px;
}
.ff-dg-bag::after {
  content: ''; position: absolute; left: 5px; top: 0.5px;
  width: 8px; height: 8px;
  border: 1.5px solid currentColor; border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.ff-dg-balloon::before {
  content: ''; position: absolute; left: 3.5px; top: 0;
  width: 11px; height: 13px;
  border-radius: 48% 48% 52% 52% / 44% 44% 56% 56%;
  background: currentColor;
}
.ff-dg-balloon::after {
  content: ''; position: absolute; left: 8.5px; top: 13px;
  width: 1px; height: 5px; background: currentColor; opacity: 0.7;
}
.ff-dg-book::before {
  content: ''; position: absolute; left: 1px; top: 2.5px;
  width: 16px; height: 13px;
  border: 1.5px solid currentColor; border-radius: 2px 4px 4px 2px;
}
.ff-dg-book::after {
  content: ''; position: absolute; left: 5px; top: 2.5px;
  width: 2.5px; height: 13px; background: currentColor; opacity: 0.55;
}

/* --- site-dock plumbing --- */
/* the Kadence DESKTOP header row retires wherever the dock serves:
   scoped to body.ydp-dockpage (set only when YDP Primary resolves,
   so a menu-less site degrades to the stock Kadence header instead
   of no header at all; the front page hides #masthead itself in
   front.css). The MOBILE header (#mobile-header, <=1024px) stays
   alive for burger + drawer duty. */
body.ydp-dockpage #main-header { display: none !important; }
/* narrow desktops (1025-1199) + the front strip band: the full cut
   does not fit seven items — the same squeeze the front page wore
   at its 1023 tier, plus the height token follows so clearance,
   hairline and sticky offsets track the real hem */
@media (max-width: 1199px) {
  :root { --ydp-dock-h: 72px; }
  .ff-dock { gap: 0.5rem; }
  .ff-dock-list { gap: 0.1rem; }
  .ff-dock-chip { padding: 0 0.65rem; gap: 0.4rem; font-size: 0.78rem; }
  .ff-brand-img { height: 56px; line-height: 56px; font-size: 1.7rem; }
}
/* fixed-strip clearance: non-front pages start below the dock */
body.ydp-dockpage { padding-top: var(--ydp-dock-h, 92px); }
body.admin-bar .ff-dock { top: 32px; }
/* in the dock the search chip is icon-only (the drawer keeps its
   full text) and it never shrinks */
.ff-dock .ydp-search-text { display: none; }
.ff-dock .ydp-search-item { margin-left: 0.4rem; }
@media (max-width: 1024px) {
  .ff-dock--site { display: none; }
  body.ydp-dockpage { padding-top: 0; }
}

/* --- the Kadence mobile header, dressed for the dark house: the
   burger was builder-inked for the light era and vanished into the
   ground (invisible on phones, clashing on tablets) --- */
#mobile-header,
#mobile-header .site-main-header-wrap,
#mobile-header .site-header-row-container-inner {
  background: var(--ydp-bg) !important;
}
#mobile-header { border-bottom: 1px solid var(--ydp-border); }
.menu-toggle-open {
  color: var(--ydp-gold) !important;
  background: transparent !important;
}
.menu-toggle-open:hover, .menu-toggle-open:focus {
  color: var(--ydp-gold-light) !important;
}
/* in the drawer the search chip keeps its own width (Kadence lays
   the drawer menu as a wrapping flex column of full-width items —
   this releases the full-width claim).
   SELECTOR FIX 2026-08-01: this was keyed to .mobile-navigation-
   container, which the current Kadence drawer does not render — the
   markup is nav.mobile-navigation.drawer-navigation > div.mobile-
   menu-container.drawer-menu-container > ul#mobile-menu, so the rule
   never matched and the chip wore the full-width menu-item dress.
   It matters more now: below 1024 the drawer is the ONLY place the
   search chip lives. Keyed to both the nav class and the menu id so
   a Kadence markup shuffle cannot silently drop it again. */
.drawer-navigation .ydp-search-item,
ul#mobile-menu .ydp-search-item,
.mobile-navigation-container ul .ydp-search-item {
  display: inline-flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  border: 0 !important;
  margin: 0.65rem 0.5rem 0 0;
  padding: 0 !important;
}


/* ================================================================
   THE FROZEN .ydp-* DRESS (article-v9 §22.3–§22.6) — the canonical
   commerce bones as they appear inside the_content corpus-wide. No
   .ydp-* class beyond this frozen set exists in theme chrome.
   ================================================================ */
/* §22.4 — the Payhip mid-article hero card: CANONICAL bones
   (.ydp-payhip-hero family, corpus-verbatim structure), dressed in
   the approved look; VIP pattern per FILE_4 §13.9 — gold border,
   dark gradient, floating badge, soft gold glow */
.ydp-payhip-hero {
  position: relative;
  background: var(--ydp-gradient-card);
  border: 2px solid var(--ydp-gold);
  border-radius: var(--ff-radius);
  padding: 1.75rem;
  margin: clamp(2rem, 5vw, 2.6rem) 0;
  box-shadow: 0 0 32px rgba(226, 176, 74, 0.12), var(--ff-shadow-rest);
  transition: transform 0.45s var(--ff-spring), box-shadow 0.4s var(--ff-out);
}
/* commerce hovers come toward the reader — scale + gold glow; no
   translateY drift, and no dark shadow layers (ff-shadow-*) that
   read as a faint horizontal band on the dark ground */
.ydp-payhip-hero:hover { transform: scale(1.012); box-shadow: 0 0 40px rgba(226, 176, 74, 0.25); }
.ydp-payhip-hero__badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--ydp-gradient-gold);
  color: #0a0a1a;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.05em;
  padding: 4px 14px; border-radius: 100px;
  box-shadow: 0 4px 12px rgba(4, 4, 12, 0.4);
}
.ydp-payhip-hero__body { display: flex; gap: 24px; align-items: flex-start; }
.ydp-payhip-hero__img {
  border-radius: 12px; flex-shrink: 0;
  width: 200px; height: 200px; object-fit: cover;
  background: var(--ff-paper);
  box-shadow: var(--ff-shadow-rest);
}
/* 1.0.18 — the cover until a real one is wired (inc/product-cards.php):
   the printable-single paper simulacrum in miniature, so a card never
   shows a broken image */
.ydp-payhip-hero__paper {
  display: grid; align-content: center; justify-items: center; gap: 7px;
  position: relative; overflow: hidden; padding: 20px 16px 16px 28px;
  text-align: center; color: #221b33;
}
.ydp-payhip-hero__paper::before {
  content: ''; position: absolute; left: 12px; top: 8%; bottom: 8%; width: 3px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, var(--ydp-gold) 0 8px, transparent 8px 17px); opacity: 0.55;
}
.ydp-payhip-hero__paper em { font-family: 'Satisfy', 'Satisfy Fallback', cursive; font-style: normal; font-size: 1.05rem; color: #8a6a1f; }
.ydp-payhip-hero__paper strong { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.ydp-payhip-hero__paper i { display: block; width: 78%; height: 4px; border-radius: 3px; background: rgba(34, 27, 51, 0.18); }
.ydp-payhip-hero__paper i:nth-of-type(2) { width: 64%; }
.ydp-payhip-hero__paper i:nth-of-type(3) { width: 50%; }
.ydp-payhip-hero__content { min-width: 0; }
.ydp-payhip-hero__title { font-size: 1.2rem; font-weight: 800; color: var(--ydp-gold); margin: 0 0 12px; }
.ydp-payhip-hero__features { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 0.45rem; }
.ydp-payhip-hero__features li { font-size: 0.9rem; color: rgba(240, 230, 211, 0.9); margin: 0; }
.ydp-payhip-hero__features li::before { content: "✓ "; color: var(--ydp-gold); font-weight: 700; }
.ydp-payhip-hero__price { font-size: 1.6rem; font-weight: 800; color: var(--ydp-gold-light); margin-bottom: 16px; }
.ydp-payhip-hero__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.6rem;
  background: var(--ydp-gradient-gold);
  color: #221b33; font-weight: 800; font-size: 1rem;
  border-radius: 999px; text-align: center;
  box-shadow: 0 10px 26px rgba(226, 176, 74, 0.3);
  transition: transform 0.4s var(--ff-spring), box-shadow 0.35s var(--ff-out);
}
.ydp-payhip-hero__btn:hover { transform: scale(1.04); box-shadow: 0 14px 34px rgba(226, 176, 74, 0.4); }
@media (max-width: 640px) {
  .ydp-payhip-hero__body { flex-direction: column; }
  .ydp-payhip-hero__img { width: 100%; height: auto; aspect-ratio: 1; }
  .ydp-payhip-hero__paper { max-width: 240px; }
}

/* §22.5 — the Party Shop collection card: CANONICAL bones
   (.ydp-shop-inline family), dressed in the approved look.
   CONDITIONAL: the element is absent from the DOM when the FILE_9
   partyshop_links column is empty. */
.ydp-shop-inline {
  display: flex; gap: 20px; align-items: center;
  background: var(--ydp-gradient-card);
  border: 1px solid var(--ydp-border-active);
  border-radius: var(--ff-radius);
  padding: 1.5rem;
  margin: clamp(2rem, 5vw, 2.4rem) 0;
  box-shadow: var(--ff-shadow-rest);
  transition: transform 0.45s var(--ff-spring), box-shadow 0.4s var(--ff-out);
}
.ydp-shop-inline:hover { transform: scale(1.012); box-shadow: 0 0 32px rgba(226, 176, 74, 0.18); }
.ydp-shop-inline__thumbs { display: flex; gap: 8px; flex-shrink: 0; }
.ydp-shop-inline__thumbs img {
  border-radius: 8px; object-fit: cover; width: 80px; height: 80px;
  border: 1px solid var(--ydp-border);
}
.ydp-shop-inline__content { min-width: 0; }
/* 1.0.50: the title's level follows the body's outline now (inc/content-hygiene.php, 6), so its line height is pinned
   to the 1.4 it had from Kadence's h4 at every width */
.ydp-shop-inline__title { font-weight: 700; font-size: 1.05rem; line-height: 1.4; color: var(--ydp-gold); margin: 0 0 8px; }
.ydp-shop-inline__desc { font-size: 0.9rem; color: var(--ydp-muted); margin: 0 0 14px; }
.ydp-shop-inline__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.3rem;
  border: 1px solid var(--ydp-border-active); color: var(--ydp-gold-light);
  border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  transition: transform 0.4s var(--ff-spring), background 0.3s var(--ff-out);
}
.ydp-shop-inline__btn:hover { transform: scale(1.03); background: rgba(226, 176, 74, 0.08); }
@media (max-width: 640px) { .ydp-shop-inline { flex-direction: column; align-items: flex-start; } }

/* §22.3 — the Amazon strip: CANONICAL bones (.ydp-amazon-* family,
   corpus-verbatim structure with emoji icons), dressed in the
   approved look. The disclosure renders ONCE, above Strip 1.
   TOOL-DOM GUARD: all 33 tools internally reuse .ydp-amazon-card /
   -icon / -title / -btn inside their own .ydp-tool-wrapper (own
   inline styling; verified across YDP/05-tools). The chrome dress
   must never reach inside the locked tool zone, so every reused
   selector carries :not(.ydp-tool-wrapper *). */
.ydp-affiliate-note {
  font-size: 0.78rem; color: var(--ydp-muted);
  margin: 0;
}
/* 1.0.24: the pillars' strip (.ydp-pillar-amazon-strip, 11 pages) had
   no dress at all and stacked its cards full width on every screen; and
   four tiles across a 68ch column wrapped every button onto two lines.
   Both strips now set each card as a row (icon, title, button under
   it), two to a line; an odd last card takes the whole line. */
.ydp-amazon-strip, .ydp-pillar-amazon-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0.9rem 0 0; }
.ydp-amazon-card:not(.ydp-tool-wrapper *) {
  flex: 1;
  border: 1px solid var(--ydp-border);
  border-radius: 14px;
  background: rgba(18, 18, 42, 0.55);
  padding: 1.05rem 1rem 1.1rem;
  text-align: center;
  display: grid; gap: 0.55rem; justify-items: center;
  transition: transform 0.4s var(--ff-spring), border-color 0.3s var(--ff-out), box-shadow 0.4s var(--ff-out);
}
.ydp-amazon-card:hover:not(.ydp-tool-wrapper *) { transform: scale(1.02); border-color: var(--ydp-border-hover); box-shadow: 0 0 24px rgba(226, 176, 74, 0.14); }
.ydp-amazon-icon:not(.ydp-tool-wrapper *) { font-size: 1.7rem; display: block; }
.ydp-amazon-title:not(.ydp-tool-wrapper *) { font-size: 0.92rem; font-weight: 700; line-height: 1.3; color: var(--ydp-text); margin: 0; }
.ydp-amazon-btn:not(.ydp-tool-wrapper *) {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 40px; padding: 0 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--ydp-border-active);
  background: linear-gradient(135deg, rgba(226, 176, 74, 0.16), rgba(255, 107, 43, 0.12));
  color: var(--ydp-gold-light);
  font-size: 0.8rem; font-weight: 700;
  transition: transform 0.4s var(--ff-spring), background 0.3s var(--ff-out), color 0.3s var(--ff-out);
}
.ydp-amazon-btn:not(.ydp-tool-wrapper *)::after { content: '\2197'; content: '\2197' / ''; font-size: 0.85em; }
.ydp-amazon-btn:hover:not(.ydp-tool-wrapper *) { transform: scale(1.03); background: var(--ydp-gradient-gold); color: #221b33; }
/* phones: one card to a line */
@media (max-width: 640px) {
  .ydp-amazon-strip, .ydp-pillar-amazon-strip { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
/* "Worth the splurge" (inc/amazon-splurge.php, 1.0.16): the one
   context-picked higher-ticket card the theme appends to Strip 1 */
.ydp-amazon-card--splurge:not(.ydp-tool-wrapper *) {
  border-color: rgba(226, 176, 74, 0.45);
  background: linear-gradient(160deg, rgba(226, 176, 74, 0.10), rgba(18, 18, 42, 0.55) 60%);
}
.ydp-amazon-kicker {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ydp-gold);
}
/* the strip's card as a row (1.0.24, after the card's own rules so
   the row layout wins the tie) */
:is(.ydp-amazon-strip, .ydp-pillar-amazon-strip) > .ydp-amazon-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
:is(.ydp-amazon-strip, .ydp-pillar-amazon-strip) > .ydp-amazon-card {
  grid-template-columns: 2.4rem minmax(0, 1fr); justify-items: start; align-items: center; align-content: center;
  column-gap: 0.85rem; row-gap: 0.35rem; padding: 0.9rem 1rem 0.95rem; text-align: left;
}
:is(.ydp-amazon-strip, .ydp-pillar-amazon-strip) > .ydp-amazon-card > .ydp-amazon-icon { grid-column: 1; grid-row: 1 / span 2; font-size: 1.6rem; justify-self: center; }
:is(.ydp-amazon-strip, .ydp-pillar-amazon-strip) > .ydp-amazon-card--splurge > .ydp-amazon-icon { grid-row: 1 / span 3; }
:is(.ydp-amazon-strip, .ydp-pillar-amazon-strip) > .ydp-amazon-card > :not(.ydp-amazon-icon) { grid-column: 2; }
:is(.ydp-amazon-strip, .ydp-pillar-amazon-strip) > .ydp-amazon-card > .ydp-amazon-btn { min-height: 34px; padding: 0 0.85rem; font-size: 0.74rem; }

/* §22.6 — the end CTA strip: CANONICAL bones. Payhip is always the
   primary left column; the Party Shop block is omitted entirely when
   partyshop_links is empty (the Payhip button then spans the grid
   via :only-child). */
.ydp-end-cta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.5rem auto 0;
  max-width: 620px;
}
.ydp-end-cta__payhip:only-child { grid-column: 1 / -1; }
.ydp-btn-cta-end {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.6rem 1.5rem;
  background: var(--ydp-gradient-gold);
  color: #221b33; font-weight: 800; font-size: 0.95rem;
  border-radius: 999px; text-align: center;
  box-shadow: 0 10px 26px rgba(226, 176, 74, 0.3);
  transition: transform 0.4s var(--ff-spring), box-shadow 0.35s var(--ff-out);
}
.ydp-btn-cta-end:hover { transform: scale(1.03); box-shadow: 0 14px 34px rgba(226, 176, 74, 0.4); }
.ydp-btn-shop-end {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.6rem 1.5rem;
  border: 1px solid var(--ydp-border-active); color: var(--ydp-gold-light);
  font-weight: 700; font-size: 0.95rem;
  border-radius: 999px; text-align: center;
  transition: transform 0.4s var(--ff-spring), background 0.3s var(--ff-out);
}
.ydp-btn-shop-end:hover { transform: scale(1.03); background: rgba(226, 176, 74, 0.08); }
@media (max-width: 640px) { .ydp-end-cta { grid-template-columns: 1fr; } }
/* 1.0.42: while the shop is closed (ydpc2_shop_is_open: no published product
   with a Zazzle listing URL), inc/content-links.php puts ydp-shop-closed on the
   body and the tools' Floor-2 Party Shop card stays hidden, so a tool never
   sends a reader to the landing's "Opening soon" state. The tools keep their
   own markup and JS; !important outranks their .visible rules. */
body.ydp-shop-closed .ydp-shop-card { display: none !important; }

/* ================================================================
   CAPTURE POPUP — OUR exit-intent module (capture-popup-v1 @CSS,
   modal component only; Brevo is pipes only — no Brevo-rendered
   forms anywhere, ever). Trigger stack + endpoint wiring: site.js.
   ================================================================ */
/* 1.0.43 (M1): closed is visibility:hidden as well as transparent, so the
   card's field, buttons and links leave the tab order and the
   accessibility tree (site.js also sets inert). visibility waits for the
   fade on the way out and switches at once on the way in. */
.pop-scrim {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 6, 16, 0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.45s var(--ff-out), visibility 0s linear 0.45s;
  display: grid; place-items: center;
  padding: 1.2rem;
}
.pop-scrim.pop-on { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity 0.45s var(--ff-out), visibility 0s linear 0s; }
.pop-card {
  position: relative;
  width: min(680px, 100%);
  border-radius: var(--ff-radius);
  border: 2px solid var(--ydp-gold);
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(226, 176, 74, 0.1), transparent 55%),
    var(--ydp-gradient-card);
  box-shadow: 0 0 40px rgba(226, 176, 74, 0.18), var(--ff-shadow-lift);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  transform: translateY(26px) scale(0.96);
  transition: transform 0.55s var(--ff-spring);
}
.pop-scrim.pop-on .pop-card { transform: none; }
.pop-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid var(--ydp-border-active);
  background: rgba(10, 10, 26, 0.6);
  color: var(--ydp-gold-light);
  font-size: 1.05rem; font-family: inherit; cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.4s var(--ff-spring), background 0.3s var(--ff-out);
}
.pop-close:hover { transform: rotate(90deg) scale(1.08); background: rgba(226, 176, 74, 0.15); }
/* 1.0.57 (queue job 22): the x is an inline SVG of two strokes, centred in the circle (as the lightbox's close). The
   text "✕" (U+2715) is not in Plus Jakarta Sans: a fallback font drew it 6 px right of the centre, and the quarter
   turn on hover carried it 6 px down. Now it turns in place. */
.pop-close, .ydp-search-close { padding: 0; }
.ydp-x { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pop-grid { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; }
/* the kit object (1.0.29): the kit's real first page, as in the band
   (article.css) and on the front page — ydpc2_kit_cover( 'pop-kit' ) */
.pop-kit { position: relative; width: 118px; aspect-ratio: 8.5 / 11; }
.pop-kit img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: 7px; background: #fff;
  box-shadow: 6px 6px 0 -2px #ece3d3, 6px 6px 0 -1px rgba(34, 27, 51, 0.12), var(--ff-shadow-rest);
  transform: rotate(-1.5deg);
}
.pop-kit-free {
  position: absolute; right: -10px; top: -10px;
  background: var(--ydp-gradient-cta); color: #14060a;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; transform: rotate(6deg);
  box-shadow: 0 4px 10px rgba(4, 4, 12, 0.35);
}
.pop-copy h2 { color: var(--ydp-text); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 800; line-height: 1.2; margin-top: 0.7rem; }
.pop-copy p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ydp-muted); }
.pop-form { display: flex; gap: 10px; margin-top: 1.1rem; flex-wrap: wrap; }
.pop-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Same specificity trap as the Letter's field: the Kadence parent's
   input[type=email] (0,1,1) beats a bare .pop-input (0,1,0) and paints
   it white. The popup prints on the front page too, so it is fixed
   here with it. (.art-news-input in article.css carries the same
   defect and is NOT touched — article pages are another errand.) */
input[type="email"].pop-input {
  flex: 1 1 220px; min-height: 48px; padding: 0 1.15rem;
  border-radius: 999px; border: 1px solid var(--ydp-border-active);
  background: rgba(10, 10, 26, 0.6); color: var(--ydp-text);
  font-family: inherit; font-size: 0.92rem;
  transition: border-color 0.3s var(--ff-out), box-shadow 0.3s var(--ff-out);
}
input[type="email"].pop-input::placeholder { color: rgba(136, 146, 164, 0.8); }
input[type="email"].pop-input:focus { border-color: var(--ydp-gold); box-shadow: 0 0 0 3px rgba(226, 176, 74, 0.18); outline: none; }
/* touch screens: 16px — iOS Safari zooms the page into any field under
   16px when it takes focus, and leaves it zoomed (1.0.34) */
@media (hover: none) and (pointer: coarse) { input[type="email"].pop-input { font-size: 16px; } }
.pop-consent { display: flex; align-items: flex-start; gap: 0.6rem; margin-top: 0.85rem; font-size: 0.76rem; color: var(--ydp-muted); cursor: pointer; }
.pop-consent input { position: absolute; opacity: 0; pointer-events: none; }
.pop-consent-box {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid var(--ydp-border-active);
  display: grid; place-items: center; margin-top: 0.05em;
  transition: background 0.3s var(--ff-out), border-color 0.3s var(--ff-out), transform 0.35s var(--ff-spring);
}
.pop-consent-box svg { width: 12px; height: 12px; stroke: var(--ydp-bg); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 0.35s var(--ff-out) 0.05s; }
.pop-consent input:checked + .pop-consent-box { background: var(--ydp-gradient-gold); border-color: var(--ydp-gold-light); transform: scale(1.08); }
.pop-consent input:checked + .pop-consent-box svg { stroke-dashoffset: 0; }
.pop-consent input:focus-visible + .pop-consent-box { outline: 2px solid var(--ydp-gold-light); outline-offset: 3px; }
.pop-consent a { color: var(--ydp-gold-light); border-bottom: 1px solid rgba(226, 176, 74, 0.4); }
.pop-dismiss {
  display: inline-block; margin-top: 0.9rem;
  font-size: 0.8rem; font-weight: 600; color: var(--ydp-muted);
  background: none; border: 0; cursor: pointer; font-family: inherit;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ff-out), border-color 0.25s var(--ff-out);
}
.pop-dismiss:hover { color: var(--ydp-gold-light); border-bottom-color: var(--ydp-border-active); }
@media (max-width: 560px) {
  .pop-grid { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .pop-kit { margin-top: 0.4rem; }
}
/* 1.0.25 — the phone sheet: the same card docked at the foot of the
   screen (site.js, scroll trigger). The page stays live behind it: no
   veil, no blur, the scrim lets every tap through to the page. */
.pop-scrim:not(.pop-sheet) .pop-k-sheet, .pop-sheet .pop-k-exit { display: none; }
.pop-scrim.pop-sheet {
  background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  place-items: end center; padding: 0;
}
.pop-scrim.pop-sheet.pop-on { pointer-events: none; }
.pop-scrim.pop-sheet .pop-card {
  pointer-events: auto;
  width: 100%; max-width: 560px;
  border-radius: 22px 22px 0 0; border-width: 1px 1px 0;
  padding: 1.1rem 1.15rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -14px 40px rgba(4, 4, 12, 0.62), 0 0 30px rgba(226, 176, 74, 0.12);
  transform: translateY(105%);
}
.pop-scrim.pop-sheet.pop-on .pop-card { transform: none; }
.pop-sheet .pop-grid { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: stretch; }
.pop-sheet .pop-kit, .pop-sheet .pop-copy > p:not([class]) { display: none; }
.pop-sheet .pop-copy h2 { margin-top: 0.45rem; padding-right: 2.6rem; font-size: 1.12rem; }
.pop-sheet .pop-form { margin-top: 0.8rem; }
.pop-sheet input[type="email"].pop-input { flex: 1 1 150px; min-width: 0; min-height: 46px; }
.pop-sheet .pop-form .art-btn { flex: none; min-height: 46px; padding: 0 1.1rem; }
/* the field and its button share a line; Turnstile, when the plugin
   has a key, takes the line under them */
.pop-sheet .pop-form .art-cap-ts { order: 3; }
.pop-sheet .pop-consent { margin-top: 0.7rem; font-size: 0.72rem; }
.pop-sheet .pop-dismiss { margin-top: 0.5rem; }
.pop-sheet .pop-close { top: 10px; right: 10px; width: 34px; height: 34px; }
/* --- port-side additions (not in the fragment: the demo had no wired
   endpoint). Honeypot + designed submit states, dressed exactly like
   article-v9's .art-news-ok / .art-news-err. --- */
.art-cap-hp, input[type="text"].art-cap-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Turnstile container injected by the capture binder — the capture
   forms are flex rows, so it must claim its own line.
   1.0.57 (queue job 22): it sits after the field and the button (site.js
   tsMount) and takes no room while the check runs unseen (interaction-only),
   so the row never moves and no empty line opens under it; when Cloudflare
   asks for a click, .is-asking gives the widget its own line below. */
.art-cap-ts { order: 99; position: absolute; width: 0; height: 0; overflow: hidden; }
.art-cap-ts.is-asking { position: static; flex: 0 0 100%; width: 100%; height: auto; overflow: visible; }
/* the plugin can answer with two paper sizes; the second sits under the first */
.art-cap-alt { margin-top: 0.5rem; }
.pop-ok, .pop-err {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  font-size: 0.9rem; font-weight: 600;
}
.pop-ok { background: rgba(226, 176, 74, 0.12); border: 1px solid var(--ydp-border-active); color: var(--ydp-gold-light); }
.pop-err { background: rgba(255, 107, 43, 0.1); border: 1px solid rgba(255, 107, 43, 0.45); color: #ff8c42; }
.pop-ok .art-btn--gold { display: flex; width: fit-content; margin-top: 0.7rem; }   /* 1.0.28: one per line, not inline after the text */
.pop-ok small { display: block; margin-top: 0.6rem; font-weight: 500; color: var(--ydp-muted); }
.pop-card.is-ok .pop-ok { display: block; }
.pop-card.is-ok .pop-form, .pop-card.is-ok .pop-consent, .pop-card.is-ok .pop-dismiss { display: none; }
.pop-card.is-err .pop-err { display: block; }
/* generic binder states — for capture forms without a designed state
   container (e.g. the article TOC rail mini form) */
.art-cap-ok, .art-cap-err {
  margin-top: 1rem;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  font-size: 0.9rem; font-weight: 600;
}
.art-cap-ok { background: rgba(226, 176, 74, 0.12); border: 1px solid var(--ydp-border-active); color: var(--ydp-gold-light); }
.art-cap-err { background: rgba(255, 107, 43, 0.1); border: 1px solid rgba(255, 107, 43, 0.45); color: #ff8c42; }
.art-cap-ok .art-btn--gold { margin-top: 0.7rem; }

@media print {
  .art-skip, .art-progress, .pop-scrim,
  .ydp-affiliate-note, .ydp-amazon-strip, .ydp-pillar-amazon-strip, .ydp-payhip-hero,
  .ydp-payhip-strip, .ydp-shop-inline, .ydp-end-cta, .pil-kit, .pil-deeper, .pil-end,
  .art-footer-grid, .art-footer-legal, .art-footer-micro, .ff-still-toggle {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  /* 1.0.43 (m16): a section not yet scrolled into view printed blank */
  html.ydp-js .art-rise { opacity: 1 !important; transform: none !important; }
  .art-footer { background: #fff; border-top: 1px solid #bbb; padding: 1rem 0 0; }
  .art-footer-bottom { padding: 0; }
  .art-footer-copy { color: #333; }
}

/* YDP-AUTOFILL-GUARD — Chromium autofill paints fields black via
   -webkit-text-fill-color (plain `color` cannot counter it; only this
   property can). Scoped to the locked tool wrapper; additive only. */
.ydp-tool-wrapper input:-webkit-autofill,
.ydp-tool-wrapper input:-webkit-autofill:hover,
.ydp-tool-wrapper input:-webkit-autofill:focus,
.ydp-tool-wrapper textarea:-webkit-autofill,
.ydp-tool-wrapper select:-webkit-autofill {
  -webkit-text-fill-color: var(--ydp-text, #f0e6d3) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--ydp-card-light, #1a1a2e) inset !important;
  caret-color: var(--ydp-text, #f0e6d3) !important;
  transition: background-color 9999999s ease-out 0s !important;
}
.ydp-tool-wrapper input,
.ydp-tool-wrapper select,
.ydp-tool-wrapper textarea { -webkit-text-fill-color: currentColor; }

/* YDP-FIELD-GUARD-2 — field ink + native date chrome. Kadence
   palette rules must never ink tool fields; modern Chromium draws
   the picker indicator per color-scheme, so the legacy invert(1)
   hack double-flips it dark — neutralized theme-wide. */
.ydp-tool-wrapper input,
.ydp-tool-wrapper select,
.ydp-tool-wrapper textarea { color: var(--ydp-text, #f0e6d3) !important; }
.ydp-tool-wrapper ::placeholder { color: var(--ydp-muted, #8892a4) !important; opacity: 0.7; }
.ydp-tool-wrapper input[type="date"],
.ydp-tool-wrapper input[type="time"] { color-scheme: dark; }
.ydp-tool-wrapper input[type="date"]::-webkit-calendar-picker-indicator,
.ydp-tool-wrapper input[type="time"]::-webkit-calendar-picker-indicator { filter: none !important; opacity: 0.85; }
/* HOVER-INK GUARD for the tool embeds' gold-fill anchors: their own
   scoped ink is (0,2,0), this belt (0,3,0) makes sure nothing above
   the wrapper can repaint the label into the gold fill on hover. */
.ydp-tool-wrapper .ydp-vip-btn:hover, .ydp-tool-wrapper .ydp-vip-btn:focus, .ydp-tool-wrapper .ydp-vip-btn:active,
.ydp-tool-wrapper .ydp-shop-btn:hover, .ydp-tool-wrapper .ydp-shop-btn:focus, .ydp-tool-wrapper .ydp-shop-btn:active,
.ydp-tool-wrapper a.ydp-btn-primary:hover, .ydp-tool-wrapper a.ydp-btn-primary:focus, .ydp-tool-wrapper a.ydp-btn-primary:active { color: #0a0a1a; }

/* YDP-CURSOR — the cursor presence, site-wide (the front page keeps
   front.js's richer engine). Ring and dot are each fixed at 0,0 and
   centered by the trailing translate(-50%,-50%) in their transform;
   origin 0 0 keeps that center exact under scale. 1.0.43 (D3, m10): the
   dot and ring are decoration beside the SYSTEM pointer — cursor:none is
   gone, so an enlarged or high-contrast pointer stays the visitor's. Fine
   pointers only (site.js), and off while the house is paused (MOTION,
   below). The layer's z-index rides above every modal surface (theme
   scrims 200/260, tool share-modals 10001). */
.ydp-cur { position: fixed; left: 0; top: 0; z-index: 10500; pointer-events: none; opacity: 0; }
.ydp-cur-on .ydp-cur { opacity: 1; }
.ydp-cur-ring { position: fixed; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(226, 176, 74, 0.55); will-change: transform; }
.ydp-cur-dot { position: fixed; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ydp-gold-light); box-shadow: 0 0 12px rgba(245, 204, 122, 0.55); will-change: transform; }
/* STATE DRESS — the ring wears the pointer state: a spun gold arc
   while the target is busy (aria-busy / .is-loading), a muted ring
   with a diagonal strike when it is disabled ([disabled] /
   [aria-disabled] / customizer-locked externals). The arc spins on
   ::before so the JS-driven transform on the ring itself is never
   touched; text fields keep the native I-beam for caret work. */
.ydp-cur-ring::before, .ydp-cur-ring::after { content: ''; position: absolute; opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ff-out); }
.ydp-cur-ring::before { inset: -1.5px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--ydp-gold); }
.ydp-cur-ring::after { left: 50%; top: 50%; width: calc(100% + 4px); height: 1.5px; border-radius: 1px; background: rgba(136, 146, 164, 0.9); transform: translate(-50%, -50%) rotate(-45deg); }
.ydp-cur-ring.is-busy { border-color: rgba(226, 176, 74, 0.18); }
.ydp-cur-ring.is-busy::before { opacity: 1; animation: ydp-cur-spin 0.7s linear infinite; }
.ydp-cur-ring.is-dis { border-color: rgba(136, 146, 164, 0.55); }
.ydp-cur-ring.is-dis::after { opacity: 1; }
.ydp-cur-dot.is-dis { background: var(--ydp-muted); box-shadow: 0 0 8px rgba(136, 146, 164, 0.4); }
.ydp-cur-dot.is-busy { background: var(--ydp-gold); }
@keyframes ydp-cur-spin { to { transform: rotate(360deg); } }

/* YDP-HEADER-GROUND -- ported verbatim from the live kadence-child
   HEADER section: the Kadence builder header wears the house palette
   even before theme_mods migrate at activation. */

/* ================================================
   HEADER
   ================================================ */
#masthead,
.site-header,
header.site-header,
.site-header-wrap,
.site-header-inner-wrap,
.site-header-upper-wrap,
.site-header-lower-wrap,
.site-main-header-wrap,
.site-main-header-inner-wrap,
.header-main,
#masthead .site-header-wrap,
#masthead .site-main-header-wrap,
#masthead .site-main-header-inner-wrap,
.kadence-sticky-header .site-header-wrap,
.kadence-sticky-header .site-main-header-wrap,
.item-is-fixed .site-header-wrap,
.item-is-fixed .site-main-header-wrap {
  background-color: var(--ydp-bg) !important;
  background: var(--ydp-bg) !important;
}

.site-main-header-wrap,
.header-main {
  border-bottom: 1px solid rgba(226, 176, 74, 0.12) !important;
}

/* ── Navigation ── */
.header-navigation .menu-item > a,
.header-navigation .menu-item > .kb-nav-link-content,
.primary-navigation .menu-item > a,
.main-navigation .menu-item > a,
#masthead .header-navigation a,
#masthead .primary-navigation a {
  color: var(--ydp-text) !important;
  transition: color 0.25s ease !important;
}

.header-navigation .menu-item > a:hover,
.header-navigation .menu-item > a:focus,
.header-navigation .menu-item.current-menu-item > a,
.primary-navigation .menu-item > a:hover,
.primary-navigation .menu-item.current-menu-item > a {
  color: var(--ydp-gold) !important;
}

/* ── Dropdowns ── */
.header-navigation .sub-menu,
.header-navigation ul.submenu,
.primary-navigation .sub-menu,
.primary-navigation ul ul {
  background-color: var(--ydp-card) !important;
  border: 1px solid rgba(226, 176, 74, 0.2) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden !important;
}

.header-navigation .sub-menu a,
.primary-navigation .sub-menu a {
  color: var(--ydp-text) !important;
}

.header-navigation .sub-menu a:hover,
.primary-navigation .sub-menu a:hover {
  color: var(--ydp-gold) !important;
  background-color: var(--ydp-card-light) !important;
}

/* YDP-HEADER-NAV-DRESS -- the builder nav speaks the dock language:
   pill chips, gold hover/current, and the dock glyph before each of
   the five destinations (href-matched, so it survives any menu id). */
.header-navigation .menu-item > a, .primary-navigation .menu-item > a, .main-navigation .menu-item > a { display: inline-flex !important; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0.35rem 1.05rem !important; border-radius: 999px; border: 1px solid transparent; font-size: 0.86rem !important; font-weight: 600 !important; }
.header-navigation .menu-item > a:hover, .primary-navigation .menu-item > a:hover, .main-navigation .menu-item > a:hover { background: rgba(226, 176, 74, 0.08) !important; border-color: rgba(226, 176, 74, 0.25) !important; }
/* ── Mobile drawer — the full approved dress from the live child
   (dark ground, readable links, card sub-menus, muted close) ── */
.mobile-navigation-container,
.mobile-toggle-open .site-header-wrap,
.popup-drawer,
.popup-drawer-layout-fullwidth .drawer-content,
.popup-drawer-layout-sidepanel .drawer-inner {
  background-color: var(--ydp-bg) !important;
}
.mobile-navigation-container a,
.popup-drawer a {
  color: var(--ydp-text) !important;
  border-color: rgba(226, 176, 74, 0.1) !important;
}
.mobile-navigation-container a:hover,
.popup-drawer a:hover {
  color: var(--ydp-gold) !important;
}
.mobile-navigation-container .sub-menu { background-color: var(--ydp-card) !important; }
.menu-toggle-close { color: var(--ydp-muted) !important; }
.menu-toggle-close:hover { color: var(--ydp-gold) !important; }
.header-navigation .menu-item.current-menu-item > a, .primary-navigation .menu-item.current-menu-item > a { background: rgba(226, 176, 74, 0.12) !important; border-color: rgba(226, 176, 74, 0.35) !important; }
.header-navigation a[href*='/tools/']::before, .primary-navigation a[href*='/tools/']::before, .mobile-navigation a[href*='/tools/']::before { content: ''; flex: 0 0 auto; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b04a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M19.1 4.9L17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-navigation a[href*='/printables/']::before, .primary-navigation a[href*='/printables/']::before, .mobile-navigation a[href*='/printables/']::before { content: ''; flex: 0 0 auto; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b04a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-navigation a[href*='/party-shop/']::before, .primary-navigation a[href*='/party-shop/']::before, .mobile-navigation a[href*='/party-shop/']::before { content: ''; flex: 0 0 auto; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b04a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12H6.2z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-navigation a[href*='/occasions/']::before, .primary-navigation a[href*='/occasions/']::before, .mobile-navigation a[href*='/occasions/']::before { content: ''; flex: 0 0 auto; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b04a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.3-6-10a6 6 0 1 1 12 0c0 4.7-6 10-6 10z'/%3E%3Ccircle cx='12' cy='11' r='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.header-navigation a[href*='/journal/']::before, .primary-navigation a[href*='/journal/']::before, .mobile-navigation a[href*='/journal/']::before { content: ''; flex: 0 0 auto; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b04a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5c-2-1.5-5-1.5-8 0v14c3-1.5 6-1.5 8 0 2-1.5 5-1.5 8 0V5c-3-1.5-6-1.5-8 0z'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat; }

/* YDP-SEARCH-MOMENT — the search is a moment, not a field. A gold
   magnifier chip rides the nav; it opens a full-screen veil with one
   glass card: Satisfy kicker, the house question, a generous input
   and the golden stitch beneath. Submits to /?s= — search.php
   already wears the full dress. */
.ydp-search-item { display: inline-flex; align-items: center; }
.ydp-search-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 40px; padding: 0.35rem 1.05rem;
  border-radius: 999px; border: 1px solid rgba(226, 176, 74, 0.3);
  background: rgba(226, 176, 74, 0.06);
  color: var(--ydp-text, #f0e6d3); font: inherit; font-size: 0.86rem; font-weight: 600;
  cursor: pointer; transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ydp-search-toggle:hover { background: rgba(226, 176, 74, 0.14); border-color: rgba(226, 176, 74, 0.45); transform: translateY(-1px); }
.ydp-search-glyph { width: 15px; height: 15px; flex: 0 0 auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b04a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Closed state must release the pointer: opacity alone keeps the
   fixed overlay hit-testable, and the author display:grid would
   defeat the hidden attribute (UA [hidden] is non-important) — so
   the closed veil pairs opacity with pointer-events like .pop-scrim,
   and the [hidden] guard pins display:none outright. */
.ydp-search-scrim {
  position: fixed; inset: 0; z-index: 260;
  background: rgba(4, 4, 12, 0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.ydp-search-scrim.is-on { opacity: 1; pointer-events: auto; }
#ydp-search-scrim[hidden] { display: none !important; }
.ydp-search-card {
  width: min(560px, 100%);
  background: var(--ydp-gradient-card, linear-gradient(135deg, #12122a, #1a1a2e));
  border: 1px solid rgba(226, 176, 74, 0.35);
  border-radius: 20px;
  padding: clamp(1.6rem, 5vw, 2.4rem);
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(226, 176, 74, 0.12);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ydp-search-scrim.is-on .ydp-search-card { transform: none; }
.ydp-search-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(226, 176, 74, 0.3); background: none;
  color: var(--ydp-muted, #8892a4); font-size: 1.1rem; line-height: 1; cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ydp-search-close:hover { color: var(--ydp-gold-light, #f5cc7a); border-color: rgba(226, 176, 74, 0.55); transform: rotate(90deg); }
.ydp-search-close { display: grid; place-items: center; } /* 1.0.57: centres the SVG x (above) */
.ydp-search-kicker { font-family: 'Satisfy', 'Satisfy Fallback', cursive; font-size: 1.3rem; color: var(--ydp-gold, #e2b04a); }
.ydp-search-card h2 { color: var(--ydp-text, #f0e6d3); font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; line-height: 1.15; margin: 0.35rem 0 1.1rem; }
.ydp-search-form { display: flex; gap: 10px; }
/* 1.0.34: input[type=search] + the class (0-2-1) outranks the Kadence
   parent's input[type=search] (0-1-1), which painted this field white */
input[type="search"].ydp-search-input {
  flex: 1; min-height: 54px; padding: 0 1.2rem;
  border-radius: 14px; border: 1px solid rgba(226, 176, 74, 0.25);
  background: rgba(10, 10, 26, 0.65);
  color: var(--ydp-text, #f0e6d3) !important; font-family: inherit; font-size: 1rem;
}
input[type="search"].ydp-search-input::placeholder { color: rgba(240, 230, 211, 0.4); }
input[type="search"].ydp-search-input:focus { outline: none; border-color: var(--ydp-gold, #e2b04a); box-shadow: 0 0 0 3px rgba(226, 176, 74, 0.18); }
.ydp-search-stitch { display: block; width: min(280px, 70%); margin: 1.2rem auto 0; overflow: visible; }
.ydp-search-stitch path { fill: none; stroke: var(--ydp-gold, #e2b04a); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 9; opacity: 0.7; }
@media (max-width: 520px) { .ydp-search-form { flex-direction: column; } }
/* 1.0.41: CTA arrows are drawn here, never written in the copy (FILE_2 section 5: no arrows in
   CTA text). The span keeps its place, class and aria-hidden; the second content line gives the
   glyph empty alt text where supported, so screen readers skip it either way. */
.ydp-arw::after { content: "\2192"; content: "\2192" / ""; }

/* ================================================================
   MOTION (1.0.43, D3 — Vladi 12.11). One policy for the whole site;
   the full note is in functions.php (MOTION POLICY).
   ================================================================ */

/* THE SWITCH — the home page's pause control, now on every page: the
   footer carries it, and the home page keeps its dock and hero twins
   (front.css places those). site.js wires every .ff-still-toggle and
   ydpc2_motion_head() applies the remembered state before paint. Two bars
   while the decoration moves (press to pause), a play triangle while it
   is still (press to resume); aria-pressed carries the state, the title
   names the next action. */
.ff-still-toggle {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(226, 176, 74, 0.3);
  background: rgba(226, 176, 74, 0.06);
  color: var(--ydp-text, #f0e6d3); font: inherit;
  cursor: pointer; transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ff-spring);
}
.ff-still-toggle:hover, .ff-still-toggle:focus-visible { background: rgba(226, 176, 74, 0.14); border-color: rgba(226, 176, 74, 0.45); transform: translateY(-1px); }
.ff-still-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.ff-still-glyph { position: relative; width: 12px; height: 12px; }
.ff-still-glyph::before, .ff-still-glyph::after {
  content: ''; position: absolute; top: 0; width: 4px; height: 12px;
  border-radius: 1px; background: var(--ydp-gold);
}
.ff-still-glyph::before { left: 1px; }
.ff-still-glyph::after { right: 1px; }
.ff-still-toggle[aria-pressed="true"] .ff-still-glyph::before {
  left: 2px; width: 0; height: 0; border-radius: 0; background: none;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ydp-gold);
}
.ff-still-toggle[aria-pressed="true"] .ff-still-glyph::after { display: none; }
/* the footer's: a pill that says what it does, in the bottom row */
.ff-still-foot { width: auto; height: auto; min-height: 34px; gap: 0.55rem; padding: 0 0.9rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--ydp-muted); }
.ff-still-foot .ff-still-text { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: nowrap; }
.ff-still-foot:hover, .ff-still-foot:focus-visible { color: var(--ydp-gold-light); }
/* 1.0.47: room under the footer while CookieYes's consent box is open, so
   its last row (the pause switch) scrolls above the box; site.js
   YDP-CKY-ROOM measures the box. Without the class nothing changes. */
html.ydp-cky-open body { padding-bottom: var(--ydp-cky-room, 0px); }

/* COOKIEYES (1.0.49, queue job 10, D8): the consent bar keeps the house's
   dark, from the theme's tokens, not CookieYes's white and blue. CookieYes
   paints the bar's colours inline, from its settings, so each colour here is
   !important. Every rule sits under .cky-consent-bar: the preference centre
   (.cky-modal, behind Customise) keeps CookieYes's own white. Only colours
   change; CookieYes's sizes, spacing, order and hover stay. Each text reads
   at 4.5:1 or more on the card, the "CookieYes" logo (an SVG in
   currentColor) at 3:1 or more, so "Powered by" is drawn at full opacity.
   Accept All is the primary button's gold gradient with ink; Reject All and
   Customise stay outline buttons in gold. The focus ring keeps CookieYes's
   width and offset (its .cky-btn:focus-visible outranks the theme's
   button:focus-visible) in the theme's gold-light instead of its blue. */
.cky-consent-bar {
  background-color: var(--ydp-card) !important;
  border-color: var(--ydp-border) !important;
}
.cky-consent-bar .cky-title { color: var(--ydp-text) !important; }
.cky-consent-bar .cky-notice-des { color: var(--ydp-muted) !important; }
.cky-consent-bar .cky-notice-des a,
.cky-consent-bar .cky-notice-des button { color: var(--ydp-gold-light) !important; }
.cky-consent-bar .cky-btn:focus-visible,
.cky-consent-bar .cky-notice-des a:focus-visible,
.cky-consent-bar .cky-notice-des button:focus-visible { outline-color: var(--ydp-gold-light) !important; }
.cky-consent-bar [data-cky-tag="powered-by"] { color: var(--ydp-muted) !important; }
.cky-consent-bar [data-cky-tag="powered-by"] div { opacity: 1; }
.cky-consent-bar .cky-btn-accept {
  background: var(--ydp-gradient-gold) !important;
  border-color: var(--ydp-gold) !important;
  color: var(--ff-ink) !important;
}
.cky-consent-bar .cky-btn-customize,
.cky-consent-bar .cky-btn-reject {
  border-color: var(--ydp-gold) !important;
  color: var(--ydp-gold-light) !important;
}
/* 1.0.50 (queue job 13, Claude's review 1.5; D8's For Claude 1): in the preference centre CookieYes's own
   .cky-btn:hover { opacity: .8 } took Reject All, Save My Preferences and Accept All to 3.77:1 under the mouse; at
   full opacity they keep the panel's 5.44:1. */
.cky-modal .cky-btn:hover { opacity: 1; }

/* PAUSED — every endless animation on the site, by name: a blanket rule
   would also freeze one-off entrances half-way, and must never reach into
   the tools' locked DOM. The home page's loops (moved here from front.css;
   the needle's pulse is on ::after, which the old list missed), then the
   inner pages'. The cursor presence steps aside too. */
html.ff-still .ff-prop, html.ff-still .ff-prop *,
html.ff-still .ff-medal-rays,
html.ff-still .ff-stockdot,
html.ff-still .ff-orbitfield, html.ff-still .ff-orb, html.ff-still .ff-orb-inner,
html.ff-still .ff-needle, html.ff-still .ff-needle::after,
html.ff-still .th-medal::before,
html.ff-still .sy-empty-obj::before,
html.ff-still .tcx-jump > svg,
html.ff-still .pil-dial::before,
html.ff-still .art-tool-dial::before,
html.ff-still .art-hotspot::after,
html.ff-still .art-frame-balloon { animation-play-state: paused !important; }
html.ff-still .ydp-cur, html.ff-still .ff-cur { display: none !important; }

/* (1.0.46, 14.11: the REDUCED MOTION block that 1.0.43 put here is gone.
   The OS reduced-motion flag is not read anywhere in the theme; the pause
   switch above is the only motion gate.) */

/* THE BUTTON BELT (1.0.57, queue job 22). Kadence's global rule
   (button:hover, button:focus, button:active at 0,1,1) paints any
   <button> with its palette's gold, its hover text colour and a shadow
   wherever a theme button leaves background, colour or shadow unset in
   that state: the popup's "No thank you" became a gold bar with its
   text gone (contrast 1.0), and the popup's x was gold on gold on focus.
   Every button the theme draws now sets all three itself on :hover,
   :focus, :focus-visible and :active: its designed hover where it has
   one, its rest look where it has none (the chips' and the drawer's
   pressed looks stay theirs). The keyboard ring is the theme's own
   (a:focus-visible, button:focus-visible above). */
button.art-btn:hover, button.art-btn:focus, button.art-btn:focus-visible, button.art-btn:active { background: var(--ydp-gradient-cta); color: #14060a; box-shadow: 0 14px 34px rgba(255, 107, 43, 0.45); }
button.art-btn.art-btn--gold:hover, button.art-btn.art-btn--gold:focus, button.art-btn.art-btn--gold:focus-visible, button.art-btn.art-btn--gold:active { background: var(--ydp-gradient-gold); color: #221b33; box-shadow: 0 14px 34px rgba(226, 176, 74, 0.4); }
button.art-btn.art-btn--ghost:hover, button.art-btn.art-btn--ghost:focus, button.art-btn.art-btn--ghost:focus-visible, button.art-btn.art-btn--ghost:active { background: rgba(226, 176, 74, 0.08); color: var(--ydp-gold-light); box-shadow: none; }
button.art-btn.ps-buy-off:hover, button.art-btn.ps-buy-off:focus, button.art-btn.ps-buy-off:focus-visible, button.art-btn.ps-buy-off:active { background: rgba(136, 146, 164, 0.12); color: var(--ydp-muted); box-shadow: none; }
.ff-cta:hover, .ff-cta:focus, .ff-cta:focus-visible, .ff-cta:active { background: var(--ydp-gradient-cta); color: var(--ydp-bg); box-shadow: 0 14px 38px -10px rgba(255, 107, 43, 0.7); }
.ff-handbtn:hover, .ff-handbtn:focus, .ff-handbtn:focus-visible, .ff-handbtn:active, .ff-remix:hover, .ff-remix:focus, .ff-remix:focus-visible, .ff-remix:active, .ff-shuffle:hover, .ff-shuffle:focus, .ff-shuffle:focus-visible, .ff-shuffle:active { background: var(--ydp-card-light); color: var(--ydp-gold-light); box-shadow: none; }
.th-chip:hover, .th-chip:focus, .th-chip:focus-visible, .th-chip:active, .sh-chip:hover, .sh-chip:focus, .sh-chip:focus-visible, .sh-chip:active, .ph-chip:hover, .ph-chip:focus, .ph-chip:focus-visible, .ph-chip:active { background: rgba(18, 18, 42, 0.5); color: var(--ydp-gold-light); box-shadow: none; }
.th-chip[aria-pressed="true"]:hover, .th-chip[aria-pressed="true"]:focus, .th-chip[aria-pressed="true"]:focus-visible, .th-chip[aria-pressed="true"]:active, .sh-chip[aria-pressed="true"]:hover, .sh-chip[aria-pressed="true"]:focus, .sh-chip[aria-pressed="true"]:focus-visible, .sh-chip[aria-pressed="true"]:active, .ph-chip[aria-pressed="true"]:hover, .ph-chip[aria-pressed="true"]:focus, .ph-chip[aria-pressed="true"]:focus-visible, .ph-chip[aria-pressed="true"]:active { background: var(--ydp-gradient-gold); color: #221b33; }
.art-toc-toggle:hover, .art-toc-toggle:focus, .art-toc-toggle:focus-visible, .art-toc-toggle:active { background: rgba(10, 10, 26, 0.9); color: var(--ydp-gold-light); box-shadow: var(--ff-shadow-rest); }
.art-toc.art-open + .art-toc-toggle:hover, .art-toc.art-open + .art-toc-toggle:focus, .art-toc.art-open + .art-toc-toggle:focus-visible, .art-toc.art-open + .art-toc-toggle:active, body.art-drawer-open .art-toc-toggle:hover, body.art-drawer-open .art-toc-toggle:focus, body.art-drawer-open .art-toc-toggle:focus-visible, body.art-drawer-open .art-toc-toggle:active { background: var(--ydp-gradient-gold); color: #221b33; }
.ydp-search-toggle:hover, .ydp-search-toggle:focus, .ydp-search-toggle:focus-visible, .ydp-search-toggle:active { background: rgba(226, 176, 74, 0.14); color: var(--ydp-text, #f0e6d3); box-shadow: none; }
.ydp-search-close:hover, .ydp-search-close:focus, .ydp-search-close:focus-visible, .ydp-search-close:active { background: none; color: var(--ydp-gold-light, #f5cc7a); box-shadow: none; }
.pop-close:hover, .pop-close:focus, .pop-close:focus-visible, .pop-close:active { background: rgba(226, 176, 74, 0.15); color: var(--ydp-gold-light); box-shadow: none; }
.pop-dismiss:hover, .pop-dismiss:focus, .pop-dismiss:focus-visible, .pop-dismiss:active { background: none; color: var(--ydp-gold-light); box-shadow: none; border-bottom-color: var(--ydp-border-active); }
.ff-still-toggle:hover, .ff-still-toggle:focus, .ff-still-toggle:focus-visible, .ff-still-toggle:active { background: rgba(226, 176, 74, 0.14); color: var(--ydp-text, #f0e6d3); box-shadow: none; }
.ff-still-toggle.ff-still-foot:hover, .ff-still-toggle.ff-still-foot:focus, .ff-still-toggle.ff-still-foot:focus-visible, .ff-still-toggle.ff-still-foot:active { color: var(--ydp-gold-light); }
.ps-lb-btn:hover, .ps-lb-btn:focus, .ps-lb-btn:focus-visible, .ps-lb-btn:active { background: rgba(10, 10, 26, 0.82); color: var(--ydp-gold-light); box-shadow: none; }
.ps-gal-main:hover, .ps-gal-main:focus, .ps-gal-main:focus-visible, .ps-gal-main:active { background: #efe5d2; color: inherit; box-shadow: 0 26px 64px rgba(4, 4, 12, 0.55), inset 0 0 0 1px rgba(226, 176, 74, 0.2); }
.ps-gal-thumb:hover, .ps-gal-thumb:focus, .ps-gal-thumb:focus-visible, .ps-gal-thumb:active { background: #efe5d2; color: inherit; box-shadow: none; }
.ps-gal-thumb[aria-pressed="true"]:hover, .ps-gal-thumb[aria-pressed="true"]:focus, .ps-gal-thumb[aria-pressed="true"]:focus-visible, .ps-gal-thumb[aria-pressed="true"]:active { box-shadow: 0 0 0 2px rgba(226, 176, 74, 0.35); }
/* 1.0.59: the tools' results modal (ydp-email-results) draws its two buttons with inline colours and no shadow, so
   Kadence's grey drop shadow came with hover and focus; they keep none. */
#ydp-submit-btn:hover, #ydp-submit-btn:focus, #ydp-submit-btn:focus-visible, #ydp-submit-btn:active, #ydp-close-btn:hover, #ydp-close-btn:focus, #ydp-close-btn:focus-visible, #ydp-close-btn:active { box-shadow: none; }
