:root {
  --black: #0a0a0a;
  --black-alt: #141414;
  --cream: #ece4d3;
  --red: #b81f2c;
  --red-bright: #e0293a;
  --green: #8dc63f;
  --gray: #b8b3a8;
  --admin-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Admin brand accent — real Apple glass takes its color from whatever's behind the glass, not
     from a painted-on gradient, so the glass surfaces themselves stay neutral/desaturated; color
     only shows up (a) where the shop's own logo bleeds through the blur from the fixed background,
     and (b) on the two status sections that were always green/red on this site anyway (Chair
     Status = available/green, Waiting Area = red) — nowhere else. --admin-accent is a plain solid,
     not a gradient, used sparingly (primary buttons, focus ring). */
  --admin-accent: var(--green);
  --admin-glass-sheen: rgba(255, 255, 255, 0.08);
  --admin-glass-ring: rgba(141, 198, 63, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.brand, .hero-logo-text {
  font-family: 'Butcherman', 'Barlow Condensed', cursive;
  font-weight: 400;
  letter-spacing: 0.5px;
}

h1, h2, h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--red-bright); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top alert bar */
/* Recessive on purpose — solid --red is reserved for actual buttons (nav CTA, hero/contact
   buttons, sticky mobile CTA) so a real call-to-action always stands out as the one thing on
   the page that says "click here." This bar is pure info (hours/walk-ins), not a click target,
   so it reads as a dark accent strip instead of competing with the real CTAs for attention. */
.top-alert {
  background: var(--black-alt);
  color: var(--red-bright);
  border-bottom: 1px solid rgba(224,41,58,0.35);
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  color: var(--cream);
  font-size: 28px;
  line-height: 1;
}
.brand:hover { color: var(--cream); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--cream);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--red);
  color: var(--cream) !important;
  padding: 9px 18px;
  border-radius: 3px;
}
.nav-cta:hover { background: var(--red-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
}

/* Hero */
.hero {
  /* hero-team.jpg is cropped tight to exactly the mural + everyone's faces/shoulders (no
     ceiling, no pool table, no blank wall above the mural). The box's aspect-ratio matches the
     crop exactly (765:415) so cover never has anything to crop — the full photo always shows,
     at any desktop width, with no animation/panning needed. min-height is just a safety floor
     for unusually narrow desktop windows, not a normal-case constraint. Below 861px a separate,
     taller/narrower crop + fixed height takes over entirely (see media query) — this crop's
     aspect ratio, scaled to a phone-width viewport, would crop the mural text off the sides.
  */
  position: relative;
  background-image: url('/assets/img/hero-team.jpg');
  background-size: cover;
  background-position: center;
  aspect-ratio: 765 / 415;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(8,8,8,.25) 0%, rgba(8,8,8,.35) 40%, rgba(8,8,8,.4) 65%, rgba(8,8,8,.75) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 720px; margin: 0 auto; }

/* The mural background has bright white lettering and light fur-tone areas right where this text
   sits — the gradient overlay (.hero::before) alone isn't dark enough there, and text-shadow only
   helps at the letterform edges, not against a genuinely light patch behind a whole word. A
   dedicated dark backing panel guarantees contrast regardless of what's directly behind it. */
.hero-text-panel {
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 16px;
  padding: 24px 32px;
  margin-bottom: 24px;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin: 0 0 10px;
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  color: var(--cream);
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  margin: 0 0 16px;
}

.hero-sub {
  color: var(--cream);
  font-size: 17px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.9);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  border: 2px solid transparent;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--cream);
}
.btn-primary:hover { background: var(--red-bright); color: var(--cream); }

.btn-outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-accent {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
  animation: btn-accent-pulse 2.2s ease-in-out infinite;
}
.btn-accent:hover {
  background: var(--black);
  color: var(--green);
  border-color: var(--green);
  animation: none;
}

@keyframes btn-accent-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(141, 198, 63, 0.55); }
  50% { box-shadow: 0 0 0 12px rgba(141, 198, 63, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-accent { animation: none; }
}

/* Scroll reveal — classes toggled by script.js; safe no-op if JS never runs (see comment there) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee ticker — continuous motion, independent of scroll position */
.marquee {
  background: var(--black-alt);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  padding: 0 22px;
  white-space: nowrap;
}
.marquee-item.accent { color: var(--green); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Ambient floating accents — decorative, continuous drift within specific sections */
.floaters-host { position: relative; overflow: hidden; }
.floater {
  position: absolute;
  pointer-events: none;
  opacity: 0.16;
  color: var(--green);
  animation: floater-drift 9s ease-in-out infinite;
}
.floater svg { display: block; width: 100%; height: 100%; }
.floater-red { color: var(--red-bright); }
@keyframes floater-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .floater { animation: none; }
}
@media (max-width: 640px) {
  .floater { display: none; }
}

/* Sticky booking CTA — persistent but unobtrusive; pulses once every ~26s, not continuously,
   so it doesn't nag while still catching the eye every so often. */
.sticky-book-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 22px;
  background: var(--red);
  color: var(--cream);
  border-radius: 999px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.2s ease;
  animation: sticky-cta-pulse 26s ease-in-out infinite;
}
.sticky-book-cta:hover { background: var(--red-bright); transform: translateY(-2px); }
.sticky-book-cta:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.sticky-book-cta-hidden { opacity: 0; pointer-events: none; }
.sticky-book-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
@keyframes sticky-cta-pulse {
  0%, 92%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 0 rgba(224,41,58,0); }
  95% { box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 10px rgba(224,41,58,0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-book-cta { animation: none; }
}
@media (max-width: 640px) {
  .sticky-book-cta {
    left: auto;
    right: 16px;
    bottom: 16px;
    padding: 14px 20px;
  }
}

/* Trust builders — quiet credibility grid, not a hard sell */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  flex: 1 1 180px;
  max-width: 240px;
}
.trust-item svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--green); }
.trust-item-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--cream); font-size: 16px; letter-spacing: 0.3px; }
.trust-item-sub { color: var(--gray); font-size: 13px; margin-top: 3px; }

