/* funtimes-philly2026 — design system + premium micro-interactions
 * Lifted from design/philly2026-demo.html, extended with scroll-reveal,
 * blur-up image loading, focus-visible, reduced-motion support.
 */

:root {
  --p2026-yellow: #F5C518;
  --p2026-gold: #C8A24A;
  --p2026-gold-deep: #9C7A2D;
  --p2026-red: #EC3237;
  --p2026-black: #0A0A0A;
  --p2026-charcoal: #1F1F1F;
  --p2026-graphite: #2D2D2D;
  --p2026-cream: #FBF7EE;
  --p2026-paper: #F4EFE2;
  --p2026-warm-gray: #6B6B6B;
  --p2026-line: #E8E2D4;
  --p2026-success: #2E7D5B;
}

/* Apply design system only inside microsite scope */
.p2026, .p2026 *, .p2026 *::before, .p2026 *::after { box-sizing: border-box; }
.p2026 { font-family: 'DM Sans', sans-serif; color: var(--p2026-charcoal); -webkit-font-smoothing: antialiased; }
.p2026 a { color: inherit; text-decoration: none; }
.p2026 img { max-width: 100%; display: block; }
.p2026 button { font-family: inherit; cursor: pointer; }
.p2026 [hidden] { display: none !important; }

/* Typography */
.p2026 .display { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; }
.p2026 .display-italic { font-style: italic; font-weight: 400; }
.p2026 .mono { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.04em; }
.p2026 .eyebrow { font-weight: 500; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--p2026-gold-deep); }
.p2026 .yellow-rule { height: 4px; background: var(--p2026-yellow); width: 56px; }
.p2026 .gold { color: var(--p2026-gold-deep); }
.p2026 .pull-quote { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; color: var(--p2026-gold-deep); font-size: 24px; line-height: 1.3; border-left: 3px solid var(--p2026-gold); padding-left: 20px; margin: 32px 0; }
@media (min-width: 768px) { .p2026 .pull-quote { font-size: 28px; padding-left: 24px; } }

/* Buttons */
.p2026 .btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 14px 22px; border-radius: 4px; border: none; text-decoration: none; transition: transform 0.12s, box-shadow 0.12s, background 0.12s; letter-spacing: 0.01em; }
.p2026 .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px -8px rgba(0,0,0,0.25); }
.p2026 .btn-primary { background: var(--p2026-red); color: white; }
.p2026 .btn-primary:hover { background: #C8262B; }
.p2026 .btn-yellow { background: var(--p2026-yellow); color: var(--p2026-black); }
.p2026 .btn-yellow:hover { background: #E0B00F; }
.p2026 .btn-ghost { background: transparent; color: var(--p2026-black); border: 1px solid var(--p2026-black); }
.p2026 .btn-ghost:hover { background: var(--p2026-black); color: white; }
.p2026 .btn-affiliate { background: var(--p2026-black); color: white; }
.p2026 .btn-affiliate::after { content: '↗'; margin-left: 4px; }
.p2026 .btn-affiliate:hover { background: var(--p2026-graphite); }

/* Badges */
.p2026 .badge { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; white-space: nowrap; }
.p2026 .badge-featured { background: var(--p2026-gold); color: var(--p2026-black); }
.p2026 .badge-bp250 { background: var(--p2026-black); color: var(--p2026-gold); border: 1px solid var(--p2026-gold); }
.p2026 .badge-new { background: var(--p2026-red); color: white; }
.p2026 .badge-wcp { background: linear-gradient(90deg, var(--p2026-gold), var(--p2026-yellow)); color: var(--p2026-black); }
.p2026 .badge-cuisine { background: var(--p2026-cream); color: var(--p2026-charcoal); border: 1px solid var(--p2026-line); font-weight: 500; letter-spacing: 0.08em; }
.p2026 .badge-free { background: var(--p2026-success); color: white; }
.p2026 .badge-stock { background: rgba(0,0,0,0.55); color: var(--p2026-yellow); position: absolute; top: 8px; right: 8px; z-index: 2; font-family: 'JetBrains Mono', monospace; }

/* Hero */
.p2026-hero { background: var(--p2026-cream); padding: 32px 16px; }
.p2026-hero-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; border: 8px solid var(--p2026-yellow); padding: 24px; background: white; max-width: 1360px; margin: 0 auto; }
.p2026-hero h1 { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.04; font-size: 44px; color: var(--p2026-black); margin: 0 0 16px; }
.p2026-hero .tag { font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; color: var(--p2026-gold-deep); margin: 0 0 24px; }
.p2026-hero .lede { font-size: 16px; line-height: 1.7; color: var(--p2026-charcoal); margin: 0 0 24px; }
.p2026-hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) {
  .p2026-hero { padding: 56px 40px; }
  .p2026-hero-inner { grid-template-columns: 1.1fr 1fr; gap: 56px; border-width: 16px; padding: 56px 56px 48px; }
  .p2026-hero h1 { font-size: 80px; }
  .p2026-hero .tag { font-size: 22px; }
}

