:root {
    --ivory: #f7f7f7;
    --espresso: #111111;
    --wine: #1a1a1a;
    --rose: #d4af37;
    --rose-gold: #c9a227;
    --blush: #e8e8e8;
    --home-header-offset: 151.2px;
}

/* ============== GLOBAL ============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48Y2lyY2xlIGN4PSI2IiBjeT0iNiIgcj0iMyIvPjxjaXJjbGUgY3g9IjYiIGN5PSIxOCIgcj0iMyIvPjxsaW5lIHgxPSIyMCIgeTE9IjQiIHgyPSI4LjEyIiB5Mj0iMTUuODgiLz48bGluZSB4MT0iMTQuNDciIHkxPSIxNC40OCIgeDI9IjIwIiB5Mj0iMjAiLz48bGluZSB4MT0iOC4xMiIgeTE9IjguMTIiIHgyPSIxMiIgeTI9IjEyIi8+PC9zdmc+') 4 4, auto;
}

html { scroll-behavior: smooth; }

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: #111;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.site-loading .site-loader {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.site-loader img {
    display: block;
    width: min(52vw, 240px);
    max-height: 140px;
    object-fit: contain;
}

.site-loader-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid rgba(212, 175, 55, 0.24);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: site-loader-spin 0.8s linear infinite;
}

@keyframes site-loader-spin {
    to { transform: rotate(360deg); }
}

body {
    font-family: 'Jost', 'Segoe UI', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--espresso);
    background-color: var(--ivory);
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

img, video { max-width: 100%; }
a, button, .btn { -webkit-tap-highlight-color: transparent; }

/* ============== NAVIGATION ============== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(17, 17, 17, 0.96);
    padding: 1.1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
    transform: none;
    transition: none;
}

nav.scrolled {
    padding: 0.55rem 3rem;
    background-color: rgba(0, 0, 0, 0.98);
    border-bottom-color: rgba(201, 162, 39, 0.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    height: 56px;
    width: auto;
    display: block;
    margin: 0;
    transition: height 0.4s cubic-bezier(.65,0,.35,1), transform 0.4s ease, filter 0.4s ease;
}

.brand:hover img { transform: scale(1.05) rotate(-1deg); }
nav.scrolled .brand img { height: 40px; }

.nav-links {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.mobile-menu-head { display: none; }

.nav-page-title {
    display: none;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--rose-gold);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

nav a {
    position: relative;
    color: var(--blush);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.74rem;
    padding: 0.6rem 1rem;
    border-radius: 3px;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, letter-spacing 0.4s ease, transform 0.3s ease;
}

nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--rose-gold);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(.65,0,.35,1);
    z-index: -1;
}

nav a:hover { color: #111111; letter-spacing: 2.2px; transform: translateY(-2px); }
nav a:hover::before { transform: translateY(0); }

.nav-social { display: flex; gap: 0.9rem; align-items: center; flex-shrink: 0; }

.nav-social a {
    color: var(--blush);
    display: flex;
    opacity: 0.85;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.nav-social a:hover { opacity: 1; color: var(--rose-gold); transform: translateY(-2px) scale(1.1); }

@media (min-width: 1050px) {
    nav { padding-right: 1.5rem; padding-left: 1.5rem; }

    .nav-links {
        flex-wrap: nowrap;
        gap: 0;
        min-width: 0;
    }

    .nav-links a {
        padding: 0.45rem 0.4rem;
        font-size: 0.68rem;
        letter-spacing: 0.8px;
        white-space: nowrap;
    }

    .nav-social { gap: 0.4rem; }
    .nav-social a { padding: 0.4rem; }
    .nav-social a svg { width: 22px; height: 22px; }
}

/* ============== HAMBURGER ============== */
#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 115;
}

#nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--blush);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

#nav-toggle:hover span { background-color: var(--rose-gold); }
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== LAYOUT ============== */
main {
    max-width: 880px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

main:has(> .hero:first-child) { padding-top: 0; }
main:has(> .hero:only-child) { padding-top: 0; padding-bottom: 0; }
main:has(> .home-hero) {
    max-width: none;
    padding: 0;
}

main:has(> .gallery-content) {
    max-width: none;
    padding: 0;
}

/* ============== TEXT ============== */
.eyebrow {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rose-gold);
    margin-bottom: 0.6rem;
}

.ornament {
    width: 9px;
    height: 9px;
    border: 1.5px solid var(--rose-gold);
    border-radius: 50%;
    margin: 3rem auto 1.4rem;
    animation: ornament-in 0.35s ease both;
}

@keyframes ornament-in { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

h2.section-title {
    position: relative;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--wine);
    text-align: center;
    margin-bottom: 1.8rem;
    animation: section-title-in 0.35s ease both;
}

@keyframes section-title-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

p { margin-bottom: 1.2rem; font-size: 1.05rem; }
main > p { text-align: left; }

main > p, main > ul, main > section, main > article, main > .ornament, main > .eyebrow {
    animation: section-reveal 0.35s ease both;
}

@keyframes section-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ============== HERO ============== */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 7rem 2rem;
    text-align: center;
    color: #ffffff;
    border-radius: 4px;
    margin-bottom: 3rem;
    overflow: hidden;
    isolation: isolate;
    animation: hero-reveal 0.35s ease both;
}

@keyframes hero-reveal { from { opacity: 0; } to { opacity: 1; } }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0.40) 0%, rgba(17,17,17,0.76) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
    animation: hero-content-reveal 0.35s ease both;
}

@keyframes hero-content-reveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 { color: #ffffff; text-shadow: 0 3px 20px rgba(0,0,0,0.55); }

.hero p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--blush);
    font-size: 1.15rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.hero-full {
    min-height: 85vh;
    max-height: 800px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-position: center 30%;
}

