/* Red Locust Tattoo — single-page landing site */

:root {
    --ink: #161214;
    --ink-2: #1f1a1c;
    --ink-3: #2a2326;
    --bone: #ece5da;
    --bone-dim: #b3a99c;
    --red: #a41e22;
    --red-bright: #c9302f;
    --line: rgba(236, 229, 218, 0.14);
    --font-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
    background: var(--ink);
    color: var(--bone);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--bone); }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--red-bright);
    outline-offset: 3px;
}

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

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

section { padding: 5rem 0; }

.kicker {
    color: var(--red-bright);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1.75rem; }
.section-title::after {
    content: "";
    display: block;
    width: 4.5rem;
    height: 3px;
    margin-top: 0.85rem;
    background: var(--red);
    transform-origin: left;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--red);
    border-radius: 3px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-bright); border-color: var(--red-bright); }
.btn-ghost { background: transparent; color: var(--bone); }
.btn-ghost:hover { border-color: var(--red-bright); color: #fff; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(22, 18, 20, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.25rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.45rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.brand img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; }
.brand .red { color: var(--red-bright); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a {
    text-decoration: none;
    color: var(--bone-dim);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.15s ease;
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-call {
    color: #fff;
    border: 1.5px solid var(--red);
    border-radius: 3px;
    padding: 0.4rem 0.9rem;
}
.site-nav .nav-call:hover { background: var(--red); }
@media (max-width: 46rem) {
    .site-nav a:not(.nav-call) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: min(92vh, 54rem);
    display: flex;
    align-items: center;
    padding: 7rem 0;
    overflow: hidden;
    background: var(--ink);
}
.hero-bg {
    position: absolute;
    inset: -18% 0;
    z-index: 0;
    background:
        linear-gradient(to bottom, rgba(22, 18, 20, 0.72), rgba(22, 18, 20, 0.55) 55%, var(--ink)),
        url("/images/hero.webp") center 30% / cover no-repeat;
    will-change: transform;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner { max-width: 46rem; }
.hero h1 {
    font-size: clamp(3.4rem, 9vw, 6.2rem);
    margin: 0.4rem 0 1rem;
}
.hero h1 .red { color: var(--red-bright); }
.hero .tagline {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--bone);
    max-width: 34em;
    margin-bottom: 0.6rem;
}
.hero .motto {
    color: var(--bone-dim);
    font-style: italic;
    margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-meta {
    margin-top: 2.6rem;
    color: var(--bone-dim);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
.hero-meta strong { color: var(--bone); font-weight: 600; }

/* ---------- About ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}
.about-copy p { margin-bottom: 1.1rem; color: var(--bone); }
.about-copy .since {
    color: var(--bone-dim);
    font-size: 0.98rem;
}
.points {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}
.points li {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-left: 3px solid var(--red);
    border-radius: 3px;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
@media (max-width: 52rem) {
    .about-grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ---------- Artists ---------- */

.artists { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 2rem;
    max-width: 52rem;
}
.artist-card {
    background: var(--ink);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}
.artist-card figure {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 2px solid var(--red);
}
.artist-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s ease;
}
.artist-card:hover figure img { transform: scale(1.04); }
.artist-body { padding: 1.25rem 1.4rem 1.5rem; }
.artist-body h3 { font-size: 1.9rem; }
.artist-body .role { color: var(--red-bright); font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0.15rem 0 0.9rem; }
.artist-links { display: flex; gap: 0.9rem; }
.artist-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--bone-dim);
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0.35rem 0.7rem;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.artist-links a:hover { color: #fff; border-color: var(--red-bright); }
.artist-links svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Gallery ---------- */

.gallery-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.8rem; }
.gallery-tabs button {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--bone-dim);
    background: transparent;
    border: 1.5px solid var(--line);
    border-radius: 3px;
    padding: 0.45rem 1.2rem;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.gallery-tabs button:hover { color: #fff; }
.gallery-tabs button[aria-pressed="true"] {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}

.carousel { position: relative; }
.car-track {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0 1.1rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { display: none; }
.gallery-item {
    flex: none;
    height: clamp(17rem, 44vw, 26rem);
    scroll-snap-align: center;
    border-radius: 4px;
    overflow: hidden;
    background: var(--ink-2);
}
.gallery-item.hidden { display: none; }
.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.03); opacity: 0.88; }

.car-prev, .car-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(22, 18, 20, 0.78);
    color: var(--bone);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.car-prev:hover, .car-next:hover { background: var(--red); border-color: var(--red); color: #fff; }
.car-prev { left: 0.6rem; }
.car-next { right: 0.6rem; }
.car-counter {
    position: absolute;
    right: 0.35rem;
    bottom: -1.4rem;
    color: var(--bone-dim);
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.14em;
}
@media (max-width: 46rem) {
    .car-prev, .car-next { width: 2.4rem; height: 2.4rem; }
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 9, 0.94);
    padding: 2.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: min(92vw, 60rem);
    max-height: 86vh;
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
}
.lightbox button {
    position: absolute;
    background: rgba(236, 229, 218, 0.08);
    color: var(--bone);
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lightbox button:hover { background: var(--red); color: #fff; }
.lb-close { top: 1.1rem; right: 1.1rem; }
.lb-prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.1rem; top: 50%; transform: translateY(-50%); }
.lb-caption {
    position: absolute;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--bone-dim);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
}

/* ---------- Visit ---------- */

.visit { background: var(--ink-2); border-top: 1px solid var(--line); }
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.visit-photo img { border-radius: 4px; border: 1px solid var(--line); }
.visit-photo figcaption { color: var(--bone-dim); font-size: 0.9rem; margin-top: 0.6rem; }

.visit-info h3 {
    font-size: 1.35rem;
    letter-spacing: 0.14em;
    color: var(--red-bright);
    margin: 1.6rem 0 0.6rem;
}
.visit-info h3:first-child { margin-top: 0; }
.visit-info address { font-style: normal; }
.visit-info a { color: var(--bone); text-decoration-color: rgba(201, 48, 47, 0.6); }
.visit-info a:hover { color: #fff; }

.hours { border-collapse: collapse; }
.hours td { padding: 0.22rem 0; }
.hours td:first-child { padding-right: 2.2rem; color: var(--bone-dim); }
.hours .closed td:last-child { color: var(--bone-dim); }
.hours .today td { color: #fff; font-weight: 600; }

.visit-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.review-line { margin-top: 1.8rem; color: var(--bone-dim); font-size: 0.98rem; }
.review-line a { color: var(--bone); }

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

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.2rem 0 5.5rem;
    color: var(--bone-dim);
    font-size: 0.92rem;
}
.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 2rem;
}
.site-footer a { color: var(--bone-dim); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-social { margin-left: auto; display: flex; gap: 1rem; }
.footer-social svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

/* ---------- Motion & scroll flare ---------- */
/* Hidden states only apply when JS is running (html.js) and motion is allowed,
   so content is never lost without JavaScript or with reduced motion. */

@media (prefers-reduced-motion: no-preference) {
    html.js .reveal {
        opacity: 0;
        transform: translateY(26px);
        transition: opacity 0.7s ease, transform 0.7s ease;
        transition-delay: var(--d, 0s);
    }
    html.js .reveal.in { opacity: 1; transform: none; }

    html.js .section-title.reveal::after {
        transform: scaleX(0);
        transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: calc(var(--d, 0s) + 0.25s);
    }
    html.js .section-title.reveal.in::after { transform: scaleX(1); }

    .hero-bg { animation: hero-zoom 2s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
    .hero-inner > * { animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
    .hero-inner > :nth-child(2) { animation-delay: 0.12s; }
    .hero-inner > :nth-child(3) { animation-delay: 0.24s; }
    .hero-inner > :nth-child(4) { animation-delay: 0.36s; }
    .hero-inner > :nth-child(5) { animation-delay: 0.48s; }
    .hero-inner > :nth-child(6) { animation-delay: 0.6s; }

    @keyframes hero-zoom {
        from { transform: scale(1.08); }
        to   { transform: scale(1); }
    }
    @keyframes fade-up {
        from { opacity: 0; transform: translateY(22px); }
        to   { opacity: 1; transform: none; }
    }
}

.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }

/* ---------- Mobile call bar ---------- */

.call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
}
.call-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}
.call-bar svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.call-bar .bar-call { background: var(--red); }
.call-bar .bar-msg { background: var(--ink-3); }
@media (max-width: 46rem) {
    .call-bar { display: flex; }
    section { padding: 3.5rem 0; }
}