/* Sections */
.p2026 .sec { padding: 48px 16px; }
.p2026 .sec-inner { max-width: 1360px; margin: 0 auto; }
.p2026 .sec-cream { background: var(--p2026-cream); }
.p2026 .sec-paper { background: var(--p2026-paper); }
.p2026 .sec-dark { background: var(--p2026-black); color: white; }
.p2026 .sec-header { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
.p2026 .sec h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 36px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.02em; }
.p2026 .sec-dark h2 { color: white; }
.p2026 .sec p.lede { font-size: 16px; line-height: 1.7; color: var(--p2026-charcoal); margin: 0; }
.p2026 .sec-dark p.lede { color: #C0BBAA; }
@media (min-width: 768px) {
  .p2026 .sec { padding: 80px 40px; }
  .p2026 .sec-header { grid-template-columns: 1fr 1.6fr; gap: 56px; margin-bottom: 40px; }
  .p2026 .sec h2 { font-size: 56px; line-height: 1; }
  .p2026 .sec p.lede { font-size: 17px; }
}

/* Grids */
.p2026 .grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.p2026 .grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .p2026 .grid-3, .p2026 .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .p2026 .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } .p2026 .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* Cards */
.p2026 .card { background: white; border: 1px solid var(--p2026-line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s, box-shadow 0.18s; position: relative; }
.p2026 .card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(0,0,0,0.18); }
.p2026 .card.featured { border: 2px solid var(--p2026-gold); box-shadow: 0 8px 24px -8px rgba(200,162,74,0.3); }
.p2026 .card-photo { aspect-ratio: 4/3; background: linear-gradient(135deg, #1a1a1a 0%, #2c1f10 45%, var(--p2026-gold-deep) 100%); position: relative; overflow: hidden; }
.p2026 .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.p2026 .card-photo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.10), transparent 55%), radial-gradient(circle at 80% 75%, rgba(245,197,24,0.16), transparent 55%); pointer-events: none; }
.p2026 .card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p2026 .card-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; line-height: 1.15; color: var(--p2026-black); margin: 0; }
.p2026 .card-meta { font-size: 12px; color: var(--p2026-warm-gray); letter-spacing: 0.04em; }
.p2026 .card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.p2026 .card-desc { font-size: 14px; line-height: 1.5; color: var(--p2026-charcoal); margin: 0; }
.p2026 .card-cta { font-size: 13px; font-weight: 600; color: var(--p2026-black); border-bottom: 2px solid var(--p2026-yellow); align-self: flex-start; padding-bottom: 2px; margin-top: auto; }
.p2026 .card .badge-corner { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* Entry single page */
.p2026-entry-hero { background: var(--p2026-paper); padding: 32px 16px; }
.p2026-entry-hero-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
.p2026-entry-photo { aspect-ratio: 4/3; background: linear-gradient(135deg, #1a1a1a, #2c1f10, var(--p2026-gold-deep)); border-radius: 8px; position: relative; overflow: hidden; }
.p2026-entry-photo img { width: 100%; height: 100%; object-fit: cover; }
.p2026-entry-meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.p2026-entry h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 36px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.02em; }
.p2026-entry .lede { font-size: 17px; line-height: 1.7; color: var(--p2026-charcoal); margin: 0 0 20px; }
.p2026-entry-info { background: white; border: 1px solid var(--p2026-line); border-radius: 8px; padding: 20px; display: grid; gap: 12px; font-size: 14px; }
.p2026-entry-info dt { font-weight: 600; color: var(--p2026-warm-gray); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.p2026-entry-info dd { margin: 4px 0 0; color: var(--p2026-charcoal); line-height: 1.5; }
.p2026-entry-body { padding: 32px 16px; max-width: 720px; margin: 0 auto; }
.p2026-entry-body p { font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
@media (min-width: 768px) {
  .p2026-entry-hero { padding: 56px 40px; }
  .p2026-entry-hero-inner { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
  .p2026-entry h1 { font-size: 56px; }
  .p2026-entry-body { padding: 48px 40px; }
}

/* Event card / detail */
.p2026-event-card { background: white; border: 1px solid var(--p2026-line); border-radius: 8px; padding: 18px; display: flex; gap: 16px; align-items: flex-start; transition: transform 0.18s, box-shadow 0.18s; }
.p2026-event-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,0.16); }
.p2026-event-card.is-anchor { border: 2px solid var(--p2026-gold); }
.p2026-event-date { flex-shrink: 0; min-width: 80px; text-align: center; padding: 8px 10px; background: var(--p2026-black); color: var(--p2026-yellow); border-radius: 6px; }
.p2026-event-date .month { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--p2026-gold); }
.p2026-event-date .day { font-family: 'Fraunces', serif; font-weight: 600; font-size: 28px; line-height: 1; margin-top: 2px; color: var(--p2026-yellow); }
.p2026-event-body { flex: 1; min-width: 0; }
.p2026-event-body h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; line-height: 1.2; margin: 0 0 6px; }
.p2026-event-body .venue { font-size: 12px; color: var(--p2026-warm-gray); margin: 0 0 8px; }
.p2026-event-body .blurb { font-size: 14px; line-height: 1.55; color: var(--p2026-charcoal); margin: 0; }

/* Filter pills */
.p2026 .filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; overflow-x: auto; padding: 4px 0; }
.p2026 .filter-pill { padding: 8px 14px; font-size: 12px; border-radius: 100px; border: 1px solid var(--p2026-line); background: white; cursor: pointer; font-weight: 500; transition: all 0.15s; white-space: nowrap; }
.p2026 .filter-pill:hover { border-color: var(--p2026-black); }
.p2026 .filter-pill.active { background: var(--p2026-black); color: white; border-color: var(--p2026-black); }

