/* Shared site styles: nav, buttons, Book the Bar section, booking form, Visit Us, footer. Loaded by every page. */
:root {
  --bg: #fcf8f1;
  --bg-dark: #0b0909;
  --ink: #151212;
  --paper-fg: #f4eee4;
  --oxblood: #4a0d0d;
  --oxblood-hi: #6b1414;
  --sage: #b9d08f;
  --brass: #f2e6bd;
  --header-dark: #0b0909;
  --header-light: rgba(252,248,241,.94);
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.gutter { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }

/* ---------- Header (navigation / bar) ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-dark); color: var(--paper-fg);
  transition: background-color .45s ease, color .45s ease, box-shadow .45s ease;
}
.site-header.is-light { background: var(--header-light); color: var(--ink); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.22); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 14px; padding-inline: clamp(16px, 4vw, 48px); max-width: 1280px; margin: 0 auto;
}
.brand { font-family: var(--display); font-size: 34px; letter-spacing: .02em; text-decoration: none; line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--display); font-size: 19px; letter-spacing: .06em; }
.nav a { text-decoration: none; transition: opacity .2s, color .2s; }
.nav a:not(.btn-book):hover { color: var(--sage); }
.btn-book {
  background: var(--sage); color: var(--ink) !important; padding: 8px 16px; transition: background-color .2s;
}
.site-header:not(.is-light) .btn-book { background: var(--oxblood); color: var(--paper-fg) !important; }
.site-header:not(.is-light) .btn-book:hover { background: var(--oxblood-hi); }
.menu-toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; font-family: var(--display); font-size: 18px; padding: 6px 12px; cursor: pointer; }
.hero-info { font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); letter-spacing: .04em; line-height: 1.35; }
.hero-info p { margin: 0; }
.hero-info .addr { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; letter-spacing: .06em;
  text-decoration: none; padding: 12px 22px; background: var(--oxblood); color: var(--paper-fg); transition: background-color .2s, gap .25s;
}
.btn:hover { background: var(--oxblood-hi); }
@media (hover: hover) { .btn:hover { gap: 16px; } }
.btn span[aria-hidden="true"] { flex: none; }
.btn.outline { background: transparent; border: 1px solid var(--paper-fg); color: var(--paper-fg); }
.btn.outline:hover { background: var(--paper-fg); color: var(--ink); }
.closing { position: relative; overflow: hidden; background: #0b0909; color: var(--paper-fg); text-align: center; min-height: 80vh; display: grid; place-items: center; padding-block: 96px; isolation: isolate; }
.closing-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.85)), radial-gradient(ellipse at 50% 40%, #4a4442, #151212 70%); }
.closing h2 { font-family: "Rye", Georgia, serif; font-weight: 400; font-size: clamp(40px, 7vw, 96px); line-height: 1; margin: 0 0 16px; text-transform: uppercase; text-wrap: balance; }
.closing .hero-city { margin-bottom: 18px; }
.closing .hero-info { font-size: clamp(18px, 2.4vw, 26px); }
.closing .sticker { right: clamp(16px, 5vw, 60px); bottom: 36px; position: absolute; }
/* Neon tattoo-parlor logo: stacked SKINNY over a red neon BAR, drawn from the door etching and window sign */
.logo { display: flex; flex-direction: row; align-items: baseline; gap: 10px; line-height: 1; white-space: nowrap; }
.logo-top { font-family: "Rye", Georgia, serif; font-size: 20px; letter-spacing: .03em; color: #ffffff; text-shadow: none; }
.logo-bar { font-family: "Rye", Georgia, serif; font-size: 20px; letter-spacing: .03em; color: #ffffff; text-shadow: none; }
/* Large SKINNY BAR wordmark used in place of the "Boulder City" line */
.hero-city.logo-big { font-family: "Rye", Georgia, serif; display: flex; align-items: baseline; gap: .22em; line-height: 1; letter-spacing: .03em; color: #ffffff; }
.logo-big .logo-top, .logo-big .logo-bar { font-size: inherit; color: #ffffff; }

/* Real photography */
.photo-slot img, .about-photo img, .row .cell img, .review .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review .avatar img { border-radius: 50%; }
.closing-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
/* Visit us: address, hours with dotted leaders, directions button */
/* Visit us sits on the bar photo, so its text switches to light with a dark overlay for legibility */
/* Visit us: cream split layout, details on the left and a photo with a big rounded bottom-left corner on the right */
.visit { background: var(--bg); color: var(--ink); padding-block: 0; text-align: center; }
.visit-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 92vh; }
.visit-split .visit-inner { padding: clamp(72px, 10vw, 120px) clamp(24px, 4vw, 64px); align-content: center; }
.visit-photo { margin: 0; overflow: hidden; border-bottom-left-radius: clamp(140px, 26vw, 380px); min-height: 480px; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .visit-split { grid-template-columns: 1fr; min-height: 0; }
  .visit-photo { order: 2; min-height: 0; aspect-ratio: 4 / 5; border-bottom-left-radius: 50% 22%; }
  .visit-split .visit-inner { padding: 72px 16px 40px; }
}
.visit-inner { max-width: 760px; margin: 0 auto; display: grid; gap: 28px; justify-items: center; }
.visit-eyebrow { font-family: var(--display); font-size: 22px; letter-spacing: .08em; color: #a8832f; margin: 0; }
.visit-address { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 88px); line-height: .95; margin: 0; text-wrap: balance; }
.visit-hours { width: 100%; margin: 0; display: grid; gap: 14px; font-family: var(--body); font-size: 18px; }
.visit-hours div { display: flex; align-items: baseline; gap: 12px; }
.visit-hours dt, .visit-hours dd { margin: 0; }
.visit-hours dt { order: 0; }
.visit-hours div::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted currentColor; }
.visit-hours dd { order: 2; }
.btn-directions { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; letter-spacing: .06em; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 10px; padding: 12px 22px; text-decoration: none; transition: background-color .2s, color .2s; }
.btn-directions:hover { background: var(--ink); color: var(--bg); }
.btn-directions:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.site-footer { background: var(--header-dark); color: var(--paper-fg); padding: 32px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }
.site-footer .brand { font-size: 26px; }

/* ---------- Golden-lit bar + neon accents ---------- */
.hero-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(255,186,84,.4), transparent 70%),
              radial-gradient(ellipse 40% 60% at 0% 100%, rgba(255,186,84,.3), transparent 70%),
              radial-gradient(ellipse 40% 60% at 100% 100%, rgba(255,186,84,.3), transparent 70%);
  mix-blend-mode: screen;
}
.closing-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,186,84,.35), transparent 70%);
}
.neon-kicker { font-family: var(--display); font-size: clamp(18px, 2.2vw, 24px); letter-spacing: .14em; margin: 0 0 14px; }
.neon { color: #f3dcc0; text-shadow: 0 0 4px #c01a22, 0 0 12px #a0121a, 0 0 26px rgba(160,18,26,.6); animation: neonFlicker 6s infinite; }
.neon.gold { color: #ecd8a6; text-shadow: 0 0 4px #b8820f, 0 0 12px #9a6a0a, 0 0 26px rgba(154,106,10,.6); animation-delay: -2.5s; }
@keyframes neonFlicker { 0%,100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: .55; } 94% { opacity: 1; } 96% { opacity: .75; } 97% { opacity: 1; } }

/* Golden "Book the bar" button with a neon pulse */
.btn-neon {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; letter-spacing: .08em;
  padding: 14px 26px; text-decoration: none; color: #1a0f05; background: linear-gradient(180deg, #ffd27a, #f5a524);
  box-shadow: 0 0 0 1px rgba(255,210,122,.6), 0 0 18px rgba(255,186,84,.55), 0 0 42px rgba(255,61,154,.35);
  animation: btnPulse 2.8s ease-in-out infinite; transition: transform .2s;
}
.btn-neon:hover { transform: translateY(-2px) scale(1.02); }
@keyframes btnPulse { 0%,100% { box-shadow: 0 0 0 1px rgba(255,210,122,.6), 0 0 18px rgba(255,186,84,.5), 0 0 42px rgba(255,61,154,.25); } 50% { box-shadow: 0 0 0 1px #ffe3a0, 0 0 26px rgba(255,186,84,.85), 0 0 60px rgba(255,61,154,.5); } }
.site-header .btn-book, .site-header:not(.is-light) .btn-book { background: linear-gradient(180deg, #ffd27a, #f5a524); color: #1a0f05 !important; box-shadow: 0 0 14px rgba(255,186,84,.55); }
.site-header .btn-book:hover, .site-header:not(.is-light) .btn-book:hover { background: #ffe09a; }
/* Section spotlight: hovering Book the bar or Ask about dates darkens the section and a white light follows the cursor */
.closing::after {
  content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .5s;
  background:
    radial-gradient(circle 320px at var(--sx, 50%) var(--sy, 50%), rgba(255,255,255,.2), rgba(255,255,255,0) 70%),
    radial-gradient(circle 320px at var(--sx, 50%) var(--sy, 50%), rgba(0,0,0,0) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.86) 100%);
}
.closing.spot-on::after { opacity: 1; }
/* Sparkle on hover: a light sweep across the button plus a brighter glow */
.site-header .btn-book { position: relative; overflow: hidden; }
.site-header .btn-book::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.9) 50%, transparent 100%);
  transform: skewX(-20deg);
}
@media (hover: hover) {
  .site-header .btn-book:hover { box-shadow: 0 0 22px rgba(255,220,140,.95), 0 0 4px #fff; }
  .site-header .btn-book:hover::after { animation: btnSparkle .9s ease-in-out; }
}
@keyframes btnSparkle { from { left: -80%; } to { left: 140%; } }
@media (prefers-reduced-motion: reduce) { .site-header .btn-book:hover::after { animation: none; } }
.closing .lede { font-family: var(--body); font-size: clamp(16px, 1.8vw, 18px); line-height: 1.5; max-width: 520px; margin: 0 auto 12px; opacity: .85; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .neon, .btn-neon { animation: none; } }

/* ---------- Book the bar pop-up form ---------- */
.book-dialog { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.book-dialog::backdrop { background: rgba(8,4,4,.78); backdrop-filter: blur(3px); }
.book-card { background: #141010; color: var(--paper-fg); border: 1px solid rgba(255,186,84,.35); box-shadow: 0 0 40px rgba(255,186,84,.18), 0 0 60px rgba(255,42,42,.12); padding: 32px 28px; position: relative; }
.book-card h2 { font-family: "Rye", Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.1; margin: 0 0 8px; text-transform: uppercase; }
.book-card .sub { font-family: var(--body); opacity: .75; margin: 0 0 22px; font-size: 15px; line-height: 1.5; }
.book-card label { display: block; font-family: var(--display); letter-spacing: .08em; font-size: 15px; margin: 0 0 14px; }
.book-card input, .book-card select, .book-card textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 11px 12px; background: #0b0909; color: var(--paper-fg); border: 1px solid rgba(244,238,228,.22); font: 400 16px var(--body); }
.book-card input:focus, .book-card select:focus, .book-card textarea:focus { outline: 2px solid #ffb95a; outline-offset: 1px; }
.book-card .form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.book-card .form-row > * { min-width: 0; }
.book-card .close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--paper-fg); font-size: 28px; cursor: pointer; line-height: 1; }
.book-card .submit { font-family: var(--display); font-size: 20px; letter-spacing: .08em; padding: 14px 26px; border: 0; cursor: pointer; color: #1a0f05; background: linear-gradient(180deg, #ffd27a, #f5a524); box-shadow: 0 0 18px rgba(255,186,84,.55); width: 100%; }
.book-card .status { font-size: 15px; min-height: 22px; margin: 14px 0 0; }
.book-card .hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { .book-card .form-row { grid-template-columns: 1fr; } }
.book-card .book-intro { font-family: var(--body); opacity: .8; margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
.book-inline { max-width: 560px; margin: 0 auto; }

@media (max-width: 860px) { .header-inner { flex-wrap: wrap; } .nav { flex-wrap: wrap; gap: 12px 20px; font-size: 17px; } }
.book-card .opt { font-family: var(--body); font-size: 13px; letter-spacing: 0; opacity: .6; }
