/* ============================================
   MITCHELL'S BARBERS - LUXURY PARADIGM
   Editorial, restrained, confident
   Typography: Cormorant Garamond (inspired by Brunello Cucinelli)
   ============================================ */

/* Color System - Cognac/Tobacco Palette */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-dark: #1a1a1a;
    --bg-alternative: #1a1a1a;
    /* Dark background for buttons */
    --text-primary: #1a1a1a;
    --text-secondary: #6b6b6b;
    --text-muted: #999999;
    --text-alternative: #ffffff;
    /* White text for dark backgrounds */
    --accent: #6A4420;
    --accent-light: #8B5A2B;
    --accent-subtle: rgba(106, 68, 32, 0.1);
    --border: #e8e8e8;
    --border-subtle: #f0f0f0;
    --border-color: #e5e5e5;
    --border-primary: #e5e5e5;
    /* Alias for border-color */
    --border-secondary: #d4d4d4;
    /* Subtle border */
    --font-family-primary: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

    /* Victoria Beckham Style Spacing Rhythm */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: clamp(80px, 10vw, 140px);
    --spacing-xxl: clamp(120px, 15vw, 180px);
}

[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-dark: #000000;
    --bg-alternative: #B8774A;
    /* Warm cognac button */
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --text-alternative: #ffffff;
    /* White text on cognac for readability */
    --accent: #B8774A;
    --accent-light: #C9885A;
    --accent-subtle: rgba(184, 119, 74, 0.12);
    --border: #2a2a2a;
    --border-subtle: #1f1f1f;
    --border-color: #333333;
    --border-primary: #2a2a2a;
    /* Dark border */
    --border-secondary: #3a3a3a;
    /* Medium border */
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family-primary);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Cormorant Garamond hierarchy (all headings) */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-primary);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

p {
    font-family: var(--font-family-primary);
    font-style: italic;
    font-weight: 300;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* Form elements and labels use brand font (main + footer) */
main input,
main textarea,
main select,
main button:not([class*="cookie"]),
main label,
footer input,
footer button,
footer label {
    font-family: var(--font-family-primary);
}

/* High-contrast form input text (override Tailwind, readable on all backgrounds) */
main input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
main textarea,
main select,
footer input {
    color: #1a1a1a !important;
    background-color: #ffffff !important;
    border-color: #d4d4d4 !important;
}

main input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"])::placeholder,
main textarea::placeholder,
main select::placeholder,
footer input::placeholder {
    color: #6b6b6b !important;
}

/* Dark mode: white text on dark contrasting background */
[data-theme="dark"] main input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] main textarea,
[data-theme="dark"] main select,
[data-theme="dark"] footer input,
html.dark main input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
html.dark main textarea,
html.dark main select,
html.dark footer input {
    color: #ffffff !important;
    background-color: #1a1a1a !important;
    border-color: #444444 !important;
}

[data-theme="dark"] main input::placeholder,
[data-theme="dark"] main textarea::placeholder,
[data-theme="dark"] main select::placeholder,
[data-theme="dark"] footer input::placeholder,
html.dark main input::placeholder,
html.dark main textarea::placeholder,
html.dark main select::placeholder,
html.dark footer input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Tagline paragraphs and centered containers should not be width-constrained */
p.uppercase,
p[class*="uppercase"],
.text-center p,
p.max-w-none {
    max-width: none;
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--bg-dark);
    color: var(--bg-primary);
    padding: 12px 24px;
    z-index: 1000;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================
   NAVIGATION - Minimal, hides on scroll
   ============================================ */

/* Announcement Bar - VB Style */
.announcement-bar {
    background: var(--bg-dark);
    color: #ffffff;
    text-align: center;
    padding: 10px 5%;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    overflow: hidden;
    height: 36px;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .announcement-bar {
    background: var(--accent);
    color: #ffffff;
}

.announcement-bar a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.announcement-bar a:hover {
    opacity: 0.8;
}

/* Announcement bar marquee animation */
.announcement-marquee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    white-space: nowrap;
}

.announcement-marquee span {
    display: inline-block;
}

.announcement-divider {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
}

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Subtle gradient overlay for better text visibility */
.nav-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-header.scrolled::before {
    opacity: 0;
}

.nav-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
}

[data-theme="dark"] .nav-header.scrolled {
    background-color: rgba(15, 15, 15, 0.98);
}

/* Hide navigation on scroll down */
.nav-header.nav-hidden {
    transform: translateY(-100%);
}

/* Solid background nav for internal pages (no hero image) */
.nav-header.nav-header-solid {
    background-color: var(--bg-primary);
    box-shadow: 0 1px 0 var(--border);
}

/* Push main content below fixed nav on sub-pages (excludes full-screen hero pages) */
.nav-header-solid~main {
    padding-top: 100px;
}

