/* --- VARIABLES --- */
:root {
    --bg-dark: #2C2624;
    --text-light: #e6e6e6;
    --accent: #6C7A89;
    --line: rgba(255,255,255,0.15);
    --font-display: 'Playfair Display', serif;
    --font-tech: 'Space Mono', monospace;
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --btn-bg: rgba(44, 38, 36, 0.9);
    --input-border: rgba(255, 255, 255, 0.2);
    --container-pad: 40px;
    --section-pad: 180px;
}

[data-theme="light"] {
    --bg-dark: #EBE9E4;
    --text-light: #2C2624;
    --accent: #5b8fbd;
    --line: rgba(44, 38, 36, 0.15);
    --btn-bg: rgba(235, 233, 228, 0.9);
    --input-border: rgba(44, 38, 36, 0.2);
}

/* --- RESET & BODY --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
    background-color: var(--bg-dark); color: var(--text-light);
    font-family: var(--font-tech); font-weight: 400; font-size: 13px;
    line-height: 1.7; overflow-x: hidden; min-height: 100%;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-overflow-scrolling: touch;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; color: var(--text-light); }
a, button { text-decoration: none; color: inherit; transition: 0.3s; cursor: pointer; }
img { width: 100%; display: block; }

/* UTILS */
.container { max-width: 1400px; margin: 0 auto; padding: 0 var(--container-pad); }
.text-center { text-align: center; }
.mt-100 { margin-top: 100px; }
.mt-10 { margin-top: 10px; }
.mb-20 { margin-bottom: 20px; }

/* SCROLL BAR */
.scroll-progress-track { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.05); z-index: 2000; pointer-events: none; }
.scroll-progress-bar { height: 100%; width: 0%; background: var(--accent); will-change: width; } 

/* BUTTONS */
.btn-outline { display: inline-block; border: 1px solid var(--accent); padding: 12px 30px; color: var(--accent); text-transform: uppercase; font-family: var(--font-tech); margin-right: 20px; transition: 0.3s; }
.btn-outline:hover { background: var(--accent); color: var(--bg-dark); }
.text-btn { background: none; border: none; font-family: var(--font-tech); text-transform: uppercase; color: var(--accent); transition: 0.3s; }
.text-btn:hover { color: var(--text-light); }
.back-btn-sticky { display: inline-block; background: var(--text-light); color: var(--bg-dark); padding: 10px 20px; font-family: var(--font-tech); font-size: 0.75rem; text-transform: uppercase; border: 1px solid var(--text-light); transition: 0.3s; letter-spacing: 1px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.back-btn-sticky:hover { background: var(--accent); color: var(--bg-dark); border-color: var(--accent); }

/* UI */
.fixed-ui { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; padding: 30px; touch-action: none; }
.corner { position: absolute; pointer-events: auto; touch-action: manipulation; }
.top-left { top: 30px; left: 30px; }
.top-right { top: 30px; right: 30px; } 
.bottom-right { bottom: 30px; right: 30px; }
.bottom-left { bottom: 30px; left: 30px; }
.mix-blend { color: var(--text-light); font-family: var(--font-tech); font-size: 0.8rem; letter-spacing: 1px; }

/* HEADER BUTTONS */
.book-btn-fixed, .menu-btn { height: 48px; display: flex; align-items: center; justify-content: center; font-family: var(--font-tech); color: var(--text-light); border: 1px solid var(--line); padding: 0 25px; background: var(--btn-bg); backdrop-filter: blur(5px); transition: 0.3s; text-transform: uppercase; font-size: 0.85rem; box-sizing: border-box; }
[data-theme="light"] .book-btn-fixed, [data-theme="light"] .menu-btn { color: var(--text-light); border-color: var(--text-light); }
.book-btn-fixed:hover, .menu-btn:hover { background: var(--text-light); color: var(--bg-dark); }
[data-theme="light"] .book-btn-fixed:hover, [data-theme="light"] .menu-btn:hover { background: var(--text-light); color: var(--bg-dark); border-color: var(--text-light); }

/* DROPDOWN */
.booking-dropdown-wrapper { position: relative; display: flex; flex-direction: column; }
.client-login-drop { height: 48px; background: var(--btn-bg); backdrop-filter: blur(5px); border: 1px solid var(--line); border-top: none; display: flex; align-items: center; justify-content: center; font-family: var(--font-tech); font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; transition: all 0.4s var(--ease); opacity: 0; transform: translateY(-10px); pointer-events: none; position: absolute; top: 48px; left: 0; width: 100%; z-index: -1; }
[data-theme="light"] .client-login-drop { color: var(--text-light); border-color: var(--text-light); }
.client-login-drop:hover { background: var(--text-light); color: var(--bg-dark); }
.booking-dropdown-wrapper:hover .client-login-drop { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* MENU */
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); z-index: 999; transform: translateY(-100%); transition: transform 0.8s var(--ease); display: flex; flex-direction: column; align-items: center; justify-content: center; will-change: transform; -webkit-overflow-scrolling: touch; overflow-y: auto; }
.menu-overlay.open { transform: translateY(0); }
.menu-links { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.menu-link { font-family: var(--font-display); font-size: 4rem; color: var(--text-light); text-transform: uppercase; transition: 0.3s; }
.menu-link:hover { color: var(--accent); }
.idx { font-family: var(--font-tech); font-size: 1rem; color: var(--accent); margin-right: 20px; vertical-align: middle; }

/* Theme Toggle */
.theme-toggle-menu { margin-top: 40px; border: 1px solid var(--line); padding: 10px 20px; font-family: var(--font-tech); color: var(--text-light); background: transparent; text-transform: uppercase; font-size: 0.8rem; cursor: pointer; transition: 0.3s; display: inline-block; }
[data-theme="light"] .theme-toggle-menu { color: var(--text-light); border-color: var(--text-light); }
.theme-toggle-menu:hover { border-color: var(--accent); color: var(--accent); }
[data-theme="light"] .theme-toggle-menu:hover { background: var(--text-light); color: var(--bg-dark); }

/* FOOTER SLIDER */
.footer-theme-wrapper { display: flex; align-items: center; gap: 12px; font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--accent); cursor: pointer; }
.theme-icon { font-size: 1rem; line-height: 1; transition: opacity 0.3s, color 0.3s; color: var(--accent); }
.moon-icon { opacity: 1; }
.sun-icon { opacity: 0.35; }
[data-theme="light"] .moon-icon { opacity: 0.35; }
[data-theme="light"] .sun-icon { opacity: 1; }
.theme-switch { position: relative; width: 60px; height: 24px; border: 1px solid var(--line); background: transparent; transition: 0.3s; cursor: pointer; }
.switch-puck { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: var(--text-light); transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s; }
.footer-theme-wrapper:hover .theme-switch { border-color: var(--accent); }
.footer-theme-wrapper:hover .switch-puck { background: var(--accent); }
[data-theme="light"] .switch-puck { transform: translateX(36px); background: var(--accent); }

