/* Alter Egos Tattoos — site styles */
:root {
  --black: #000;
  --charcoal: #2f2e2e;
  --gray-dark: #333;
  --gray: #555;
  --red: #a60f15;
  --red-dark: #8b0000;
  --red-bright: #e31b23;
  --white: #fff;
  --text-muted: #bdbdbd;
  --font-body: "Open Sans", Arial, Helvetica, sans-serif;
  --font-nav: "Anton", "Oswald", Impact, sans-serif;
  --font-title: "Montserrat", "Poppins", Arial, sans-serif;
  --font-accent: "Poppins", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-bottom: 4px solid var(--gray);
}
.nav {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  height: 60px; padding: 0 16px;
}
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; justify-content: space-around; }
.nav li { position: relative; }
.nav a {
  font-family: var(--font-nav);
  font-size: 18px; letter-spacing: .02em;
  text-decoration: none; text-transform: uppercase;
  color: var(--white); padding: 18px 12px; display: block;
  transition: color .15s;
}
.nav a:hover, .nav a.active { color: var(--red-bright); }
.nav .submenu {
  list-style: none; margin: 0; padding: 0;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--black); border: 1px solid var(--gray);
  min-width: 210px; display: none;
}
.nav li:hover > .submenu, .nav li:focus-within > .submenu { display: block; }
.nav .submenu a { font-size: 16px; padding: 12px 18px; text-align: center; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 30px; cursor: pointer; padding: 6px 10px; }