/* "How It Works" — the site's one explicit step-by-step section, so a first-time visitor never
   has to guess what happens after they reach out. Numerals use --green (the same "supporting
   reassurance" role it already has on trust-item icons/ratings) rather than --red, which is kept
   exclusively for actual buttons across the site. */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.plan-item { text-align: left; }
.plan-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 10px;
}
.plan-item-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--cream); font-size: 19px; letter-spacing: 0.3px; }
.plan-item-sub { color: var(--gray); font-size: 14px; margin: 6px 0 0; line-height: 1.5; }
@media (max-width: 760px) {
  .plan-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Homepage "recent work" strip — reuses .gallery-grid/.gallery-item from the full gallery page */
.home-gallery-strip .gallery-grid { margin-top: 24px; }

/* Info strip */
/* Same reasoning as .top-alert above — this is an info band (hours/location/walk-ins), not a
   click target, so it stays dark with red as an accent rather than another full-red block
   competing with the page's real buttons. */
.strip {
  background: var(--black-alt);
  color: var(--cream);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
}
.strip-item { display: flex; flex-direction: column; gap: 2px; }
.strip-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--red-bright);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--black-alt); }

.section-title {
  font-size: 40px;
  color: var(--cream);
  margin: 0 0 8px;
}
.section-sub {
  color: var(--gray);
  margin: 0 0 36px;
  font-size: 16px;
  max-width: 620px;
}

/* Artist page hero */
.artist-hero {
  padding: 64px 0 32px;
  text-align: center;
  background: var(--black-alt);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.artist-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  color: var(--green);
  margin: 0 0 6px;
}
.artist-hero .section-title { margin: 0 0 4px; }
.artist-name {
  font-family: 'Butcherman', 'Barlow Condensed', cursive;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.artist-hero .section-sub {
  margin: 0 auto;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
}
.artist-bio {
  color: var(--gray);
  font-size: 17px;
  max-width: 620px;
}
.artist-cta { padding: 56px 0 88px; }

.more-artists-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Services page */
.service-block {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.service-block:last-child { border-bottom: none; }
.service-block h3 {
  font-size: 26px;
  color: var(--cream);
  margin: 0 0 8px;
}
.service-block p {
  color: var(--gray);
  font-size: 16px;
  max-width: 720px;
  margin: 0 0 10px;
}
.service-block a.service-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--green);
}

/* FAQ page */
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-size: 20px;
  color: var(--cream);
  margin: 0 0 8px;
}
.faq-item p {
  color: var(--gray);
  font-size: 16px;
  max-width: 720px;
  margin: 0;
}

/* Gallery page groups */
.gallery-group { margin-bottom: 56px; }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.gallery-group-header h2 { margin: 0; font-size: 30px; }
.gallery-group-header a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

/* Gallery — masonry via CSS columns so real photo proportions show instead of forced square crops */
.gallery-grid {
  columns: 4 220px;
  column-gap: 16px;
}
.gallery-item {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 16px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.gallery-filter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.gallery-filter-btn:hover { border-color: var(--green); color: var(--green); }
.gallery-filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}
.gallery-follow {
  margin-top: 28px;
  color: var(--gray);
  font-size: 15px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-copy p { color: var(--gray); font-size: 17px; }
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.about-photos img { border-radius: 4px; aspect-ratio: 3/4; object-fit: cover; }

/* Artists */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.artist-card {
  display: block;
  background: var(--black-alt);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  color: var(--cream);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.artist-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.artist-photo-default {
  object-fit: contain;
  padding: 32px;
  background: linear-gradient(135deg, var(--black-alt), var(--black));
}
.artist-card-body { padding: 24px; }
.artist-card:hover {
  color: var(--cream);
  border-color: var(--green);
  transform: translateY(-2px);
}
.artist-view {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--green);
}
.artist-card:hover .artist-view { color: var(--red-bright); }
.artist-badge {
  display: inline-block;
  background: var(--green);
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.artist-card h3 {
  font-family: 'Butcherman', 'Barlow Condensed', cursive;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 30px;
  margin: 0 0 6px;
  color: var(--cream);
}
.artist-card p {
  margin: 0;
  color: var(--gray);
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}
.artist-specialty {
  margin: 6px 0 0 !important;
  color: var(--green) !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 13px !important;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info dl { margin: 24px 0 32px; }
.contact-info dt {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--green);
  margin-top: 18px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 4px 0 0;
  font-size: 17px;
  color: var(--cream);
}
.contact-info dd a { color: var(--cream); }
.contact-info dd a:hover { color: var(--green); }
.contact-map { margin-top: 28px; }
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 6px;
}
.contact-form-card {
  background: var(--black-alt);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 32px;
}
.contact-form-card h3 {
  font-size: 24px;
  color: var(--cream);
  margin: 0 0 6px;
}
.contact-form-sub {
  color: var(--gray);
  font-size: 15px;
  margin: 0 0 22px;
}
.contact-form-status {
  font-size: 14px;
  min-height: 1.2em;
  margin: 12px 0 0;
}
.contact-form-status.ok { color: var(--green); }
.contact-form-status.error { color: var(--red-bright); }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 18px;
  padding: 0;
}
.footer-nav a {
  color: var(--gray);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}
