/* Self-hosted fonts (latin subset). Fallback faces are metric-matched to limit layout shift on swap. */
@font-face {
    font-family: "Italiana";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/italiana-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("assets/fonts/dm-sans-latin-400-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

@font-face {
    font-family: "Italiana Fallback";
    src: local("Times New Roman"), local("Liberation Serif"), local("Georgia");
    size-adjust: 104%;
    ascent-override: 89.2%;
    descent-override: 24%;
    line-gap-override: 0%
}

@font-face {
    font-family: "DM Sans Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica");
    size-adjust: 106.4%;
    ascent-override: 93.3%;
    descent-override: 29.1%;
    line-gap-override: 0%
}

:root {
    --ink: #292720;
    --cream: #f7f1e4;
    --paper: #fcfaf5;
    --rose: #ad8330;
    --sage: #8b7950;
    --gold-soft: #e7d29c;
    --gold-pale: #f4ead0;
    --headspa-green: #1f3a2e; /* placeholder: confirm against the Instagram 'Head Spa' highlight */
    --line: rgba(41, 39, 32, .18);
    --serif: "Italiana", "Italiana Fallback", Georgia, serif;
    --sans: "DM Sans", "DM Sans Fallback", Arial, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65
}

a {
    color: inherit
}

img {
    display: block;
    width: 100%
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: -100px;
    left: 1rem;
    background: var(--ink);
    color: white;
    padding: .6rem 1rem
}

.skip-link:focus {
    top: 1rem
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 4vw, 4.5rem);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    transition: .3s ease
}

.site-header.scrolled {
    height: 70px;
    background: rgba(251, 248, 243, .94);
    color: var(--ink);
    border-color: var(--line);
    backdrop-filter: blur(12px)
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.3rem;
    letter-spacing: .02em
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1rem
}

.desktop-nav {
    display: flex;
    gap: 2.5rem
}

.desktop-nav a,
footer a {
    font-size: .8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .12em
}

.desktop-nav a:hover,
footer a:hover {
    opacity: .6
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 54px;
    padding: 0 1.5rem;
    background: var(--rose);
    color: #fff;
    border: 1px solid var(--rose);
    text-decoration: none;
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .13em;
    transition: .25s
}

.button:hover {
    background: #8c5151;
    border-color: #8c5151;
    transform: translateY(-2px)
}

.button-small {
    min-height: 44px;
    padding: 0 1.2rem
}

.hero {
    position: relative;
    min-height: 780px;
    height: 100svh;
    display: grid;
    align-items: center;
    padding: 110px clamp(1.25rem, 7vw, 8rem) 50px;
    isolation: isolate;
    color: #fff;
    overflow: hidden
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(26, 29, 24, .7) 0%, rgba(26, 29, 24, .3) 45%, rgba(26, 29, 24, .03) 75%)
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01)
}

.hero-copy {
    max-width: 660px
}

.eyebrow {
    margin: 0 0 1.5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase
}

.hero h1,
.section h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.02em
}

.hero h1 {
    max-width: 650px;
    margin: .2rem 0 1.5rem;
    font-size: clamp(4rem, 7vw, 7.4rem)
}

em {
    font-weight: 400;
    color: #e7c4c2
}

.hero-intro {
    max-width: 520px;
    font-size: 1.13rem
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.3rem
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .3rem 0;
    border-bottom: 1px solid currentColor;
    text-decoration: none;
    font-size: .77rem;
    text-transform: uppercase;
    letter-spacing: .13em
}

.text-link:hover {
    opacity: .65
}

.hero-note {
    position: absolute;
    right: 4vw;
    bottom: 2.5rem;
    margin: 0;
    font-family: var(--serif);
    font-size: 1.1rem;
    line-height: 1.25;
    text-align: right
}

.section {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem)
}

.intro {
    background: var(--paper)
}

.section h2 {
    margin: 0;
    font-size: clamp(3.2rem, 5.7vw, 6.3rem)
}

.section h2 em {
    color: var(--rose)
}

.services {
    background: #dcdace
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 4rem;
    align-items: end;
    margin-bottom: 5rem
}

.section-heading>p {
    margin: 0 0 .5rem
}

.service-list {
    border-top: 1px solid var(--line)
}

.service-list article {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 2rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line)
}

.service-list article>span {
    color: var(--rose);
    font-size: .75rem
}

.service-list h3 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 2rem
}

.service-list article div p {
    margin: .4rem 0 0;
    max-width: 570px
}

