/* Panot Tattoo Studio — shared styles */

:root {
  --bg: #0c0c0b;
  --bg-alt: #161512;
  --line: #2a2822;
  --cream: #f3ecdd;
  --cream-dim: #b9b2a1;
  --accent: #b23a2e;
  --accent-dim: #7a2820;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, .brand-word {
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: 0.04em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Dev banner */
body.has-dev-banner { padding-top: 38px; }

.dev-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1400;
  color: #f0c94a;
  text-align: center;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #4a3a00;
  animation: dev-flash 1.1s steps(1, end) infinite;
}

@keyframes dev-flash {
  0%, 49% { color: #f0c94a; background-color: #1a1400; }
  50%, 100% { color: #0c0c0b; background-color: #f0c94a; }
}

/* Header */
header.site {
  position: sticky;
  top: 38px;
  z-index: 20;
  background: rgba(12, 12, 11, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg, .brand img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-size: 22px; color: var(--cream); }
.brand-sub { font-size: 10px; letter-spacing: 0.3em; color: var(--cream-dim); margin-top: 2px; }

nav.links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav.links a:hover { color: var(--accent); }

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.lang-switch a {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--cream-dim);
}
.lang-switch a.active {
  color: var(--bg);
  background: var(--cream);
  border-color: var(--cream);
}

.nav-toggle { display: none; }

/* Hero */
.hero {
  padding: 90px 24px 70px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(178, 58, 46, 0.18), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23f3ecdd' stroke-opacity='0.05' stroke-width='1.5'%3E%3Ccircle cx='60' cy='38' r='16'/%3E%3Ccircle cx='60' cy='82' r='16'/%3E%3Ccircle cx='38' cy='60' r='16'/%3E%3Ccircle cx='82' cy='60' r='16'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 120px 120px;
}

.hero .mark { width: 120px; height: 120px; margin: 0 auto 28px; }

.hero-emblem {
  width: min(220px, 45vw);
  height: auto;
  margin: 0 auto 20px;
  border-radius: 22px;
  filter: drop-shadow(0 0 26px rgba(178, 58, 46, 0.3));
  animation: hero-glow 5s ease-in-out infinite;
}

.cs-ribbon {
  width: min(300px, 65vw);
  height: auto;
  display: block;
  margin: 16px auto 0;
}

@keyframes hero-glow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(178, 58, 46, 0.24)); }
  50% { filter: drop-shadow(0 0 34px rgba(178, 58, 46, 0.42)); }
}

.hero h1 {
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.95;
}

.hero .tagline {
  margin-top: 14px;
  color: var(--cream-dim);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

.hero p.lede {
  max-width: 560px;
  margin: 26px auto 0;
  color: var(--cream-dim);
  font-size: 16px;
}

.cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 3px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--accent); color: var(--cream); }
.btn.outline { color: var(--cream); border-color: var(--line); }
.btn.outline:hover { border-color: var(--accent); }

/* Sections */
section { padding: 80px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
section:last-of-type { border-bottom: none; }

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 10px;
  display: block;
}

section h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 20px; }

.section-head { max-width: 620px; margin-bottom: 46px; }
.section-head p { color: var(--cream-dim); font-size: 16px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}
.about-grid p { color: var(--cream-dim); margin-bottom: 16px; }
.stat-list { display: grid; gap: 22px; }
.stat { border-left: 2px solid var(--accent); padding-left: 16px; }
.stat .num { font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: var(--cream); }
.stat .label { color: var(--cream-dim); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Artists */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.artist-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 22px;
  text-align: center;
}
.artist-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #3a3730, #1a1815);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  color: var(--cream-dim);
}
.artist-card h3 { font-size: 22px; margin-bottom: 4px; }
.artist-role { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; display: block; }
.artist-card a.ig { font-size: 13px; color: var(--cream-dim); border-bottom: 1px dotted var(--line); }
.artist-card a.ig:hover { color: var(--accent); }

@media (max-width: 760px) {
  .artist-grid { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-tile {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--bg-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg fill='none' stroke='%23f3ecdd' stroke-opacity='0.06' stroke-width='1.2'%3E%3Ccircle cx='45' cy='27' r='12'/%3E%3Ccircle cx='45' cy='63' r='12'/%3E%3Ccircle cx='27' cy='45' r='12'/%3E%3Ccircle cx='63' cy='45' r='12'/%3E%3C/g%3E%3C/svg%3E");
  border: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--cream-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 10px;
}
.gallery-tile::before {
  content: "+";
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Visit / contact */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.info-block { margin-bottom: 28px; }
.info-block h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
}
.info-block p, .info-block a { color: var(--cream); font-size: 16px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 0; color: var(--cream-dim); font-size: 15px; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--cream); }

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(0.4) invert(0.92) contrast(0.9); }

@media (max-width: 760px) {
  .visit-grid { grid-template-columns: 1fr; }
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  color: var(--cream-dim);
  font-size: 13px;
}
footer .social { margin-bottom: 14px; display: flex; gap: 20px; justify-content: center; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; }
footer .social a:hover { color: var(--accent); }

/* Mobile nav */
@media (max-width: 720px) {
  nav.links {
    position: fixed;
    top: calc(38px + 66px);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 16px;
    display: none;
  }
  nav.links.open { display: flex; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    color: var(--cream);
    font-size: 20px;
    padding: 6px 12px;
    border-radius: 3px;
  }
}
