/* Parry's Pizza — Highlands Ranch pitch. Mobile-first, warm palette
   pulled from the logo: brick red, crown gold, warm cream, deep cocoa. */
:root {
  --cream: #FBF2DF;
  --cream-2: #F5E7CB;
  --ink: #2C1A10;
  --cocoa: #241209;
  --brick: #C1272D;
  --brick-dark: #9E1B23;
  --gold: #E8A33D;
  --gold-soft: #F2C063;
  --card: #FFFDF7;
  --line: #E7D5B4;
  --muted: #7A5C44;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  padding-bottom: 64px; /* room for the sticky bottom bar */
}
img { max-width: 100%; display: block; }
h1, h2 { font-family: "Bebas Neue", "Inter", sans-serif; font-weight: 400; letter-spacing: .02em; line-height: .95; }
.eyebrow { font: 700 11px/1 "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--brick); margin-bottom: 10px; }
.eyebrow-gold { color: var(--gold); }

/* Header — the logo hangs off the bar like a pizzeria sign */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px;
  padding: 0 16px;
  background: rgba(36, 18, 9, .97);
  border-bottom: 3px solid var(--gold);
}
.brand { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; height: 64px; }
.brand-badge { display: block; padding-top: 5px; }
.brand-badge img {
  height: 116px; width: auto;
  transform-origin: 50% -12px;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.45));
  animation:
    signDrop .9s cubic-bezier(.2, 1.35, .4, 1) both,
    neonFlicker 1.6s linear .55s both,
    signGlow 3.4s ease-in-out 2.3s infinite;
  transition: height .35s ease;
}
.site-header.scrolled .brand-badge img { height: 52px; animation: none; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }
@keyframes signDrop {
  0% { transform: translateY(-130%) rotate(-4deg); }
  55% { transform: translateY(4%) rotate(2.5deg); }
  75% { transform: translateY(-2%) rotate(-1.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
@keyframes neonFlicker {
  0%, 100% { opacity: 1; } 8% { opacity: .35; } 12% { opacity: 1; }
  20% { opacity: .5; } 24% { opacity: 1; } 31% { opacity: .65; } 36% { opacity: 1; }
}
@keyframes signGlow {
  0%, 100% { filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(0 0 7px rgba(232,163,61,.45)); }
  50% { filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(232,163,61,.85)); }
}
.brand-loc { display: none; color: var(--cream); font: 700 12px/1.2 "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; border-left: 1px solid rgba(251,242,223,.35); padding-left: 10px; margin-top: 24px; }
.header-nav { display: flex; align-items: center; gap: 14px; }
.header-nav a { color: var(--cream); text-decoration: none; font-size: 14px; font-weight: 600; }
.header-nav a:not(.nav-call) { display: none; }
.nav-call { background: var(--brick); padding: 9px 16px; border-radius: 6px; }
.nav-call:active { background: var(--brick-dark); }

/* Hero */
.hero { background: var(--cocoa); color: var(--cream); }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Cheers! Real pints over the pizza: only the top third shows, like the
   glasses are sitting on a bar at the hero's bottom edge. On the clink,
   beer spills down the page. Everything exits at 15s (JS timers). */
:root { --gw: clamp(104px, 29vw, 196px); }
.cheers {
  position: absolute; inset: 0;
  display: none; justify-content: center; align-items: flex-end;
  pointer-events: none; z-index: 3;
  transition: transform .8s ease-in, opacity .8s ease-in;
}
.cheers.live { display: flex; }
.cheers.out { transform: translateY(30%); opacity: 0; }
.pint {
  width: var(--gw); margin: 0 -8px; margin-bottom: calc(var(--gw) * 1.06);
  transform-origin: 50% 100%;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.35));
}
.slot-window { width: 100%; height: calc(var(--gw) * 1.056); overflow: hidden; }
.slot-window img { width: 100%; height: auto; }
.pint-l { animation: danceL 3.4s cubic-bezier(.3, 1.3, .4, 1) .45s both; }
.pint-r { animation: danceR 3.4s cubic-bezier(.3, 1.3, .4, 1) .45s both; }
@keyframes danceL {
  0% { transform: translateX(-340%) rotate(-10deg); opacity: 0; }
  10% { opacity: 1; }
  36% { transform: translateX(0) rotate(-4deg); }
  54% { transform: translateX(13%) rotate(9deg); }
  59% { transform: translateX(16%) rotate(11deg); }
  67% { transform: translateX(4%) rotate(-7deg); }
  79% { transform: translateX(0) rotate(-3deg); }
  100% { transform: translateX(0) rotate(-4deg); }
}
@keyframes danceR {
  0% { transform: translateX(340%) rotate(10deg); opacity: 0; }
  10% { opacity: 1; }
  36% { transform: translateX(0) rotate(4deg); }
  54% { transform: translateX(-13%) rotate(-9deg); }
  59% { transform: translateX(-16%) rotate(-11deg); }
  67% { transform: translateX(-4%) rotate(7deg); }
  79% { transform: translateX(0) rotate(3deg); }
  100% { transform: translateX(0) rotate(4deg); }
}
/* The spill: pours from the rim line down over whatever is below the hero. */
.spill {
  position: absolute; left: calc(50% + (var(--gw) * 0.5) - 4px); z-index: 7;
  top: calc(100% - (var(--gw) * 2.116) + 14px);
  width: 210px; height: calc((var(--gw) * 2.116) + 2px);
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) scaleY(.02);
  transform-origin: top center;
  transition: opacity .8s ease, transform .8s ease;
}
.spill svg { width: 100%; height: 100%; }
.spill.armed { animation: spillPour 4.8s ease-in 2.5s forwards; }
.spill.out { animation: none; opacity: 0; transform: translateX(-50%) translateY(24px); }
.spill.gone { display: none; }
@keyframes spillPour {
  0% { opacity: 0; transform: translateX(-50%) scaleY(.02); }
  8% { opacity: 1; }
  100% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}