/* Frame image-backed inner-page heroes without changing their content. */
.hero-full:not(.home-hero) {
    background-position: center 38%;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.hero-full:not(.home-hero)::before {
    background:
        linear-gradient(180deg, rgba(17,17,17,0.28) 0%, rgba(17,17,17,0.42) 42%, rgba(17,17,17,0.78) 100%),
        radial-gradient(ellipse at center, rgba(17,17,17,0) 30%, rgba(17,17,17,0.24) 100%);
}

.hero-full:not(.home-hero)::after {
    content: "";
    position: absolute;
    inset: 1.25rem;
    z-index: 1;
    border: 1px solid rgba(201, 162, 39, 0.42);
    pointer-events: none;
}

/* ============== HOME HERO ============== */
.home-hero {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #111111;
    isolation: isolate;
    margin-bottom: 0;
}

.home-hero.hero-full {
    min-height: calc(100vh - var(--home-header-offset));
    min-height: calc(100svh - var(--home-header-offset));
    max-height: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
    padding: 2rem;
}

@media (min-width: 1121px) {
    .home-hero.hero-full {
        --home-header-offset: 92.2px;
        height: calc(100vh - var(--home-header-offset));
        height: calc(100svh - var(--home-header-offset));
        min-height: 0;
    }
}

.home-hero .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    z-index: 0;
    display: block;
    filter: saturate(0.85) brightness(0.82);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0.40) 0%, rgba(17,17,17,0.78) 100%);
    z-index: 1;
    pointer-events: none;
}

.home-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(100%, 900px);
    max-width: 900px;
    margin: 0;
    transform: translate(-50%, -50%);
    animation: none;
    text-align: center;
}

.home-hero .hero-content h1 {
    opacity: 0;
    transform: translateY(35px);
    animation: hero-title-in 1.2s cubic-bezier(.16,1,.3,1) 0.25s forwards;
}

@keyframes hero-title-in {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.home-hero .hero-content p {
    opacity: 0;
    transform: translateY(20px);
    animation: hero-text-in 1s cubic-bezier(.16,1,.3,1) forwards;
}

.home-hero .hero-content p:nth-of-type(1) { animation-delay: 0.75s; }
.home-hero .hero-content p:nth-of-type(2) { animation-delay: 1.05s; }

@keyframes hero-text-in {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.home-hero .hero-content .btn {
    opacity: 0;
    transform: translateY(25px);
    animation: appointment-button-in 1s cubic-bezier(.16,1,.3,1) 1.35s forwards;
}

.home-hero .hero-content .appointment-cta {
    display: block;
    width: fit-content;
    margin: 0.8rem auto 0;
    padding: 0.85rem 2.2rem;
    color: #fff;
    background: transparent;
    border: 1px solid var(--rose-gold);
    border-radius: 999px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: none;
    backdrop-filter: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-hero .hero-content .appointment-cta::before {
    display: none;
}

.home-hero .hero-content .appointment-cta:hover,
.home-hero .hero-content .appointment-cta:focus-visible {
    color: var(--espresso);
    background: var(--rose-gold);
    box-shadow: none;
    transform: none;
    letter-spacing: 2px;
}

@keyframes appointment-button-in {
    0% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============== BUTTONS ============== */
.btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    background-color: var(--rose-gold);
    color: #111111;
    border: 1px solid var(--rose-gold);
    padding: 0.9rem 2.3rem;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.8rem;
    opacity: 1;
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease, letter-spacing 0.35s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.btn:hover::before { left: 140%; }

.btn:hover {
    background-color: #111111;
    color: var(--rose-gold);
    transform: translateY(-4px);
    letter-spacing: 2.4px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.btn:active { transform: translateY(-1px) scale(0.97); box-shadow: 0 5px 12px rgba(0,0,0,0.20); }

/* ============== PRICE LIST ============== */
.price-list { list-style: none; margin-bottom: 3rem; }

.price-list li {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    width: 100%;
    padding: 0.6rem 0;
    font-size: 1rem;
    transition: transform 0.3s ease, padding-left 0.3s ease;
}

.price-list li:hover { transform: translateX(5px); }
.price-list .item { white-space: nowrap; font-weight: 400; flex-shrink: 0; }

.price-list .dots {
    flex: 1 1 auto;
    border-bottom: 1px dotted rgba(17,17,17,0.35);
    margin: 0 0.6rem 5px;
    min-width: 20px;
}

.price-list .price {
    white-space: nowrap;
    color: var(--rose-gold);
    font-weight: 500;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.price-list a.price { text-decoration: none; }
.price-list a.price:hover,
.price-list a.price:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.price-list li:hover .price { transform: translateX(-3px); color: var(--rose); }

/* ============== SERVICE MENU ============== */
main:has(.service-menu-layout) {
    max-width: none;
    padding: 0;
}

.service-hero {
    width: 100%;
    margin-left: 0;
    min-height: clamp(260px, 34vw, 420px);
    max-height: 420px;
}

.service-menu-layout {
    width: min(1220px, 100%);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 5rem;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}

.service-menu-sidebar {
    position: sticky;
    top: 125px;
    overflow: hidden;
    padding: 1.6rem 1rem 1.25rem;
    color: var(--blush);
    background: var(--espresso);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
}

.service-menu-sidebar-heading {
    display: flex;
    flex-direction: column;
    padding: 0 0.8rem 1.1rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.service-menu-sidebar-kicker {
    color: var(--blush);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.service-menu-sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.service-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1rem;
}

.service-category-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 46px;
    padding: 0.55rem 0.75rem;
    color: var(--blush);
    border: 1px solid rgba(201, 162, 39,  0.12);
    border-left: 3px solid transparent;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.3;
    text-transform: none;
    overflow: visible;
    z-index: auto;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.service-category-nav a::before {
    content: none;
    display: none;
}

.service-category-nav a:hover,
.service-category-nav a:focus-visible,
.service-category-nav a.is-active {
    color: var(--blush);
    background: rgba(201, 162, 39, 0.1);
    border-color: rgba(201, 162, 39, 0.2);
    border-left-color: var(--rose-gold);
    letter-spacing: 0.025em;
    transform: none;
}

.service-category-nav a.is-active {
    color: #ffffff;
    background: linear-gradient(100deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.06));
    border-color: rgba(201, 162, 39, 0.28);
    border-left-color: var(--rose-gold);
    font-weight: 500;
}

.service-category-nav a:focus-visible {
    outline-offset: 2px;
}

.service-category-mark {
    display: grid;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    place-items: center;
    color: var(--rose-gold);
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.65);
    border-radius: 50%;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.service-category-nav a:hover .service-category-mark,
.service-category-nav a:focus-visible .service-category-mark,
.service-category-nav a.is-active .service-category-mark {
    color: var(--espresso);
    background: var(--rose-gold);
    border-color: var(--rose-gold);
}

.service-menu-sidebar-note {
    display: block;
    margin: 1.1rem 0.8rem 0;
    color: var(--rose-gold);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-align: right;
    text-transform: uppercase;
}

.service-menu-content { min-width: 0; }

.service-menu-section {
    position: relative;
    scroll-margin-top: 135px;
    overflow: hidden;
    margin-bottom: 1.35rem;
    padding: clamp(1.35rem, 3vw, 2.25rem);
    background-color: var(--espresso);
    background-image: url('/static/menu%20-bg.jfif');
    background-position: center 42%;
    background-size: cover;
    border: 1px solid rgba(201, 162, 39, 0.55);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.15);
}

.service-menu-section:nth-of-type(2) {
    background-image: url('/static/menu2-bg.jfif');
}

.service-menu-section:nth-of-type(3) {
    background-image: url('/static/menu3-bg.jfif');
}

.service-menu-section:nth-of-type(4) {
    background-image: url('/static/menu4-bg.jfif');
}

.service-menu-section:nth-of-type(5) {
    background-image: url('/static/menu5-bg.jfif');
}

.service-menu-section:nth-of-type(6) {
    background-image: url('/static/menu%20-bg.jfif');
}

.service-menu-section:nth-of-type(7) {
    background-image: url('/static/menu2-bg.jfif');
}

.service-menu-section#mens-services {
    background-image: url('/static/menmenu-bg.jpg');
}

.service-menu-section#mens-services::before {
    background: linear-gradient(115deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.5));
}

.service-menu-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(115deg, rgba(17, 17, 17, 0.87), rgba(17, 17, 17, 0.7));
    pointer-events: none;
}

.service-menu-section > * {
    position: relative;
    z-index: 1;
}

.service-menu-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.service-menu-heading-copy { min-width: 0; }

.service-menu-heading .eyebrow {
    margin-bottom: 0.1rem;
    font-size: 0.67rem;
    letter-spacing: 0.2em;
    color: var(--rose-gold);
}

.service-menu-heading .section-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 3vw, 2rem);
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    animation: none;
}

