/* =========================================
   MADAME GALLON
   Main stylesheet
========================================= */

:root {
    --cream: #f8f3ed;
    --cream-deep: #eee4da;
    --paper: #fffaf6;

    --rose: #a66f6c;
    --rose-dark: #815653;
    --rose-soft: #e8d3cf;

    --brown: #392f2c;
    --brown-soft: #6e625d;

    --line: rgba(57, 47, 44, 0.13);
    --shadow: 0 22px 60px rgba(66, 48, 43, 0.10);

    --radius-small: 14px;
    --radius: 24px;
    --radius-large: 38px;

    --max-width: 1180px;

    --serif: Georgia, "Times New Roman", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI",
            Helvetica, Arial, sans-serif;
}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--brown);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.age-locked {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

::selection {
    background: var(--rose-soft);
}


/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h3 {
    font-size: 1.8rem;
}

p {
    color: var(--brown-soft);
}

.eyebrow {
    color: var(--rose-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    margin-bottom: 1rem;
}

.large-copy {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    line-height: 1.45;
    color: var(--brown);
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 54px;
    padding: 0.9rem 1.5rem;

    border-radius: 999px;
    border: 1px solid transparent;

    text-decoration: none;
    cursor: pointer;

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--brown);
    color: white;
}

.button-primary:hover {
    background: #211b19;
}

.button-secondary {
    background: transparent;
    color: var(--brown);
    border-color: var(--line);
}

.button-secondary:hover {
    border-color: var(--brown-soft);
}

.text-link {
    display: inline-block;
    color: var(--rose-dark);
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}


/* =========================================
   AGE GATE
========================================= */

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1.5rem;

    background:
        radial-gradient(
            circle at 50% 10%,
            rgba(166, 111, 108, 0.18),
            transparent 42%
        ),
        var(--cream);
}

.age-gate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 400ms ease,
        visibility 400ms ease;
}

.age-gate-card {
    width: min(520px, 100%);
    padding: 3.2rem;

    background: rgba(255, 250, 246, 0.88);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow);

    text-align: center;
}

.brand-mark {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.age-gate h1 {
    font-size: clamp(2.8rem, 8vw, 4.6rem);
    margin-bottom: 1.3rem;
}

.age-intro {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.age-buttons {
    display: grid;
    gap: 0.75rem;
}

.age-note {
    margin-top: 1.4rem;
    font-size: 0.78rem;
    opacity: 0.7;
}


/* =========================================
   SITE
========================================= */

.site-content {
    opacity: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 4vw;

    background: rgba(248, 243, 237, 0.88);
    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;

    font-family: var(--serif);
    font-size: 1.3rem;

    text-decoration: none;
}

.logo-leaf {
    font-size: 1rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--brown-soft);
    font-size: 0.88rem;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--brown);
}

