/* ============================================================================
   Bonita's Kitchen - design tokens
   Every colour value here is sampled from a brand asset or derived from one and
   measured against WCAG 2.1. No value is eyeballed. See design-system.html for
   the contrast table and the rules that govern each token.
   ========================================================================= */

:root {
  /* --- Colour: two inks and a stock -------------------------------------- */

  /* The house colour. Sampled from BK-logo-dark.svg / BK-logo-light.svg.
     Surfaces and display type only. Ink on pink = 5.10:1. */
  --bk-pink:        #ef5997;
  /* Interactive darkening of the house colour. Ink stays legible at 4.67:1. */
  --bk-pink-hover:  #e35690;
  /* Soft pink surfaces. Pink over cream at 20%. Ink on tint = 11.94:1. */
  --bk-pink-tint:   #f5d4db;
  /* Faintest pink surface. Pink over white at 10%. Ink on wash = 14.59:1. */
  --bk-pink-wash:   #fdeef5;

  /* The ink. Sampled from the logo. Carries all body copy. */
  --bk-ink:         #221f1f;
  /* Secondary text. Ink at 72% over cream, so it stays warm and never greys.
     6.17:1 on cream. */
  --bk-ink-soft:    #5e5a58;
  /* Hairline rules. Ink at 18% over cream. Structural, never text. */
  --bk-rule:        #d1cdc7;

  /* The stock. */
  --bk-cream:       #f7f3ec;   /* ink on cream = 14.79:1 */
  --bk-paper:       #ffffff;   /* ink on white = 16.36:1 */
  --bk-wood:        #c98f52;   /* honey pine, from her kitchen. ink = 5.87:1 */

  /* --- Type -------------------------------------------------------------- */

  --bk-display: 'Faustina', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --bk-text:    'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                Roboto, Helvetica, Arial, sans-serif;
  /* Data only: hex values and token names. Never a voice. */
  --bk-mono:    ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Scale. Two thirds of the audience is 55+, a large group 65+.
     19px is the body floor, not a large-text option. Nothing sets below 16px. */
  --bk-size-label:   1rem;       /* 16px - caps labels, the absolute floor */
  --bk-size-body:    1.1875rem;  /* 19px - body floor */
  --bk-size-lead:    1.375rem;   /* 22px - opening paragraphs */
  --bk-size-h4:      1.25rem;    /* 20px */
  --bk-size-h3:      1.5rem;     /* 24px */
  --bk-size-h2:      2rem;       /* 32px */
  --bk-size-h1:      2.75rem;    /* 44px */
  --bk-size-display: 4.25rem;    /* 68px - ceiling is 6rem, we sit under it */

  --bk-leading-tight: 1.15;
  --bk-leading-snug:  1.32;
  --bk-leading-body:  1.62;

  --bk-measure: 68ch;            /* prose, inside the 65-75ch band */

  /* --- Space. 4px base. ------------------------------------------------- */

  --bk-space-1:  0.25rem;
  --bk-space-2:  0.5rem;
  --bk-space-3:  0.75rem;
  --bk-space-4:  1rem;
  --bk-space-5:  1.5rem;
  --bk-space-6:  2rem;
  --bk-space-7:  2.5rem;
  --bk-space-8:  3rem;
  --bk-space-9:  4rem;
  --bk-space-10: 5rem;
  --bk-space-11: 6.5rem;
  --bk-space-12: 8rem;

  /* --- Form. Rounded and friendly, never geometric and sharp. ----------- */

  --bk-radius-sm: 4px;
  --bk-radius:    8px;
  --bk-radius-lg: 14px;

  /* Offset and soft blur, both. Never a zero-offset halo. */
  --bk-shadow-1: 0 1px 2px rgba(34, 31, 31, 0.05),
                 0 2px 8px rgba(34, 31, 31, 0.06);
  --bk-shadow-2: 0 2px 4px rgba(34, 31, 31, 0.06),
                 0 10px 28px rgba(34, 31, 31, 0.10);

  /* --- Motion ----------------------------------------------------------- */

  --bk-ease: cubic-bezier(0.16, 1, 0.3, 1);   /* exponential ease-out */
  --bk-dur:  340ms;

  /* --- Layout ----------------------------------------------------------- */

  --bk-gutter: clamp(1.25rem, 5vw, 4rem);
  --bk-content: 46rem;
  --bk-popout: 62rem;
  --bk-wide: 78rem;
}
/* Web faces, chosen 2026-10-03 (direction B). Fraunces (display) + Commissioner (text).
   Source: Google Fonts, SIL Open Font License 1.1. Self-hosted, latin + latin-ext. */

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/commissioner-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/commissioner-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/fraunces-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/fraunces-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================================
   Bonita's Kitchen - web foundation.
   The brand tokens live in ../../styles/tokens.css and are not redefined here.
   This file adds the web layer on top of them: semantic roles, control sizing,
   element defaults, browser surfaces and layout primitives. Every value below
   either points at a brand token or states how it was derived and measured.
   Maps to theme.json -> settings + styles.elements in the block theme.
   ========================================================================= */


:root {
  /* --- Web type (chosen 2026-10-03, direction B) ------------------------
     The brand guide still sets Faustina + Libre Franklin; the website uses
     Fraunces for headings and Commissioner for text. Fraunces is fully soft
     everywhere; its wonky forms only switch on at H1 and H2 sizes, where
     they read as hand-lettering instead of clutter. */
  --bk-display: 'Fraunces', Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --bk-text:    'Commissioner', 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bk-axes-big:   'SOFT' 100, 'WONK' 1;
  --bk-axes-small: 'SOFT' 100, 'WONK' 0;

  /* Measure in rem, not ch: 68ch ran 88 to 94 characters a line at 19px. */
  --bk-measure: 40rem;

  /* --- Semantic roles (all point at brand tokens) ------------------------ */
  --bk-ground:        var(--bk-cream);   /* page */
  --bk-reserve:       var(--bk-paper);   /* the recipe itself, forms, tables */
  --bk-text-color:    var(--bk-ink);
  --bk-text-muted:    var(--bk-ink-soft);/* captions and meta only, 6.17:1 cream, 6.82:1 paper */

  /* State colour. The guide's document red, promoted for form errors only.
     Pink family, darkened. 6.99:1 on cream, 7.73:1 on paper, 5.64:1 on tint.
     Never a brand surface, never decoration. Always paired with an icon + words. */
  --bk-error:         #a3123f;

  /* --- Controls. Sized for less precise pointing (55+ audience). --------- */
  --bk-control-h:      3.25rem;          /* 52px, above the 44px minimum */
  --bk-control-h-lg:   3.75rem;          /* 60px, cook mode and hero actions */
  --bk-control-pad:    1.375rem;
  /* Field borders need 3:1 against the ground (WCAG 1.4.11). The hairline
     rule is 1.43:1 and is decoration only, so fields use soft ink: 6.17:1. */
  --bk-control-border: var(--bk-ink-soft);
  --bk-check-size:     1.75rem;          /* 28px checkboxes, ticked with a floury finger */

  /* Focus. The guide's pink ring is 2.90:1 on cream, under the 3:1 a focus
     indicator needs, so the web ring is ink (14.79:1). Pink stays the hover
     colour on links and underlines. Cream ring on ink grounds. */
  --bk-focus-ring:     var(--bk-ink);
  --bk-focus-width:    3px;
  --bk-focus-offset:   3px;

  /* Body reading size for steps you follow with your hands full. */
  --bk-size-step:      1.3125rem;        /* 21px */
  --bk-size-cook:      clamp(1.75rem, 3.6vw, 2.5rem); /* cook mode step text */
}

/* --- Reset and base -------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--bk-space-6);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

body {
  margin: 0;
  background: var(--bk-ground);
  color: var(--bk-text-color);
  font-family: var(--bk-text);
  font-size: var(--bk-size-body);
  line-height: var(--bk-leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

/* --- Browser surfaces ------------------------------------------------------ */

::selection { background: var(--bk-pink-tint); color: var(--bk-ink); }
body { caret-color: var(--bk-ink); accent-color: var(--bk-pink); }

* { scrollbar-color: var(--bk-wood) var(--bk-cream); scrollbar-width: thin; }
::-webkit-scrollbar { width: 13px; height: 13px; }
::-webkit-scrollbar-track { background: var(--bk-cream); }
::-webkit-scrollbar-thumb { background: var(--bk-wood); border: 3px solid var(--bk-cream); border-radius: 999px; }

:focus-visible {
  outline: var(--bk-focus-width) solid var(--bk-focus-ring);
  outline-offset: var(--bk-focus-offset);
  border-radius: var(--bk-radius-sm);
}
.on-ink :focus-visible { --bk-focus-ring: var(--bk-cream); }

/* --- Type ------------------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--bk-display);
  font-weight: 600;
  font-variation-settings: var(--bk-axes-small);
  line-height: var(--bk-leading-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1, h2 { font-variation-settings: var(--bk-axes-big); font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4.6vw, var(--bk-size-h1)); }
h2 { font-size: clamp(1.75rem, 3.4vw, var(--bk-size-h2)); }
h3 { font-size: var(--bk-size-h3); letter-spacing: 0; }
h4 { font-size: var(--bk-size-h4); letter-spacing: 0; }

p { margin: 0 0 var(--bk-space-4); max-width: var(--bk-measure); text-wrap: pretty; }
/* Long links and words wrap instead of pushing the page sideways (iPhone
   Safari lets you scroll to anything wider than the screen). */
p, li, dd, dt, td, th, figcaption, blockquote, h1, h2, h3, h4 { overflow-wrap: break-word; }
a { overflow-wrap: anywhere; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }

a {
  color: var(--bk-ink);
  text-decoration-color: var(--bk-pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--bk-dur) var(--bk-ease);
}
a:hover { text-decoration-color: var(--bk-ink); }

.lead {
  font-family: var(--bk-display);
  font-variation-settings: var(--bk-axes-small);
  font-size: var(--bk-size-lead);
  line-height: 1.4;
  max-width: 44ch;
}
.meta, .caption { font-size: var(--bk-size-label); line-height: 1.45; color: var(--bk-text-muted); }

/* Data labels only (the guide's Caps Label Boundary). Never an eyebrow. */
.label {
  font-size: var(--bk-size-label);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bk-text-muted);
  margin: 0;
}

.prose > * + * { margin-top: var(--bk-space-4); }
.prose h2 { margin-top: var(--bk-space-9); margin-bottom: var(--bk-space-4); }
.prose h3 { margin-top: var(--bk-space-7); margin-bottom: var(--bk-space-3); }
.prose figure { margin-block: var(--bk-space-7); }
.prose ul, .prose ol { padding-left: 1.3em; max-width: var(--bk-measure); }
.prose li + li { margin-top: var(--bk-space-2); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Layout primitives. Mirror theme.json layout: contentSize / wideSize. --- */

.wrap        { width: min(var(--bk-content), 100% - 2 * var(--bk-gutter)); margin-inline: auto; }
.wrap--pop   { width: min(var(--bk-popout), 100% - 2 * var(--bk-gutter)); margin-inline: auto; }
.wrap--wide  { width: min(var(--bk-wide),   100% - 2 * var(--bk-gutter)); margin-inline: auto; }

.band        { padding-block: var(--bk-space-11); }
.band--tight { padding-block: var(--bk-space-9); }
.band--paper { background: var(--bk-paper); border-block: 1px solid var(--bk-rule); }
.band + .band--paper, .band--paper + .band { /* ground change does the work */ }

.stack > * + * { margin-top: var(--bk-space-5); }

.grid {
  display: grid;
  gap: var(--bk-space-7) var(--bk-space-6);
  grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
}

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.skip {
  position: absolute; left: var(--bk-space-4); top: var(--bk-space-4); z-index: 80;
  padding: var(--bk-space-3) var(--bk-space-5);
  background: var(--bk-ink); color: var(--bk-cream);
  border-radius: var(--bk-radius); font-weight: 600; text-decoration: none;
  transform: translateY(-180%);
  transition: transform var(--bk-dur) var(--bk-ease);
}
.skip:focus-visible { transform: translateY(0); --bk-focus-ring: var(--bk-pink); }

/* ==========================================================================
   Reading rhythm. Her stories, pages and posts: a line's worth between
   paragraphs, more space above a heading than below it, lists that breathe.
   Covers WordPress post content (.wp-block-post-content) as well as .prose.
   ========================================================================== */
:is(.prose, .wp-block-post-content, .entry-content) > * { margin-block: 0; }
:is(.prose, .wp-block-post-content, .entry-content) > * + * { margin-block-start: 1.1em; }
:is(.prose, .wp-block-post-content, .entry-content) > :is(h2, h3, h4) { margin-block-start: 2em; }
:is(.prose, .wp-block-post-content, .entry-content) > :is(h2, h3, h4) + * { margin-block-start: 0.6em; }
:is(.prose, .wp-block-post-content, .entry-content) > :is(figure, .wp-caption, .wp-block-image, .wp-block-embed, .bk-video) { margin-block: 2em; }
:is(.prose, .wp-block-post-content, .entry-content) :is(ul, ol) > li + li { margin-block-start: 0.45em; }
:is(.prose, .wp-block-post-content, .entry-content) > :first-child { margin-block-start: 0; }

/* Phones: 19px Commissioner gave about 36 characters a line, which reads
   big and choppy. 18px with slightly tighter leading reads closer to 40,
   still well above every size this audience needs. Desktop stays 19px.
   (Asked for by Brad, 2026-10-04; recorded in DESIGN.md.) */
@media (max-width: 40rem) {
  :root { --bk-size-body: 1.125rem; --bk-size-lead: 1.25rem; --bk-size-step: 1.1875rem; }
  body { line-height: 1.55; }
  .lead { line-height: 1.38; }
}
/* ============================================================================
   Bonita's Kitchen - web components.
   Built on foundation.css. Class names are bk-* so they survive the move into
   a block theme; each block notes the WordPress block, block style, pattern or
   template part it becomes. See ../library.html for every component in use.
   ========================================================================= */

/* ==========================================================================
   Buttons                                    WP: core/button + block styles
   ========================================================================== */

.bk-btn {
  --_bg: var(--bk-pink);
  --_fg: var(--bk-ink);
  --_bd: var(--bk-pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--bk-space-3);
  min-height: var(--bk-control-h);
  padding: var(--bk-space-3) var(--bk-control-pad);
  border: 2px solid var(--_bd);
  border-radius: var(--bk-radius);
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--bk-text);
  font-size: var(--bk-size-body);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background var(--bk-dur) var(--bk-ease), border-color var(--bk-dur) var(--bk-ease),
              color var(--bk-dur) var(--bk-ease), translate var(--bk-dur) var(--bk-ease);
}
.bk-btn .icon { width: 1.3em; height: 1.3em; }
/* Primary: ink on house pink, 5.10:1. Hover darkens to pink-hover, 4.67:1. */
.bk-btn:hover { --_bg: var(--bk-pink-hover); --_bd: var(--bk-pink-hover); }
.bk-btn:active { translate: 0 1px; }

/* Secondary: ink line on the ground. WP block style "is-style-outline". */
.bk-btn--line { --_bg: transparent; --_fg: var(--bk-ink); --_bd: var(--bk-ink); }
.bk-btn--line:hover { --_bg: var(--bk-pink-wash); --_bd: var(--bk-ink); }

/* Quiet: for secondary actions in a toolbar (print, share). */
.bk-btn--quiet { --_bg: var(--bk-paper); --_fg: var(--bk-ink); --_bd: var(--bk-control-border); }
.bk-btn--quiet:hover { --_bg: var(--bk-pink-wash); --_bd: var(--bk-ink); }

/* On ink grounds (footer, video band). */
.bk-btn--cream { --_bg: var(--bk-cream); --_fg: var(--bk-ink); --_bd: var(--bk-cream); }
.bk-btn--cream:hover { --_bg: var(--bk-pink-tint); --_bd: var(--bk-pink-tint); }

.bk-btn--lg { min-height: var(--bk-control-h-lg); padding-inline: var(--bk-space-6); font-size: var(--bk-size-h4); }
.bk-btn--block { width: 100%; }

.bk-btn[disabled], .bk-btn[aria-disabled="true"] {
  --_bg: var(--bk-cream); --_fg: var(--bk-ink-soft); --_bd: var(--bk-rule);
  cursor: not-allowed; translate: none;
}
.bk-btn[aria-busy="true"] { cursor: progress; }
.bk-btn[aria-busy="true"] .bk-btn__spin { display: inline-block; }
.bk-btn__spin {
  display: none; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: bk-spin 800ms linear infinite;
}
@keyframes bk-spin { to { rotate: 1turn; } }

.bk-actions { display: flex; flex-wrap: wrap; gap: var(--bk-space-3); align-items: center; }

/* Standalone "more" link. WP: core/paragraph link, or core/read-more. */
.bk-more {
  display: inline-flex; align-items: center; gap: var(--bk-space-2);
  font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--bk-pink); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.bk-more .icon { transition: translate var(--bk-dur) var(--bk-ease); }
.bk-more:hover .icon { translate: 4px 0; }

/* ==========================================================================
   Forms                     WP: Kit form block, Contact Form 7, core/search
   Labels above fields, always visible. No placeholder-as-label.
   ========================================================================== */