.service-menu-section .price-list {
    margin: 0;
}

.service-menu-section .price-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 142px;
    align-items: center;
    gap: 0.8rem;
    min-height: 52px;
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.service-menu-section .price-list .dots {
    display: none;
}

.service-menu-section .price-list li:last-child {
    border-bottom: 0;
}

.service-menu-section .price-list .item {
    min-width: 0;
    flex-shrink: 1;
    color: #ffffff;
    white-space: normal;
}

.service-menu-section .price-list .price {
    width: 100%;
    padding: 0.22rem 0.45rem;
    color: var(--espresso);
    background: rgba(247, 247, 247, 0.94);
    border: 1px solid rgba(201, 162, 39, 0.7);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    text-align: center;
}

.service-menu-section .price-list li:hover {
    padding-left: 0.45rem;
}

@media (max-width: 760px) {
    .service-menu-layout {
        display: block;
        padding: 1.5rem 1rem 3rem;
    }

    .service-menu-sidebar {
        top: 104px;
        z-index: 20;
        padding: 0.55rem;
        border-radius: 13px;
    }

    .service-menu-sidebar-heading {
        display: flex;
        align-items: center;
        padding: 0 0.55rem 0.45rem;
        border-bottom: 1px solid rgba(201, 162, 39, 0.25);
    }

    .service-menu-sidebar-kicker,
    .service-menu-sidebar-note {
        display: none;
    }

    .service-menu-sidebar-title {
        color: var(--rose-gold);
        font-family: 'Jost', sans-serif;
        font-size: 0.68rem;
        font-weight: 500;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .service-category-nav {
        flex-direction: row;
        gap: 0.45rem;
        margin: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .service-category-nav::-webkit-scrollbar {
        display: none;
    }

    .service-category-nav a {
        flex: 0 0 auto;
        min-height: 42px;
        gap: 0.45rem;
        padding: 0.45rem 0.65rem;
        font-size: 0.78rem;
        white-space: nowrap;
        scroll-snap-align: center;
    }

    .service-category-mark {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
    }

    .service-menu-content {
        padding-top: 1rem;
    }

    .service-menu-section {
        scroll-margin-top: 165px;
        margin-bottom: 1rem;
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }

    .service-menu-heading {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 0.9rem;
    }

    .service-menu-heading .section-title {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
    }

    .service-menu-section .price-list li {
        grid-template-columns: minmax(0, 1fr) clamp(112px, 34vw, 132px);
        gap: 0.45rem;
        padding: 0.8rem 0.15rem;
        text-align: left;
    }

    .service-menu-section .price-list .item {
        min-width: 0;
        margin: 0;
        font-size: 0.93rem;
        line-height: 1.4;
    }

    .service-menu-section .price-list .price {
        padding: 0.2rem 0.25rem;
        font-size: 0.75rem;
    }
}

/* ============== PAGE BACKGROUNDS ============== */
.about-bg { background-image: url('/static/about-bg.jpg'); }
.academy-bg { background-image: url('/static/academy-hero.jpg'); }
.branches-bg { background-image: url('/static/branches-hero.jpg'); }
.service-bg { background-image: url('/static/service-hero.jpg'); }
.contact-bg { background-image: url('/static/contact-hero.jpg'); }
.spa-bg { background-image: url('/static/spa-hero.jpg'); }
.boutiques-bg { background-image: url('/static/boutiques-hero.jpg'); }
.brands-bg { background-image: url('/static/brands-bg.JPG'); }
.gallery-bg { background-image: url('/static/gallery-hero.png'); }


/* ============== BRANCH LIST ============== */
.branch-list { list-style: none; max-width: 500px; margin: 0 auto 3rem; }

.branch-list li {
    position: relative;
    padding: 0.7rem 0 0.7rem 1.8rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(17,17,17,0.08);
    transition: color 0.3s ease, transform 0.3s ease, padding-left 0.3s ease;
}

.branch-list li:hover { color: var(--rose-gold); transform: translateX(5px); padding-left: 2.1rem; }
.branch-list li:last-child { border-bottom: none; }

.branch-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--rose-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branch-list li:hover::before { transform: translateY(-50%) scale(1.45); box-shadow: 0 0 12px rgba(201,162,39,0.45); }

/* ============== GALLERY ============== */
.gallery-content {
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: 2.5rem clamp(1rem, 4vw, 3rem) 4rem;
}

.gallery-hero {
    min-height: clamp(520px, 72svh, 760px);
    background-position: center 54%;
}

.gallery-hero .hero-content {
    max-width: 760px;
}

.gallery-hero .eyebrow {
    color: #f2d77a;
    letter-spacing: 4px;
}

.gallery-hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.05;
}

.gallery-hero .hero-content > p {
    max-width: 580px;
    margin: 1.2rem auto 2rem;
}

.gallery-content .gallery-intro {
    max-width: 650px;
    margin: 0 auto 2rem;
    text-align: center;
}

.gallery-marquee-row {
    margin-bottom: 0.5rem;
}

.gallery-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 12px;
    background: #111111;
}

