/* The Matcha & Marketing Playbook — /playbook
   Storefront landing page for the Substack newsletter. Built on the main
   site's styles.css (tokens, fonts, .btn, .chalk-label) — everything below
   is page-specific: the coffee-shop/sneaker-wall dressing. */

:root {
  --pb-wall: #f4efe6;
  --pb-cocoa: #4a332c;
  --pb-wood-light: #6b4a3d;
  --pb-wood-dark: #2a1a16;
  --pb-sage: #6d903d;
  --pb-muted: #5a453f;
  --pb-cream-dim: #e7d9c9;
}

/* This stylesheet only ever loads on /playbook, so it's safe to set this
   directly on html rather than gate it behind a :has() selector. */
html { overflow-x: hidden; }

.playbook-body {
  background: var(--pb-wall) url('../assets/playbook/plaster-light.svg');
  background-size: 420px 420px;
  overflow-x: hidden;
}

/* ---------------------------------------------------------------------
   Nav
--------------------------------------------------------------------- */
.pb-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--brown) url('../assets/playbook/grain.svg');
  border-bottom: 3px solid var(--black);
}
.pb-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px clamp(10px, 3vw, 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2.5vw, 12px);
}
.pb-nav-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); min-width: 0; flex-shrink: 0; }
.pb-crest-sm { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--black); display: block; flex-shrink: 0; }
.pb-wordmark { font-family: 'RAMSA Handwritten', cursive; font-size: clamp(17px, 4.5vw, 24px); line-height: 1; letter-spacing: -0.5px; color: var(--cream); white-space: nowrap; }
.pb-nav-links { display: flex; align-items: center; gap: clamp(8px, 2.5vw, 18px); flex-shrink: 0; }
.pb-nav-links a {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: clamp(10px, 2.6vw, 12px);
  letter-spacing: 2px; text-transform: uppercase; color: var(--pb-cream-dim); white-space: nowrap;
}
.pb-nav-links a:hover { opacity: 0.8; }
.pb-pill {
  font-family: 'Mulish', sans-serif !important; font-weight: 800 !important; font-size: clamp(12px, 3vw, 14px) !important;
  text-transform: none !important; letter-spacing: 0 !important;
  color: var(--brown) !important; background: var(--matcha); white-space: nowrap;
  border: 2px solid var(--black); border-radius: 50px; padding: clamp(7px, 2vw, 9px) clamp(12px, 3vw, 16px); line-height: 1;
}
.pb-pill:hover { opacity: 0.88; }

/* ---------------------------------------------------------------------
   Storefront header
--------------------------------------------------------------------- */
.pb-storefront { position: relative; padding: clamp(130px, 30vw, 190px) 16px 64px; }

.pb-lamp { position: absolute; top: 0; width: clamp(140px, 34vw, 270px); pointer-events: none; }
.pb-lamp-left { left: max(2%, calc(50% - 520px)); }
.pb-lamp-right { right: max(2%, calc(50% - 520px)); }
.pb-lamp img { position: relative; width: 100%; display: block; filter: drop-shadow(0 16px 24px rgba(0,0,0,.25)); }
.pb-lamp-left img { margin-top: -8%; }
.pb-lamp-right img { margin-top: -22%; }
.pb-lamp-glow { position: absolute; z-index: -1; left: -40%; right: -40%; height: 120%; background: radial-gradient(ellipse 50% 50% at 50% 0%, rgba(255,220,160,.35), rgba(255,220,160,0) 70%); }
.pb-lamp-left .pb-lamp-glow { top: 52%; }
.pb-lamp-right .pb-lamp-glow { top: 42%; }

.pb-storefront-inner { position: relative; max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }

.pb-hero-copy { text-align: center; }
.pb-crest-lg { width: 92px; height: 92px; border-radius: 50%; display: block; margin: 0 auto 14px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.3)); }
.pb-eyebrow { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--field); }
.pb-h1 { margin: 4px 0 0; font-family: 'RAMSA Handwritten', cursive; font-weight: 400; font-size: clamp(64px, 17vw, 136px); line-height: 0.92; letter-spacing: -1px; color: var(--brown); }
.pb-rule { margin: 14px auto 0; width: min(70%, 360px); height: 4px; border-radius: 2px; background: var(--matcha); }
.pb-lead { margin: 18px auto 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: var(--pb-muted); text-wrap: pretty; }