.price {
    margin: .4rem 0 0;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.menu-note {
    margin: 1.5rem 0 0;
    font-size: .8rem;
    opacity: .7
}

.gallery {
    background: var(--paper)
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: repeat(2, 420px);
    gap: 1.2rem
}

.gallery-grid figure {
    position: relative;
    margin: 0;
    overflow: hidden
}

.gallery-grid img {
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease
}

.gallery-grid figure:hover img {
    transform: scale(1.025)
}

.gallery-tall {
    grid-row: 1/3
}

.gallery-grid figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: .5rem .75rem;
    background: rgba(251, 248, 243, .9);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.gallery-link {
    margin-top: 2rem
}

.testimonial {
    background: var(--rose);
    color: white;
    text-align: center
}

.quote-mark {
    margin: 0;
    font-family: var(--serif);
    font-size: 5rem;
    line-height: .6;
    color: #efd5d3
}

.testimonial blockquote {
    max-width: 900px;
    margin: 2rem auto;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 4.5vw, 4.6rem);
    line-height: 1.15
}

.testimonial>p:last-child {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .15em
}

.visit {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 5rem;
    background: #e8e3da
}

.visit-details {
    display: grid;
    align-content: center;
    gap: 2rem
}

.visit-details p {
    margin: 0
}

.label {
    margin-bottom: .5rem !important;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em
}

.visit .button {
    justify-self: start;
    margin-top: 1rem
}

footer {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    align-items: center;
    gap: 3rem;
    padding: 3rem clamp(1.25rem, 7vw, 8rem);
    background: var(--ink);
    color: white
}

footer p {
    margin: 0;
    font-size: .8rem
}

footer>div {
    display: flex;
    gap: 1.5rem
}

.footer-brand {
    font-size: 1.15rem
}

@media (max-width:820px) {
    .site-header {
        height: 70px
    }

    .desktop-nav {
        display: none
    }

    .brand {
        font-size: 1.05rem
    }

    .button-small {
        min-height: 40px;
        padding: 0 .9rem;
        font-size: .67rem
    }

    .hero {
        min-height: 700px;
        padding-top: 100px;
        align-items: end;
        padding-bottom: 8rem
    }

    .hero::after {
        background: linear-gradient(0deg, rgba(26, 29, 24, .75), rgba(26, 29, 24, .1) 85%)
    }

    .hero-copy {
        max-width: 600px
    }

    .hero h1 {
        font-size: clamp(3.7rem, 15vw, 5.8rem)
    }

    .hero-note {
        display: none
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.2rem
    }

    .section-heading,
    .visit {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    .section-heading {
        margin-bottom: 3rem
    }

    .service-list article {
        grid-template-columns: 35px 1fr
    }

    .price {
        grid-column: 2
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 560px 300px
    }

    .gallery-tall {
        grid-column: 1/3;
        grid-row: auto
    }

    .gallery-heading>p {
        max-width: 550px
    }

    footer {
        grid-template-columns: 1fr 1fr
    }

    footer>p:last-child {
        text-align: right
    }
}

@media (max-width:520px) {
    .brand-mark {
        display: none
    }

    .hero {
        background-position: 60% center
    }

    .hero h1 {
        font-size: 3.7rem
    }

    .hero-intro {
        font-size: 1rem
    }

    .section {
        padding: 5rem 1.25rem
    }

    .section h2 {
        font-size: 3.25rem
    }

    .service-list article {
        gap: 1rem
    }

    .service-list h3 {
        font-size: 1.55rem
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 500px 400px 400px
    }

    .gallery-tall {
        grid-column: auto
    }

    .testimonial blockquote {
        font-size: 2.4rem
    }

    .visit {
        gap: 3.5rem
    }

    footer {
        grid-template-columns: 1fr;
        padding: 3rem 1.25rem;
        gap: 1.5rem
    }

    footer>p:last-child {
        text-align: left
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *::before,
    *::after {
        transition: none !important
    }
}

/* Swipeable, filterable design gallery */
.gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem
}

.gallery-filters {
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    padding: .2rem 0;
    scrollbar-width: none
}

.gallery-filters::-webkit-scrollbar {
    display: none
}

.filter-button,
.carousel-controls button {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: 600 .7rem var(--sans);
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap
}

.filter-button {
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 999px
}

.filter-button:hover,
.filter-button.active {
    background: var(--ink);
    border-color: var(--ink);
    color: white
}

.carousel-controls {
    display: flex;
    gap: .5rem
}

.carousel-controls button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem
}

