/* Philadelphia Events Guide — site layer on top of framework.css (vendored, unmodified).
   Only additions and show-guide specific components live here. */

@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: optional; src: url(/assets/fonts/display-400.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: optional; src: url(/assets/fonts/display-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: optional; src: url(/assets/fonts/display-600.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 400; font-display: optional; src: url(/assets/fonts/body-400.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 400; font-display: optional; src: url(/assets/fonts/body-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 500; font-display: optional; src: url(/assets/fonts/body-500.woff2) format("woff2"); }

/* header nav: plain links styled like the framework dropdown buttons */
.nav-link {
  display: flex; align-items: center; padding: .5rem .75rem; border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1rem; font-weight: 500; text-decoration: none;
  color: var(--color-shadow-light); transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--muted); color: var(--color-terracotta); }
@media (min-width: 768px) and (max-width: 1023px) { .nav-link { padding: .5rem .5rem; font-size: .9375rem; } .brand-name span { display: none; } }
.mobile-section-content.open { display: block; padding-bottom: 1rem; }

/* hero sizing + photo credit */
.hero.hero-page { min-height: 380px; }
.hero.hero-event { min-height: 320px; }
.hero.hero-home { min-height: 560px; }
.hero h1 .l1.sm, .hero h1 .l2.sm { font-size: 2.25rem; }
@media (min-width: 640px) { .hero h1 .l1.sm, .hero h1 .l2.sm { font-size: 3rem; } }
@media (min-width: 1280px) { .hero h1 .l1.sm, .hero h1 .l2.sm { font-size: 3.5rem; } }
.hero .hero-lede { color: color-mix(in srgb, var(--color-chalk) 85%, transparent); max-width: 44rem; font-size: 1.0625rem; margin: 0; }
.hero-credit {
  position: absolute; right: .75rem; bottom: .5rem; z-index: 11; margin: 0;
  font-size: .6875rem; color: color-mix(in srgb, var(--color-chalk) 70%, transparent);
}
.hero-credit a { color: inherit; }
.hero .crumbs { font-size: .8125rem; color: color-mix(in srgb, var(--color-chalk) 70%, transparent); margin: 0 0 1rem; }
.hero .crumbs a { color: inherit; text-decoration: none; }
.hero .crumbs a:hover { color: var(--color-gold); }
.hero .crumbs .sep { margin: 0 .375rem; opacity: .6; }

/* page body spacing */
.page-body { padding-block: 3rem 4rem; }
.page-body > .article-section + .article-section { margin-top: 3.5rem; }
.section-header p.section-desc { margin: .5rem 0 0; color: var(--muted-foreground); max-width: 40rem; }
.lead-p { font-size: 1.0625rem; color: var(--muted-foreground); max-width: 46rem; }

/* event tables */
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table td.when { white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table td a { color: inherit; text-decoration: none; }
.data-table td a:hover { color: var(--color-terracotta); text-decoration: underline; }
.data-table td .sub { display: block; font-size: .75rem; font-weight: 400; color: var(--muted-foreground); }
.data-table td.cta { text-align: right; }
.btn-sm { padding: .4rem .8rem; font-size: .875rem; }
.data-table .btn-sm { color: var(--color-chalk); }
.data-table .btn-sm:hover { color: var(--color-chalk); text-decoration: none; }
@media (max-width: 639px) {
  .data-table .hide-sm { display: none; }
  .data-table th, .data-table td { padding: .6rem .4rem; }
}
.month-h { font-size: 1.25rem; margin: 2rem 0 .25rem; }

/* status + genre pills */
.pill { display: inline-block; border-radius: 9999px; padding: .125rem .5rem; font-size: .6875rem; font-weight: 600; letter-spacing: .02em; vertical-align: middle; }
.pill-warn { background: color-mix(in srgb, var(--color-red-700) 10%, transparent); color: var(--color-red-700); }
.pill-genre { background: color-mix(in srgb, var(--color-azulejo) 10%, transparent); color: var(--color-azulejo); }

/* text cards (shows without photos) */
.show-card .card-body { gap: .5rem; }
.show-card .card-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-terracotta); font-weight: 600; }
.card-media .card-media-title { position: absolute; left: 1rem; bottom: .75rem; right: 1rem; z-index: 2; color: var(--color-chalk); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 0 0 2.5rem; }
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat { border: 1px solid var(--color-border); background: var(--color-card); border-radius: .75rem; padding: 1rem 1.125rem; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.625rem; font-weight: 500; color: var(--foreground); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { font-size: .8125rem; color: var(--muted-foreground); }

/* showtimes list on event pages */
.showtimes { display: grid; gap: .75rem; margin: 1.25rem 0 0; }
.showtime { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; border: 1px solid var(--color-border); border-radius: .75rem; padding: .875rem 1rem; background: var(--color-card); }
.showtime .t { font-family: var(--font-display); font-size: 1.25rem; }
.showtime .p { font-size: .875rem; color: var(--muted-foreground); }

/* disclosure */
.disclosure { font-size: .8125rem; color: var(--muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1.25rem; margin-top: 3rem; }
.disclosure a { color: var(--color-terracotta); }

/* guide article */
.guide-meta { font-size: .8125rem; color: var(--muted-foreground); margin: 0 0 2rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
@media (min-width: 640px) { .prose h2 { font-size: 1.875rem; } }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0 1.5rem; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.prose th { color: var(--foreground); font-weight: 500; }
.prose td { color: var(--muted-foreground); }
.sources { font-size: .8125rem; }
.sources li { margin-bottom: .25rem; }

/* chips row */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* search page */
.search-box { width: 100%; font: inherit; font-size: 1.0625rem; padding: .875rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-card); }
.search-results { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.search-results a { display: block; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; background: var(--color-card); }
.search-results a:hover { border-color: var(--color-terracotta); }
.search-results .k { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-terracotta); }
.search-results .s { display: block; font-size: .8125rem; color: var(--muted-foreground); }

/* footer: brand + three evenly aligned link columns */
.site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; align-items: start; }
.site-footer .footer-brand, .site-footer .footer-col-wide { grid-column: 1 / -1; }
.site-footer .footer-col h3 { margin: 0 0 .75rem; min-height: 1.5rem; }
.site-footer .footer-col a { padding: .375rem 0; line-height: 1.4; }
.site-footer .footer-col-wide ul { columns: 2; column-gap: 1.5rem; }
.site-footer .footer-col-wide li { break-inside: avoid; }
.site-footer .footer-col-wide { order: 3; }
.site-footer .footer-legal nav { flex-wrap: nowrap; flex-shrink: 0; }
@media (min-width: 768px) {
  .site-footer .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
  .site-footer .footer-col-wide { grid-column: auto; order: 0; }
  .site-footer .footer-col-wide ul { columns: 1; }
}
@media (min-width: 1024px) {
  .site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1.25fr 1fr; gap: 3rem; }
  .site-footer .footer-brand { grid-column: auto; }
  .site-footer .footer-brand .about { max-width: 22rem; }
}

/* =====================================================================
   Philadelphia theme: blue palette, 2x header, hover motion
   (overrides framework tokens; framework.css itself stays untouched)
   ===================================================================== */
:root {
  /* palette: token names kept from the framework, values moved to blues */
  --color-chalk: #f7faff;
  --color-chalk-warm: #eef4fc;
  --color-card: #ffffff;
  --color-border: #d9e3f1;
  --color-shadow: #0b1f3a;          /* deep navy: text + footer */
  --color-shadow-light: #2c4263;
  --color-terracotta: #1e63d6;      /* primary blue */
  --color-terracotta-dark: #154aa6;
  --color-terracotta-light: #4f8cf0;
  --color-azulejo: #0e4c86;         /* secondary navy-blue */
  --color-azulejo-dark: #0a375f;
  --color-azulejo-light: #2a6db0;
  --color-gold: #5cc3f2;            /* accent sky blue */
  --color-gold-dark: #2a9fd6;
  --color-gold-light: #9bdcf8;
  --overlay-base: #0b1f3a;
  --header-h: 6rem;
  --shadow-card-hover: 0 18px 32px -12px rgba(11, 31, 58, .28);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 768px) { :root { --header-h: 8rem; } }   /* twice the framework 4rem; 6rem on phones */

/* navy overlays instead of the framework's warm brown */
.hero-bg::before { background: linear-gradient(rgba(11,31,58,.72) 0%, rgba(11,31,58,.5) 50%, rgba(11,31,58,.94) 100%); }
.hero-bg::after { background: linear-gradient(90deg, rgba(11,31,58,.7) 0%, rgba(30,99,214,.18) 55%, rgba(11,31,58,.45) 100%); }
.act-card .card-media::after { background: linear-gradient(to top, rgba(11,31,58,.95), rgba(11,31,58,.2) 55%, transparent); }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11, 31, 58, .12); }
.site-footer { background: linear-gradient(180deg, #0b1f3a 0%, #081629 100%); }

/* ---- header: twice as tall, bigger brand and menu ---- */
.site-header { background: color-mix(in srgb, var(--color-chalk) 94%, transparent); border-bottom: 1px solid var(--color-border); }
.site-header::after {               /* thin blue gradient line under the header */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--color-azulejo), var(--color-terracotta), var(--color-gold));
}
.brand-mark { width: 3.25rem; height: 3.25rem; transition: transform .45s var(--ease-out); }
.brand-mark path:first-child { fill: var(--color-terracotta); }
.brand-mark path:last-child { fill: var(--color-gold-light); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.1); }
.brand-name b { font-size: 1.375rem; transition: color .25s; }
.brand:hover .brand-name b { color: var(--color-terracotta); }
.brand-name span { font-size: .8125rem; color: var(--color-azulejo); }
@media (min-width: 768px) {
  .brand-mark { width: 4rem; height: 4rem; }
  .brand-name b { font-size: 1.625rem; }
  .desktop-nav { gap: .5rem; }
}