.bk-field { display: grid; gap: var(--bk-space-2); }
.bk-field + .bk-field { margin-top: var(--bk-space-5); }
.bk-field__label { font-weight: 600; }
.bk-field__help { font-size: var(--bk-size-label); color: var(--bk-text-muted); margin: 0; }

.bk-input, .bk-select, .bk-textarea {
  width: 100%;
  min-height: var(--bk-control-h);
  padding: var(--bk-space-3) var(--bk-space-4);
  line-height: 1.25;              /* one line = the button's height, 52px */
  background: var(--bk-paper);
  border: 2px solid var(--bk-control-border);
  border-radius: var(--bk-radius);
  font-size: var(--bk-size-body);
  transition: border-color var(--bk-dur) var(--bk-ease);
}
.bk-textarea { min-height: 9rem; resize: vertical; line-height: var(--bk-leading-body); }
.bk-input::placeholder, .bk-textarea::placeholder { color: var(--bk-ink-soft); opacity: 1; }
.bk-input:hover, .bk-select:hover, .bk-textarea:hover { border-color: var(--bk-ink); }
.bk-input:focus-visible, .bk-select:focus-visible, .bk-textarea:focus-visible {
  border-color: var(--bk-ink); outline-offset: 2px;
}
.bk-select {
  appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  cursor: pointer;
}
.bk-input[disabled] { background: var(--bk-cream); border-color: var(--bk-rule); color: var(--bk-ink-soft); }

.bk-field--error .bk-input, .bk-field--error .bk-textarea { border-color: var(--bk-error); }
.bk-field__error {
  display: flex; align-items: flex-start; gap: var(--bk-space-2);
  color: var(--bk-error); font-size: var(--bk-size-label); font-weight: 600; margin: 0;
}
.bk-field__error .icon { margin-top: 0.1em; }

/* Checkbox and radio: 28px, ink border, ticked with an ink check on pink. */
.bk-check { display: flex; align-items: flex-start; gap: var(--bk-space-3); cursor: pointer; }
.bk-check input {
  appearance: none; flex: none; margin: 0;
  width: var(--bk-check-size); height: var(--bk-check-size);
  border: 2px solid var(--bk-ink); border-radius: var(--bk-radius-sm);
  background: var(--bk-paper) center / 1.15rem no-repeat;
  cursor: pointer;
  transition: background-color var(--bk-dur) var(--bk-ease);
}
.bk-check input[type="radio"] { border-radius: 50%; }
.bk-check input:hover { background-color: var(--bk-pink-wash); }
.bk-check input:checked {
  background-color: var(--bk-pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f1f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.bk-check input[type="radio"]:checked { background-image: radial-gradient(circle, var(--bk-ink) 0 38%, transparent 40%); background-size: 100%; }
.bk-check span { padding-top: 0.1em; }

/* Inline form: one field and one button. Newsletter, search. */
.bk-inline-form { display: flex; flex-wrap: wrap; gap: var(--bk-space-3); align-items: end; }
.bk-inline-form .bk-field { flex: 1 1 16rem; }
.bk-inline-form .bk-btn { flex: none; }

/* Search: an input with the icon inside. WP: core/search, style "bk". */
.bk-search { position: relative; display: flex; gap: var(--bk-space-3); flex-wrap: wrap; }
.bk-search__box { position: relative; flex: 1 1 16rem; }
.bk-search__box .icon { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 1.4rem; height: 1.4rem; color: var(--bk-ink-soft); pointer-events: none; }
.bk-search .bk-input { padding-left: 3.25rem; }
.bk-search--lg .bk-input { min-height: var(--bk-control-h-lg); font-size: var(--bk-size-h4); }

/* ==========================================================================
   Notices                                         WP: core/group block style
   ========================================================================== */

.bk-notice {
  display: flex; gap: var(--bk-space-3); align-items: flex-start;
  padding: var(--bk-space-4) var(--bk-space-5);
  border-radius: var(--bk-radius);
  background: var(--bk-pink-tint);
  max-width: var(--bk-measure);
}
.bk-notice .icon { width: 1.5rem; height: 1.5rem; margin-top: 0.1em; }
.bk-notice p { margin: 0; }
.bk-notice--error { background: var(--bk-paper); box-shadow: inset 0 0 0 2px var(--bk-error); }
.bk-notice--error .icon { color: var(--bk-error); }
.bk-notice--info { background: var(--bk-paper); box-shadow: inset 0 0 0 1px var(--bk-rule); }

/* ==========================================================================
   Chips and tags                   WP: core/post-terms, core/tag-cloud styles
   ========================================================================== */

.bk-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--bk-space-2); }
.bk-chip {
  display: inline-flex; align-items: center; gap: var(--bk-space-2);
  min-height: 2.75rem;
  padding: var(--bk-space-2) var(--bk-space-4);
  border-radius: 999px;
  background: var(--bk-paper);
  border: 2px solid var(--bk-control-border);
  color: var(--bk-ink);
  font-size: var(--bk-size-label);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--bk-dur) var(--bk-ease), border-color var(--bk-dur) var(--bk-ease);
}
.bk-chip:hover { background: var(--bk-pink-wash); border-color: var(--bk-ink); }
.bk-chip[aria-pressed="true"], .bk-chip[aria-current] {
  background: var(--bk-pink); border-color: var(--bk-pink);
}
.bk-chip[aria-pressed="true"]::before {
  content: ''; width: 1rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f1f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Static tag: allergens, categories on a recipe. Not interactive. */
.bk-tag {
  display: inline-flex; align-items: center;
  padding: var(--bk-space-1) var(--bk-space-3);
  border-radius: 999px;
  background: var(--bk-pink-tint);
  font-size: var(--bk-size-label);
  font-weight: 600;
}

/* Linked tag: an ingredient on a recipe, going to every recipe with it. */
a.bk-tag { background: var(--bk-paper); border: 1px solid var(--bk-rule); color: var(--bk-ink); text-decoration: none; transition: background var(--bk-dur) var(--bk-ease), border-color var(--bk-dur) var(--bk-ease); }
a.bk-tag:hover { background: var(--bk-pink-wash); border-color: var(--bk-ink); }
.bk-whatsin { margin-bottom: var(--bk-space-3); }

/* ==========================================================================
   Site header                          WP: template part "header" (parts/)
   No hamburger. Five links stay visible at every width; on narrow screens
   they wrap to their own row and scroll sideways if they must.
   ========================================================================== */

.bk-header { background: var(--bk-cream); border-bottom: 1px solid var(--bk-rule); position: relative; z-index: 20; }
.bk-header__in {
  width: min(var(--bk-wide), 100% - 2 * var(--bk-gutter)); margin-inline: auto;
  display: grid; align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: var(--bk-space-4) var(--bk-space-7);
  padding-block: var(--bk-space-4);
}
.bk-logo { display: block; width: 8.5rem; flex: none; }   /* 136px, above the 120px floor */
.bk-logo img { width: 100%; aspect-ratio: 4509 / 3285; }
.bk-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--bk-space-2) var(--bk-space-6); flex-wrap: wrap; }
.bk-nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: var(--bk-size-body); font-weight: 600; text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color var(--bk-dur) var(--bk-ease);
}
.bk-nav a:hover { border-bottom-color: var(--bk-pink); }
.bk-nav a[aria-current="page"] { border-bottom-color: var(--bk-ink); }
.bk-nav a .icon { display: none; }
.bk-header__tools { display: flex; align-items: center; gap: var(--bk-space-3); }
.bk-iconbtn {
  display: inline-grid; place-items: center;
  width: var(--bk-control-h); height: var(--bk-control-h);
  border-radius: var(--bk-radius); border: 2px solid var(--bk-control-border);
  background: var(--bk-paper); color: var(--bk-ink); cursor: pointer; text-decoration: none;
  transition: background var(--bk-dur) var(--bk-ease), border-color var(--bk-dur) var(--bk-ease);
}
.bk-iconbtn:hover { background: var(--bk-pink-wash); border-color: var(--bk-ink); }
.bk-iconbtn .icon { width: 1.5rem; height: 1.5rem; }

@media (max-width: 62rem) {
  .bk-header__in { grid-template-columns: auto 1fr; padding-block: var(--bk-space-3) 0; }
  .bk-header__tools { grid-row: 1; grid-column: 2; justify-self: end; }
  /* Every section in sight, each on its own little pink plate, like the
     backdrop in her kitchen. The page you're on gets the full pink plate. */
  .bk-nav:not(ul) { grid-row: 2; grid-column: 1 / -1; margin-inline: calc(-1 * var(--bk-gutter)); border-top: 1px solid var(--bk-rule); }
  .bk-nav ul { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; width: min(var(--bk-wide), 100%); margin-inline: auto; padding-inline: var(--bk-space-2); }
  .bk-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.375rem;
    width: 100%; min-height: 4.75rem; padding: var(--bk-space-2) 0 var(--bk-space-3);
    font-size: 1.0625rem; font-weight: 600; line-height: 1.15; white-space: nowrap; color: var(--bk-ink);
    border-bottom: 0; border-radius: var(--bk-radius);
  }
  .bk-nav a .icon {
    display: block; box-sizing: border-box; width: 2.625rem; height: 2.625rem; padding: 0.5625rem;
    border-radius: 50%; background: var(--bk-pink-wash); box-shadow: inset 0 0 0 1px var(--bk-pink-tint);
    transition: background var(--bk-dur) var(--bk-ease), box-shadow var(--bk-dur) var(--bk-ease), scale var(--bk-dur) var(--bk-ease);
  }
  .bk-nav a:hover .icon { background: var(--bk-pink-tint); }
  .bk-nav a:active .icon { scale: 0.94; }
  .bk-nav a[aria-current="page"] { font-weight: 700; }
  .bk-nav a[aria-current="page"] .icon { background: var(--bk-pink); box-shadow: 0 2px 6px rgba(34, 31, 31, 0.14); }
  .bk-nav a:focus-visible { outline-offset: -2px; }
  .bk-logo { width: 7.5rem; }                              /* 120px, the floor */
}
@media (max-width: 40rem) { .bk-nav .bk-nav__contact { display: none; } }
@media (max-width: 26rem) {
  .bk-header__in { column-gap: var(--bk-space-3); }
  .bk-header__tools { gap: var(--bk-space-2); }
  .bk-header__tools .bk-btn { padding-inline: var(--bk-space-3); gap: var(--bk-space-2); }
}
/* Small phones: the tab labels and header buttons tighten so nothing is cut off. */
@media (max-width: 24rem) {
  .bk-nav a { font-size: 0.9375rem; min-height: 4.25rem; }
  .bk-nav a .icon { width: 2.375rem; height: 2.375rem; padding: 0.5rem; }
  .bk-header__tools .bk-iconbtn { width: 2.75rem; height: 2.75rem; }
  .bk-header__tools .bk-ytbtn { min-height: 2.75rem; }
}
/* 320px phones: the logo gives up 20px (below the 120px floor only here) so the header fits. */
@media (max-width: 22.5rem) {
  .bk-logo { width: 6.25rem; }
  .bk-header__in { column-gap: var(--bk-space-2); }
  .bk-header__tools { gap: var(--bk-space-2); }
  .bk-header__tools .bk-ytbtn { padding-inline: var(--bk-space-2); gap: 0.375rem; }
}
/* Narrow Android phones: the label leaves the frame but stays the link's name. */
@media (max-width: 24rem) {
  .bk-header__tools .bk-btn { width: var(--bk-control-h); padding: 0; }
  .bk-nav ul { flex-wrap: wrap; gap: 0 var(--bk-space-4); }
  .bk-header__tools .bk-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ==========================================================================
   Breadcrumbs                                  WP: Yoast breadcrumbs block
   ========================================================================== */

.bk-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--bk-space-2); font-size: var(--bk-size-label); }
.bk-crumbs li { display: inline-flex; align-items: center; gap: var(--bk-space-2); color: var(--bk-text-muted); }
.bk-crumbs li + li::before { content: '/'; color: var(--bk-ink-soft); }
.bk-crumbs a { color: var(--bk-ink); font-weight: 600; }

/* ==========================================================================
   Section heading                               WP: pattern "section-head"
   Heading on the left, its "see all" link on the right. No eyebrow.
   ========================================================================== */

.bk-section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--bk-space-3) var(--bk-space-6);
  padding-bottom: var(--bk-space-3);
  border-bottom: 2px solid var(--bk-ink);
  margin-bottom: var(--bk-space-7);
}
.bk-section-head p { margin: var(--bk-space-2) 0 0; color: var(--bk-text-muted); }

/* ==========================================================================
   Recipe card                    WP: core/post-template item, pattern
                                   "recipe-card" (title, featured image, meta)
   The whole card is one link; the title carries it for screen readers.
   ========================================================================== */

.bk-card { position: relative; display: flex; flex-direction: column; gap: var(--bk-space-3); }
.bk-card__media {
  position: relative; overflow: hidden;
  border-radius: var(--bk-radius);
  background: var(--bk-wood);
  aspect-ratio: 4 / 3;
}
.bk-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: scale 600ms var(--bk-ease);
}
.bk-card:hover .bk-card__media img { scale: 1.03; }
.bk-card__title { font-size: var(--bk-size-h3); line-height: 1.2; }
.bk-card__title a { text-decoration: none; }
.bk-card__title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--bk-radius); }
.bk-card:hover .bk-card__title a { text-decoration: underline; text-decoration-color: var(--bk-pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bk-card:has(a:focus-visible) .bk-card__media { outline: var(--bk-focus-width) solid var(--bk-focus-ring); outline-offset: var(--bk-focus-offset); }
.bk-card a:focus-visible { outline: none; }

/* Video marker: every recipe has her video, so the marker is quiet and constant. */
.bk-card__video {
  position: absolute; left: var(--bk-space-3); bottom: var(--bk-space-3);
  display: inline-flex; align-items: center; gap: var(--bk-space-2);
  padding: var(--bk-space-1) var(--bk-space-3) var(--bk-space-1) var(--bk-space-2);
  border-radius: 999px; background: var(--bk-paper); color: var(--bk-ink);
  font-size: var(--bk-size-label); font-weight: 600;
  box-shadow: var(--bk-shadow-1);
}
.bk-card__video .icon { width: 1.4rem; height: 1.4rem; color: var(--bk-pink); }

.bk-recipe-meta { display: flex; flex-wrap: wrap; gap: var(--bk-space-1) var(--bk-space-4); margin: 0; padding: 0; list-style: none; font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-recipe-meta li { display: inline-flex; align-items: center; gap: var(--bk-space-2); }
.bk-recipe-meta .icon { width: 1.15rem; height: 1.15rem; color: var(--bk-ink); }

/* Feature variant: big photo, text beside it. The latest recipe on home. */
.bk-card--feature { display: grid; gap: var(--bk-space-5) var(--bk-space-8); grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; }
.bk-card--feature .bk-card__media { aspect-ratio: 3 / 2; }
.bk-card--feature .bk-card__title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em; }
.bk-card--feature .bk-card__body { display: grid; gap: var(--bk-space-4); }
.bk-card--feature .bk-card__body p { margin: 0; }
@media (max-width: 50rem) { .bk-card--feature { grid-template-columns: 1fr; } }

/* Row variant: thumbnail and title in a list. "More like this", search results. */
.bk-card--row { flex-direction: row; align-items: center; gap: var(--bk-space-4); padding-block: var(--bk-space-4); border-bottom: 1px solid var(--bk-rule); }
.bk-card--row .bk-card__media { width: 7.5rem; flex: none; aspect-ratio: 1; }
.bk-card--row .bk-card__title { font-size: var(--bk-size-h4); }
.bk-card--row .bk-card__video { display: none; }

/* ==========================================================================
   Recipe                     WP: single-recipe template + pattern "recipe"
   The recipe sits on the paper reserve, the story on cream. Ground change
   plus hairline, never a box.
   ========================================================================== */

.bk-recipe-head { display: grid; gap: var(--bk-space-5); }
.bk-recipe-head h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); letter-spacing: -0.025em; line-height: 1.05; }
.bk-byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-2) var(--bk-space-5); font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-byline b { color: var(--bk-ink); }

/* The facts strip. Four numbers she always gives: prep, cook, yield, serving. */
.bk-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr));
  margin: 0;
  border-block: 1px solid var(--bk-rule);
}
.bk-facts div { padding: var(--bk-space-4) var(--bk-space-4) var(--bk-space-4) 0; display: grid; gap: var(--bk-space-1); align-content: start; }
.bk-facts div + div { padding-left: var(--bk-space-4); border-left: 1px solid var(--bk-rule); }
.bk-facts dt { display: flex; align-items: center; gap: var(--bk-space-2); }
.bk-facts dt .icon { width: 1.15rem; height: 1.15rem; }
.bk-facts dd { margin: 0; font-family: var(--bk-display); font-size: var(--bk-size-h4); font-weight: 600; line-height: 1.25; }
@media (max-width: 40rem) {
  .bk-facts { grid-template-columns: 1fr 1fr; }
  .bk-facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .bk-facts div:nth-child(n+3) { border-top: 1px solid var(--bk-rule); }
}