.pb-window-wrap { position: relative; padding-top: 34px; }
.pb-sign { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; }
.pb-sign-strings { display: flex; gap: 120px; }
.pb-sign-strings span { width: 2px; height: 26px; background: var(--brown); display: block; }
.pb-sign-board { background: var(--field); border-radius: 4px; box-shadow: 0 12px 18px -6px rgba(0,0,0,.4); padding: 12px 20px; white-space: nowrap; }
.pb-sign-board span { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: clamp(17px, 5vw, 26px); letter-spacing: 4px; color: var(--matcha); line-height: 1; }

.pb-window-frame { position: relative; background: linear-gradient(135deg, #5a3b30, var(--brown) 50%, var(--pb-wood-dark)); border-radius: 4px; padding: 8px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.22); }
.pb-window-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: hidden; }
.pb-window-grid img { width: 100%; object-fit: cover; display: block; }
.pb-window-wide { grid-column: 1 / span 2; aspect-ratio: 16 / 9; object-position: center 60%; }
.pb-window-sq { aspect-ratio: 4 / 3; }
.pb-window-sq:nth-of-type(2) { object-position: 60% 50%; }
.pb-window-glass { position: absolute; inset: 8px; pointer-events: none; background: linear-gradient(115deg, rgba(255,251,245,0) 30%, rgba(255,251,245,.16) 38%, rgba(255,251,245,0) 46%, rgba(255,251,245,0) 60%, rgba(255,251,245,.1) 64%, rgba(255,251,245,0) 70%); }
.pb-window-tag { position: absolute; left: 22px; top: 62%; background: var(--cream); border-radius: 3px; padding: 8px 12px; transform: rotate(-3deg); box-shadow: 0 8px 12px -4px rgba(0,0,0,.35); }
.pb-tag-label { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; color: var(--pb-sage); }
.pb-tag-title { margin-top: 4px; font-family: 'RAMSA Handwritten', cursive; font-size: 22px; line-height: 1.25; color: var(--brown); }

.pb-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pb-cta-row .btn { border-radius: 50px; font-family: 'Mulish', sans-serif; font-weight: 700; font-size: 16px; padding: 14px 28px; }

/* ---------------------------------------------------------------------
   Menu board
--------------------------------------------------------------------- */
.pb-menu-section { padding: 16px 16px 80px; }
.pb-menu-wrap { max-width: 1040px; margin: 0 auto; position: relative; padding-top: 30px; }
.pb-hang { position: absolute; top: 0; width: 2px; height: 34px; background: var(--brown); }
.pb-hang-left { left: 18%; }
.pb-hang-right { right: 18%; }
.pb-board { background: var(--brown) url('../assets/playbook/grain.svg'); border: 3px solid var(--black); border-radius: 22px; box-shadow: 6px 6px 0 var(--black); padding: 32px 20px 28px; color: var(--cream); }

.pb-chalk-matcha { color: var(--matcha) !important; }
.pb-h2 { margin: 0; font-family: 'RAMSA Handwritten', cursive; font-weight: 400; font-size: clamp(40px, 10vw, 64px); line-height: 1.05; letter-spacing: -0.5px; color: var(--brown); }
.pb-h2-cream { color: var(--cream); }
.pb-sub { margin: 8px auto 0; max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--pb-muted); text-align: center; }
.pb-sub-cream { color: var(--pb-cream-dim); }
.pb-sub-left { margin-left: 0; margin-right: 0; text-align: left; max-width: 480px; }

