
/*
Theme Name: Backbone Tattoo
Theme URI: http://localhost/backbone-tattoo/
Author: Backbone Tattoo Development Team
Description: Custom WordPress theme for Backbone Tattoo Studio.
Version: 1.0.0
Text Domain: backbone-tattoo
*/

/* =========================================
   1. FONTS AND COLOURS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@400;500;600;700;800;900&display=swap');

:root {
    --color-background: #0e0d0c;
    --color-surface: #151311;
    --color-text: #f5f1eb;
    --color-muted: #b5a99d;
    --color-gold: #bc8943;
    --color-border: #302a24;

    --font-heading: 'Barlow Condensed', Impact, sans-serif;
    --font-body: 'Barlow', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   2. HEADER AND LOGO
========================================= */

.site-header {
    position: relative;
    z-index: 100;
    padding: 20px 4%;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
}

/* =========================================
   3. DESKTOP NAVIGATION
========================================= */

.main-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(20px, 3vw, 45px);

    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.main-navigation > a,
.dropdown-toggle {
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.dropdown-toggle:hover {
    color: var(--color-gold);
}

/* Highlight HOME on the homepage */

body.home .main-navigation > a:first-child {
    color: var(--color-gold);
}

/* =========================================
   4. AFTERCARE DROPDOWN
========================================= */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.nav-dropdown:focus-within .dropdown-toggle {
    color: var(--color-gold);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;

    min-width: 210px;
    padding: 12px 0;
    background: var(--color-background);
    border: 1px solid var(--color-border);
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

/* =========================================
   5. MOBILE MENU BUTTON
========================================= */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 44px;
    height: 44px;
    padding: 8px;

    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
}

/* =========================================
   6. STANDARD WORDPRESS PAGES
========================================= */

.site-content {
    min-height: 60vh;
    padding: 80px 6%;
}

.site-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    text-transform: uppercase;
}

.page-content {
    width: 100%;
    max-width: 1200px;
    min-height: 60vh;
    margin: 0 auto;
    padding: 80px 30px;
}

.page-content h1 {
    margin: 0 0 40px;
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.2;
    text-transform: uppercase;
}

.page-body {
    max-width: 850px;
    line-height: 1.8;
}

/* =========================================
   7. FOOTER
========================================= */

.site-footer {
    padding: 35px 4%;
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border);
    color: #aaa;
    font-size: 13px;
}

/* =========================================
   8. HOMEPAGE TRANSPARENT HEADER
========================================= */

.site-header
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;

    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* =========================================
   9. HOMEPAGE HERO
========================================= */

.homepage .hero {
    position: relative;
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 900px;
    padding: 170px 4% 85px;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.88) 30%,
            rgba(0, 0, 0, 0.60) 60%,
            rgba(0, 0, 0, 0.40) 100%
        ),
        url('assets/homepage-hero.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero content */

.homepage .hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 760px;
    margin: 0;
}

/* =========================================
   10. HERO TYPOGRAPHY
========================================= */

.homepage .hero .hero-title {
    display: block;
    max-width: 760px;
    margin: 0;

    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: clamp(65px, 6.2vw, 100px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* WITH YOU */

.homepage .hero .hero-title-middle {
    display: block;
    margin-top: 16px;

    font-size: 0.55em;
    font-weight: 800;
    letter-spacing: 6px;
    line-height: 1;
}

/* FOREVER. */

.homepage .hero .hero-title-gold {
    display: block;
    margin-top: 10px;

    color: var(--color-gold);
    font-size: 1.35em;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.95;
}

.homepage .hero .hero-dot {
    color: var(--color-text);
}

/* =========================================
   11. DECORATIVE GOLD DIVIDER
========================================= */

.hero-divider {
    display: flex;
    align-items: center;
    gap: 16px;

    margin: 36px 0 40px;
    color: var(--color-gold);
}

.hero-divider > span:not(.divider-diamond) {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-gold);
}

.divider-diamond {
    font-size: 17px;
    line-height: 1;
}

/* =========================================
   12. HERO LOCATION AND DESCRIPTION
========================================= */

.homepage .hero .hero-location {
    margin: 0 0 30px;

    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1.4;
    text-transform: uppercase;
}

.homepage .hero .hero-description {
    max-width: 530px;
    margin: 0 0 50px;

    color: #d5cec5;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    text-transform: none;
}

/* =========================================
   13. HERO BUTTON
========================================= */

.homepage .hero-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;

    min-width: 330px;
    padding: 20px 45px;

    border: 1px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);

    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;

    transition: background 0.2s ease, color 0.2s ease;
}