.bk-recipe { background: var(--bk-paper); border-block: 1px solid var(--bk-rule); padding-block: var(--bk-space-10); }
.bk-recipe__top { display: flex; flex-wrap: wrap; gap: var(--bk-space-4) var(--bk-space-6); align-items: end; justify-content: space-between; margin-bottom: var(--bk-space-6); }
.bk-recipe__cols { display: grid; gap: var(--bk-space-9); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; margin-top: var(--bk-space-8); }
.bk-recipe__cols h3 { padding-bottom: var(--bk-space-3); border-bottom: 2px solid var(--bk-ink); margin-bottom: var(--bk-space-5); display: flex; justify-content: space-between; align-items: baseline; gap: var(--bk-space-4); }
.bk-recipe__cols h3 .meta { font-family: var(--bk-text); font-weight: 400; }
@media (max-width: 56rem) { .bk-recipe__cols { grid-template-columns: 1fr; gap: var(--bk-space-8); } }

/* Ingredients: tick them off as they go in the bowl. Remembered per recipe. */
.bk-ingredients { list-style: none; margin: 0; padding: 0; }
.bk-ingredients li { border-bottom: 1px solid var(--bk-rule); }
.bk-ingredients label { display: flex; gap: var(--bk-space-4); padding: var(--bk-space-3) 0; cursor: pointer; align-items: flex-start; line-height: 1.4; }
.bk-ingredients .note { margin-top: var(--bk-space-1); }
.bk-ingredients input { appearance: none; flex: none; margin: 0.1em 0 0; width: var(--bk-check-size); height: var(--bk-check-size); border: 2px solid var(--bk-ink); border-radius: var(--bk-radius-sm); background: var(--bk-paper) center / 1.15rem no-repeat; cursor: pointer; transition: background-color var(--bk-dur) var(--bk-ease); }
.bk-ingredients input:hover { background-color: var(--bk-pink-wash); }
.bk-ingredients input:checked { background-color: var(--bk-pink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f1f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.bk-ingredients .qty { display: block; font-weight: 600; }
.bk-ingredients .note { display: block; font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-ingredients input:checked + span { text-decoration: line-through; text-decoration-color: var(--bk-pink); text-decoration-thickness: 2px; color: var(--bk-ink-soft); }
.bk-ingredients input:checked + span .qty { color: var(--bk-ink-soft); }
.bk-reset { margin-top: var(--bk-space-4); background: none; border: 0; padding: var(--bk-space-2) 0; font-size: var(--bk-size-label); font-weight: 600; text-decoration: underline; text-decoration-color: var(--bk-pink); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }

/* Method: numbered steps in large type. Tap a step to keep your place. */
.bk-method { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.bk-method li {
  counter-increment: step;
  position: relative;
  display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--bk-space-4);
  padding: var(--bk-space-4) var(--bk-space-4) var(--bk-space-4) 0;
  font-size: var(--bk-size-step); line-height: 1.55;
  border-radius: var(--bk-radius);
  cursor: pointer;
  transition: background var(--bk-dur) var(--bk-ease);
}
.bk-method li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--bk-pink-tint); color: var(--bk-ink);
  font-family: var(--bk-display); font-size: 1.375rem; font-weight: 700; line-height: 1;
}
.bk-method li p { margin: 0; padding-top: 0.25rem; }
.bk-method li:hover { background: var(--bk-pink-wash); }
.bk-method li[aria-current="step"] { background: var(--bk-pink-wash); padding-left: var(--bk-space-4); }
.bk-method li[aria-current="step"]::before { background: var(--bk-pink); }
.bk-method li + li { margin-top: var(--bk-space-1); }

/* Bonita's tips: her own asides, in her own words. The one tinted panel. */
.bk-tips { background: var(--bk-pink-wash); border-radius: var(--bk-radius-lg); padding: var(--bk-space-6) var(--bk-space-7); margin-top: var(--bk-space-8); }
.bk-tips h3 { display: flex; align-items: center; gap: var(--bk-space-3); margin-bottom: var(--bk-space-4); }
.bk-tips h3 .icon { width: 1.75rem; height: 1.75rem; color: var(--bk-ink); }
.bk-tips ul { margin: 0; padding-left: 1.2em; max-width: var(--bk-measure); }
.bk-tips li + li { margin-top: var(--bk-space-4); }
.bk-tips li { line-height: 1.55; }
.bk-tips li::marker { color: var(--bk-pink); }
@media (max-width: 40rem) { .bk-tips { padding: var(--bk-space-5); } }

.bk-allergens { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-3); margin-top: var(--bk-space-6); }
.bk-allergens__note { flex-basis: 100%; margin: 0; font-size: var(--bk-size-label); color: var(--bk-text-muted); }

/* Her sign-off. Real words, display serif, no quote marks needed. */
.bk-signoff { font-family: var(--bk-display); font-size: var(--bk-size-lead); line-height: var(--bk-leading-snug); max-width: 36ch; margin: var(--bk-space-8) 0 0; padding-top: var(--bk-space-5); border-top: 1px solid var(--bk-rule); }
.bk-signoff cite { display: block; margin-top: var(--bk-space-3); font-family: var(--bk-text); font-style: normal; font-size: var(--bk-size-label); font-weight: 600; color: var(--bk-text-muted); }

/* Jump to recipe: the first thing on the page, for people who came to cook. */
.bk-jump { position: relative; }

/* ==========================================================================
   Cook mode                       WP: a small script enqueued on recipes
   One step at a time, big enough to read from across the counter, screen
   kept awake. Esc, the arrow keys and the big buttons all work.
   ========================================================================== */

.bk-cook {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--bk-cream); color: var(--bk-ink);
}
.bk-cook[open] { display: grid; grid-template-rows: auto 1fr auto; }
.bk-cook::backdrop { background: var(--bk-cream); }
.bk-cook__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--bk-space-4);
  padding: var(--bk-space-4) var(--bk-gutter);
  border-bottom: 1px solid var(--bk-rule);
  background: var(--bk-paper);
}
.bk-cook__bar h2 { font-size: var(--bk-size-h4); }
.bk-cook__awake { display: inline-flex; align-items: center; gap: var(--bk-space-2); font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-cook__awake::before { content: ''; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--bk-rule); }
.bk-cook__awake[data-on]::before { background: var(--bk-pink); }
.bk-cook__stage { overflow: auto; display: grid; align-content: center; padding: var(--bk-space-8) var(--bk-gutter); }
.bk-cook__step { width: min(48rem, 100%); margin-inline: auto; }
.bk-cook__count { margin-bottom: var(--bk-space-5); }
.bk-cook__text { font-family: var(--bk-text); font-size: var(--bk-size-cook); line-height: 1.4; font-weight: 400; margin: 0; max-width: 36ch; text-wrap: pretty; }
.bk-cook__text { animation: bk-step-in 340ms var(--bk-ease); }
@keyframes bk-step-in { from { opacity: 0; translate: 0 0.6rem; } }
.bk-cook__progress { height: 6px; background: var(--bk-rule); }
.bk-cook__progress i { display: block; height: 100%; background: var(--bk-pink); transform-origin: 0 50%; scale: var(--p, 0) 1; transition: scale var(--bk-dur) var(--bk-ease); }
.bk-cook__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bk-space-4); padding: var(--bk-space-5) var(--bk-gutter) var(--bk-space-6); background: var(--bk-paper); }
.bk-cook__nav .bk-btn { min-height: 4.5rem; font-size: var(--bk-size-h4); }
.bk-cook__ings { width: min(48rem, 100%); margin: var(--bk-space-7) auto 0; }
.bk-cook__ings ul { columns: 2 16rem; column-gap: var(--bk-space-8); margin: var(--bk-space-3) 0 0; padding-left: 1.2em; }
.bk-cook__ings li { break-inside: avoid; margin-bottom: var(--bk-space-2); }

/* ==========================================================================
   Video                 WP: core/embed (YouTube) with a lite facade filter
   Her photo and a big play button until pressed; the YouTube player loads
   only then (privacy-enhanced domain). Faster pages, no tracking on arrival.
   ========================================================================== */

.bk-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--bk-radius); overflow: hidden; background: var(--bk-ink); }
.bk-video { container-type: inline-size; }
/* Small players: the label stays as the accessible name but leaves the frame. */
@container (max-width: 34rem) {
  .bk-video__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bk-video__play span:first-child { width: 4.25rem; height: 4.25rem; }
}
.bk-video img, .bk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.bk-video__play {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: var(--bk-space-3);
  background: linear-gradient(to top, rgba(34, 31, 31, 0.55), rgba(34, 31, 31, 0) 55%);
  border: 0; padding: 0; color: var(--bk-cream); cursor: pointer;
  font-weight: 600; font-size: var(--bk-size-body);
}
.bk-video__play span:first-child {
  display: grid; place-items: center;
  width: 5.5rem; height: 5.5rem; border-radius: 50%;
  background: var(--bk-pink); color: var(--bk-ink);
  box-shadow: var(--bk-shadow-2);
  transition: scale var(--bk-dur) var(--bk-ease), background var(--bk-dur) var(--bk-ease);
}
.bk-video__play span:first-child .icon { width: 2.25rem; height: 2.25rem; translate: 3px 0; }
.bk-video__play:hover span:first-child { scale: 1.06; background: var(--bk-pink-hover); }
.bk-video__label { position: absolute; left: var(--bk-space-5); bottom: var(--bk-space-4); right: var(--bk-space-5); text-align: left; text-shadow: 0 1px 2px rgba(34, 31, 31, 0.6); }
.bk-video__play:focus-visible { outline-offset: -6px; --bk-focus-ring: var(--bk-cream); }
.bk-video-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--bk-space-2) var(--bk-space-5); margin-top: var(--bk-space-3); }

/* The ink band: the one dark region on a page. Video and YouTube subscribe. */
.bk-inkband { background: var(--bk-ink); color: var(--bk-cream); padding-block: var(--bk-space-11); }
.bk-inkband h2, .bk-inkband h3 { color: var(--bk-cream); }
.bk-inkband p { color: color-mix(in srgb, var(--bk-cream) 88%, var(--bk-ink)); }
.bk-inkband a:not(.bk-btn) { color: var(--bk-cream); }
.bk-inkband a:not(.bk-btn):hover { text-decoration-color: var(--bk-cream); }
.bk-inkband :focus-visible { --bk-focus-ring: var(--bk-cream); }
.bk-inkband .bk-section-head { border-bottom-color: var(--bk-cream); }
.bk-inkband__grid { display: grid; gap: var(--bk-space-8); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 56rem) { .bk-inkband__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cookbook                                   WP: pattern "cookbook-feature"
   ========================================================================== */

.bk-book { display: grid; gap: var(--bk-space-6) var(--bk-space-9); grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: center; }
.bk-book__cover { border-radius: var(--bk-radius); overflow: hidden; background: var(--bk-paper); border: 1px solid var(--bk-rule); }
.bk-book__cover { background: var(--bk-paper); padding: var(--bk-space-5); }
.bk-book__cover img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.bk-book__body { display: grid; gap: var(--bk-space-4); justify-items: start; }
.bk-book__body h3 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em; }
.bk-book__body p { margin: 0; }
.bk-book__buy { display: grid; gap: var(--bk-space-3); margin-top: var(--bk-space-2); }
.bk-book__buy .meta { margin: 0; }
.bk-book--compact { grid-template-columns: 9rem 1fr; gap: var(--bk-space-5); align-items: start; }
.bk-book--compact .bk-book__body h3 { font-size: var(--bk-size-h3); }
@media (max-width: 44rem) { .bk-book { grid-template-columns: 1fr; } .bk-book__cover { max-width: 20rem; } .bk-book--compact { grid-template-columns: 7rem 1fr; } }

/* ==========================================================================
   Hero                                  WP: pattern "home-hero" (cover + group)
   Full-bleed kitchen photograph, cream card overlapping its lower edge.
   The system's one composition card.
   ========================================================================== */

.bk-hero { position: relative; }
/* Short enough that the card's two buttons clear the fold on a 900px-tall laptop. */
.bk-hero__img { width: 100%; height: clamp(20rem, 46vh, 32rem); object-fit: cover; object-position: 50% 38%; background: var(--bk-wood); }
.bk-hero__panel { width: min(var(--bk-wide), 100% - 2 * var(--bk-gutter)); margin: -7rem auto 0; position: relative; }
.bk-hero__card {
  background: var(--bk-cream); border-radius: var(--bk-radius-lg); box-shadow: var(--bk-shadow-2);
  padding: var(--bk-space-7) var(--bk-space-6);
  width: min(50rem, 100%);
  display: grid; gap: var(--bk-space-5);
}
.bk-hero__card h1 { font-size: clamp(2.375rem, 4.6vw, 3.5rem); letter-spacing: -0.025em; line-height: 1.04; }
.bk-hero__card .lead { margin: 0; max-width: 38ch; }
@media (min-width: 48rem) { .bk-hero__card { padding: var(--bk-space-8); } }
@media (max-width: 40rem) {
  .bk-hero__panel { margin-top: -2.5rem; }
  .bk-hero__img { height: clamp(10rem, 22vh, 14rem); }
  .bk-hero__card { padding: var(--bk-space-6) var(--bk-space-5); gap: var(--bk-space-4); }
  .bk-hero__card h1 { font-size: 2.125rem; }
  .bk-hero__card .bk-actions { display: grid; gap: var(--bk-space-3); }
}

/* Page intro for index pages: title, lead, then the tools. */
.bk-intro { padding-block: var(--bk-space-9) var(--bk-space-7); display: grid; gap: var(--bk-space-4); }
.bk-intro h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); letter-spacing: -0.025em; line-height: 1.05; }

/* ==========================================================================
   Story block (media + text)                   WP: core/media-text style
   ========================================================================== */

.bk-story { display: grid; gap: var(--bk-space-6) var(--bk-space-9); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.bk-story__img img { border-radius: var(--bk-radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.bk-story__body { display: grid; gap: var(--bk-space-4); justify-items: start; }
.bk-story__body p { margin: 0; }
@media (max-width: 52rem) { .bk-story { grid-template-columns: 1fr; } .bk-story__img img { aspect-ratio: 3 / 2; } }

/* ==========================================================================
   Newsletter band                 WP: pattern "newsletter" + Kit form block
   The pink field: one per page, ink text only (5.10:1).
   ========================================================================== */

.bk-pinkband { background: var(--bk-pink); color: var(--bk-ink); padding-block: var(--bk-space-10); }
.bk-pinkband__in { display: grid; gap: var(--bk-space-6) var(--bk-space-9); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.bk-pinkband h2 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.02em; line-height: 1.08; }
.bk-pinkband p { margin: var(--bk-space-4) 0 0; max-width: 40ch; }
.bk-pinkband .bk-field__label { color: var(--bk-ink); }
.bk-pinkband .bk-input { border-color: var(--bk-ink); }
.bk-pinkband .bk-btn { --_bg: var(--bk-ink); --_fg: var(--bk-cream); --_bd: var(--bk-ink); }
.bk-pinkband .bk-btn:hover { --_bg: var(--bk-ink-soft); --_bd: var(--bk-ink-soft); }  /* cream on soft ink 6.17:1 */
.bk-pinkband .bk-field__help { color: var(--bk-ink); }
.bk-pinkband :focus-visible { --bk-focus-ring: var(--bk-ink); }
@media (max-width: 52rem) { .bk-pinkband__in { grid-template-columns: 1fr; } }

/* ==========================================================================
   Filters and results                 WP: core/query + taxonomy filter block
   ========================================================================== */

.bk-filters { display: grid; gap: var(--bk-space-5); padding-block: var(--bk-space-5); border-block: 1px solid var(--bk-rule); }
.bk-filters__row { display: flex; flex-wrap: wrap; gap: var(--bk-space-4) var(--bk-space-6); align-items: end; }
.bk-filters__row .bk-field { flex: 1 1 13rem; margin: 0; }
.bk-filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bk-filters legend { font-weight: 600; margin-bottom: var(--bk-space-3); padding: 0; }
.bk-results { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--bk-space-3); margin: var(--bk-space-6) 0 var(--bk-space-7); }
.bk-results p { margin: 0; }

/* Empty state: say what happened and give the way back. */
.bk-empty { display: grid; justify-items: start; gap: var(--bk-space-4); padding: var(--bk-space-8) 0; max-width: 38rem; }
.bk-empty h2, .bk-empty h3 { font-size: var(--bk-size-h3); }
.bk-empty p { margin: 0; }

/* ==========================================================================
   Pagination                         WP: core/query-pagination block style
   ========================================================================== */

.bk-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bk-space-2); margin-top: var(--bk-space-10); }
.bk-pages a, .bk-pages span {
  display: inline-grid; place-items: center;
  min-width: var(--bk-control-h); height: var(--bk-control-h); padding-inline: var(--bk-space-4);
  border-radius: var(--bk-radius); border: 2px solid var(--bk-control-border);
  background: var(--bk-paper); font-weight: 600; text-decoration: none;
  transition: background var(--bk-dur) var(--bk-ease), border-color var(--bk-dur) var(--bk-ease);
}
.bk-pages a:hover { background: var(--bk-pink-wash); border-color: var(--bk-ink); }
.bk-pages [aria-current="page"] { background: var(--bk-pink); border-color: var(--bk-pink); }
.bk-pages .gap { border: 0; background: none; min-width: 2rem; padding: 0; }
.bk-pages .bk-pages__dir { gap: var(--bk-space-2); display: inline-flex; }

