/* Papaz Spot v2 — charcoal, cream, burnt orange. One collage (the hero); everything else is type and plain panels. */
:root {
  --ink: #161311;
  --ink-2: #1F1A17;
  --cream: #F2E7D3;
  --cream-dim: #CDBFA8;
  --red: #E0432B;
  --red-deep: #B42E1B;
  --bark: #7A4128;
  --paper: #EDE5D3;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* type scale, ratio 1.333 */
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.333rem;
  --fs-lg: 1.777rem;
  --gutter: clamp(16px, 4vw, 56px);
  --bar-h: 56px;
  --z-photo: 1; --z-copy: 3; --z-header: 50; --z-bar: 60; --z-grain: 100; --z-skip: 200;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 var(--fs-base)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { /* subtle grain */
  content: ""; position: fixed; inset: -50%; z-index: var(--z-grain); pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.vh, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: var(--z-skip); background: var(--cream); color: var(--ink); padding: 10px 16px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; line-height: .92; letter-spacing: 0; }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); }
h3 { font-size: var(--fs-lg); font-weight: 800; line-height: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  font: 600 var(--fs-base)/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-red { background: var(--red); color: var(--ink); }
.btn-red:hover { background: var(--cream); color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--cream); background: transparent; }
.btn-line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.muted { display: block; color: var(--cream-dim); font-size: var(--fs-sm); margin-top: 4px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); transition: background-color .3s; }
.site-header.is-scrolled { background: rgba(22,19,17,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wordmark { display: block; line-height: 0; }
.wm { display: block; height: 30px; width: auto; aspect-ratio: 9122 / 1720; }
.wordmark--lg .wm { height: 48px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-weight: 600; text-decoration: underline 2px transparent; text-underline-offset: 6px; padding: 12px; min-height: 44px; display: inline-flex; align-items: center; transition: text-decoration-color .2s, color .2s; }
.nav a:hover { color: var(--cream); text-decoration-color: var(--red); }
.btn-call { min-height: 44px; padding: 0 18px; }

/* ---------- hero: the one collage ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 4vw, 72px);
  min-height: min(100svh, 920px); padding: 108px var(--gutter) clamp(56px, 7vh, 88px);
}
.hero-copy { position: relative; z-index: var(--z-copy); }
.kicker { margin: 0 0 18px; font-weight: 600; color: var(--cream-dim); }
.hero h1 { font-size: clamp(3rem, 6vw, 7rem); line-height: .86; text-transform: uppercase; max-width: 11ch; }
.lede { font-size: var(--fs-md); line-height: 1.45; max-width: 30ch; margin: 24px 0 28px; }
.hero-facts { margin: 22px 0 0; color: var(--cream-dim); }
.hero-visual { position: relative; z-index: var(--z-photo); padding: 9% 0 12%; }
.hero-visual .slab { position: absolute; top: 0; bottom: 0; left: 34%; right: calc(-1 * var(--gutter)); background: var(--red); }
.hero-main { position: relative; margin: 0; width: 82%; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -26px rgba(0,0,0,.75); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.hero-guitar { position: absolute; z-index: 2; right: -3%; bottom: -2%; height: 104%; aspect-ratio: 760 / 1164; pointer-events: none; }
.hero-guitar img { width: 100%; height: 100%; object-fit: contain; rotate: 8deg; filter: drop-shadow(-14px 22px 18px rgba(0,0,0,.5)); }

/* ---------- menu ---------- */
.menu { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: clamp(96px, 12vw, 160px) var(--gutter); }
.menu-photo { margin: 0; position: sticky; top: 96px; box-shadow: 0 30px 60px -26px rgba(0,0,0,.75); }
.menu-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.board { position: relative; background: var(--cream); color: var(--ink); padding: clamp(32px, 4vw, 56px); }
.board::before { /* painted keyline, like a hand-lettered menu board */
  content: ""; position: absolute; inset: 12px; border: 3px solid var(--ink); pointer-events: none;
}
.board h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
.board-note { margin: 10px 0 28px; font-weight: 600; color: var(--red-deep); }
.board-groups { display: grid; gap: 28px; }
.board-group h3 { margin-bottom: 8px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: var(--fs-md); line-height: 1.3; }
.menu-list li::after { content: ""; flex: 1; order: 1; border-bottom: 2px dotted rgba(22,19,17,.35); transform: translateY(-4px); }
.menu-list .dish { order: 0; }
.menu-list .price { order: 2; font-weight: 600; }
.menu-list .lg { color: #5b4f45; font-size: var(--fs-base); }

/* ---------- the spot ---------- */
.spot { position: relative; padding: clamp(96px, 12vw, 168px) var(--gutter); background: linear-gradient(rgba(22,19,17,.74), rgba(22,19,17,.84)), var(--bark) url("img/barkcloth.webp") center / cover; }
.spot-inner { max-width: 1240px; }
.spot-statement { font-size: clamp(2.8rem, 6.4vw, 6.2rem); line-height: .9; max-width: 15ch; }
.spot-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.spot-body p { margin: 0; font-size: var(--fs-md); line-height: 1.5; max-width: 38ch; }
.spot-list { margin: 0; }
.spot-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(242,231,211,.35); }
.spot-list div:last-child { border-bottom: 1px solid rgba(242,231,211,.35); }
dt { font-weight: 600; color: var(--cream-dim); }
dd { margin: 0; }
.spot-list dd { text-align: right; }

/* ---------- music ---------- */
.music { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: var(--ink); padding: clamp(80px, 10vw, 136px) var(--gutter); }
.music::before { /* halftone lives here only */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at center, rgba(22,19,17,.5) 0 1.6px, transparent 2.2px); background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 80%); mask-image: linear-gradient(105deg, transparent 30%, #000 80%);
}
.music-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "h photo" "text photo"; column-gap: clamp(32px, 6vw, 96px); align-items: center; }
.music h2 { grid-area: h; font-size: clamp(3.4rem, 9vw, 8.4rem); line-height: .84; max-width: 9ch; align-self: end; }
.music-photo { grid-area: photo; margin: 0; padding: 8px 8px 28px; background: var(--cream); --rot: 2deg; rotate: var(--rot); box-shadow: 0 26px 50px -20px rgba(0,0,0,.6); }
.music-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.music-text { grid-area: text; align-self: start; max-width: 40ch; margin-top: 28px; padding: 22px 24px; background: var(--ink); color: var(--cream); }
.music-text p { margin: 0 0 10px; }
.music-text p:last-child { margin: 0; }