.footer-nav a:hover { color: var(--green); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--gray);
  font-size: 14px;
}
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: var(--gray); }
.footer-social a:hover { color: var(--green); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 4px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 140px; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }
  .artist-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .more-artists-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .artist-card-body { padding: 14px; }
  .artist-card h3 { font-size: 22px; margin: 0 0 4px; }
  .artist-badge { font-size: 10px; padding: 3px 8px; margin-bottom: 8px; }
  .artist-card p { font-size: 12px; }
  .artist-view { font-size: 11px; margin-top: 8px; }
  .section-title { font-size: 32px; }
  .hero-headline { font-size: 34px; }
  /* Desktop crop is wide-and-short (1.66:1) — on a narrow viewport that forces height-constrained
     cover scaling and crops the mural text off the left/right instead of just top/bottom. This
     crop is taller/narrower (0.91:1) and shot to keep "HOUSE OF INK" fully in frame at phone
     widths; min-height is tuned so cover stays width-constrained down to ~390px wide. Just the
     photo, not the gradient — that's on .hero::before now, unaffected by this override. No pan
     animation at this width (see the min-width:861px rule above) since this crop already shows
     close to the full image without needing to move.
  */
  .hero { background-image: url('/assets/img/hero-team-mobile.jpg'); aspect-ratio: auto; min-height: 480px; padding: 110px 0 50px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    display: none;
    overflow-y: auto;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav-cta { margin-top: 8px; }
  .strip-inner { flex-direction: column; gap: 14px; }
}

/* Admin — Apple-style UI (scoped to admin pages only; public site is untouched) */
.admin-shell, .admin-auth-page {
  font-family: var(--admin-font);
  -webkit-font-smoothing: antialiased;
}
.admin-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.admin-login-card {
  width: 100%;
  max-width: 380px;
  background:
    linear-gradient(160deg, var(--admin-glass-sheen), transparent 46%),
    rgba(255,255,255,0.051);
  backdrop-filter: blur(24px) saturate(115%);
  -webkit-backdrop-filter: blur(24px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 26px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: inset 0 1px 0 var(--admin-glass-sheen), 0 1px 2px rgba(0,0,0,0.4), 0 20px 48px rgba(0,0,0,0.5);
}
.admin-error {
  color: var(--red-bright);
  font-size: 14px;
  margin: 0;
  min-height: 1.2em;
}
.admin-layout {
  display: flex;
  gap: 20px;
  min-height: 100vh;
  padding: 20px;
  align-items: flex-start;
  position: relative;
}
/* Faint ambient ink-bloom behind the whole admin surface — gives the translucent/blurred cards
   something to catch color from instead of sitting on flat black. Kept very low-opacity and
   nearly static on purpose (toned down from an earlier, glarier concept pass); a fixed pseudo
   on the layout root rather than body so it doesn't touch the public site at all. */
/* The shop's own logo, fixed and heavily dimmed, standing in for an Apple-style "wallpaper behind
   the glass" — this is where color comes from now, not a hand-painted gradient. Every glass
   surface in front of it is neutral/desaturated; whatever hue shows through a given card is
   whatever part of the logo happens to sit behind it, exactly like real vibrancy/translucency. */
.admin-layout::before,
.admin-auth-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(6,6,8,0.86), rgba(6,6,8,0.9)),
    url("/assets/img/logo.jpg") center 30% / cover no-repeat;
}
.admin-sidebar, .admin-shell, .admin-login-card {
  position: relative;
  z-index: 1;
}
/* Staff maintenance banner — injected/toggled by admin-layout.js from the admin_banner table.
   The body class shifts the sticky sidebar and layout down so nothing hides behind the bar. */
#admin-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #c0152f;
  color: #fff;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
/* Base (desktop) values push content below the fixed 44px banner bar PLUS the layout's own 20px
   gutter; the mobile media query below resets both back to a flush 44px since mobile drops the
   floating-gutter treatment entirely. */
body.admin-banner-on .admin-layout { padding-top: 64px; }
body.admin-banner-on .admin-sidebar { top: 64px; max-height: calc(100vh - 84px); }
@media (max-width: 860px) {
  body.admin-banner-on .admin-layout { padding-top: 44px; }
  body.admin-banner-on .admin-sidebar { top: 44px; height: auto; }
}
.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.051), transparent 55%),
    rgba(255,255,255,0.051);
  backdrop-filter: blur(30px) saturate(115%);
  -webkit-backdrop-filter: blur(30px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 var(--admin-glass-sheen), 0 20px 50px -28px rgba(0,0,0,0.6);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  /* Fixed (not sticky) — pinned to the viewport itself so it can never appear to scroll with a
     tall dashboard's content, on any admin page. .admin-shell reserves the matching space via
     margin-left below since a fixed element is taken out of normal flex flow. */
  position: fixed;
  top: 20px;
  left: 20px;
  height: calc(100vh - 40px);
  overflow-y: auto;
}
.admin-sidebar-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-sidebar-brand {
  font-family: 'Butcherman', 'Barlow Condensed', cursive;
  font-size: 22px;
  color: var(--cream);
  padding: 6px 10px 20px;
  display: block;
}
.admin-sidebar-toggle {
  display: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--admin-font);
  cursor: pointer;
}
.admin-sidebar-menu {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.admin-sidebar-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  color: var(--gray);
  padding: 16px 10px 4px;
}
.admin-sidebar-section-label:first-child { padding-top: 0; }
.admin-nav-link {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--gray);
  font-weight: 500;
  font-size: 15px;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-nav-link:hover { background: rgba(255,255,255,0.06); color: var(--cream); }
.admin-nav-link.active {
  background: rgba(255,255,255,0.09);
  color: var(--cream);
  box-shadow: inset 0 1px 0 var(--admin-glass-sheen), inset 3px 0 0 var(--green);
}
.nav-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  background: var(--red-bright);
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1.5;
}
.admin-sidebar-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.admin-shell {
  flex: 1;
  min-width: 0;
  margin-left: 260px;
  padding: 0 0 100px;
  max-width: 960px;
}
@media (max-width: 860px) {
  .admin-layout { flex-direction: column; padding: 0; gap: 0; }
  .admin-sidebar {
    width: 100%;
    height: auto;
    max-height: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding: 10px 14px;
    background: var(--black);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .admin-sidebar-toggle { display: block; }
  .admin-sidebar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-alt);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 8px 14px 14px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .admin-sidebar-menu.open { display: flex; }
  .admin-sidebar-nav { flex-direction: column; flex: 0; }
  .admin-nav-link { white-space: normal; }
  .admin-sidebar-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.07); border-left: none; padding-left: 0; }
  .admin-shell { margin-left: 0; padding: 24px 16px 60px; max-width: 100%; }

  /* List rows (artists/team, blog, shop, consent) — actions get their own full-width line once
     the row is narrow enough that letting them share a line with everything else gets cramped.
     Wrapping itself and the name's flex-basis are now unconditional (see base .admin-artist-row). */
  .admin-artist-row .actions { flex: 1 1 100%; flex-wrap: wrap; }
}
.dashboard-greeting { font-size: 15px; color: var(--gray); margin: -10px 0 24px; }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
/* Draggable tiles — purely cosmetic drag-to-reorder (see admin-layout.js), remembered
   per-browser via localStorage. */