/* Convergence callout */
.p2026 .convergence { background: var(--p2026-black); color: white; padding: 56px 16px; position: relative; overflow: hidden; }
.p2026 .convergence-inner { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.p2026 .convergence h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 44px; line-height: 1.02; margin: 0 0 16px; }
.p2026 .convergence h2 span { color: var(--p2026-gold); }
.p2026 .convergence p { font-size: 16px; line-height: 1.7; color: #C0BBAA; max-width: 480px; margin: 0 0 24px; }
@media (min-width: 768px) {
  .p2026 .convergence { padding: 80px 40px; }
  .p2026 .convergence-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .p2026 .convergence h2 { font-size: 72px; line-height: 1; }
}

/* Email capture form */
.p2026-email-capture { background: var(--p2026-cream); border: 1px solid var(--p2026-line); padding: 28px 20px; border-radius: 8px; max-width: 560px; margin: 24px auto; }
.p2026-email-capture.is-success { background: rgba(46,125,91,0.08); border-color: var(--p2026-success); }
.p2026-capture-heading { font-family: 'Fraunces', serif; font-weight: 600; font-size: 24px; margin: 0 0 6px; line-height: 1.15; }
.p2026-capture-sub { font-size: 14px; color: var(--p2026-warm-gray); margin: 0 0 16px; line-height: 1.5; }
.p2026-capture-row { display: flex; gap: 8px; flex-direction: column; }
.p2026-capture-input { font: inherit; padding: 12px 14px; border: 1px solid var(--p2026-line); border-radius: 4px; background: white; font-size: 14px; }
.p2026-capture-input:focus { outline: 2px solid var(--p2026-gold); border-color: var(--p2026-gold); }
.p2026-capture-btn { padding: 12px 20px; background: var(--p2026-red); color: white; border: none; border-radius: 4px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.12s; }
.p2026-capture-btn:hover { background: #C8262B; }
.p2026-capture-btn:disabled { opacity: 0.6; cursor: wait; }
.p2026-capture-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.p2026-capture-status { font-size: 13px; margin-top: 10px; min-height: 18px; }
.p2026-capture-status.is-error { color: var(--p2026-red); }
.p2026-capture-status.is-success { color: var(--p2026-success); }
@media (min-width: 600px) { .p2026-capture-row { flex-direction: row; } .p2026-capture-input { flex: 1; } }

/* Ad slots */
.p2026-ad-slot { display: flex; align-items: center; justify-content: center; min-height: 90px; margin: 24px 0; background: rgba(0,0,0,0.02); border: 1px dashed var(--p2026-line); border-radius: 4px; color: var(--p2026-warm-gray); font-size: 12px; }
.p2026-ad-slot.p2026-ad-mid { min-height: 250px; }
.p2026-ad-slot.p2026-ad-sticky { position: fixed; bottom: 0; left: 0; right: 0; min-height: 60px; background: rgba(255,255,255,0.96); border: none; border-top: 1px solid var(--p2026-line); z-index: 40; padding: 8px; backdrop-filter: blur(6px); }

/* Breadcrumb */
.p2026-breadcrumb { padding: 12px 16px; max-width: 1360px; margin: 0 auto; font-size: 12px; color: var(--p2026-warm-gray); }
.p2026-breadcrumb a { color: var(--p2026-warm-gray); }
.p2026-breadcrumb a:hover { color: var(--p2026-black); }
.p2026-breadcrumb .current { color: var(--p2026-black); }
@media (min-width: 768px) { .p2026-breadcrumb { padding: 18px 40px 0; } }

/* Stats strip */
.p2026 .stats { padding: 40px 16px; background: var(--p2026-black); color: white; }
.p2026 .stats-inner { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; }
.p2026 .stats-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 32px; color: var(--p2026-yellow); line-height: 1; }
.p2026 .stats-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #B8B0A0; letter-spacing: 0.12em; margin-top: 4px; text-transform: uppercase; }
@media (min-width: 768px) {
  .p2026 .stats { padding: 56px 40px; }
  .p2026 .stats-inner { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
  .p2026 .stats-num { font-size: 44px; }
  .p2026 .stats-label { font-size: 11px; }
}

/* Walking guide steps */
.p2026 .walk-step { padding: 4px 0; }
.p2026 .walk-step .num { font-family: 'Fraunces', serif; font-size: 48px; color: var(--p2026-gold); line-height: 1; margin-bottom: 8px; }
.p2026 .walk-step h4 { font-family: 'Fraunces', serif; font-size: 20px; margin: 0 0 8px; }
.p2026 .walk-step p { font-size: 14px; color: var(--p2026-warm-gray); line-height: 1.6; margin: 0; }
@media (min-width: 768px) { .p2026 .walk-step .num { font-size: 64px; } .p2026 .walk-step h4 { font-size: 22px; } }

/* Toast */
.p2026-toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: var(--p2026-black); color: var(--p2026-yellow); padding: 14px 20px; border-radius: 6px; font-size: 13px; font-weight: 500; z-index: 80; box-shadow: 0 12px 32px -8px rgba(0,0,0,0.4); animation: p2026-toast-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes p2026-toast-in { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.p2026-toast.is-leaving { animation: p2026-toast-out 0.25s ease forwards; }
@keyframes p2026-toast-out { to { transform: translate(-50%, 20px); opacity: 0; } }

/* ---------------------------------------------------------------- */
/*  Premium polish + micro-interactions                              */
/* ---------------------------------------------------------------- */

/* Selection color matches brand */
.p2026 ::selection { background: var(--p2026-yellow); color: var(--p2026-black); }
.p2026 ::-moz-selection { background: var(--p2026-yellow); color: var(--p2026-black); }

/* Smooth scrolling for in-page anchors */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* Custom scrollbar (subtle, brand-aware) */
.p2026 ::-webkit-scrollbar { width: 10px; height: 10px; }
.p2026 ::-webkit-scrollbar-track { background: var(--p2026-cream); }
.p2026 ::-webkit-scrollbar-thumb { background: var(--p2026-line); border-radius: 100px; border: 2px solid var(--p2026-cream); }
.p2026 ::-webkit-scrollbar-thumb:hover { background: var(--p2026-gold-deep); }

/* Focus-visible — keyboard-only focus rings, no mouse focus rings */
.p2026 :focus { outline: none; }
.p2026 a:focus-visible,
.p2026 button:focus-visible,
.p2026 .btn:focus-visible,
.p2026 .filter-pill:focus-visible,
.p2026 .card:focus-visible,
.p2026-event-card:focus-visible,
.p2026-capture-input:focus-visible,
.p2026-capture-btn:focus-visible {
  outline: 3px solid var(--p2026-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
.p2026-capture-input:focus-visible { outline-offset: 1px; }

/* Skip link */
.p2026-skip-link {
  position: absolute; top: -200px; left: 8px;
  background: var(--p2026-black); color: var(--p2026-yellow);
  padding: 12px 16px; z-index: 200; border-radius: 4px;
  font-weight: 600; text-decoration: none; font-size: 13px;
  transition: top 0.18s ease;
}
.p2026-skip-link:focus { top: 8px; }

/* Buttons — polished press + active state */
.p2026 .btn { will-change: transform; }
.p2026 .btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255,255,255,0.18); opacity: 0; transition: opacity 0.18s ease;
  pointer-events: none;
}
.p2026 .btn { position: relative; overflow: hidden; }
.p2026 .btn:hover::before { opacity: 1; }
.p2026 .btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.06s; }

/* Cards — premium hover: photo zoom + lift + shadow swell */
.p2026 .card { will-change: transform, box-shadow; }
.p2026 .card .card-photo { overflow: hidden; }
.p2026 .card .card-photo img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  will-change: transform;
}
.p2026 .card:hover .card-photo img { transform: scale(1.06); }
.p2026 .card .card-cta { position: relative; transition: padding-right 0.18s ease; }
.p2026 .card .card-cta::after {
  content: '→'; position: absolute; right: -2px; top: 0; opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease; transform: translateX(-6px);
}
.p2026 .card:hover .card-cta { padding-right: 18px; }
.p2026 .card:hover .card-cta::after { opacity: 1; transform: translateX(0); }

/* Card badge corner micro-translate on hover */
.p2026 .card .badge-corner { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.p2026 .card:hover .badge-corner { transform: translateY(-2px) rotate(-1.5deg); }

/* Event card — date badge animates */
.p2026-event-card { will-change: transform; }
.p2026-event-card .p2026-event-date { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.p2026-event-card:hover .p2026-event-date { transform: scale(1.08) rotate(-2deg); }

/* Photo blur-up loading — gradient placeholder while img loads */
.p2026 .card-photo,
.p2026 .p2026-entry-photo {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1f10 45%, var(--p2026-gold-deep) 100%);
}
.p2026 .card-photo img,
.p2026 .p2026-entry-photo img {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.p2026 .card-photo img.is-loaded,
.p2026 .p2026-entry-photo img.is-loaded { opacity: 1; }
/* Fallback for browsers without JS — progressively show via :has() if supported */
@supports selector(:has(*)) {
  .p2026 .card-photo:has(img[src]) img,
  .p2026 .p2026-entry-photo:has(img[src]) img { opacity: 1; }
}

/* Filter pills — premium active state + soft hover */
.p2026 .filter-pill { position: relative; transition: color 0.18s ease, background 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, transform 0.12s ease; }
.p2026 .filter-pill:hover:not(.active) { transform: translateY(-1px); }
.p2026 .filter-pill:active { transform: translateY(0); }
.p2026 .filter-pill.active { transform: translateY(0); }
/* Subtle ring pulse when becoming active */
.p2026 .filter-pill.is-just-activated { animation: p2026-pill-pulse 0.45s ease; }
@keyframes p2026-pill-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.35); }
  100% { box-shadow: 0 0 0 10px rgba(245, 197, 24, 0); }
}

