/*
Theme Name: Party Zone Buffet 1.0.3.2
Theme URI: https://www.partyzonebuffet.com/
Author: Jesse Ryan Jensen
Description: A classic WordPress theme for Party Zone Buffet, featuring a cinematic homepage hero, anchored Experiences, Food, and Revenue sections, and a public typography guide.
Version: 1.0.3.2
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: party-zone-buffet
Tags: custom-logo, featured-images, blog, entertainment, food-and-drink, responsive-layout
*/

:root {
  --pzb-red: #9f2027;
  --pzb-red-dark: #68131a;
  --pzb-orange: #ed8b24;
  --pzb-green: #329553;
  --pzb-green-dark: #1d6737;
  --pzb-gold: #d5a339;
  --pzb-gold-light: #f2d481;
  --pzb-brown: #3b241b;
  --pzb-brown-soft: #68483a;
  --pzb-cream: #fff8eb;
  --pzb-white: #ffffff;
  --pzb-ink: #291b17;
  --pzb-muted: #705f58;
  --pzb-border: rgba(59, 36, 27, 0.16);
  --pzb-shadow: 0 18px 50px rgba(45, 25, 18, 0.14);
  --pzb-radius: 22px;
  --pzb-header-height: 100px;
  --pzb-font-body: "SN Pro", "Cabin", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pzb-font-heading: "Cinzel", "Marcellus SC", Georgia, serif;
  --pzb-font-secondary: "Marcellus SC", "Cinzel", Georgia, serif;
  --pzb-font-playful: "Sekuya", "Caesar Dressing", var(--pzb-font-body);
  --pzb-font-editorial: "Joan", Georgia, serif;
  --pzb-font-script: "Corinthia", cursive;
  --pzb-content: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--pzb-header-height); }