.carousel-controls button:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: white
}

.swipe-hint {
    margin: 0 0 1.5rem;
    font-size: .8rem;
    opacity: .7
}

.gallery-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    padding-bottom: 1rem;
    scrollbar-color: var(--rose) transparent;
    scrollbar-width: thin
}

.design-card {
    flex: 0 0 min(38vw, 460px);
    scroll-snap-align: start;
    background: #ece7df
}

.design-card[hidden] {
    display: none
}

.design-card img {
    height: 560px;
    object-fit: cover
}

.design-card>div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 1.1rem 1.2rem 1.25rem
}

.design-card span {
    grid-column: 1/3;
    color: var(--rose);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase
}

.design-card h3 {
    margin: .25rem 0 0;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400
}

.design-card p {
    margin: 0 0 .25rem;
    font-size: .68rem;
    letter-spacing: .09em;
    text-transform: uppercase
}

.gallery-link {
    margin-top: 2rem
}

@media (max-width:820px) {
    .gallery-toolbar {
        align-items: flex-end
    }

    .design-card {
        flex-basis: min(72vw, 430px)
    }

    .design-card img {
        height: 520px
    }

    .brand {
        white-space: nowrap
    }
}

@media (max-width:520px) {
    .site-header {
        padding: 0 1rem
    }

    .site-header .brand {
        max-width: 50%;
        font-size: .9rem;
        line-height: 1.1
    }

    .button-small {
        padding: 0 .75rem
    }

    .gallery-toolbar {
        display: block
    }

    .carousel-controls {
        display: none
    }

    .gallery-filters {
        margin-right: -1.25rem;
        padding-right: 1.25rem
    }

    .swipe-hint {
        margin-top: .8rem
    }

    .gallery-carousel {
        margin-right: -1.25rem;
        padding-right: 1.25rem
    }

    .design-card {
        flex-basis: 84vw
    }

    .design-card img {
        height: 450px
    }

    .design-card>div {
        grid-template-columns: 1fr
    }

    .design-card span {
        grid-column: auto
    }

    .design-card p {
        margin-top: .3rem
    }

    .footer-brand .brand-mark {
        display: grid
    }
}

/* Chroma soft-gold identity and visit map */
.site-header.scrolled {
    background: rgba(252, 250, 245, .94)
}

.hero h1 em {
    color: #f0d678
}

.services {
    background: #eee6d4
}

.testimonial {
    background: linear-gradient(135deg, #c79d42, #e0c06b);
    color: var(--ink)
}

.testimonial .quote-mark {
    color: #fff2c9
}

.visit {
    background: #f1eadb
}

.design-card {
    background: #f1eadb
}

.button-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--rose)
}

.button-outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: white
}

.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.visit-actions .button {
    margin-top: 0
}

.map-card {
    grid-column: 1/-1;
    min-height: 390px;
    margin-top: 1rem;
    border: 1px solid rgba(173, 131, 48, .35);
    background: var(--gold-pale);
    padding: .65rem;
    box-shadow: 0 18px 45px rgba(76, 59, 24, .1)
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 390px;
    border: 0
}

.footer-brand {
    color: #eed47b
}

@media (max-width:520px) {
    .visit-actions {
        display: grid
    }

    .visit-actions .button {
        width: 100%
    }

    .map-card {
        min-height: 330px;
        margin-top: 0;
        padding: .4rem
    }

    .map-card iframe {
        height: 330px
    }
}

/* Branded navigation, gallery search, and compact visit layout */
.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
}

.brand-logo {
    width: 82px;
    height: 68px;
    object-fit: contain;
    border-radius: 2px
}

.site-header.scrolled .brand-logo {
    height: 58px
}

.footer-brand .brand-logo {
    width: 92px;
    height: 76px
}

.gallery-toolbar {
    align-items: flex-end
}

.gallery-tools {
    display: grid;
    gap: 1rem;
    min-width: 0
}

.gallery-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(100%, 430px);
    border-bottom: 1px solid var(--ink)
}

.gallery-search>span[aria-hidden] {
    font-family: var(--serif);
    font-size: 1.5rem
}

.gallery-search input {
    width: 100%;
    height: 48px;
    padding: 0 .75rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: 400 .9rem var(--sans)
}

.gallery-search input::placeholder {
    color: rgba(41, 39, 32, .58)
}

.gallery-search:focus-within {
    border-color: var(--rose);
    box-shadow: 0 1px 0 var(--rose)
}