/* Form inputs — focus glow */
.p2026-capture-input {
  transition: border-color 0.18s ease, box-shadow 0.25s ease, background 0.18s ease;
}
.p2026-capture-input:focus,
.p2026-capture-input:focus-visible {
  border-color: var(--p2026-gold);
  box-shadow: 0 0 0 4px rgba(200, 162, 74, 0.15);
}
.p2026-capture-input:not(:placeholder-shown):not(:focus) { background: var(--p2026-cream); }

/* Form button — loading + success states */
.p2026-capture-btn {
  position: relative; overflow: hidden;
  transition: background 0.18s ease, transform 0.12s ease, padding 0.25s ease;
}
.p2026-capture-btn .p2026-spinner {
  width: 14px; height: 14px; margin-right: 8px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
  border-radius: 50%; display: inline-block; vertical-align: -2px;
  animation: p2026-spin 0.7s linear infinite;
}
.p2026-capture-btn .p2026-check {
  display: inline-block; width: 16px; height: 16px; margin-right: 8px;
  vertical-align: -3px;
  animation: p2026-check-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes p2026-spin { to { transform: rotate(360deg); } }
@keyframes p2026-check-pop { from { transform: scale(0); } to { transform: scale(1); } }
.p2026-email-capture.is-success .p2026-capture-btn { background: var(--p2026-success); }
.p2026-email-capture.is-error { animation: p2026-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes p2026-shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Status announcements */
.p2026-capture-status {
  transition: color 0.18s ease, opacity 0.2s ease;
  display: flex; align-items: center; gap: 6px;
}
.p2026-capture-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--p2026-warm-gray); transition: background 0.18s ease;
  display: inline-block; flex-shrink: 0;
}
.p2026-capture-status.is-error::before { background: var(--p2026-red); }
.p2026-capture-status.is-success::before { background: var(--p2026-success); }
.p2026-capture-status:empty::before { display: none; }