@media (max-width: 720px) {
  .nav { justify-content: space-between; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav > ul {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; background: var(--black); border-bottom: 4px solid var(--gray);
  }
  .nav.open > ul { display: flex; }
  .nav a { text-align: center; padding: 14px; }
  .nav .submenu { position: static; transform: none; display: block; border: 0; background: #111; }
  .nav .submenu a { font-size: 15px; padding: 10px; }
}

/* ---------- Shared sections ---------- */
.page-title {
  font-family: var(--font-title); font-weight: 900;
  font-size: clamp(36px, 7vw, 64px);
  letter-spacing: .06em; text-transform: uppercase;
  text-align: center; margin: 0 0 10px; line-height: 1.1;
}
.band { padding: 50px 20px; }
.band-black { background: var(--black); }
.band-charcoal { background: var(--charcoal); }
.band-gray { background: var(--gray-dark); }
.band-red { background: var(--red-dark); }
.wrap { max-width: 980px; margin: 0 auto; }
.center { text-align: center; }
.note-red { color: var(--red-bright); font-size: 14px; margin: 4px 0 0; }
.lede { color: #ddd; max-width: 760px; margin: 0 auto; }

/* ---------- Home ---------- */
.hero { background: var(--black); padding: 30px 20px 34px; text-align: center; border-bottom: 4px solid var(--gray); }
.hero .logo { width: min(520px, 92%); height: auto; margin: 0 auto; }
.hero h1 {
  font-family: var(--font-accent); font-weight: 600;
  font-size: clamp(16px, 2.6vw, 22px); letter-spacing: .04em;
  color: #e9e9e9; margin: 22px 0 0;
}
.strip { overflow: hidden; background: var(--black); border-bottom: 4px solid var(--gray); }
.strip-track { display: flex; width: max-content; animation: strip-scroll 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: 300px; width: auto; aspect-ratio: 2 / 3; object-fit: cover; }
@keyframes strip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } .strip { overflow-x: auto; } }
@media (max-width: 720px) { .strip img { height: 220px; } }

.intro { background: var(--gray-dark); text-align: center; padding: 48px 20px; }
.intro p { max-width: 900px; margin: 0 auto 6px; font-size: 16px; }
.addons { background: var(--gray); text-align: center; padding: 44px 20px 50px; }
.addons h2 { font-family: var(--font-accent); font-weight: 600; font-size: 22px; letter-spacing: .06em; color: #ddd; margin: 0 0 22px; }
.addons h3 { font-size: 16px; margin: 18px 0 4px; }
.addons p { max-width: 760px; margin: 0 auto; }

.share-bar { background: var(--red); padding: 26px 20px; }
.share-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.share-bar p { font-family: var(--font-accent); font-weight: 600; font-size: clamp(18px, 3vw, 26px); margin: 0; color: #111; }
.share-bar p a { color: #fff; text-decoration: none; }

/* ---------- Social icons ---------- */
.social { display: flex; gap: 14px; align-items: center; justify-content: center; }
.social a { display: inline-flex; width: 30px; height: 30px; color: #fff; opacity: .95; }
.social a:hover { opacity: .7; }
.social svg { width: 100%; height: 100%; fill: currentColor; }

/* ---------- Galleries landing ---------- */
.gal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.gal-card { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; text-decoration: none; background: #111; }
.gal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-card:hover img { transform: scale(1.04); }
.gal-card .label {
  position: absolute; left: 0; right: 0; top: 0; padding: 14px 16px 30px;
  background: linear-gradient(rgba(0,0,0,.75), transparent);
}
.gal-card .label strong { font-family: var(--font-nav); font-size: 22px; font-weight: 400; letter-spacing: .02em; display: block; }
.gal-card .label span { font-family: var(--font-nav); font-size: 14px; color: #ccc; letter-spacing: .04em; }
@media (max-width: 720px) { .gal-cards { grid-template-columns: 1fr; } }

/* ---------- Photo grids ---------- */
.grid { display: grid; gap: 4px; grid-template-columns: repeat(4, 1fr); }
.grid figure { margin: 0; position: relative; background: #111; cursor: zoom-in; overflow: hidden; }
.grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: opacity .2s; }
.grid figure:hover img { opacity: .85; }
.grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: 13px; line-height: 1.35;
}
.grid figcaption small { display: block; color: #ccc; font-size: 12px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }

.ba-list { display: grid; gap: 34px; }
.ba-list figure { margin: 0; cursor: zoom-in; }
.ba-list figcaption { text-align: center; font-family: var(--font-nav); font-size: 22px; margin-top: 10px; letter-spacing: .03em; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94);
  display: none; align-items: center; justify-content: center; flex-direction: column; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; }
.lightbox .lb-cap { margin-top: 12px; text-align: center; max-width: 700px; }
.lightbox .lb-cap small { display: block; color: #bbb; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 44px; line-height: 1; padding: 10px 16px; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- Information ---------- */
.subnav { background: var(--red-dark); padding: 14px 10px; text-align: center; }
.subnav a { font-family: var(--font-accent); font-weight: 600; text-decoration: none; font-size: clamp(14px, 2.4vw, 20px); padding: 0 10px; }
.subnav a:hover { color: #ffb3b3; }
.subnav span { color: #fff; }
.info-group { max-width: 980px; margin: 0 auto; }
.info-group h2 { font-family: var(--font-accent); font-weight: 600; font-size: 20px; color: #9a9a9a; letter-spacing: .04em; margin: 34px 0 6px; }
.info-item h3 { font-family: var(--font-nav); font-weight: 400; color: var(--red-bright); font-size: 16px; letter-spacing: .03em; margin: 18px 0 0; text-transform: uppercase; }
.info-item p { margin: 2px 0 0; }
section[id] { scroll-margin-top: 70px; }

.about { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.about img { width: 280px; height: 280px; border-radius: 50%; object-fit: cover; }
.about p { text-align: center; }
.about blockquote { margin: 22px 0 0; font-style: italic; text-align: center; }
.about cite { display: block; color: #ffb0a0; margin-top: 6px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; justify-items: center; } .about img { width: 220px; height: 220px; } }

.clients { columns: 2; column-gap: 40px; max-width: 620px; margin: 20px auto 0; padding: 0; list-style: none; text-align: center; }
.clients li { padding: 6px 0; break-inside: avoid; }
@media (max-width: 560px) { .clients { columns: 1; } }

.testimonial { text-align: center; margin: 26px auto 0; max-width: 760px; }
.testimonial q { font-size: 18px; font-style: italic; }
.testimonial div { color: var(--red-bright); margin-top: 6px; }

/* ---------- Contact ---------- */
.contact-form { max-width: 720px; margin: 30px auto 0; display: grid; grid-template-columns: 90px 1fr; gap: 12px 14px; align-items: start; }
.contact-form label { font-size: 13px; text-align: right; padding-top: 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--gray-dark); border: 1px solid #444; color: #fff;
  font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 2px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--red-bright); outline-offset: 0; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .actions { grid-column: 2; text-align: right; }
.contact-form button {
  background: var(--red); color: #fff; border: 0; padding: 8px 22px; font: inherit; cursor: pointer; border-radius: 2px;
}
.contact-form button:hover { background: var(--red-bright); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { max-width: 720px; margin: 20px auto 0; padding: 12px 16px; text-align: center; border-radius: 2px; display: none; }
.form-msg.ok { display: block; background: #1d4d24; }
.form-msg.err { display: block; background: var(--red); }
.contact-direct { text-align: center; margin-top: 34px; color: #ccc; }
.contact-direct a { color: #fff; }
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { text-align: left; padding: 0; }
  .contact-form .actions { grid-column: 1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-dark); color: var(--text-muted); text-align: center; padding: 40px 20px 30px; font-size: 14px; }
.site-footer strong { color: #ddd; font-size: 15px; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .social { margin: 30px 0; }
.site-footer .legal { font-family: Arial, sans-serif; font-size: 11px; color: #9a9a9a; margin-top: 10px; }
