/* Tattoos page (/tattoos/) — standalone, mobile-first.
   Matches the main site's fonts (Playfair Display / Open Sans) and colors (#444 text, #7E63B8 accent)
   without loading the full template CSS. */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #333;
    background: #fff;
}

a {
    color: #6F52A8;
}

a:hover,
a:focus {
    color: #5E4596;
}

:focus-visible {
    outline: 3px solid #7E63B8;
    outline-offset: 2px;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #222;
    line-height: 1.2;
}

h1 {
    font-size: 34px;
    margin: 0 0 20px;
}

h2 {
    font-size: 28px;
    margin: 0 0 16px;
}

h3 {
    font-size: 20px;
    margin: 28px 0 8px;
}

p,
ul {
    margin: 0 0 16px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    padding: 8px 12px;
    z-index: 100;
}

.skip-link:focus {
    left: 8px;
}

/* header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #f3f3f3;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 16px;
}

.nav-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #444;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #444;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    padding: 8px 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #7E63B8;
}

.nav-ig svg {
    display: block;
}

/* layout */
main {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

main > section {
    padding: 36px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb li + li::before {
    content: "\203A";
    margin: 0 8px;
}

.hero {
    padding-top: 20px;
}

.lead {
    font-size: 19px;
}

/* buttons */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    min-height: 48px;
}

.btn-primary {
    background: #7E63B8;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #5E4596;
    color: #fff;
}

.btn-secondary {
    border: 2px solid #7E63B8;
    color: #5E4596;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #7E63B8;
    color: #fff;
}

.btn-link {
    font-weight: 600;
    padding: 12px 0;
}

.book ul {
    padding-left: 22px;
}

.book li {
    margin-bottom: 6px;
}

/* portfolio */
.tattoo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}

.tattoo-gallery figure {
    margin: 0;
}

.tattoo-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f5f5f5;
}

.tattoo-gallery figcaption {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

.ig-embeds {
    display: grid;
    gap: 16px;
    justify-items: center;
}

.ig-embeds:empty {
    display: none;
}

.ig-embeds .instagram-media {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 540px !important;
}

/* faq */
.faq h3:first-child {
    margin-top: 0;
}

.closing {
    text-align: center;
    border-bottom: 0;
}

.closing .cta-row {
    justify-content: center;
}

.site-footer {
    text-align: center;
    font-size: 14px;
    color: #555;
    padding: 24px 16px 40px;
    background: #fafafa;
}

.site-footer p {
    margin: 4px 0;
}

@media (min-width: 768px) {
    h1 {
        font-size: 46px;
    }

    h2 {
        font-size: 32px;
    }

    .site-header nav {
        padding: 16px 20px;
    }

    .tattoo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