/* ==========================================================================
   Comments / messages            WP: core/comments + comment-form styles
   ========================================================================== */

.bk-comments { display: grid; gap: var(--bk-space-6); }
/* Static mock markup (avatar + body). The WordPress version is in wp.css. */
.bk-comment:has(> .bk-comment__avatar) { display: grid; grid-template-columns: 3rem 1fr; gap: var(--bk-space-4); padding-block: var(--bk-space-5); border-bottom: 1px solid var(--bk-rule); }
.bk-comment__avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--bk-pink-tint); display: grid; place-items: center; font-family: var(--bk-display); font-weight: 700; font-size: 1.25rem; }
.bk-comment__who { display: flex; flex-wrap: wrap; gap: var(--bk-space-2) var(--bk-space-4); align-items: baseline; margin-bottom: var(--bk-space-2); }

/* ==========================================================================
   Footer                                 WP: template part "footer" (parts/)
   ========================================================================== */

.bk-footer { background: var(--bk-ink); color: var(--bk-cream); padding-block: var(--bk-space-10) var(--bk-space-7); }
.bk-footer__in { width: min(var(--bk-wide), 100% - 2 * var(--bk-gutter)); margin-inline: auto; }
.bk-footer__grid { display: grid; gap: var(--bk-space-8); grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.bk-footer h2 { font-size: var(--bk-size-h4); color: var(--bk-cream); margin-bottom: var(--bk-space-4); }
.bk-footer p, .bk-footer li { color: color-mix(in srgb, var(--bk-cream) 88%, var(--bk-ink)); }
.bk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bk-space-2); }
.bk-footer a { color: var(--bk-cream); text-decoration-color: var(--bk-pink); }
.bk-footer a:hover { text-decoration-color: var(--bk-cream); }
.bk-footer :focus-visible { --bk-focus-ring: var(--bk-cream); }
.bk-footer__mark { display: grid; gap: var(--bk-space-5); justify-items: start; }
.bk-footer__logo { display: block; width: 9.5rem; }
.bk-footer__logo img { width: 100%; aspect-ratio: 4509 / 3285; }
.bk-footer__signoff { font-family: var(--bk-display); font-size: var(--bk-size-lead); line-height: var(--bk-leading-snug); color: var(--bk-cream) !important; max-width: 24ch; }
.bk-footer li { text-wrap: balance; }
.bk-footer__signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--bk-space-5) var(--bk-space-9); align-items: end; padding-bottom: var(--bk-space-9); margin-bottom: var(--bk-space-9); border-bottom: 1px solid color-mix(in srgb, var(--bk-cream) 22%, var(--bk-ink)); }
.bk-footer__signup h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
.bk-footer__signup p { margin: var(--bk-space-3) 0 0; max-width: 44ch; }
.bk-footer__signup .bk-field__label { color: var(--bk-cream); }
.bk-footer__signup .bk-input { border-color: var(--bk-cream); }
.bk-footer__signup .bk-field__error { color: var(--bk-pink-tint); }
.bk-footer[data-no-signup] .bk-footer__signup { display: none; }
@media (max-width: 52rem) { .bk-footer__signup { grid-template-columns: 1fr; } }
.bk-footer__base { margin-top: var(--bk-space-9); padding-top: var(--bk-space-5); border-top: 1px solid color-mix(in srgb, var(--bk-cream) 22%, var(--bk-ink)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--bk-space-3); font-size: var(--bk-size-label); }
.bk-social { display: flex; gap: var(--bk-space-3); flex-wrap: wrap; }
.bk-social a { display: inline-flex; align-items: center; gap: var(--bk-space-2); min-height: 2.75rem; }
.bk-social .icon { width: 1.5rem; height: 1.5rem; }
@media (max-width: 62rem) { .bk-footer__grid { grid-template-columns: 1fr 1fr; } .bk-footer__mark { grid-column: 1 / -1; } }
@media (max-width: 34rem) { .bk-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Print: the recipe, and only the recipe.          WP: print.css enqueued
   ========================================================================== */

@media print {
  .bk-header, .bk-footer, .bk-pinkband, .bk-inkband, .bk-video, .bk-jump, .bk-actions,
  .bk-crumbs, .bk-story-text, .bk-related, .bk-comments, .bk-reset, .skip, .no-print { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .bk-recipe { border: 0; padding: 0; background: #fff; }
  .bk-recipe__cols { grid-template-columns: 0.8fr 1.2fr; gap: 1.5rem; }
  .bk-method li { font-size: 12pt; break-inside: avoid; padding: 0.4rem 0; }
  .bk-method li::before { background: none; border: 1.5pt solid #221f1f; width: 1.8rem; height: 1.8rem; font-size: 12pt; }
  .bk-ingredients input { width: 1rem; height: 1rem; border-width: 1.5pt; }
  .bk-tips { background: none; border: 1pt solid #d1cdc7; break-inside: avoid; }
  .bk-hero__img, .bk-recipe-photo { max-height: 7cm; width: auto; }
}

/* ==========================================================================
   Disclosure (details/summary)                         WP: core/details
   A drawn chevron and the house underline, so it reads as something to press.
   ========================================================================== */

.bk-disclose > summary, .bk-cook__ings > summary, .lib-code > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: var(--bk-space-2);
  min-height: var(--bk-control-h);
  font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--bk-pink); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.bk-disclose > summary::-webkit-details-marker, .bk-cook__ings > summary::-webkit-details-marker, .lib-code > summary::-webkit-details-marker { display: none; }
.bk-disclose > summary::before, .bk-cook__ings > summary::before, .lib-code > summary::before {
  content: ''; width: 1.25rem; height: 1.25rem; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: rotate var(--bk-dur) var(--bk-ease);
}
[open] > summary::before { rotate: 90deg; }
.bk-disclose > summary:hover, .bk-cook__ings > summary:hover, .lib-code > summary:hover { text-decoration-color: var(--bk-ink); }

/* Recipe page on phones: the parent crumb only, and the two actions side by side. */
/* Desktop: Cook mode, Watch and Print on one line. */
@media (min-width: 40.0625rem) { .bk-recipe-actions .bk-btn--lg { padding-inline: var(--bk-space-5); } .bk-recipe-actions [data-print] { padding-inline: var(--bk-space-4); } }
@media (max-width: 40rem) {
  .bk-crumbs--collapse li { display: none; }
  .bk-crumbs--collapse li:nth-last-child(2) { display: inline-flex; }
  .bk-crumbs--collapse li:nth-last-child(2)::before { content: '\2190'; color: var(--bk-ink); font-weight: 600; }
  .bk-recipe-intro { padding-top: var(--bk-space-5) !important; }
  .bk-recipe-intro .bk-recipe-head { margin-top: var(--bk-space-4) !important; gap: var(--bk-space-4); }
  .bk-recipe-actions { display: grid; grid-template-columns: 1fr; gap: var(--bk-space-3); }
  .bk-recipe-actions .bk-btn { font-size: var(--bk-size-body); padding-inline: var(--bk-space-3); }
}

/* ==========================================================================
   Home: top note, category circles, as-seen-on, tiles, wood band, ranking
   ========================================================================== */

/* Cookbook note above the header. WP: pattern "top-note" in parts/header. */
.bk-topnote { margin: 0; max-width: none; background: var(--bk-ink); text-align: center; padding: var(--bk-space-2) var(--bk-gutter); }
.bk-topnote a { color: var(--bk-cream); font-size: var(--bk-size-label); font-weight: 600; text-decoration-color: var(--bk-pink); display: inline-flex; align-items: center; gap: var(--bk-space-2); min-height: 2.75rem; }
.bk-topnote a:hover { text-decoration-color: var(--bk-cream); }
.bk-topnote a > span { display: inline; }
.bk-topnote__short { display: none !important; }
@media (max-width: 40rem) { .bk-topnote__long { display: none !important; } .bk-topnote__short { display: inline !important; } }
.bk-topnote :focus-visible { --bk-focus-ring: var(--bk-cream); }

/* Category circles under the hero. WP: pattern "category-circles" (core/image round + link). */
.bk-browse { padding-block: var(--bk-space-9) var(--bk-space-8); }
.bk-circles { list-style: none; margin: 0 0 var(--bk-space-7); padding: 0; display: grid; gap: var(--bk-space-5) var(--bk-space-4); grid-template-columns: repeat(8, minmax(0, 1fr)); }
.bk-circle { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; justify-items: center; gap: var(--bk-space-3); text-decoration: none; font-weight: 600; text-align: center; }
.bk-circle span { overflow-wrap: normal; }
.bk-circle img { width: 100%; max-width: 8.5rem; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--bk-wood); box-shadow: 0 0 0 4px var(--bk-cream), 0 0 0 6px var(--bk-rule); transition: box-shadow var(--bk-dur) var(--bk-ease), scale var(--bk-dur) var(--bk-ease); }
.bk-circle:hover img { box-shadow: 0 0 0 4px var(--bk-cream), 0 0 0 7px var(--bk-pink); scale: 1.03; }
.bk-circle span { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color var(--bk-dur) var(--bk-ease); }
.bk-circle:hover span { text-decoration-color: var(--bk-pink); }
@media (max-width: 62rem) { .bk-circles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* As seen on: outlet names set in type, no borrowed logos. */
.bk-seen { border-block: 1px solid var(--bk-rule); background: var(--bk-cream); }
.bk-seen__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-3) var(--bk-space-7); padding-block: var(--bk-space-5); }
.bk-seen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--bk-space-2) var(--bk-space-6); }
.bk-seen ul { align-items: center; gap: var(--bk-space-4) var(--bk-space-8); }
/* Their own files, set in one ink-grey so five brands read as one row.
   Multiply drops the white tile backgrounds into the cream. Colour returns on hover. */
.bk-seen img { height: 3rem; width: auto; max-width: 9rem; object-fit: contain; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: 0.85; transition: filter var(--bk-dur) var(--bk-ease), opacity var(--bk-dur) var(--bk-ease); }
.bk-seen li:hover img { filter: none; opacity: 1; }

.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(15.5rem, 100%), 1fr)); gap: var(--bk-space-7) var(--bk-space-5); }
.grid--4 .bk-card__title { font-size: var(--bk-size-h4); }

/* Time tiles: three big photo links. */
.bk-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bk-space-5); grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.bk-tile { position: relative; display: block; border-radius: var(--bk-radius-lg); overflow: hidden; text-decoration: none; background: var(--bk-wood); }
.bk-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: scale 600ms var(--bk-ease); }
.bk-tile:hover img { scale: 1.03; }
.bk-tile span { position: absolute; left: var(--bk-space-4); bottom: var(--bk-space-4); display: inline-flex; align-items: center; gap: var(--bk-space-2); padding: var(--bk-space-2) var(--bk-space-4); border-radius: var(--bk-radius); background: var(--bk-cream); font-family: var(--bk-display); font-variation-settings: var(--bk-axes-small); font-weight: 600; font-size: var(--bk-size-h4); box-shadow: var(--bk-shadow-1); }

/* Wood band: honey pine from her kitchen, ink text (5.87:1). Used once. */
.bk-woodband { background: var(--bk-wood); color: var(--bk-ink); padding-block: var(--bk-space-11); }
.bk-woodband__in { display: grid; gap: var(--bk-space-8); grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); align-items: start; }
.bk-woodband__words { display: grid; gap: var(--bk-space-4); justify-items: start; }
.bk-woodband__words p { margin: 0; }
.bk-woodband .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-woodband .bk-recipe-meta, .bk-woodband .bk-recipe-meta .icon { color: var(--bk-ink); }
.bk-woodband .bk-more { text-decoration-color: var(--bk-ink); }
@media (min-width: 75rem) { .bk-woodband .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .bk-woodband__in { grid-template-columns: 1fr; } .bk-woodband__words { max-width: 46rem; } }
@media (max-width: 56rem) { .bk-woodband__in { grid-template-columns: 1fr; } }

/* Gingham: pink tint check, as structure along one edge. Used once. */
.bk-gingham-top { position: relative; border-top: 0; }
.bk-gingham-top::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 14px;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--bk-pink-tint) 70%, transparent) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--bk-pink-tint) 70%, transparent) 0 7px, transparent 7px 14px),
    var(--bk-paper);
}

/* Favourites: a ranked list, not another grid. */
.bk-favs { display: grid; gap: var(--bk-space-7); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: start; }
.bk-favs .bk-section-head { border-bottom: 0; }
.bk-rank { list-style: none; margin: 0; padding: 0; counter-reset: rank; border-top: 2px solid var(--bk-ink); }
.bk-rank > li { counter-increment: rank; display: grid; grid-template-columns: 3rem 1fr; align-items: center; }
.bk-rank > li::before { content: counter(rank); font-family: var(--bk-display); font-variation-settings: var(--bk-axes-big); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--bk-ink); }
.bk-rank .bk-card--row .bk-card__media { width: 6.5rem; }
@media (max-width: 56rem) { .bk-favs { grid-template-columns: 1fr; } }

/* ==========================================================================
   Recipe top: words beside the photo, then straight into the recipe.
   ========================================================================== */
.bk-recipe-intro { padding-block: var(--bk-space-6) var(--bk-space-8); }
.bk-recipe-top { display: grid; gap: var(--bk-space-6) var(--bk-space-9); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; margin-top: var(--bk-space-5); }
.bk-recipe-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bk-radius); background: var(--bk-wood); }
.bk-recipe-head h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
@media (max-width: 56rem) {
  .bk-recipe-top { grid-template-columns: 1fr; }
  .bk-recipe-photo { aspect-ratio: 16 / 9; max-height: 13rem; }
  .bk-recipe-head { gap: var(--bk-space-4); }
  .bk-recipe-head h1 { font-size: 2.375rem; }
  .bk-recipe-top { margin-top: var(--bk-space-3); }
}
.bk-recipe-video { padding-block: var(--bk-space-10); }

/* Show more instead of 41 numbered pages. */
.bk-showmore { display: flex; justify-content: center; margin-top: var(--bk-space-9); }

/* ==========================================================================
   A to Z: the index at the back of a cookbook.           WP: page template
   ========================================================================== */
.bk-az__jump { position: sticky; top: 0; z-index: 5; background: var(--bk-cream); border-block: 1px solid var(--bk-rule); margin-bottom: var(--bk-space-7); }
.bk-az__jump ul { list-style: none; margin: 0; padding: var(--bk-space-2) 0; display: flex; flex-wrap: wrap; gap: var(--bk-space-1); }
.bk-az__jump a, .bk-az__jump span { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: var(--bk-radius-sm); font-family: var(--bk-display); font-variation-settings: var(--bk-axes-small); font-weight: 600; font-size: var(--bk-size-h4); text-decoration: none; }
.bk-az__jump a:hover { background: var(--bk-pink-wash); }
.bk-az__jump span { color: var(--bk-rule); }
.bk-az { columns: 3 17rem; column-gap: var(--bk-space-9); }
.bk-az__group { break-inside: avoid; margin-bottom: var(--bk-space-7); scroll-margin-top: 5rem; }
.bk-az__group h2 { font-size: var(--bk-size-h2); border-bottom: 2px solid var(--bk-ink); padding-bottom: var(--bk-space-2); margin-bottom: var(--bk-space-3); }
.bk-az__group ul { list-style: none; margin: 0; padding: 0; }
.bk-az__group li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--bk-space-3); padding: var(--bk-space-2) 0; border-bottom: 1px solid var(--bk-rule); }
.bk-az__group li a { font-weight: 600; text-decoration-thickness: 2px; }
.bk-az__group li .meta { white-space: nowrap; }

/* Search in the header: a labelled button on wide screens, icon on narrow
   ones (the label stays as its accessible name). */
