/*
Theme Name: Ritu's Maison Luxe
Theme URI: https://ritusbeauty.example
Author: Bespoke for Ritu's Beauty Salon & Academy
Description: A premium, mobile-first WordPress theme for a luxury beauty salon and academy, with curated service proof, modular galleries and an interactive price menu.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ritus-maison-luxe
*/

:root {
    --ink: #171210;
    --ink-soft: #2b211d;
    --paper: #f7f2eb;
    --paper-deep: #ede3d8;
    --ivory: #fffaf4;
    --champagne: #cfad70;
    --champagne-light: #ead7af;
    --rose: #855163;
    --muted: #72665f;
    --line: rgba(35, 24, 19, .12);
    --light-line: rgba(255, 255, 255, .18);
    --glass: rgba(22, 17, 15, .66);
    --serif: "Bodoni 72", Didot, "Iowan Old Style", "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius-sm: 18px;
    --radius: 28px;
    --radius-lg: 38px;
    --shadow-sm: 0 12px 30px rgba(31, 20, 15, .08);
    --shadow: 0 28px 80px rgba(31, 20, 15, .17);
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

.skip-link {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 999px;
    background: white;
    color: black;
    transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-wrap { width: min(100% - 28px, 1180px); margin-inline: auto; }
.section { padding: 68px 0; position: relative; }
.kicker {
    margin: 0 0 11px;
    color: var(--rose);
    font-size: .68rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.kicker-light { color: var(--champagne-light); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1, h2, h3, p { text-wrap: pretty; }
em { font-weight: 400; color: var(--rose); }

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 22px;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease;
}
.button:active { transform: scale(.98); }
.button-gold {
    background: linear-gradient(135deg, #e1c48d 0%, #bd9452 100%);
    color: #1a120b;
    box-shadow: 0 16px 38px rgba(170, 127, 61, .25), inset 0 1px 0 rgba(255,255,255,.55);
}
.button-glass {
    color: white;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.27);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.button-ink { color: white; background: var(--ink); box-shadow: 0 16px 34px rgba(23,18,16,.15); }
.button-outline { border-color: rgba(23,18,16,.25); background: transparent; }
.button-outline-light { border-color: rgba(255,255,255,.27); color: white; background: rgba(255,255,255,.06); }

.site-header {
    position: fixed;
    z-index: 90;
    top: calc(10px + env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    transition: transform .35s var(--ease), background .35s ease;
}
.header-shell {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 8px 7px 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    background: rgba(15,12,11,.58);
    box-shadow: 0 12px 38px rgba(0,0,0,.16);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
}
.site-header.is-scrolled .header-shell { background: rgba(15,12,11,.84); }
.brand { min-width: 0; display: flex; align-items: center; gap: 9px; color: white; }
.brand-logo { flex: 0 0 auto; width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.custom-logo-wrap, .custom-logo-wrap a { display: flex; }
.custom-logo-wrap img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: white; }
.brand-copy { min-width: 0; display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.brand-copy small { margin-top: 3px; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.62); font-size: .56rem; letter-spacing: .025em; }
.header-book {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 16px;
    background: linear-gradient(135deg, #dfc088, #b98e4e);
    color: #17100b;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.header-book span { display: none; }
.desktop-nav { display: none; }

.hero {
    min-height: 94svh;
    position: relative;
    display: flex;
    overflow: hidden;
    background: #120d0c;
    color: white;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 35%; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,10,9,.18) 0%, rgba(14,10,9,.12) 28%, rgba(14,10,9,.56) 62%, rgba(14,10,9,.96) 100%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; opacity: .42; }
.hero-orb-one { width: 240px; height: 240px; background: #b6798f; left: -130px; bottom: 120px; }
.hero-orb-two { width: 200px; height: 200px; background: #d2ae70; right: -120px; bottom: 30px; }
.hero-inner { position: relative; z-index: 2; min-height: 94svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 100px 0 34px; }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: auto; padding-top: 2px; }
.open-chip, .film-trigger {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(10,8,7,.27);
    color: rgba(255,255,255,.8);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    font-size: .65rem;
}
.open-chip { padding: 0 12px; white-space: nowrap; }
.open-chip i { width: 7px; height: 7px; border-radius: 50%; background: #a9d18e; box-shadow: 0 0 0 5px rgba(169,209,142,.12); }
.film-trigger { padding: 0 12px; cursor: pointer; }
.film-trigger span { color: var(--champagne-light); font-size: .58rem; }
.hero-copy { max-width: 600px; }
.hero h1 { max-width: 8.6ch; margin: 8px 0 16px; font-size: clamp(3.35rem, 14.8vw, 7.8rem); line-height: .83; letter-spacing: -.062em; }
.hero-copy > p:not(.kicker) { max-width: 37ch; margin: 0; color: rgba(255,255,255,.74); font-size: .93rem; line-height: 1.65; }
.hero-actions { display: grid; gap: 10px; margin-top: 25px; }
.hero-signature { display: flex; align-items: center; gap: 9px; margin-top: 28px; overflow: hidden; color: rgba(255,255,255,.57); font-family: var(--serif); font-size: .78rem; letter-spacing: .03em; }
.hero-signature i { flex: 1 1 18px; max-width: 34px; height: 1px; background: rgba(255,255,255,.21); }

.trust-ribbon { position: relative; z-index: 5; margin-top: -1px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.trust-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trust-scroll::-webkit-scrollbar { display: none; }
.trust-scroll > div { scroll-snap-align: start; display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 10px 14px; border-right: 1px solid var(--line); }
.trust-scroll strong { color: var(--champagne); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.trust-scroll span { font-size: .78rem; font-weight: 700; }

.section-heading { display: grid; gap: 18px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; max-width: 11ch; font-size: clamp(2.65rem, 11vw, 5.6rem); line-height: .92; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.72; }

.services-section { overflow: hidden; }
.service-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 360px);
    gap: 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -14px;
    padding: 6px 14px 24px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.service-carousel::-webkit-scrollbar { display: none; }
.service-card {
    min-height: 510px;
    position: relative;
    scroll-snap-align: center;
    overflow: hidden;
    border-radius: 31px;
    background: var(--ink-soft);
    color: white;
    box-shadow: var(--shadow);
    isolation: isolate;
}
.service-card-photo img, .service-card-illustrated.has-custom-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card-photo img { transition: transform .8s var(--ease); }
.service-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,7,6,.02) 10%, rgba(10,7,6,.15) 44%, rgba(10,7,6,.92) 100%); }
.service-content { position: absolute; z-index: 3; left: 21px; right: 21px; bottom: 22px; }
.service-content > span { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; color: var(--champagne-light); font-family: var(--serif); font-size: .79rem; }
.service-content h3 { margin: 13px 0 7px; font-size: 2.25rem; line-height: .94; }
.service-content p { min-height: 68px; margin: 0; color: rgba(255,255,255,.67); font-size: .82rem; line-height: 1.58; }
.service-content a, .service-content button { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 0; border: 0; background: none; color: var(--champagne-light); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.service-card-illustrated { background: radial-gradient(circle at 75% 22%, rgba(208,175,111,.34), transparent 34%), linear-gradient(145deg, #3c2c29, #17110f 64%); }
.service-card-pedi { background: radial-gradient(circle at 24% 24%, rgba(145,84,105,.38), transparent 35%), linear-gradient(145deg, #2b201e, #100d0c 70%); }
.illustration-glow { position: absolute; width: 260px; height: 260px; left: 50%; top: 36%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(234,215,175,.16); box-shadow: 0 0 0 26px rgba(255,255,255,.018), 0 0 100px rgba(205,173,112,.12); }
.service-line-art { position: absolute; width: 69%; max-width: 250px; left: 50%; top: 39%; transform: translate(-50%,-50%); fill: none; stroke: var(--champagne-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .83; filter: drop-shadow(0 15px 25px rgba(0,0,0,.2)); }
.has-custom-image .illustration-glow, .has-custom-image .service-line-art { opacity: 0; }
.swipe-hint { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.swipe-hint i { width: 58px; height: 1px; background: var(--line); position: relative; }
.swipe-hint i:after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: rotate(45deg); }

.price-preview { padding-top: 0; }
.price-shell { overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(145deg, #211917, #0e0b0a 72%); color: white; box-shadow: var(--shadow); }
.price-intro { position: relative; padding: 34px 24px 28px; overflow: hidden; }
.price-intro:after { content: "₹"; position: absolute; top: -62px; right: -16px; color: rgba(255,255,255,.035); font-family: var(--serif); font-size: 16rem; line-height: 1; }
.price-intro h2 { position: relative; z-index: 1; margin: 0 0 14px; max-width: 11ch; font-size: clamp(2.5rem, 10vw, 5rem); line-height: .94; }
.price-intro p:not(.kicker) { position: relative; z-index: 1; max-width: 40ch; margin: 0 0 21px; color: rgba(255,255,255,.62); font-size: .86rem; line-height: 1.66; }
.price-intro .button { position: relative; z-index: 1; }
.featured-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); }
.price-mini { min-height: 135px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 18px; border: 0; background: rgba(255,255,255,.035); color: white; cursor: pointer; }
.price-mini span { font-size: .73rem; color: rgba(255,255,255,.63); }
.price-mini strong { margin-top: auto; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; color: var(--champagne-light); }
.price-mini small { margin-top: 3px; color: rgba(255,255,255,.42); font-size: .61rem; }

.proof-section { padding-top: 72px; }
.proof-bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 205px; gap: 9px; }
.proof-tile { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 22px; background: #ddd; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.proof-tile-1, .proof-tile-2 { grid-column: span 1; grid-row: span 2; }
.proof-tile-5 { grid-column: 1 / -1; }
.proof-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proof-tile:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13,9,8,.75)); }
.proof-tile span { position: absolute; z-index: 2; left: 15px; right: 15px; bottom: 14px; color: white; font-family: var(--serif); font-size: 1.03rem; text-align: left; line-height: 1.05; }
.proof-tile small { display: block; margin-bottom: 5px; color: var(--champagne-light); font-family: var(--sans); font-size: .55rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.center-action { display: flex; justify-content: center; margin-top: 24px; }

.premises-section { overflow: hidden; background: #171210; color: white; }
.premises-section:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(201,167,105,.15), transparent 32%), radial-gradient(circle at 0 80%, rgba(133,81,99,.14), transparent 38%); pointer-events: none; }
.section-heading-light { position: relative; }
.section-heading-light h2 { color: white; }
.section-heading-light > p { color: rgba(255,255,255,.58); }
.premises-rail { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 330px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -14px; padding: 3px 14px 20px; scrollbar-width: none; }
.premises-rail::-webkit-scrollbar { display: none; }
.premises-card { min-height: 440px; position: relative; scroll-snap-align: center; overflow: hidden; padding: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 29px; background: #2c2421; color: white; cursor: zoom-in; }
.premises-card img { width: 100%; height: 100%; object-fit: cover; }
.premises-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,8,7,.72)); }
.premises-card span { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 17px; font-family: var(--serif); font-size: 1.25rem; text-align: left; }
.premises-actions { position: relative; display: grid; gap: 14px; margin-top: 12px; }
.text-link-light { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; color: rgba(255,255,255,.67); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.academy-shell { overflow: hidden; border: 1px solid rgba(23,18,16,.08); border-radius: var(--radius-lg); background: var(--ivory); box-shadow: var(--shadow-sm); }
.academy-photo { position: relative; min-height: 310px; overflow: hidden; }
.academy-photo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(20,14,12,.62)); }
.academy-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.academy-badge { position: absolute; z-index: 2; left: 18px; bottom: 17px; width: 88px; height: 88px; display: grid; place-items: center; text-align: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(20,15,13,.42); color: white; backdrop-filter: blur(12px); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.academy-copy { padding: 28px 22px 26px; }
.academy-copy h2 { margin: 0 0 15px; font-size: clamp(2.6rem, 10.5vw, 5.4rem); line-height: .92; }
.academy-copy > p:not(.kicker) { margin: 0; color: var(--muted); font-size: .89rem; line-height: 1.7; }
.academy-steps { display: grid; gap: 8px; margin: 22px 0; padding: 0; list-style: none; }
.academy-steps li { display: flex; align-items: center; gap: 14px; min-height: 67px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.65); }
.academy-steps li > span { color: var(--champagne); font-family: var(--serif); font-size: 1.25rem; }
.academy-steps div { display: grid; }
.academy-steps strong { font-size: .82rem; }
.academy-steps small { color: var(--muted); font-size: .68rem; }

.visit-section { padding-top: 0; }
.visit-shell { overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-deep); box-shadow: var(--shadow-sm); }
.visit-logo { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.visit-logo:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,11,9,.25)); }
.visit-logo img { width: 100%; height: 100%; object-fit: cover; }
.visit-copy { padding: 28px 22px; }
.visit-copy h2 { margin: 0 0 15px; max-width: 12ch; font-size: clamp(2.5rem, 10vw, 5rem); line-height: .94; }
.visit-address { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.68; }
.visit-meta { display: grid; gap: 7px; margin: 18px 0 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .79rem; font-weight: 700; }
.visit-meta a { color: var(--rose); }
.visit-actions { display: grid; gap: 9px; }

.site-footer { padding: 60px 0 110px; background: #0f0c0b; color: white; }
.footer-grid { display: grid; gap: 30px; }
.footer-grid h2 { margin: 0; font-size: 2.7rem; line-height: .92; }
.footer-contact { color: rgba(255,255,255,.56); font-size: .82rem; line-height: 1.65; }
.footer-contact p { margin: 0 0 10px; }
.footer-bottom { display: flex; flex-direction: column; gap: 5px; margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.34); font-size: .64rem; }

.mobile-dock {
    position: fixed;
    z-index: 95;
    left: 8px;
    right: 8px;
    bottom: calc(7px + env(safe-area-inset-bottom));
    min-height: 68px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 23px;
    background: rgba(18,14,13,.9);
    box-shadow: 0 14px 42px rgba(0,0,0,.3);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.mobile-dock a, .mobile-dock button { display: grid; place-items: center; align-content: center; gap: 1px; min-width: 0; padding: 0; border: 0; border-radius: 17px; background: transparent; color: rgba(255,255,255,.76); cursor: pointer; }
.mobile-dock span { font-size: 1rem; line-height: 1; }
.mobile-dock small { font-size: .53rem; font-weight: 700; line-height: 1.2; }
.mobile-dock .dock-primary { background: linear-gradient(135deg, #dec086, #ad8246); color: #17100b; }

/* Dialogs */
.maison-dialog, .zoom-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--paper);
    color: var(--ink);
}
.maison-dialog[open], .zoom-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .36s var(--ease); }
.maison-dialog::backdrop, .zoom-dialog::backdrop { background: rgba(7,5,4,.8); backdrop-filter: blur(10px); }
.dialog-head {
    position: sticky;
    z-index: 5;
    top: 0;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(247,242,235,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.dialog-head .kicker { margin-bottom: 3px; }
.dialog-head h2 { margin: 0; font-size: 1.85rem; line-height: 1; }
.dialog-close, .zoom-close { flex: 0 0 auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.dialog-body { flex: 1; overflow-y: auto; padding: 18px 14px calc(96px + env(safe-area-inset-bottom)); }
.tab-rail { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tab-rail::-webkit-scrollbar { display: none; }
.tab-rail button { min-height: 42px; flex: 0 0 auto; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: .7rem; font-weight: 800; cursor: pointer; }
.tab-rail button.is-active, .tab-rail button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: white; }

.price-search { display: grid; gap: 7px; margin-bottom: 13px; }
.price-search span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.price-search input { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 17px; background: white; color: var(--ink); font-size: 1rem; }
.price-tabs { margin-bottom: 20px; }
.price-panel { display: none; }
.price-panel.is-active { display: block; }
.price-panel-intro { margin: 22px 2px; }
.price-panel-intro h3 { margin: 0 0 5px; font-size: 2.25rem; line-height: 1; }
.price-panel-intro p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.price-group { overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }
.price-group h4 { margin: 0; padding: 16px 15px 12px; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: .79rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-table { width: 100%; overflow: hidden; }
.price-row { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(70px, .7fr)); border-top: 1px solid rgba(35,24,19,.07); }
.price-row:first-child { border-top: 0; }
.price-row span { min-width: 0; padding: 12px 10px; font-size: .72rem; line-height: 1.35; overflow-wrap: anywhere; }
.price-row span:first-child { font-weight: 650; }
.price-row span:not(:first-child) { text-align: right; color: var(--rose); font-weight: 800; }
.price-row:has(span:nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) minmax(90px, auto); }
.price-header { background: #f5eee6; }
.price-header span { color: var(--muted) !important; font-size: .61rem; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; }
.price-row.is-hidden { display: none; }
.dialog-note { margin-top: 20px; padding: 22px 18px; border-radius: 24px; background: var(--ink); color: white; }
.dialog-note p { margin: 0 0 16px; color: rgba(255,255,255,.6); font-size: .78rem; line-height: 1.65; }

.gallery-tabs { position: sticky; z-index: 3; top: -18px; margin: -18px -14px 15px; padding: 12px 14px; background: rgba(247,242,235,.93); backdrop-filter: blur(18px); }
.gallery-grid { columns: 2; column-gap: 8px; }
.gallery-item { width: 100%; position: relative; display: block; margin: 0 0 8px; padding: 0; overflow: hidden; border: 0; border-radius: 17px; background: #e4d9ce; break-inside: avoid; cursor: zoom-in; }
.gallery-item.is-hidden { display: none; }
.gallery-item img { width: 100%; height: auto; min-height: 150px; object-fit: cover; background: linear-gradient(135deg,#e8ddd3,#d8c7b8); }
.gallery-item span { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 8px 9px; border-radius: 11px; background: rgba(16,12,11,.62); color: white; backdrop-filter: blur(10px); font-size: .59rem; text-align: left; }
.film-body { display: flex; flex-direction: column; justify-content: center; background: #100d0c; color: white; }
.film-body video { width: 100%; border-radius: 22px; background: black; box-shadow: 0 22px 60px rgba(0,0,0,.35); }
.film-body p { color: rgba(255,255,255,.55); font-size: .75rem; text-align: center; }
.zoom-dialog { background: rgba(8,6,5,.97); color: white; }
.zoom-close { position: fixed; z-index: 3; top: calc(14px + env(safe-area-inset-top)); right: 14px; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: white; backdrop-filter: blur(12px); }
.zoom-dialog figure { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: calc(75px + env(safe-area-inset-top)) 12px calc(24px + env(safe-area-inset-bottom)); }
.zoom-dialog img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 16px; }
.zoom-dialog figcaption { color: rgba(255,255,255,.65); font-family: var(--serif); font-size: 1rem; }

.content-shell { min-height: 70svh; padding-top: 120px; padding-bottom: 90px; }
.editorial-post { max-width: 760px; margin-inline: auto; }
.editorial-post h1 { font-size: clamp(3rem, 12vw, 6rem); line-height: .92; }
.editorial-post > img { border-radius: 28px; }
.entry-content { color: var(--muted); line-height: 1.8; }
.entry-content h2, .entry-content h3 { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (min-width: 540px) {
    .hero-actions, .visit-actions, .premises-actions { grid-template-columns: max-content max-content; justify-content: start; }
    .trust-scroll { grid-auto-columns: 48%; }
    .proof-bento { grid-auto-rows: 250px; }
    .featured-prices { grid-template-columns: repeat(3,1fr); }
    .gallery-grid { columns: 3; }
}

@media (min-width: 760px) {
    body { padding-bottom: 0; }
    .site-header { left: 22px; right: 22px; top: 18px; }
    .header-shell { min-height: 68px; padding-inline: 10px; }
    .header-book span { display: inline; margin-left: 4px; }
    .desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 8px; }
    .desktop-nav a, .desktop-nav button { padding: 0; border: 0; background: none; color: rgba(255,255,255,.72); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
    .mobile-dock { display: none; }
    .hero, .hero-inner { min-height: 880px; }
    .hero-image { object-position: center 30%; }
    .hero-inner { padding-top: 130px; padding-bottom: 60px; }
    .hero-copy > p:not(.kicker) { font-size: 1rem; }
    .hero-actions { display: flex; }
    .hero-signature { max-width: 480px; }
    .trust-scroll { grid-template-columns: repeat(4,1fr); grid-auto-flow: initial; overflow: visible; padding-block: 18px; }
    .trust-scroll > div { border-right: 1px solid var(--line); }
    .trust-scroll > div:last-child { border-right: 0; }
    .section { padding: 100px 0; }
    .section-heading { grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); align-items: end; margin-bottom: 44px; }
    .section-heading > p { max-width: 45ch; justify-self: end; }
    .service-carousel { grid-template-columns: repeat(3,1fr); grid-auto-flow: initial; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
    .service-card { min-height: 560px; }
    .service-card:hover img { transform: scale(1.035); }
    .swipe-hint { display: none; }
    .price-shell { display: grid; grid-template-columns: 1fr 1.2fr; }
    .price-intro { padding: 48px; }
    .featured-prices { border-top: 0; border-left: 1px solid rgba(255,255,255,.1); }
    .price-mini { min-height: 180px; padding: 22px; }
    .proof-bento { grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 250px 250px; }
    .proof-tile { grid-column: auto; grid-row: auto; }
    .proof-tile-1 { grid-row: 1 / 3; }
    .proof-tile-2 { grid-column: 2 / 4; }
    .proof-tile-5 { grid-column: auto; }
    .proof-tile:hover img { transform: scale(1.035); }
    .premises-rail { grid-auto-columns: min(38vw, 390px); }
    .premises-actions { display: flex; align-items: center; }
    .academy-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; }
    .academy-photo { min-height: 100%; }
    .academy-copy { display: flex; flex-direction: column; justify-content: center; padding: 52px; }
    .visit-shell { display: grid; grid-template-columns: .9fr 1.1fr; }
    .visit-logo { aspect-ratio: auto; min-height: 520px; }
    .visit-copy { display: flex; flex-direction: column; justify-content: center; padding: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact { justify-self: end; max-width: 360px; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .site-footer { padding-bottom: 42px; }
    .maison-dialog { width: min(960px, calc(100% - 44px)); height: min(900px, calc(100% - 44px)); margin: auto; border-radius: 30px; box-shadow: 0 40px 120px rgba(0,0,0,.35); }
    .dialog-head { padding: 18px 22px; }
    .dialog-body { padding: 22px 24px 34px; }
    .gallery-grid { columns: 4; column-gap: 10px; }
    .gallery-tabs { top: -22px; margin: -22px -24px 18px; padding: 14px 24px; }
    .price-row span { padding: 14px 16px; font-size: .8rem; }
    .film-body { padding: 26px; }
    .zoom-dialog { width: 100%; height: 100%; }
}

@media (min-width: 1100px) {
    .service-carousel { grid-template-columns: repeat(6,1fr); }
    .service-card { min-height: 520px; }
    .service-content h3 { font-size: 1.85rem; }
    .service-content p { font-size: .75rem; }
    .premises-rail { grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 260px 260px; grid-auto-flow: initial; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
    .premises-card { min-height: 0; }
    .premises-card:first-child { grid-row: 1 / 3; }
    .premises-card:nth-child(6) { display: none; }
}

@media (max-width: 359px) {
    .site-wrap { width: min(100% - 22px, 1180px); }
    .brand-copy small { max-width: 100px; }
    .header-book { padding-inline: 13px; }
    .hero h1 { font-size: 3.05rem; }
    .open-chip { font-size: .58rem; padding-inline: 10px; }
    .film-trigger { font-size: 0; width: 38px; justify-content: center; padding: 0; }
    .film-trigger span { font-size: .62rem; }
    .proof-bento { grid-auto-rows: 180px; }
    .price-row span { padding-inline: 7px; font-size: .67rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