.menu-button {
    display: none;

    width: 44px;
    height: 44px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 23px;
    height: 1px;

    margin: 5px auto;

    background: var(--brown);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
    width: min(var(--max-width), calc(100% - 3rem));
    margin: 0 auto;
    padding: 8rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 4rem;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-intro {
    max-width: 570px;
    margin: 1.5rem auto 0;
}


/* =========================================
   HERO
========================================= */

.hero {
    width: min(1320px, calc(100% - 3rem));
    min-height: calc(100vh - 76px);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5vw;
    align-items: center;

    padding: 5rem 0;
}

.hero-text {
    max-width: 590px;
}

.hero h1 {
    margin-bottom: 2rem;
}

.hero h1 span {
    color: var(--rose-dark);
    font-style: italic;
}

.hero-description {
    max-width: 540px;
    margin-bottom: 1rem;

    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;

    margin-top: 2rem;
}

.hero-image-wrap {
    position: relative;

    height: min(72vh, 760px);
    min-height: 560px;

    overflow: hidden;

    border-radius: 48% 48% 24px 24px;
    box-shadow: var(--shadow);

    background: var(--cream-deep);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    transition: transform 900ms ease;
}

.hero-image-wrap:hover .hero-image {
    transform: scale(1.015);
}

.hero-image-label {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;

    display: flex;
    flex-direction: column;

    padding: 0.9rem 1.2rem;

    border-radius: var(--radius-small);

    background: rgba(255, 250, 246, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-image-label span {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-image-label strong {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
}


/* =========================================
   ABOUT
========================================= */

.about-section {
    border-top: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 8vw;
    align-items: center;
}

.about-copy p {
    margin-bottom: 1.5rem;
}

.about-image {
    overflow: hidden;
    border-radius: var(--radius-large);
}

.about-image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}


/* =========================================
   SERVICES
========================================= */

.services-section {
    width: 100%;
    max-width: none;

    padding-left: max(1.5rem, calc((100vw - var(--max-width)) / 2));
    padding-right: max(1.5rem, calc((100vw - var(--max-width)) / 2));

    background: var(--paper);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;

    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    position: relative;

    padding: 2rem;

    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(66, 48, 43, 0.07);
}

.service-number {
    margin-bottom: 2.5rem;

    color: var(--rose);
    font-family: var(--serif);
    font-size: 0.9rem;
}

.service-kicker {
    margin-bottom: 0.5rem;

    color: var(--rose-dark);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.service-summary h3 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.service-summary > p:not(.service-kicker):not(.service-price) {
    min-height: 3.5rem;
}

.service-price {
    margin-top: 1.5rem;
}

.service-price strong {
    color: var(--brown);
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
}

.service-toggle {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 2rem;
    padding: 1rem 0 0;

    color: var(--brown);

    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);

    cursor: pointer;
}

.service-toggle span {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 300;

    transition: transform 250ms ease;
}

.service-card.open .service-toggle span {
    transform: rotate(45deg);
}

.service-details {
    display: none;

    padding-top: 1.5rem;
}

.service-card.open .service-details {
    display: block;
}

.service-details p {
    margin-bottom: 1rem;
}

.service-details h4 {
    margin: 2rem 0 0.8rem;

    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
}

.price-list {
    margin-bottom: 1.5rem;

    border-top: 1px solid var(--line);
}

.price-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    padding: 0.85rem 0;

    border-bottom: 1px solid var(--line);
}

.price-list strong {
    white-space: nowrap;
    color: var(--brown);
}

.service-note {
    margin-top: 1.5rem;
    padding: 1.25rem;

    background: var(--rose-soft);
    border-radius: var(--radius-small);
}

.service-note strong {
    display: block;
    margin-bottom: 0.35rem;
}

.service-note p {
    margin: 0;
    color: var(--brown);
}


/* =========================================
   PHOTO BREAK
========================================= */

.photo-break {
    position: relative;

    width: min(1400px, calc(100% - 3rem));
    height: min(80vh, 780px);

    margin: 6rem auto;

    overflow: hidden;

    border-radius: var(--radius-large);
}

.photo-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-break::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(30, 22, 20, 0.65),
            transparent 55%
        );
}

.photo-break-copy {
    position: absolute;
    z-index: 2;

    left: clamp(1.5rem, 6vw, 6rem);
    bottom: clamp(1.5rem, 6vw, 5rem);

    display: flex;
    flex-direction: column;

    color: white;

    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: 1.02;
}


/* =========================================
   RULES
========================================= */

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.rule-card {
    padding: 2rem;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.rule-number {
    display: block;

    margin-bottom: 3rem;

    color: var(--rose);

    font-family: var(--serif);
}

.rule-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}


/* =========================================
   AVAILABILITY
========================================= */

.availability-card {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 5rem;
    align-items: center;

    padding: clamp(2rem, 6vw, 5rem);

    color: white;

    background: var(--brown);
    border-radius: var(--radius-large);
}

.availability-card h2 {
    margin-bottom: 1.5rem;
}

.availability-card p {
    max-width: 600px;
    margin-bottom: 1rem;

    color: rgba(255, 255, 255, 0.72);
}

.availability-card .eyebrow {
    color: #e6c3bd;
}

.availability-time {
    display: grid;

    padding: 2.5rem;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
}

.availability-time > span:first-child {
    margin-bottom: 1rem;

    color: #e6c3bd;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.availability-time strong {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1;
}

.availability-time .time-divider {
    margin: 0.4rem 0;
    opacity: 0.45;
}

.availability-time small {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 6vw;
}

.contact-heading {
    position: static;
    align-self: start;
}

.contact-heading h2 {
    margin-bottom: 2rem;
}

.first-message-card {
    padding: clamp(1.5rem, 4vw, 3rem);

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
}

.message-label {
    margin-bottom: 2rem;

    color: var(--rose-dark);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.message-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1rem;

    padding: 1.5rem 0;

    border-bottom: 1px solid var(--line);
}

.message-step > span {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: white;

    background: var(--rose);
    border-radius: 50%;

    font-size: 0.8rem;
}

.message-step strong {
    display: block;
    margin-bottom: 0.3rem;
}