.bk-searchbtn { width: auto; padding-inline: var(--bk-space-4); gap: var(--bk-space-2); display: inline-flex; align-items: center; font-weight: 600; }
@media (max-width: 62rem) {
  .bk-searchbtn { width: var(--bk-control-h); padding: 0; justify-content: center; }
  .bk-searchbtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.bk-byline span { display: inline-flex; align-items: center; gap: var(--bk-space-2); }
.bk-byline .icon { width: 1.1rem; height: 1.1rem; }

.bk-about-photo { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; border-radius: var(--bk-radius); background: var(--bk-wood); }
@media (max-width: 40rem) { .bk-about-photo { aspect-ratio: 4 / 5; object-position: 50% 50%; } }

/* ==========================================================================
   Email capture: modal, toast, embed, sticky bar.
   One manager in bk.js decides what shows, so they never stack:
   never on arrival, never in Cook mode, never once someone has signed up,
   and a dismissal is respected for 30 days. WP: Kit form block inside each.
   ========================================================================== */

/* Modal. A native <dialog>, so focus is trapped and Esc closes it. */
.bk-modal { width: min(46rem, 100% - 2 * var(--bk-gutter)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--bk-radius-lg); background: var(--bk-cream); color: var(--bk-ink); box-shadow: var(--bk-shadow-2); overflow: auto; }
.bk-modal::backdrop { background: rgba(34, 31, 31, 0.55); }
.bk-modal[open] { animation: bk-modal-in 340ms var(--bk-ease); }
@keyframes bk-modal-in { from { opacity: 0; translate: 0 1rem; } }
.bk-modal__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.bk-modal__img { width: 100%; height: 100%; min-height: 16rem; object-fit: cover; object-position: 50% 30%; background: var(--bk-wood); }
.bk-modal__body { padding: var(--bk-space-7) var(--bk-space-6) var(--bk-space-6); display: grid; gap: var(--bk-space-4); align-content: start; }
.bk-modal__body h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; }
.bk-modal__body p { margin: 0; }
.bk-modal__close { position: absolute; top: var(--bk-space-3); right: var(--bk-space-3); }
.bk-modal__no { justify-self: start; background: none; border: 0; padding: var(--bk-space-2) 0; font-weight: 600; text-decoration: underline; text-decoration-color: var(--bk-pink); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; min-height: 2.75rem; }
@media (max-width: 40rem) { .bk-modal__in { grid-template-columns: 1fr; } .bk-modal__img { min-height: 0; height: 9rem; } .bk-modal__body { padding: var(--bk-space-5); } }

/* Toast. Bottom of the screen, says what just happened, stays long enough to read. */
.bk-toasts[popover] { top: auto; right: auto; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; color: inherit; }   /* top layer: above an open popup */
.bk-toasts { position: fixed; left: 50%; bottom: var(--bk-space-5); translate: -50% 0; z-index: 95; display: grid; gap: var(--bk-space-2); width: min(34rem, 100% - 2 * var(--bk-gutter)); pointer-events: none; }
.bk-toast { pointer-events: auto; display: flex; align-items: center; gap: var(--bk-space-3); padding: var(--bk-space-3) var(--bk-space-3) var(--bk-space-3) var(--bk-space-5); border-radius: var(--bk-radius); background: var(--bk-paper); color: var(--bk-ink); border: 2px solid var(--bk-ink); border-left: 8px solid var(--bk-pink); box-shadow: 0 10px 30px rgba(34, 31, 31, 0.35); font-weight: 600; animation: bk-toast-in 340ms var(--bk-ease); }
.bk-toast--error { border-left-color: var(--bk-error); }
.bk-toast--error .icon:first-child { color: var(--bk-error) !important; }
.bk-toast .icon { color: var(--bk-pink); width: 1.5rem; height: 1.5rem; }
.bk-toast p { margin: 0; flex: 1; }
.bk-toast button { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: var(--bk-radius-sm); background: transparent; color: var(--bk-ink); cursor: pointer; }
.bk-toast button:hover { background: var(--bk-pink-wash); }
.bk-toast :focus-visible { --bk-focus-ring: var(--bk-ink); }
.bk-toast[data-leaving] { opacity: 0; translate: 0 0.5rem; transition: opacity 240ms var(--bk-ease), translate 240ms var(--bk-ease); }
@keyframes bk-toast-in { from { opacity: 0; translate: 0 0.75rem; } }

/* Embed: an inline opt-in inside a page. Pink wash, no box border. */
.bk-optin { display: grid; gap: var(--bk-space-5) var(--bk-space-7); grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; padding: var(--bk-space-7); border-radius: var(--bk-radius-lg); background: var(--bk-pink-tint); }
.bk-optin h2, .bk-optin h3 { font-size: var(--bk-size-h3); }
.bk-optin p { margin: var(--bk-space-2) 0 0; }
.bk-optin .bk-check { margin-top: var(--bk-space-3); font-size: var(--bk-size-label); }
.bk-optin .bk-input { border-color: var(--bk-ink); }
@media (max-width: 48rem) { .bk-optin { grid-template-columns: 1fr; padding: var(--bk-space-5); } }

/* Sticky bar. Slides up after the first screen, hides near the footer and
   the pink band, and never sits over Cook mode. */
/* Sign-up toaster: a small card that slides up in the corner (bk.js decides when). */
.bk-toaster {
  position: fixed; right: var(--bk-space-5); bottom: var(--bk-space-5); z-index: 80;
  width: min(25rem, 100% - 2 * var(--bk-space-4));
  padding: var(--bk-space-5) var(--bk-space-5) var(--bk-space-5);
  background: var(--bk-paper); color: var(--bk-ink);
  border-top: 6px solid var(--bk-pink); border-radius: var(--bk-radius-lg);
  box-shadow: 0 0 0 1px rgba(34, 31, 31, 0.1), 0 12px 32px rgba(34, 31, 31, 0.18);
  opacity: 0; translate: 0 calc(100% + 2rem);
  transition: translate var(--bk-dur) var(--bk-ease), opacity var(--bk-dur) var(--bk-ease);
}
.bk-toaster[data-up] { opacity: 1; translate: 0 0; }
.bk-toaster__top { display: flex; gap: var(--bk-space-4); align-items: flex-start; padding-right: 2.5rem; }
.bk-toaster__img { width: 3.5rem; height: 3.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; box-shadow: 0 0 0 3px var(--bk-pink-tint); }
.bk-toaster__h { font-size: var(--bk-size-h4); line-height: 1.2; margin: 0; text-wrap: balance; }
.bk-toaster__p { margin: var(--bk-space-2) 0 0; font-size: var(--bk-size-label); line-height: 1.45; color: var(--bk-text-muted); max-width: none; }
.bk-toaster .bk-inline-form { margin-top: var(--bk-space-4); }
.bk-toaster .bk-inline-form .bk-field { flex-basis: 100%; }
.bk-toaster .bk-inline-form .bk-btn { flex: 1 1 auto; }
.bk-toaster .bk-check { flex-basis: 100%; font-size: var(--bk-size-label); }
.bk-toaster__close { position: absolute; top: var(--bk-space-2); right: var(--bk-space-2); width: 2.75rem; height: 2.75rem; }
@media (max-width: 40rem) {
  .bk-toaster { right: var(--bk-space-3); left: var(--bk-space-3); bottom: var(--bk-space-3); width: auto; padding: var(--bk-space-4); }
  .bk-toaster__p { display: none; }
  .bk-toaster__img { width: 2.75rem; height: 2.75rem; }
  .bk-toaster__top { align-items: center; }
  body:has(.bk-toaster[data-up]) .bk-toasts { bottom: calc(var(--bk-space-3) + 15rem); }
}
@media (prefers-reduced-motion: reduce) { .bk-toaster { transition: opacity var(--bk-dur) linear; translate: 0 0; } }
@media print { .bk-toaster, .bk-toasts, .bk-modal { display: none !important; } }

/* Share and send: for the people who'll pass it to a sister in Calgary. */
.bk-share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-3); }

/* Cook mode finish: the last screen says goodbye the way she does. */
.bk-cook__done { width: min(48rem, 100%); margin-inline: auto; display: grid; gap: var(--bk-space-5); justify-items: start; }
.bk-cook__done h3 { font-size: var(--bk-size-cook); line-height: 1.15; }
.bk-cook__done .bk-signoff { margin-top: 0; }

/* Publisher mark beside the book facts. */
.bk-publisher { display: flex; align-items: center; gap: var(--bk-space-3); margin: 0; }
.bk-publisher img { height: 2.5rem; width: auto; mix-blend-mode: multiply; }

/* ==========================================================================
   Site search: the header button opens this, right where you are.
   ========================================================================== */
.bk-searchdlg { width: min(44rem, 100% - 2 * var(--bk-gutter)); margin: 12vh auto auto; padding: 0; border: 0; border-radius: var(--bk-radius-lg); background: var(--bk-cream); color: var(--bk-ink); box-shadow: var(--bk-shadow-2); }
.bk-searchdlg::backdrop { background: rgba(34, 31, 31, 0.55); }
.bk-searchdlg[open] { animation: bk-modal-in 340ms var(--bk-ease); }
.bk-searchdlg__in { position: relative; padding: var(--bk-space-7) var(--bk-space-6) var(--bk-space-6); display: grid; gap: var(--bk-space-5); }
.bk-searchdlg h2 { font-size: var(--bk-size-h3); }
.bk-searchdlg .bk-iconbtn { position: absolute; top: var(--bk-space-3); right: var(--bk-space-3); }
.bk-searchdlg__popular { display: flex; flex-wrap: wrap; gap: var(--bk-space-2) var(--bk-space-3); align-items: center; }
@media (max-width: 40rem) { .bk-searchdlg { margin-top: var(--bk-space-5); } .bk-searchdlg__in { padding: var(--bk-space-6) var(--bk-space-5) var(--bk-space-5); } }

/* ==========================================================================
   In my cookbook: a strip near the top of a recipe, and a card after the tips.
   WP: bk/cookbook-badge (the "In my cookbook" tick boxes on each recipe).
   ========================================================================== */
.bk-inbook--strip { display: inline-flex; align-items: center; gap: var(--bk-space-3); padding: var(--bk-space-2) var(--bk-space-4) var(--bk-space-2) var(--bk-space-2); border-radius: var(--bk-radius); background: var(--bk-pink-wash); color: var(--bk-ink); font-size: var(--bk-size-label); text-decoration: none; transition: background var(--bk-dur) var(--bk-ease); }
.bk-inbook--strip:hover { background: var(--bk-pink-tint); }
.bk-inbook--strip b { font-weight: 600; }
.bk-inbook__thumb { width: 2.5rem; flex: none; }
.bk-inbook__thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; box-shadow: var(--bk-shadow-1); }
.bk-inbook--strip > .icon { width: 1.1rem; height: 1.1rem; flex: none; }
.bk-inbook--card { display: grid; grid-template-columns: 8rem 1fr; gap: var(--bk-space-6); align-items: center; margin-top: var(--bk-space-8); padding: var(--bk-space-6); border-radius: var(--bk-radius-lg); background: var(--bk-paper); border: 1px solid var(--bk-rule); }
.bk-inbook__cover img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--bk-radius-sm); box-shadow: var(--bk-shadow-1); }
.bk-inbook__body { display: grid; gap: var(--bk-space-3); justify-items: start; }
.bk-inbook__body h3 { font-size: var(--bk-size-h3); }
.bk-inbook__body p { margin: 0; }
@media (max-width: 40rem) {
  /* Phone: cover beside the label and title; the words, the Buy button and the link get the full width. */
  .bk-inbook--card { grid-template-columns: 4.75rem 1fr; gap: var(--bk-space-2) var(--bk-space-4); align-items: end; padding: var(--bk-space-5); }
  .bk-inbook--card .bk-inbook__cover { grid-row: 1 / 3; align-self: start; }
  .bk-inbook--card .bk-inbook__body { display: contents; }
  .bk-inbook--card .bk-inbook__body > .label { grid-column: 2; align-self: end; margin: 0; }
  .bk-inbook--card .bk-inbook__body > h3 { grid-column: 2; align-self: start; font-size: var(--bk-size-h4); line-height: 1.2; }
  .bk-inbook--card .bk-inbook__body > p:not(.label), .bk-inbook--card .bk-inbook__body > .bk-actions { grid-column: 1 / -1; }
  .bk-inbook--card .bk-inbook__body > p:not(.label) { margin-top: var(--bk-space-3); }
  .bk-inbook--card .bk-actions { display: grid; gap: var(--bk-space-3); justify-items: center; margin-top: var(--bk-space-2); }
  .bk-inbook--card .bk-actions .bk-btn { width: 100%; }
  .bk-inbook--card .bk-actions .bk-btn { padding-inline: var(--bk-space-4); gap: var(--bk-space-2); white-space: nowrap; }
  .bk-inbook--card .bk-actions .bk-more { display: inline-flex; align-items: center; gap: var(--bk-space-2); white-space: nowrap; }
}
@media (max-width: 22rem) {
  .bk-inbook--card .bk-actions .bk-btn, .bk-inbook--card .bk-actions .bk-more { font-size: 1rem; }
  .bk-inbook--strip { display: flex; }
}
@media print { .bk-inbook--strip { display: none; } }

/* ==========================================================================
   Road to 100,000: the YouTube jar.
   A mason jar holding all 100,000 as 100 partridgeberries, one per 1,000.
   The next berry fills by the hundred (YouTube rounds to hundreds). Ink band on
   home, a strip on Videos, the count in the header button.
   WP: bk/yt-jar {"style":"full"|"compact"}; header via bk_yt().
   ========================================================================== */
:root { --bk-berry: #b8163f; --bk-berry-deep: #7d0f2c; }
.bk-jarband { overflow: clip; }
.bk-jarband__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: var(--bk-space-9); align-items: center; }
.bk-jar { margin: 0; justify-self: center; width: min(100%, 22rem); }
.bk-jar__svg { display: block; width: 100%; height: auto; overflow: visible; }
.bk-jar__glass { fill: color-mix(in srgb, var(--bk-cream) 7%, transparent); stroke: var(--bk-cream); stroke-width: 2.5; stroke-linejoin: round; }
.bk-jar__streak { fill: none; stroke: var(--bk-cream); stroke-width: 3; stroke-linecap: round; opacity: 0.28; }
.bk-jar__berry circle:first-child { fill: var(--bk-berry); }
.bk-jar__shine { fill: #fff; opacity: 0.38; }
.bk-jar__crown { fill: var(--bk-berry-deep); }
.bk-jar__partfill { fill: var(--bk-berry); transform-box: fill-box; transform-origin: 50% 100%; }
.bk-jar__slot { fill: none; stroke: var(--bk-cream); stroke-width: 1; stroke-dasharray: 2 2.6; opacity: 0.32; }
.bk-jar__mark { stroke: var(--bk-cream); stroke-width: 1.5; opacity: 0.6; }
.bk-jar__marktext { fill: var(--bk-cream); font: 600 10px var(--bk-text); letter-spacing: 0.02em; opacity: 0.75; }
.bk-jar__cloth { stroke: var(--bk-ink); stroke-width: 1.2; stroke-linejoin: round; }
.bk-jar__twine { fill: none; stroke: var(--bk-wood); stroke-width: 2.4; stroke-linecap: round; }

.bk-jarband__body { display: grid; gap: var(--bk-space-4); justify-items: start; max-width: 36rem; }
.bk-jarband__body > * { margin: 0; }
.bk-jarband h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.02em; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.bk-jarband__count { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--bk-space-2) var(--bk-space-3); margin-top: var(--bk-space-3) !important; padding-top: var(--bk-space-4); border-top: 1px solid color-mix(in srgb, var(--bk-cream) 30%, transparent); width: 100%; }
.bk-jarband__count data { font-family: var(--bk-display); font-weight: 600; font-size: clamp(2.75rem, 6vw, 4.25rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; color: var(--bk-cream); }
.bk-jarband__count span { font-size: var(--bk-size-h4); color: color-mix(in srgb, var(--bk-cream) 85%, var(--bk-ink)); }
.bk-jarband__togo { font-family: var(--bk-display); font-size: var(--bk-size-h4); line-height: 1.4; color: var(--bk-cream) !important; max-width: 34ch; }
.bk-jarband__togo b { color: var(--bk-pink) !important; }
.bk-jarband__togo b, .bk-jarband p b { color: var(--bk-cream); font-weight: 600; }
.bk-jarband__since { padding: var(--bk-space-2) var(--bk-space-4); border-radius: var(--bk-radius); background: color-mix(in srgb, var(--bk-berry) 38%, var(--bk-ink)); color: var(--bk-cream) !important; }
.bk-jarband__promise { font-family: var(--bk-display); font-size: var(--bk-size-h4); line-height: 1.35; color: var(--bk-cream) !important; padding-left: var(--bk-space-4); border-left: 1px solid var(--bk-pink); }
.bk-jarband .bk-actions { margin-top: var(--bk-space-2); }
.bk-jarband .bk-btn--line { --_fg: var(--bk-cream); --_bd: var(--bk-cream); }
.bk-jarband .bk-btn--line:hover { --_bg: color-mix(in srgb, var(--bk-cream) 12%, transparent); }
.bk-jarband .bk-btn--line[aria-expanded="true"] .icon { rotate: 90deg; }
.bk-jarband .bk-btn--line .icon { transition: rotate var(--bk-dur) var(--bk-ease); }
.bk-jarband__share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-2) var(--bk-space-3); width: 100%; padding: var(--bk-space-4); border-radius: var(--bk-radius-lg); background: color-mix(in srgb, var(--bk-cream) 8%, var(--bk-ink)); }
.bk-jarband__share[hidden] { display: none; }
.bk-jarband__share p { flex-basis: 100%; margin: 0; }
.bk-jarband__share a, .bk-jarband__share button { display: inline-flex; align-items: center; gap: var(--bk-space-2); min-height: var(--bk-control-h); padding-inline: var(--bk-space-4); border-radius: var(--bk-radius); border: 1px solid color-mix(in srgb, var(--bk-cream) 45%, transparent); background: none; color: var(--bk-cream); font: 500 var(--bk-size-label) var(--bk-text); text-decoration: none; cursor: pointer; }
.bk-jarband__share a:hover, .bk-jarband__share button:hover { background: color-mix(in srgb, var(--bk-cream) 12%, transparent); }
.bk-jarband__share .icon { width: 1.2rem; height: 1.2rem; }
.bk-jarband .caption { color: color-mix(in srgb, var(--bk-cream) 72%, var(--bk-ink)) !important; }
.bk-jarband[data-subbed] [data-yt-sub] { --_bg: transparent; --_fg: var(--bk-cream); --_bd: color-mix(in srgb, var(--bk-cream) 45%, transparent); order: 2; }
@media (max-width: 56rem) {
  .bk-jarband__grid { grid-template-columns: 1fr; gap: var(--bk-space-6); }
  .bk-jar { width: min(56%, 13.5rem); }
}