.homepage .hero-button:hover {
    background: var(--color-gold);
    color: var(--color-background);
}

/* =========================================
   14. FOUR-COLUMN INFORMATION STRIP
========================================= */

.homepage .studio-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    width: 100%;
    background-color: var(--color-surface);

    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.homepage .info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 250px;
    padding: 40px 20px;

    text-align: center;
    border-right: 1px solid var(--color-border);
}

.homepage .info-item:last-child {
    border-right: none;
}

/* Gold icons */

.homepage .info-icon {
    display: block;
    margin-bottom: 25px;

    color: var(--color-gold);
    font-family: Arial, sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
}

/* Information headings */

.homepage .info-item h3 {
    margin: 0 0 8px;

    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Information secondary text */

.homepage .info-item p {
    margin: 0;

    color: var(--color-muted);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* =========================================
   15. TABLET AND MOBILE
========================================= */

@media (max-width: 768px) {

    /* Header */

    .site-header {
        padding: 18px 6%;
    }

    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .logo-image {
        width: 135px;
    }

    /* Mobile menu */

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        gap: 0;
        padding: 20px 0;

        background: var(--color-background);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation > a,
    .dropdown-toggle {
        display: block;
        width: 100%;
        padding: 12px 0;
        text-align: left;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        padding-left: 15px;
    }

    .nav-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-dropdown.is-open .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: block;
    }

    /* Standard pages */

    .site-content {
        padding: 50px 6%;
    }

    .page-content {
        padding: 50px 6%;
    }

    /* Homepage hero */

    .homepage .hero {
        min-height: 750px;
        padding: 155px 6% 65px;
        background-position: 58% center;
    }

    .homepage .hero-content {
        max-width: 100%;
    }

    .homepage .hero .hero-title {
        font-size: clamp(50px, 10vw, 75px);
    }

    .homepage .hero .hero-title-middle {
        letter-spacing: 3px;
    }

    .homepage .hero .hero-title-gold {
        font-size: 1.15em;
        letter-spacing: -1px;
    }

    .homepage .hero .hero-location {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .homepage .hero .hero-description {
        font-size: 16px;
        line-height: 1.65;
    }

    .homepage .hero-button {
        min-width: 0;
        width: 100%;
        max-width: 330px;
        padding: 18px 25px;
    }

    /* Information strip */

    .homepage .studio-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage .info-item {
        min-height: 190px;
        padding: 30px 12px;
        border-bottom: 1px solid var(--color-border);
    }

    .homepage .info-item:nth-child(2) {
        border-right: none;
    }

    .homepage .info-item:nth-child(n+3) {
        border-bottom: none;
    }
}

/* =========================================
   16. SMALL PHONES
========================================= */

@media (max-width: 420px) {

    .homepage .hero .hero-title {
        font-size: clamp(43px, 10vw, 55px);
    }

    .homepage .hero .hero-title-middle {
        margin-top: 10px;
    }

    .homepage .hero .hero-title-gold {
        margin-top: 8px;
    }

    .hero-divider {
        margin: 28px 0;
    }

    .homepage .info-item h3 {
        font-size: 16px;
    }

    .homepage .info-item p {
        font-size: 13px;
        letter-spacing: 1px;
    }
}
/* =========================================
   17. HOMEPAGE — THE STUDIO SECTION
========================================= */

.homepage .studio-section {
    width: 100%;
    padding: 75px 4%;
    background-color: #0e0d0c;
    border-bottom: 1px solid #302a24;
}

.homepage .studio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8%;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Left column */

.homepage .studio-text {
    max-width: 600px;
}

.homepage .section-label {
    margin: 0 0 35px;
    color: #bc8943;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 5px;
}

.homepage .studio-title {
    margin: 0 0 45px;
    color: #f5f1eb;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(55px, 5.5vw, 85px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.homepage .studio-line {
    width: 100%;
    height: 1px;
    margin-bottom: 50px;
    background-color: #302a24;
}

.homepage .studio-text > p:not(.section-label) {
    margin: 0 0 35px;
    color: #d5cec5;
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
}

.homepage .studio-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 25px;

    color: #f5f1eb;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.homepage .studio-link:hover {
    color: #bc8943;
}

/* Right column — photograph placeholder */

.homepage .studio-image {
    width: 100%;
    min-height: 500px;

    background-image: url('assets/studio-photo.jpg');
    background-size: cover;
    background-position: 55% center;
    background-repeat: no-repeat;

    border: 1px solid #302a24;
}

/* Responsive layout */

@media (max-width: 768px) {

    .homepage .studio-section {
        padding: 80px 6%;
    }

    .homepage .studio-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .homepage .studio-title {
        font-size: clamp(48px, 10vw, 70px);
    }

    .homepage .studio-text > p:not(.section-label) {
        font-size: 17px;
    }

    .homepage .studio-image {
        min-height: 320px;
    }
}
/* Consistent Figma information-strip icons */

.homepage .info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 25px;
    color: #bc8943;
}