.sdrop { opacity: 0; animation: dropFall 1.6s ease-in 2 forwards; }
.sdrop.d1 { animation-delay: 3.2s; }
.sdrop.d2 { animation-delay: 3.95s; }
.sdrop.d3 { animation-delay: 4.7s; }
@keyframes dropFall {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(128px); opacity: 0; }
}
.foamdot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: foamPop .65s ease-out 2.45s both; }
.foamdot.f1 { --fx: -34px; --fy: -16px; }
.foamdot.f2 { --fx: 30px; --fy: -22px; }
.foamdot.f3 { --fx: 4px; --fy: -30px; }
@keyframes foamPop {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(1.1); }
}
.puddle {
  transform-box: fill-box; transform-origin: center;
  transform: scale(.15); opacity: 0;
  animation: puddleIn .9s ease-out 6.9s forwards;
}
@keyframes puddleIn { to { transform: scale(1); opacity: .9; } }

.hero-copy {
  position: relative; z-index: 5;
  margin-top: calc(-30px - (var(--gw) * 1.06));
  background: var(--cocoa);
  border-top: 3px solid var(--gold);
  padding: 26px 20px 30px;
}
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero h1 { font-size: 56px; color: #FFF7E8; }
.hero-sub { margin-top: 12px; font-size: 16px; color: #EFDFC4; max-width: 34em; }
.hero-sub strong { color: var(--gold-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn-red { background: var(--brick); color: #FFF7E8; }
.btn-red:active { background: var(--brick-dark); }
.btn-ghost { border: 2px solid var(--gold); color: var(--gold-soft); }
.btn-gold { background: var(--gold); color: var(--cocoa); }
.btn-cream { background: var(--cream); color: var(--brick-dark); }
.hero-hours { margin-top: 16px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--gold-soft); }
.hero h1 .w { display: inline-block; opacity: 0; animation: wordRise .55s cubic-bezier(.2, 1.2, .3, 1) forwards; }
.hero h1 .w2 { animation-delay: .14s; }
.hero h1 .w3 { animation-delay: .28s; color: var(--gold-soft); }
@keyframes wordRise { from { opacity: 0; transform: translateY(26px) rotate(2deg); } to { opacity: 1; transform: none; } }

/* Marquee ticker */
.ticker { background: var(--brick); color: #FFE9C9; overflow: hidden; border-block: 3px solid var(--cocoa); }
.ticker-track {
  display: flex; align-items: center; width: max-content;
  animation: tickMove 26s linear infinite;
  font-family: "Bebas Neue", "Inter", sans-serif; font-size: 19px; letter-spacing: .14em;
  padding: 8px 0; white-space: nowrap;
}
.ticker-track span { padding: 0 14px; }
.ticker-track i { font-style: normal; color: var(--gold-soft); font-size: 13px; }
@keyframes tickMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Scroll reveals (JS adds .rv, then .rv-in in view) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv-in { opacity: 1; transform: none; }

/* Info strip */
.info-strip { display: grid; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.info-item { background: var(--cream-2); padding: 14px 20px; display: flex; flex-direction: column; gap: 2px; }
.info-k { font: 700 10px/1 "Inter", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); }
.info-v { font-weight: 600; font-size: 15px; }

/* Sections */
.menu-section, .visit-section { padding: 40px 20px; max-width: 1120px; margin: 0 auto; }
.section-head { max-width: 40em; margin-bottom: 22px; }
.section-head h2 { font-size: 40px; }
.section-head h2 em { font-style: normal; color: var(--brick); }
.section-head p:not(.eyebrow) { margin-top: 8px; color: var(--muted); }

.cards { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 18px; }
.card-body h3 { font-size: 19px; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 15px; }

/* Beer */
.beer-section { background: var(--cocoa); color: var(--cream); }
.beer-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.beer-copy { position: relative; padding: 28px 20px 34px; max-width: 1120px; margin: 0 auto; }
.tap-badge {
  position: absolute; top: -46px; right: 18px; width: 96px; height: 96px;
  display: grid; place-items: center;
  background: var(--cocoa); border: 2px solid var(--gold); border-radius: 50%;
  box-shadow: 0 10px 22px rgba(0,0,0,.4);
}
.tap-badge svg { position: absolute; inset: 0; animation: badgeSpin 16s linear infinite; }
.tap-badge svg text { font: 700 11.5px "Inter", sans-serif; letter-spacing: .18em; fill: var(--gold-soft); }
.tap-badge-num { font-family: "Bebas Neue", sans-serif; font-size: 34px; color: #FFF7E8; line-height: 1; }
@keyframes badgeSpin { to { transform: rotate(360deg); } }
.beer-copy h2 { font-size: 40px; color: #FFF7E8; }
.beer-copy p { margin-top: 12px; color: #EFDFC4; max-width: 36em; }
.beer-copy .btn { margin-top: 18px; }

/* Happy hour */
.hh-banner { position: relative; background: var(--brick); color: #FFF3E0; overflow: hidden; }
.hh-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.hh-inner { position: relative; padding: 34px 20px 38px; text-align: center; max-width: 640px; margin: 0 auto; }
.hh-inner h2 { font-size: 48px; color: #FFF7E8; }
.hh-times { margin-top: 8px; font-weight: 600; font-size: 17px; line-height: 1.4; }
.hh-price { margin-top: 8px; color: #FFE3B3; }
.hh-price strong { font-size: 20px; color: #FFF7E8; }
.hh-inner .btn { margin-top: 18px; }

/* Visit */
.visit-grid { display: grid; gap: 16px; }
.visit-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.visit-card h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); margin-bottom: 10px; }
.visit-card p { margin-bottom: 8px; font-size: 15px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table td { padding: 4px 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-note { color: var(--muted); font-size: 13px; }
.text-link { color: var(--brick); font-weight: 700; text-decoration: none; }
.text-link:active { color: var(--brick-dark); }

/* Footer */
.site-footer { background: var(--cocoa); color: #D9C6A5; padding: 34px 20px 40px; text-align: center; }
.footer-logo { height: 64px; width: auto; margin: 0 auto 14px; }
.site-footer a { color: var(--gold-soft); text-decoration: none; font-weight: 600; }
.footer-fine { margin: 12px auto 0; font-size: 13px; font-style: italic; max-width: 44em; color: #B99F78; }

/* Sticky bottom bar (mobile) */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr;
}
.bottom-bar a {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding-bottom: env(safe-area-inset-bottom, 0px);
  font-weight: 800; font-size: 16px; text-decoration: none; color: #FFF7E8;
}
.bb-call { background: var(--brick); }
.bb-order { background: rgba(193, 39, 45, .62); }
.bb-call:active, .bb-order:active { filter: brightness(.9); }

@media (min-width: 720px) {
  .site-header { height: 72px; }
  .brand { height: 72px; }
  .brand-badge img { height: 132px; }
  .site-header.scrolled .brand-badge img { height: 58px; }
  .brand-loc { display: block; margin-top: 28px; }
  .tap-badge { width: 116px; height: 116px; top: -58px; right: 34px; }
  .tap-badge-num { font-size: 42px; }
  .header-nav a:not(.nav-call) { display: inline; }
  .ticker { margin-top: -30px; position: relative; z-index: 5; }
  .pint { margin-bottom: 84px; }
  .hero-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
    background: linear-gradient(transparent, rgba(36,18,9,.9) 78%);
    z-index: 4; pointer-events: none;
  }
  .spill { top: calc(100% - 84px - (var(--gw) * 1.056) + 14px); height: calc(84px + (var(--gw) * 1.056) + 46px); }
  .hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; min-height: 640px; }
  .hero-media > img { height: 100%; aspect-ratio: auto; }
  .hero-copy { padding: 48px 40px; align-self: center; margin-top: 0; background: transparent; border-top: none; }
  .hero h1 { font-size: 76px; }
  .info-strip { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .beer-section { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .beer-media img { height: 100%; aspect-ratio: auto; }
  .beer-copy { padding: 48px 40px; align-self: center; }
  .visit-grid { grid-template-columns: repeat(3, 1fr); }
  .bottom-bar { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-badge img, .ticker-track, .tap-badge svg, .hero h1 .w, .pint-l, .pint-r, .spill, .sdrop, .puddle, .foamdot { animation: none; }
  .hero h1 .w { opacity: 1; }
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