/* SECTIONS */
.hero-section { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-center-wrapper { width: 350px; height: 500px; position: relative; z-index: 1; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.5); will-change: transform; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; width: 100%; mix-blend-mode: exclusion; }
.hero-title { font-size: 18vw; line-height: 0.8; letter-spacing: -5px; margin-bottom: 40px; color: #fff; }
.hero-studio { font-family: var(--font-tech); font-size: 2vw; letter-spacing: 15px; text-transform: uppercase; font-weight: 700; margin-top: 60px; margin-bottom: 0px; color: #fff; }
.hero-sub { font-family: var(--font-tech); font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; margin-top: 5px; color: #fff; }

.section-intro, .section-services, .section-team, .section-reviews, .contact-interface { padding: 180px 0; border-bottom: 1px solid var(--line); }
.meta-row { margin-bottom: 60px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.meta-label { color: var(--accent); }
.intro-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.editorial-head { font-size: 3rem; line-height: 1.2; color: var(--text-light); }
.text-cols p { margin-bottom: 20px; font-size: 1rem; color: var(--text-light); }

.services-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.service-item { border-bottom: 1px solid var(--line); padding: 40px 0; cursor: default; transition: 0.3s; }
.service-item:hover { background: var(--text-light); padding-left: 15px; padding-right: 15px; }
.service-item:hover * { color: var(--bg-dark) !important; }
[data-theme="light"] .service-item:hover { background: #5b8fbd !important; color: #fff !important; }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.svc-name { font-family: var(--font-display); font-size: 2.2rem; transition: 0.3s; color: var(--text-light); }
.svc-arrow { font-size: 2rem; transition: 0.3s; color: var(--text-light); }
.svc-detail .row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--accent); font-size: 1.1rem; }
.services-actions { margin-top: 60px; }
.services-visual { position: relative; height: 100%; }
.img-reveal-mask { width: 350px; height: 480px; overflow: hidden; position: sticky; top: 150px; margin: 0 auto; }
.img-reveal-mask img { width: 100%; height: 100%; object-fit: cover; }

.section-team { background: var(--bg-dark); }
.team-list { border-top: 1px solid var(--line); margin-top: 40px; }
.team-row { display: grid; grid-template-columns: 1fr 1.5fr 180px; gap: 40px; padding: 70px 0; border-bottom: 1px solid var(--line); position: relative; align-items: center; cursor: default; transition: background 0.3s ease; min-height: 350px; }
.team-row:hover { background: rgba(255,255,255,0.05); }
[data-theme="light"] .team-row:hover { background: rgba(0,0,0,0.05); }
.row-left { display: flex; flex-direction: column; gap: 10px; }
.team-name { font-family: var(--font-display); font-size: 2.5rem; color: var(--text-light); }
.role { font-family: var(--font-tech); font-size: 0.85rem; text-transform: uppercase; color: var(--accent); letter-spacing: 1px; }
.row-right { padding: 0; position: relative; }
.row-right p { color: var(--text-light); font-family: var(--font-tech); font-size: 0.95rem; line-height: 1.8; max-width: 480px; }
.team-img { width: 180px; height: 180px; overflow: hidden; z-index: 10; background: #000; justify-self: center; }
.team-img.circle-shape { border-radius: 50%; border: 1px solid var(--line); }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.review-dashboard { display: grid; grid-template-columns: 1fr 3fr 1fr; align-items: start; gap: 40px; }
.tech-label { color: var(--accent); font-family: var(--font-tech); }
.dash-center { text-align: center; }
.stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 30px; letter-spacing: 5px; }
.quote-wrapper { min-height: 120px; }
.quote-text { font-family: var(--font-display); font-style: italic; font-size: 2rem; line-height: 1.4; margin-bottom: 30px; transition: opacity 0.4s; color: var(--text-light); }
.quote-text.fade-out { opacity: 0; }
.author-signature { display: block; font-family: var(--font-tech); font-size: 0.9rem; color: var(--accent); letter-spacing: 1px; margin-top: 20px; }
.dash-right { text-align: right; }
.nav-controls { display: flex; gap: 15px; justify-content: flex-end; }
.nav-arrow { background: none; border: none; font-family: var(--font-tech); color: var(--text-light); cursor: pointer; text-transform: uppercase; transition: 0.3s; }
.nav-arrow:hover { color: var(--accent); }

/* LOCATION MAP */
.loc-split-container { display: flex; width: 100%; height: 60vh; min-height: 600px; }
.loc-text-panel { width: 30%; padding: 60px; display: flex; align-items: center; border-right: 1px solid var(--line); background: var(--bg-dark); }
.loc-content { width: 100%; }
.loc-title { font-size: 3rem; margin-top: 20px; margin-bottom: 10px; line-height: 1; color: var(--text-light); }
.loc-sub { color: var(--accent); margin-bottom: 40px; }
.loc-contacts a { display: block; font-size: 1.2rem; margin-bottom: 10px; color: var(--text-light); }
.loc-contacts a:hover { color: var(--accent); }

/* Map colors (Grey by default, color on hover, always color in light mode) */
.loc-map-panel { width: 70%; height: 100%; background: #111; }
.loc-map-panel iframe { width: 100%; height: 100%; filter: grayscale(100%); transition: filter 0.6s ease; }
.loc-map-panel:hover iframe { filter: grayscale(0%); }
[data-theme="light"] .loc-map-panel iframe { filter: grayscale(0%); }

.site-footer { background: var(--bg-dark); border-top: 1px solid var(--line); padding-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; border-bottom: 1px solid var(--line); }
.footer-col { padding: 50px 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 30px; }
.footer-col:last-child { border-right: none; }
.logo-card { background-color: #ffffff; padding: 15px 20px; display: inline-block; max-width: 140px; }
.footer-logo { width: 100%; height: auto; filter: none; }
.footer-address p { font-family: var(--font-tech); color: var(--text-light); font-size: 0.85rem; line-height: 1.6; }
.footer-book-btn { font-family: var(--font-tech); color: var(--accent); text-transform: uppercase; font-size: 0.85rem; border: 1px solid var(--line); padding: 10px 20px; text-align: center; width: fit-content; transition: 0.3s; }
.footer-book-btn:hover { background: var(--text-light); color: var(--bg-dark); }
.footer-label { display: block; color: var(--accent); font-family: var(--font-tech); font-size: 0.75rem; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.hours-table { width: 100%; border-collapse: collapse; font-family: var(--font-tech); font-size: 0.85rem; color: #bbb; }
.hours-table td { padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .time { text-align: right; color: var(--text-light); }
.col-connect { justify-content: space-between; } 
.connect-links { display: flex; flex-direction: column; gap: 8px; }
.connect-links a { font-family: var(--font-tech); color: var(--text-light); text-transform: uppercase; font-size: 0.85rem; }
.connect-links a:hover { color: var(--accent); }
.std-list { list-style: none; font-family: var(--font-tech); color: var(--text-light); font-size: 0.75rem; line-height: 1.6; }
.std-list li::before { content: "• "; color: var(--accent); margin-right: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; font-family: var(--font-tech); font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; }

/* SERVICES PAGE */
.page-hero { padding: 220px 0 100px 0; border-bottom: 1px solid var(--line); }
.page-title { font-size: 10vw; line-height: 0.9; letter-spacing: -2px; margin-bottom: 30px; color: var(--text-light); }
.page-sub { font-family: var(--font-tech); color: var(--accent); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }
.back-link { display: inline-block; font-family: var(--font-tech); color: var(--accent); text-transform: uppercase; font-size: 0.9rem; margin-bottom: 30px; transition: color 0.3s ease; letter-spacing: 1px; }
.back-link:hover { color: var(--text-light); }
.hero-intro { font-family: var(--font-tech); color: var(--text-light); font-size: 1rem; margin-top: 40px; max-width: 600px; line-height: 1.6; }

.menu-section { padding: 0; }
.menu-category { display: grid; grid-template-columns: 1fr 2fr; border-bottom: 1px solid var(--line); align-items: start; }
.cat-header { padding: 60px 0; position: sticky; top: 100px; }
.cat-header h2 { font-size: 3rem; color: var(--text-light); }
.cat-note { font-family: var(--font-tech); color: var(--text-light); font-size: 0.8rem; margin-top: 20px; max-width: 250px; line-height: 1.6; }
.cat-list { padding: 60px 0 60px 40px; border-left: 1px solid var(--line); }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px dashed var(--line); font-family: var(--font-tech); transition: 0.3s; }
.menu-item:hover { padding-left: 10px; background: var(--text-light); color: var(--bg-dark); }
.menu-item:last-child { border-bottom: none; }
.item-name { font-size: 1.1rem; color: var(--text-light); text-transform: uppercase; }
.item-price { font-size: 1.1rem; color: var(--text-light); white-space: nowrap; }
.dim { color: var(--accent); font-size: 0.9em; margin-left: 10px; }
.menu-subheader { font-family: var(--font-tech); color: var(--accent); font-size: 0.8rem; margin-top: 40px; margin-bottom: 20px; letter-spacing: 1px; }
.item-group { display: flex; flex-direction: column; }
.item-note { font-size: 0.75rem; color: var(--accent); margin-top: 5px; }
.qiqi-block { background: rgba(255,255,255,0.03); padding: 30px; margin-top: 40px; border: 1px solid var(--line); }
.item-name.highlight { color: var(--accent); font-weight: 700; }
.item-price.highlight { color: var(--text-light); }
.qiqi-desc { font-family: var(--font-tech); color: var(--text-light); font-size: 0.9rem; line-height: 1.8; margin-top: 20px; }
.policy-section { padding: 80px 0; border-bottom: 1px solid var(--line); background: var(--bg-dark); }
.policy-text { font-family: var(--font-tech); color: var(--accent); font-size: 0.9rem; letter-spacing: 1px; line-height: 2; }

/* CONTACT */
.contact-interface { padding-bottom: 150px; border-bottom: 1px solid var(--line); }
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; align-items: start; }
.contact-info-panel { padding-right: 40px; border-right: 1px solid var(--line); }
.info-group { margin-bottom: 50px; }
.info-group p { color: var(--text-light); font-family: var(--font-tech); font-size: 1rem; line-height: 1.6; }
.info-group a { color: var(--text-light); border-bottom: 1px solid transparent; transition: 0.3s; }
.info-group a:hover { border-color: var(--accent); color: var(--accent); }
.map-embed-wrapper { height: 250px; width: 100%; background: #111; filter: grayscale(100%) invert(90%); margin-top: 40px; }
.contact-form-panel { position: relative; min-height: 400px; }

/* Form Layout Updates */
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 60px; position: relative; }
.form-group label { display: block; font-family: var(--font-tech); font-size: 0.7rem; color: var(--accent); margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; }
input, textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--input-border); color: var(--text-light); font-family: var(--font-tech); font-size: 1.2rem; padding: 15px 0; transition: 0.3s; border-radius: 0; }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--text-light); }
textarea { resize: none; min-height: 40px; }
.submit-btn { background: transparent; border: 1px solid var(--line); color: var(--accent); padding: 15px 40px; font-family: var(--font-tech); text-transform: uppercase; cursor: pointer; transition: 0.3s; letter-spacing: 1px; }
.submit-btn:hover { background: var(--text-light); color: var(--bg-dark); }
.success-screen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); z-index: 10; }
.success-title { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin-bottom: 20px; color: var(--text-light); }
.success-sub { font-family: var(--font-tech); color: var(--accent); letter-spacing: 2px; text-transform: uppercase; }