.gallery-empty {
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid var(--line);
    text-align: center
}

.visit {
    grid-template-columns: minmax(280px, .8fr) 1.2fr;
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem)
}

.visit .map-card {
    grid-column: auto;
    min-height: 0;
    margin: 0;
    padding: .5rem
}

.visit .map-card iframe {
    height: 320px
}

.visit-details h2 {
    font-size: clamp(2.7rem, 4.5vw, 5rem)
}

.visit-details .eyebrow {
    margin-bottom: 1rem
}

@media (max-width:820px) {
    .brand-logo {
        width: 72px;
        height: 58px
    }

    .site-header.scrolled .brand-logo {
        height: 52px
    }

    .gallery-toolbar {
        align-items: flex-end
    }

    .visit {
        grid-template-columns: 1fr 1fr;
        gap: 2rem
    }

    .visit .map-card iframe {
        height: 300px
    }
}

@media (max-width:620px) {
    .visit {
        grid-template-columns: 1fr
    }

    .visit .map-card {
        order: 2
    }

    .visit-details {
        order: 1
    }

    .visit .map-card iframe {
        height: 280px
    }
}

@media (max-width:520px) {
    .site-header .brand {
        max-width: none
    }

    .brand-logo {
        width: 62px;
        height: 52px
    }

    .site-header.scrolled .brand-logo {
        height: 48px
    }

    .gallery-toolbar {
        display: grid;
        grid-template-columns: 1fr
    }

    .gallery-search {
        width: 100%
    }

    .gallery-filters {
        width: 100%
    }

    .footer-brand .brand-logo {
        width: 86px;
        height: 70px
    }
}

.visit-logo {
    width: 112px;
    height: 78px;
    object-fit: contain;
    object-position: center;
    margin-bottom: -.75rem
}

/* Accessible mobile navigation */
.header-actions {
    display: flex;
    align-items: center;
    gap: .75rem
}

.menu-toggle,
.mobile-nav {
    display: none
}

@media (max-width:820px) {
    .menu-toggle {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent
    }

    .menu-toggle:focus-visible,
    .mobile-nav a:focus-visible {
        outline: 3px solid var(--gold-soft);
        outline-offset: 3px
    }

    .menu-toggle-lines {
        display: grid;
        gap: 5px;
        width: 24px
    }

    .menu-toggle-lines span {
        display: block;
        width: 100%;
        height: 2px;
        background: currentColor;
        transform-origin: center;
        transition: transform .2s ease, opacity .2s ease
    }

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

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

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

    .mobile-nav {
        position: absolute;
        z-index: 1;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        padding: 1rem clamp(1.25rem, 4vw, 4.5rem) 1.5rem;
        background: #fcfaf5;
        color: var(--ink);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 30px rgba(41, 39, 32, .12);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: visibility 0s linear .2s, opacity .2s ease, transform .2s ease
    }

    .site-header.menu-open .mobile-nav {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s
    }

    .mobile-nav a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--serif);
        font-size: 1.25rem;
        line-height: 1.2;
        text-decoration: none
    }

    .mobile-nav a:last-child {
        border-bottom: 0
    }
}

@media (max-width:520px) {
    .header-actions {
        gap: .45rem
    }

    .header-actions .button-small {
        padding: 0 .65rem;
        font-size: .62rem
    }
}

/* Full-screen design preview; reuses the gallery images without extra downloads */
.design-card img {
    height: auto;
    aspect-ratio: 3/4;
    cursor: zoom-in
}

.design-card img:focus-visible {
    outline: 4px solid var(--rose);
    outline-offset: -4px
}

.preview-open {
    overflow: hidden
}

.design-preview {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) 1.25rem;
    background: rgba(18, 17, 15, .96);
    color: white;
    touch-action: pan-y
}

.design-preview[hidden] {
    display: none
}

.preview-figure {
    min-width: 0;
    max-width: min(88vw, 900px);
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    justify-items: center;
    overflow: hidden
}

.preview-figure img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain
}

.preview-figure figcaption {
    padding-top: .75rem;
    font-family: var(--serif);
    font-size: 1.25rem
}

.preview-close,
.preview-arrow {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(18, 17, 15, .35);
    color: white;
    cursor: pointer
}

.preview-close:focus-visible,
.preview-arrow:focus-visible {
    outline: 3px solid var(--gold-soft);
    outline-offset: 3px
}

.preview-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    font-size: 2rem;
    line-height: 1
}

.preview-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.25rem
}

.preview-previous {
    grid-column: 1
}

