/* tattoo-editorial-v2 — boutique editorial. Cream + gold + light serif typography.
   Inspired by erivan_barbershop.html (high-end editorial v1 reference). */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.font-classic { font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif; font-weight: 400; }
body.font-modern  { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body.font-bold    { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.04em; }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { margin: 0 0 0.5em; }

:root { --cream-bg: #FAF9F6; }

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
@media (min-width: 768px) { .header-inner { padding: 0 3rem; height: 80px; } }
.header-logo { display: flex; flex-direction: column; gap: 0.1rem; cursor: pointer; }
.header-logo-text-top { color: #fff; font-size: 1.05rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; }
.header-logo-text-bottom { color: #d8d8d8; font-size: 0.7rem; text-transform: uppercase; font-weight: 300; letter-spacing: 0.2em; }

.nav-desktop { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  color: #fff; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em;
  transition: color 0.3s; font-weight: 400;
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop .nav-cta {
  background: var(--accent); color: #fff;
  padding: 0.7rem 1.6rem; font-size: 0.65rem; letter-spacing: 0.22em;
  transition: background 0.3s, transform 0.15s;
}
.nav-desktop .nav-cta:hover { transform: translateY(-1px); filter: brightness(1.05); color: #fff; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.hero-content {
  position: relative; z-index: 10; text-align: center;
  padding: 0 1.25rem; max-width: 56rem; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.hero h1 {
  color: #fff; margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 2.5rem; font-weight: 300;
  opacity: 0; animation: fadeUp 0.9s ease-out 0.1s forwards;
  line-height: 1.15;
}
@media (min-width: 768px) { .hero h1 { font-size: 3.4rem; } }
.hero-tagline {
  color: rgba(255,255,255,0.85);
  font-style: italic; font-weight: 300;
  font-size: 1.05rem; margin-bottom: 2.25rem;
  opacity: 0; animation: fadeUp 0.9s ease-out 0.3s forwards;
  letter-spacing: 0.02em;
}
.hero-cta {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 1.1rem 2.75rem; font-size: 0.74rem; letter-spacing: 0.3em;
  text-transform: uppercase; transition: background 0.3s, transform 0.15s;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  font-weight: 500;
  opacity: 0; animation: fadeUp 0.9s ease-out 0.5s forwards;
}
.hero-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Contact strip ───────────────────────────────── */
.contact-strip {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center; padding: 1.25rem 1.25rem;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.contact-strip a { color: var(--accent); text-decoration: none; transition: opacity 0.3s; }
.contact-strip a:hover { opacity: 0.7; }
.contact-strip span { color: #777; }

/* ── Sections ────────────────────────────────────── */
.section { padding: 5rem 1.25rem; }
@media (min-width: 768px) { .section { padding: 6rem 2rem; } }
@media (min-width: 1024px) { .section { padding: 7rem 3rem; } }
.section-cream { background: var(--cream-bg); }
.section-white { background: #fff; }

.section-header { text-align: center; margin-bottom: 4rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header h2 {
  font-size: 1.75rem; color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.18em; font-weight: 300; margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p {
  color: #666; font-size: 1.05rem; max-width: 36rem;
  margin: 0 auto; font-style: italic; font-weight: 300;
  letter-spacing: 0.01em;
}

/* ── Styles ──────────────────────────────────────── */
.styles-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  max-width: 78rem; margin: 0 auto;
}
@media (min-width: 640px) { .styles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .styles-grid { grid-template-columns: repeat(3, 1fr); } }
.style-card {
  background: #fff; padding: 2.5rem 1.5rem; border: 1px solid rgba(201,161,74,0.18);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: box-shadow 0.5s, border-color 0.3s;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; min-height: 220px; justify-content: center;
}
.style-card:hover { box-shadow: 0 24px 48px rgba(0,0,0,0.08); border-color: rgba(201,161,74,0.45); }
.style-icon-wrap {
  margin-bottom: 1.5rem; width: 56px; height: 56px;
  border: 1px solid rgba(201,161,74,0.35); display: flex;
  align-items: center; justify-content: center;
  transition: transform 0.5s;
}
.style-card:hover .style-icon-wrap { transform: rotate(45deg); }
.style-icon { color: var(--accent); font-size: 1.4rem; transition: transform 0.5s; }
.style-card:hover .style-icon { transform: rotate(-45deg); }
.style-card h3 {
  font-size: 1rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 400;
}

/* ── Portfolio gallery ───────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 78rem; margin: 0 auto;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.gallery-item {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border: 1px solid rgba(201,161,74,0.3);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08); background: var(--cream-bg);
  margin: 0;
}
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.7s ease-in-out;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-placeholder .gallery-item {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cream-bg), #f0ede5);
}
.gallery-placeholder-glyph { color: rgba(201,161,74,0.3); font-size: 2rem; }
.gallery-empty { color: #888; font-size: 0.92rem; margin-top: 1.5rem; font-style: italic; text-align: center; }

/* ── Artists ─────────────────────────────────────── */
.artists-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 78rem; margin: 0 auto;
}
@media (min-width: 640px) { .artists-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .artists-grid { grid-template-columns: repeat(3, 1fr); } }
.artist-card {
  background: #fff; padding: 2.5rem 1.5rem;
  border: 1px solid rgba(201,161,74,0.18);
  text-align: center; transition: border-color 0.3s, box-shadow 0.5s;
}
.artist-card:hover { border-color: rgba(201,161,74,0.45); box-shadow: 0 18px 40px rgba(0,0,0,0.06); }
.artist-avatar {
  width: 96px; height: 96px; margin: 0 auto 1.25rem;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(201,161,74,0.4);
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-card h3 {
  font-size: 1.05rem; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 400;
  margin-bottom: 0.4rem;
}
.artist-specialty {
  color: #888; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 300;
}
.artists-empty { color: #777; font-style: italic; text-align: center; }

/* ── Reviews ─────────────────────────────────────── */
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.reviews-rating { font-size: 1.6rem; color: var(--accent); font-weight: 400; }
.reviews-rating span { color: #aaa; font-size: 1rem; }
.reviews-count { color: #888; font-size: 0.95rem; letter-spacing: 0.04em; }
.reviews-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 72rem; margin: 0 auto;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: var(--cream-bg); padding: 2rem;
  border: 1px solid rgba(201,161,74,0.15); display: flex;
  flex-direction: column; min-height: 220px;
  transition: border-color 0.5s;
}
.review-card:hover { border-color: rgba(201,161,74,0.45); }
.review-card h3 {
  font-size: 0.95rem; color: var(--accent); text-transform: uppercase;
  letter-spacing: 0.12em; font-weight: 400; margin-bottom: 1rem;
}
.review-card p {
  color: #555; font-style: italic; line-height: 1.7;
  font-weight: 300; font-size: 0.95rem; flex-grow: 1;
}
.reviews-empty { color: #888; text-align: center; }

/* ── Hours ───────────────────────────────────────── */
.hours-wrap { max-width: 480px; margin: 0 auto; background: #fff; padding: 2rem; border: 1px solid rgba(201,161,74,0.15); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 0.65rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.95rem; color: #555; }
.hours-table th { font-weight: 400; width: 50%; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }
.hours-default { text-align: center; color: #666; font-style: italic; }

/* ── Live stats ──────────────────────────────────── */
.live-stats {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  padding: 2.5rem 1rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.live-stats .stat { text-align: center; }
.live-stats .stat-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
.live-stats .stat-label {
  font-size: 0.72rem;
  color: #999;
  margin-top: 0.6rem;
  display: block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ── Booking widget ──────────────────────────────── */
.booking-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  display: none; align-items: center; justify-content: center;
  padding: 1rem; z-index: 1000;
  backdrop-filter: blur(3px);
}
.booking-overlay.open { display: flex; }
.booking-sheet {
  background: #fff;
  border-radius: 0;
  width: 100%; max-width: 480px;
  padding: 2rem; position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
  max-height: 90vh; overflow: auto;
  border-top: 3px solid var(--accent);
}
.booking-sheet h3 {
  color: var(--accent); font-size: 1rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.booking-sub { color: #888; font-size: 0.85rem; margin-bottom: 1.25rem; font-style: italic; }
.booking-close {
  position: absolute;
  top: 0.75rem; right: 1rem;
  background: transparent; border: 0;
  font-size: 1.6rem; cursor: pointer; color: #aaa;
}
.booking-close:hover { color: #333; }
.booking-form { display: flex; flex-direction: column; gap: 0.85rem; }
.booking-form label {
  display: flex; flex-direction: column; gap: 0.3rem;
  font-size: 0.72rem; color: #888;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400;
}
.booking-form input, .booking-form select, .booking-form textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 0;
  font: inherit; font-weight: 300;
  background: #fff; color: #333;
  text-transform: none; letter-spacing: 0;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.booking-form .cta { margin-top: 0.5rem; }
.booking-status { margin: 0; min-height: 1.2em; font-size: 0.85rem; color: #777; }
.cta.primary {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 0.95rem 2rem; font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  border: 0; cursor: pointer; transition: filter 0.2s, transform 0.15s;
}
.cta.primary:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* ── Footer ──────────────────────────────────────── */
footer {
  text-align: center;
  padding: 4rem 1.25rem;
  background: #1a1a1a;
  color: #ccc;
}
.footer-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.socials { display: flex; gap: 2rem; justify-content: center; }
.socials a {
  color: #ccc; text-decoration: none;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 0.7rem; font-weight: 400;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem; transition: color 0.3s, border-color 0.3s;
}
.socials a:hover { color: var(--accent); border-bottom-color: var(--accent); }
footer .fine { font-size: 0.72rem; color: #777; letter-spacing: 0.14em; margin: 0; }