/* The one moment: new berries fall into the jar and settle. */
.bk-jar__berry[data-pending] { opacity: 0; }

/* Videos page strip. */
.bk-jar-strip { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: var(--bk-space-5); align-items: center; margin-block: var(--bk-space-6); padding: var(--bk-space-4) var(--bk-space-5); border-radius: var(--bk-radius-lg); background: var(--bk-ink); color: var(--bk-cream); }
.bk-jar-strip p { margin: 0; color: var(--bk-cream); font-size: var(--bk-size-h4); line-height: 1.35; font-family: var(--bk-display); }
.bk-jar-strip__jar { display: block; }
@media (max-width: 40rem) { .bk-jar-strip { grid-template-columns: 3.5rem 1fr; gap: var(--bk-space-4); } .bk-jar-strip .bk-btn { grid-column: 1 / -1; justify-content: center; } }

/* Header: the count rides in the YouTube button. */
.bk-ytbtn__count { padding: 0.1em 0.5em; border-radius: 999px; background: color-mix(in srgb, var(--bk-ink) 16%, transparent); font-variant-numeric: lining-nums tabular-nums; font-size: 0.9em; }
.bk-ytbtn { white-space: nowrap; }
@media (max-width: 34rem) { .bk-ytbtn .bk-ytbtn__word { display: none; } }   /* phones: icon and count only, so it never wraps */
@media (max-width: 24rem) {
  .bk-header__tools .bk-ytbtn { width: auto; padding-inline: var(--bk-space-3); }
  .bk-header__tools .bk-ytbtn .bk-ytbtn__count { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
@media print { .bk-jarband, .bk-jar-strip { display: none; } }

/* ==========================================================================
   Recipe finder: chips are real checkboxes, so the form works without JS.
   WP: bk/recipe-finder on /recipes/.
   ========================================================================== */
.bk-chip--check { position: relative; cursor: pointer; font-weight: 500; }
.bk-chip--check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bk-chip--check:has(input:checked) { background: var(--bk-pink); border-color: var(--bk-pink); }
.bk-chip--check:has(input:checked)::before {
  content: ''; width: 1rem; height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f1f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bk-chip--check:has(input:focus-visible) { outline: 3px solid var(--bk-focus-ring, var(--bk-ink)); outline-offset: 2px; }
.bk-have legend { display: grid; gap: var(--bk-space-1); }
.bk-have__hint { font-weight: 400; color: var(--bk-text-muted); font-size: var(--bk-size-label); }
.bk-have__add { margin: var(--bk-space-4) 0 0; max-width: 30rem; }
.bk-have__row { display: flex; gap: var(--bk-space-3); }
.bk-have__row .bk-input { flex: 1; min-width: 0; }
.bk-filters__go { display: flex; }
.js .bk-filters__go { display: none; }
.bk-results-grid { transition: opacity var(--bk-dur) var(--bk-ease); }
.bk-finder[aria-busy="true"] .bk-results-grid { opacity: 0.45; }
.bk-showmore { display: flex; justify-content: center; margin-top: var(--bk-space-8); }
/* On phones the extra filters fold away behind one button; search stays out. */
.bk-filters__more > * + * { margin-top: var(--bk-space-5); }
.bk-filters__more > summary { display: none; }
.bk-filters__more > summary::-webkit-details-marker { display: none; }
@media (max-width: 40rem) {
  .bk-filters__more > summary { display: inline-flex; justify-self: start; list-style: none; cursor: pointer; }
  .bk-filters__more[open] > summary { margin-bottom: var(--bk-space-2); }
}

/* Under each recipe video: who's watching, and the subscribe button.
   WP: part of bk/recipe-video. Once they've subscribed, a thank-you instead. */
.bk-video-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--bk-space-4) var(--bk-space-6); margin-top: var(--bk-space-5); padding: var(--bk-space-5) var(--bk-space-6); border-radius: var(--bk-radius-lg); background: var(--bk-paper); border: 1px solid var(--bk-rule); }
.bk-video-sub p { margin: 0; }
.bk-video-sub p span { color: var(--bk-text-muted); }
.bk-video-sub__thanks { display: flex; align-items: center; gap: var(--bk-space-2); flex-basis: 100%; }
.bk-video-sub__thanks[hidden] { display: none; }
.bk-video-sub__thanks .icon { width: 1.25rem; height: 1.25rem; flex: none; }
.bk-video-sub[data-subbed] > p:first-child, .bk-video-sub[data-subbed] > .bk-btn { display: none; }
@media (max-width: 40rem) { .bk-video-sub { padding: var(--bk-space-5); } .bk-video-sub .bk-btn { width: 100%; justify-content: center; } }

/* ==========================================================================
   Words & Sayings (/words/) and Stories from home (/stories/).
   WP: bk/word-index, bk/word-detail, bk/story-detail, bk/story-list.
   ========================================================================== */
.bk-word-kinds { margin: var(--bk-space-2) 0 var(--bk-space-8); }
.bk-word-kinds .bk-chip { text-decoration: none; color: var(--bk-ink); }
.bk-words { columns: 2 22rem; column-gap: var(--bk-space-10); }
.bk-words__group { break-inside: avoid; margin-bottom: var(--bk-space-7); }
.bk-words__group h2 { font-size: var(--bk-size-h2); border-bottom: 2px solid var(--bk-ink); padding-bottom: var(--bk-space-2); margin-bottom: var(--bk-space-2); }
.bk-words__group dl { margin: 0; }
.bk-words__item { padding: var(--bk-space-3) 0; border-bottom: 1px solid var(--bk-rule); }
.bk-words__item dt { font-family: var(--bk-display); font-weight: 600; font-size: var(--bk-size-h4); }
.bk-words__item dt a { text-decoration: none; }
.bk-words__item dt a:hover { text-decoration: underline; text-decoration-color: var(--bk-pink); }
.bk-words__item dd { margin: var(--bk-space-1) 0 0; color: var(--bk-text-muted); }
/* A word or story page: one reading column. Space above a section is
   generous, space under its heading is tight, so each heading owns its text. */
.bk-word-page .bk-intro, .bk-story-page .bk-intro { padding-bottom: 0; }
.bk-word__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-2) var(--bk-space-4); margin: var(--bk-space-4) 0 0; color: var(--bk-text-muted); }
.bk-word-page .wp-block-post-content { margin-top: var(--bk-space-6); }
.bk-word-page .wp-block-post-content > p:first-child, .bk-word-page .wp-block-post-content .lead { font-size: clamp(1.375rem, 2.4vw, 1.625rem); line-height: 1.4; max-width: 34em; text-wrap: pretty; }
.bk-word { margin-top: var(--bk-space-7); }
.bk-word > * { margin: 0; }
.bk-word > * + * { margin-top: var(--bk-space-8); }
.bk-word > .bk-word__back { margin-top: var(--bk-space-8); }
.bk-word h2 { font-size: var(--bk-size-h3); margin: 0 0 var(--bk-space-3); }
.bk-word__history p, .bk-sources p { margin: 0; max-width: var(--bk-measure); }
.bk-word__note { padding: var(--bk-space-5) var(--bk-space-6); border-radius: var(--bk-radius-lg); background: var(--bk-pink-wash); }
.bk-word__note p { margin: 0; }
.bk-word__note p + p { margin-top: var(--bk-space-2); }
.bk-word__note--todo { background: none; border: 1px dashed var(--bk-pink); font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-word__story { display: grid; grid-template-columns: 1fr auto; gap: var(--bk-space-1) var(--bk-space-4); align-items: center; padding: var(--bk-space-5) var(--bk-space-6); border-radius: var(--bk-radius-lg); background: var(--bk-ink); color: var(--bk-cream); text-decoration: none; }
.bk-word__story .label { grid-column: 1; color: color-mix(in srgb, var(--bk-cream) 75%, var(--bk-ink)); }
.bk-word__story b { grid-column: 1; font-family: var(--bk-display); font-size: var(--bk-size-h4); }
.bk-word__story .icon { grid-row: 1 / span 2; grid-column: 2; width: 1.4rem; height: 1.4rem; }
/* Related recipes as rows: a thumbnail and the name, easy to scan. */
.bk-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: var(--bk-space-3) var(--bk-space-5); }
.bk-rows a { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--bk-space-4); align-items: center; padding: var(--bk-space-2); border-radius: var(--bk-radius); text-decoration: none; color: var(--bk-ink); transition: background var(--bk-dur) var(--bk-ease); }
.bk-rows a:hover { background: var(--bk-pink-wash); }
.bk-rows img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: var(--bk-radius-sm); }
.bk-rows b { display: block; font-family: var(--bk-display); font-weight: 600; font-size: var(--bk-size-h4); line-height: 1.25; }
.bk-rows .meta { display: inline-flex; align-items: center; gap: var(--bk-space-1); margin-top: var(--bk-space-1); }
.bk-rows .meta .icon { width: 1rem; height: 1rem; }
.bk-sources { padding-top: var(--bk-space-6); border-top: 1px solid var(--bk-rule); }
.bk-sources p { color: var(--bk-text-muted); margin-bottom: var(--bk-space-4); }
.bk-sources ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--bk-space-3); }
.bk-sources li { line-height: 1.45; }
.bk-story-page .wp-block-post-content { margin-top: var(--bk-space-7); }
.bk-word--story { margin-top: var(--bk-space-8); }
.bk-stories { margin-top: var(--bk-space-10); }
.bk-stories__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--bk-space-4); grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.bk-stories__list a { display: grid; gap: var(--bk-space-2); height: 100%; padding: var(--bk-space-5) var(--bk-space-6); border-radius: var(--bk-radius-lg); background: var(--bk-paper); border: 1px solid var(--bk-rule); text-decoration: none; color: var(--bk-ink); }
.bk-stories__list a:hover { border-color: var(--bk-ink); }
.bk-stories__list b { font-family: var(--bk-display); font-size: var(--bk-size-h4); }
.bk-stories__list span { color: var(--bk-text-muted); }

/* Another version of the recipe she adds after her tips (one loaf, the original).
   WP: part of bk/recipe-body. Kept apart so its amounts never mix into the main list. */
.bk-variation { margin-top: var(--bk-space-7); padding: var(--bk-space-6); border-radius: var(--bk-radius-lg); background: var(--bk-paper); border: 1px solid var(--bk-rule); }
.bk-variation > .label { margin: 0 0 var(--bk-space-1); }
.bk-variation h3 { font-size: var(--bk-size-h3); margin: 0 0 var(--bk-space-5); }
.bk-variation h4 { font-size: var(--bk-size-h4); margin: 0 0 var(--bk-space-3); }
.bk-variation h5 { font-size: var(--bk-size-body); margin: var(--bk-space-4) 0 var(--bk-space-2); }
.bk-variation__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--bk-space-7); }
.bk-variation__ings { list-style: none; margin: 0; padding: 0; }
.bk-variation__ings li { padding: var(--bk-space-2) 0; border-bottom: 1px solid var(--bk-rule); }
.bk-variation__steps { margin: 0; padding-left: 1.4em; display: grid; gap: var(--bk-space-3); }
@media (max-width: 48rem) { .bk-variation__cols { grid-template-columns: 1fr; gap: var(--bk-space-5); } .bk-variation { padding: var(--bk-space-5); } }

/* --- Letters from my kitchen (/letters/, a single letter, the home line) --- */
.bk-letters { list-style: none; margin: 0; padding: 0 0 var(--bk-space-9); display: grid; gap: var(--bk-space-6); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.bk-letter a { display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: var(--bk-radius-lg); background: var(--bk-paper); border: 1px solid var(--bk-rule); color: var(--bk-ink); text-decoration: none; overflow: hidden; transition: border-color .15s; }
.bk-letter a:hover { border-color: var(--bk-ink); }
.bk-letter__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bk-letter__body { display: grid; align-content: start; gap: var(--bk-space-2); padding: var(--bk-space-5) var(--bk-space-6) var(--bk-space-6); }
.bk-letter__date { font-size: var(--bk-size-small, .9375rem); font-weight: 600; color: var(--bk-text-muted); }
.bk-letter__title { font-family: var(--bk-display); font-size: var(--bk-size-h4); line-height: 1.2; }
.bk-letter__text { color: var(--bk-text-muted); }
.bk-letter--noimg a { grid-template-rows: 1fr; border-top: 6px solid var(--bk-pink); }
@media (min-width: 48rem) {
  .bk-letter--lead { grid-column: 1 / -1; }
  .bk-letter--lead a { grid-template-columns: 1.1fr 1fr; grid-template-rows: auto; max-height: 28rem; }
  .bk-letter--lead a { align-items: stretch; }
  .bk-letter--lead .bk-letter__img { aspect-ratio: auto; height: 100%; max-height: 28rem; min-height: 22rem; }
  .bk-letter--lead .bk-letter__body { align-content: center; padding: var(--bk-space-8); gap: var(--bk-space-3); }
  .bk-letter--lead .bk-letter__title { font-size: var(--bk-size-h2); }
  .bk-letter--lead.bk-letter--noimg a { grid-template-columns: 1fr; }
}
.bk-letter-page__date { color: var(--bk-text-muted); font-weight: 600; }
.bk-letter-page__img { margin-top: var(--bk-space-7); }
.bk-letter-page__img img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; border-radius: var(--bk-radius-lg); }
.bk-letter-page .wp-block-post-content img { height: auto; }
.bk-letters-more { margin-top: var(--bk-space-10); padding-top: var(--bk-space-8); border-top: 1px solid var(--bk-rule); }
.bk-letters-more .bk-letters { padding-bottom: 0; }
.bk-letter-note { margin-block: var(--bk-space-9); }
.bk-letter-note a { display: grid; grid-template-columns: 1fr auto; gap: var(--bk-space-2) var(--bk-space-5); align-items: center; padding: var(--bk-space-6) var(--bk-space-7); border-radius: var(--bk-radius-lg); background: var(--bk-pink-tint); color: var(--bk-ink); text-decoration: none; }
.bk-letter-note .label { grid-column: 1; }
.bk-letter-note b { grid-column: 1; font-family: var(--bk-display); font-size: var(--bk-size-h3); line-height: 1.15; }
.bk-letter-note__go { grid-column: 2; grid-row: 1 / 3; display: inline-flex; gap: var(--bk-space-2); align-items: center; font-weight: 700; }
@media (max-width: 40rem) { .bk-letter-note a { grid-template-columns: 1fr; } .bk-letter-note__go { grid-column: 1; grid-row: auto; } }

/* Videos page: this week's video, the jar, her playlists. */
.bk-watch { display: grid; gap: var(--bk-space-9); margin-block: var(--bk-space-7) var(--bk-space-9); }
.bk-watch__latest { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--bk-space-6) var(--bk-space-8); align-items: center; }
@media (max-width: 52rem) { .bk-watch__latest { grid-template-columns: 1fr; } }
.bk-watch__latest h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.1; margin: var(--bk-space-2) 0 var(--bk-space-3); text-wrap: balance; }
.bk-watch__meta { margin: 0 0 var(--bk-space-5); color: var(--bk-text-muted); }
.bk-watch__lists .bk-section-head p { margin: var(--bk-space-2) 0 0; color: var(--bk-text-muted); }
.bk-card__media--wide img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.bk-shorts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--bk-space-4); }
.bk-watch .bk-shorts > li, .bk-watch .bk-shorts > li + li { margin: 0; }
.bk-shorts a {
  position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: var(--bk-radius-lg); background: var(--bk-ink); color: var(--bk-cream); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(34, 31, 31, 0.12), var(--bk-shadow-1);
  transition: translate var(--bk-dur) var(--bk-ease), box-shadow var(--bk-dur) var(--bk-ease);
}
.bk-shorts img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--bk-ease); }
.bk-shorts a::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, transparent, rgba(34, 31, 31, 0.92)); }
.bk-shorts .bk-card__video { top: var(--bk-space-3); bottom: auto; z-index: 1; }
.bk-shorts__t {
  position: absolute; inset: auto var(--bk-space-3) var(--bk-space-3); z-index: 1;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--bk-cream); text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bk-shorts a:hover { translate: 0 -4px; box-shadow: 0 0 0 2px var(--bk-pink), 0 14px 28px rgba(34, 31, 31, 0.2); }