/* ---- menu links: sliding underline, lift and tint ---- */
.nav-link {
  position: relative; overflow: hidden; font-size: 1.0625rem; padding: .625rem .9rem;
  transition: color .25s, background-color .25s, transform .25s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-gold));
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-link:hover, .nav-link[aria-current="page"] { background: color-mix(in srgb, var(--color-terracotta) 8%, transparent); color: var(--color-terracotta); transform: translateY(-2px); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
@media (min-width: 1024px) { .nav-link { font-size: 1.125rem; } }
@media (min-width: 768px) and (max-width: 1023px) { .nav-link { padding: .5rem .55rem; font-size: .9375rem; } .nav-link::after { left: .55rem; right: .55rem; } }
.header-search { transition: border-color .25s, color .25s, background-color .25s, transform .25s var(--ease-out), box-shadow .25s; }
.header-search:hover { border-color: var(--color-terracotta); color: var(--color-terracotta); transform: translateY(-2px); box-shadow: 0 6px 14px -6px rgba(30,99,214,.45); }
.header-search:hover .icon-sm { animation: nudge .5s var(--ease-out); }
.mobile-section-content a { transition: color .2s, padding-left .25s var(--ease-out); }
.mobile-section-content a:hover { color: var(--color-terracotta); padding-left: .5rem; }

/* ---- buttons: lift, glow and a light sweep ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease-out), box-shadow .25s, background-color .25s, color .25s, border-color .25s; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-azulejo) 100%); border-color: transparent; }
.btn-primary:hover { background: linear-gradient(135deg, var(--color-terracotta-light) 0%, var(--color-terracotta) 100%); box-shadow: 0 10px 20px -8px rgba(30,99,214,.6); }
.btn-secondary:hover { border-color: var(--color-terracotta); color: var(--color-terracotta); box-shadow: 0 8px 16px -10px rgba(11,31,58,.35); }
.btn .icon, .btn .icon-sm { transition: transform .3s var(--ease-out); }
.btn:hover .icon, .btn:hover .icon-sm { transform: translateX(3px) rotate(-8deg); }

/* ---- cards: lift, blue edge, photo zoom ---- */
.card { transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.card:hover, .card:has(> a):hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--color-terracotta) 45%, var(--color-border)); }
.card-media img { transition: transform .7s var(--ease-out), filter .5s; }
.card:hover .card-media img { transform: scale(1.07); filter: saturate(1.1); }
.stat { transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s; }
.stat:hover { transform: translateY(-3px); border-color: var(--color-terracotta-light); box-shadow: 0 10px 22px -14px rgba(30,99,214,.55); }
.stat b { color: var(--color-azulejo); }
.showtime { transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out); }
.showtime:hover { border-color: var(--color-terracotta-light); transform: translateX(3px); box-shadow: -4px 0 0 var(--color-terracotta); }
.search-results a { transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s; }
.search-results a:hover { transform: translateX(4px); box-shadow: -4px 0 0 var(--color-terracotta); }