body {
  margin: 0;
  color: var(--pzb-ink);
  background: var(--pzb-cream);
  font-family: var(--pzb-font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
img { max-width: 100%; height: auto; }
a { color: var(--pzb-red-dark); text-underline-offset: 0.16em; }
a:hover { color: var(--pzb-red); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; display: block; height: auto; left: 8px; top: 8px;
  width: auto; z-index: 100000; padding: 12px 16px; background: #fff; color: #111;
}
:focus-visible { outline: 3px solid var(--pzb-orange); outline-offset: 4px; }

.pzb-container { width: min(calc(100% - 40px), var(--pzb-content)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 1000; min-height: var(--pzb-header-height);
  background: #fff; border-bottom: 1px solid var(--pzb-border);
  box-shadow: 0 5px 18px rgba(59,36,27,.06);
}
.site-header__inner {
  min-height: var(--pzb-header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.site-branding { flex: 0 0 auto; }
.site-branding__link { display: block; line-height: 0; border-radius: 12px; background: #fff; }
.site-branding__logo {
  display: block; width: clamp(330px, 30vw, 430px); height: auto; background: #fff;
}
.site-navigation { display: flex; align-items: center; }
.site-navigation ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); list-style: none; margin: 0; padding: 0; }
.site-navigation a {
  color: var(--pzb-brown); font-family: var(--pzb-font-body); font-size: .83rem; font-weight: 750;
  letter-spacing: .115em; text-decoration: none; white-space: nowrap; padding: 12px 0; position: relative;
}
.site-navigation a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--pzb-red), var(--pzb-orange), var(--pzb-green)); transition: right .2s ease;
}
.site-navigation a:hover::after, .site-navigation a:focus-visible::after { right: 0; }
.menu-toggle {
  display: none; width: 48px; height: 44px; padding: 9px; border: 1px solid var(--pzb-border); border-radius: 12px;
  background: #fff; color: var(--pzb-brown); cursor: pointer;
}
.menu-toggle span { display: block; height: 3px; margin: 5px 0; border-radius: 5px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.pzb-hero { position: relative; min-height: calc(100svh - var(--pzb-header-height)); overflow: hidden; background: #2d201c; color: #fff; }
.pzb-hero-track, .pzb-hero-slide { min-height: inherit; }
.pzb-hero-slide {
  position: relative; display: flex; align-items: flex-end; background-size: cover; background-position: center center;
}
.pzb-hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28,13,9,.74) 0%, rgba(28,13,9,.48) 27%, rgba(28,13,9,.08) 58%, rgba(28,13,9,0) 77%),
    linear-gradient(0deg, rgba(24,11,8,.68) 0%, rgba(24,11,8,.16) 34%, rgba(24,11,8,0) 62%);
}
.pzb-hero__content {
  position: relative; z-index: 2; width: min(620px, 92%); margin-bottom: clamp(42px, 8vh, 86px); padding: 0 0 0 max(20px, calc((100vw - var(--pzb-content)) / 2));
}
.pzb-hero__eyebrow { margin: 0 0 12px; color: var(--pzb-gold-light); font-size: .79rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.pzb-hero h1 {
  margin: 0; max-width: 570px; font-family: var(--pzb-font-heading); font-size: clamp(2.7rem, 6vw, 5.8rem); line-height: .96;
  letter-spacing: -.035em; text-shadow: 0 4px 24px rgba(0,0,0,.42);
}
.pzb-hero__lede { max-width: 570px; margin: 20px 0 26px; font-size: clamp(1rem, 1.65vw, 1.28rem); line-height: 1.5; color: rgba(255,255,255,.94); text-shadow: 0 2px 13px rgba(0,0,0,.5); }
.pzb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pzb-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px;
  font-weight: 800; letter-spacing: .025em; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pzb-button:hover { transform: translateY(-2px); }
.pzb-button--primary { color: #fff; background: var(--pzb-red); box-shadow: 0 10px 28px rgba(112,18,25,.35); }
.pzb-button--primary:hover { color: #fff; background: #b62930; }
.pzb-button--secondary { color: var(--pzb-brown); background: rgba(255,248,235,.94); box-shadow: 0 10px 28px rgba(25,10,5,.2); }
.pzb-button--secondary:hover { color: var(--pzb-red-dark); background: #fff; }

.pzb-section { padding: clamp(54px, 6.5vw, 88px) 0; position: relative; scroll-margin-top: 0; }
.pzb-section--experiences { background: linear-gradient(180deg, #fffaf1, #f8ead3); }
.pzb-section--food { background: #fff; }
.pzb-section--revenue { background: linear-gradient(145deg, #3a2119 0%, #5b3023 50%, #291613 100%); color: #fff; }
.pzb-section__header { max-width: 800px; margin-bottom: 44px; }
.pzb-kicker { margin: 0 0 10px; color: var(--pzb-red); font-weight: 850; letter-spacing: .17em; text-transform: uppercase; font-size: .78rem; }
.pzb-section--revenue .pzb-kicker { color: var(--pzb-gold-light); }
.pzb-section h2, .entry-title {
  margin: 0; font-family: var(--pzb-font-heading); font-size: clamp(2.15rem, 4.8vw, 4.7rem); line-height: 1.05; letter-spacing: -.025em;
}
.pzb-section__intro { max-width: 740px; margin: 18px 0 0; font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: var(--pzb-muted); }
.pzb-section--revenue .pzb-section__intro { color: rgba(255,255,255,.78); }
.pzb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pzb-card {
  position: relative; overflow: hidden; padding: clamp(25px, 3.2vw, 38px); border: 1px solid var(--pzb-border); border-radius: var(--pzb-radius);
  background: rgba(255,255,255,.87); box-shadow: var(--pzb-shadow);
}
.pzb-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--pzb-red), var(--pzb-orange), var(--pzb-green)); }
.pzb-card h3 { margin: 0 0 10px; color: var(--pzb-brown); font-family: var(--pzb-font-secondary); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.2; }
.pzb-card p { margin: 0; color: var(--pzb-muted); }
.pzb-card__number { display: inline-block; margin-bottom: 18px; color: var(--pzb-orange); font-family: var(--pzb-font-playful); font-size: 1.9rem; line-height: 1; }
.pzb-food-grid .pzb-card:nth-child(1) { background: linear-gradient(145deg, #fff7e7, #fff); }
.pzb-food-grid .pzb-card:nth-child(2) { background: linear-gradient(145deg, #f2faef, #fff); }
.pzb-food-grid .pzb-card:nth-child(3) { background: linear-gradient(145deg, #fff1e6, #fff); }
.pzb-fruit-note {
  margin-top: 28px; padding: 26px 30px; border-radius: 18px; border: 1px solid rgba(50,149,83,.25);
  background: linear-gradient(95deg, rgba(50,149,83,.1), rgba(237,139,36,.09));
}
.pzb-fruit-note strong { color: var(--pzb-green-dark); }

.pzb-revenue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pzb-revenue-card {
  padding: 23px; border: 1px solid rgba(242,212,129,.22); border-radius: 18px; background: rgba(255,255,255,.075);
  backdrop-filter: blur(5px);
}
.pzb-revenue-card--featured { grid-column: span 2; background: linear-gradient(130deg, rgba(213,163,57,.2), rgba(159,32,39,.22)); border-color: rgba(242,212,129,.52); }
.pzb-revenue-card h3 { margin: 0 0 8px; color: var(--pzb-gold-light); font-family: var(--pzb-font-secondary); font-size: 1.16rem; line-height: 1.3; }
.pzb-revenue-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .95rem; }

.site-main--page { min-height: 60vh; }
.entry-hero { padding: clamp(72px, 9vw, 118px) 0 45px; background: linear-gradient(135deg, #fff8ea, #f4e1c3); }
.entry-content { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 58px 0 90px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { font-family: var(--pzb-font-secondary); color: var(--pzb-brown); line-height: 1.2; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.entry-content h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.entry-content p, .entry-content li { max-width: 75ch; }
.entry-content blockquote { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 5px solid var(--pzb-gold); background: #fffaf1; }

.pzb-heading-only { min-height: 65vh; }
.pzb-heading-only .entry-hero { padding-bottom: clamp(80px, 14vw, 180px); }

.pzb-sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pzb-sitemap__group { padding: 26px; border: 1px solid var(--pzb-border); border-radius: 18px; background: #fff; }
.pzb-sitemap__group h2 { margin-top: 0; }
.pzb-sitemap__group ul { margin-bottom: 0; }

.pzb-type-specimen { display: grid; gap: 18px; }
.pzb-type-card { padding: 27px; border: 1px solid var(--pzb-border); border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(45,25,18,.06); }
.pzb-type-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 16px; }
.pzb-type-card__meta h2 { margin: 0; font-family: var(--pzb-font-body); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.pzb-type-card__meta p { margin: 0; color: var(--pzb-muted); font-size: .92rem; }
.pzb-type-sample { margin: 0; color: var(--pzb-brown); line-height: 1.15; }
.pzb-type-sample--sn { font-family: "SN Pro", "Cabin", sans-serif; font-size: clamp(1.55rem, 4vw, 3.2rem); }
.pzb-type-sample--cabin { font-family: "Cabin", "SN Pro", sans-serif; font-size: clamp(1.55rem, 4vw, 3.2rem); }
.pzb-type-sample--corinthia { font-family: "Corinthia", cursive; font-size: clamp(3rem, 7vw, 6.4rem); }
.pzb-type-sample--joan { font-family: "Joan", Georgia, serif; font-size: clamp(1.8rem, 4.2vw, 3.6rem); }
.pzb-type-sample--cinzel { font-family: "Cinzel", Georgia, serif; font-size: clamp(1.8rem, 4.2vw, 3.6rem); }
.pzb-type-sample--marcellus { font-family: "Marcellus SC", Georgia, serif; font-size: clamp(1.8rem, 4.2vw, 3.6rem); }
.pzb-type-sample--caesar { font-family: "Caesar Dressing", fantasy; font-size: clamp(2rem, 4.5vw, 4rem); }
.pzb-type-sample--sekuya { font-family: "Sekuya", sans-serif; font-size: clamp(2rem, 4.5vw, 4rem); }

.pzb-font-diagnostics {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px 0 24px; padding: 18px 20px;
  border: 1px solid var(--pzb-border); border-radius: 16px; background: #fffaf1;
}
.pzb-font-diagnostics__title { margin: 0; font-weight: 800; color: var(--pzb-brown); }
.pzb-font-diagnostics__summary { margin: 0; color: var(--pzb-muted); text-align: right; }
.pzb-font-status {
  display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 5px 10px; border-radius: 999px;
  background: #f2eee9; color: var(--pzb-muted); font-family: var(--pzb-font-body); font-size: .78rem; font-weight: 750; line-height: 1.2;
}
.pzb-font-status::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #9a8f89; }
.pzb-font-status.is-loaded { background: #e8f5ec; color: #1d6737; }
.pzb-font-status.is-loaded::before { background: #329553; }
.pzb-font-status.is-fallback { background: #fff2d6; color: #7a4b00; }
.pzb-font-status.is-fallback::before { background: #ed8b24; }
.pzb-font-status.is-generic { background: #f7e8e9; color: #7b1a20; }
.pzb-font-status.is-generic::before { background: #9f2027; }
.pzb-type-card__meta { align-items: flex-start; }
.pzb-type-card__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; }
.pzb-type-card__heading h2 { margin: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--pzb-border); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(45,25,18,.08); }
.post-card__image { display: block; aspect-ratio: 16 / 10; background: #ead9bd; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 25px; }
.post-card__meta { margin-bottom: 8px; color: var(--pzb-muted); font-size: .83rem; text-transform: uppercase; letter-spacing: .08em; }
.post-card h2 { margin: 0 0 12px; font-family: var(--pzb-font-secondary); font-size: 1.45rem; line-height: 1.25; }
.post-card h2 a { color: var(--pzb-brown); text-decoration: none; }
.post-card p { margin-bottom: 0; color: var(--pzb-muted); }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--pzb-border); text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--pzb-red); border-color: var(--pzb-red); }

.site-footer { padding: 44px 0; color: rgba(255,255,255,.75); background: #261512; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-navigation ul { display: flex; flex-wrap: wrap; gap: 18px 28px; list-style: none; margin: 0; padding: 0; }
.footer-navigation a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-navigation a:hover { color: var(--pzb-gold-light); }
.site-info { margin: 0; font-size: .9rem; text-align: right; }

@media (max-width: 900px) {
  :root { --pzb-header-height: 84px; }
  .menu-toggle { display: block; }
  .site-branding__logo { width: clamp(220px, 52vw, 300px); height: auto; }
  .site-navigation {
    display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); padding: 18px;
    border: 1px solid var(--pzb-border); border-radius: 16px; background: #fff; box-shadow: var(--pzb-shadow);
  }
  .site-navigation.is-open { display: block; }
  .site-navigation ul { align-items: stretch; flex-direction: column; gap: 0; }
  .site-navigation a { display: block; padding: 13px 10px; }
  .site-navigation a::after { display: none; }
  .pzb-hero-slide { background-position: 57% center; }
  .pzb-hero__content { padding-left: 26px; padding-right: 22px; }
  .pzb-grid, .blog-grid { grid-template-columns: 1fr; }
  .pzb-revenue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .site-info { text-align: left; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .pzb-container { width: min(calc(100% - 28px), var(--pzb-content)); }
  .pzb-hero { min-height: min(820px, calc(100svh - var(--pzb-header-height))); }
  .pzb-hero-slide { background-position: 62% center; }
  .pzb-hero-slide::before {
    background: linear-gradient(0deg, rgba(25,11,8,.85) 0%, rgba(25,11,8,.43) 54%, rgba(25,11,8,.08) 85%);
  }
  .pzb-hero__content { width: 100%; margin-bottom: 34px; padding-left: 20px; padding-right: 20px; }
  .pzb-actions { align-items: stretch; flex-direction: column; }
  .pzb-button { width: 100%; }
  .pzb-revenue-grid { grid-template-columns: 1fr; }
  .pzb-revenue-card--featured { grid-column: auto; }
  .pzb-sitemap { grid-template-columns: 1fr; }
  .pzb-font-diagnostics { align-items: flex-start; flex-direction: column; }
  .pzb-font-diagnostics__summary { text-align: left; }
  .footer-navigation ul { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