.message-warning {
    margin-top: 2rem;
    padding: 1.3rem;

    background: var(--rose-soft);
    border-radius: var(--radius-small);
}

.message-warning strong {
    display: block;
    margin-bottom: 0.4rem;
}

.message-warning p {
    color: var(--brown);
}

.contact-options {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;

    margin-top: 1rem;
}

.contact-option {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;

    padding: 1.5rem;

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: white;

    background: var(--brown);
    border-radius: 50%;

    font-family: var(--serif);
}

.contact-label {
    margin-bottom: 0.2rem;

    color: var(--rose-dark);

    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.contact-option h3 {
    margin-bottom: 0.6rem;

    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;

    overflow-wrap: anywhere;
}


/* =========================================
   GALLERY
========================================= */

.gallery {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: repeat(2, 330px);
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 700ms ease;
}

.gallery-item:hover img {
    transform: scale(1.025);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    width: min(var(--max-width), calc(100% - 3rem));

    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 2rem;
    align-items: center;

    margin: 3rem auto 0;
    padding: 2rem 0 3rem;

    border-top: 1px solid var(--line);

    font-size: 0.82rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    font-family: var(--serif);
    font-size: 1.1rem;
}

.footer-brand strong {
    font-weight: 400;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;

        padding-top: 4rem;
    }

    .hero-text {
        max-width: 700px;
    }

    .hero-image-wrap {
        height: 72vh;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 620px;
    }

    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-section {
        grid-template-columns: 1fr;
    }

    .contact-heading {
        position: static;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .section {
        width: min(100% - 2rem, var(--max-width));
        padding: 5.5rem 0;
    }

    .site-header {
        min-height: 66px;
        padding: 0 1rem;
    }

    .menu-button {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 0.5rem 1rem 1rem;

        background: var(--cream);
        border-bottom: 1px solid var(--line);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--line);
    }

    .hero {
        width: calc(100% - 2rem);
        min-height: auto;

        padding: 4rem 0 2rem;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 15vw, 5rem);
    }

    .hero-description {
        font-size: 1rem;
    }

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

    .hero-image-wrap {
        height: 68vh;
        min-height: 480px;

        border-radius: 44% 44% 22px 22px;
    }

    .services-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-summary > p:not(.service-kicker):not(.service-price) {
        min-height: auto;
    }

    .photo-break {
        width: calc(100% - 2rem);
        height: 68vh;

        margin: 3rem auto;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .rule-card {
        padding: 1.5rem;
    }

    .rule-number {
        margin-bottom: 2rem;
    }

    .availability-section {
        width: calc(100% - 2rem);
    }

    .availability-card {
        padding: 2rem 1.5rem;
    }

    .contact-section {
        gap: 2.5rem;
    }

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

    .gallery-tall {
        grid-row: auto;
    }

    .site-footer {
        width: calc(100% - 2rem);

        grid-template-columns: 1fr;
        gap: 0.7rem;

        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .age-gate-card {
        padding: 2.2rem 1.4rem;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 390px) {

    .hero h1 {
        font-size: 3.2rem;
    }

    .service-card {
        padding: 1.4rem;
    }

    .price-list > div {
        font-size: 0.9rem;
    }

}


/* =========================================
   ACCESSIBILITY / REDUCED MOTION
========================================= */

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

    html {
        scroll-behavior: auto;
    }

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

}

/* =========================================
   AVAILABILITY SCHEDULE REFINEMENT
========================================= */
.availability-schedule { display: block; padding: 2.4rem; }
.schedule-block { display: flex; flex-direction: column; align-items: center; text-align: center; }
.schedule-label { margin-bottom: 0.8rem; color: #e6c3bd; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; }
.availability-schedule .schedule-block strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
.schedule-hours { margin-top: 0.35rem; color: white; font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.15; }
.availability-schedule small { margin-top: 0.75rem; }
.schedule-separator { width: 60px; height: 1px; margin: 1.8rem auto; background: rgba(255,255,255,0.18); }
.availability-schedule .weekend-label { margin-top: 1.25rem; }

/* =========================================
   CONTACT CARD OVERFLOW FIX
========================================= */
.contact-option { min-width: 0; }
.contact-option > div { min-width: 0; }
.contact-option h3, .contact-option p, .contact-option a { overflow-wrap: anywhere; }

@media (max-width: 700px) {
    .availability-schedule { padding: 1.75rem 1rem; }
    .schedule-hours { font-size: clamp(1.65rem, 8vw, 2.5rem); }
}