/* PRIVACY */
.policy-content { padding: 100px 0; max-width: 800px; margin: 0 auto; }
.policy-block { margin-bottom: 60px; }
.policy-heading { font-family: 'Space Mono', monospace; color: var(--accent); text-transform: uppercase; margin-bottom: 20px; font-size: 0.9rem; letter-spacing: 1px; }
.policy-text-body { font-family: 'Space Mono', monospace; font-size: 0.9rem; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.policy-list { list-style: none; padding-left: 0; }
.policy-list li { position: relative; padding-left: 20px; color: var(--text-light); font-family: 'Space Mono', monospace; font-size: 0.9rem; margin-bottom: 10px; }
.policy-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* MODAL */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    background: rgba(44, 38, 36, 0.95); 
    backdrop-filter: blur(5px); 
    z-index: 99999; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
}

.modal-overlay.active { 
    opacity: 1; 
    pointer-events: auto;
}

.modal-wrapper { 
    width: 100%; 
    max-width: 600px; 
    height: 80vh; 
    background: #fff; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.8); 
    transform: translateY(30px); 
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); 
    will-change: transform;
}

.modal-overlay.active .modal-wrapper { 
    transform: translateY(0); 
}

.modal-header { 
    background: #2C2624; 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.modal-title { 
    font-family: 'Space Mono', monospace; 
    color: #6C7A89; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
}

