/* ==========================================================================
   Reaper Madness Tattoo Parlor — Tempe, AZ
   Demo concept by Incline Digital Marketing Agency
   Palette: ink/charcoal + blood/vintage red + bone/cream + aged gold
   ========================================================================== */

:root {
  --ink: #0e0d0d;
  --charcoal: #1a1717;
  --charcoal-2: #221e1e;
  --blood: #9e1b1b;
  --blood-bright: #c8302f;
  --bone: #efe6d6;
  --bone-dim: #bdb2a0;
  --gold: #c9a24b;
  --gold-dim: #a8863a;
  --line: rgba(239, 230, 214, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --maxw: 1180px;
  --radius: 4px;
  --font-display: "Anton", "Impact", sans-serif;
  --font-accent: "Special Elite", "Courier New", monospace;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

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

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: 0.5px; text-transform: uppercase; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-family: var(--font-accent);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  display: inline-block;
  margin-bottom: 14px;
}

.section { padding: 84px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(2rem, 6vw, 3.4rem); color: var(--bone); }
.section-head p { color: var(--bone-dim); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.95rem;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blood); color: var(--bone); box-shadow: 0 8px 22px rgba(158, 27, 27, 0.35); }
.btn-primary:hover { background: var(--blood-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--bone); transform: translateY(-2px); }

/* ==========================================================================
   INTRO OVERLAY
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 45%, #211c1c 0%, var(--ink) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.intro.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__art { width: min(420px, 78vw); }
.intro__art svg { width: 100%; height: auto; overflow: visible; }

.ink-draw {
  fill: none;
  stroke: var(--bone);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2s ease forwards;
}
.ink-draw.gold { stroke: var(--gold); animation-delay: 0.35s; }
.ink-draw.red { stroke: var(--blood-bright); animation-delay: 0.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.intro__word {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  color: var(--bone);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  animation: introWord 0.8s ease 1.1s forwards;
  text-align: center;
}
.intro__word span { color: var(--blood-bright); }
.intro__sub {
  font-family: var(--font-accent);
  letter-spacing: 4px;
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0;
  animation: introWord 0.8s ease 1.5s forwards;
}
@keyframes introWord { to { opacity: 1; transform: translateY(0); } }

.intro__skip {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone-dim);
  font-family: var(--font-accent);
  letter-spacing: 2px;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.intro__skip:hover { color: var(--bone); border-color: var(--gold); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(14, 13, 13, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo svg { width: 34px; height: 34px; }
.logo__text { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: 1px; text-transform: uppercase; color: var(--bone); }
.logo__text b { color: var(--blood-bright); font-weight: 400; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover { color: var(--bone); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blood-bright); transition: width 0.22s ease;
}
.nav a:hover::after { width: 100%; }
.header__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--bone); margin: 4px 0; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 96px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(158, 27, 27, 0.22), transparent 55%),
    linear-gradient(180deg, #171313 0%, var(--ink) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 8vw, 5.2rem); color: var(--bone); }
.hero h1 span { color: var(--blood-bright); display: block; }
.hero__sub { color: var(--bone-dim); font-size: 1.14rem; margin: 22px 0 30px; max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-accent); font-size: 0.82rem; letter-spacing: 1px; color: var(--bone-dim);
}
.hero__trust b { color: var(--gold); }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blood); }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6)); }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 22px 0; }
.trustbar__item { display: flex; align-items: center; gap: 11px; }
.trustbar__item svg { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.trustbar__item strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--bone); display: block; letter-spacing: 0.5px; }
.trustbar__item span { font-size: 0.82rem; color: var(--bone-dim); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--ink); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blood), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 75, 0.4); background: var(--charcoal-2); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(158, 27, 27, 0.14); border: 1px solid rgba(158, 27, 27, 0.3);
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; color: var(--blood-bright); }
.card h3 { font-size: 1.35rem; color: var(--bone); margin-bottom: 9px; }
.card p { color: var(--bone-dim); font-size: 0.96rem; }

/* ==========================================================================
   WHY US
   ========================================================================== */