.draggable-tile { cursor: grab; }
.draggable-tile.dragging { opacity: 0.4; cursor: grabbing; }
.analytics-busiest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .analytics-busiest-grid { grid-template-columns: 1fr; }
}
.dashboard-stat-card {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.06), transparent 46%),
    rgba(255,255,255,0.051);
  backdrop-filter: blur(24px) saturate(115%);
  -webkit-backdrop-filter: blur(24px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 18px 20px;
  display: block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 12px 30px -16px rgba(0,0,0,0.55);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
a.dashboard-stat-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }
.dashboard-stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}
.dashboard-stat-card.alert .dashboard-stat-number { color: var(--red-bright); }
.dashboard-stat-label { color: var(--gray); font-size: 13px; margin-top: 8px; }
.dashboard-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  color: var(--cream);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-activity-details > summary.dashboard-section-title { list-style: none; }
.dashboard-activity-details > summary.dashboard-section-title::-webkit-details-marker { display: none; }
.dashboard-activity-chevron {
  display: inline-block;
  color: var(--gray);
  font-size: 13px;
  transition: transform 0.15s ease;
}
.dashboard-activity-details[open] .dashboard-activity-chevron { transform: rotate(90deg); }
.dashboard-activity-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}
.dashboard-activity-row:last-child { border-bottom: none; }
.dashboard-activity-row .who { color: var(--cream); font-weight: 600; flex-shrink: 0; }
.dashboard-activity-row .what { color: var(--gray); flex: 1; }
.dashboard-activity-row .when { color: var(--gray); font-size: 12px; flex-shrink: 0; }

.floor-status-section {
  position: relative;
  /* Same stacking-context fix as .waiting-room above — its Up Next slot reuses .wr-dropdown too,
     and would get clipped by whatever section follows Chair Status without this. */
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.043), transparent 50%),
    rgba(141,198,63,0.068);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid rgba(141,198,63,0.4);
  border-radius: 26px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 16px 40px -26px rgba(0,0,0,0.6);
}
.floor-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
/* Small internal divider — apprentices live in the same green Chair Status bubble as the main
   roster, just visually set apart underneath it instead of getting a whole separate section. */
.floor-status-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 14px;
  color: var(--green);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.floor-status-divider::before,
.floor-status-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(141,198,63,0.3);
}
.floor-status-grid-apprentice { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.floor-card {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.051), transparent 50%),
    rgba(0,0,0,0.111);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(141,198,63,0.26);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 26px -18px rgba(0,0,0,0.6);
}
.floor-card.out { opacity: 0.55; }
.floor-card.out .floor-card-body { display: none; }
.floor-card-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.floor-artist-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  color: var(--cream);
  flex: 1;
}
.floor-toggle-btn { margin-left: auto; }
.floor-toggle-btn.mark-available {
  border: 1.5px solid var(--green);
  background: rgba(141,198,63,0.14);
  color: var(--green);
  font-weight: 700;
}
.floor-toggle-btn.mark-available:hover { background: rgba(141,198,63,0.26); color: var(--green); }
.floor-toggle-btn.mark-out {
  border: 1.5px solid var(--red-bright);
  background: rgba(224,41,58,0.14);
  color: var(--red-bright);
  font-weight: 700;
}
.floor-toggle-btn.mark-out:hover { background: rgba(224,41,58,0.26); color: var(--red-bright); }
.floor-card-body { display: flex; flex-direction: column; gap: 12px; }
.floor-slot-label {
  color: var(--gray);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}
.floor-slot-name { color: var(--cream); font-size: 15px; font-weight: 600; margin: 0; }
.floor-slot-sub { color: var(--gray); font-size: 13px; margin: 2px 0 0; }
.floor-slot-empty { color: var(--gray); font-size: 14px; margin: 0; }
.floor-timer {
  color: var(--green);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
}
.floor-slot .admin-btn-sm { margin-top: 8px; }

/* Time Clock — the whole card is the button (big kiosk-friendly tap target instead of a small
   text link buried in a scrolling list), color/glow state changes on tap so the result is
   obvious at a glance from across the room. */
.timeclock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.timeclock-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 20px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.051), transparent 50%),
    rgba(0,0,0,0.111);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1.5px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 26px -18px rgba(0,0,0,0.6);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.timeclock-card:hover { background: linear-gradient(160deg, rgba(255,255,255,0.077), transparent 50%), rgba(0,0,0,0.111); }
.timeclock-card:active { transform: scale(0.97); }
.timeclock-card:disabled { opacity: 0.6; cursor: wait; transform: none; }
.timeclock-card.in {
  border-color: rgba(141,198,63,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(141,198,63,0.18), 0 10px 26px -18px rgba(0,0,0,0.6);
}
.timeclock-card-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px;
  color: var(--cream);
  line-height: 1.15;
}
.timeclock-card-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}
.timeclock-card.in .timeclock-card-status { color: var(--green); }
.timeclock-card-action {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 5px 12px;
  border-radius: 980px;
  border: 1.5px solid var(--red-bright);
  background: rgba(224,41,58,0.14);
  color: var(--red-bright);
}
.timeclock-card:not(.in) .timeclock-card-action {
  border-color: var(--green);
  background: rgba(141,198,63,0.14);
  color: var(--green);
}