.bk-shorts a:hover img { scale: 1.05; }
.bk-shorts a:focus-visible { outline: 3px solid var(--bk-ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bk-shorts a, .bk-shorts img { transition: none; } .bk-shorts a:hover { translate: none; } .bk-shorts a:hover img { scale: none; } }
@media (max-width: 62rem) {
  .bk-shorts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bk-gutter); margin-inline: calc(-1 * var(--bk-gutter)); padding: var(--bk-space-2) var(--bk-gutter) var(--bk-space-4); scrollbar-width: none; }
  .bk-shorts::-webkit-scrollbar { display: none; }
  .bk-shorts li { scroll-snap-align: start; }
}
@media (min-width: 40rem) and (max-width: 62rem) { .bk-shorts { grid-auto-columns: 27%; } }

/* Already subscribed: the band, footer and toaster ask for something else. */
.bk-pinkband__in[data-ask] .bk-altcta__act, .bk-footer__signup[data-ask] .bk-altcta__act { justify-self: end; }
.bk-pinkband__in[data-ask] h2 { margin: 0; }
.bk-footer__signup[data-ask] { align-items: center; }
.bk-toaster[data-ask] .bk-altcta__act { margin-top: var(--bk-space-4); }
.bk-toaster[data-ask] .bk-altcta__act .bk-btn { width: 100%; justify-content: center; }
@media (max-width: 52rem) { .bk-pinkband__in[data-ask] .bk-altcta__act, .bk-footer__signup[data-ask] .bk-altcta__act { justify-self: start; } }

/* Recipe card heading: where "Jump to recipe" lands, with Cook mode beside it. */
.bk-recipe { scroll-margin-top: var(--bk-space-4); }
.bk-recipe__bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--bk-space-4) var(--bk-space-6); padding-bottom: var(--bk-space-6); margin-bottom: var(--bk-space-7); border-bottom: 2px solid var(--bk-ink); }
.bk-recipe__bar h2 { margin: 0; font-size: clamp(1.875rem, 4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.bk-recipe__bar h2 .label { display: block; margin-bottom: var(--bk-space-2); }
.bk-recipe__cook { display: grid; justify-items: end; gap: var(--bk-space-2); }
.bk-recipe__cook .caption { margin: 0; max-width: 26ch; text-align: right; }
@media (max-width: 40rem) { .bk-recipe__cook { justify-items: stretch; width: 100%; } .bk-recipe__cook .bk-btn { width: 100%; justify-content: center; } .bk-recipe__cook .caption { text-align: left; max-width: none; } }
.bk-story-body .bk-ad { margin-block: var(--bk-space-7); }

/* "Welcome to my brand NEW website!" bar above the header. */
.bk-newsite { background: var(--bk-pink-wash); border-bottom: 1px solid var(--bk-pink-tint); color: var(--bk-ink); }
.bk-newsite[hidden] { display: none; }
.bk-newsite__in { width: min(var(--bk-wide), 100% - 2 * var(--bk-gutter)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-2) var(--bk-space-5); padding-block: var(--bk-space-2); padding-right: 2.75rem; position: relative; font-size: var(--bk-size-label); line-height: 1.4; }
.bk-newsite p { margin: 0; max-width: none; }
.bk-newsite__in > p:first-child { flex: 1 1 24rem; }
.bk-newsite__tag { display: inline-block; margin-right: var(--bk-space-2); padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--bk-pink); color: var(--bk-ink); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 0.08em; }
.bk-newsite__links { display: flex; flex-wrap: wrap; gap: var(--bk-space-1) var(--bk-space-4); }
.bk-newsite a { color: var(--bk-ink); font-weight: 600; text-decoration-color: var(--bk-pink); text-underline-offset: 0.2em; }
.bk-newsite__x { position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: var(--bk-radius-sm); background: transparent; color: var(--bk-ink); cursor: pointer; }
.bk-newsite__x:hover { background: var(--bk-pink-tint); }
@media (max-width: 40rem) {
  .bk-newsite__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--bk-space-2); row-gap: 0.125rem; padding-block: var(--bk-space-2); padding-right: 0; font-size: 0.9375rem; }
  .bk-newsite__in > p:first-child { grid-column: 1; text-wrap: balance; }
  .bk-newsite__more, .bk-newsite__long { display: none; }
  .bk-newsite__links { grid-column: 1; gap: var(--bk-space-4); }
  .bk-newsite__links a { display: inline-block; padding-block: 0.3rem; }   /* taller tap target */
  .bk-newsite__x { position: static; translate: none; grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-right: calc(-1 * var(--bk-space-2)); }
}
.bk-newsite__hs { display: none; }
@media (max-width: 26rem) { .bk-newsite__tag { display: none; } }
@media (max-width: 22rem) { .bk-newsite__h { display: none; } .bk-newsite__hs { display: inline; } }
/* ==========================================================================
   wp.css: maps WordPress core block markup onto the component library.
   The components themselves live in components.css, unchanged from web/.
   ========================================================================== */

/* Block layout: our own wrappers do the widths, so let core get out of the way. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }
:where(.wp-site-blocks) > main { margin: 0; }
/* Components own their spacing; core's flow gap stays out of the way (zero specificity). */
:where(.wp-site-blocks .is-layout-flow) > * { margin-block: 0; }
/* Reading rhythm for post content lives in foundation.css. */
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: var(--bk-content); margin-inline: auto; }
.alignwide { max-width: var(--bk-wide); margin-inline: auto; }

/* Buttons: core/button with our variants as block styles. */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: var(--bk-space-3); min-height: var(--bk-control-h); padding: var(--bk-space-3) var(--bk-control-pad); border: 2px solid var(--bk-pink); border-radius: var(--bk-radius); background: var(--bk-pink); color: var(--bk-ink); font-weight: 600; text-decoration: none; transition: background var(--bk-dur) var(--bk-ease), border-color var(--bk-dur) var(--bk-ease); }
.wp-block-button__link:hover { background: var(--bk-pink-hover); border-color: var(--bk-pink-hover); color: var(--bk-ink); }
.is-style-line .wp-block-button__link { background: transparent; border-color: var(--bk-ink); }
.is-style-line .wp-block-button__link:hover { background: var(--bk-pink-wash); border-color: var(--bk-ink); }
.is-style-quiet .wp-block-button__link { background: var(--bk-paper); border-color: var(--bk-control-border); }
.is-style-cream .wp-block-button__link { background: var(--bk-cream); border-color: var(--bk-cream); }

/* Recipe cards from a query loop: core/post-template + featured image + title + bk/recipe-meta. */
.wp-block-post-template.grid { list-style: none; padding: 0; margin: 0; }
.wp-block-post-template.grid > li { margin: 0; }
.bk-card .wp-block-post-featured-image { margin: 0; }
.bk-card .wp-block-post-featured-image img, .bk-card .wp-block-post-featured-image a { display: block; width: 100%; height: 100%; object-fit: cover; }
.bk-card .wp-block-post-featured-image.bk-card__media { aspect-ratio: 4 / 3; }
.bk-card .wp-block-post-title { margin: 0; font-size: var(--bk-size-h4); line-height: 1.2; }
.bk-card .wp-block-post-title a { text-decoration: none; }
.bk-card .wp-block-post-title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--bk-radius); }
.bk-card:hover .wp-block-post-title a { text-decoration: underline; text-decoration-color: var(--bk-pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Pagination: core/query-pagination in the component look. */
.wp-block-query-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--bk-space-2); margin-top: var(--bk-space-10); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-grid; place-items: center; min-width: var(--bk-control-h); height: var(--bk-control-h); padding-inline: var(--bk-space-4); border-radius: var(--bk-radius); border: 2px solid var(--bk-control-border); background: var(--bk-paper); font-weight: 600; text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--bk-pink); border-color: var(--bk-pink); }
.wp-block-query-pagination .page-numbers.dots { border: 0; background: none; }

/* The story: her post content, with [caption] images sized for reading. */
.bk-story-text .wp-caption, .bk-story-text figure { width: auto !important; max-width: 100% !important; margin-inline: 0; }
.bk-story-text .wp-caption img, .bk-story-text figure img { display: block; width: 100%; height: auto; border-radius: var(--bk-radius); }
.bk-story-text > * > figure img, .bk-story-body figure:not(.bk-photos > figure) img { max-height: 34rem; object-fit: cover; }
.bk-story-text figcaption strong { font-weight: 600; }
.bk-story-text .wp-caption-text, .bk-story-text figcaption { font-size: var(--bk-size-label); line-height: 1.45; color: var(--bk-text-muted); margin-top: var(--bk-space-2); font-weight: 400; }
.bk-story-text figcaption strong, .bk-story-text figcaption b { font-weight: inherit; color: inherit; }   /* she bolds whole captions; keep them all the same */
/* Photos in a row become a two-up grid of the same shape. */
.bk-story-text .bk-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bk-space-5) var(--bk-space-4); margin-block: 2em; }
.bk-story-text .bk-photos > figure { margin: 0; }
.bk-story-text .bk-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 26rem) { .bk-story-text .bk-photos { gap: var(--bk-space-4) var(--bk-space-3); } }
/* A long story folds after about a screen and a half (bk.js); the text stays in the page. */
.bk-story-text[data-folded] .bk-story-body { max-height: 70rem; overflow: hidden; mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.bk-story-more { display: flex; justify-content: center; margin-top: var(--bk-space-5); }
.bk-story-text { padding-bottom: var(--bk-space-9); }   /* room before "Leave me a message" */
.bk-story-text .alignleft, .bk-story-text .alignright, .bk-story-text .aligncenter { float: none; margin-inline: 0; }
.bk-story-text p[style] { text-align: left !important; }

/* Comments: core/comments in the component look. */
.wp-block-comments { padding-block: 0 var(--bk-space-10); }
.wp-block-comment-template { list-style: none; padding: 0; margin: 0 0 var(--bk-space-8); }
.wp-block-comment-template li { list-style: none; }
/* One conversation: the question, then her answer tucked under it. */
.wp-block-comment-template.bk-comments { display: block; }
.bk-comments > li { padding-block: var(--bk-space-6); border-bottom: 1px solid var(--bk-rule); }
.bk-comments > li[hidden] { display: none; }
.bk-comments ol { list-style: none; margin: var(--bk-space-4) 0 0; padding: 0 0 0 var(--bk-space-7); display: grid; gap: var(--bk-space-4); }
.bk-comment { display: grid; gap: var(--bk-space-2); }
.bk-comment > * { margin: 0; }
.bk-comment__head { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: var(--bk-space-3); align-items: center; }
.bk-comment__head .wp-block-comment-date, .bk-comment__head .bk-comment-place { grid-column: 2; }
.bk-comment__face { grid-row: 1 / span 3; width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; align-self: start; }
.bk-comment__face--initial { display: grid; place-items: center; background: var(--bk-cream); border: 1px solid var(--bk-rule); font-family: var(--bk-display); font-weight: 600; font-size: 1.1rem; }
.wp-block-comment-author-name { font-weight: 600; line-height: 1.3; }
.wp-block-comment-author-name a { color: inherit; text-decoration: none; }
.wp-block-comment-date { font-size: var(--bk-size-label); color: var(--bk-text-muted); line-height: 1.3; }
.wp-block-comment-date a { color: inherit; text-decoration: none; }
.wp-block-comment-content { max-width: var(--bk-measure); }
.wp-block-comment-content p { margin: 0; }
.wp-block-comment-content p + p { margin-top: var(--bk-space-3); }
.bk-comment__stars { display: flex; gap: 2px; color: var(--bk-pink); }
.bk-comment__stars .icon { width: 1rem; height: 1rem; fill: currentColor; }
.bk-comment__stars .is-off { fill: none; color: var(--bk-rule); }
.wp-block-comment-reply-link { font-size: var(--bk-size-label); }
.wp-block-comment-reply-link a { color: var(--bk-text-muted); }
/* Her answers. */
.bk-comment--bonita > .bk-comment { padding: var(--bk-space-4) var(--bk-space-5); border-radius: var(--bk-radius-lg); background: var(--bk-pink-wash); }
.bk-comment--bonita .wp-block-comment-reply-link { display: none; }
.bk-comments__sum { margin: var(--bk-space-1) 0 0; color: var(--bk-text-muted); }
.bk-comments__more { display: flex; justify-content: center; margin: var(--bk-space-2) 0 var(--bk-space-8); }
@media (max-width: 40rem) { .bk-comments ol { padding-left: var(--bk-space-4); } .bk-comment--bonita > .bk-comment { padding: var(--bk-space-4); } }
.comment-form label { display: block; font-weight: 600; margin-bottom: var(--bk-space-2); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: var(--bk-control-h); padding: var(--bk-space-3) var(--bk-space-4); background: var(--bk-paper); border: 2px solid var(--bk-control-border); border-radius: var(--bk-radius); font-size: var(--bk-size-body); }
.comment-form .submit { min-height: var(--bk-control-h); padding: var(--bk-space-3) var(--bk-control-pad); border: 2px solid var(--bk-pink); border-radius: var(--bk-radius); background: var(--bk-pink); color: var(--bk-ink); font-weight: 600; cursor: pointer; }
.comment-form-url { display: none; }

/* Quote style: her sign-off. */
.wp-block-quote.is-style-signoff { border: 0; padding: var(--bk-space-5) 0 0; border-top: 1px solid var(--bk-rule); font-family: var(--bk-display); font-size: var(--bk-size-lead); }

/* ==========================================================================
   Ad slot. A reserved box so nothing moves when the ad arrives (no layout
   shift). Never placed inside the ingredients, the method, or Cook mode.
   ========================================================================== */
.bk-ad { width: min(var(--bk-wide), 100% - 2 * var(--bk-gutter)); margin: var(--bk-space-8) auto; text-align: center; }
.bk-ad__label { margin: 0 0 var(--bk-space-2); font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-ad__box { display: grid; place-items: center; min-height: 280px; background: var(--bk-paper); border: 1px solid var(--bk-rule); border-radius: var(--bk-radius); overflow: hidden; }
.bk-ad--banner .bk-ad__box { min-height: 250px; }
@media (min-width: 48rem) { .bk-ad--banner .bk-ad__box { min-height: 120px; } }
.bk-ad--square .bk-ad__box { width: min(336px, 100%); min-height: 280px; margin-inline: auto; }
.bk-ad--placeholder .bk-ad__box span { font-size: var(--bk-size-label); color: var(--bk-text-muted); }
@media print { .bk-ad { display: none; } }

/* Featured images that fill their frame: recipe top photo and story images. */
.wp-block-post-featured-image.bk-recipe-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--bk-radius); background: var(--bk-wood); }
.wp-block-post-featured-image.bk-recipe-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (max-width: 56rem) { .wp-block-post-featured-image.bk-recipe-photo { aspect-ratio: 16 / 9; max-height: 13rem; } }

/* Multi-part methods: a small heading over each group of steps. */
.bk-method__group { font-size: var(--bk-size-h4); margin: var(--bk-space-7) 0 var(--bk-space-3); padding-bottom: var(--bk-space-2); border-bottom: 1px solid var(--bk-rule); }
.bk-method__group:first-child { margin-top: 0; }

/* core/search on the results page, in the component look. */
.bk-wp-search .wp-block-search__inside-wrapper { display: flex; gap: var(--bk-space-3); flex-wrap: wrap; max-width: 44rem; }
.bk-wp-search .wp-block-search__input { flex: 1 1 16rem; min-height: var(--bk-control-h-lg); padding: var(--bk-space-3) var(--bk-space-4); background: var(--bk-paper); border: 2px solid var(--bk-control-border); border-radius: var(--bk-radius); font-size: var(--bk-size-h4); }
.bk-wp-search .wp-block-search__button { min-height: var(--bk-control-h-lg); padding-inline: var(--bk-space-6); margin: 0; border: 2px solid var(--bk-pink); border-radius: var(--bk-radius); background: var(--bk-pink); color: var(--bk-ink); font-weight: 600; font-size: var(--bk-size-h4); cursor: pointer; }

/* Wide pages (Cookbooks, Videos): bands inside run edge to edge. */
.bk-page-wide { padding-bottom: var(--bk-space-11); }
.bk-page-wide > .lead { margin-bottom: var(--bk-space-7); }
.bk-page-wide .band, .bk-page-wide .band--paper { width: 100vw; position: relative; left: 50%; translate: -50% 0; }
.bk-page-wide .wp-block-embed { margin-bottom: var(--bk-space-9); }