.why { background: linear-gradient(180deg, var(--charcoal) 0%, var(--ink) 100%); }
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 46px; align-items: center; }
.why__art svg { width: 100%; height: auto; }
.why__list { display: grid; gap: 22px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__num {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--blood-bright);
  border: 2px solid var(--line); border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature h3 { font-size: 1.2rem; color: var(--bone); margin-bottom: 5px; }
.feature p { color: var(--bone-dim); font-size: 0.96rem; }

/* ==========================================================================
   SHOWCASE (flash sheet)
   ========================================================================== */
.showcase { background: var(--ink); }
.flash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flash {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.flash:hover { transform: translateY(-5px) rotate(-1deg); border-color: rgba(201, 162, 75, 0.5); }
.flash svg { width: 100%; height: auto; color: var(--bone); }
.flash span { font-family: var(--font-accent); font-size: 0.72rem; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.flash-note { text-align: center; margin-top: 26px; color: var(--bone-dim); font-family: var(--font-accent); font-size: 0.85rem; letter-spacing: 1px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.reviews { background: linear-gradient(180deg, var(--ink) 0%, var(--charcoal) 100%); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; color: var(--blood); line-height: 0.5; opacity: 0.5; }
.quote p { color: var(--bone); font-size: 1.02rem; margin: 14px 0 18px; font-style: italic; }
.quote__by { font-family: var(--font-accent); letter-spacing: 1px; color: var(--gold); font-size: 0.82rem; text-transform: uppercase; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--ink); }
.faq__list { max-width: 800px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: transparent; border: none; color: var(--bone);
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.5px; text-transform: uppercase;
  text-align: left; padding: 22px 44px 22px 0; cursor: pointer; position: relative;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq__q:hover { color: var(--gold); }
.faq__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--blood-bright); border-radius: 2px; transition: transform 0.25s ease;
}
.faq__icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq__icon::after { top: 0; left: 10px; width: 2px; height: 22px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq__a p { color: var(--bone-dim); padding: 0 0 22px; font-size: 0.98rem; max-width: 90%; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(158, 27, 27, 0.35), transparent 60%),
    var(--charcoal);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center; padding: 74px 0;
}
.cta-band h2 { font-size: clamp(2rem, 6vw, 3.4rem); color: var(--bone); }
.cta-band p { color: var(--bone-dim); margin: 16px auto 28px; max-width: 560px; font-size: 1.08rem; }
.cta-band__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact__info { display: grid; gap: 20px; align-content: start; }
.contact__row { display: flex; gap: 14px; align-items: flex-start; }
.contact__row svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact__row strong { font-family: var(--font-display); color: var(--bone); letter-spacing: 0.5px; display: block; font-size: 1.05rem; }
.contact__row a, .contact__row span { color: var(--bone-dim); }
.contact__row a:hover { color: var(--gold); }
.contact__card {
  background: var(--charcoal); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
}
.contact__card h3 { color: var(--bone); font-size: 1.5rem; margin-bottom: 8px; }
.contact__card p { color: var(--bone-dim); margin-bottom: 22px; font-size: 0.96rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-accent); font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--bone); padding: 12px 14px; font-family: var(--font-body); font-size: 0.96rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blood-bright); }
.field textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 0.78rem; color: var(--bone-dim); margin-top: 6px; font-family: var(--font-accent); letter-spacing: 0.5px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--charcoal); border-top: 1px solid var(--line); padding: 46px 0 28px; }
.footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 26px; margin-bottom: 28px; }
.footer__brand { max-width: 300px; }
.footer__brand p { color: var(--bone-dim); font-size: 0.9rem; margin-top: 12px; }
.footer__col h4 { font-family: var(--font-accent); letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-size: 0.75rem; margin-bottom: 12px; }
.footer__col a { display: block; color: var(--bone-dim); font-size: 0.92rem; margin-bottom: 8px; transition: color 0.2s; }
.footer__col a:hover { color: var(--bone); }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: var(--bone-dim);
}
.footer__bottom a { color: var(--gold); }
.footer__bottom a:hover { text-decoration: underline; }

/* ==========================================================================
   MOBILE STICKY BAR
   ========================================================================== */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: rgba(14, 13, 13, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: 0.88rem; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 420px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__art { max-width: 440px; margin: 0 auto; }
  .services__grid, .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .flash-grid { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: block; }
  .header.nav-open .nav {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--charcoal); border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
  }
  .header.nav-open .nav a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .header.nav-open .nav a::after { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .section { padding: 60px 0; }
  .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .flash-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 2.5rem; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ink-draw { stroke-dashoffset: 0; }
  .intro__word, .intro__sub { opacity: 1; transform: none; }
}