/* ---------- reviews ---------- */
.reviews { padding: clamp(96px, 12vw, 160px) var(--gutter); }
.reviews > h2 { margin-bottom: clamp(40px, 5vw, 64px); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.clipping {
  background: var(--paper); color: #1d1b19; padding: 44px clamp(24px, 3vw, 40px) 32px; --rot: -1.2deg; rotate: var(--rot);
  font-family: Georgia, "Times New Roman", serif; box-shadow: 0 24px 44px -24px rgba(0,0,0,.7);
  clip-path: polygon(0 3%, 6% 0, 13% 2.5%, 21% .5%, 30% 2.8%, 39% .2%, 48% 2.4%, 57% .6%, 66% 2.9%, 75% .3%, 84% 2.2%, 92% .4%, 100% 2.6%, 100% 100%, 0 100%);
}
.clip-section { margin: 0 0 6px; font-style: italic; font-size: var(--fs-sm); color: #5b5249; border-bottom: 1px solid #1d1b19; padding-bottom: 6px; }
.clip-title { font-family: Georgia, serif; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; margin: 10px 0 6px; }
.clip-byline { margin: 0 0 18px; font-style: italic; font-size: var(--fs-sm); color: #5b5249; }
.clipping blockquote { margin: 0; }
.clipping blockquote p { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.35; }
.clip-source { margin: 20px 0 0; font-size: var(--fs-sm); }
.clip-source a:hover { color: var(--red-deep); }
.google { display: grid; gap: 36px; padding-top: 12px; }
.g-quote { margin: 0; border-top: 1px solid rgba(242,231,211,.35); padding-top: 18px; }
.g-quote blockquote { margin: 0; }
.g-quote p { margin: 0; font-size: var(--fs-md); line-height: 1.45; }
.g-quote figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--cream-dim); }
.text-link { font-weight: 600; }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--ink-2); }
.visit-info { padding: clamp(72px, 9vw, 120px) var(--gutter); }
.visit h2 { margin-bottom: 32px; }
.visit-list { margin: 0 0 32px; }
.visit-list > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(242,231,211,.25); }
.visit-list > div:last-child { border-bottom: 1px solid rgba(242,231,211,.25); }
.visit-list dd { font-size: var(--fs-md); line-height: 1.4; }
.visit-list dd a { display: inline-block; padding: 4px 0; }
.visit-map { position: relative; min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 8px; background: linear-gradient(rgba(22,19,17,.8), rgba(22,19,17,.8)), var(--bark) url("img/barkcloth.webp") center / cover; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-hint { margin: 0; font-size: var(--fs-sm); color: var(--cream-dim); }

/* ---------- footer ---------- */
.footer { padding: 56px var(--gutter) 40px; border-top: 1px solid rgba(242,231,211,.2); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.footer-address { font-style: normal; color: var(--cream-dim); line-height: 1.5; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 auto; padding: 0; }
.social a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; font-weight: 600; text-decoration: none; border: 1px solid rgba(242,231,211,.35); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--red); }
.fineprint { margin: 28px 0 0; max-width: 72ch; font-size: var(--fs-sm); color: var(--cream-dim); }
.fineprint + .fineprint { margin-top: 8px; }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .site-header { flex-wrap: wrap; row-gap: 2px; background: rgba(22,19,17,.95); padding-top: 10px; padding-bottom: 0; }
  .btn-call { display: none; }
  .wm { height: 24px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .nav a { padding: 10px 4px; }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 124px; gap: 40px; }
  .hero-visual { padding: 7% 0 13%; }
  .hero-main { width: 84%; }
  .menu, .spot-body, .reviews-grid, .visit { grid-template-columns: 1fr; }
  .menu-photo { position: relative; top: 0; }
  .music-inner { grid-template-columns: 1fr; grid-template-areas: "h" "photo" "text"; }
  .music-photo { margin-top: 32px; --rot: 1.5deg; }
  .visit-map { min-height: 300px; }

  .action-bar {
    position: fixed; inset: auto 0 0; z-index: var(--z-bar); display: grid; grid-template-columns: repeat(3, 1fr);
    height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink); border-top: 1px solid rgba(242,231,211,.2);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; }
  .action-bar a:first-child { background: var(--red); color: var(--ink); }
  .action-bar a + a { border-left: 1px solid rgba(242,231,211,.2); }
}
@media (max-width: 640px) {
  .hero { padding-top: 112px; gap: 32px; }
  .hero h1 { font-size: clamp(2.9rem, 14.5vw, 4.8rem); }
  .lede { margin: 18px 0 22px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-visual { padding: 10% 0 15%; }
  .hero-main { width: 88%; }
  .hero-visual .slab { left: 46%; }
  .hero-guitar { height: 80%; right: 1%; bottom: 3%; }
  .board::before { inset: 8px; }
  .clipping { --rot: -.6deg; }
  .visit-list > div { grid-template-columns: 1fr; gap: 2px; }
  .social { margin-left: 0; }
}


/* ---------- motion ----------
   Only when JS has confirmed the visitor hasn't asked for reduced motion (html.motion-ok).
   Without it every element simply renders in its final state. */

/* 1. Opening sequence: the hero is assembled like a poster being pasted up. */
.motion-ok .hero .slab { animation: wipe .9s cubic-bezier(.7,0,.2,1) both; }
.motion-ok .hero-main img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
.motion-ok .hero-guitar img { animation: swing 1.2s .45s cubic-bezier(.34,1.45,.5,1) both; }
.motion-ok .hero h1 { animation: paint .9s .1s cubic-bezier(.6,0,.2,1) both; }
.motion-ok .kicker, .motion-ok .lede, .motion-ok .hero .actions, .motion-ok .hero-facts { animation: appear .6s both; }
.motion-ok .kicker { animation-delay: 0s; }
.motion-ok .lede { animation-delay: .55s; }
.motion-ok .hero .actions { animation-delay: .7s; }
.motion-ok .hero-facts { animation-delay: .85s; }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }
@keyframes swing { from { rotate: 30deg; translate: 22% 10%; opacity: 0; } 30% { opacity: 1; } to { rotate: 8deg; translate: 0 0; opacity: 1; } }
@keyframes paint { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

/* 2. One reveal per object, matched to what the object is. */
.motion-ok .board .menu-list li::after { transform: translateY(-4px) scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 45ms + .15s); }
.motion-ok .board.in-view .menu-list li::after { transform: translateY(-4px) scaleX(1); }
.motion-ok .clipping:not(.in-view) { rotate: -6deg; translate: 0 -28px; opacity: 0; }
.motion-ok .clipping { transition: rotate 1s cubic-bezier(.34,1.35,.5,1), translate 1s cubic-bezier(.34,1.35,.5,1), opacity .35s; }
.motion-ok .music-photo:not(.in-view) { rotate: 9deg; translate: 0 36px; opacity: 0; }
.motion-ok .music-photo { transition: rotate 1s cubic-bezier(.34,1.3,.5,1), translate 1s cubic-bezier(.34,1.3,.5,1), opacity .35s; }

/* 3. Responses to the visitor's own actions. */
.btn:active, .action-bar a:active, .social a:active { translate: 0 1px; }
.motion-ok .visit-map iframe { animation: appear .5s both; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .par { transform: none !important; }
}
