/* Pour House: Gilded Glass. Mobile first. Tokens match PRODUCT.md / the approved mockup. */
:root {
  --night: #0a2f26; --night-2: #072a22; --green: #0E4B3C; --gold: #D4AE24; --gold-hi: #e3bf3a; --shade: #3a2a08;
  --cream: #efe6d0; --muted: #b9c2b4; --brass: #b8912c; --tile: #ece6d6; --grout: #1a1f1c; --ink: #1d1604;
  --rule: rgba(212, 174, 36, .28);
  --display: 'Libre Caslon Display', Georgia, serif;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  --stamp: 'League Gothic', 'Arial Narrow', sans-serif;
  --gutter: 16px; --dock-h: 52px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font: 400 1rem/1.55 var(--sans);
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--cream); text-decoration-color: var(--gold); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, p, li, span, b, dd, td, a { overflow-wrap: anywhere; }
h1, h2, h3 { font-weight: 400; margin: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 8px; z-index: 60; background: var(--gold); color: var(--ink); padding: .6em 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.stamp { font: 400 1.25rem/1 var(--stamp); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0; }
.gold { color: var(--gold); text-shadow: 2px 2px 0 var(--shade); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.linkish { background: none; border: 0; padding: 12px 0; min-height: 44px; color: var(--cream); font: 600 .875rem var(--sans); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; cursor: pointer; }
.linkish:hover { color: var(--gold); }
.sec-h { font: 400 clamp(1.75rem, 6vw, 2.25rem)/1.05 var(--display); color: var(--cream); margin: 0 0 .35em; }
.sub-h { font: 700 1.05rem/1.3 var(--serif); margin: 1.5em 0 .5em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; border-radius: 2px; font: 700 .9rem/1.1 var(--sans); text-decoration: none; text-align: center; cursor: pointer; border: 0; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); color: var(--ink); }
.btn-line { background: transparent; border: 1.5px solid var(--cream); color: var(--cream); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.acts, .rides { display: flex; gap: 10px; padding-block: 16px; }
.acts .btn, .rides .btn { flex: 1; }

/* Header */
.site-head-in { max-width: 1180px; margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand social door" "nav nav nav"; align-items: center; gap: 8px 12px; padding: 12px var(--gutter) 0; }
.brand { grid-area: brand; }
.brand img { height: 50px; width: auto; }
.door { grid-area: door; margin: 0; justify-self: end; text-align: right; font: 400 1.375rem/1 var(--stamp); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); text-shadow: 1.5px 1.5px 0 var(--shade); }
.door small { display: block; margin-top: 4px; font: 500 .72rem/1.3 var(--sans); letter-spacing: .03em; text-transform: none; color: var(--muted); text-shadow: none; }
.social { grid-area: social; justify-self: end; display: flex; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--cream); }
.social a:hover { color: var(--gold); }
.site-nav { grid-area: nav; margin-inline: calc(var(--gutter) * -1); border-bottom: 1px solid var(--rule); }
.site-nav ul { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.site-nav a { display: block; min-height: 44px; padding: 14px 0 12px; font: 400 1.1rem/1 var(--stamp); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }

/* Tonight */
.tonight .kicker { padding: 16px var(--gutter) 8px; }
.tonight-photo { margin: 0; }
.tonight-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tonight-h { font: 400 clamp(2.5rem, 10vw, 3.75rem)/1 var(--display); margin: 16px var(--gutter) 8px; letter-spacing: -.005em; }
.tonight-line { margin: 0 var(--gutter); font-size: 1.05rem; }
.tonight-also { list-style: none; margin: 8px var(--gutter) 0; padding: 0; color: var(--muted); }
.nocover { margin: 6px var(--gutter) 0; }
.tonight-hh { margin: 12px var(--gutter) 0; }
.tonight-special { margin: 6px var(--gutter) 0; color: var(--muted); }
.tonight-more { margin: 10px var(--gutter) 0; }
.tonight .acts { padding-inline: var(--gutter); }

/* Brass nailheads + Pac-Man */
.nails { position: relative; container-type: inline-size; height: 18px; margin: 12px var(--gutter) 4px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #e9cf7a 0 1.2px, var(--brass) 1.6px 3.4px, transparent 3.9px) 0 50% / 16px 18px repeat-x; }
.nails::after { content: ""; position: absolute; inset: 0; background: var(--night); transform-origin: left; transform: scaleX(0); animation: ph-eat 9s linear infinite; }
.pac { position: absolute; top: 1px; left: 0; z-index: 2; width: 16px; height: 16px; animation: ph-walk 9s linear infinite; }
.pac::before, .pac::after { content: ""; position: absolute; left: 0; width: 16px; height: 8px; background: #f2c417; }
.pac::before { top: 0; border-radius: 8px 8px 0 0; transform-origin: 50% 100%; animation: ph-jaw-top .28s ease-in-out infinite alternate; }
.pac::after { bottom: 0; border-radius: 0 0 8px 8px; transform-origin: 50% 0; animation: ph-jaw-bottom .28s ease-in-out infinite alternate; }
@keyframes ph-walk { from { transform: translateX(-4px); } to { transform: translateX(calc(100cqw - 12px)); } }
@keyframes ph-eat { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ph-jaw-top { from { transform: rotate(-35deg); } to { transform: rotate(0deg); } }
@keyframes ph-jaw-bottom { from { transform: rotate(35deg); } to { transform: rotate(0deg); } }

/* The week */
.week { padding: 8px var(--gutter) 0; }
.week .note { margin: 0 0 12px; font-size: .9rem; }
.week-list { list-style: none; margin: 0; padding: 0; }
.week-list li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.week-list li:last-child { border-bottom: 1px solid var(--rule); }
.week-list .d { font: 400 1.65rem/1 var(--stamp); letter-spacing: .05em; color: var(--gold); }
.week-list .d i { display: block; margin-top: 4px; font: 500 .7rem var(--sans); font-style: normal; letter-spacing: .02em; color: var(--muted); }
.week-list .w { font-size: .9rem; color: var(--muted); min-width: 0; }
.week-list .w b { display: block; font: 700 1.02rem/1.25 var(--serif); color: var(--cream); }
.week-list .w b a { text-decoration: none; }
.week-list .is-today .d { background: var(--gold); color: var(--night); padding: 5px 6px 3px; text-align: center; align-self: start; }
.week-list .is-today .d i { color: var(--night); }
.week-list .is-today .w b { color: var(--gold); }
.week-list .is-closed .w b { color: var(--muted); }
.more { display: inline-block; padding: 12px 0; font-weight: 600; }

/* Home extras */
.teaser { margin-top: 28px; }
.teaser figure { margin: 0; }
.teaser img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.teaser .in { padding: 14px var(--gutter) 0; }
.teaser p { margin: .25em 0 0; }
.party { margin: 28px var(--gutter) 0; padding: 18px 0; border-block: 1px solid var(--rule); }
.party p { margin: .35em 0 .75em; }

/* Plaque */
.plaque { margin: 28px var(--gutter) 0; background: #c9a23a; color: #231a05; padding: 12px 18px; position: relative; border: 1px solid #8a6b16; box-shadow: inset 0 0 0 3px #c9a23a, inset 0 0 0 4px #7d6114; }
.plaque::before, .plaque::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #6d5510; }
.plaque::before { left: 7px; } .plaque::after { right: 7px; }
.plaque p { margin: 0; text-align: center; font: 700 .85rem/1.35 var(--serif); letter-spacing: .02em; }
.plaque small { display: block; font: 400 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }

/* Rotating fact */
.fact { margin: 24px var(--gutter) 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.fact-h span { color: var(--muted); }
.fact-t { font: 400 1.15rem/1.45 var(--serif); margin: 8px 0 4px; min-height: 4.4em; transition: opacity .25s var(--ease); }
.fact-t.is-fading { opacity: 0; }

/* Footer + doorstep tile */
.site-foot { margin-top: 36px; }
.doorstep { height: 64px; background: url("../img/hex-tile.svg") 0 0 / 27.7px 48px; border-top: 3px solid var(--grout); }
.foot-in { background: var(--tile); color: var(--grout); padding: 10px var(--gutter) 20px; font-size: .875rem; }
.foot-in a { display: inline-flex; align-items: center; min-height: 44px; color: var(--grout); text-decoration-color: var(--green); }
.foot-in p { margin: .3em 0; }
.foot-addr { font: 400 1.35rem/1 var(--stamp); letter-spacing: .05em; text-transform: uppercase; margin-top: .4em !important; }

/* Dock */
.dock { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--night); border-top: 1px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); }
.dock a { display: flex; align-items: center; justify-content: center; min-height: var(--dock-h); font: 400 1.1rem/1 var(--stamp); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.dock a + a { border-left: 1px solid var(--rule); }
.dock .dock-go { background: var(--gold); color: var(--night); }
.maps-choice { position: fixed; left: 12px; right: 12px; bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 12px); z-index: 45; background: var(--night-2); border: 1px solid var(--gold); padding: 14px; display: grid; gap: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.maps-choice .linkish { justify-self: center; }

/* Pages */
.page-head { padding-top: 22px; padding-bottom: 8px; }
.page-head h1 { font: 400 clamp(2.5rem, 10vw, 3.75rem)/1 var(--display); margin: 8px 0 10px; }
.lede { font: 400 1.15rem/1.45 var(--serif); margin: 0; }
.prose { max-width: 65ch; font: 400 1.1rem/1.6 var(--serif); }
.prose p { margin: 0 0 1em; }
.wide { margin: 8px 0 0; }
.wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.two { display: grid; gap: 28px; padding-top: 20px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 0; }
.pair figure { margin: 0; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; }

/* What's On */
.day { padding-top: 22px; }
.day-h { border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.day-h span { color: var(--night); background: var(--gold); padding: 2px 6px 0; margin-left: 6px; }
.day-list { list-style: none; margin: 0; padding: 0; }
.ev { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.ev-h { font: 700 1.2rem/1.25 var(--serif); }
.ev-h a { text-decoration: none; }
.ev-b { margin: .3em 0 0; color: var(--muted); }
.ev--closed .ev-h { color: var(--muted); }
.ev-actions { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; margin-top: 4px; }
.ev-actions a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .875rem; }

/* Event page */
.event .kicker { padding-top: 18px; padding-bottom: 8px; }
.event-photo { margin: 0; }
.event-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event-h { font: 400 clamp(2.4rem, 10vw, 3.5rem)/1 var(--display); margin: 16px 0 8px; }
.event-time { margin: 0 0 .5em; }
.event-b { font: 400 1.1rem/1.5 var(--serif); }
.past { color: var(--muted); }

/* Menu */
.menu-nav { display: flex; gap: 20px; overflow-x: auto; padding-block: 8px 4px; scrollbar-width: none; }
.menu-nav a { display: inline-flex; align-items: center; min-height: 44px; font: 400 1.1rem/1 var(--stamp); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 12px 0; }
.menu-grid { display: grid; gap: 8px; }
.menu-sec { padding-top: 22px; scroll-margin-top: 12px; }
.menu-sec h2 { font: 400 2rem/1.05 var(--display); margin-bottom: .2em; }
.menu-sec > p { margin: 0 0 .5em; }
.menu-photo { margin: 10px 0 6px; }
.menu-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.it-row { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.it-name { font: 700 1.05rem/1.3 var(--serif); }
.leader { flex: 1; border-bottom: 1px dotted rgba(239, 230, 208, .35); transform: translateY(-4px); min-width: 12px; }
.it-price { font: 400 1.35rem/1 var(--stamp); letter-spacing: .04em; color: var(--gold); }
.it-desc { margin: .2em 0 0; color: var(--muted); font-size: .92rem; }
.menu-empty { font: italic 400 1.05rem var(--serif); color: var(--muted); }
.tap { border: 1px solid var(--gold); padding: 14px 16px; margin-top: 18px; }
.tap ul { list-style: none; margin: 8px 0 0; padding: 0; }
.tap li { padding: 6px 0; border-top: 1px solid var(--rule); }
.tap li span { display: block; font-size: .85rem; color: var(--muted); }

/* Forms */
.form p { margin: 0 0 14px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem var(--sans); color: var(--grout); background: var(--tile); border: 1px solid var(--tile); border-radius: 2px; }
.form textarea { min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.form .row { display: grid; gap: 0 12px; }
.form .hint { margin-top: -6px; font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.ok, .err { padding: 12px 14px; border: 1px solid; margin: 0 0 16px; }
.ok { border-color: var(--gold); }
.err { border-color: #e7a0a0; color: #ffd9d9; }

/* Visit */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours td { text-align: right; }
.hours .is-today th, .hours .is-today td { color: var(--gold); font-weight: 700; }
.map { margin-top: 8px; border: 1px solid var(--rule); }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(.2); }
.parking { list-style: none; margin: 0; padding: 0; }
.parking li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.parking b { display: block; font: 700 1rem var(--serif); }
.pk-links { display: flex; gap: 18px; }
.pk-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .875rem; }

/* Our Pub */
.facts-list { margin: 0; padding: 0; list-style: none; counter-reset: fact; }
.facts-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font: 400 1.05rem/1.45 var(--serif); }
.gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.facts-all, .gallery { padding-top: 28px; }

/* 404 */
.lost .btn { margin-top: 12px; }

/* Desktop */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  body { padding-bottom: 0; }
  .dock, .maps-choice { display: none !important; }
  .site-head-in { grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand nav social door"; padding-bottom: 12px; }
  .site-nav { margin: 0; border: 0; justify-self: center; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
  .brand img { height: 64px; }
  main.home { max-width: 1180px; margin-inline: auto; display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 40px; align-items: start; padding-inline: var(--gutter); }
  main.home > * { --gutter: 0px; }
  main.home .tonight { grid-row: span 2; }
  main.home .teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; grid-column: 1 / -1; }
  main.home .teaser .in { padding: 0; }
  .two { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .menu-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .menu-grid .tap { grid-column: 1 / -1; }
  .form .row { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(4, 1fr); }
  .pair { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
  .pair img { aspect-ratio: 1; }
  .event-photo { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
  .foot-in { padding-inline: max(var(--gutter), calc((100% - 1180px) / 2 + var(--gutter))); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pac, .pac::before, .pac::after, .nails::after { animation: none; }
  .nails::after { display: none; }
  .fact-t { transition: none; }
}

@media print {
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  .site-head, .site-foot, .dock, .maps-choice, .menu-nav, .skip { display: none !important; }
  .menu-sec h2, .it-name, .it-price { color: #000; }
  .it-desc, .muted { color: #333; }
  .leader { border-color: #999; }
  .items li { border-color: #ccc; break-inside: avoid; }
  .tap { border-color: #000; }
}