.nav-header-solid~main:has(> .hero) {
    padding-top: 0;
}

@media (max-width: 767px) {
    .nav-header-solid~main {
        padding-top: 80px;
    }

    .nav-header-solid~main:has(> .hero) {
        padding-top: 0;
    }
}

.nav-header.nav-header-solid::before {
    display: none;
}

.nav-header.nav-header-solid .nav-links a {
    color: var(--text-primary);
    text-shadow: none;
}

.nav-header.nav-header-solid .nav-links a:hover {
    color: var(--accent);
}

.nav-header.nav-header-solid .nav-links a.active {
    color: var(--accent);
}

.nav-header.nav-header-solid .nav-toggle span {
    background: var(--text-primary);
    box-shadow: none;
}

.nav-header.nav-header-solid .theme-toggle {
    border-color: var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 42px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-family: var(--font-family-primary);
    font-size: 17px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    transition: opacity 0.2s ease, color 0.3s ease, text-shadow 0.3s ease;
    padding: 10px 0;
    position: relative;
}

/* Subtle underline on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-header.scrolled .nav-links a {
    color: var(--text-primary);
    text-shadow: none;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.nav-header.scrolled .nav-links a:hover {
    color: var(--accent);
}

/* Theme Toggle Button */
.theme-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 24px;
}

@media (min-width: 768px) {
    .theme-toggle {
        display: flex;
    }
}