.pb-menu-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px 36px; }
.pb-menu-cat { border-top: 2px dashed rgba(231,217,201,.35); padding-top: 18px; display: flex; flex-direction: column; }
.pb-menu-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pb-menu-cat-head h3 { margin: 0; font-family: 'RAMSA Handwritten', cursive; font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--matcha); }
.pb-menu-count { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--pb-cream-dim); white-space: nowrap; }
.pb-menu-blurb { margin: 4px 0 12px; font-size: 14px; font-style: italic; line-height: 1.5; color: var(--pb-cream-dim); }
.pb-menu-item { display: flex; align-items: flex-end; gap: 8px; padding: 10px 0; min-height: 44px; color: var(--cream); }
.pb-menu-item:hover { opacity: 0.75; }
.pb-menu-item-title { font-weight: 700; font-size: 15px; line-height: 1.35; color: var(--cream); max-width: 75%; text-wrap: pretty; }
.pb-menu-leader { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(231,217,201,.5); margin-bottom: 5px; }
.pb-menu-price { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; white-space: nowrap; }
.pb-menu-find { margin-top: 10px; align-self: flex-start; min-height: 44px; background: none; border: none; padding: 0; cursor: pointer; font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--matcha); }
.pb-menu-find:hover { opacity: 0.7; }

.pb-legend { margin-top: 22px; padding-top: 14px; border-top: 2px dashed rgba(231,217,201,.35); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1.5px; color: var(--pb-cream-dim); }
.pb-legend-matcha { color: var(--matcha); }

/* ---------------------------------------------------------------------
   The Wall
--------------------------------------------------------------------- */
.pb-wall-section { padding: 8px 16px 72px; }
.pb-wall-wrap { max-width: 1040px; margin: 0 auto; }

.pb-chips { margin: 24px 0 40px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pb-chip { min-height: 44px; padding: 10px 16px; border: 2px solid var(--brown); border-radius: 50px; cursor: pointer; font-family: 'Mulish', sans-serif; font-weight: 800; font-size: 14px; background: var(--cream); color: var(--brown); transition: transform .15s ease; }
.pb-chip:hover { transform: translateY(-2px); }
.pb-chip.active { background: var(--brown); color: var(--cream); }

.pb-plank { height: 16px; background: linear-gradient(var(--pb-wood-light), var(--brown) 55%, var(--pb-wood-dark)); border-top: 1px solid #7a5646; box-shadow: 0 10px 14px rgba(62,39,35,.22); }

/* Featured / pinned shelf */
.pb-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: end; row-gap: 40px; margin-bottom: 56px; }
.pb-featured-cover-link { display: flex; flex-direction: column; color: var(--brown); }
.pb-featured-cover-stage { position: relative; height: 330px; display: flex; align-items: flex-end; justify-content: center; padding: 0 12px; }
.pb-spotlight { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255,220,160,.32), rgba(255,220,160,0) 70%); pointer-events: none; }
.pb-featured-mag { position: relative; width: min(62%, 220px); aspect-ratio: 3 / 4; transform: rotate(-2deg); filter: drop-shadow(0 16px 24px rgba(0,0,0,.35)); transition: transform .15s ease; }
.pb-featured-cover-link:hover .pb-featured-mag { transform: rotate(-2deg) translateY(-6px); }
.pb-featured-mag-inner { position: absolute; inset: 0; overflow: hidden; border-radius: 2px 4px 4px 2px; background: var(--field); }
.pb-mag-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-featured-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,25,20,.7) 0%, rgba(30,25,20,0) 38%, rgba(30,25,20,0) 55%, rgba(30,25,20,.85) 100%); }
.pb-mag-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12) 60%, rgba(0,0,0,0)); }
.pb-mag-masthead { position: absolute; top: 12px; left: 16px; right: 12px; }
.pb-mag-kicker { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 2px; color: var(--matcha); }
.pb-mag-title { font-family: 'RAMSA Handwritten', cursive; font-size: 44px; line-height: 0.95; color: var(--cream); }
.pb-mag-crest { position: absolute; right: 10px; bottom: 10px; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--black); }
.pb-mag-episode { position: absolute; left: 16px; bottom: 14px; font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; color: var(--cream); }