/* Print: the recipe and nothing else. */
@media print {
  .wp-block-comments, .bk-recipe-video, .bk-story-text, .bk-crumbs, .bk-searchdlg, .bk-share, .bk-optin, #wpadminbar, .wp-block-template-part:has(.bk-header), .wp-block-template-part:has(.bk-footer) { display: none !important; }
  html { margin-top: 0 !important; }
  .bk-recipe-intro { padding: 0 0 1rem; }
  .bk-recipe-top { grid-template-columns: 1.6fr 1fr; gap: 1.5rem; }
  .bk-recipe-head h1 { font-size: 24pt; }
  .wp-block-post-featured-image.bk-recipe-photo { max-height: 6cm; }
  .bk-facts { break-inside: avoid; }
  .bk-recipe { padding-block: 0.5rem 0; }
  .bk-allergens { margin-top: 1rem; }
}
@media print {
  /* Screen-only hints and controls. */
  #cook-hint, .bk-recipe__cols h3 .meta, .bk-reset, .bk-card__video { display: none !important; }
  body { font-size: 11pt; line-height: 1.4; }
  /* One line per ingredient: "5½ cups All-purpose flour, keep ½ cup ..." */
  .bk-ingredients li { border: 0; }
  .bk-ingredients label { padding: 0.15rem 0; gap: 0.5rem; }
  .bk-ingredients .qty, .bk-ingredients .note { display: inline; }
  .bk-ingredients .qty::after { content: ' '; }
  .bk-ingredients .note::before { content: ', '; }
  .bk-ingredients .note { color: #5e5a58; font-size: inherit; margin: 0; }
  .bk-method li { padding: 0.25rem 0; grid-template-columns: 1.8rem 1fr; gap: 0.6rem; }
  .bk-method li p { padding-top: 0; }
  .bk-recipe__cols { gap: 1.25rem; margin-top: 0.75rem; }
  .bk-recipe__cols h3 { margin-bottom: 0.4rem; padding-bottom: 0.2rem; }
  .bk-facts div { padding-block: 0.4rem; }
  .bk-facts dd { font-size: 12pt; }
  .bk-tips { padding: 0.75rem 1rem; margin-top: 1rem; }
  .bk-tips li + li { margin-top: 0.25rem; }
}

/* Comments: the form, then a clear break, then the messages. */
.wp-block-post-comments-form { margin-bottom: var(--bk-space-9); }
.comment-form .form-submit { margin: var(--bk-space-5) 0 0; }
.wp-block-comments-title { margin-top: 0; padding-top: var(--bk-space-7); border-top: 1px solid var(--bk-rule); }
@media (max-width: 40rem) {
  .wp-block-post-comments-form { margin-bottom: var(--bk-space-8); }
  .comment-form .form-submit, .comment-form .form-submit input[type="submit"] { width: 100%; }
}

/* "Where are you cooking from?" */
.comment-form-optional { font-weight: 400; color: var(--bk-text-muted); }
.comment-form-help { display: block; margin-top: var(--bk-space-2); font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.comment-form-place input { width: 100%; min-height: var(--bk-control-h); padding: var(--bk-space-3) var(--bk-space-4); background: var(--bk-paper); border: 2px solid var(--bk-control-border); border-radius: var(--bk-radius); font-size: var(--bk-size-body); }
.bk-comment-place { margin: 0; font-size: var(--bk-size-label); color: var(--bk-text-muted); }

/* The space before the footer belongs to <main>, once. WordPress strips the
   last block's bottom margin, which left ad slots and plain pages sitting on
   the footer. A page that ends in a full-width band (the pink sign-up, an ink
   band) runs into the footer on purpose, so it gets none. */
main#main { padding-bottom: var(--bk-space-10); }
main#main:has(> :last-child:is(.band, .bk-pinkband, .bk-inkband, .bk-jarband)) { padding-bottom: 0; }
@media (max-width: 40rem) { main#main { padding-bottom: var(--bk-space-9); } main#main:has(> :last-child:is(.band, .bk-pinkband, .bk-inkband, .bk-jarband)) { padding-bottom: 0; } }

/* Button rows keep their gap (the flow-gap reset took it away). */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--bk-space-3); }

/* reCAPTCHA (Contact form 7): Google's corner badge sits half off-screen and
   made phones scroll sideways. Google allows hiding it when the form carries
   their notice instead (added by bk-core under each form). */
.grecaptcha-badge { visibility: hidden; }
/* Nothing third-party (badges, embeds) may make a phone scroll sideways. */
html, body { overflow-x: clip; }
.bk-recaptcha-note { font-size: var(--bk-size-label); color: var(--bk-text-muted); margin-top: var(--bk-space-3); }


/* For Bonita: the private preview tour (staging only). Big, calm, one thing at a time. */
.bk-tour { font-size: 1.25rem; }
.bk-tour h2 { margin-top: var(--bk-space-9); }
.bk-tour__hello { padding: var(--bk-space-7); border-radius: var(--bk-radius-lg); background: var(--bk-pink-wash); box-shadow: inset 0 0 0 1px var(--bk-pink-tint); }
.bk-tour__hello p { max-width: 34rem; }
.bk-tour__big { font-family: var(--bk-display); font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; font-weight: 600; margin-bottom: var(--bk-space-5); }
.bk-tour__sign { font-family: var(--bk-display); font-size: 1.5rem; margin-top: var(--bk-space-5); }
.bk-tour__stops { list-style: none; margin: var(--bk-space-5) 0 0; padding: 0; display: grid; gap: var(--bk-space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.bk-tour__stops a { display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border-radius: var(--bk-radius-lg); background: var(--bk-paper); border: 1px solid var(--bk-rule); color: var(--bk-ink); text-decoration: none; }
.bk-tour__stops a:hover { border-color: var(--bk-ink); }
.bk-tour__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 15%; }
.bk-tour__bday { font-weight: 600; font-size: 1.375rem; }
.bk-tour__text { display: grid; gap: var(--bk-space-2); padding: var(--bk-space-5); }
.bk-tour__text b { font-family: var(--bk-display); font-size: 1.5rem; line-height: 1.2; }
.bk-tour__text span { font-size: 1.125rem; color: var(--bk-text-muted); }
.bk-tour__hint { margin-top: var(--bk-space-4); font-size: 1.0625rem; color: var(--bk-text-muted); }
.bk-ask { margin-top: var(--bk-space-5); padding: var(--bk-space-7); border-radius: var(--bk-radius-lg); background: var(--bk-paper); border: 1px solid var(--bk-rule); scroll-margin-top: var(--bk-space-5); }
.bk-ask__step { display: grid; gap: var(--bk-space-4); }
.bk-ask__count { margin: 0; font-size: 1.0625rem; font-weight: 600; color: var(--bk-text-muted); }
.bk-ask__q { font-family: var(--bk-display); font-size: clamp(1.625rem, 4.5vw, 2.125rem); line-height: 1.2; font-weight: 600; }
.bk-ask__help { margin: 0; color: var(--bk-text-muted); font-size: 1.125rem; }
.bk-ask__choice { justify-self: start; white-space: normal; text-align: left; }
.bk-ask .bk-textarea { font-size: 1.25rem; min-height: 8rem; }
.bk-ask__nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--bk-space-4) var(--bk-space-6); }
.bk-ask__skip { background: none; border: 0; padding: var(--bk-space-3) 0; font: inherit; font-size: 1.125rem; color: var(--bk-ink); text-decoration: underline; text-decoration-color: var(--bk-pink); text-underline-offset: 4px; cursor: pointer; }
.bk-ask__done h3 { font-size: 2rem; }
@media (max-width: 40rem) { .bk-tour__hello, .bk-ask { padding: var(--bk-space-5); } .bk-ask__nav .bk-btn { width: 100%; } }
.bk-ask__photo { justify-self: start; cursor: pointer; }
.bk-ask__photo:focus-within { outline: 3px solid var(--bk-ink); outline-offset: 3px; }
.bk-ask__photos { margin: 0; font-weight: 600; font-size: 1.125rem; }
.bk-ask .bk-select { font-size: 1.25rem; }
/* The tour's "back to my questions" bar, on other pages (staging only). */
.bk-tourbar { position: fixed; inset: auto 0 0; z-index: 90; background: var(--bk-pink); color: var(--bk-ink); box-shadow: 0 -2px 14px rgba(34, 31, 31, 0.16); padding-bottom: env(safe-area-inset-bottom); }
.bk-tourbar__in { width: min(var(--bk-wide), 100% - 2 * var(--bk-gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--bk-space-3) var(--bk-space-5); padding-block: var(--bk-space-3); }
.bk-tourbar p { margin: 0; display: grid; line-height: 1.25; flex: 1; min-width: 0; max-width: none; }
.bk-tourbar b { font-family: var(--bk-display); font-size: 1.25rem; }
.bk-tourbar span[data-tourbar-left] { font-weight: 600; }
.bk-tourbar .bk-btn { --_bg: var(--bk-ink); --_fg: var(--bk-cream); --_bd: var(--bk-ink); flex: none; }
.bk-tourbar .bk-btn:hover { --_bg: #000; }
body.has-tourbar { padding-bottom: 5.5rem; }
body.has-tourbar .bk-toaster { display: none !important; }
body.has-tourbar .bk-toasts { bottom: 6.5rem; }
@media (max-width: 26rem) { .bk-tourbar .bk-btn { padding-inline: var(--bk-space-4); } .bk-tourbar b { font-size: 1.125rem; } .bk-tourbar__long { display: none; } .bk-tourbar b { display: none; } .bk-tourbar span[data-tourbar-left] { font-size: 1.125rem; } }
@media (max-width: 22.5rem) { .bk-tourbar .bk-btn .icon { display: none; } .bk-tourbar span[data-tourbar-left] { white-space: nowrap; font-size: 1.0625rem; } }

/* Press kit */
.bk-press { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--bk-space-4); }
.bk-press li, .bk-press p { overflow-wrap: break-word; }
.bk-press h2 { margin-top: var(--bk-space-8); }
.bk-press h3 { margin-top: var(--bk-space-4); }
.bk-press__hero { margin: 0; }
.bk-press__hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--bk-radius-lg); }
.bk-press__hero figcaption { margin-top: var(--bk-space-2); font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-press__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 1px; background: var(--bk-rule); border: 1px solid var(--bk-rule); border-radius: var(--bk-radius-lg); overflow: hidden; }
.bk-press__facts div { background: var(--bk-paper); padding: var(--bk-space-4) var(--bk-space-5); }
.bk-press__facts dt { font-size: var(--bk-size-label); color: var(--bk-text-muted); font-weight: 600; }
.bk-press__facts dd { margin: 0; font-family: var(--bk-display); font-size: 1.5rem; line-height: 1.2; }
.bk-press__note { font-size: var(--bk-size-label); color: var(--bk-text-muted); margin: 0; }
.bk-press__quote { margin: 0; padding: var(--bk-space-5) var(--bk-space-6); background: var(--bk-pink-wash); border-radius: var(--bk-radius-lg); }
.bk-press__quote p { font-size: 1.1875rem; }
.bk-press__quote cite { font-family: var(--bk-display); font-style: normal; font-size: 1.25rem; }
.bk-press__books, .bk-press__news, .bk-press__people, .bk-press__downloads, .bk-press__logos { list-style: none; margin: 0; padding: 0; }
.bk-press__books { display: grid; gap: var(--bk-space-5); }
.bk-press__books li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--bk-space-5); align-items: start; }
.bk-press__books img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--bk-radius-sm); box-shadow: var(--bk-shadow-1); }
.bk-press__books h3 { margin: 0 0 var(--bk-space-2); font-size: var(--bk-size-h4); }
.bk-press__books p { margin: 0 0 var(--bk-space-2); }
.bk-press__news, .bk-press__people { display: grid; gap: var(--bk-space-3); }
.bk-press__news li, .bk-press__people li { padding-bottom: var(--bk-space-3); border-bottom: 1px solid var(--bk-rule); }
.bk-press__news b, .bk-press__people b { display: block; }
.bk-press__downloads, .bk-press__logos { display: grid; gap: var(--bk-space-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.bk-press__downloads a, .bk-press__logos a { display: grid; height: 100%; overflow: hidden; border-radius: var(--bk-radius-lg); border: 1px solid var(--bk-rule); background: var(--bk-paper); color: var(--bk-ink); text-decoration: none; }
.bk-press__downloads a:hover, .bk-press__logos a:hover { border-color: var(--bk-ink); }
.bk-press__downloads img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bk-press__logos img { width: 100%; height: 9rem; object-fit: contain; padding: var(--bk-space-4); }
.bk-press__logos .is-dark img { background: var(--bk-ink); }
.bk-press__downloads a > span, .bk-press__logos a > span { display: grid; gap: var(--bk-space-1); padding: var(--bk-space-3) var(--bk-space-4) var(--bk-space-4); }
.bk-press__downloads em { font-style: normal; font-size: var(--bk-size-label); color: var(--bk-text-muted); }
.bk-press__dl { font-size: var(--bk-size-label); font-weight: 600; text-decoration: underline; text-decoration-color: var(--bk-pink); text-underline-offset: 3px; }
@media (max-width: 30rem) { .bk-press__books li { grid-template-columns: 5rem minmax(0, 1fr); gap: var(--bk-space-4); } }

/* No ads on paper, from any network (ours, Google Auto Ads, Raptive). */
@media print { .bk-ad, ins.adsbygoogle, .google-auto-placed, [id^="google_ads_iframe"], .adthrive, .adthrive-ad, [class*="adthrive-"], [class*="raptive-"] { display: none !important; } }

/* Contact form: a fieldset keeps its natural width by default, which pushed the form past phone screens. */
.wpcf7 fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
/* Contact form (Contact Form 7), styled like the site's own fields and buttons. */
.wpcf7 { margin-top: var(--bk-space-7); padding: var(--bk-space-7); background: var(--bk-paper); border-radius: var(--bk-radius-lg); border-top: 6px solid var(--bk-pink); box-shadow: 0 0 0 1px rgba(34, 31, 31, 0.08), var(--bk-shadow-1); }
.wpcf7 form > fieldset:not(.hidden-fields-container) { display: grid; gap: var(--bk-space-5); }
.wpcf7 form > fieldset > div > p, .wpcf7 form > p { margin: 0; max-width: none; }
.wpcf7 label { display: block; margin-bottom: var(--bk-space-2); font-weight: 600; color: var(--bk-ink); }
.wpcf7 label span { color: var(--bk-pink-hover); }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .wpcf7 textarea, .wpcf7 select {
  width: 100%; max-width: 100%; box-sizing: border-box; min-height: var(--bk-control-h);
  padding: var(--bk-space-3) var(--bk-space-4); line-height: 1.25;
  background: var(--bk-paper); color: var(--bk-ink);
  border: 2px solid var(--bk-control-border); border-radius: var(--bk-radius);
  font: inherit; font-size: var(--bk-size-body);
  transition: border-color var(--bk-dur) var(--bk-ease);
}
.wpcf7 textarea { min-height: 11rem; resize: vertical; line-height: var(--bk-leading-body); }
.wpcf7 select { appearance: none; padding-right: 3rem; cursor: pointer; background: var(--bk-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f1f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1.25rem; }
.wpcf7 input:hover, .wpcf7 textarea:hover, .wpcf7 select:hover, .wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible, .wpcf7 select:focus-visible { border-color: var(--bk-ink); }
.wpcf7 input:focus-visible, .wpcf7 textarea:focus-visible, .wpcf7 select:focus-visible { outline-offset: 2px; }
.wpcf7 form > p:has(.wpcf7-submit) { margin-top: var(--bk-space-6); display: flex; align-items: center; gap: var(--bk-space-3); }
.wpcf7 .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--bk-control-h-lg);
  padding: var(--bk-space-3) var(--bk-space-7); border: 2px solid var(--bk-pink); border-radius: var(--bk-radius);
  background: var(--bk-pink); color: var(--bk-ink); font-family: var(--bk-text); font-size: var(--bk-size-h4); font-weight: 700;
  cursor: pointer; transition: background-color var(--bk-dur) var(--bk-ease), border-color var(--bk-dur) var(--bk-ease);
}
.wpcf7 .wpcf7-submit:hover { background: var(--bk-pink-hover); border-color: var(--bk-pink-hover); }
.wpcf7 .wpcf7-submit:disabled { opacity: 0.6; cursor: progress; }
.wpcf7 .clearfix { display: none; }
.wpcf7 .bk-recaptcha-note { margin: var(--bk-space-4) 0 0; font-size: 0.875rem; color: var(--bk-text-muted); max-width: none; }
.wpcf7 .bk-recaptcha-note a { color: inherit; }
.wpcf7 .wpcf7-not-valid { border-color: var(--bk-error) !important; }
.wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: var(--bk-space-2); color: var(--bk-error); font-size: var(--bk-size-label); font-weight: 600; }
.wpcf7 form .wpcf7-response-output { margin: var(--bk-space-5) 0 0; padding: var(--bk-space-4) var(--bk-space-5); border: 0; border-radius: var(--bk-radius); background: var(--bk-cream); font-weight: 600; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--bk-pink-wash); border-left: 4px solid var(--bk-pink); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-left: 4px solid var(--bk-error); }
@media (max-width: 40rem) { .wpcf7 { padding: var(--bk-space-5); margin-inline: calc(-1 * var(--bk-space-2)); } .wpcf7 .wpcf7-submit { width: 100%; } }
/* The notes above the form: one soft panel instead of a long plain list. */
.wp-block-post-content:has(.wpcf7) > ul { margin-block: var(--bk-space-6); padding: var(--bk-space-5) var(--bk-space-6) var(--bk-space-5) calc(var(--bk-space-6) + 1rem); background: var(--bk-pink-wash); border-radius: var(--bk-radius-lg); }
.wp-block-post-content:has(.wpcf7) > ul > li + li { margin-top: var(--bk-space-3); }
.wp-block-post-content:has(.wpcf7) > ul > li::marker { color: var(--bk-pink-hover); }
/* "Open on YouTube" under a video: a full-size tap target without changing how it looks. */
.bk-video + .caption a, a.caption { display: inline-block; padding-block: 10px; margin-block: -10px; }