.preview-figure {
    grid-column: 2
}

.preview-next {
    grid-column: 3
}

.preview-position {
    grid-column: 1/-1;
    margin: 0;
    text-align: center;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase
}

@media (max-width:620px) {
    .design-preview {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: minmax(0, 1fr) auto auto;
        padding: 4.5rem 1rem 1rem
    }

    .preview-figure {
        grid-column: 1/-1;
        grid-row: 1;
        max-width: 100%;
        width: 100%
    }

    .preview-arrow {
        width: 48px;
        height: 48px
    }

    .preview-previous {
        grid-column: 1;
        grid-row: 2;
        justify-self: end
    }

    .preview-next {
        grid-column: 2;
        grid-row: 2;
        justify-self: start
    }

    .preview-position {
        grid-row: 3
    }

    .preview-figure figcaption {
        font-size: 1.1rem
    }
}

.preview-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem 1.75rem;
    text-align: center
}

.preview-details span {
    display: grid;
    gap: .1rem
}

.preview-details small {
    font: 600 .6rem var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65)
}

.preview-details strong {
    font: 400 1.15rem var(--serif)
}

@media (max-width:620px) {
    .preview-details {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .5rem
    }

    .preview-details strong {
        font-size: .95rem
    }
}
/* Service cards (first section after the hero) */
.service-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem);
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    /* Always visible: never hidden by reveal/animation classes or JS */
    opacity: 1;
    visibility: visible;
    transform: none
}

/* Service cards and gallery share a background: drop the doubled padding so the gap
   below the service cards matches the normal section spacing. */
.intro + .gallery {
    padding-top: 0
}

.service-card {
    min-width: 0;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    background: #f1eadb;
    border: 1px solid rgba(173, 131, 48, .25);
    box-shadow: 0 18px 45px rgba(76, 59, 24, .07)
}

.service-photo {
    position: relative;
    margin: .5rem .5rem 0;
    height: 0;
    padding-top: calc((100% - 1rem) * .75); /* 4:3 box that works without aspect-ratio support (older Safari) */
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold-pale), var(--gold-soft))
}

.service-photo img {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    z-index: 1;
    color: transparent; /* hide broken-image alt text over the placeholder */
    object-fit: cover;
    transition: transform .6s ease
}

.service-card:hover .service-photo img {
    transform: scale(1.03)
}

/* Placeholder sits behind the photo, so a missing image degrades gracefully even without JS */
.service-photo::after {
    content: "Photo coming soon";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--sage)
}

.service-copy {
    padding: clamp(1.5rem, 3vw, 2.4rem)
}

.service-copy .eyebrow {
    margin-bottom: .9rem;
    color: var(--rose)
}

.service-copy h3 {
    margin: 0 0 1rem;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.9rem, 2.8vw, 2.6rem);
    line-height: 1.05
}

.service-copy h3 em,
.reviews h2 em {
    color: var(--rose)
}

.service-copy p:last-child {
    margin: 0;
    max-width: 46ch
}

/* Reviews strip */
.reviews {
    background: var(--paper);
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
    border-top: 1px solid rgba(173, 131, 48, .2)
}

.reviews-heading {
    margin-bottom: 2.2rem;
    text-align: center
}

.reviews-heading .eyebrow {
    margin-bottom: 1rem
}

.reviews .reviews-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem)
}

.review-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.6rem 1.5rem;
    background: #f1eadb;
    border-top: 2px solid var(--rose)
}

.review-card blockquote {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.4
}

.review-card p {
    margin: 0;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--rose)
}

.review-strip:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 4px
}

@media (max-width:1000px) {
    .review-strip {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 1.25rem;
        padding-bottom: .75rem;
        scrollbar-width: thin
    }

    .review-card {
        flex: 0 0 min(78%, 340px);
        scroll-snap-align: start
    }
}

@media (max-width:620px) {
    .service-cards {
        grid-template-columns: minmax(0, 1fr)
    }
}

/* Lightweight map facade */
.visit .map-card {
    position: relative;
    aspect-ratio: auto
}

.map-facade,
.visit .map-card iframe {
    height: 320px
}

.map-facade {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center
}

.map-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.map-facade-copy {
    position: relative;
    padding: 1.4rem 1.6rem;
    background: rgba(252, 250, 245, .92);
    border: 1px solid rgba(173, 131, 48, .35);
    box-shadow: 0 12px 30px rgba(76, 59, 24, .12)
}

.map-facade-copy p {
    margin: 0 0 .9rem
}