.pb-featured-card-wrap { display: flex; flex-direction: column; }
.pb-featured-card-slot { padding: 0 12px 16px; display: flex; align-items: flex-end; }
.pb-featured-card { width: 100%; background: var(--brown) url('../assets/playbook/grain.svg'); border-radius: 4px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.25); padding: 22px 22px 24px; }
.pb-pinned-pill { display: inline-block; background: var(--matcha); border-radius: 50px; padding: 5px 12px; font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; color: var(--brown); }
.pb-featured-card h3 { margin: 12px 0 0; font-family: 'RAMSA Handwritten', cursive; font-weight: 400; font-size: clamp(34px, 8vw, 46px); line-height: 1.05; letter-spacing: -0.5px; color: var(--cream); }
.pb-featured-card p { margin: 8px 0 18px; font-size: 15px; line-height: 1.6; color: var(--pb-cream-dim); }
.btn-matcha { background: var(--matcha); color: var(--brown); }

/* Hung frames (decorative trio) */
.pb-hung-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 3vw, 28px); margin: 0 auto 64px; max-width: 760px; }
.pb-hung { position: relative; padding-top: 22px; }
.pb-hung-offset { margin-top: 18px; }
.pb-nail { position: absolute; top: 0; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--brown); display: block; }
.pb-hung-frame { background: linear-gradient(135deg, #5a3b30, var(--brown) 50%, var(--pb-wood-dark)); padding: 6px; border-radius: 2px; box-shadow: 0 14px 20px -6px rgba(0,0,0,.35); }
.pb-hung-r1 { transform: rotate(-1.5deg); }
.pb-hung-r2 { transform: rotate(1.5deg); }
.pb-hung-mat { background: var(--cream); padding: 7px; }
.pb-hung-mat img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* Main shelf */
.pb-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(168px, 46%), 1fr)); column-gap: 0; row-gap: 44px; align-items: start; }
.pb-shelf-item { display: flex; flex-direction: column; color: var(--brown); }
.pb-shelf-stage { position: relative; height: 240px; display: flex; align-items: flex-end; justify-content: center; padding: 0 12px; }

.pb-item-mag { position: relative; width: min(78%, 170px); aspect-ratio: 4 / 5; transform: rotate(-2deg); filter: drop-shadow(0 16px 24px rgba(0,0,0,.35)); transition: transform .15s ease; }
.pb-shelf-item:hover .pb-item-mag { transform: rotate(-2deg) translateY(-6px); }
.pb-item-mag-inner { position: absolute; inset: 0; overflow: hidden; border-radius: 2px 4px 4px 2px; background: #1e1914; }
.pb-item-mag-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-item-mag-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,255,255,.14) 60%, rgba(0,0,0,0)); }

.pb-item-frame { position: relative; transition: transform .15s ease; }
.pb-shelf-item:hover .pb-item-frame { transform: translateY(-6px); }
.pb-item-frame-wood { background: linear-gradient(135deg, var(--pb-wood-light), var(--brown) 50%, var(--pb-wood-dark)); padding: 7px; border-radius: 2px; box-shadow: 0 16px 22px -6px rgba(0,0,0,.4); }
.pb-item-frame-mat { background: var(--cream); padding: 9px; }
.pb-item-frame-mat img { width: 100%; object-fit: cover; display: block; outline: 1px solid rgba(62,39,35,.25); }