/* Scroll reveal */
.p2026-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.p2026-reveal.is-visible { opacity: 1; transform: translateY(0); }
.p2026-reveal-up { transform: translateY(40px); }
.p2026-reveal-fade { transform: none; }
.p2026-reveal-zoom { transform: scale(0.96); }
.p2026-reveal-zoom.is-visible { transform: scale(1); }

/* Stagger children inside a revealed grid */
.p2026-reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.p2026-reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }
.p2026-reveal-stagger.is-visible > *:nth-child(n+9) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }

/* Sticky header shadow when scrolled (applied to body via JS) */
body.p2026-scrolled .site-header { box-shadow: 0 4px 24px -12px rgba(0,0,0,0.18); }

/* Hero subtle entrance */
.p2026-hero h1 { animation: p2026-hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.p2026-hero .tag { animation: p2026-hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.p2026-hero .lede { animation: p2026-hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
.p2026-hero .cta-row { animation: p2026-hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
@keyframes p2026-hero-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Stats num — count-up has fade as it lands */
.p2026 .stats-num { transition: color 0.4s ease; }
.p2026 .stats-num.is-counting { color: white; }
.p2026 .stats-num.is-done { color: var(--p2026-yellow); }

/* Convergence callout — subtle ambient pulse on dark sections */
.p2026 .convergence::before,
.p2026 .sec-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px circle at 20% 30%, rgba(245, 197, 24, 0.06), transparent 60%);
  pointer-events: none; z-index: 0;
}
.p2026 .convergence > *,
.p2026 .sec-dark > * { position: relative; z-index: 1; }

/* Photo credit — only shown on hover, restrained */
.p2026 .badge-stock { transition: opacity 0.2s ease; opacity: 0.9; }
.p2026 .card-photo:hover .badge-stock,
.p2026 .p2026-entry-photo:hover .badge-stock { opacity: 1; }

/* Touch — kill sticky hovers on no-hover devices */
@media (hover: none) {
  .p2026 .card:hover { transform: none; box-shadow: 0 16px 32px -16px rgba(0,0,0,0.10); }
  .p2026 .card:hover .card-photo img { transform: none; }
  .p2026 .card:hover .card-cta { padding-right: 0; }
  .p2026 .card:hover .card-cta::after { display: none; }
  .p2026 .btn:hover { transform: none; box-shadow: none; }
  .p2026-event-card:hover { transform: none; }
  .p2026-event-card:hover .p2026-event-date { transform: none; }
}

/* Reduced motion — strip animations, keep transitions short */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.05ms !important;
    scroll-behavior: auto !important;
  }
  .p2026-reveal,
  .p2026-reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Print — nothing fancy, just legible */
@media print {
  .p2026-ad-slot, .p2026-toast, .p2026-skip-link { display: none !important; }
  .p2026 { color: black; }
}