.modal-close-btn { 
    background: none; 
    border: none; 
    color: #fff; 
    font-family: 'Space Mono', monospace; 
    font-size: 0.8rem; 
    cursor: pointer; 
}

.modal-close-btn:hover { 
    color: #6C7A89; 
}

.booking-frame { 
    width: 100%; 
    height: 100%; 
    background: #fff; 
}

/* RESPONSIVE */
@media (max-width: 900px) {
    :root { --section-pad: 100px; }
    .corner.bottom-right, .corner.bottom-left { display: none; }
    .hero-title { font-size: 22vw; margin-bottom: 20px; }
    .hero-studio { font-size: 0.9rem; letter-spacing: 5px; margin-top: 20px; margin-bottom: 0px; }
    .hero-sub { font-size: 0.65rem; margin-top: 10px; letter-spacing: 1px; }
    .intro-content, .services-wrapper { display: flex; flex-direction: column; gap: 30px; }
    .editorial-head { font-size: 2rem; }
    .text-cols { column-count: 1; }
    .services-visual { display: none; }
    .services-list { width: 100%; }
    .svc-name { font-size: 1.8rem; }
    
    /* Contact Page Mobile Adjustments */
    .contact-split { display: flex; flex-direction: column; gap: 40px; }
    .contact-form-panel { order: 2; min-height: auto; margin-top: 20px; }
    .contact-info-panel { order: 1; border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 40px; padding-right: 0; }
    .form-row-2col { grid-template-columns: 1fr; gap: 0; }
    
    .loc-split-container { flex-direction: column; height: auto; }
    .loc-text-panel { width: 100%; padding: 40px 20px; border-right: none; border-bottom: 1px solid var(--line); }
    .loc-map-panel { height: 280px; width: 100%; }
    .loc-title { font-size: 2.5rem; }
    .team-row { display: flex; flex-direction: column; text-align: center; padding: 60px 0; min-height: auto; gap: 25px; }
    .row-left { order: 1; } .row-right { order: 3; padding: 0; }
    .team-img { width: 160px; height: 160px; margin: 0 auto; order: 2; border: 1px solid rgba(255, 255, 255, 0.2); }
    .menu-section { counter-reset: service-cat; }
    .menu-category { grid-template-columns: 1fr; position: relative; padding-top: 40px; margin-bottom: 40px; border-top: 1px solid var(--line); }
    .cat-header { position: relative; top: auto; background: transparent; padding: 0 0 20px 0; border-bottom: none; margin-bottom: 10px; }
    .cat-header h2::before { counter-increment: service-cat; content: "0" counter(service-cat) " — "; font-family: var(--font-tech); font-size: 0.9rem; color: var(--accent); display: block; margin-bottom: 5px; letter-spacing: 2px; }
    .cat-header h2 { font-size: 2.5rem; line-height: 1; color: var(--text-light); }
    .cat-list { padding: 0; border-left: none; }
    .menu-item { flex-direction: column; gap: 5px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
    .item-price { align-self: flex-start; color: var(--accent); font-size: 0.95rem; }
    .menu-category::after { content: "[ END SECTION ]"; display: block; font-family: var(--font-tech); font-size: 0.6rem; color: #333; margin-top: 20px; text-align: right; }
    .review-dashboard { grid-template-columns: 1fr; gap: 30px; }
    .dash-left, .dash-right, .nav-controls { justify-content: center; text-align: center; }
    .quote-text { font-size: 1.4rem; }
    .section-intro, .section-services, .section-team, .section-reviews, .contact-interface { padding: var(--section-pad) 0; }
    .page-hero { padding: 160px 0 70px; }
    .page-title { font-size: 16vw; }
}

@media (max-width: 768px) {
    :root { --container-pad: 20px; --section-pad: 70px; }

    /* Base font slightly larger for readability on small screens */
    body { font-size: 14px; line-height: 1.75; }

    #theme-toggle-mobile { display: block; margin: 20px auto 0 auto; }
    .client-login-drop { display: none; }

    /* ── NAV MENU ── */
    .menu-links { gap: 10px; width: 100%; padding: 20px 20px 40px; }
    .menu-link { font-size: 2rem; letter-spacing: -1px; line-height: 1.1; display: block; padding: 8px 0; position: relative; }
    /* Active page indicator */
    .menu-link.active { color: var(--accent); }
    .menu-link.active::after { content: ''; position: absolute; bottom: 4px; left: 0; width: 30px; height: 1px; background: var(--accent); }

    /* ── FOOTER ── */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-col { padding: 30px 20px; text-align: center; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .logo-card { margin: 0 auto; }
    .footer-book-btn { margin: 20px auto 0 auto; display: block; }
    .hours-table { max-width: 320px; margin: 0 auto; }
    .hours-table td { text-align: left; width: 50%; }
    .hours-table .time { text-align: right; width: 50%; }
    .col-connect { gap: 30px; align-items: center; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; padding: 20px; text-align: center; }

    /* ── HEADER BUTTONS — larger tap targets on mobile ── */
    .book-btn-fixed, .menu-btn { height: 50px; padding: 0 20px; font-size: 0.8rem; min-width: 50px; }
    .fixed-ui { padding: 12px; }
    .top-left { top: 12px; left: 12px; }
    .top-right { top: 12px; right: 12px; }
    .booking-dropdown-wrapper { align-items: flex-start; }

    /* ── TAP TARGETS ── */
    .back-link, .text-btn { min-height: 44px; display: inline-flex; align-items: center; }
    .nav-arrow { min-height: 48px; min-width: 64px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; border: 1px solid var(--line); padding: 0 14px; }
    .theme-switch { position: relative; }
    .theme-switch::before { content: ''; position: absolute; inset: -12px -10px; }

    /* ── SECTION SPACING — tighter internal gaps ── */
    .meta-row { margin-bottom: 30px; }
    .section-intro .intro-content { gap: 20px; }
    .section-team .team-row { padding: 40px 0; gap: 18px; }
    .section-reviews { padding: 60px 0; }
    .services-actions { margin-top: 30px; }
    .info-group { margin-bottom: 30px; }

    /* ── REVIEWS ── */
    .quote-text { font-size: 1.15rem; }
    .nav-controls { gap: 10px; margin-top: 10px; }

    /* ── MAP — shorter on mobile ── */
    .loc-map-panel { height: 240px; }
    .map-embed-wrapper { height: 200px; }

    /* ── FORMS ── */
    .policy-content { padding: 60px 0; }
    .policy-block { margin-bottom: 40px; }
    .contact-interface { padding-bottom: 80px; }
    .form-group { margin-bottom: 32px; }
    .submit-btn { width: 100%; padding: 16px; }

    /* ── SERVICES PAGE ── */
    .menu-item { padding: 12px 0; }
    .item-name { font-size: 0.95rem; }
    .success-title { font-size: 2.8rem; }


}

@media (max-width: 480px) {
    :root { --container-pad: 16px; --section-pad: 55px; }
    .hero-title { font-size: 26vw; }
    .hero-studio { font-size: 0.75rem; letter-spacing: 3px; }
    .hero-sub { font-size: 0.6rem; }
    .hero-center-wrapper { width: 260px; height: 380px; }
    .menu-link { font-size: 1.7rem; }
    .editorial-head { font-size: 1.7rem; }
    .page-title { font-size: 20vw; }
    .page-hero { padding: 130px 0 50px; }
    .team-name { font-size: 2rem; }
    .svc-name { font-size: 1.5rem; }
    .quote-text { font-size: 1rem; }
    .modal-wrapper { height: 90vh; }
    .success-title { font-size: 2.2rem; }
    .svc-top { flex-wrap: wrap; gap: 5px; }
}

/* ── HERO INLINE BOOK CTA (mobile only) ── */
.hero-book-cta {
    display: none;
}
@media (max-width: 768px) {
    .hero-book-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 60px var(--container-pad) 70px;
        border-bottom: 1px solid var(--line);
        /* animate in — starts invisible and shifted down */
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
                    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .hero-book-cta.in-view {
        opacity: 1;
        transform: translateY(0);
    }
    .hero-book-cta__btn {
        font-family: var(--font-tech);
        font-size: 0.9rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--accent);
        border: 1px solid var(--accent);
        padding: 18px 52px;
        touch-action: manipulation;
        transition: background 0.3s, color 0.3s, border-color 0.3s;
        /* subtle pulse to draw attention on first view */
        animation: none;
    }
    .hero-book-cta.in-view .hero-book-cta__btn {
        animation: cta-pulse 2.4s ease 0.8s 2;
    }
    .hero-book-cta__btn:active {
        background: var(--accent);
        color: var(--bg-dark);
    }
    @keyframes cta-pulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(108, 122, 137, 0); }
        50%       { box-shadow: 0 0 0 6px rgba(108, 122, 137, 0.18); }
    }
}