.homepage .info-icon svg {
    display: block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

/* =========================================
   18. HOMEPAGE — AFTERCARE SECTION
========================================= */

.homepage .aftercare-section {
    width: 100%;
    padding: 130px 4% 140px;
    background-color: #151311;
    border-bottom: 1px solid #302a24;
}

/* Section heading */

.homepage .aftercare-heading {
    margin: 0 auto 75px;
    text-align: center;
}

.homepage .aftercare-label {
    margin: 0 0 25px;
    color: #bc8943;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.homepage .aftercare-heading h2 {
    margin: 0;
    color: #f5f1eb;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(60px, 6vw, 85px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

/* Two-column layout */

.homepage .aftercare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Individual cards */

.homepage .aftercare-card {
    position: relative;
    display: flex;
    align-items: flex-end;

    min-height: 350px;
    padding: 45px;

    overflow: hidden;
    border: 1px solid #302a24;
    background-color: #24201d;
}

/* Tattoo Aftercare background */
.homepage .aftercare-card:first-child {
    background-image: url('assets/home-page-tattoo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Piercing Aftercare background */
.homepage .aftercare-card:nth-child(2) {
    background-image: url('assets/home-page-piercing.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Dark photographic overlay.
   Real images will be added when Jonathan provides them. */

.homepage .aftercare-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.25)
    );
}

/* Card content */

.homepage .aftercare-card-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.homepage .aftercare-card h3 {
    margin: 0 0 20px;
    color: #f5f1eb;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(35px, 3vw, 48px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.homepage .aftercare-card p {
    max-width: 510px;
    margin: 0 0 25px;
    color: #d5cec5;
    font-family: 'Barlow', sans-serif;
    font-size: 19px;
    line-height: 1.6;
}

.homepage .aftercare-card a {
    display: inline-block;
    color: #bc8943;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.homepage .aftercare-card a:hover {
    color: #f5f1eb;
}

/* Responsive layout */

@media (max-width: 768px) {

    .homepage .aftercare-section {
        padding: 80px 6%;
    }

    .homepage .aftercare-heading {
        margin-bottom: 45px;
    }

    .homepage .aftercare-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .homepage .aftercare-card {
        min-height: 320px;
        padding: 30px;
    }

    .homepage .aftercare-card p {
        font-size: 16px;
    }
}


/* =========================================
   19. HOMEPAGE — CONTACT CTA
========================================= */

.homepage .home-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 570px;
    padding: 120px 6%;

    background-color: #0e0d0c;
    border-bottom: 1px solid #302a24;
    text-align: center;
}

/* Small gold label */

.homepage .contact-label {
    margin: 0 0 30px;

    color: #bc8943;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* Main heading */

.homepage .home-contact h2 {
    margin: 0 0 35px;

    color: #f5f1eb;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(60px, 6vw, 90px);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

/* Description */

.homepage .contact-description {
    max-width: 470px;
    margin: 0 0 45px;

    color: #d5cec5;
    font-family: 'Barlow', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
}

/* Gold contact button */

.homepage .contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    min-width: 195px;
    padding: 17px 30px;

    background-color: #bc8943;
    border: 1px solid #bc8943;
    color: #0e0d0c;

    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;

    transition: background 0.2s ease, color 0.2s ease;
}

.homepage .contact-button:hover {
    background-color: transparent;
    color: #bc8943;
}

/* Mobile responsiveness */

@media (max-width: 768px) {

    .homepage .home-contact {
        min-height: 450px;
        padding: 90px 6%;
    }

    .homepage .home-contact h2 {
        font-size: clamp(48px, 10vw, 70px);
    }

    .homepage .contact-description {
        font-size: 16px;
    }
}

/* =========================================
   20. GLOBAL FOOTER — FIGMA DESIGN
========================================= */

.site-footer {
    width: 100%;
    padding: 0;
    background: #0e0d0c;
    border-top: 1px solid #302a24;
    color: #f5f1eb;
}

/* Three-column main footer */

.site-footer .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 40px;

    width: 100%;
    min-height: 165px;
    padding: 40px 4%;
}

/* Left column */

.site-footer .footer-brand {
    text-align: left;
}

.site-footer .footer-logo {
    display: block;
    width: 125px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.site-footer .footer-brand p {
    margin: 0;
    color: #bc8943;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Centre column */

.site-footer .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

/* Right column */

.site-footer .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    text-align: right;
}

/* Shared footer typography */

.site-footer .footer-label {
    color: #bc8943;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-footer .footer-social a,
.site-footer .footer-contact a {
    color: #f5f1eb;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.site-footer a:hover {
    color: #bc8943;
}

/* Bottom navigation */

.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;

    width: 100%;
    padding: 22px 4%;

    border-top: 1px solid #302a24;
}

.site-footer .footer-bottom a {
    color: #a79b8d;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.site-footer .footer-bottom a:hover {
    color: #bc8943;
}

/* Mobile footer */

@media (max-width: 768px) {

    .site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 45px 6%;
    }

    .site-footer .footer-social,
    .site-footer .footer-contact {
        align-items: flex-start;
        text-align: left;
    }

    .site-footer .footer-bottom {
        gap: 18px;
        padding: 25px 6%;
    }

    .site-footer .footer-bottom a {
        font-size: 12px;
    }
}
/* Final footer alignment */

.site-footer .footer-main {
    padding-left: 5.5%;
    padding-right: 5.5%;
}

.site-footer .footer-bottom {
    padding-left: 5.5%;
    padding-right: 5.5%;
}

@media (max-width: 768px) {
    .site-footer .footer-main,
    .site-footer .footer-bottom {
        padding-left: 6%;
        padding-right: 6%;
    }
}
/* Mobile hero refinements */

@media (max-width: 768px) {

    .homepage .hero {
        min-height: 100svh;
        padding: 155px 6% 65px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .homepage .hero-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .homepage .hero .hero-title {
        font-size: clamp(43px, 11vw, 60px);
        line-height: 1.05;
    }

    .homepage .hero-location {
        font-size: 14px;
        letter-spacing: 2px;
        line-height: 1.5;
    }

    .homepage .hero-description {
        font-size: 16px;
        line-height: 1.7;
    }

    .homepage .hero-button {
        max-width: 100%;
    }
}
/* Mobile navigation spacing refinement */

@media (max-width: 768px) {

    .main-navigation {
        gap: 0;
        padding: 12px 0;
    }

    .main-navigation > a,
    .main-navigation .dropdown-toggle {
        padding: 14px 0;
        line-height: 1.4;
    }

    .dropdown-menu {
        padding: 8px 0 8px 20px;
    }

    .dropdown-menu a {
        padding: 12px 14px;
        line-height: 1.4;
    }
}

/* =========================================
   WORDPRESS MANAGED PRIMARY NAVIGATION
========================================= */

.main-navigation .primary-menu {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 45px);

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-navigation .primary-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation .primary-menu > li > a {
    display: block;

    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;

    transition: color 0.2s ease;
}

.main-navigation .primary-menu > li > a:hover {
    color: var(--color-gold);
}


/* Aftercare dropdown */

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 200;

    min-width: 220px;
    margin: 0;
    padding: 12px 0;

    list-style: none;
    background: var(--color-background);
    border: 1px solid var(--color-border);
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 10px 16px;

    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
}

.main-navigation .sub-menu a:hover {
    color: var(--color-gold);
}

.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
    display: block;
}


/* Small dropdown arrow */

.main-navigation .menu-item-has-children > a::after {
    content: "▼";
    display: inline-block;
    margin-left: 8px;

    color: var(--color-text);
    font-size: 9px;
    vertical-align: middle;
}


/* Homepage active Home link */

body.home .main-navigation .primary-menu > li:first-child > a {
    color: var(--color-gold);
}


/* =========================================
   WORDPRESS MANAGED MOBILE NAVIGATION
========================================= */

@media (max-width: 768px) {

    .main-navigation .primary-menu {
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;

        list-style: none;
    }

    .main-navigation .primary-menu > li {
        width: 100%;
    }

    .main-navigation .primary-menu > li > a {
        display: block;
        width: 100%;
        padding: 14px 0;

        font-size: 17px;
        line-height: 1.4;
    }

    .main-navigation .sub-menu {
        display: none;
        position: static;

        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 8px 20px;

        background: transparent;
        border: 0;
    }

.main-navigation .menu-item-has-children.is-open > .sub-menu {
    display: block;
}

.main-navigation .menu-item-has-children:not(.is-open) > .sub-menu {
    display: none;
}

    .main-navigation .sub-menu a {
        padding: 10px 14px;
        font-size: 15px;
    }
    
    
}


/* Homepage — reduce contact section spacing */
.homepage .home-contact {
    min-height: auto;
    padding: 85px 6%;
}

@media (max-width: 768px) {
    .homepage .home-contact {
        min-height: auto;
        padding: 60px 6%;
    }
}
@media (max-width: 768px) {
    .homepage .aftercare-section {
        padding: 55px 6%;
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 155px 24px 80px; /* Clears the fixed/absolute top header */
    color: var(--color-text);
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 12px;
    line-height: 1.1;
}

.contact-header p {
    color: var(--color-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* Feedback Alert Boxes */
.contact-alert {
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    font-size: 1rem;
}

.alert-success {
    background-color: #1b4325;
    color: #85d696;
    border: 1px solid #285e34;
}

.alert-error {
    background-color: #4a1919;
    color: #f5a3a3;
    border: 1px solid #732626;
}

/* 2-Column Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contact-page-container {
        padding: 130px 18px 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Contact Info Panel */
.contact-info-panel,
.contact-form-panel {
    background: var(--color-surface);
    padding: 35px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.contact-info-panel h2,
.contact-form-panel h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin: 0 0 25px;
}

.info-block {
    margin-bottom: 22px;
}

.info-block h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--color-gold);
    margin: 0 0 5px;
    letter-spacing: 1.5px;
}

.info-block p,
.info-block a {
    color: #ddd;
    text-decoration: none;
    line-height: 1.6;
    margin: 0;
}

.info-block a:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.instagram-dm-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.instagram-dm-list li a {
    display: inline-block;
    color: #ddd;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.instagram-dm-list li a:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.piercing-booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 28px;
    padding: 15px 20px;
    background-color: var(--color-gold);
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    color: var(--color-background) !important;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.piercing-booking-btn:hover {
    background-color: transparent;
    color: var(--color-gold) !important;
}

/* Form Panel */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #ccc;
}

.form-group .required {
    color: #e63946;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #1a1816;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #201d1a;
}

.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background-color: var(--color-gold);
    color: var(--color-background);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--color-gold);
}