.map-facade-copy .label {
    margin-bottom: .3rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rose)
}

.map-pin {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto .6rem;
    border-radius: 50% 50% 50% 0;
    background: var(--rose);
    transform: rotate(-45deg)
}

.map-facade-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem
}

.map-facade-actions .button {
    margin: 0
}

.visit .map-card iframe {
    position: absolute;
    top: .5rem;
    left: .5rem;
    width: calc(100% - 1rem);
    opacity: 0;
    transition: opacity .4s ease
}

.map-card.is-loaded iframe {
    opacity: 1
}

@media (max-width:820px) {
    .map-facade,
    .visit .map-card iframe {
        height: 300px
    }
}

@media (max-width:620px) {
    .map-facade,
    .visit .map-card iframe {
        height: 280px
    }
}

/* Head Spa card: deep green with cream and gold text */
.service-card--headspa {
    background: var(--headspa-green);
    border-color: rgba(231, 210, 156, .35);
    box-shadow: 0 18px 45px rgba(20, 38, 30, .18);
    color: var(--cream)
}

.service-card--headspa .service-photo {
    background: linear-gradient(135deg, #2a4a3c, var(--headspa-green))
}

.service-card--headspa .service-photo::after {
    color: var(--gold-soft)
}

.service-card--headspa .service-copy .eyebrow,
.service-card--headspa .service-copy h3 em {
    color: var(--gold-soft)
}

.service-card--headspa .service-copy h3 {
    color: var(--cream)
}

.service-card--headspa .service-copy p:last-child {
    color: rgba(247, 241, 228, .88)
}

/* Hide carousel arrows while a search/filter has no results */
.carousel-controls.is-empty {
    visibility: hidden
}

.gallery-empty:empty {
    display: none
}

/* Salon policy dialog */
.policy-link {
    font: inherit;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: inherit;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--gold-soft);
    padding: 0 0 .1rem;
    cursor: pointer
}

.policy-link:hover { opacity: .6 }

.policy-link:focus-visible,
.policy-close:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px }

footer>div { flex-wrap: wrap; align-items: center }

.policy-dialog {
    width: min(46rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 1px solid var(--gold-soft);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 30px 80px rgba(41, 39, 32, .3);
    overflow: hidden
}

.policy-dialog[open] { display: flex; flex-direction: column }

.policy-dialog::backdrop { background: rgba(41, 39, 32, .6) }

.policy-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
    border-bottom: 1px solid var(--line);
    background: var(--cream)
}

.policy-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 5vw, 2.4rem) }

.policy-head em { color: var(--rose) }

.policy-close {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ink);
    background: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer
}

.policy-body {
    overflow-y: auto;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    font-size: .95rem;
    line-height: 1.6;
    overflow-wrap: anywhere
}

.policy-note { margin: 0 0 1.5rem; font-style: italic; color: var(--sage) }

.policy-body h3 {
    margin: 1.75rem 0 .5rem;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--rose)
}

.policy-body section:first-of-type h3 { margin-top: 0 }

.policy-lead { margin: 0 0 .5rem; font-weight: 500 }

.policy-body ol { margin: 0; padding-left: 1.5rem }

.policy-body li { margin: .35rem 0 }

.policy-body ol ol { margin-top: .25rem }

/* Logo <picture> wrappers should not affect layout */
.brand picture,
.visit-details picture {
    display: contents
}

/* Cookie consent banner (shown only when a GA4 Measurement ID is set in analytics.js) */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 1.25rem 2rem;
    max-width: 44rem;
    margin: 0 auto;
    padding: 1.1rem 1.4rem;
    background: var(--ink);
    color: var(--cream);
    border: 1px solid var(--gold-soft);
    box-shadow: 0 18px 45px rgba(41, 39, 32, .25)
}

.cookie-banner[hidden] { display: none }

.cookie-banner p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.5
}

.cookie-actions {
    display: flex;
    flex: 0 0 auto;
    gap: .75rem
}

/* Accept and Reject are deliberately identical in weight. */
.cookie-button {
    min-width: 7.5rem;
    background: transparent;
    color: var(--cream);
    border-color: var(--gold-soft)
}

.cookie-button:hover {
    background: var(--gold-soft);
    border-color: var(--gold-soft);
    color: var(--ink)
}

.cookie-button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px }

@media (max-width:620px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        left: .75rem;
        right: .75rem;
        bottom: .75rem
    }

    .cookie-actions > .cookie-button { flex: 1 1 0 }
}