/* ── MOBILE STICKY BOOK BAR ── */
.mobile-book-bar {
    display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
    .mobile-book-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 998;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        pointer-events: none;
    }
    .mobile-book-bar.visible {
        transform: translateY(0);
        pointer-events: auto;
    }
    .mobile-book-bar__btn {
        display: block;
        width: 100%;
        padding: 18px 20px;
        background: var(--accent);
        color: #fff;
        font-family: var(--font-tech);
        font-size: 0.95rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-align: center;
        border: none;
        border-top: 1px solid rgba(255,255,255,0.15);
        touch-action: manipulation;
        transition: background 0.3s;
    }
    [data-theme="light"] .mobile-book-bar__btn {
        color: #fff;
    }
    .mobile-book-bar__btn:active {
        background: var(--text-light);
        color: var(--bg-dark);
    }
    /* Hide bar when booking modal is open */
    body.modal-open .mobile-book-bar {
        display: none;
    }
}

a.service-item { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.service-item:hover .svc-name { opacity: 0.7; }
a.service-item:hover .svc-arrow { transform: translateX(4px); }
a.service-item:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* MOBILE TOUCH — ensure buttons/links don't interfere with page scroll */
@media (hover: none) and (pointer: coarse) {
    /* All tappable elements get manipulation so the browser handles taps natively */
    a, button, .book-btn-fixed, .menu-btn, .btn-outline,
    .nav-arrow, .text-btn, .back-btn-sticky, .back-link,
    .footer-book-btn, .theme-toggle-menu, .footer-theme-wrapper,
    .submit-btn, .menu-link { touch-action: manipulation; }

    /* CRITICAL FIX: fixed-ui covers viewport — must allow touch passthrough.
       pointer-events:none handles clicks, but touch-action:none was BLOCKING
       scroll gestures in light theme (WebKit bug). Use auto instead. */
    .fixed-ui { touch-action: auto; pointer-events: none !important; }
    .fixed-ui .corner { pointer-events: auto !important; touch-action: manipulation; }

    /* Prevent the menu overlay from blocking body scroll when closed */
    .menu-overlay:not(.open) { pointer-events: none; touch-action: none; }

    /* Open menu should scroll within itself if content overflows */
    .menu-overlay.open { overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; }

    /* Modal scroll */
    .modal-wrapper { overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
    .modal-overlay:not(.active) { pointer-events: none; touch-action: none; }

    /* Remove hover effects that can get stuck on touch */
    .service-item:hover { background: transparent; padding-left: 0; padding-right: 0; }
    .service-item:hover * { color: inherit !important; }
    .team-row:hover { background: transparent; }
    .menu-item:hover { padding-left: 0; background: transparent; color: inherit; }
}

/* Light theme: extra scroll fix — ensure body scroll is never locked */
[data-theme="light"] body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* ── BOOK BUTTON — scrolled blue state ── */
.book-btn-fixed.scrolled {
    background: #5b8fbd !important;
    color: #fff !important;
    border-color: #5b8fbd !important;
    transition: background 0.4s ease, color 0.3s ease, border-color 0.4s ease;
}
.book-btn-fixed.scrolled:hover {
    background: #5b8fbd !important;
    border-color: #5b8fbd !important;
}
/* Light theme variant stays consistent */
[data-theme="light"] .book-btn-fixed.scrolled {
    background: #5b8fbd !important;
    color: #fff !important;
    border-color: #5b8fbd !important;
}
/* ========================================================
   Sustainable Salons footer logo (replaces inline JS hover)
   CSP-compliant — no inline event handlers
   ======================================================== */
.sustainable-salons-link {
    display: inline-block;
    margin-top: 15px;
}
.sustainable-salons-logo {
    width: 140px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease;
}
.sustainable-salons-link:hover .sustainable-salons-logo,
.sustainable-salons-link:focus-visible .sustainable-salons-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================================
   Accessibility / SEO utility — visually hidden but crawlable
   ======================================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ========================================================
   FAQ SECTION (homepage + service subpages)
   ======================================================== */
.section-faq {
    padding: clamp(3rem, 8vw, 6rem) 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.faq-list {
    max-width: 900px;
    margin: 2rem 0 0 0;
    padding: 0;
}
.faq-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-q {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 0.75rem 0;
    text-transform: none;
    color: inherit;
}
.faq-a {
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.75;
}
[data-theme="light"] .section-faq {
    border-top-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .faq-item {
    border-bottom-color: rgba(0,0,0,0.08);
}

/* ========================================================
   Service subpage layout (balayage, haircut, hair-colour, etc.)
   ======================================================== */
.service-detail {
    padding: clamp(3rem, 8vw, 6rem) 0;
}
.service-detail__lede {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    max-width: 720px;
    margin: 2rem 0 3rem;
    opacity: 0.85;
}
.service-detail__body {
    max-width: 720px;
    line-height: 1.75;
    font-size: 0.95rem;
}
.service-detail__body p { margin: 0 0 1.25rem; }
.service-detail__body h2,
.service-detail__body h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin: 2.5rem 0 1rem;
    letter-spacing: -0.01em;
}
.service-detail__body h3 { font-size: 1.3rem; }
.service-detail__pricing {
    margin: 2rem 0;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 1.5rem;
}
[data-theme="light"] .service-detail__pricing {
    border-color: rgba(0,0,0,0.12);
}
.service-detail__pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.08);
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
}
.service-detail__pricing-row:last-child { border-bottom: 0; }
[data-theme="light"] .service-detail__pricing-row {
    border-bottom-color: rgba(0,0,0,0.08);
}
.related-services {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.related-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.related-services__item {
    display: block;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.3s;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
}
.related-services__item:hover {
    border-color: currentColor;
    transform: translateY(-2px);
}
[data-theme="light"] .related-services {
    border-top-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .related-services__item {
    border-color: rgba(0,0,0,0.12);
}


/* --- Fix for Services Menu Hover in Light Mode --- */
[data-theme="light"] .menu-item:hover { 
    background: var(--accent) !important; 
}

[data-theme="light"] .menu-item:hover,
[data-theme="light"] .menu-item:hover *,
[data-theme="light"] .menu-item:hover .dim,
[data-theme="light"] .menu-item:hover .item-note,
[data-theme="light"] .menu-item:hover .item-name.highlight,
[data-theme="light"] .menu-item:hover .item-price.highlight { 
    color: #ffffff !important; 
}

/* --- Fix for Services Menu Hover in Dark Theme --- */
.menu-item:hover *,
.menu-item:hover .dim,
.menu-item:hover .item-note,
.menu-item:hover .item-name.highlight,
.menu-item:hover .item-price.highlight { 
    color: var(--bg-dark) !important; 
}

/* ========================================================
   COOKIE BANNER
   ======================================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 380px;
    background: var(--btn-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--line);
    padding: 30px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-text {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 15px 0 25px;
    color: var(--text-light);
}

.cookie-actions {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0; 
        left: 0; 
        max-width: 100%;
        border-left: none; 
        border-right: none; 
        border-bottom: none;
        padding: 20px;
    }
}