/* Embedded Studio Map */
.contact-map-section {
    margin-top: 50px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
}

.contact-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 30px;
    border-bottom: 1px solid var(--color-border);
}

.contact-map-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-map-header p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.contact-map-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    background: #0e0d0c;
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Artist Bio Popup Modal (Wider Dialog, Custom Scrollbar, 50/50 Split, 2-Row Grid)
   ========================================================================== */
.artist-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artist-card:hover {
    transform: translateY(-4px);
}

.artist-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.artist-modal-overlay.is-open {
    display: flex;
}

.artist-modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    max-width: 1100px; /* Wider dialog */
    width: 94%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 40px 36px 36px;
    position: relative;
    color: var(--color-text);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);

    /* Firefox scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold) #1c1917;
}

/* Chrome / Edge / Safari scrollbar styling */
.artist-modal-content::-webkit-scrollbar {
    width: 8px;
}

.artist-modal-content::-webkit-scrollbar-track {
    background: #1c1917;
    border-radius: 0 8px 8px 0;
}

.artist-modal-content::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

.artist-modal-content::-webkit-scrollbar-thumb:hover {
    background: #d49d52;
}

.close-modal-btn {
    position: absolute;
    top: 14px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--color-muted);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s ease;
}

.close-modal-btn:hover {
    color: var(--color-gold);
}

