/* Inkwell Tattoo Studio — dark, bold one-page theme */

:root {
  --bg: #0a0a0b;
  --bg-alt: #101013;
  --surface: #17171b;
  --surface-2: #1e1e24;
  --border: #2a2a31;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #e63946;
  --accent-hover: #ff4d5a;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5b;
  --radius: 14px;
  --maxw: 1140px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -0.02em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: .7rem 1rem;
  border-radius: 0 0 var(--radius) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--accent-hover);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; text-decoration: none; cursor: pointer;
  padding: .7rem 1.2rem; border-radius: 999px; border: 2px solid transparent;
  transition: background .15s ease, transform .1s ease, border-color .15s ease;
  font-size: .95rem;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }

.btn-whatsapp { background: var(--whatsapp); color: #052e16; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }

.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }

.wa-icon { flex: none; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; color: var(--accent); margin: 0 0 .6rem;
}

.placeholder-note {
  display: inline-block; font-size: .8rem; color: var(--muted);
  font-style: italic; background: var(--surface-2); border: 1px dashed var(--border);
  padding: .1rem .5rem; border-radius: 6px;
}

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: .8rem 1.25rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 800; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 1.25rem; letter-spacing: -.02em; }
.nav-links {
  list-style: none; display: flex; gap: 1.4rem; margin: 0 auto 0 1rem; padding: 0;
}
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 12vw, 8rem) 1.25rem clamp(3.5rem, 9vw, 6rem);
  text-align: center;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(230,57,70,.22), transparent 60%),
    var(--bg);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(3.5rem, 15vw, 8rem); font-weight: 900;
  letter-spacing: -.04em; text-transform: uppercase;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--muted);
  max-width: 620px; margin: 1.2rem auto 2rem;
}
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(600px 300px at 80% 120%, rgba(230,57,70,.12), transparent 70%);
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-alt .section-head,
.section-alt .gallery-grid { max-width: var(--maxw); margin-inline: auto; }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; text-transform: uppercase; }
.section-lead { color: var(--muted); max-width: 640px; margin: .9rem auto 0; }

/* Artists */
.artists-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.artist-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.artist-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.artist-photo { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; }
.artist-body { padding: 1.3rem 1.4rem 1.6rem; }
.artist-body h3 { font-size: 1.4rem; font-weight: 800; }
.artist-style { color: var(--accent); font-weight: 700; font-size: .9rem; margin: .3rem 0 .7rem; text-transform: uppercase; letter-spacing: .05em; }
.artist-bio { color: var(--muted); margin: 0; font-size: .96rem; }

/* Gallery */
.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-grid li {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--surface);
}
.gallery-grid img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .25s ease, filter .25s ease; filter: saturate(.92);
}
.gallery-grid li:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* Visit (hours + map) */
.visit-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}
.hours-card, .map-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1.7rem;
}
.hours-card h3, .map-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .6rem; }
.studio-address { color: var(--muted); margin: .2rem 0 0; font-size: .98rem; }
.hours-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.hours-table th { font-weight: 600; color: var(--text); }
.hours-table td { text-align: right; color: var(--muted); }
.map-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 11;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--border); margin-top: 1rem;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 2.2rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-meta { color: var(--muted); margin: .25rem 0 0; font-size: .9rem; }
.footer-copy { color: var(--muted); font-size: .88rem; margin: 0; }

/* Sticky WhatsApp FAB (mobile) */
.fab-whatsapp {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #052e16;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  transition: background .15s ease, transform .1s ease;
}
.fab-whatsapp:hover { background: var(--whatsapp-hover); }
.fab-whatsapp:active { transform: scale(.95); }

/* Responsive */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-cta .wa-icon { margin: 0; }
  .fab-whatsapp { display: flex; }
}

@media (max-width: 420px) {
  .nav-cta { padding: .55rem .8rem; font-size: 0; gap: 0; }
  .nav-cta .wa-icon { font-size: 1rem; }
  .btn-lg { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .7rem; }
.faq-list summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--radius); }
.faq-list details p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--muted); }

/* Pending (unconfirmed) WhatsApp booking: visible but not clickable */
[hidden] { display: none !important; }
.is-pending { opacity: .6; cursor: not-allowed; pointer-events: none; }
