/* ============================================================
   Last Call — dive bar theme
   ============================================================ */

:root {
	--ink: #0a0a0a;
	--ink-2: #131313;
	--paper: #f3ece0;
	--acid: #e8ff4d;
	--blood: #e02718;
	--neon: #ff4fa3;
	--muted: #9c968b;
	--border: rgba(243, 236, 224, 0.14);
	--display: "Anton", "Impact", sans-serif;
	--body: "Barlow Condensed", "Arial Narrow", sans-serif;
	--type: "Special Elite", "Courier New", monospace;
}

* { box-sizing: border-box; }

body.lastcall {
	margin: 0;
	background-color: var(--ink);
	background-image:
		radial-gradient(circle at 15% 10%, rgba(232, 255, 77, 0.06), transparent 45%),
		radial-gradient(circle at 85% 80%, rgba(255, 79, 163, 0.07), transparent 45%);
	color: var(--paper);
	font-family: var(--body);
	font-size: 19px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--acid); text-decoration: none; }
a:hover { color: var(--neon); }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 999;
	width: auto; height: auto; clip: auto;
	background: var(--acid); color: var(--ink); padding: 10px 16px;
}

/* ---------- Ticker ---------- */
.ticker {
	background: var(--acid);
	color: var(--ink);
	overflow: hidden;
	border-bottom: 3px solid var(--ink);
	font-family: var(--display);
	letter-spacing: 0.08em;
	font-size: 15px;
	padding: 7px 0;
}
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: slide 32s linear infinite; }
.ticker-track span { white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 10, 10, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 0; }
.brand-text {
	font-family: var(--display);
	font-size: clamp(22px, 3.4vw, 32px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--paper);
}
.brand-text:hover { color: var(--acid); }
.custom-logo { max-height: 56px; width: auto; }

.nav-list { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	font-family: var(--display);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 16px;
	color: var(--paper);
	padding-bottom: 3px;
	border-bottom: 2px solid transparent;
}
.nav-list a:hover,
.nav-list .current-menu-item > a { color: var(--acid); border-bottom-color: var(--acid); }

.nav-toggle {
	display: none; background: none; border: 2px solid var(--paper);
	padding: 9px 10px; cursor: pointer; border-radius: 2px;
}
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--paper); margin: 4px 0; }

@media (max-width: 880px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none; position: absolute; inset: 100% 0 auto 0;
		background: var(--ink-2); border-bottom: 3px solid var(--acid); padding: 1rem 4vw 1.5rem;
	}
	.site-nav.open { display: block; }
	.nav-list { flex-direction: column; gap: 0.9rem; }
	.nav-list a { font-size: 22px; }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	font-family: var(--display);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 17px;
	padding: 13px 26px;
	border: 2px solid var(--acid);
	border-radius: 2px;
	cursor: pointer;
	transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-neon { background: var(--acid); color: var(--ink); box-shadow: 5px 5px 0 var(--blood); }
.btn-neon:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--blood); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: linear-gradient(rgba(8,8,8,0.55), rgba(8,8,8,0.9)), var(--ink-2);
	background-size: cover;
	background-position: center;
	border-bottom: 3px solid var(--acid);
	padding: clamp(4rem, 12vw, 9rem) 0;
	overflow: hidden;
}
.hero-inner { max-width: 900px; }
.kicker {
	font-family: var(--type);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 13px;
	color: var(--acid);
	margin: 0 0 1rem;
}
.hero-title {
	font-family: var(--display);
	font-size: clamp(2.7rem, 9vw, 6.2rem);
	line-height: 0.92;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	margin: 0 0 1.2rem;
	text-shadow: 5px 5px 0 var(--blood);
}
.hero-text { font-size: 1.25rem; max-width: 620px; color: #ddd6c9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-neon {
	position: absolute; right: 4vw; top: 12%;
	font-family: var(--display); font-size: clamp(2rem, 6vw, 4rem);
	color: var(--neon);
	border: 4px solid var(--neon);
	padding: 0.4em 0.6em;
	transform: rotate(9deg);
	text-shadow: 0 0 14px var(--neon);
	box-shadow: 0 0 22px rgba(255, 79, 163, 0.55);
	animation: flicker 4.5s infinite;
	opacity: 0.9;
}
@keyframes flicker {
	0%, 92%, 100% { opacity: 0.9; }
	93% { opacity: 0.25; }
	95% { opacity: 0.85; }
	97% { opacity: 0.3; }
}
@media (max-width: 880px) { .hero-neon { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--border); }
.section-poster {
	background-image: repeating-linear-gradient(45deg, rgba(243,236,224,0.03) 0 12px, transparent 12px 24px);
}
.section-split { border-top: 1px solid var(--border); }

.section-title {
	font-family: var(--display);
	text-transform: uppercase;
	font-size: clamp(1.8rem, 4.5vw, 3rem);
	letter-spacing: 0.02em;
	margin: 0 0 1.8rem;
}
.section-title span { border-bottom: 6px solid var(--blood); padding-bottom: 4px; }

.page-hero {
	background: var(--ink-2);
	border-bottom: 3px solid var(--acid);
	padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}
.page-title {
	font-family: var(--display);
	text-transform: uppercase;
	font-size: clamp(2.4rem, 8vw, 5rem);
	line-height: 0.95;
	margin: 0;
	text-shadow: 4px 4px 0 var(--blood);
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
	background: rgba(243, 236, 224, 0.04);
	border: 1px solid var(--border);
	border-left: 5px solid var(--acid);
	padding: 1.6rem;
}
.card-title {
	font-family: var(--display); text-transform: uppercase;
	font-size: 1.4rem; margin: 0 0 0.6rem; letter-spacing: 0.03em;
}
.card-title a { color: inherit; }