/* 50/50 Top Split: Image Left, Bio Right */
.modal-top-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.modal-artist-media {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    background: #0e0d0c;
}

.modal-artist-photo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    object-position: center top;
}

.modal-placeholder {
    aspect-ratio: 4 / 5;
    max-height: 460px;
}

.modal-artist-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-artist-name {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 6px;
    letter-spacing: 1px;
    line-height: 1.05;
}

.modal-artist-style {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-bio-body {
    line-height: 1.75;
    color: #d5cec5;
    font-size: 1rem;
}

.modal-bio-body p {
    margin: 0 0 15px;
}

/* Prevent duplicate inline images inside bio text */
.modal-bio-body img {
    display: none;
}

/* --- Two-Row Portfolio Gallery + Load More --- */
.modal-portfolio-gallery {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}

.modal-gallery-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 20px;
    color: var(--color-text);
}

/* 4 columns x 2 rows = 8 visible portfolio images */
.modal-portfolio-gallery .gallery,
.modal-portfolio-gallery .instagram-feed {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.modal-portfolio-gallery .gallery-item.is-hidden {
    display: none;
}

.modal-portfolio-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.modal-portfolio-gallery img:hover {
    transform: scale(1.02);
    border-color: var(--color-gold);
}

.modal-load-more-wrap {
    margin-top: 24px;
    text-align: center;
}

.modal-load-more-btn {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-load-more-btn:hover {
    background: var(--color-gold);
    color: var(--color-background);
}

/* Responsive Modal Adjustments */
@media (max-width: 900px) {
    .modal-portfolio-gallery .gallery,
    .modal-portfolio-gallery .instagram-feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .artist-modal-content {
        padding: 32px 20px 24px;
        width: 96%;
    }

    .modal-top-split {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .modal-artist-photo,
    .modal-placeholder {
        max-height: 340px;
    }

    .modal-portfolio-gallery .gallery,
    .modal-portfolio-gallery .instagram-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ==========================================================================
   Portfolio Image Lightbox Popup
   ========================================================================== */
.modal-portfolio-gallery img {
    cursor: zoom-in;
}

.portfolio-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.portfolio-lightbox-overlay.is-open {
    display: flex;
}

.portfolio-lightbox-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 88vh;
}

#portfolio-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 28px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10060;
    transition: color 0.2s ease;
}

.lightbox-close-btn:hover {
    color: var(--color-gold);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(21, 19, 17, 0.85);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 1.4rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10060;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.lightbox-nav-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: #0e0d0c;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

@media (max-width: 768px) {
    .portfolio-lightbox-overlay {
        padding: 16px;
    }

    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .lightbox-prev {
        left: 12px;
    }

    .lightbox-next {
        right: 12px;
    }
}

/* Ensure internal page heroes clear the absolute header */
.internal-hero {
    padding-top: 165px !important;
}

@media (max-width: 768px) {
    .internal-hero {
        padding-top: 135px !important;
    }
}