/* ---- tables and text links ---- */
.data-table tbody tr, .prose tbody tr { transition: background-color .2s; }
.data-table tbody tr:hover, .prose tbody tr:hover { background: color-mix(in srgb, var(--color-gold) 10%, transparent); }
.prose a, .lead-p a, .section-desc a, .disclosure a, .sources a {
  color: var(--color-terracotta); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s var(--ease-out), color .2s;
}
.prose a:hover, .lead-p a:hover, .section-desc a:hover, .disclosure a:hover, .sources a:hover { background-size: 100% 1.5px; color: var(--color-terracotta-dark); }
.pill { transition: transform .2s var(--ease-out); }
.pill:hover { transform: translateY(-1px) scale(1.04); }
.chips a { transition: transform .25s var(--ease-out), background-color .25s, color .25s, border-color .25s; }
.chips a:hover { transform: translateY(-2px); }

/* ---- footer links slide ---- */
.site-footer a { transition: color .2s, transform .25s var(--ease-out); }
.site-footer .footer-col a { display: inline-block; }
.site-footer .footer-col a:hover { color: var(--color-gold-light); transform: translateX(4px); }
.site-footer .footer-legal a:hover { color: var(--color-gold-light); }

@keyframes nudge { 0%, 100% { transform: none; } 40% { transform: translateX(3px) rotate(12deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .card:hover, .btn:hover, .nav-link:hover, .stat:hover { transform: none !important; }
}

/* ---- 2026-11 rebuild: brighter animated ticket buttons, slow-zoom hero, map + travel blocks ---- */
.btn-primary { background: linear-gradient(120deg, #1e63d6 0%, #2a9fd6 50%, #1e63d6 100%); background-size: 220% 100%; animation: btnflow 6s ease-in-out infinite; color: #fff; box-shadow: 0 6px 16px -8px rgba(30,99,214,.7); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 12px 24px -8px rgba(30,99,214,.75); }
.btn-primary::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -2; pointer-events: none; box-shadow: 0 0 0 0 rgba(92,195,242,.55); animation: btnpulse 2.8s ease-out infinite; }
@keyframes btnflow { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes btnpulse { 0% { box-shadow: 0 0 0 0 rgba(92,195,242,.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(92,195,242,0); } }
.hero-bg img { animation: heroZoom 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.venue-map-section .venue-map { border: 1px solid var(--color-border); box-shadow: 0 10px 24px -16px rgba(11,31,58,.45); margin-bottom: .75rem; }
.travel-list { list-style: none; padding: 0; margin: 1rem 0 .5rem; display: grid; gap: .6rem; }
.travel-list li { padding: .8rem 1rem; border: 1px solid var(--color-border); border-left: 4px solid var(--color-terracotta); border-radius: 10px; background: var(--color-card); }
.footer-legal .footer-disclosure { max-width: 72ch; opacity: .9; margin-bottom: .5rem; }
@media (prefers-reduced-motion: reduce) { .btn-primary, .btn-primary::after, .hero-bg img { animation: none !important; } }
@media (max-width: 640px) { .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .9rem; } }