.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    margin: 0;
    filter: saturate(0.92) contrast(1.02);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.gallery-card:hover img {
    filter: saturate(1.06) contrast(1.02);
    transform: scale(1.025);
}

.gallery-marquee .gallery-card {
    flex: 0 0 clamp(170px, 22vw, 260px);
}

.gallery-marquee .gallery-card img {
    aspect-ratio: 1;
}

@media (max-width: 700px) {
    .gallery-hero { min-height: clamp(480px, 68svh, 620px); }
    .gallery-hero h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
    .gallery-marquee .gallery-card { flex-basis: 130px; }
}

.marquee-row { overflow: hidden; margin-bottom: 1rem; padding: 8px 0 14px; }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee-left 40s linear infinite; }
.marquee-track.marquee-reverse { animation: marquee-right 40s linear infinite; }

.marquee-track img {
    width: clamp(170px, 22vw, 260px);
    height: clamp(170px, 22vw, 260px);
    object-fit: cover;
    border: 1px solid rgba(201, 162, 39, 0.42);
    border-radius: 12px;
    margin: 0;
    filter: saturate(0.88) contrast(1.04);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
    transition: filter 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.marquee-track img:hover {
    filter: saturate(1.08) contrast(1.02);
    border-color: rgba(201, 162, 39, 0.8);
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.2);
}

@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ============== FOOTER ============== */
footer {
    background-color: var(--espresso);
    color: rgba(232, 232, 232, 0.78);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    margin-top: 0;
    animation: footer-reveal 0.35s ease both;
}

@keyframes footer-reveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

footer a { color: inherit; text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
footer a:hover { color: var(--rose-gold); }

.footer-inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(130px, 0.65fr) minmax(240px, 1fr);
    gap: clamp(1.5rem, 5vw, 4.5rem);
    padding: 3rem 1.5rem 5.25rem;
    text-align: left;
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--blush);
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.footer-brand-lockup img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 1px solid rgba(201, 162, 39, 0.65);
    border-radius: 50%;
}

.footer-tagline {
    max-width: 350px;
    color: rgba(232, 232, 232, 0.72);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.footer-heading {
    display: block;
    color: var(--blush);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 0.55rem;
}

.footer-contact p:first-of-type {
    max-width: 260px;
}

.footer-social {
    position: absolute;
    left: 1.5rem;
    bottom: 1.85rem;
    display: flex;
    gap: 0.75rem;
    margin: 0;
}

.footer-social a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--blush);
    border: 1px solid rgba(201, 162, 39, 0.26);
    border-radius: 50%;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { opacity: 1; color: var(--rose-gold); border-color: var(--rose-gold); transform: translateY(-2px); }

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(232, 232, 232, 0.62);
    font-size: 0.7rem;
    letter-spacing: 0.015em;
}

.footer-bottom p {
    margin: 0;
    font-size: inherit;
}

