/* ============================================================
   Minnesota Menace — tattoo studio site
   Palette derived from the Menace Ink Crown logo.
   ============================================================ */
:root {
  --gold:        #E6B84C;
  --gold-bright: #FBE08A;
  --gold-deep:   #9E7223;
  --magenta:     #C53C95;
  --violet:      #7E2C92;
  --purple-deep: #3A1147;
  --ink:         #0E0712;
  --ink-2:       #18101F;
  --ink-3:       #130B1A;
  --bone:        #F1E8F2;
  --muted:       #C2AECD;

  --grad-text: linear-gradient(180deg, #E760B4 0%, #C53C95 45%, #7E2C92 100%);
  --grad-gold: linear-gradient(180deg, #FBE08A 0%, #E6B84C 55%, #9E7223 100%);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --header-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-y: scroll;          /* reserve scrollbar so layout never shifts */
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 40% at 18% 8%, rgba(197,60,149,0.16), transparent 70%),
    radial-gradient(50% 45% at 85% 12%, rgba(126,44,146,0.20), transparent 70%),
    radial-gradient(60% 50% at 50% 108%, rgba(58,17,71,0.40), transparent 70%),
    radial-gradient(40% 30% at 50% 0%, rgba(230,184,76,0.08), transparent 70%);
  pointer-events: none;
}

a { color: var(--gold); }

/* ============================ HEADER / NAV ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(14, 7, 18, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 184, 76, 0.18);
}
.nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.nav__brand img { height: 50px; width: auto; display: block; }
.nav__brand span {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--bone);
}
.nav__links { display: flex; align-items: center; gap: 1.4rem; }
.nav__links a {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: var(--bone);
  text-decoration: none;
  opacity: 0.82;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav__links a:hover { color: var(--gold); opacity: 1; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(230,184,76,0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; fill: currentColor; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn--gold {
  background: var(--grad-gold);
  color: #20140a;
  box-shadow: 0 6px 20px rgba(230, 184, 76, 0.22);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(230, 184, 76, 0.34); }
.btn--ghost {
  background: rgba(230, 184, 76, 0.06);
  border-color: rgba(230, 184, 76, 0.5);
  color: var(--gold);
}
.btn--ghost:hover { background: rgba(230, 184, 76, 0.14); border-color: var(--gold); transform: translateY(-2px); }
.nav .btn { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* ============================ SECTIONS ============================ */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  scroll-margin-top: var(--header-h);
}
.section__inner { width: 100%; max-width: 1100px; margin: 0 auto; }
.section--alt { background: rgba(24, 16, 31, 0.5); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: 0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin: 0.8rem auto 0;
  border-radius: 3px;
  background: var(--grad-gold);
}
.section-sub {
  text-align: center;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin: 0.9rem auto 0;
  max-width: 640px;
}
.section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem) 1.5rem;
}
.hero__logo {
  width: min(560px, 88vw);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(197, 60, 149, 0.30));
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 4rem);
  letter-spacing: 0.04em;
  margin-top: 1rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tag {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(0.8rem, 2vw, 1rem);
  margin-top: 0.8rem;
}
.hero__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* ============================ PORTFOLIO (carousel + lightbox) ============================ */
.carousel { width: 100%; }
.carousel__frame {
  position: relative;
  width: 100%;
  height: clamp(320px, 56vh, 620px);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(230, 184, 76, 0.16);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.carousel__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.carousel__img.is-ready { opacity: 1; }
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 7, 18, 0.6);
  color: var(--gold);
  border: 1px solid rgba(230, 184, 76, 0.35);
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}
.carousel__btn:hover { background: rgba(230, 184, 76, 0.18); border-color: var(--gold); }
.carousel__btn svg { width: 24px; height: 24px; fill: currentColor; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__counter {
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  color: var(--muted);
  font-size: 0.9rem;
}
.carousel__thumbs { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.carousel__thumb {
  width: 72px; height: 54px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--ink-2);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.carousel__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__thumb:hover { opacity: 1; }
.carousel__thumb.is-active { opacity: 1; border-color: var(--gold); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 3, 9, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 7, 18, 0.6);
  border: 1px solid rgba(230, 184, 76, 0.35);
  color: var(--gold);
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(230, 184, 76, 0.18); border-color: var(--gold); }
.lightbox__btn svg { width: 26px; height: 26px; fill: currentColor; }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 7, 18, 0.6);
  border: 1px solid rgba(230, 184, 76, 0.35);
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(230, 184, 76, 0.18); border-color: var(--gold); }
.lightbox__counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

/* ============================ INFO CARDS / RATES ============================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.info-card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink-3));
  border: 1px solid rgba(230, 184, 76, 0.16);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
}
.info-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.info-card .big {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.1;
}
.info-card p { color: var(--muted); font-size: 0.95rem; }

.policy-list { list-style: none; display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.policy-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}
.policy-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-gold);
}
.policy-list strong { color: var(--bone); font-weight: 600; }

.center-cta { text-align: center; margin-top: 2.5rem; }

/* ============================ AFTERCARE ============================ */
.aftercare-subhead {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-size: 1.15rem;
  margin: 2.4rem 0 1.1rem;
}
.aftercare-subhead:first-of-type { margin-top: 0; }
.aftercare-note { color: var(--muted); margin-top: 1rem; font-size: 0.95rem; }

.steps { counter-reset: step; display: grid; gap: 1rem; margin-top: 1rem; }
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(24, 16, 31, 0.5);
  border: 1px solid rgba(126, 44, 146, 0.25);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #20140a;
  font-family: var(--font-display);
  font-weight: 700;
}
.step h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--bone); font-size: 1rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ============================ MUSIC / ICON LINKS ============================ */
.icon-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }
.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(230, 184, 76, 0.07);
  border: 1px solid rgba(230, 184, 76, 0.22);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.icon-link svg { width: 26px; height: 26px; fill: currentColor; }
.icon-link:hover { color: var(--bone); background: rgba(230, 184, 76, 0.16); border-color: var(--gold); transform: translateY(-2px); }

/* ============================ CONTACT ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.contact-grid .info-card a { color: var(--bone); text-decoration: none; }
.contact-grid .info-card a:hover { color: var(--gold); }
.hours-row { display: flex; justify-content: space-between; color: var(--muted); padding: 0.25rem 0; border-bottom: 1px dashed rgba(126,44,146,0.25); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--bone); }

.socials { display: flex; gap: 0.8rem; margin-top: 1rem; justify-content: center; }

/* ============================ FOOTER ============================ */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(230, 184, 76, 0.14);
}
.site-footer a { color: var(--gold); text-decoration: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 860px) {
  .nav__links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(14, 7, 18, 0.97);
    border-bottom: 1px solid rgba(230, 184, 76, 0.18);
    padding: 0.5rem 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 0.85rem clamp(1rem, 3vw, 2rem); opacity: 0.95; }
  .nav__links .btn { margin: 0.6rem clamp(1rem, 3vw, 2rem); justify-content: center; }
  .nav__toggle { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .icon-link:hover { transform: none; }
}
