:root {
    --bg: #f6efe8;
    --bg-alt: #fffaf5;
    --bg-dark: #3d1a1f;
    --fg: #1a1414;
    --fg-on-dark: #fbece1;
    --muted: #7a6d65;
    --line: #e6dcd2;
    --nav-bg: #1a1010;
    --nav-fg: #fbece1;
    --accent: #c28a8a;
    --accent-dark: #8f5a5a;
    --accent-glow: #e8b8b8;
    --blue: #2a6185;
    --blue-dark: #1b4360;
    --blue-glow: #a8cde7;
    --card-bg: #fff;
    --radius: 4px;
    --maxw: 1200px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { margin: 0 0 1em; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 2px;
    background: currentColor;
    margin-right: 12px;
}
main section.splash .eyebrow { color: var(--blue-glow); }

.script {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
}

/* ---- Nav ---- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    color: var(--nav-fg);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px 24px;
}
.nav a.brand {
    color: var(--nav-fg);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    margin: 0; padding: 0;
}
.nav ul a {
    color: var(--nav-fg);
    opacity: 0.75;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    transition: opacity .15s, color .15s;
}
.nav ul a:hover,
.nav ul a[aria-current="page"] { opacity: 1; text-decoration: none; color: var(--accent-glow); }

.nav-toggle { display: none; }
.nav-toggle-btn {
    display: none;
    background: none;
    border: 0;
    color: var(--nav-fg);
    cursor: pointer;
    padding: 8px;
}
.nav-toggle-btn svg { width: 26px; height: 26px; }

@media (max-width: 720px) {
    .nav-toggle-btn { display: inline-flex; }
    .nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--nav-bg);
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .nav ul a {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-toggle:checked ~ ul { display: flex; }
}

/* ---- Hero (editorial split) ---- */
.hero {
    background: var(--bg-dark);
    color: var(--fg-on-dark);
    overflow: hidden;
    position: relative;
}
.hero-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}
.hero-text {
    padding: 80px 48px 80px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.hero .eyebrow { color: var(--accent-glow); }
.hero h1 {
    color: var(--fg-on-dark);
    margin-bottom: 14px;
    font-style: normal;
    line-height: 0.95;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent-glow);
    font-weight: 400;
}
.hero-sub {
    font-size: 1.2rem;
    opacity: 0.82;
    max-width: 38ch;
    margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
    position: relative;
    min-height: 380px;
    background-image: url(../img/salon-sign-flowers.jpg);
    background-size: cover;
    background-position: center;
}
.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(270deg, rgba(0,0,0,0) 60%, rgba(61,26,31,0.95) 100%);
}

@media (max-width: 880px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    .hero-text {
        padding: 24px 24px 40px;
        order: 2;
    }
    .hero-media {
        order: 1;
        min-height: 300px;
        background-position: center 32%;
    }
    .hero-media::after {
        background: linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(61,26,31,0.9) 100%);
    }
}

/* ---- Sections ---- */
main { display: block; }
section { padding: 96px 0; position: relative; }
section h2 { margin-bottom: 28px; }
.lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 60ch;
    line-height: 1.55;
    font-weight: 400;
}

main section:nth-of-type(even) { background: var(--bg-alt); }

/* Dark "splash" section (specificity must beat :nth-of-type rule above) */
main section.splash {
    background: var(--bg-dark);
    color: var(--fg-on-dark);
}
main section.splash h2 { color: var(--fg-on-dark); }
main section.splash .lead { color: rgba(251,236,225,0.75); }
main section.splash p { color: rgba(251,236,225,0.88); }

/* ---- Grids ---- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
    align-items: center;
}
@media (max-width: 840px) {
    .grid-3 { grid-template-columns: 1fr; gap: 32px; }
    .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Features (full-bleed photo cards) ---- */
.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
    transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.feature-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.feature-card-body { padding: 24px 26px 28px; }