@media (max-width: 800px) {
    .footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem 1.5rem;
        padding: 2.5rem 1.5rem 2rem;
    }

    .footer-brand { grid-column: 1 / -1; }
    .footer-social { position: static; margin-top: 1.1rem; }
    .footer-bottom { padding: 1rem 1.5rem; }
}

@media (max-width: 520px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem 1.25rem 1.75rem;
    }

    .footer-brand { grid-column: auto; }
    .footer-brand-lockup { font-size: 1.05rem; }
    .footer-social { gap: 0.65rem; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.9rem 1.25rem;
    }
}

/* ============== ACCESSIBILITY ============== */
a:focus-visible, button:focus-visible { outline: 2px solid var(--rose-gold); outline-offset: 2px; }

/* ============== MOBILE NAVIGATION ============== */
@media (max-width: 1120px) {
    :root { --home-header-offset: 101.6px; }

    nav { padding: 0.9rem 1.5rem; }

    #nav-toggle { display: flex; order: 1; }

    .brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .brand img { height: 44px; }

    .nav-page-title {
        display: block;
        order: 2;
        flex: 0 0 auto;
        text-align: left;
        max-width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 78%;
        max-width: 320px;
        background-color: #111111;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 6rem 2rem calc(110px + env(safe-area-inset-bottom, 0px));
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(.65,0,.35,1);
        z-index: 105;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-social {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 78%;
        max-width: 320px;
        background-color: #111111;
        justify-content: center;
        align-items: center;
        gap: 1.6rem;
        padding: 1.2rem 1rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(.65,0,.35,1);
        z-index: 106;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-sizing: border-box;
    }

    .nav-social a {
        flex-shrink: 0;
        width: 26px;
        height: 26px;
    }

    .nav-social a svg {
        width: 100%;
        height: 100%;
    }

    .nav-social.open { transform: translateX(0); }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.55);
        z-index: 104;
        cursor: pointer;
    }

    .nav-overlay.open { display: block; }

    .nav-links.open a { animation: mobile-nav-item 0.45s ease both; }
    .nav-links.open a:nth-child(1) { animation-delay: 0.05s; }
    .nav-links.open a:nth-child(2) { animation-delay: 0.10s; }
    .nav-links.open a:nth-child(3) { animation-delay: 0.15s; }
    .nav-links.open a:nth-child(4) { animation-delay: 0.20s; }
    .nav-links.open a:nth-child(5) { animation-delay: 0.25s; }
    .nav-links.open a:nth-child(6) { animation-delay: 0.30s; }
    .nav-links.open a:nth-child(7) { animation-delay: 0.35s; }
}

@keyframes mobile-nav-item { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }

/* ============== MOBILE HERO ============== */
@media (max-width: 700px) {
    .hero { padding: 4rem 1.2rem; }
    .hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    .hero p { font-size: 1rem; }
    .hero-full { min-height: 55vh; padding: 3rem 1.2rem; }
    .home-hero .hero-content { max-width: 92%; }
    .marquee-track img { width: 130px; height: 130px; }
    .marquee-track { gap: 0.6rem; }
}

/* ============== MOBILE PRICE LIST ============== */
@media (max-width: 600px) {
    .price-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.9rem 0;
        border-bottom: 1px solid rgba(17,17,17,0.08);
    }
    .price-list li:last-child { border-bottom: none; }
    .price-list .item { white-space: normal; margin-bottom: 0.2rem; }
    .price-list .dots { display: none; }
    .price-list .price { font-size: 0.92rem; }
}