.nav-header.scrolled .theme-toggle {
    border-color: var(--border-color, #e5e5e5);
}

[data-theme="dark"] .nav-header.scrolled .theme-toggle {
    border-color: var(--border-color, #333);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.nav-header.scrolled .theme-toggle:hover {
    background: var(--bg-secondary);
}

.theme-icon {
    font-size: 16px;
    line-height: 1;
}

.theme-icon-light {
    display: none;
}

.theme-icon-dark {
    display: block;
}

[data-theme="dark"] .theme-icon-light {
    display: block;
}

[data-theme="dark"] .theme-icon-dark {
    display: none;
}

/* Mobile Navigation Toggle - above scroll-to-top and other fixed UI */
.nav-toggle {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.nav-header.scrolled .nav-toggle span {
    background: var(--text-primary);
    box-shadow: none;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.mobile-nav-links li {
    margin-bottom: 24px;
}

@media (min-height: 600px) {
    .mobile-nav-links li {
        margin-bottom: 32px;
    }
}

.mobile-nav-links a {
    font-family: var(--font-family-primary);
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    padding: 4px 0;
}

@media (min-height: 700px) {
    .mobile-nav-links a {
        font-size: clamp(24px, 5vw, 32px);
    }
}

/* Mobile Theme Toggle Button - reliable tap target for light/dark toggle in menu */
.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding: 14px 24px;
    min-height: 48px;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: all 0.2s ease;
}

@media (min-height: 700px) {
    .mobile-theme-toggle {
        margin-top: 48px;
        padding: 16px 32px;
        font-size: 16px;
    }
}

.mobile-theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.mobile-theme-toggle .theme-icon {
    display: none;
}

[data-theme="dark"] .mobile-theme-toggle .theme-icon-light {
    display: inline;
}

[data-theme="light"] .mobile-theme-toggle .theme-icon-dark,
:root:not([data-theme]) .mobile-theme-toggle .theme-icon-dark {
    display: inline;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .mobile-theme-toggle .theme-icon-dark {
        display: none;
    }

    :root:not([data-theme]) .mobile-theme-toggle .theme-icon-light {
        display: inline;
    }
}

/* ============================================
   SECONDARY PAGE NAVIGATION
   Styles for Academy, About, Enrolment pages
   ============================================ */

/* Header container */
header[role="banner"] {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: none !important;
}

/* Navigation links in secondary pages */
header[role="banner"] nav a {
    font-family: var(--font-family-primary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--text-primary) !important;
    transition: color 0.2s ease !important;
    position: relative;
}

header[role="banner"] nav a:hover {
    color: var(--accent) !important;
    opacity: 1 !important;
}

/* Underline effect on nav links */
header[role="banner"] nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

header[role="banner"] nav a:hover::after {
    width: 100%;
}

/* Logo styling */
header[role="banner"] .logo-container {
    display: block;
}

header[role="banner"] .logo-img {
    transition: opacity 0.2s ease;
}

/* Logo visibility based on theme */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .logo-light {
        display: none;
    }

    :root:not([data-theme]) .logo-dark {
        display: block;
    }
}

/* Theme toggle icon visibility */
.dark-icon.hidden,
.light-icon.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

[data-theme="dark"] .light-icon,
[data-theme="dark"] .light-icon.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

[data-theme="dark"] .dark-icon:not(.hidden) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

[data-theme="light"] .dark-icon,
[data-theme="light"] .dark-icon.hidden,
:root:not([data-theme]) .dark-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

[data-theme="light"] .light-icon:not(.hidden),
:root:not([data-theme]) .light-icon:not(.hidden) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .light-icon {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    :root:not([data-theme]) .dark-icon:not(.hidden) {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Theme toggle button styling */
header[role="banner"] .theme-toggle {
    background: transparent !important;
    border: 1px solid var(--border) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

header[role="banner"] .theme-toggle:hover {
    border-color: var(--accent) !important;
    background: var(--accent-subtle) !important;
}

/* Mobile menu toggle styling */
header[role="banner"] button[id*="mobile-menu"] span {
    background: var(--text-primary) !important;
    transition: transform 0.3s ease, background-color 0.2s ease;
}

/* Footer links in secondary pages */
footer[role="contentinfo"] h2 {
    font-family: var(--font-family-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--accent) !important;
}

footer[role="contentinfo"] a {
    font-family: var(--font-family-primary) !important;
    transition: color 0.2s ease !important;
}


/* ============================================
   PRINT STYLES
   ============================================ */

@media print {

    /* Hide non-essential elements */
    .nav-header,
    .mobile-nav,
    .theme-toggle,
    .nav-toggle,
    .skip-link,
    .hero,
    .atmosphere-break,
    .gallery-carousel-section,
    .vb-fullwidth-cta,
    footer,
    button {
        display: none !important;
    }

    /* Reset background and colors for print */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    /* Ensure main content is visible and takes full width */
    main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove Scroll Animations */
    [data-animate],
    .is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Specific print formatting for Services page */
    .services-hero {
        padding: 20px 0;
        text-align: left;
    }

    .services-title {
        font-size: 24pt;
        color: black;
        margin-bottom: 10px;
    }

    .services-intro {
        font-size: 14pt;
        color: black;
        font-style: italic;
    }

    .services-content {
        padding: 0;
        max-width: none;
    }

    .service-category {
        page-break-inside: avoid;
        margin-bottom: 30px;
    }

    .category-name {
        font-size: 16pt;
        border-bottom: 2px solid black;
        color: black;
        margin-bottom: 15px;
    }

    .service-item {
        border-bottom: 1px solid #ccc;
        padding: 8px 0;
    }

    .service-name {
        font-size: 12pt;
        color: black;
        font-weight: bold;
    }

    .service-price {
        font-size: 12pt;
        color: black;
        font-weight: bold;
    }

    /* Reveal URLs for links */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }

    /* Don't reveal nav links or internal anchors */
    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }
}

}

footer[role="contentinfo"] p {
    max-width: none;
    text-align: center;
}

/* Section titles in secondary pages */
.text-accent {
    color: var(--accent) !important;
}

/* Buttons in secondary pages */
.bg-alternative {
    background-color: var(--accent) !important;
    color: #ffffff !important;
}

.bg-alternative:hover {
    background-color: var(--accent-light) !important;
    color: #ffffff !important;
}

.border-primary {
    border-color: var(--border) !important;
}

/* Form inputs */
header[role="banner"] input,
footer[role="contentinfo"] input {
    font-family: var(--font-family-primary) !important;
    border-color: var(--border) !important;
}

header[role="banner"] input:focus,
footer[role="contentinfo"] input:focus {
    border-color: var(--accent) !important;
    outline-color: var(--accent) !important;
}

/* ============================================
   HERO - Editorial, full-bleed with blur depth
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
}

/* Blurred hero background for depth */
.hero-blur {
    transform: scale(1.1);
    /* Prevent blur edges showing */
}

.hero-blur .hero-img {
    filter: blur(4px);
    transform: scale(1.02);
}

.hero-blur .hero-video-yt {
    filter: blur(4px);
    transform: translate(-50%, -50%) scale(1.22);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 1.5s ease-in-out, transform 1.5s ease-in-out;
}

/* Video element styling - ensure smooth blur transition */
.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: filter 1.5s ease-in-out, transform 1.5s ease-in-out;
    /* Performance optimizations for mobile */
    will-change: filter, transform;
    transform: translateZ(0);
    /* Hardware acceleration */
    -webkit-transform: translateZ(0);
}

/* YouTube background video embed - scale(1.2) crops YouTube UI chrome from corners */
.hero-video-yt {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 aspect ratio relative to viewport height */
    height: 56.25vw; /* 16:9 aspect ratio relative to viewport width */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.2);
    border: 0;
    pointer-events: none;
    z-index: 0;
    transition: filter 1.5s ease-in-out, transform 1.5s ease-in-out;
}

/* Mobile-specific video optimizations */
@media (max-width: 768px) {
    .hero-image video {
        /* Reduce blur transition complexity on mobile */
        transition: filter 1s ease-in-out;
    }
    .hero-video-yt {
        width: 177.78vh;
        height: 56.25vw;
        min-width: 100%;
        min-height: 100%;
    }
}