.split { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Shots menu ---------- */
.shot-card {
	border: 2px solid var(--paper);
	padding: 1.4rem 1rem;
	text-align: center;
	transform: rotate(-1deg);
	background: var(--ink);
}
.shot-card:nth-child(even) { transform: rotate(1.2deg); border-color: var(--acid); }
.shot-card h3 { font-family: var(--display); text-transform: uppercase; margin: 0 0 0.5rem; font-size: 1.25rem; }
.price { font-family: var(--display); color: var(--acid); font-size: 1.3rem; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-row {
	display: flex; align-items: baseline; gap: 0.8rem;
	padding: 1.1rem 0; border-bottom: 1px dashed var(--border);
}
.menu-row-main { flex: 0 1 auto; }
.menu-row h3 { font-family: var(--display); text-transform: uppercase; margin: 0; font-size: 1.4rem; }
.menu-desc { margin: 0.2rem 0 0; color: var(--muted); font-size: 1rem; }
.dots { flex: 1 1 auto; border-bottom: 2px dotted var(--border); transform: translateY(-4px); }

/* ---------- Merch ---------- */
.product { border: 1px solid var(--border); background: rgba(243,236,224,0.03); padding: 1rem; }
.product-media {
	aspect-ratio: 1 / 1; background: var(--ink-2);
	display: grid; place-items: center; overflow: hidden; margin-bottom: 1rem;
	border: 1px solid var(--border);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-placeholder { font-family: var(--type); color: var(--muted); font-size: 0.85rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0 0; }

/* ---------- Loyalty ---------- */
.loyalty-layout { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.loyalty-card {
	background: var(--paper); color: var(--ink);
	padding: 1.8rem; border-radius: 4px;
	box-shadow: 10px 10px 0 var(--blood);
	transform: rotate(-1deg);
}
.loyalty-card-head { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.loyalty-brand { font-family: var(--display); text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.loyalty-sub { font-family: var(--type); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.72rem; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; }
.stamp {
	position: relative; aspect-ratio: 1/1; border-radius: 50%;
	border: 2px dashed rgba(10,10,10,0.45);
	background: transparent; cursor: pointer;
	display: grid; place-items: center;
}
.stamp-num { font-family: var(--type); font-size: 0.85rem; color: rgba(10,10,10,0.5); }
.stamp-mark {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 1.6rem; color: var(--blood); opacity: 0; transform: rotate(-14deg) scale(0.6);
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.stamp[aria-pressed="true"] { border-style: solid; border-color: var(--blood); }
.stamp[aria-pressed="true"] .stamp-mark { opacity: 1; transform: rotate(-14deg) scale(1); }
.stamp[aria-pressed="true"] .stamp-num { opacity: 0.25; }
.loyalty-foot { font-family: var(--type); font-size: 0.85rem; margin-top: 1.2rem; }
.loyalty-reward {
	font-family: var(--display); text-transform: uppercase;
	background: var(--ink); color: var(--acid); padding: 0.6rem 0.8rem; text-align: center;
}
.loyalty-card .btn-ghost { border-color: var(--ink); color: var(--ink); }
.loyalty-card .btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Gallery ---------- */
.masonry { columns: 3 260px; column-gap: 1rem; }
.masonry-item { margin: 0 0 1rem; break-inside: avoid; border: 1px solid var(--border); }
.masonry-item img { filter: grayscale(0.35) contrast(1.1); transition: filter 0.2s ease; width: 100%; }
.masonry-item:hover img { filter: none; }
.masonry-item figcaption { font-family: var(--type); font-size: 0.8rem; color: var(--muted); padding: 0.5rem 0.7rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 3rem; grid-template-columns: 1.3fr 1fr; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form label {
	display: block; font-family: var(--display); text-transform: uppercase;
	letter-spacing: 0.06em; font-size: 0.95rem; margin-bottom: 0.35rem;
}
.contact-form input, .contact-form textarea {
	width: 100%; background: var(--ink-2); border: 2px solid var(--border);
	color: var(--paper); padding: 12px 14px; font-family: var(--body); font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--acid); }
.hp { position: absolute; left: -9999px; }
.notice { border-left: 5px solid var(--acid); padding: 0.8rem 1rem; background: rgba(232,255,77,0.08); }
.notice-error { border-left-color: var(--blood); background: rgba(224,39,24,0.1); }
.map-embed { margin-top: 1.5rem; border: 2px solid var(--border); }

/* ---------- Prose ---------- */
.prose h1, .prose h2, .prose h3 {
	font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05;
}
.prose h2 { font-size: 2rem; }
.prose a { text-decoration: underline; }
.prose ol, .prose ul { padding-left: 1.2rem; }
.prose blockquote {
	border-left: 5px solid var(--blood); margin: 1.5rem 0; padding-left: 1.2rem;
	font-family: var(--type); color: var(--paper);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); border-top: 3px solid var(--acid); padding-top: 3rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 2rem; }
.widget-title {
	font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em;
	font-size: 1.15rem; margin: 0 0 0.8rem; color: var(--acid);
}
.social, .footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; font-family: var(--type); font-size: 0.8rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

.pagination { margin-top: 2rem; font-family: var(--display); text-transform: uppercase; }
/* Footer Social Icons */
.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: .3s ease;
}

.footer-socials a:hover {
    background: var(--color-accent);
    color: #111;
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
    display: block;
}