/* ============== SMALL MOBILE ============== */
@media (max-width: 480px) {
    nav { padding: 0.75rem 1rem; }
    .brand img { height: 40px; }
    .hero-full { min-height: 52vh; padding: 2.5rem 1rem; }
    .home-hero .hero-content { max-width: 95%; }
    .hero h1 { font-size: clamp(1.7rem, 9vw, 2.2rem); line-height: 1.25; }
    .hero p { font-size: 0.95rem; margin-bottom: 0.8rem; }
    .btn { padding: 0.8rem 1.5rem; font-size: 0.75rem; }
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
    body, main { animation: none !important; }
    nav { transform: translateY(0); }
    .marquee-track { animation: none; }
    .gallery-marquee-row { overflow-x: auto; scrollbar-width: thin; }
    .home-hero .hero-content h1, .home-hero .hero-content p, .home-hero .hero-content .btn {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* ==========================================
   MOBILE NAVIGATION: SOCIAL ICONS DOCK
   The icons sit at the bottom of the sliding menu.
   The existing JavaScript toggles .open on #nav-social.
   ========================================== */

@media (max-width: 1120px) {
    body.mobile-nav-open {
        position: fixed;
        top: var(--mobile-nav-scroll-top, 0);
        width: 100%;
        overflow: hidden;
    }

    /* Keep fixed-position menu elements anchored to the viewport. */
    #main-nav {
        transform: none !important;
        animation: none !important;
        /* Prevent the nav's blur effect from becoming the fixed-position container. */
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    #nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.60);
        z-index: 104;
        cursor: pointer;
    }

    #nav-overlay.open {
        display: block;
    }

    /* Sliding menu links, with room reserved for the social dock. */
    #nav-links {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(82vw, 360px);
        max-width: none;
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 0 1.25rem calc(88px + env(safe-area-inset-bottom, 0px));
        background: var(--ivory);
        border-radius: 0 30px 30px 0;
        box-shadow: 18px 0 45px rgba(0, 0, 0, 0.22);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        box-sizing: border-box;
        transform: translateX(-105%);
        transition: transform 0.4s cubic-bezier(.65, 0, .35, 1);
        z-index: 105;
    }

    .mobile-menu-head {
        width: calc(100% + 2.5rem);
        min-height: 250px;
        margin: 0 -1.25rem 0.65rem;
        padding: calc(env(safe-area-inset-top, 0px) + 2.75rem) 1.25rem 1.5rem;
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        color: var(--blush);
        background: var(--espresso);
        border-radius: 0 30px 30px 0;
        text-align: center;
    }

    .mobile-menu-head img {
        width: 68px;
        height: 68px;
        margin: 0 0 0.55rem;
        object-fit: contain;
        border: 1px solid rgba(201, 162, 39, 0.65);
        border-radius: 50%;
    }

    .mobile-menu-brand {
        color: var(--blush);
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0.04em;
    }

    .mobile-menu-since {
        color: var(--rose-gold);
        font-size: 0.72rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
    }

    #nav-links.open {
        transform: translateX(0);
    }

    #nav-social {
        position: fixed;
        left: 0;
        bottom: 0;
        width: min(82vw, 360px);
        max-width: none;
        min-height: 72px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: clamp(16px, 5vw, 24px);
        padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
        margin: 0;
        background: var(--ivory);
        border-top: 1px solid rgba(201, 162, 39, 0.35);
        border-radius: 0 0 30px 0;
        box-sizing: border-box;
        transform: translateX(-105%);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(.65, 0, .35, 1), opacity 0.25s ease, visibility 0.25s ease;
        z-index: 106;
    }

    #nav-social.open {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    #nav-social a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        padding: 0;
        margin: 0;
        color: var(--rose-gold);
        border: 0;
        overflow: visible;
        letter-spacing: normal;
    }

    #nav-social a::before {
        content: none;
        display: none;
    }

    #nav-social a svg {
        display: block;
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }

    #nav-social a:hover {
        color: var(--espresso);
        transform: translateY(-3px) scale(1.08);
    }

    #main-nav #nav-links a {
        width: 100%;
        flex: 0 0 auto;
        padding: 0.78rem 0.7rem;
        color: var(--espresso);
        background: transparent;
        border: 0;
        border-bottom: 1px solid rgba(201, 162, 39, 0.18);
        border-radius: 0;
        font-size: 0.98rem;
        font-weight: 400;
        letter-spacing: 0.02em;
        line-height: 1.4;
        text-align: left;
        text-transform: none;
        animation: none;
        transition: color 0.25s ease, padding-left 0.25s ease;
    }

    #main-nav #nav-links a::before {
        content: none;
        display: none;
    }

    #main-nav #nav-links a:hover {
        padding-left: 1rem;
        color: var(--rose-gold);
        letter-spacing: 0.02em;
        transform: none;
    }

    #nav-toggle {
        position: relative;
        z-index: 115;
    }
}

@media (max-width: 480px) {
    #nav-social {
        gap: 18px;
    }

    #nav-social a {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    #nav-social a svg {
        width: 25px;
        height: 25px;
    }
}
/* Center the Follow Us button on the Gallery page */
main .gallery-cta {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    box-sizing: border-box;
}

main .gallery-cta .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    main .gallery-cta {
        padding: 1.5rem 1rem 2rem;
    }

    main .gallery-cta .btn {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
}
/* Fixed salon identity bar below the navigation. */
:root {
    --brand-lockup-height: 40px;
}

.brand-lockup-bar {
    position: fixed;
    top: 93px;
    left: 0;
    z-index: 99;
    display: flex;
    width: 100%;
    height: var(--brand-lockup-height);
    align-items: center;
    justify-content: center;
    background: #111111;
    border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}

.brand-lockup-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 0;
    color: var(--rose-gold);
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.brand-lockup-link img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.brand-lockup-link:hover {
    color: #f1d77b;
}

.brand-lockup-spacer {
    height: var(--brand-lockup-height);
}