.pb-item-case { position: relative; width: min(84%, 190px); display: flex; flex-direction: column; transition: transform .15s ease; }
.pb-shelf-item:hover .pb-item-case { transform: translateY(-6px); }
.pb-case-glass { position: relative; aspect-ratio: 1 / 1; background: rgba(255,251,245,.4); border: 1px solid rgba(62,39,35,.3); border-radius: 2px; padding: 12px; box-shadow: 0 16px 22px -8px rgba(0,0,0,.3); }
.pb-case-led { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--matcha); box-shadow: 0 0 14px 3px rgba(187,214,144,.9); }
.pb-case-glass img { position: absolute; top: 12px; left: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; display: block; box-shadow: 0 8px 14px -6px rgba(0,0,0,.4); }
.pb-case-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.2) 100%); }
.pb-case-plinth { height: 16px; margin: 0 -5px; background: linear-gradient(var(--pb-wood-light), var(--brown)); border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.pb-case-plinth span { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 9px; letter-spacing: 2px; color: var(--pb-cream-dim); white-space: nowrap; }

.pb-paid-tag { position: absolute; max-width: 112px; background: var(--matcha); border: 2px solid var(--black); border-radius: 4px; padding: 4px 7px; transform: rotate(5deg); font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 10px; line-height: 1.3; letter-spacing: 1px; color: var(--brown); text-align: center; }
.pb-item-mag .pb-paid-tag, .pb-item-case .pb-paid-tag { top: -12px; right: -10px; }
.pb-item-frame .pb-paid-tag { top: -14px; right: -10px; }

.pb-price-label { position: relative; margin: 14px 8px 0; background: var(--cream); border: 1px solid rgba(62,39,35,.3); border-radius: 4px; padding: 10px 10px 9px; box-shadow: 0 6px 10px -6px rgba(0,0,0,.25); }
.pb-price-label::before { content: ''; position: absolute; top: -8px; left: 50%; width: 1px; height: 8px; background: var(--brown); }
.pb-price-title { font-weight: 800; font-size: 14px; line-height: 1.3; color: var(--brown); text-wrap: pretty; }
.pb-price-meta { margin-top: 5px; font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 1.5px; color: var(--pb-muted); }

/* Pairings */
.pb-pairings { margin-top: 80px; }
.pb-pairings-head { margin-bottom: 28px; }
.pb-eyebrow-sm { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 3px; color: var(--field); }
.pb-eyebrow-matcha { color: var(--matcha); }
.pb-h3 { margin: 6px 0 0; font-family: 'RAMSA Handwritten', cursive; font-weight: 400; font-size: clamp(34px, 8vw, 48px); line-height: 1.05; letter-spacing: -0.5px; color: var(--brown); }

.pb-pairings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); column-gap: 0; row-gap: 40px; align-items: end; }
.pb-pairings-photo-inner { position: relative; height: clamp(200px, 50vw, 280px); display: flex; align-items: flex-end; justify-content: center; padding: 0 8px; }
.pb-pairings-photo-inner img {
  position: relative; width: 100%; max-width: 440px; display: block; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%);
  mask-composite: intersect;
}
.pb-social-col { display: flex; flex-direction: column; }
.pb-social-row { padding: 0 12px 16px; display: flex; gap: 12px; align-items: flex-end; }
.pb-social-card { flex: 1; min-width: 0; background: var(--brown) url('../assets/playbook/grain.svg'); border-radius: 4px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.25); padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; color: var(--cream); transition: transform .15s ease; }
.pb-social-card:hover { transform: translateY(-4px); }
.pb-social-card svg { width: 26px; height: 26px; color: var(--matcha); }
.pb-social-name { font-family: 'RAMSA Handwritten', cursive; font-size: 28px; line-height: 1.05; color: var(--cream); }
.pb-social-blurb { font-size: 13px; line-height: 1.45; color: var(--pb-cream-dim); }
.pb-social-cta { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 2px; color: var(--matcha); }

/* ---------------------------------------------------------------------
   The Counter + footer
--------------------------------------------------------------------- */
.pb-counter-section { position: relative; padding: 24px 0 0; }
.pb-counter-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 36px; align-items: center; }
.pb-embed-card { margin-top: 22px; background: var(--cream); border: 1px solid rgba(62,39,35,.2); border-radius: 14px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.15); padding: 8px; overflow: hidden; }
.pb-embed-card iframe { display: block; width: 100%; height: 320px; border: 0; border-radius: 10px; background: var(--cream); }
.pb-counter-photo-wrap { display: flex; justify-content: center; }
.pb-counter-photo { width: min(80%, 320px); background: linear-gradient(135deg, var(--pb-wood-light), var(--brown) 50%, var(--pb-wood-dark)); padding: 8px; border-radius: 2px; box-shadow: 0 20px 25px -5px rgba(0,0,0,.3); transform: rotate(1.5deg); }
.pb-counter-photo-inner { background: var(--cream); padding: 10px; }
.pb-counter-photo-inner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; display: block; }