.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-logo {
    display: block;
    max-width: 90%;
    width: clamp(280px, 50vw, 600px);
}

.hero-logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 60px rgba(0, 0, 0, 0.3));
}

.hero-wordmark {
    font-family: var(--font-family-primary);
    font-size: clamp(56px, 14vw, 180px);
    font-weight: 300;
    font-style: normal;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 4px 60px rgba(0, 0, 0, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    overflow: hidden;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(184, 119, 74, 0.8) 50%,
            transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(100%);
    }
}

/* ============================================
   STATEMENT - Centered, restrained
   ============================================ */

.statement {
    padding: var(--spacing-xxl) clamp(3%, 5vw, 8%);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.statement.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.statement-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.statement-text {
    font-family: var(--font-family-primary);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ============================================
   ATMOSPHERE - Visual pause
   ============================================ */

.atmosphere {
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    margin: var(--spacing-xl) 0;
}

/* Full-width atmosphere break */
.atmosphere-break {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.atmosphere-image {
    position: absolute;
    inset: 0;
}

.atmosphere-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   LOCATIONS - Editorial grid
   ============================================ */

.locations {
    padding: var(--spacing-xxl) clamp(3%, 5vw, 8%);
    background: var(--bg-secondary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.locations.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.locations-content {
    max-width: 1000px;
    margin: 0 auto;
}

.locations-title {
    font-family: var(--font-family-primary);
    font-size: clamp(14px, 1.5vw, 16px);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.locations-title-tagline {
    font-family: var(--font-family-primary);
    font-size: clamp(13px, 1.2vw, 15px);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.locations-title-main {
    font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    line-height: 1.15;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.location {
    text-align: center;
}

.location-name {
    font-family: var(--font-family-primary);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.location-address {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.location-phone {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    color: var(--text-muted);
}

.locations-hours {
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--accent);
    margin-bottom: 24px;
}

.locations-hours p {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    color: var(--text-secondary);
    margin: 0 auto 8px;
}

.locations-note {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    max-width: none;
    width: 100%;
    margin: 0 auto;
}

/* ============================================
   SERVICES - Price list section
   ============================================ */

.services {
    padding: var(--spacing-xxl) clamp(3%, 5vw, 8%);
    background: var(--bg-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-content {
    max-width: 1000px;
    margin: 0 auto;
}

.services-title {
    font-family: var(--font-family-primary);
    font-size: clamp(14px, 1.5vw, 16px);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.services-title-tagline {
    font-family: var(--font-family-primary);
    font-size: clamp(13px, 1.2vw, 15px);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.services-title-main {
    font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    text-align: center;
    line-height: 1.15;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.service-category {
    text-align: left;
}

.service-category .category-name {
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    gap: 16px;
}

.service-name {
    font-family: var(--font-family-primary);
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    color: var(--text-primary);
}

.service-price {
    font-family: var(--font-family-primary);
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    color: var(--text-secondary);
    white-space: nowrap;
}

.services-link {
    display: inline-block;
    text-align: center;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--border);
    margin-top: var(--spacing-lg);
    transition: all 0.3s ease;
    background: transparent;
}

.services-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    opacity: 1;
}

/* ============================================
   IMAGE GALLERY - Victoria Beckham Style
   ============================================ */

.image-gallery {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-primary);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    min-height: 600px;
    /* Ensure section has height */
    position: relative;
}

.image-gallery.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    padding: 0;
}

/* Image fade-in on load / in viewport */
.img-fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.img-fade-in.visible {
    opacity: 1;
}

.reduced-motion .img-fade-in {
    opacity: 1;
    transition: none;
}

@media (prefers-reduced-motion: reduce) {
    .img-fade-in {
        opacity: 1 !important;
        transition: none !important;
    }
}

/* Scroll-triggered animations (data-animate) - luxury pages */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fadeIn"] {
    opacity: 0;
}

[data-animate="slideUp"] {
    opacity: 0;
    transform: translateY(32px);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translate(0) scale(1);
}

.reduced-motion [data-animate],
.reduced-motion [data-animate].animate-in {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: reduce) {

    [data-animate],
    [data-animate].animate-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* About page: alignment and body copy */
.about-content {
    text-align: left;
}

.about-content .container {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.about-content .max-w-2xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.about-content p {
    font-style: normal;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: inherit;
}

@media (max-width: 767px) {
    .about-content .max-w-2xl {
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }
}

/* Individual gallery items fade-in on scroll */
.gallery-item {
    flex: 1;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.gallery-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for each item */
.gallery-item:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    transition-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    transition-delay: 0.4s;
}

.gallery-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    aspect-ratio: 9 / 16;
    /* Victoria Beckham style portrait aspect ratio */
    height: auto;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
    background: var(--bg-secondary);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 9 / 16) {
    .gallery-image-wrapper {
        height: 0;
        padding-bottom: 177.78%;
        /* 9:16 portrait aspect ratio (16/9 = 1.7778) */
        min-height: 0;
    }
}

.gallery-image-wrapper:hover .gallery-image {
    transform: scale(1.05);
}

/* Victoria Beckham style spacing - side-by-side on desktop */
@media (min-width: 768px) {
    .image-gallery {
        padding: clamp(80px, 10vw, 140px) 0;
    }

    .gallery-container {
        gap: clamp(12px, 1.5vw, 24px);
        padding: 0 clamp(3%, 5vw, 8%);
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-item {
        width: 100%;
        padding: 0;
        min-width: 0;
    }

    .gallery-image-wrapper {
        aspect-ratio: 9 / 16;
        width: 100%;
        height: auto;
    }
}

/* Large desktop screens - scale up proportionally */
@media (min-width: 1400px) {
    .gallery-container {
        padding: 0 6%;
        gap: clamp(16px, 2vw, 32px);
    }
}

/* Extra large screens - ensure proper scaling */
@media (min-width: 1920px) {
    .gallery-container {
        padding: 0 8%;
        gap: clamp(20px, 2.5vw, 40px);
    }
}

/* Mobile: Stack vertically */
@media (max-width: 767px) {
    .image-gallery {
        padding: clamp(50px, 12vw, 70px) 0;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        gap: clamp(20px, 5vw, 30px);
        padding: 0 clamp(4%, 6vw, 6%);
    }

    .gallery-item {
        width: 100%;
        margin: 0;
        padding: 0;
        /* Ensure animation properties are preserved on mobile */
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .gallery-item.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation delays for mobile - shorter delays for faster feel */
    .gallery-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .gallery-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .gallery-item:nth-child(3) {
        transition-delay: 0.3s;
    }

    .gallery-item:nth-child(4) {
        transition-delay: 0.4s;
    }

    .gallery-image-wrapper {
        aspect-ratio: 9 / 16;
        /* Maintain portrait on mobile for consistency */
        width: 100%;
        height: auto;
    }
}

/* ============================================
   ACADEMY - Split composition
   ============================================ */

.academy {
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.academy.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.academy-content {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 70vh;
}

@media (min-width: 768px) {
    .academy-content {
        grid-template-columns: 1fr 1fr;
    }
}

.academy-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 5%;
    background: var(--bg-primary);
}

@media (min-width: 768px) {
    .academy-text {
        padding: 80px 10%;
    }
}

.academy-title {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
}

.academy-description {
    font-family: var(--font-family-primary);
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 48px;
    max-width: 400px;
}

.academy-link {
    font-family: var(--font-family-primary);
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    background: transparent;
}

.academy-link:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    opacity: 1;
}

.academy-image {
    position: relative;
    min-height: 400px;
}

.academy-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   FOOTER - Minimal utility
   ============================================ */

.footer {
    padding: 80px 5%;
    background: var(--bg-secondary);
    border-top: 2px solid var(--accent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    height: 40px;
}

.footer-logo img {
    height: 100%;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .footer-secondary {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: var(--text-muted);
}

.footer-credit {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: var(--text-muted);
}

/* ============================================
   UTILITY
   ============================================ */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Focus States */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

/* ============================================
   ACADEMY PAGE HERO - Full screen video with content overlay
   ============================================ */

.academy-hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.academy-hero-section .hero-image {
    position: absolute;
    inset: 0;
}

.academy-hero-section .hero-image video {
    transition: filter 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: filter, transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.academy-hero-section .hero-blur video {
    filter: blur(4px);
    transform: scale(1.02);
}

.academy-hero-section .hero-blur .hero-video-yt {
    filter: blur(4px);
    transform: translate(-50%, -50%) scale(1.22);
}

.academy-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 80px 5%;
    opacity: 1 !important;
    visibility: visible !important;
}

.academy-hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    font-family: var(--font-family-primary);
    opacity: 1 !important;
    visibility: visible !important;
}

.academy-hero-description {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    font-family: var(--font-family-primary);
    font-style: italic;
}

.academy-hero-btn-primary {
    font-family: var(--font-family-primary);
}

.academy-hero-btn-secondary {
    font-family: var(--font-family-primary);
}

@media (max-width: 768px) {
    .academy-hero-section .hero-image video {
        transition: filter 1s ease-in-out;
    }

    .academy-hero-content {
        padding: 60px 5%;
    }
}


@media (max-width: 768px) {
    .academy-bg-image {
        transition: filter 1s ease-in-out;
    }
}

/* Body scroll lock when nav open */
body.nav-open {
    overflow: hidden;
}

/* Mobile menu toggle button styling for secondary pages */
#mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

#mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Ensure hamburger spans use correct color */
#mobile-menu-toggle span.bg-primary {
    background-color: var(--text-primary) !important;
}

#mobile-menu-toggle span.bg-current {
    background-color: var(--text-primary) !important;
}

#mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

#mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

/* Mobile nav menu styling for secondary pages */
@media (max-width: 1023px) {

    /* Ensure header doesn't interfere with fixed nav */
    header[role="banner"] {
        position: relative !important;
        overflow: visible !important;
    }

    /* Remove nav from grid flow on mobile */
    header[role="banner"]>div>nav#nav-menu {
        grid-column: 1 / -1 !important;
    }

    header[role="banner"] #nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 0 !important;
        max-height: 100vh !important;
        background: var(--bg-primary) !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column;
        border: none !important;
        transform: translateX(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s ease, height 0.4s ease !important;
    }

    header[role="banner"] #nav-menu[aria-hidden="true"] {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        height: 0 !important;
        transform: translateX(-100%) !important;
    }

    header[role="banner"] #nav-menu[aria-hidden="false"] {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        height: 100vh !important;
        padding: 80px 5% 40px !important;
        transform: translateX(0) !important;
    }

    header[role="banner"] #nav-menu ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    header[role="banner"] #nav-menu ul li {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    header[role="banner"] #nav-menu ul li a {
        font-size: clamp(1.25rem, 4vw, 1.5rem) !important;
        font-weight: 600 !important;
        padding: 1rem 0 !important;
        border-bottom: 2px solid var(--border-primary) !important;
        display: block !important;
        width: 100% !important;
        color: var(--text-primary) !important;
        text-align: left !important;
        transition: all 0.3s ease !important;
        font-family: var(--font-family-primary) !important;
    }

    header[role="banner"] #nav-menu ul li a:hover,
    header[role="banner"] #nav-menu ul li a:focus {
        color: var(--accent) !important;
        border-bottom-color: var(--accent) !important;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
    }
}

@media (min-width: 1024px) {
    header[role="banner"] #nav-menu {
        height: auto !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        width: auto !important;
        max-height: none !important;
        padding: 0 !important;
    }

    #mobile-menu-toggle {
        display: none !important;
    }
}

/* Prose class overrides for policy pages */
.prose {
    max-width: 100% !important;
    color: var(--text-primary) !important;
}

.prose h1,
.prose h2,
.prose h3 {
    font-family: var(--font-family-primary) !important;
    color: var(--text-primary) !important;
}

.prose p {
    font-family: var(--font-family-primary) !important;
    color: var(--text-secondary) !important;
}

.prose ul,
.prose ol {
    font-family: var(--font-family-primary) !important;
    color: var(--text-secondary) !important;
}

.prose a {
    color: var(--accent) !important;
}

.prose strong {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

/* Mobile responsive adjustments for prose content */
@media (max-width: 768px) {
    .prose {
        font-size: 18px !important;
    }

    .prose h1 {
        font-size: 2rem !important;
    }

    .prose h2 {
        font-size: 1.75rem !important;
    }

    .prose h3 {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   VB DESIGN PATTERNS - Full-Width Category Sections
   ============================================ */

.vb-fullwidth-cta {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vb-fullwidth-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.vb-fullwidth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px);
    transform: scale(1.05);
    /* Prevent blur white edges */
}

.vb-fullwidth-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.vb-fullwidth-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 40px 5%;
}

.vb-fullwidth-heading {
    font-family: var(--font-family-primary);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.vb-fullwidth-description {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    opacity: 0.9;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    max-width: none;
}

.vb-fullwidth-cta-btn {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 14px 40px;
    transition: background 0.3s ease, color 0.3s ease;
}

.vb-fullwidth-cta-btn:hover {
    background: #ffffff;
    color: #1a1a1a;
    opacity: 1;
}

/* ============================================
   SCROLL TO TOP – Fixed bottom-right, brown accent
   Z-index: 9990 so below nav-header (10000) and mobile-nav (9999). Nav-toggle 10002 keeps menu button clickable.
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: max(clamp(20px, 4vw, 32px), env(safe-area-inset-bottom, 0px));
    right: max(clamp(20px, 4vw, 32px), env(safe-area-inset-right, 0px));
    z-index: 9990;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-alternative);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(106, 68, 32, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.25s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hide when mobile menu is open so nav toggle stays sole focus */
body.menu-open .scroll-to-top,
body.nav-open .scroll-to-top {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.scroll-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: var(--accent-light);
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(106, 68, 32, 0.45);
}

.scroll-to-top:focus {
    outline: none;
}

.scroll-to-top:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.scroll-to-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.scroll-to-top-icon svg {
    width: 24px;
    height: 24px;
}

[data-theme="dark"] .scroll-to-top {
    background: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .scroll-to-top:hover {
    background: var(--accent-light);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    .scroll-to-top:hover {
        transform: scale(1);
    }
}

/* Mobile: larger touch target and safe spacing */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        bottom: max(24px, env(safe-area-inset-bottom, 0px));
        right: max(24px, env(safe-area-inset-right, 0px));
    }
    .scroll-to-top-icon svg {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
   MOBILE TYPOGRAPHY – Improved readability (site-wide)
   ============================================ */

@media (max-width: 768px) {
    body {
        font-size: 22px;
    }

    /* Navigation (all pages) */
    .nav-links a {
        font-size: 19px;
    }

    header[role="banner"] nav a {
        font-size: 17px !important;
    }

    .mobile-theme-toggle {
        font-size: 16px;
    }

    /* Section taglines and titles (about, services, locations, academy, etc.) */
    .section-tagline,
    .locations-title-tagline,
    .services-title-tagline {
        font-size: 15px;
    }

    .services-title {
        font-size: clamp(16px, 1.5vw, 18px);
    }

    .services-title-tagline {
        font-size: clamp(14px, 1.2vw, 16px);
    }

    /* Locations: address, phone, hours */
    .location-address,
    .location-phone {
        font-size: 20px;
    }

    .locations-hours p {
        font-size: 20px;
    }

    .locations-note {
        font-size: 16px;
    }

    /* Services: categories, names, prices */
    .service-category .category-name {
        font-size: 16px;
    }

    .service-name {
        font-size: 22px;
    }

    .service-price {
        font-size: 21px;
    }

    .services-link {
        font-size: 16px;
    }

    /* Academy (the-academy, index promo) */
    .academy-title {
        font-size: 16px;
    }

    .academy-description {
        font-size: clamp(22px, 4vw, 28px);
    }

    .academy-link {
        font-size: 15px;
    }

    /* Footer (all pages) */
    footer[role="contentinfo"] h2 {
        font-size: 16px !important;
    }

    .footer-links a {
        font-size: 16px;
    }

    .footer-legal a,
    .footer-credit {
        font-size: 15px;
    }

    /* Full-width CTA description */
    .vb-fullwidth-description {
        font-size: clamp(18px, 2.5vw, 22px);
    }

    /* Skip link (accessibility) */
    .skip-link {
        font-size: 16px;
    }

    /* Announcement bar (all pages) */
    .announcement-bar {
        font-size: 14px;
    }
}

/* ============================================
   LARGE SCREEN TYPOGRAPHY – Better readability on wide monitors (1440px+)
   ============================================ */

@media (min-width: 1440px) {
    body {
        font-size: 22px;
    }

    /* Services: names, prices, categories, links */
    .service-name {
        font-size: 22px;
    }

    .service-price {
        font-size: 21px;
    }

    .service-category .category-name {
        font-size: 16px;
    }

    .services-link {
        font-size: 15px;
    }

    .services-title-tagline {
        font-size: 16px;
    }

    /* Locations */
    .location-address,
    .location-phone {
        font-size: 22px;
    }

    .locations-hours p {
        font-size: 22px;
    }

    .locations-note {
        font-size: 16px;
    }

    .locations-title-tagline {
        font-size: 16px;
    }

    /* Section taglines (all pages) */
    .section-tagline,
    .locations-title-tagline,
    .services-title-tagline {
        font-size: 16px;
    }

    /* Navigation */
    .nav-links a {
        font-size: 18px;
    }

    /* Footer */
    .footer-links a {
        font-size: 16px;
    }

    .footer-legal a,
    .footer-credit {
        font-size: 15px;
    }
}

/* ============================================
   VB DESIGN PATTERNS - Horizontal Scroll Carousel
   ============================================ */

.gallery-carousel-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.gallery-carousel {
    width: 100%;
    overflow-x: hidden;
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(8px, 1.5vw, 16px);
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-item {
    overflow: hidden;
}

.carousel-image-wrapper {
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--bg-secondary);
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.carousel-item:hover .carousel-image-wrapper img {
    transform: scale(1.05);
}

/* Mobile: horizontal scroll carousel */
@media (max-width: 768px) {
    .gallery-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-carousel::-webkit-scrollbar {
        display: none;
    }

    .carousel-track {
        display: flex;
        grid-template-columns: none;
        width: max-content;
        max-width: none;
    }

    .carousel-item {
        flex: 0 0 auto;
        width: 70vw;
        scroll-snap-align: start;
    }
}

/* ============================================
   VB DESIGN PATTERNS - Enhanced Section Headings
   ============================================ */

/* Uniform section heading styles */
.section-tagline,
.locations-title-tagline,
.services-title-tagline {
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    text-align: center;
    display: block;
}

.section-title,
.locations-title,
.services-title-main {
    font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    line-height: 1.1;
}

/* ============================================
   COOKIE CONSENT BANNER & PREFERENCES MODAL
   Matches luxury palette; mobile-optimised
   ============================================ */

/* Cookie Banner - bottom sheet on mobile, fixed bar on desktop */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-primary);
    border-top: 2px solid var(--border-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cookie-banner-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cookie-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.cookie-banner-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.cookie-banner-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    touch-action: manipulation;
}

.cookie-banner-close:hover,
.cookie-banner-close:focus {
    color: var(--accent);
    background: var(--bg-secondary);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cookie-banner-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.cookie-banner-body {
    margin-bottom: 1rem;
}

.cookie-banner-text {
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
}

.cookie-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.cookie-btn-primary {
    background: var(--accent);
    color: var(--text-alternative);
    border-color: var(--accent);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-primary);
}

.cookie-btn-link {
    background: transparent;
    color: var(--accent);
    border: none;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Cookie Modal - full viewport on mobile */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cookie-modal-hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-modal-content {
    background: var(--bg-primary);
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    min-height: min(90vh, 400px);
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    border: none;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-modal-hidden .cookie-modal-content {
    transform: scale(0.98);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-primary);
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.cookie-modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    touch-action: manipulation;
}

.cookie-modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.cookie-modal-body {
    padding: 1rem 1.25rem;
}

.cookie-modal-intro {
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-category {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.375rem;
    border: 1px solid var(--border-primary);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-category-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.cookie-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-category-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--bg-primary);
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--accent);
}

.cookie-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.cookie-category-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0.25rem 0 0 0;
    margin-left: 0;
}

.cookie-modal-actions {
    padding: 1rem 1.25rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-primary);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Mobile: full-width stacked layout */
@media (max-width: 640px) {
    .cookie-banner {
        padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom));
        max-height: 90vh;
    }

    .cookie-banner-title {
        font-size: 1.125rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-banner-actions .cookie-btn {
        width: 100%;
    }

    .cookie-modal {
        padding: 0;
        align-items: flex-end;
    }

    .cookie-modal-content {
        max-height: 92vh;
        min-height: 50vh;
        border-radius: 0.5rem 0.5rem 0 0;
        margin: 0;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-actions {
        padding: 1rem 1rem;
    }

    .cookie-modal-actions {
        flex-direction: column-reverse;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }

    .cookie-category-description {
        margin-top: 0.5rem;
    }
}

@media (min-width: 641px) {
    .cookie-modal-content {
        border-radius: 0.5rem;
        margin: 1rem;
    }
}

[data-theme="dark"] .cookie-modal {
    background: rgba(0, 0, 0, 0.85);
}

@media (prefers-reduced-motion: reduce) {

    .cookie-banner,
    .cookie-modal,
    .cookie-modal-content,
    .cookie-btn {
        transition: none;
    }
}

/* ============================================
   IMAGE FADE-IN
   ============================================ */
.img-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.img-fade-in.visible {
    opacity: 1;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
footer[role="contentinfo"] {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}

footer[role="contentinfo"] a {
    transition: color 0.2s ease;
}

footer[role="contentinfo"] a:hover {
    color: var(--accent) !important;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    /* Hide non-essential elements */
    .nav-header,
    .mobile-nav,
    .theme-toggle,
    .nav-toggle,
    .skip-link,
    .hero,
    .atmosphere-break,
    .gallery-carousel-section,
    .vb-fullwidth-cta,
    .announcement-bar,
    footer,
    button {
        display: none !important;
    }

    /* Reset background and colors for print */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }

    /* Ensure main content is visible and takes full width */
    main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove Scroll Animations */
    [data-animate],
    .is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Specific print formatting for Services page */
    .services-hero {
        padding: 20px 0;
        text-align: left;
    }

    .services-title {
        font-size: 24pt;
        color: black;
        margin-bottom: 10px;
    }

    .services-intro {
        font-size: 14pt;
        color: black;
        font-style: italic;
    }

    .services-content {
        padding: 0;
        max-width: none;
    }

    .service-category {
        page-break-inside: avoid;
        margin-bottom: 30px;
    }

    .category-name {
        font-size: 16pt;
        border-bottom: 2px solid black;
        color: black;
        margin-bottom: 15px;
    }

    .service-item {
        border-bottom: 1px solid #ccc;
        padding: 8px 0;
    }

    .service-name {
        font-size: 12pt;
        color: black;
        font-weight: bold;
    }

    .service-price {
        font-size: 12pt;
        color: black;
        font-weight: bold;
    }

    /* Reveal URLs for links */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }

    /* Don't reveal nav links or internal anchors */
    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }
}