.feature-card h3 { margin: 0 0 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 0;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background .2s, transform .1s;
    text-decoration: none;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-outline {
    background: transparent;
    color: var(--fg-on-dark);
    border: 1.5px solid rgba(251,236,225,0.4);
}
.btn-outline:hover { background: rgba(251,236,225,0.1); color: var(--fg-on-dark); border-color: var(--fg-on-dark); }

.btn-dark-on-light {
    background: transparent;
    color: var(--fg);
    border: 1.5px solid var(--fg);
}
.btn-dark-on-light:hover { background: var(--fg); color: #fff; border-color: var(--fg); }

/* ---- Contact card / quick info ---- */
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}
.info-card h3 { margin-top: 0; font-size: 1.4rem; margin-bottom: 16px; }
.info-card p { margin-bottom: 10px; }
.info-card strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.big-phone {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    font-weight: 600;
    color: var(--fg);
    letter-spacing: -0.01em;
}
.big-phone:hover { color: var(--accent-dark); text-decoration: none; }

.hours-list {
    list-style: none;
    padding: 0; margin: 0;
}
.hours-list li {
    display: flex; justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 0.97rem;
}
.hours-list li:last-child { border-bottom: 0; }

/* ---- Services table ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
}
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; gap: 36px; } }
.service-group h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.service-list {
    list-style: none;
    padding: 0; margin: 0;
}
.service-list li {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 1rem;
}
.service-list li span:last-child {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.services-note { color: var(--muted); font-size: 0.95rem; margin-top: 28px; font-style: italic; }

/* ---- Pull quote / testimonials ---- */
.quote {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 30px 24px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}
.quote::before {
    content: "\201C";
    position: absolute;
    top: 8px; right: 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.45;
    pointer-events: none;
}
.quote p {
    color: var(--fg);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 18px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
}
.quote cite {
    color: var(--muted);
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.testimonial-hero {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}
.testimonial-hero img {
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
}
@media (max-width: 720px) {
    .testimonial-hero { grid-template-columns: 1fr; gap: 28px; }
    .testimonial-hero img { max-width: 300px; margin: 0 auto; }
}

/* ---- FAQ ---- */
.faq details {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 12px;
    transition: box-shadow .2s;
}
.faq details[open] { box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.faq summary {
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    color: var(--accent);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 300;
    transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

/* ---- Heritage badge ---- */
.heritage {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--accent-glow);
    padding: 0;
    border-radius: 0;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.heritage::before {
    content: "";
    display: inline-block;
    width: 32px; height: 1.5px;
    background: currentColor;
    margin-right: 6px;
}

/* ---- Breadcrumbs ---- */
.crumbs {
    font-size: 0.82rem;
    color: var(--muted);
    padding: 20px 0 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.crumbs a { color: var(--blue); }
.crumbs a:hover { color: var(--blue-dark); }

/* ---- Map ---- */
.map-wrap {
    position: relative;
    padding-bottom: 56%;
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
.map-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ---- Heritage clipping ---- */
.heritage-clip {
    max-width: 460px;
    margin: 0 auto 48px;
    text-align: center;
}
.heritage-clip img {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.heritage-clip figcaption {
    color: var(--muted);
    font-size: 0.88rem;
    margin-top: 12px;
    font-style: italic;
}

/* ---- Timeline ---- */
.timeline {
    list-style: none;
    padding: 0;
    margin: 56px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 5%; right: 5%;
    height: 2px;
    background: rgba(194,138,138,0.3);
    z-index: 0;
}
.timeline li {
    position: relative;
    text-align: center;
    padding-top: 64px;
    z-index: 1;
}
.timeline li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px; height: 18px;
    background: var(--accent);
    border: 3px solid var(--bg-alt);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
    position: absolute;
    top: 40px;
    left: 0; right: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    color: var(--blue);
    font-size: 1.7rem;
    letter-spacing: 0.01em;
}
.timeline h3 { margin-top: 34px; margin-bottom: 6px; font-size: 1.05rem; font-family: var(--font); letter-spacing: 0.02em; }
.timeline p { color: var(--muted); font-size: 0.92rem; margin: 0; line-height: 1.5; }

@media (max-width: 720px) {
    .timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .timeline::before {
        top: 0; bottom: 0;
        left: 22px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .timeline li {
        text-align: left;
        padding: 0 0 28px 52px;
    }
    .timeline li::before {
        top: 4px;
        left: 22px;
        transform: translateX(-50%);
    }
    .timeline-year {
        position: static;
        display: block;
        margin-bottom: 6px;
    }
    .timeline h3 { margin-top: 0; }
}

/* Splash (dark) variant for timeline + clip */
section.splash .timeline::before { background: rgba(251,236,225,0.2); }
section.splash .timeline li::before {
    border-color: var(--bg-dark);
    background: var(--accent-glow);
    box-shadow: 0 0 0 2px var(--accent-glow);
}
section.splash .timeline-year { color: var(--blue-glow); }
section.splash .timeline h3 { color: var(--fg-on-dark); }
section.splash .timeline p { color: rgba(251,236,225,0.72); }
section.splash .heritage-clip img { border-color: rgba(255,255,255,0.1); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
section.splash em.script { color: var(--accent-glow); }

/* ---- Scroll reveal ---- */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        main section {
            animation: fade-in-up linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
        @keyframes fade-in-up {
            from { opacity: 0; transform: translateY(32px); }
            to   { opacity: 1; transform: translateY(0); }
        }
    }
}

/* ---- Footer ---- */
.site-footer {
    background: var(--nav-bg);
    color: rgba(251,236,225,0.6);
    padding: 48px 24px 36px;
    font-size: 0.9rem;
    text-align: center;
}
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--fg-on-dark); }
.site-footer .brand-line {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--fg-on-dark);
    margin-bottom: 8px;
}

/* ---- Floating mobile CTA ---- */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    background: var(--accent-dark);
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 50;
    text-decoration: none;
}
.floating-cta:hover { color: #fff; text-decoration: none; background: var(--accent); }
@media (max-width: 720px) {
    .floating-cta { display: block; }
    body { padding-bottom: 80px; }
    .hero-cta { display: none; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}