.pb-counter-scene { position: relative; margin-top: 40px; height: clamp(300px, 56vw, 620px); overflow: hidden; }
.pb-counter-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 100%; display: block; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%); mask-image: linear-gradient(180deg, transparent 0%, #000 32%); }

.pb-footer { background: var(--brown) url('../assets/playbook/grain.svg'); color: var(--cream); padding: 28px 16px 36px; }
.pb-footer-inner { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.pb-footer-brand { display: flex; align-items: center; gap: 12px; }
.pb-footer-brand img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--black); }
.pb-footer-name { font-weight: 700; font-size: 14px; color: var(--cream); }
.pb-footer-link { font-size: 14px; color: var(--matcha); }
.pb-footer-substack { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 2px; color: var(--matcha); min-height: 44px; display: flex; align-items: center; }

/* ---------------------------------------------------------------------
   Head barista pop-up
--------------------------------------------------------------------- */
.pb-pop {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; margin-left: auto; max-width: 340px;
  transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none;
  transition: transform .3s ease, opacity .2s ease;
}
.pb-pop.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.pb-pop-card { position: relative; background: var(--brown) url('../assets/playbook/grain.svg'); border: 3px solid var(--black); border-radius: 22px; box-shadow: 6px 6px 0 var(--black); padding: 16px 16px 18px; }
.pb-pop-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; font-family: 'Mulish', sans-serif; font-weight: 800; font-size: 22px; line-height: 1; color: var(--pb-cream-dim); }
.pb-pop-close:hover { opacity: 0.7; }
.pb-pop-body { margin-top: 12px; display: flex; gap: 14px; align-items: center; }
.pb-badge { flex: 0 0 auto; position: relative; transform: rotate(-4deg); }
.pb-badge-clip { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); width: 34px; height: 12px; background: var(--matcha); border: 2px solid var(--black); border-radius: 4px; z-index: 2; display: block; }
.pb-badge-photo { width: 112px; background: var(--cream); border: 2px solid var(--black); border-radius: 10px; padding: 6px 6px 8px; box-shadow: 4px 4px 0 var(--black); }
.pb-badge-photo img { width: 100%; aspect-ratio: 1 / 1; border: 2px solid var(--black); border-radius: 6px; object-fit: cover; object-position: center 20%; display: block; background: #1e1914; }
.pb-badge-role { margin-top: 6px; background: var(--field); border-radius: 4px; padding: 3px 0; text-align: center; font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 9px; letter-spacing: 1.5px; color: var(--matcha); white-space: nowrap; }
.pb-pop-info { min-width: 0; }
.pb-pop-name { font-family: 'RAMSA Handwritten', cursive; font-size: 30px; line-height: 1.05; letter-spacing: -0.5px; color: var(--cream); }
.pb-pop-title { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--pb-cream-dim); }
.pb-pop-copy { margin: 14px 0; font-size: 15px; line-height: 1.55; color: var(--cream); text-wrap: pretty; }
.pb-pop-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pb-pop-actions .btn { padding: 0 18px; min-height: 44px; border-radius: 50px; font-weight: 800; font-size: 14px; }
.pb-pop-outline { min-height: 44px; padding: 0 16px; background: none; border: 2px solid var(--pb-cream-dim); border-radius: 50px; cursor: pointer; font-family: 'Mulish', sans-serif; font-weight: 800; font-size: 14px; color: var(--cream); }
.pb-pop-outline:hover { opacity: 0.7; }

.pb-reopen { position: fixed; z-index: 39; right: 14px; bottom: 14px; width: 56px; height: 56px; padding: 0; border: 3px solid var(--black); border-radius: 50%; box-shadow: 4px 4px 0 var(--black); overflow: hidden; cursor: pointer; background: #1e1914; transition: transform .15s ease; }
.pb-reopen:hover { transform: translateY(-2px); }
.pb-reopen img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