/* SVG masks shared by the editorial image treatments. */
.visual-filters {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* About-page editorial feature and history typography. */
.ab {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-bottom: 1rem;
    background: var(--ivory);
    isolation: isolate;
}

.ab-in {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.ab .eyebrow { margin-bottom: 0.2rem; }
.ab-stage { display: grid; grid-template-columns: 24fr 76fr; }

h1.ab-title {
    grid-column: 1 / -1;
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font: 400 clamp(5.6rem, 31vw, 15rem) / 0.82 'Anton', 'Impact', 'Arial Narrow', sans-serif;
    letter-spacing: 0.005em;
    text-align: left;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

.ab-img {
    grid-column: 2;
    position: relative;
    z-index: 1;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 0 18px 0 0;
    animation: editorial-reveal 0.7s ease both;
}

.ab-img img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}

.ab-intro { grid-column: 1 / -1; padding-top: 1.4rem; }

.ab-kick {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--rose-gold);
    font: 500 0.78rem 'Jost', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ab-tag {
    margin-bottom: 1rem;
    color: #555;
    font: italic 1.05rem 'Playfair Display', serif;
}

.ab-intro p.ab-lead {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
}

.ab-rule { height: 1px; margin: 3rem 0 0; background: #111; opacity: 0.15; }

h2.section-title.ab-h {
    margin: 2rem 0 1.4rem;
    color: #111;
    font: 400 clamp(2.6rem, 9vw, 5rem) / 0.95 'Anton', 'Impact', sans-serif;
    text-align: left;
    text-transform: uppercase;
}

p.ab-p { max-width: 68ch; font-size: 1.02rem; font-weight: 300; line-height: 1.85; }

@media (min-width: 900px) {
    .ab-stage { grid-template-columns: 36fr 64fr; }
    .ab-img { aspect-ratio: 16 / 11; border-radius: 0 24px 0 0; }
    .ab-intro { grid-column: 1; grid-row: 2; align-self: end; padding: 0 2rem 0 0; }
}

/* Shared editorial layout for the Spa, Brands, Boutiques and Academy pages. */
.editorial-page {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 0 1rem;
    background: var(--ivory);
    isolation: isolate;
}

.editorial-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.editorial-page > .editorial-inner > .eyebrow {
    margin-bottom: 0.2rem;
}

.editorial-stage {
    display: grid;
    grid-template-columns: 24fr 76fr;
}

h1.editorial-title {
    grid-column: 1 / -1;
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    font: 400 clamp(5.6rem, 31vw, 15rem) / 0.82 'Anton', 'Impact', 'Arial Narrow', sans-serif;
    letter-spacing: 0.005em;
    text-align: left;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

.editorial-image {
    grid-column: 2;
    position: relative;
    z-index: 1;
    aspect-ratio: 3 / 4;
    background: transparent;
    --editorial-paper-cut: url(#editorial-paper-shape);
    animation: editorial-reveal 1.1s cubic-bezier(.16, 1, .3, 1) 0.2s both;
}

.editorial-image::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background-color: #f1eadc;
    background-image:
        radial-gradient(ellipse at 22% 28%, rgba(120, 97, 66, 0.09), transparent 42%),
        radial-gradient(ellipse at 78% 74%, rgba(120, 97, 66, 0.08), transparent 38%),
        repeating-linear-gradient(8deg, rgba(110, 91, 66, 0.025) 0 1px, transparent 1px 5px);
    clip-path: var(--editorial-paper-cut);
    filter: url(#editorial-paper-tear);
}

.editorial-image img {
    position: absolute;
    z-index: 1;
    display: block;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    margin: 0;
    object-fit: cover;
    clip-path: var(--editorial-paper-cut);
    filter: url(#editorial-paper-tear);
}

@keyframes editorial-reveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.editorial-tape {
    position: absolute;
    z-index: 2;
    display: block;
    width: 76px;
    height: 22px;
    background: linear-gradient(180deg, rgba(83, 153, 213, 0.82), rgba(45, 113, 183, 0.78));
    box-shadow: 0 2px 5px rgba(20, 42, 64, 0.18);
    clip-path: polygon(2% 4%, 98% 0, 100% 96%, 0 100%);
    pointer-events: none;
}

.editorial-tape-top {
    top: 2%;
    right: -14px;
    transform: rotate(45deg);
}

.editorial-tape-bottom {
    bottom: 3%;
    left: -15px;
    transform: rotate(-45deg);
}

.editorial-intro {
    grid-column: 1 / -1;
    padding-top: 1.4rem;
}

.editorial-kicker {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--rose-gold);
    font: 500 0.78rem 'Jost', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.editorial-tag {
    margin-bottom: 1rem;
    color: #555;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-style: italic;
}

p.editorial-lead {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
}

@media (min-width: 900px) {
    .editorial-stage { grid-template-columns: 36fr 64fr; }
    .editorial-image { aspect-ratio: 16 / 11; }
    .editorial-image img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
    .editorial-intro { grid-column: 1; grid-row: 2; align-self: end; padding: 0 2rem 0 0; }
}

@media (max-width: 899px) {
    h1.editorial-title { font-size: clamp(3rem, 18vw, 8rem); }
    .editorial-image img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
}

@media (prefers-reduced-motion: reduce) {
    .editorial-image { animation: none; }
}

/* Mobile: remove gold line under the nav bar */
@media (max-width: 900px) {
    #main-nav { border-bottom: 0; }
    :root { --home-header-offset: 96.8px; }
    :root { --brand-lockup-height: 36px; }
    .brand-lockup-bar { top: 75px; }
}

@media (max-width: 480px) {
    :root { --home-header-offset: 90px; }
    :root { --brand-lockup-height: 34px; }
    .brand-lockup-bar { top: 66px; }
    .brand-lockup-link { gap: 0.45rem; font-size: 0.62rem; letter-spacing: 0.14em; }
    .brand-lockup-link img { width: 22px; height: 22px; }
}

/* ===== Service and Spa animated icons ===== */
.svc-anim{width:78px;height:78px;margin:3rem auto .4rem;color:var(--rose-gold)}
.svc-anim svg{width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.svc-anim:not(.in) *{animation-play-state:paused!important}
.reveal:not(.in){opacity:0}
.reveal.in{animation:svc-rise .8s backwards;animation-delay:var(--d,0s)}
@keyframes svc-rise{from{opacity:0;transform:translateY(26px)}}

.sc-a,.sc-b{transform-origin:32px 32px;animation:snip 1.6s ease-in-out infinite}
.sc-b{animation-name:snip2}
@keyframes snip{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(3deg)}}
@keyframes snip2{0%,100%{transform:rotate(12deg)}50%{transform:rotate(-3deg)}}
.hr{animation:cutfall 1.6s ease-in infinite}
@keyframes cutfall{0%,40%{opacity:0;transform:translate(0,0)}50%{opacity:1}100%{opacity:0;transform:translate(4px,22px)}}

.df{fill:currentColor;stroke:none;transform-origin:32px 42px;animation:dye 4s ease-in-out infinite}
@keyframes dye{0%,100%{fill:#c9a227;transform:scale(.7)}33%{fill:#b76e79;transform:scale(1)}66%{fill:#8b5a2b;transform:scale(.85)}}

.lp{transform-origin:32px 50px;animation:bloom 3.2s ease-in-out infinite alternate}
@keyframes bloom{from{transform:rotate(calc(var(--r)*.4)) scale(.82)}to{transform:rotate(var(--r)) scale(1)}}
.rp{transform-box:fill-box;transform-origin:center;animation:ripple 3.2s ease-out infinite}
@keyframes ripple{from{transform:scale(.4);opacity:.9}to{transform:scale(1.5);opacity:0}}

.wv{stroke-dasharray:36 14;transform:translateY(var(--y,0));animation:flow 2.6s linear infinite}
@keyframes flow{to{stroke-dashoffset:-100}}

.br{animation:dab 1.8s ease-in-out infinite}
@keyframes dab{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
.lt{animation:twist 2.4s ease-in-out infinite}
@keyframes twist{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

.sp,.tw{transform-box:fill-box;transform-origin:center;animation:twk 2.4s ease-in-out infinite}
@keyframes twk{0%,100%{transform:scale(.7) rotate(0);opacity:.6}50%{transform:scale(1.05) rotate(45deg);opacity:1}}
.td{fill:currentColor;stroke:none;animation:blink 1.6s infinite}
.d2{animation-delay:.8s}
@keyframes blink{50%{opacity:.15}}

/* =========================================================
   PREMIUM MOTION SYSTEM — MOHAMED ALSAGHEER HAIR SALONS
   Add-on layer: preserves the existing palette and layouts.
   ========================================================= */

:root {
    --motion-ease: cubic-bezier(.22, 1, .36, 1);
    --motion-spring: cubic-bezier(.34, 1.56, .64, 1);
    --motion-gold-glow: 0 14px 34px rgba(201, 162, 39, 0.16);
}

/* Underline reveal for text navigation (replaces the old full gold wipe). */
#main-nav .nav-links a {
    overflow: visible;
    transition: color .35s ease, letter-spacing .35s ease, transform .35s var(--motion-spring);
}
#main-nav .nav-links a::before {
    content: "";
    top: auto;
    right: auto;
    bottom: 5px;
    left: 1rem;
    width: calc(100% - 2rem);
    height: 1px;
    background: var(--rose-gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s var(--motion-ease);
    z-index: 2;
}
#main-nav .nav-links a:hover,
#main-nav .nav-links a:focus-visible {
    color: var(--blush);
    letter-spacing: 2px;
    transform: translateY(-2px);
}
#main-nav .nav-links a:hover::before,
#main-nav .nav-links a:focus-visible::before {
    transform: scaleX(1);
}
#main-nav .brand::before,
#main-nav .nav-social a::before {
    content: none;
}

/* Image-backed heroes use a short fade without continuous background repainting. */
.hero-full:not(.home-hero) {
    background-size: cover;
    animation: hero-reveal .6s ease both;
}
.hero-full:not(.home-hero)::before {
    animation: none;
}

/* Use opacity-only scroll reveals to avoid blur filters and transform layers. */
.motion-enabled .motion-reveal {
    opacity: 0;
    animation: none !important;
    transition: opacity .35s ease;
    transition-delay: var(--motion-delay, 0ms);
}
.motion-enabled .motion-reveal.is-motion-visible {
    opacity: 1;
}

/* Keep image reveal states light; avoid clip-path, zoom and blur animation. */
.motion-enabled img.motion-mask-image {
    opacity: 1;
}
.motion-enabled img.motion-mask-image.is-motion-visible {
    opacity: 1;
}
.motion-enabled img.premium-hover-image {
    transition: filter .25s ease;
}
.motion-enabled img.motion-mask-image.is-motion-visible:hover,
.motion-enabled img.premium-hover-image:hover {
    filter: saturate(1.03);
}

/* Hover lift for cards and tiles if these components exist on a page. */
.product-card,
.product-item,
.product-grid > *,
.products-grid > *,
.service-card,
.spa-card,
.brand-card,
.boutique-card,
.branch-card,
.gallery-card {
    transition:
        transform .42s var(--motion-spring),
        box-shadow .42s ease,
        border-color .35s ease;
}
@media (hover: hover) and (pointer: fine) {
    .product-card:hover,
    .product-item:hover,
    .product-grid > *:hover,
    .products-grid > *:hover,
    .service-card:hover,
    .spa-card:hover,
    .brand-card:hover,
    .boutique-card:hover,
    .branch-card:hover,
    .gallery-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--motion-gold-glow);
        border-color: rgba(201, 162, 39, .45);
    }
}

/* Spring microinteractions and magnetic button offset (set by JavaScript). */
.btn,
button,
.bp-find,
.bp-loc {
    translate: var(--magnetic-x, 0px) var(--magnetic-y, 0px);
    transition-timing-function: var(--motion-spring);
}
.btn,
.bp-find,
.bp-loc {
    transition-property: background-color, color, transform, box-shadow, letter-spacing, translate;
    transition-duration: .35s;
}
.btn:hover,
button:hover {
    transition-timing-function: var(--motion-spring);
}
.btn:active,
button:active {
    scale: .975;
}

/* Smooth crossfade for image states and text transitions. */
main img,
footer a,
.nav-social a,
.footer-social a {
    transition-timing-function: var(--motion-ease);
}

#main-nav.scrolled {
    backdrop-filter: none;
}

/* Mobile-specific refinements */
@media (max-width: 900px) {
    #main-nav .nav-links a::before {
        left: 0;
        width: 100%;
        bottom: 7px;
    }
    .hero-full:not(.home-hero) {
        background-size: cover;
        animation: hero-reveal .6s ease both;
    }
}

/* Accessibility: turn off movement for visitors who request reduced motion. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    body,
    .hero-full:not(.home-hero),
    .hero-full:not(.home-hero)::before,
    .brand-lockup-bar,
    .ab,
    .ab-img img,
    .motion-enabled .motion-reveal,
    .motion-enabled img.motion-mask-image {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        translate: none !important;
    }
}