/* Support-staff Time Clock cards are a <div>, not a <button> — once clocked in they hold two
   real buttons (Change Seat / Clock Out), which a <button> element can't legally contain. */
.timeclock-card.support { cursor: default; }
.timeclock-card.support:active { transform: none; }
.timeclock-card-seat {
  font-size: 12px;
  color: var(--gray);
  margin-top: -2px;
}
.timeclock-card-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.timeclock-card-action-btn {
  font-family: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 5px 12px;
  border-radius: 980px;
  border: 1.5px solid var(--green);
  background: rgba(141,198,63,0.14);
  color: var(--green);
  transition: background 0.15s ease, transform 0.1s ease;
}
.timeclock-card-action-btn:active { transform: scale(0.96); }
.timeclock-card-action-btn.neutral {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: var(--cream);
}
.timeclock-card-action-btn.danger {
  border-color: var(--red-bright);
  background: rgba(224,41,58,0.14);
  color: var(--red-bright);
}
.timeclock-card-action-btn:disabled { opacity: 0.5; cursor: wait; }

/* Seat picker modal's choice pills — a lightweight radio-button substitute, toggled via a plain
   .active class rather than real <input type="radio"> so keeping styling in one visual language
   with the rest of the glass-card admin (no browser-default radio dot to fight with). */
.seat-option-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
.seat-option-btn {
  font-family: inherit;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 980px;
  border: 1.5px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.seat-option-btn:hover { background: rgba(255,255,255,0.09); }
.seat-option-btn.active {
  border-color: var(--green);
  background: rgba(141,198,63,0.16);
  color: var(--green);
}

/* Today's Seats — the dashboard's small-scale echo of the Floor Status board, but for the
   non-tattooing side of the shop (front desk, mentorship, content days) instead of chairs. */
.today-seats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.today-seat-card {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.051), transparent 50%),
    rgba(0,0,0,0.111);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(91,140,255,0.28);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 10px 26px -18px rgba(0,0,0,0.6);
}
.today-seat-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  color: var(--cream);
}
.today-seat-label { font-size: 13px; color: #6fa8ff; font-weight: 600; margin-top: 2px; }
.today-seat-sub { font-size: 12px; color: var(--gray); margin-top: 1px; }

.waiting-room {
  position: relative;
  /* backdrop-filter alone forces this box into its own stacking context — without an explicit
     z-index here, that context has no ordering priority over the next section's (Chair Status
     has the same backdrop-filter), so it paints first/lower no matter what z-index the dropdown
     menu inside it sets. That's what was clipping the last row's Actions menu under Chair
     Status: the dropdown was never really "behind" it, its whole containing box was. */
  z-index: 2;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.043), transparent 50%),
    rgba(224,41,58,0.077);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid rgba(224,41,58,0.45);
  border-radius: 26px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 16px 40px -26px rgba(0,0,0,0.6);
}
.waiting-room-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  color: var(--red-bright);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-badge-walkin { background: rgba(224,41,58,0.18); color: var(--red-bright); }
.post-badge-appointment { background: rgba(141,198,63,0.18); color: var(--green); }
.post-badge-mine { background: rgba(236,228,211,0.2); color: var(--cream); font-weight: 700; }
.waiting-room-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid rgba(224,41,58,0.2);
  font-size: 13px;
}
.waiting-room-row:first-of-type { border-top: none; padding-top: 0; }
.waiting-room-row.mine {
  background: rgba(236,228,211,0.06);
  border-left: 3px solid var(--cream);
  padding-left: 10px;
  margin-left: -13px;
  border-radius: 0 8px 8px 0;
}
/* Two deliberate rows — identity/consent, then timing/actions — instead of one flex-wrap line
   whose break point depends on font size and viewport width. The name and its artist dropdown
   are one nowrap unit so they can wrap onto a new line together, but never split from each other. */
.wr-row-top, .wr-row-bottom { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.waiting-room-row .name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: var(--cream);
  font-weight: 500;
  font-size: 14px;
}
.wr-time { color: var(--gray); font-size: 12px; flex-shrink: 0; }
.waiting-room-row select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 12px;
  font-family: var(--admin-font);
  max-width: 130px;
}
.wr-dropdown { position: relative; display: inline-block; }
.wr-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  min-width: 190px;
  z-index: 20;
  overflow: hidden;
}
.wr-dropdown.open .wr-dropdown-menu { display: block; }
.wr-dropdown-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--admin-font);
  font-size: 13px;
  padding: 10px 14px;
  cursor: pointer;
}
.wr-dropdown-menu button:hover { background: rgba(255,255,255,0.08); }
.wr-dropdown-menu button.danger { color: var(--red-bright); }

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-topbar h1 {
  font-family: inherit;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.3px;
  margin: 0;
}
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-artist-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.051);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 12px 16px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
/* Consent Forms list only — an artist section still not signed off gets a red outline so it
   stands out at a glance; the class is only ever applied while artist_completed_at is NULL, so
   it disappears the moment Complete Artist Section or Mark as Hand-Filled clears that. */
.admin-artist-row.consent-incomplete {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 1px rgba(224,41,58,0.35);
}
.admin-artist-row:hover { background: rgba(255,255,255,0.077); }
.admin-artist-row.mine { border-left: 3px solid var(--cream); }
.promo-row.today { border-left: 3px solid var(--green); }
.promo-row.hidden-promo { opacity: 0.55; }
.post-badge {
  font-family: inherit;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 980px;
  flex-shrink: 0;
}
.post-badge-published { background: rgba(141,198,63,0.18); color: var(--green); }
.post-badge-draft { background: rgba(255,255,255,0.1); color: var(--gray); }
.post-badge-requested { background: rgba(91,140,255,0.18); color: #6fa8ff; }
.post-badge-offsite { background: #f0a830; color: var(--black); font-weight: 700; box-shadow: 0 0 0 1px rgba(240,168,48,0.4), 0 2px 6px rgba(240,168,48,0.35); }

.promo-thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.promo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  color: var(--gray);
  font-size: 11px;
  text-align: center;
  padding: 4px;
}
.promo-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.promo-meta { color: var(--gray); font-size: 13px; }

.promo-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.promo-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  flex-shrink: 1;
}
.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.promo-slide.active { opacity: 1; pointer-events: auto; }
/* contain (not cover) — a promo image keeps its real proportions and shows in full instead of
   being cropped to force-fill a square; the box's own background fills in around it. */
.promo-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.promo-slide-empty {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 24px;
  color: var(--gray);
}
.promo-slide-empty span { font-family: "Barlow Condensed", sans-serif; font-size: 22px; letter-spacing: 0.03em; color: var(--cream); text-transform: uppercase; }
.promo-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--cream);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.promo-arrow:hover { background: var(--red-bright); border-color: var(--red-bright); }
.promo-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.promo-tab {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 16px;
  min-height: 40px;
  border-radius: 980px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.promo-tab:hover { color: var(--cream); border-color: rgba(255,255,255,0.3); }
.promo-tab.active { background: var(--red-bright); border-color: var(--red-bright); color: var(--cream); }
@media (max-width: 560px) {
  .promo-carousel { gap: 8px; }
}

.admin-list-item { display: flex; flex-direction: column; gap: 8px; }
.admin-history { font-size: 13px; }
.admin-history summary {
  cursor: pointer;
  color: var(--gray);
  padding: 2px 4px;
  user-select: none;
}
.admin-history summary:hover { color: var(--cream); }
.admin-history-list {
  margin-top: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-history-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.admin-history-row .who { color: var(--cream); font-weight: 600; flex-shrink: 0; }
.admin-history-row .what { color: var(--gray); flex: 1; }
.admin-history-row .when { color: var(--gray); font-size: 12px; flex-shrink: 0; }

/* Message list (phone-app style inbox) + detail/thread view */
.message-list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.051);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
  transition: background 0.15s ease;
}
.message-list-row:hover { background: rgba(255,255,255,0.077); }
.message-list-unread-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.message-list-main { flex: 1; min-width: 0; }
.message-list-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.message-list-name { font-weight: 600; color: var(--cream); }
.message-list-snippet {
  color: var(--gray);
  font-size: 14px;
  margin: 3px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-list-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.message-list-request-actions { display: flex; gap: 6px; flex-shrink: 0; }
.message-list-time { color: var(--gray); font-size: 12px; }

.message-thread-header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.message-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--cream);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.message-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.message-bubble-row { display: flex; flex-direction: column; max-width: 78%; }
.message-bubble-row.outbound { align-self: flex-end; align-items: flex-end; }
.message-bubble-row .message-bubble { margin-bottom: 0; }
.message-bubble-row.outbound .message-bubble { background: rgba(184,31,44,0.16); border-color: rgba(184,31,44,0.3); }
.message-bubble-meta { font-size: 11px; color: var(--gray); margin-top: 4px; padding: 0 4px; }
.message-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.message-note {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.message-note:last-child { border-bottom: none; }
.message-note-meta { color: var(--gray); font-size: 12px; margin-bottom: 4px; }
.message-note p { margin: 0; color: var(--cream); font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
#note-text {
  font-family: inherit;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--cream);
  padding: 10px 12px;
  font-size: 14px;
  resize: vertical;
}

.md-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.admin-reorder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.admin-reorder .admin-btn-sm {
  padding: 3px 10px;
  line-height: 1.4;
  border-radius: 8px;
}
.admin-photo-item .admin-reorder {
  flex-direction: row;
  position: absolute;
  bottom: 8px;
  left: 8px;
}
.admin-photo-item .admin-reorder .admin-btn-sm {
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(6px);
}
.admin-artist-row img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.admin-artist-row .name {
  flex: 1 1 160px;
  font-family: inherit;
  font-weight: 500;
  font-size: 17px;
  color: var(--cream);
}
.admin-artist-row .actions { display: flex; gap: 8px; }
.admin-btn-sm {
  font-family: inherit;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 980px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.admin-btn-sm:hover { background: rgba(141,198,63,0.16); color: var(--admin-accent); }
.admin-btn-sm:active { transform: scale(0.96); }
.admin-btn-sm.danger { color: var(--red-bright); }
.admin-btn-sm.danger:hover { background: rgba(224,41,58,0.16); color: var(--red-bright); }
.admin-btn-sm:disabled { opacity: 0.35; cursor: not-allowed; }
.admin-btn-sm:disabled:hover { background: rgba(255,255,255,0.08); color: var(--cream); transform: none; }

.admin-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  background: rgba(255,255,255,0.051);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  margin-bottom: 20px;
}
.admin-tab-btn {
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--gray);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-tab-btn:hover { color: var(--cream); background: rgba(255,255,255,0.05); }
.admin-tab-btn.active {
  color: var(--cream);
  background: rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 var(--admin-glass-sheen), 0 4px 12px -6px rgba(0,0,0,0.4);
}
.admin-tab-panel { display: none; }
.analytics-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 220px;
  padding: 16px 4px 0;
  overflow-x: auto;
}
.analytics-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1 0 28px;
  min-width: 28px;
  height: 100%;
}
.analytics-bar-value { font-size: 11px; color: var(--gray); margin-bottom: 4px; white-space: nowrap; }
.analytics-bar {
  width: 100%;
  max-width: 34px;
  background: var(--green);
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  transition: height 0.2s ease;
}
.analytics-bar-label {
  font-size: 10px;
  color: var(--gray);
  margin-top: 8px;
  white-space: nowrap;
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-tab-panel.active { display: block; }

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-row label {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 13px;
  color: var(--gray);
}
.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row input[type="number"],
.form-row textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--cream);
  font-family: var(--admin-font);
  font-size: 15px;
  padding: 11px 14px;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px var(--admin-glass-ring);
}
/* Same recipe as .form-row's inputs above, for the handful of standalone textareas/inputs in the
   admin that aren't wrapped in a .form-row (e.g. the Marketing page's promo textarea) — without
   this they fall back to the raw unstyled browser control, a stark white box on the dark glass UI. */
.admin-shell textarea,
.admin-shell input[type="text"],
.admin-shell input[type="search"] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--cream);
  font-family: var(--admin-font);
  font-size: 15px;
  padding: 11px 14px;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}
.admin-shell textarea:focus,
.admin-shell input[type="text"]:focus,
.admin-shell input[type="search"]:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 4px var(--admin-glass-ring);
}
.admin-shell textarea::placeholder,
.admin-shell input::placeholder { color: var(--gray); }
/* Every <select>'s closed state needs its OWN background, not just a text color override — a
   bare `color: var(--cream)` with no background left most selects falling back to the browser's
   native white default underneath light cream text: nearly invisible, the exact "all white,
   should be readable" bug. The OPEN dropdown list is a separate concern, rendered natively by the
   browser/OS with its own light background that ignores the select's own background — only
   <option>'s own color/background actually reaches that popup (handled below). Scoped broadly
   (every select in any admin page or modal) rather than per-dropdown so nothing gets missed —
   the three selects with their own more specific background rules (.waiting-room-row select,
   .calendar-controls select) are unaffected, same near-identical values either way. */
.admin-shell select,
.admin-auth-page select,
.admin-modal select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--cream);
  font-family: var(--admin-font);
  font-size: 15px;
  padding: 11px 14px;
}
.admin-shell select option,
.admin-auth-page select option,
.admin-modal select option {
  color: #000;
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-hint { color: var(--gray); font-size: 13px; margin: -4px 0 0; }

.form-row-split { display: flex; gap: 12px; }
.form-row-split .form-row { flex: 2 1 0; min-width: 0; }
.form-row-split .form-row-state { flex: 0 0 70px; }
.form-row-split .form-row-zip { flex: 0 0 100px; }
@media (max-width: 480px) {
  .form-row-split { flex-wrap: wrap; }
  .form-row-split .form-row { flex-basis: 100%; }
  .form-row-split .form-row-state,
  .form-row-split .form-row-zip { flex: 1 1 0; }
}

.admin-card {
  background:
    linear-gradient(160deg, var(--admin-glass-sheen), transparent 46%),
    rgba(255,255,255,0.051);
  backdrop-filter: blur(20px) saturate(115%);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 var(--admin-glass-sheen), 0 1px 2px rgba(0,0,0,0.3), 0 10px 28px rgba(0,0,0,0.3);
}
.admin-cover-preview {
  width: 140px;
  height: 187px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
  display: block;
}
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.admin-photo-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-photo-category {
  font-family: var(--admin-font);
  font-size: 12px;
  color: var(--cream);
  background: rgba(255,255,255,0.06);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 5px 8px;
  flex: 1;
  min-width: 0;
}
.admin-photo-category-status {
  font-family: var(--admin-font);
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}
.admin-photo-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.admin-photo-item img { width: 100%; height: 100%; object-fit: cover; }
.admin-photo-item .delete-photo {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.admin-photo-item .delete-photo:hover { background: var(--red); }
.admin-status {
  font-size: 14px;
  min-height: 1.2em;
  margin: 8px 0 0;
  font-weight: 500;
}
.admin-status.ok { color: var(--green); }
.admin-status.error { color: var(--red-bright); }

.admin-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-modal-overlay.open { display: flex; }
.admin-modal-wide { max-width: 560px; }

/* Appointments calendar */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.calendar-nav { display: flex; align-items: center; gap: 10px; }
.calendar-month-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  color: var(--cream);
  min-width: 170px;
  text-align: center;
}
.calendar-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.calendar-controls select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--cream);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 14px;
  font-family: var(--admin-font);
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}
.calendar-weekdays span {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-day {
  position: relative;
  min-height: 76px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.043);
  backdrop-filter: blur(14px) saturate(115%);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.calendar-day-requested-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fa8ff;
}
.calendar-day:hover { background: rgba(255,255,255,0.07); }
.calendar-day.other-month { opacity: 0.3; cursor: default; }
.calendar-day.today { border-color: var(--green); }
.calendar-day-closed {
  background: rgba(224,41,58,0.14);
  border-color: rgba(224,41,58,0.5);
}
.calendar-day-closed:hover { background: rgba(224,41,58,0.22); }
.calendar-day-closed-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.closure-banner {
  background: rgba(224,41,58,0.14);
  border: 1px solid rgba(224,41,58,0.5);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  color: var(--cream);
}
.closure-banner strong { color: var(--red-bright); display: block; margin-bottom: 4px; }
.closure-banner ul { margin: 0; padding-left: 20px; font-size: 14px; }
.closure-banner li { margin: 2px 0; }
.calendar-day-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px;
  color: var(--cream);
}
.calendar-day-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  background: rgba(141,198,63,0.15);
  border-radius: 980px;
  padding: 2px 9px;
}
.calendar-day-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.calendar-day-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  flex-wrap: wrap;
}
.calendar-day-row .time { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; color: var(--cream); width: 70px; flex-shrink: 0; }
@media (max-width: 640px) {
  .calendar-day { min-height: 58px; }
  .calendar-day-num { font-size: 16px; }
  .calendar-day-count { font-size: 12px; padding: 1px 7px; }
  .calendar-month-label { font-size: 18px; min-width: 130px; }
}
.admin-modal {
  width: 100%;
  max-width: 420px;
  /* Longer modals (Complete Artist Section has 10+ rows) can exceed the viewport height,
     especially on a short desktop window or a mobile screen with the keyboard open — without
     this, content past the bottom was simply unreachable, Save/Cancel included. Capped relative
     to the overlay's own 20px top+bottom padding so it never touches the viewport edge. */
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  font-family: var(--admin-font);
  background:
    linear-gradient(160deg, var(--admin-glass-sheen), transparent 46%),
    rgba(28,28,28,0.655);
  backdrop-filter: blur(30px) saturate(115%);
  -webkit-backdrop-filter: blur(30px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 26px;
  padding: 28px;
  box-shadow: inset 0 1px 0 var(--admin-glass-sheen), 0 1px 2px rgba(0,0,0,0.4), 0 24px 60px rgba(0,0,0,0.5);
}
.admin-modal-warning {
  color: var(--gray);
  font-size: 14px;
  margin: 0 0 16px;
}
.admin-bulk-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.051);
  backdrop-filter: blur(16px) saturate(115%);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 14px;
}
.admin-bulk-toolbar .admin-btn-sm { margin-left: auto; }
.admin-artist-row > .client-select-cb { flex-shrink: 0; width: 16px; height: 16px; }
.admin-modal label {
  display: block;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 6px;
}
.admin-modal label strong { color: var(--red-bright); }
.admin-modal input[type="text"] {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--cream);
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  transition: box-shadow 0.15s ease;
}
.admin-modal input[type="text"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(224,41,58,0.18);
}
.admin-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Soften the site's poster-style buttons specifically inside admin surfaces */
.admin-shell .btn,
.admin-auth-page .btn {
  font-family: var(--admin-font);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 980px;
  border: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease, opacity 0.15s ease, filter 0.15s ease;
}
.admin-topbar > div {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-shell .btn-primary,
.admin-auth-page .btn-primary {
  background: var(--admin-accent);
  color: var(--black);
}
.admin-shell .btn-primary:hover,
.admin-auth-page .btn-primary:hover { background: #7ab332; color: var(--black); }
.admin-shell .btn-primary:active,
.admin-auth-page .btn-primary:active { transform: scale(0.98); }
.admin-shell .btn:disabled,
.admin-auth-page .btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; }
.admin-shell .btn-outline,
.admin-auth-page .btn-outline {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--cream);
}
.admin-shell .btn-outline:hover,
.admin-auth-page .btn-outline:hover { background: rgba(255,255,255,0.14); color: var(--cream); }
.admin-shell .btn-outline:active,
.admin-auth-page .btn-outline:active { transform: scale(0.98); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 24px;
}
.blog-card {
  display: block;
  background: var(--black-alt);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  color: var(--cream);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.blog-card:hover {
  color: var(--cream);
  border-color: var(--green);
  transform: translateY(-2px);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-card-body { padding: 20px; }
.blog-card-date {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--green);
}
.blog-card-body h2 {
  font-size: 24px;
  margin: 8px 0;
  color: var(--cream);
}
.blog-card-body p {
  color: var(--gray);
  font-size: 15px;
  margin: 0 0 12px;
}

.blog-post {
  max-width: 720px;
}
.blog-post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin: 20px 0;
}
.blog-disclosure {
  background: var(--black-alt);
  border-left: 3px solid var(--green);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--gray);
  border-radius: 4px;
  margin: 0 0 32px;
}
.blog-post-body { color: var(--cream); font-size: 17px; }
.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3 { color: var(--cream); margin: 32px 0 12px; }
.blog-post-body h1 { font-size: 30px; }
.blog-post-body h2 { font-size: 26px; }
.blog-post-body h3 { font-size: 21px; }
.blog-post-body p { color: var(--gray); margin: 0 0 20px; }
.blog-post-body ul { color: var(--gray); margin: 0 0 20px; padding-left: 22px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body img {
  width: 100%;
  border-radius: 6px;
  margin: 20px 0;
}
.blog-post-body a { color: var(--green); text-decoration: underline; }
.blog-post-body a:hover { color: var(--red-bright); }
.blog-post-body strong { color: var(--cream); }

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 24px;
}
.shop-card {
  background: var(--black-alt);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.shop-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.shop-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.shop-card-body { padding: 20px; text-align: center; }
.shop-card-body h3 {
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 6px;
}
.shop-card-price {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: var(--green);
  font-size: 15px;
  margin-bottom: 8px;
}
.shop-card-body p {
  color: var(--gray);
  font-size: 14px;
  margin: 0 0 16px;
  min-height: 1.2em;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  align-items: start;
  gap: 24px;
}
.review-card {
  position: relative;
  background: var(--black-alt);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 26px 26px 24px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.45);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  right: 14px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 100px;
  line-height: 1;
  color: rgba(141,198,63,0.08);
  pointer-events: none;
}
.review-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: rgba(10,10,10,0.85);
  flex-shrink: 0;
}
.review-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.review-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 15px;
  color: var(--cream);
}
.review-stars {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 2px;
}
.review-text {
  position: relative;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Consent form */
.consent-shell { max-width: 640px; margin: 0 auto; }
.consent-progress {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 8px;
}
.consent-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 32px;
}
.consent-progress-fill {
  height: 100%;
  background: var(--green);
  transition: width 0.25s ease;
}
.consent-step { display: none; }
.consent-step.active { display: block; }
.consent-step h2 {
  font-size: 24px;
  color: var(--cream);
  margin: 0 0 20px;
}
.consent-autofill-box {
  background: rgba(141,198,63,0.07);
  border: 1px solid rgba(141,198,63,0.3);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 28px;
}
.consent-autofill-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  color: var(--green);
  margin: 0 0 6px;
}
.consent-autofill-box .form-hint { margin: 0 0 14px; }
.consent-autofill-box .form-row-split { margin-bottom: 14px; }
.consent-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cream);
}
.consent-checkbox input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.consent-radio-group { display: flex; gap: 20px; margin-bottom: 20px; }
.consent-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--cream);
}
.consent-policy-text {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 18px 20px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.consent-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.signature-name-input {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 26px !important;
  padding: 14px 16px !important;
}
.consent-form-status { font-size: 14px; min-height: 1.2em; margin: 16px 0 0; }
.consent-form-status.ok { color: var(--green); }
.consent-form-status.error { color: var(--red-bright); }
